@treasuredata/tdx 2026.3.20 → 2026.3.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +1 -1
- package/dist/build-info.json +3 -3
- package/dist/cli-categories.d.ts +1 -1
- package/dist/cli-categories.js +1 -1
- package/dist/cli-categories.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/commands/activations.js +1 -1
- package/dist/commands/agent-command.js +1 -1
- package/dist/commands/agent-test-command.js +1 -1
- package/dist/commands/api-command.js +1 -1
- package/dist/commands/auth-command.js +1 -1
- package/dist/commands/auth-login-command.js +1 -1
- package/dist/commands/chat-command.js +1 -1
- package/dist/commands/claude-command.js +1 -1
- package/dist/commands/claude-statusline-command.js +1 -1
- package/dist/commands/claude-usage-command.js +1 -1
- package/dist/commands/command.js +1 -1
- package/dist/commands/connection-command.js +1 -1
- package/dist/commands/databases.js +1 -1
- package/dist/commands/delivery-command.js +1 -1
- package/dist/commands/describe.js +1 -1
- package/dist/commands/engage-campaign-pull-command.js +1 -1
- package/dist/commands/engage-campaign-push-command.js +1 -1
- package/dist/commands/engage-campaign-validate-command.js +1 -1
- package/dist/commands/engage-command.js +1 -1
- package/dist/commands/engage-template-pull-command.js +1 -1
- package/dist/commands/engage-template-push-command.js +1 -1
- package/dist/commands/engage-template-validate-command.js +1 -1
- package/dist/commands/job-command.js +1 -1
- package/dist/commands/journey-command.js +1 -1
- package/dist/commands/journey-validate-command.js +1 -1
- package/dist/commands/llm-command.js +1 -1
- package/dist/commands/mcp-command.js +1 -1
- package/dist/commands/parent-segment-command.js +1 -1
- package/dist/commands/policy-command.d.ts +33 -0
- package/dist/commands/policy-command.d.ts.map +1 -0
- package/dist/commands/policy-command.js +1 -0
- package/dist/commands/policy-command.js.map +1 -0
- package/dist/commands/profile-command.js +1 -1
- package/dist/commands/profiles-command.js +1 -1
- package/dist/commands/query-command.js +1 -1
- package/dist/commands/schedule-command.js +1 -1
- package/dist/commands/segment-command.js +1 -1
- package/dist/commands/segment-create-command.js +1 -1
- package/dist/commands/segment-fields-command.js +1 -1
- package/dist/commands/segment-pull-command.js +1 -1
- package/dist/commands/segment-push-command.js +1 -1
- package/dist/commands/segment-update-command.js +1 -1
- package/dist/commands/segment-use-command.js +1 -1
- package/dist/commands/segment-validate-command.js +1 -1
- package/dist/commands/segments.js +1 -1
- package/dist/commands/show.js +1 -1
- package/dist/commands/status-command.js +1 -1
- package/dist/commands/tables.js +1 -1
- package/dist/commands/unset-command.js +1 -1
- package/dist/commands/upgrade-command.js +1 -1
- package/dist/commands/use-command.js +1 -1
- package/dist/commands/user-command.js +1 -1
- package/dist/commands/workflow-command.js +1 -1
- package/dist/core/auth.js +1 -1
- package/dist/core/command-output.js +1 -1
- package/dist/core/config.js +1 -1
- package/dist/core/connection-cache.js +1 -1
- package/dist/core/constants.js +1 -1
- package/dist/core/credential-cache.js +1 -1
- package/dist/core/global-context.js +1 -1
- package/dist/core/keychain.js +1 -1
- package/dist/core/oauth-keychain.js +1 -1
- package/dist/core/oauth.js +1 -1
- package/dist/core/profile.js +1 -1
- package/dist/core/project-config.js +1 -1
- package/dist/core/session.js +1 -1
- package/dist/core/user-cache.js +1 -1
- package/dist/core/version.js +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/tools/index.js +1 -1
- package/dist/mcp/tools/tdx-run.js +1 -1
- package/dist/mcp/tools/tdx-search.js +1 -1
- package/dist/mcp/utils.js +1 -1
- package/dist/proxy/claude-usage-tracker.js +1 -1
- package/dist/proxy/passthrough-server.js +1 -1
- package/dist/proxy/sse-usage-parser.js +1 -1
- package/dist/sdk/agent/agent-config.js +1 -1
- package/dist/sdk/agent/agent-ref-parser.js +1 -1
- package/dist/sdk/agent/agent-yaml.js +1 -1
- package/dist/sdk/agent/test/evaluator.js +1 -1
- package/dist/sdk/agent/test/executor.js +1 -1
- package/dist/sdk/agent/test/index.js +1 -1
- package/dist/sdk/agent/test/output.js +1 -1
- package/dist/sdk/agent/test/parser.js +1 -1
- package/dist/sdk/agent/tool-target-registry.js +1 -1
- package/dist/sdk/api.js +1 -1
- package/dist/sdk/client/cdp-api-client.js +1 -1
- package/dist/sdk/client/delivery-api-client.js +1 -1
- package/dist/sdk/client/endpoints.js +1 -1
- package/dist/sdk/client/engage-api-client.js +1 -1
- package/dist/sdk/client/http-client.js +1 -1
- package/dist/sdk/client/llm-api-client.js +1 -1
- package/dist/sdk/client/oauth-refresh.js +1 -1
- package/dist/sdk/client/rate-limiter.js +1 -1
- package/dist/sdk/client/td-api-client.js +1 -1
- package/dist/sdk/client/trino-api-client.js +1 -1
- package/dist/sdk/client/workflow-client.js +1 -1
- package/dist/sdk/connection-validator.js +1 -1
- package/dist/sdk/connection.js +1 -1
- package/dist/sdk/delivery.js +1 -1
- package/dist/sdk/engage/campaign-pull.js +1 -1
- package/dist/sdk/engage/campaign-push.js +1 -1
- package/dist/sdk/engage/campaign-validator.js +1 -1
- package/dist/sdk/engage/campaign-yaml.js +1 -1
- package/dist/sdk/engage/template-pull.js +1 -1
- package/dist/sdk/engage/template-push.js +1 -1
- package/dist/sdk/engage/template-validator.js +1 -1
- package/dist/sdk/engage/template-yaml.js +1 -1
- package/dist/sdk/engage/types/campaign-def.js +1 -1
- package/dist/sdk/engage/types/campaign-schema.js +1 -1
- package/dist/sdk/engage/types/template-schema.js +1 -1
- package/dist/sdk/engage.js +1 -1
- package/dist/sdk/errors.js +1 -1
- package/dist/sdk/index.d.ts +7 -0
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/io/index.js +1 -1
- package/dist/sdk/io/node-filesystem.js +1 -1
- package/dist/sdk/job.js +1 -1
- package/dist/sdk/journey.js +1 -1
- package/dist/sdk/llm/chat-cache.js +1 -1
- package/dist/sdk/llm/index.js +1 -1
- package/dist/sdk/llm/llm-backup-utils.js +1 -1
- package/dist/sdk/llm/model-factors.js +1 -1
- package/dist/sdk/personalization.js +1 -1
- package/dist/sdk/policy.d.ts +41 -0
- package/dist/sdk/policy.d.ts.map +1 -0
- package/dist/sdk/policy.js +1 -0
- package/dist/sdk/policy.js.map +1 -0
- package/dist/sdk/query/index.js +1 -1
- package/dist/sdk/query/sql-parser.js +1 -1
- package/dist/sdk/realtime.js +1 -1
- package/dist/sdk/schedule.js +1 -1
- package/dist/sdk/segment/child-segment-yaml.js +1 -1
- package/dist/sdk/segment/fields-display.js +1 -1
- package/dist/sdk/segment/file-discovery.js +1 -1
- package/dist/sdk/segment/journey-utils.js +1 -1
- package/dist/sdk/segment/journey-validator.js +1 -1
- package/dist/sdk/segment/journey-yaml.js +1 -1
- package/dist/sdk/segment/parent-segment-preview.js +1 -1
- package/dist/sdk/segment/parent-segment-yaml.js +1 -1
- package/dist/sdk/segment/pull-workflow.js +1 -1
- package/dist/sdk/segment/push-recovery.js +1 -1
- package/dist/sdk/segment/push-workflow.js +1 -1
- package/dist/sdk/segment/resolution-context.js +1 -1
- package/dist/sdk/segment/segment-path-parser.js +1 -1
- package/dist/sdk/segment/segment-ref-parser.js +1 -1
- package/dist/sdk/segment/segment-validator.js +1 -1
- package/dist/sdk/segment/target-resolution.js +1 -1
- package/dist/sdk/segment/tdx-config.js +1 -1
- package/dist/sdk/segment/types/activation-schema.js +1 -1
- package/dist/sdk/segment/types/journey-def.js +1 -1
- package/dist/sdk/segment/types/journey-schema.js +1 -1
- package/dist/sdk/segment/types/segment-def.js +1 -1
- package/dist/sdk/segment/types/segment-schema.js +1 -1
- package/dist/sdk/segment/validate-files.js +1 -1
- package/dist/sdk/segment/yaml-validator.js +1 -1
- package/dist/sdk/segment.js +1 -1
- package/dist/sdk/types/index.d.ts +1 -0
- package/dist/sdk/types/index.d.ts.map +1 -1
- package/dist/sdk/types/index.js +1 -1
- package/dist/sdk/types/index.js.map +1 -1
- package/dist/sdk/types/policy.d.ts +58 -0
- package/dist/sdk/types/policy.d.ts.map +1 -0
- package/dist/sdk/types/policy.js +1 -0
- package/dist/sdk/types/policy.js.map +1 -0
- 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/paginate.js +1 -1
- package/dist/sdk/util/tree-formatter.js +1 -1
- package/dist/sdk/workflow/archive-validation.js +1 -1
- package/dist/sdk/workflow/clone-workflow.js +1 -1
- package/dist/sdk/workflow/index.js +1 -1
- package/dist/sdk/workflow/pull-workflow.js +1 -1
- package/dist/sdk/workflow/push-workflow.js +1 -1
- package/dist/sdk/workflow/tdx-config.js +1 -1
- package/dist/sdk/workflow/workflow-utils.js +1 -1
- package/dist/test-utils/command-runner.js +1 -1
- package/dist/test-utils/factories.js +1 -1
- package/dist/test-utils/fixtures.js +1 -1
- package/dist/test-utils/http-mock.js +1 -1
- package/dist/test-utils/index.js +1 -1
- package/dist/utils/async.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/diff.js +1 -1
- package/dist/utils/file-permissions.js +1 -1
- package/dist/utils/file-reader.js +1 -1
- package/dist/utils/github-releases.js +1 -1
- package/dist/utils/global-cache.js +1 -1
- package/dist/utils/json-loader.js +1 -1
- package/dist/utils/local-cache.js +1 -1
- package/dist/utils/logger/formatters/default-formatter.js +1 -1
- package/dist/utils/logger/formatters/index.js +1 -1
- package/dist/utils/logger/handlers/console-handler.js +1 -1
- package/dist/utils/logger/handlers/file-handler.js +1 -1
- package/dist/utils/logger/handlers/index.js +1 -1
- package/dist/utils/logger/handlers/null-handler.js +1 -1
- package/dist/utils/logger/index.js +1 -1
- package/dist/utils/logger/logger.js +1 -1
- package/dist/utils/logger/types.js +1 -1
- package/dist/utils/option-validation.js +1 -1
- package/dist/utils/process.js +1 -1
- package/dist/utils/prompt.js +1 -1
- package/dist/utils/spinner.js +1 -1
- package/dist/utils/sse-parser.js +1 -1
- package/dist/utils/string-utils.js +1 -1
- package/dist/utils/table-ref-parser.js +1 -1
- package/dist/utils/tdx-logger.js +1 -1
- package/dist/utils/version-check.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a2_0x2603d4=a2_0x5241;(function(_0x5c2cdd,_0x40c1e3){const _0x46c8c3=a2_0x5241,_0x506097=_0x5c2cdd();while(!![]){try{const _0x2be4e7=parseInt(_0x46c8c3(0x31a))/0x1+parseInt(_0x46c8c3(0x39c))/0x2*(parseInt(_0x46c8c3(0x3e2))/0x3)+-parseInt(_0x46c8c3(0x310))/0x4*(parseInt(_0x46c8c3(0x1be))/0x5)+parseInt(_0x46c8c3(0x384))/0x6*(parseInt(_0x46c8c3(0x2f3))/0x7)+parseInt(_0x46c8c3(0x1ee))/0x8+-parseInt(_0x46c8c3(0x2b7))/0x9+-parseInt(_0x46c8c3(0x138))/0xa;if(_0x2be4e7===_0x40c1e3)break;else _0x506097['push'](_0x506097['shift']());}catch(_0x3ff32e){_0x506097['push'](_0x506097['shift']());}}}(a2_0x1630,0xd3688));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';function a2_0x5241(_0x20e820,_0x1b953f){_0x20e820=_0x20e820-0x136;const _0x163036=a2_0x1630();let _0x5241f8=_0x163036[_0x20e820];return _0x5241f8;}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,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}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,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-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{AuthLoginCommand}from'./commands/auth-login-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{UpgradeCommand}from'./commands/upgrade-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['argv']['includes']('--version')){let versionOutput=a2_0x2603d4(0x19a)+currentVersion;buildInfo['gitRevision']&&!currentVersion[a2_0x2603d4(0x3ba)](buildInfo[a2_0x2603d4(0x326)])&&(versionOutput+='\x20('+buildInfo['gitRevision']+')'),buildInfo[a2_0x2603d4(0x37c)]&&(versionOutput+=a2_0x2603d4(0x152)+buildInfo[a2_0x2603d4(0x37c)]),console[a2_0x2603d4(0x2e0)](versionOutput),process[a2_0x2603d4(0x2bd)](0x0);}const program=new Command();export function mergeCommandOptions(_0x22be7f,_0x472fb4){const _0x4dc396={..._0x22be7f};for(const [_0x1b1707,_0x3366cc]of Object['entries'](_0x472fb4)){_0x3366cc!==undefined&&(_0x4dc396[_0x1b1707]=_0x3366cc);}return _0x4dc396;}let showBriefHelp=![],description='AI-native\x20CLI\x20for\x20Treasure\x20Data';buildInfo['gitRevision']&&!currentVersion[a2_0x2603d4(0x3ba)](buildInfo['gitRevision'])?description+=a2_0x2603d4(0x2b8)+currentVersion+'\x20('+buildInfo[a2_0x2603d4(0x326)]+')':description+=a2_0x2603d4(0x2b8)+currentVersion;program[a2_0x2603d4(0x2a2)]('tdx')['description'](description),program[a2_0x2603d4(0x270)](a2_0x2603d4(0x2a6),a2_0x2603d4(0x1ca))[a2_0x2603d4(0x270)](a2_0x2603d4(0x329),a2_0x2603d4(0x324))['option'](a2_0x2603d4(0x3ab),a2_0x2603d4(0x2fc),a2_0x2603d4(0x2e3))[a2_0x2603d4(0x270)](a2_0x2603d4(0x24c),a2_0x2603d4(0x366))['option'](a2_0x2603d4(0x25d),a2_0x2603d4(0x3a9))[a2_0x2603d4(0x270)]('--json','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')[a2_0x2603d4(0x270)]('--jsonl','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')['option']('--tsv',a2_0x2603d4(0x144))[a2_0x2603d4(0x270)]('--output\x20<file>','Save\x20output\x20to\x20file')[a2_0x2603d4(0x270)](a2_0x2603d4(0x26f),a2_0x2603d4(0x16c))['option'](a2_0x2603d4(0x3c1),a2_0x2603d4(0x277),![])[a2_0x2603d4(0x270)](a2_0x2603d4(0x3e3),'Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)',![])[a2_0x2603d4(0x270)](a2_0x2603d4(0x351),a2_0x2603d4(0x391),![])['option'](a2_0x2603d4(0x2d1),'Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)')[a2_0x2603d4(0x270)](a2_0x2603d4(0x188),'Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')[a2_0x2603d4(0x270)]('--timeout\x20<seconds>','Set\x20operation\x20timeout\x20in\x20seconds','30')['option'](a2_0x2603d4(0x2d7),a2_0x2603d4(0x37e),![])[a2_0x2603d4(0x270)]('-y,\x20--yes',a2_0x2603d4(0x346),![])[a2_0x2603d4(0x270)](a2_0x2603d4(0x190),a2_0x2603d4(0x304))[a2_0x2603d4(0x270)](a2_0x2603d4(0x36b),a2_0x2603d4(0x35d))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2ec),'LLM\x20project\x20to\x20use\x20(overrides\x20context)'),program[a2_0x2603d4(0x262)]({'formatHelp':(_0xc8c98b,_0x530021)=>{const _0x405e0d=a2_0x2603d4,_0x6cda53=_0x530021['padWidth'](_0xc8c98b,_0x530021),_0xd1ac5d=0x2,_0x27d5e3=0x2;function _0x5a3ea2(_0x35632c){const _0x170a2f=a2_0x5241,_0x1bde03=_0x35632c;return!!(_0x1bde03[_0x170a2f(0x245)]||_0x1bde03[_0x170a2f(0x272)]);}function _0x127c72(_0x32c58a,_0x32b635){const _0x257e33=a2_0x5241;if(_0x32b635){const _0x3bd24e=''+_0x32c58a[_0x257e33(0x347)](_0x6cda53+_0x27d5e3)+_0x32b635;return _0x3bd24e;}return _0x32c58a;}function _0x51ee30(_0x584720){const _0x5d320e=a2_0x5241;return _0x584720['join']('\x0a')[_0x5d320e(0x255)](/^/gm,'\x20'[_0x5d320e(0x140)](_0xd1ac5d));}const _0x2a0905=[];_0x2a0905['push']('Usage:\x20'+_0x530021['commandUsage'](_0xc8c98b));const _0x2c3556=_0x530021[_0x405e0d(0x3a6)](_0xc8c98b);_0x2c3556&&(_0x2a0905[_0x405e0d(0x18b)](''),_0x2a0905[_0x405e0d(0x18b)](_0x2c3556));const _0x38a0a5=_0xc8c98b['commands'][_0x405e0d(0x3a3)](_0x5507ff=>!_0x5a3ea2(_0x5507ff));if(_0x38a0a5[_0x405e0d(0x1f8)]>0x0){if(_0xc8c98b['name']()===_0x405e0d(0x13b)){const _0xe508bc=_0xc8c98b[_0x405e0d(0x25b)](),_0x457e73=!_0xe508bc[_0x405e0d(0x208)]&&process[_0x405e0d(0x321)][_0x405e0d(0x381)],_0x2a816a=COMMAND_CATEGORIES,_0x14844f=(_0x3f8b8e,_0x327e93)=>_0x457e73?_0x327e93(_0x3f8b8e):_0x3f8b8e,_0x4e6693=new Map();_0x38a0a5[_0x405e0d(0x3ac)](_0x1c2601=>{const _0x505692=_0x405e0d;_0x4e6693[_0x505692(0x257)](_0x1c2601['name'](),_0x1c2601);}),_0x2a816a['forEach'](_0x4f2ef1=>{const _0xf99556=_0x405e0d,_0x220909=_0x4f2ef1[_0xf99556(0x1ef)][_0xf99556(0x22c)](_0x85bb47=>_0x4e6693[_0xf99556(0x315)](_0x85bb47)??[]);if(_0x220909[_0xf99556(0x1f8)]>0x0){_0x2a0905[_0xf99556(0x18b)](''),_0x2a0905[_0xf99556(0x18b)](_0x14844f(_0x4f2ef1['name']+':',_0x4f2ef1[_0xf99556(0x285)]));const _0x1fd942=_0x220909[_0xf99556(0x362)](_0x2dd3e2=>{const _0x22eac6=_0xf99556,_0x506b6a=_0x530021[_0x22eac6(0x20b)](_0x2dd3e2),_0x5af302=_0x530021[_0x22eac6(0x300)](_0x2dd3e2);return _0x127c72(_0x506b6a,_0x5af302);});_0x2a0905[_0xf99556(0x18b)](_0x51ee30(_0x1fd942));}}),_0x2a0905[_0x405e0d(0x18b)](''),_0x2a0905[_0x405e0d(0x18b)](_0x405e0d(0x374));}else{const _0x296c4c=_0x38a0a5[_0x405e0d(0x362)](_0x5f5706=>{const _0x563da3=_0x405e0d,_0x45bfb4=_0x530021[_0x563da3(0x20b)](_0x5f5706),_0x5998e0=_0x530021[_0x563da3(0x300)](_0x5f5706);return _0x127c72(_0x45bfb4,_0x5998e0);});_0x2a0905[_0x405e0d(0x18b)](''),_0x2a0905[_0x405e0d(0x18b)](_0x405e0d(0x2ad)),_0x2a0905[_0x405e0d(0x18b)](_0x51ee30(_0x296c4c));}}if(showBriefHelp&&_0xc8c98b[_0x405e0d(0x2a2)]()==='tdx')_0x2a0905[_0x405e0d(0x18b)](''),_0x2a0905[_0x405e0d(0x18b)](_0x405e0d(0x2d8));else{const _0x4c41b3=_0xc8c98b[_0x405e0d(0x198)]['filter'](_0x2de433=>!_0x5a3ea2(_0x2de433));if(_0x4c41b3[_0x405e0d(0x1f8)]>0x0){const _0x1150fb=_0x4c41b3['map'](_0xd462ce=>{const _0x1ecb88=_0x405e0d,_0x59d229=_0x530021[_0x1ecb88(0x169)](_0xd462ce),_0x201921=_0x530021[_0x1ecb88(0x1c7)](_0xd462ce);return _0x127c72(_0x59d229,_0x201921);});_0x2a0905['push'](''),_0x2a0905['push'](_0x405e0d(0x303)),_0x2a0905[_0x405e0d(0x18b)](_0x51ee30(_0x1150fb));}}const _0x37e661=(_0xc8c98b[_0x405e0d(0x1c5)]||[])['filter'](_0x3bca9b=>!_0x5a3ea2(_0x3bca9b));if(_0x37e661[_0x405e0d(0x1f8)]>0x0){const _0x24dbd9=_0x37e661[_0x405e0d(0x362)](_0x92c3fb=>{const _0x108260=_0x405e0d,_0x5a4e08=_0x530021['argumentTerm'](_0x92c3fb),_0x28f7ae=_0x530021[_0x108260(0x3d4)](_0x92c3fb);return _0x127c72(_0x5a4e08,_0x28f7ae);});_0x2a0905[_0x405e0d(0x18b)](''),_0x2a0905[_0x405e0d(0x18b)]('Arguments:'),_0x2a0905['push'](_0x51ee30(_0x24dbd9));}return _0x2a0905[_0x405e0d(0x2c0)]('\x0a')+'\x0a';},'subcommandTerm':_0x2c5f54=>{const _0x2b58dc=a2_0x2603d4,_0x2df5ff=(_0x2c5f54[_0x2b58dc(0x1c5)]||[])['map'](_0x46c421=>_0x46c421[_0x2b58dc(0x334)]?'<'+_0x46c421['name']()+'>':'['+_0x46c421[_0x2b58dc(0x2a2)]()+']')[_0x2b58dc(0x2c0)]('\x20'),_0x53e24a=_0x2c5f54['aliases'](),_0x5855c2=_0x53e24a[_0x2b58dc(0x1f8)]>0x0?_0x2c5f54['name']()+',\x20'+_0x53e24a[_0x2b58dc(0x2c0)](',\x20'):_0x2c5f54[_0x2b58dc(0x2a2)]();return _0x2df5ff?_0x5855c2+'\x20'+_0x2df5ff:_0x5855c2;}}),program['hook']('preAction',_0x2111a7=>{const _0x3011d2=a2_0x2603d4,_0x16712f=_0x2111a7['opts']();if(_0x16712f[_0x3011d2(0x333)]){const _0x41971e=resolve(_0x16712f[_0x3011d2(0x333)]),_0xffed8=_0x41971e!==_0x16712f['directory']?_0x3011d2(0x331)+_0x41971e+')':'';if(!existsSync(_0x41971e))throw new SDKError(ErrorCode[_0x3011d2(0x231)],_0x3011d2(0x35b)+_0x16712f['directory']+_0xffed8,undefined,{'helpText':_0x3011d2(0x252)});const _0x150e68=statSync(_0x41971e);if(!_0x150e68[_0x3011d2(0x13d)]())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x3011d2(0x183)+_0x16712f['directory']+_0xffed8,undefined,{'helpText':'The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.'});process[_0x3011d2(0x23e)](_0x41971e);}if(!_0x16712f[_0x3011d2(0x3b3)]){if(_0x16712f[_0x3011d2(0x145)])_0x16712f[_0x3011d2(0x3b3)]=_0x3011d2(0x145);else{if(_0x16712f[_0x3011d2(0x158)])_0x16712f['format']=_0x3011d2(0x158);else{if(_0x16712f['jsonl'])_0x16712f[_0x3011d2(0x3b3)]=_0x3011d2(0x165);else _0x16712f['tsv']&&(_0x16712f[_0x3011d2(0x3b3)]=_0x3011d2(0x309));}}}if(_0x16712f['trace'])_0x16712f[_0x3011d2(0x328)]=LogLevel['TRACE'];else{if(_0x16712f[_0x3011d2(0x389)])_0x16712f[_0x3011d2(0x328)]=LogLevel['DEBUG'];else _0x16712f[_0x3011d2(0x328)]===undefined&&(_0x16712f[_0x3011d2(0x328)]=LogLevel['INFO']);}});async function createTDXInstance(_0x3e4745){const _0x3860f8=a2_0x2603d4,_0x2bcaae=await GlobalContext['createAsync'](_0x3e4745);return _0x2bcaae['injectIntoOptions'](_0x3e4745),TDX[_0x3860f8(0x2d3)]({'site':_0x2bcaae['site'],'apiKey':_0x2bcaae[_0x3860f8(0x388)],'accessToken':_0x2bcaae['accessToken'],'logLevel':_0x2bcaae[_0x3860f8(0x328)],'profile':_0x2bcaae['profile']});}const databaseCmd=program[a2_0x2603d4(0x2a8)]('database')[a2_0x2603d4(0x21f)]('db')[a2_0x2603d4(0x1f2)]('Database\x20management\x20commands'),databaseListAction=async(_0xed73a2,_0x37163d)=>{const _0x1f8242=a2_0x2603d4,_0x54a9aa=new DatabasesCommand(),_0x1e2f88=program[_0x1f8242(0x25b)](),_0x1dc7ae=await createTDXInstance(_0x1e2f88),_0xaffade=await _0x54a9aa[_0x1f8242(0x33d)]({'options':{..._0x1e2f88,..._0x37163d},'args':_0xed73a2?[_0xed73a2]:[],'tdx':_0x1dc7ae});gracefulExit(_0xaffade);};databaseCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1e3))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x146))['action'](databaseListAction),program[a2_0x2603d4(0x2a8)]('databases\x20[pattern]',{'hidden':!![]})[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x302))[a2_0x2603d4(0x230)](databaseListAction),program[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x26a))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x387))[a2_0x2603d4(0x270)](a2_0x2603d4(0x344),'Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)')[a2_0x2603d4(0x270)](a2_0x2603d4(0x20f),a2_0x2603d4(0x14b))[a2_0x2603d4(0x270)]('--chat-id\x20<id>','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID')[a2_0x2603d4(0x270)](a2_0x2603d4(0x1d1),'Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)')[a2_0x2603d4(0x230)](async(_0x207001,_0x4c2817)=>{const _0x5d4695=a2_0x2603d4,_0x529850=program[_0x5d4695(0x25b)](),_0x166308=await createTDXInstance(_0x529850);if(_0x207001[0x0]===_0x5d4695(0x2d3)){const _0x4ac110=new ChatCreateCommand();gracefulExit(await _0x4ac110['run']({'options':{..._0x529850,..._0x4c2817},'args':_0x207001['slice'](0x1),'tdx':_0x166308}));return;}const _0x22dace=new ChatCommand(),_0x3bd3a2=await _0x22dace[_0x5d4695(0x33d)]({'options':{..._0x529850,..._0x4c2817},'args':_0x207001,'tdx':_0x166308});gracefulExit(_0x3bd3a2);});const apiCmd=program[a2_0x2603d4(0x2a8)]('api\x20[endpoint]')[a2_0x2603d4(0x1b6)](a2_0x2603d4(0x29c))[a2_0x2603d4(0x2c3)](a2_0x2603d4(0x271),a2_0x2603d4(0x3c3))['option']('-X,\x20--method\x20<method>',a2_0x2603d4(0x339),a2_0x2603d4(0x1a5))[a2_0x2603d4(0x270)](a2_0x2603d4(0x1bf),a2_0x2603d4(0x314))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2a0),a2_0x2603d4(0x364))[a2_0x2603d4(0x270)]('-H,\x20--header\x20<header>',a2_0x2603d4(0x34d),(_0x7e6078,_0x160726)=>{return _0x160726?[..._0x160726,_0x7e6078]:[_0x7e6078];})[a2_0x2603d4(0x270)](a2_0x2603d4(0x32a),'API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')[a2_0x2603d4(0x230)](async(_0x12b668,_0x21d495)=>{const _0x26c57e=a2_0x2603d4;if(!_0x12b668){apiCmd['help']();return;}const _0x4111b9=new ApiCommand(),_0x57c138=program[_0x26c57e(0x25b)](),_0x54d37c=await createTDXInstance(_0x57c138),_0x2fe6e1=await _0x4111b9['run']({'options':{..._0x57c138,..._0x21d495},'args':[_0x12b668],'tdx':_0x54d37c});gracefulExit(_0x2fe6e1);});program[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x23d))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x2ae))[a2_0x2603d4(0x2c3)]('after','\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,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a')[a2_0x2603d4(0x230)](async _0x55884b=>{const _0x550a98=a2_0x2603d4,_0x35248b=new MCPCommand(),_0x142a7f=program[_0x550a98(0x25b)](),_0x570b3f=await createTDXInstance(_0x142a7f),_0x194736=await _0x35248b[_0x550a98(0x33d)]({'options':{..._0x142a7f,..._0x55884b},'args':[],'tdx':_0x570b3f});gracefulExit(_0x194736);});const tableCmd=program[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x145))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x2fb)),tableListAction=async(_0x383210,_0x138a28)=>{const _0x6d4a23=a2_0x2603d4,_0x3f2630=new TablesCommand(),_0x53a3fb=program[_0x6d4a23(0x25b)](),_0x16584b=await createTDXInstance(_0x53a3fb);_0x138a28['in']&&(_0x138a28[_0x6d4a23(0x246)]=_0x138a28['in']);const _0x575589=await _0x3f2630[_0x6d4a23(0x33d)]({'options':{..._0x53a3fb,..._0x138a28},'args':_0x383210?[_0x383210]:[],'tdx':_0x16584b});gracefulExit(_0x575589);};tableCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1e3))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x3a4))['option'](a2_0x2603d4(0x218),a2_0x2603d4(0x356))[a2_0x2603d4(0x270)](a2_0x2603d4(0x136),a2_0x2603d4(0x17b))[a2_0x2603d4(0x230)](tableListAction),program[a2_0x2603d4(0x2a8)]('tables\x20[pattern]',{'hidden':!![]})[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x36f))[a2_0x2603d4(0x270)](a2_0x2603d4(0x218),a2_0x2603d4(0x356))[a2_0x2603d4(0x270)](a2_0x2603d4(0x136),a2_0x2603d4(0x17b))[a2_0x2603d4(0x230)](tableListAction),program['command'](a2_0x2603d4(0x1b7))['description'](a2_0x2603d4(0x137))[a2_0x2603d4(0x270)](a2_0x2603d4(0x218),a2_0x2603d4(0x2a5))['option'](a2_0x2603d4(0x136),a2_0x2603d4(0x17b))[a2_0x2603d4(0x230)](async(_0x3a3fda,_0x1f0390)=>{const _0x4251f5=a2_0x2603d4,_0x394242=new ShowCommand(),_0x230c47=program[_0x4251f5(0x25b)](),_0x3f0c40=await createTDXInstance(_0x230c47);_0x1f0390['in']&&(_0x1f0390['database']=_0x1f0390['in']);const _0x287cba=await _0x394242[_0x4251f5(0x33d)]({'options':{..._0x230c47,..._0x1f0390},'args':_0x3a3fda?[_0x3a3fda]:[],'tdx':_0x3f0c40});gracefulExit(_0x287cba);}),program[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x26d))[a2_0x2603d4(0x21f)](a2_0x2603d4(0x16b))[a2_0x2603d4(0x1f2)]('Describe\x20table\x20schema')[a2_0x2603d4(0x270)](a2_0x2603d4(0x218),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x2603d4(0x270)]('--in\x20<database>',a2_0x2603d4(0x17b))[a2_0x2603d4(0x230)](async(_0x438359,_0x4fa342)=>{const _0x39bd6b=a2_0x2603d4,_0x38ce35=new DescribeCommand(),_0x32e9c3=program[_0x39bd6b(0x25b)](),_0x1a06af=await createTDXInstance(_0x32e9c3);_0x4fa342['in']&&(_0x4fa342[_0x39bd6b(0x246)]=_0x4fa342['in']);const _0x4c75cf=await _0x38ce35[_0x39bd6b(0x33d)]({'options':{..._0x32e9c3,..._0x4fa342},'args':_0x438359?[_0x438359]:[],'tdx':_0x1a06af});gracefulExit(_0x4c75cf);}),program[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x18d))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x3d6))[a2_0x2603d4(0x270)](a2_0x2603d4(0x218),a2_0x2603d4(0x336))['option'](a2_0x2603d4(0x136),a2_0x2603d4(0x17b))[a2_0x2603d4(0x270)](a2_0x2603d4(0x167),a2_0x2603d4(0x199))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2a0),'Read\x20SQL\x20query\x20from\x20file')[a2_0x2603d4(0x270)](a2_0x2603d4(0x299),a2_0x2603d4(0x269))['action'](async(_0x3b23cf,_0x2b358f)=>{const _0x58465c=a2_0x2603d4,_0xe9c07=new QueryCommand(),_0x9377a4=program[_0x58465c(0x25b)](),_0x4abcda=await createTDXInstance(_0x9377a4);_0x2b358f['in']&&(_0x2b358f[_0x58465c(0x246)]=_0x2b358f['in']);const _0x5a286f=await _0xe9c07['run']({'options':mergeCommandOptions(_0x9377a4,_0x2b358f),'args':_0x3b23cf?[_0x3b23cf]:[],'tdx':_0x4abcda});gracefulExit(_0x5a286f);});const segmentCmd=program[a2_0x2603d4(0x2a8)]('segment')[a2_0x2603d4(0x21f)]('sg')[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x289)),segmentListAction=async(_0x5b24b1,_0x1b2928)=>{const _0x2ac671=a2_0x2603d4,_0x33a9b6=new SegmentsCommand(),_0x467ec5=program[_0x2ac671(0x25b)](),_0xdebef=await createTDXInstance(_0x467ec5),_0xef3ceb=await _0x33a9b6['run']({'options':{..._0x467ec5,..._0x1b2928},'args':_0x5b24b1?[_0x5b24b1]:[],'tdx':_0xdebef});gracefulExit(_0xef3ceb);};segmentCmd['command'](a2_0x2603d4(0x3aa))['description'](a2_0x2603d4(0x217))[a2_0x2603d4(0x270)](a2_0x2603d4(0x3c4),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')['option']('--max-depth\x20<depth>','Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x2603d4(0x230)](segmentListAction),program[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x249),{'hidden':!![]})['description'](a2_0x2603d4(0x170))['option'](a2_0x2603d4(0x3c4),a2_0x2603d4(0x26e))[a2_0x2603d4(0x270)](a2_0x2603d4(0x365),a2_0x2603d4(0x2bf),'10')[a2_0x2603d4(0x230)](segmentListAction),segmentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1ba),{'hidden':!![]})[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x1b4))[a2_0x2603d4(0x230)](async(_0x456106,_0x247b7a)=>{const _0x3cb24a=a2_0x2603d4,_0x150e52=new SegmentUseCommand(),_0x18c00e=program[_0x3cb24a(0x25b)](),_0x16b9fe=await createTDXInstance(_0x18c00e),_0x2fe92d=await _0x150e52['run']({'options':{..._0x18c00e,..._0x247b7a},'args':[_0x456106],'tdx':_0x16b9fe});gracefulExit(_0x2fe92d);});const segmentViewAction=async(_0x27ca04,_0x3617f4)=>{const _0x13d1af=a2_0x2603d4,_0x2d3401=new SegmentViewCommand(),_0x13400a=program[_0x13d1af(0x25b)](),_0x3d8d2c=await createTDXInstance(_0x13400a),_0x57238f=await _0x2d3401[_0x13d1af(0x33d)]({'options':{..._0x13400a,..._0x3617f4},'args':_0x27ca04?[_0x27ca04]:[],'tdx':_0x3d8d2c});gracefulExit(_0x57238f);};segmentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1e2))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x2e8))['option'](a2_0x2603d4(0x399),a2_0x2603d4(0x253))[a2_0x2603d4(0x230)](segmentViewAction),segmentCmd['command'](a2_0x2603d4(0x3e0),{'hidden':!![]})['alias'](a2_0x2603d4(0x352))[a2_0x2603d4(0x270)](a2_0x2603d4(0x399),'Open\x20segment\x20in\x20web\x20browser')[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x2a4))['action'](segmentViewAction),segmentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x18f))['description'](a2_0x2603d4(0x264))[a2_0x2603d4(0x230)](async(_0x340af0,_0xa04f39)=>{const _0x2f79d6=a2_0x2603d4,_0x1fa056=new SegmentDescCommand(),_0x2caf68=program['opts'](),_0x1e5fd0=await createTDXInstance(_0x2caf68),_0x22c585=await _0x1fa056[_0x2f79d6(0x33d)]({'options':{..._0x2caf68,..._0xa04f39},'args':_0x340af0?[_0x340af0]:[],'tdx':_0x1e5fd0});gracefulExit(_0x22c585);}),segmentCmd[a2_0x2603d4(0x2a8)]('show\x20[segment_name]')[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x2f6))[a2_0x2603d4(0x230)](async(_0x32cb21,_0x10e3c4)=>{const _0x25b596=a2_0x2603d4,_0x27a04f=new SegmentShowCommand(),_0x4b4eaa=program['opts'](),_0x5e34bc=await createTDXInstance(_0x4b4eaa),_0x3888cc=await _0x27a04f[_0x25b596(0x33d)]({'options':{..._0x4b4eaa,..._0x10e3c4},'args':_0x32cb21?[_0x32cb21]:[],'tdx':_0x5e34bc});gracefulExit(_0x3888cc);}),segmentCmd['command'](a2_0x2603d4(0x2ca),{'hidden':!![]})['description'](a2_0x2603d4(0x238))[a2_0x2603d4(0x230)](async(_0xcd0ec3,_0x2e0138)=>{const _0xd78cba=a2_0x2603d4,_0x564714=new SegmentFolderListCommand(),_0x1310f0=program[_0xd78cba(0x25b)](),_0x30d3bf=await createTDXInstance(_0x1310f0),_0x1b8d90=await _0x564714[_0xd78cba(0x33d)]({'options':{..._0x1310f0,..._0x2e0138},'args':[_0xcd0ec3],'tdx':_0x30d3bf});gracefulExit(_0x1b8d90);});const folderCmd=segmentCmd['command']('folder',{'hidden':!![]})['description']('[DEPRECATED]\x20Segment\x20folder\x20management');folderCmd['command'](a2_0x2603d4(0x2c1))[a2_0x2603d4(0x1f2)]('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')[a2_0x2603d4(0x230)](async(_0x50dd9b,_0x35d4be)=>{const _0x5be6b6=a2_0x2603d4,_0x3cbf56=new SegmentFolderShowCommand(),_0x34de25=program['opts'](),_0x549e5d=await createTDXInstance(_0x34de25),_0x127ca8=await _0x3cbf56[_0x5be6b6(0x33d)]({'options':{..._0x34de25,..._0x35d4be},'args':[_0x50dd9b],'tdx':_0x549e5d});gracefulExit(_0x127ca8);}),segmentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x318))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x185))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2ce),a2_0x2603d4(0x1f7))[a2_0x2603d4(0x230)](async(_0x372f4a,_0x4b068d)=>{const _0x3d54af=a2_0x2603d4,_0x218974=new SegmentSQLCommand(),_0x3e6dc7=program[_0x3d54af(0x25b)](),_0x5aa30f=await createTDXInstance(_0x3e6dc7),_0x462d0d=await _0x218974[_0x3d54af(0x33d)]({'options':{..._0x3e6dc7,..._0x4b068d},'args':_0x372f4a?[_0x372f4a]:[],'tdx':_0x5aa30f});gracefulExit(_0x462d0d);}),segmentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x194))['description'](a2_0x2603d4(0x227))['action'](async(_0x15ee85,_0x58f137)=>{const _0x3a5c13=a2_0x2603d4,_0x3772d6=new SegmentFieldsCommand(),_0x329122=program[_0x3a5c13(0x25b)](),_0x4ceb8d=await createTDXInstance(_0x329122),_0x4299eb=await _0x3772d6[_0x3a5c13(0x33d)]({'options':{..._0x329122,..._0x58f137},'args':_0x15ee85?[_0x15ee85]:[],'tdx':_0x4ceb8d});gracefulExit(_0x4299eb);}),segmentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x213))['description'](a2_0x2603d4(0x330))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2d7),a2_0x2603d4(0x2eb))[a2_0x2603d4(0x230)](async(_0x14c4c1,_0x4a1420)=>{const _0x16993c=a2_0x2603d4,_0x2d0072=new SegmentPullCommand(),_0x29d7e0=program[_0x16993c(0x25b)](),_0x4ef38a=await createTDXInstance(_0x29d7e0),_0x5b48dd=await _0x2d0072['run']({'options':{..._0x29d7e0,..._0x4a1420},'args':_0x14c4c1?[_0x14c4c1]:[],'tdx':_0x4ef38a});gracefulExit(_0x5b48dd);}),segmentCmd[a2_0x2603d4(0x2a8)]('push\x20[parent_or_file]')[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x22a))[a2_0x2603d4(0x270)]('--dry-run',a2_0x2603d4(0x2eb))[a2_0x2603d4(0x270)](a2_0x2603d4(0x3cb),a2_0x2603d4(0x17c))['action'](async(_0xfca981,_0x5e8fce)=>{const _0x577a11=a2_0x2603d4,_0x33a3fd=new SegmentPushCommand(),_0x106e9b=program['opts'](),_0x83eccd=await createTDXInstance(_0x106e9b),_0xe87ae=await _0x33a3fd[_0x577a11(0x33d)]({'options':{..._0x106e9b,..._0x5e8fce},'args':_0xfca981?[_0xfca981]:[],'tdx':_0x83eccd});gracefulExit(_0xe87ae);}),segmentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x239))[a2_0x2603d4(0x1f2)]('Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally')[a2_0x2603d4(0x230)](async(_0x22430b,_0x290d9a)=>{const _0x4214d7=a2_0x2603d4,_0x5f335e=new SegmentValidateCommand(),_0x54d1aa=program[_0x4214d7(0x25b)](),_0x201464=await createTDXInstance(_0x54d1aa),_0x44f7a0=await _0x5f335e[_0x4214d7(0x33d)]({'options':{..._0x54d1aa,..._0x290d9a},'args':_0x22430b?[_0x22430b]:[],'tdx':_0x201464});gracefulExit(_0x44f7a0);}),segmentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x2c7),{'hidden':!![]})[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x32f))[a2_0x2603d4(0x270)]('--description\x20<text>',a2_0x2603d4(0x32c))[a2_0x2603d4(0x270)](a2_0x2603d4(0x206),a2_0x2603d4(0x3ce))[a2_0x2603d4(0x270)](a2_0x2603d4(0x1ac),'Filtering\x20rule\x20from\x20JSON\x20file')[a2_0x2603d4(0x270)](a2_0x2603d4(0x3b4),a2_0x2603d4(0x1d2))['option']('--kind\x20<type>',a2_0x2603d4(0x1a7))['option']('--invisible',a2_0x2603d4(0x3bb))[a2_0x2603d4(0x270)](a2_0x2603d4(0x25a),a2_0x2603d4(0x3a2))[a2_0x2603d4(0x230)](async(_0x100842,_0x3c4273)=>{const _0x5ea73d=a2_0x2603d4,_0x4c4f58=new SegmentCreateCommand(),_0x44afa6=program['opts'](),_0x179c00=await createTDXInstance(_0x44afa6),_0x35419e=await _0x4c4f58[_0x5ea73d(0x33d)]({'options':{..._0x44afa6,..._0x3c4273},'args':[_0x100842],'tdx':_0x179c00});gracefulExit(_0x35419e);}),segmentCmd[a2_0x2603d4(0x2a8)]('update\x20<segment_name>',{'hidden':!![]})[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x19b))[a2_0x2603d4(0x270)]('--name\x20<new_name>',a2_0x2603d4(0x251))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2b3),a2_0x2603d4(0x2c5))[a2_0x2603d4(0x270)](a2_0x2603d4(0x206),a2_0x2603d4(0x2fe))[a2_0x2603d4(0x270)](a2_0x2603d4(0x1ac),a2_0x2603d4(0x24b))[a2_0x2603d4(0x270)](a2_0x2603d4(0x3b4),'Move\x20to\x20folder')[a2_0x2603d4(0x270)]('--kind\x20<type>',a2_0x2603d4(0x1a7))[a2_0x2603d4(0x230)](async(_0x59045c,_0x277ae1)=>{const _0x5b6e23=new SegmentUpdateCommand(),_0x3aed9b=program['opts'](),_0x464116=await createTDXInstance(_0x3aed9b),_0x480e75=await _0x5b6e23['run']({'options':{..._0x3aed9b,..._0x277ae1},'args':[_0x59045c],'tdx':_0x464116});gracefulExit(_0x480e75);});const parentCmd=segmentCmd['command'](a2_0x2603d4(0x359),{'hidden':!![]})[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x31c)),parentListAction=async(_0xd39acd,_0xf8cff3)=>{const _0x102517=a2_0x2603d4,_0x560794=new ParentSegmentListCommand(),_0x2786be=program[_0x102517(0x25b)](),_0x4cca25=await createTDXInstance(_0x2786be),_0x105e6c=await _0x560794[_0x102517(0x33d)]({'options':{..._0x2786be,..._0xf8cff3},'args':_0xd39acd?[_0xd39acd]:[],'tdx':_0x4cca25});gracefulExit(_0x105e6c);};parentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1e3))['description']('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x2603d4(0x230)](parentListAction),segmentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x290),{'hidden':!![]})[a2_0x2603d4(0x1f2)]('List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)')['action'](parentListAction),parentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x2a9))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x1ad))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2d6),a2_0x2603d4(0x203))[a2_0x2603d4(0x230)](async(_0x554b35,_0xbcfc16)=>{const _0x15fd2a=a2_0x2603d4,_0x5c3550=new ParentSegmentPullCommand(),_0x4ef457=program['opts'](),_0x5a3be4=await createTDXInstance(_0x4ef457),_0x277a06=await _0x5c3550[_0x15fd2a(0x33d)]({'options':{..._0x4ef457,..._0xbcfc16},'args':_0x554b35?[_0x554b35]:[],'tdx':_0x5a3be4});gracefulExit(_0x277a06);}),parentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x349))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x23f))[a2_0x2603d4(0x230)](async(_0x342e78,_0x501f2f)=>{const _0x420da3=a2_0x2603d4,_0x507188=new ParentSegmentPushCommand(),_0xc8d3c6=program[_0x420da3(0x25b)](),_0x498a54=await createTDXInstance(_0xc8d3c6),_0x3c6902=await _0x507188[_0x420da3(0x33d)]({'options':{..._0xc8d3c6,..._0x501f2f},'args':_0x342e78?[_0x342e78]:[],'tdx':_0x498a54});gracefulExit(_0x3c6902);}),parentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x306))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x38a))[a2_0x2603d4(0x270)](a2_0x2603d4(0x371),'Show\x20only\x20master\x20table\x20validation')['option'](a2_0x2603d4(0x361),a2_0x2603d4(0x1f0))[a2_0x2603d4(0x270)](a2_0x2603d4(0x345),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x2603d4(0x270)](a2_0x2603d4(0x363),a2_0x2603d4(0x29f))['option'](a2_0x2603d4(0x30c),a2_0x2603d4(0x3e5),a2_0x2603d4(0x2ef))[a2_0x2603d4(0x230)](async(_0x1bf1f7,_0x336dc1)=>{const _0x20559a=a2_0x2603d4,_0x1bc764=new ParentSegmentValidateCommand(),_0x3b391b=program[_0x20559a(0x25b)](),_0x4325a0=await createTDXInstance(_0x3b391b),_0x42d4a9=await _0x1bc764['run']({'options':{..._0x3b391b,..._0x336dc1},'args':_0x1bf1f7?[_0x1bf1f7]:[],'tdx':_0x4325a0});gracefulExit(_0x42d4a9);}),parentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x154))['description'](a2_0x2603d4(0x37a))[a2_0x2603d4(0x270)](a2_0x2603d4(0x371),a2_0x2603d4(0x16d))[a2_0x2603d4(0x270)]('--attribute\x20[name]',a2_0x2603d4(0x3b1))[a2_0x2603d4(0x270)](a2_0x2603d4(0x345),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x2603d4(0x270)](a2_0x2603d4(0x363),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x2603d4(0x270)]('--interval\x20<range>',a2_0x2603d4(0x3e5),a2_0x2603d4(0x2ef))[a2_0x2603d4(0x230)](async(_0x31beb6,_0x3352bf)=>{const _0x5f3c7b=a2_0x2603d4,_0x5acb52=new ParentSegmentPreviewCommand(),_0x24c7e8=program[_0x5f3c7b(0x25b)](),_0x373a5e=await createTDXInstance(_0x24c7e8),_0x1c9200=await _0x5acb52[_0x5f3c7b(0x33d)]({'options':{..._0x24c7e8,..._0x3352bf},'args':_0x31beb6?[_0x31beb6]:[],'tdx':_0x373a5e});gracefulExit(_0x1c9200);}),parentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x23a))['description'](a2_0x2603d4(0x1a9))[a2_0x2603d4(0x230)](async(_0x30d06f,_0xa9fffb)=>{const _0x477dac=a2_0x2603d4,_0x3563d9=new ParentSegmentRunCommand(),_0x42eb3c=program[_0x477dac(0x25b)](),_0x3e5dca=await createTDXInstance(_0x42eb3c),_0x52bcf4=await _0x3563d9[_0x477dac(0x33d)]({'options':{..._0x42eb3c,..._0xa9fffb},'args':_0x30d06f?[_0x30d06f]:[],'tdx':_0x3e5dca});gracefulExit(_0x52bcf4);});const parentSegmentCmd=program[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1a3))[a2_0x2603d4(0x21f)]('ps')[a2_0x2603d4(0x1f2)]('Parent\x20segment\x20management');parentSegmentCmd['command'](a2_0x2603d4(0x1e3))[a2_0x2603d4(0x1f2)]('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x2603d4(0x230)](parentListAction),parentSegmentCmd['command']('pull\x20[name]')[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x370))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2d6),a2_0x2603d4(0x197))[a2_0x2603d4(0x270)]('-u,\x20--use',a2_0x2603d4(0x13e))[a2_0x2603d4(0x230)](async(_0x3e5989,_0x4cb5df)=>{const _0x1f9671=new ParentSegmentPullCommand(),_0x2462fb=program['opts'](),_0x3db3f5=await createTDXInstance(_0x2462fb),_0x4249c2=await _0x1f9671['run']({'options':{..._0x2462fb,..._0x4cb5df},'args':_0x3e5989?[_0x3e5989]:[],'tdx':_0x3db3f5});gracefulExit(_0x4249c2);}),parentSegmentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1dc))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x24f))['action'](async(_0x8ee1f5,_0x75005e)=>{const _0x1c7931=a2_0x2603d4,_0x1653d4=new ParentSegmentPushCommand(),_0x195765=program['opts'](),_0x8e509f=await createTDXInstance(_0x195765),_0x43cb99=await _0x1653d4[_0x1c7931(0x33d)]({'options':{..._0x195765,..._0x75005e},'args':_0x8ee1f5?[_0x8ee1f5]:[],'tdx':_0x8e509f});gracefulExit(_0x43cb99);}),parentSegmentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1d0))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x38a))[a2_0x2603d4(0x270)](a2_0x2603d4(0x371),a2_0x2603d4(0x37f))[a2_0x2603d4(0x270)](a2_0x2603d4(0x361),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x2603d4(0x270)]('--behavior\x20[name]',a2_0x2603d4(0x353))[a2_0x2603d4(0x270)](a2_0x2603d4(0x363),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x2603d4(0x270)](a2_0x2603d4(0x30c),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x2603d4(0x2ef))[a2_0x2603d4(0x230)](async(_0x193811,_0x756abd)=>{const _0x3809f1=a2_0x2603d4,_0x24385b=new ParentSegmentValidateCommand(),_0x1b767e=program[_0x3809f1(0x25b)](),_0xf364e7=await createTDXInstance(_0x1b767e),_0x46df2c=await _0x24385b[_0x3809f1(0x33d)]({'options':{..._0x1b767e,..._0x756abd},'args':_0x193811?[_0x193811]:[],'tdx':_0xf364e7});gracefulExit(_0x46df2c);}),parentSegmentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x369))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x37a))['option'](a2_0x2603d4(0x371),a2_0x2603d4(0x16d))['option']('--attribute\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x2603d4(0x270)](a2_0x2603d4(0x345),a2_0x2603d4(0x312))[a2_0x2603d4(0x270)]('--enriched',a2_0x2603d4(0x2de))[a2_0x2603d4(0x270)](a2_0x2603d4(0x30c),a2_0x2603d4(0x3e5),'-1d')[a2_0x2603d4(0x230)](async(_0x3a77cb,_0x57d925)=>{const _0x487210=a2_0x2603d4,_0x472f9f=new ParentSegmentPreviewCommand(),_0x35cb3f=program[_0x487210(0x25b)](),_0xe9d5=await createTDXInstance(_0x35cb3f),_0x539f1d=await _0x472f9f[_0x487210(0x33d)]({'options':{..._0x35cb3f,..._0x57d925},'args':_0x3a77cb?[_0x3a77cb]:[],'tdx':_0xe9d5});gracefulExit(_0x539f1d);}),parentSegmentCmd[a2_0x2603d4(0x2a8)]('run\x20[name]')[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x1a9))[a2_0x2603d4(0x230)](async(_0x39eca5,_0x2cceb4)=>{const _0x5a8c3a=a2_0x2603d4,_0x21ae8e=new ParentSegmentRunCommand(),_0x4a98cb=program[_0x5a8c3a(0x25b)](),_0x35d18a=await createTDXInstance(_0x4a98cb),_0x5c3b89=await _0x21ae8e[_0x5a8c3a(0x33d)]({'options':{..._0x4a98cb,..._0x2cceb4},'args':_0x39eca5?[_0x39eca5]:[],'tdx':_0x35d18a});gracefulExit(_0x5c3b89);}),parentSegmentCmd['command'](a2_0x2603d4(0x28e))[a2_0x2603d4(0x1f2)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x2603d4(0x254),a2_0x2603d4(0x25c))['option'](a2_0x2603d4(0x155),'Output\x20as\x20JSON\x20Lines')[a2_0x2603d4(0x230)](async(_0x20ca85,_0x272c90)=>{const _0x152d03=new ParentSegmentFieldsCommand(),_0x561fc7=program['opts'](),_0x488d9a=await createTDXInstance(_0x561fc7),_0x3a5cc6=await _0x152d03['run']({'options':{..._0x561fc7,..._0x272c90},'args':_0x20ca85?[_0x20ca85]:[],'tdx':_0x488d9a});gracefulExit(_0x3a5cc6);}),parentSegmentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x394))['description'](a2_0x2603d4(0x13f))['option']('-w,\x20--web',a2_0x2603d4(0x2f8))[a2_0x2603d4(0x270)](a2_0x2603d4(0x254),a2_0x2603d4(0x25c))[a2_0x2603d4(0x270)](a2_0x2603d4(0x155),a2_0x2603d4(0x2b5))[a2_0x2603d4(0x230)](async(_0xc0089b,_0x3cdb56)=>{const _0x2673ea=a2_0x2603d4,_0x236f02=new ParentSegmentViewCommand(),_0x5e793c=program[_0x2673ea(0x25b)](),_0x288e03=await createTDXInstance(_0x5e793c),_0x35882f=await _0x236f02[_0x2673ea(0x33d)]({'options':{..._0x5e793c,..._0x3cdb56},'args':_0xc0089b?[_0xc0089b]:[],'tdx':_0x288e03});gracefulExit(_0x35882f);}),parentSegmentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1c0))[a2_0x2603d4(0x1f2)]('Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x2603d4(0x2d6),a2_0x2603d4(0x197))['option'](a2_0x2603d4(0x254),a2_0x2603d4(0x25c))[a2_0x2603d4(0x270)](a2_0x2603d4(0x155),'Output\x20as\x20JSON\x20Lines')['action'](async(_0x5bea40,_0x6774e3)=>{const _0x1e91eb=a2_0x2603d4,_0x2b1224=new ParentSegmentDescCommand(),_0x298ac5=program[_0x1e91eb(0x25b)](),_0x573ffc=await createTDXInstance(_0x298ac5),_0x597b27=await _0x2b1224[_0x1e91eb(0x33d)]({'options':{..._0x298ac5,..._0x6774e3},'args':_0x5bea40?[_0x5bea40]:[],'tdx':_0x573ffc});gracefulExit(_0x597b27);}),parentSegmentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x3a7))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x33c))[a2_0x2603d4(0x270)](a2_0x2603d4(0x254),a2_0x2603d4(0x25c))[a2_0x2603d4(0x270)](a2_0x2603d4(0x155),'Output\x20as\x20JSON\x20Lines')[a2_0x2603d4(0x230)](async(_0x2502f2,_0x257ab0)=>{const _0x340e51=a2_0x2603d4,_0xff5bad=new ParentSegmentSQLCommand(),_0x30184f=program[_0x340e51(0x25b)](),_0x2d9261=await createTDXInstance(_0x30184f),_0x62c6c8=await _0xff5bad[_0x340e51(0x33d)]({'options':{..._0x30184f,..._0x257ab0},'args':_0x2502f2?[_0x2502f2]:[],'tdx':_0x2d9261});gracefulExit(_0x62c6c8);}),parentSegmentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x153))[a2_0x2603d4(0x1f2)]('Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x2603d4(0x270)](a2_0x2603d4(0x148),a2_0x2603d4(0x201))[a2_0x2603d4(0x270)](a2_0x2603d4(0x254),a2_0x2603d4(0x25c))[a2_0x2603d4(0x270)](a2_0x2603d4(0x155),'Output\x20as\x20JSON\x20Lines')[a2_0x2603d4(0x230)](async(_0x2c9074,_0x1c8579)=>{const _0x20e661=a2_0x2603d4,_0x497b50=new ParentSegmentShowCommand(),_0x56c6d1=program[_0x20e661(0x25b)](),_0x54ddd4=await createTDXInstance(_0x56c6d1),_0x5f3acc=await _0x497b50['run']({'options':{..._0x56c6d1,..._0x1c8579},'args':_0x2c9074?[_0x2c9074]:[],'tdx':_0x54ddd4});gracefulExit(_0x5f3acc);}),parentSegmentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1fd))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x2b4))[a2_0x2603d4(0x230)](async(_0xf98868,_0x341e73)=>{const _0x314b6d=a2_0x2603d4,_0x44875a=new UseCommand(),_0x50cfd3=program[_0x314b6d(0x25b)](),_0x908fef=_0xf98868?['parent_segment',_0xf98868]:[],_0xac7549=await _0x44875a[_0x314b6d(0x33d)]({'options':{..._0x50cfd3,..._0x341e73},'args':_0x908fef,'tdx':null});gracefulExit(_0xac7549);});const psRtCmd=parentSegmentCmd[a2_0x2603d4(0x2a8)]('rt')['description'](a2_0x2603d4(0x151));psRtCmd['command']('list\x20[pattern]')[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x243))['action'](async(_0x2119f2,_0x54ad6b)=>{const _0x5d3149=a2_0x2603d4,_0x54561c=new PSRtListCommand(),_0x4064ac=program['opts'](),_0x40c565=await createTDXInstance(_0x4064ac),_0x55d06a=await _0x54561c[_0x5d3149(0x33d)]({'options':{..._0x4064ac,..._0x54ad6b},'args':_0x2119f2?[_0x2119f2]:[],'tdx':_0x40c565});gracefulExit(_0x55d06a);}),psRtCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1d0))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x34f))[a2_0x2603d4(0x230)](async(_0x29b18d,_0x1ed182)=>{const _0x175c67=a2_0x2603d4,_0x5ccf35=new PSRtValidateCommand(),_0x3741ac=program['opts'](),_0x1697a8=await createTDXInstance(_0x3741ac),_0x503125=await _0x5ccf35[_0x175c67(0x33d)]({'options':{..._0x3741ac,..._0x1ed182},'args':_0x29b18d?[_0x29b18d]:[],'tdx':_0x1697a8});gracefulExit(_0x503125);});const parentRtCmd=parentCmd[a2_0x2603d4(0x2a8)]('rt',{'hidden':!![]})['description'](a2_0x2603d4(0x151));parentRtCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1e3))['description'](a2_0x2603d4(0x243))[a2_0x2603d4(0x230)](async(_0x49239c,_0x4f175a)=>{const _0x3ed524=a2_0x2603d4,_0x202e31=new PSRtListCommand(),_0x4cd11a=program[_0x3ed524(0x25b)](),_0x52f94f=await createTDXInstance(_0x4cd11a),_0x4a7dca=await _0x202e31['run']({'options':{..._0x4cd11a,..._0x4f175a},'args':_0x49239c?[_0x49239c]:[],'tdx':_0x52f94f});gracefulExit(_0x4a7dca);}),parentRtCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1d0))[a2_0x2603d4(0x1f2)]('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')[a2_0x2603d4(0x230)](async(_0x34b5b8,_0x4ee2ab)=>{const _0x79f4e2=a2_0x2603d4,_0x11cdee=new PSRtValidateCommand(),_0x4958f4=program['opts'](),_0x1217d5=await createTDXInstance(_0x4958f4),_0xdcc35e=await _0x11cdee[_0x79f4e2(0x33d)]({'options':{..._0x4958f4,..._0x4ee2ab},'args':_0x34b5b8?[_0x34b5b8]:[],'tdx':_0x1217d5});gracefulExit(_0xdcc35e);});const psPzCmd=parentSegmentCmd[a2_0x2603d4(0x2a8)]('pz')[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x193));psPzCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x27c))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x162))['action'](async(_0x5f1085,_0x4ee182)=>{const _0x2da50b=a2_0x2603d4,_0x3e51eb=new PSPzListCommand(),_0x4fb4c7=program[_0x2da50b(0x25b)](),_0x572ec0=await createTDXInstance(_0x4fb4c7),_0x37fd2d=await _0x3e51eb['run']({'options':{..._0x4fb4c7,..._0x4ee182},'args':_0x5f1085?[_0x5f1085]:[],'tdx':_0x572ec0});gracefulExit(_0x37fd2d);}),psPzCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x200))['description'](a2_0x2603d4(0x29b))['action'](async(_0x2091e2,_0x452ae1)=>{const _0x532e9d=a2_0x2603d4,_0x3d9101=new PSPzInitCommand(),_0x1bf360=program[_0x532e9d(0x25b)](),_0x5df93b=await createTDXInstance(_0x1bf360),_0x3f868e=await _0x3d9101[_0x532e9d(0x33d)]({'options':{..._0x1bf360,..._0x452ae1},'args':_0x2091e2?[_0x2091e2]:[],'tdx':_0x5df93b});gracefulExit(_0x3f868e);});const parentPzCmd=parentCmd[a2_0x2603d4(0x2a8)]('pz',{'hidden':!![]})['description'](a2_0x2603d4(0x193));parentPzCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x27c))['description'](a2_0x2603d4(0x162))[a2_0x2603d4(0x230)](async(_0x3a44bc,_0x550605)=>{const _0x398e71=a2_0x2603d4,_0x331338=new PSPzListCommand(),_0x3462f0=program['opts'](),_0x50b732=await createTDXInstance(_0x3462f0),_0x2bd3ed=await _0x331338[_0x398e71(0x33d)]({'options':{..._0x3462f0,..._0x550605},'args':_0x3a44bc?[_0x3a44bc]:[],'tdx':_0x50b732});gracefulExit(_0x2bd3ed);}),parentPzCmd['command'](a2_0x2603d4(0x200))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x29b))[a2_0x2603d4(0x230)](async(_0x1c4d04,_0x122ed5)=>{const _0x2282b2=a2_0x2603d4,_0x355169=new PSPzInitCommand(),_0x4ab2be=program[_0x2282b2(0x25b)](),_0x37c570=await createTDXInstance(_0x4ab2be),_0x130e80=await _0x355169[_0x2282b2(0x33d)]({'options':{..._0x4ab2be,..._0x122ed5},'args':_0x1c4d04?[_0x1c4d04]:[],'tdx':_0x37c570});gracefulExit(_0x130e80);}),parentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x28f))[a2_0x2603d4(0x1f2)]('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x2603d4(0x1df)](a2_0x2603d4(0x192),'Master\x20database\x20name')[a2_0x2603d4(0x1df)](a2_0x2603d4(0x350),a2_0x2603d4(0x36c))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2b3),a2_0x2603d4(0x23c))[a2_0x2603d4(0x270)](a2_0x2603d4(0x34b),a2_0x2603d4(0x295))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2f4),a2_0x2603d4(0x322))[a2_0x2603d4(0x270)](a2_0x2603d4(0x3c5),a2_0x2603d4(0x284))[a2_0x2603d4(0x270)](a2_0x2603d4(0x187),a2_0x2603d4(0x237))[a2_0x2603d4(0x270)]('--attributes-file\x20<file>','Attributes\x20from\x20JSON\x20file')[a2_0x2603d4(0x270)](a2_0x2603d4(0x2cb),a2_0x2603d4(0x176))[a2_0x2603d4(0x270)]('--behaviors-file\x20<file>','Behaviors\x20from\x20JSON\x20file')['option'](a2_0x2603d4(0x1ed),'Customer\x20group\x20as\x20JSON\x20string')[a2_0x2603d4(0x270)]('--customer-group-file\x20<file>','Customer\x20group\x20from\x20JSON\x20file')[a2_0x2603d4(0x230)](async(_0x27f32f,_0x44676c)=>{const _0x569613=new ParentSegmentCreateCommand(),_0xefdc60=program['opts'](),_0x29850f=await createTDXInstance(_0xefdc60),_0x4e785b=await _0x569613['run']({'options':{..._0xefdc60,..._0x44676c},'args':[_0x27f32f],'tdx':_0x29850f});gracefulExit(_0x4e785b);}),parentCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x219))[a2_0x2603d4(0x1f2)]('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x2603d4(0x270)](a2_0x2603d4(0x2b3),'Updated\x20description')[a2_0x2603d4(0x270)](a2_0x2603d4(0x34b),a2_0x2603d4(0x1aa))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2f4),'Updated\x20schedule\x20option')[a2_0x2603d4(0x270)]('--timezone\x20<tz>',a2_0x2603d4(0x210))['option']('--add-attributes\x20<json>',a2_0x2603d4(0x19f))[a2_0x2603d4(0x270)](a2_0x2603d4(0x259),a2_0x2603d4(0x2ac))[a2_0x2603d4(0x270)](a2_0x2603d4(0x316),a2_0x2603d4(0x163))[a2_0x2603d4(0x270)]('--add-behaviors-file\x20<file>','Add\x20behaviors\x20from\x20JSON\x20file')['action'](async(_0x2c5e13,_0x2b1b6b)=>{const _0x4afa4d=a2_0x2603d4,_0x295af=new ParentSegmentUpdateCommand(),_0x51c5fe=program[_0x4afa4d(0x25b)](),_0xe8e2d2=await createTDXInstance(_0x51c5fe),_0x435c67=await _0x295af[_0x4afa4d(0x33d)]({'options':{..._0x51c5fe,..._0x2b1b6b},'args':[_0x2c5e13],'tdx':_0xe8e2d2});gracefulExit(_0x435c67);}),folderCmd['command']('create\x20<parent_name>\x20<folder_name>')[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x37b))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2b3),a2_0x2603d4(0x273))[a2_0x2603d4(0x270)](a2_0x2603d4(0x1ea),a2_0x2603d4(0x1c4))[a2_0x2603d4(0x230)](async(_0x257c6d,_0x13586b,_0x63dc4)=>{const _0x1fa7c5=a2_0x2603d4,_0xe337b4=new SegmentFolderCreateCommand(),_0x497dfe=program[_0x1fa7c5(0x25b)](),_0x4800f0=await createTDXInstance(_0x497dfe),_0x4f7cb4=await _0xe337b4[_0x1fa7c5(0x33d)]({'options':{..._0x497dfe,..._0x63dc4},'args':[_0x257c6d,_0x13586b],'tdx':_0x4800f0});gracefulExit(_0x4f7cb4);}),program[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1c3))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x164))[a2_0x2603d4(0x230)](async(_0x24d85d,_0x1013df)=>{const _0x1702da=a2_0x2603d4,_0x1229ce=new ActivationsCommand(),_0xcc3994=program[_0x1702da(0x25b)](),_0x283127=await createTDXInstance(_0xcc3994),_0x406b88=await _0x1229ce['run']({'options':{..._0xcc3994,..._0x1013df},'args':[_0x24d85d],'tdx':_0x283127});gracefulExit(_0x406b88);});const workflowCmd=program[a2_0x2603d4(0x2a8)]('workflow')[a2_0x2603d4(0x21f)]('wf')[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x211)),wfProjectCmd=workflowCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x2cc))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x1d6)),wfProjectListAction=async(_0x3d7c33,_0x1106a0)=>{const _0x1979a7=a2_0x2603d4,_0x170cb5=new WorkflowProjectsCommand(),_0x3c20b6=program['opts'](),_0x377fec=await createTDXInstance(_0x3c20b6),_0x55cdf5=await _0x170cb5[_0x1979a7(0x33d)]({'options':{..._0x3c20b6,..._0x1106a0},'args':_0x3d7c33?[_0x3d7c33]:[],'tdx':_0x377fec});gracefulExit(_0x55cdf5);};wfProjectCmd[a2_0x2603d4(0x2a8)]('list\x20[pattern]')['description'](a2_0x2603d4(0x307))[a2_0x2603d4(0x230)](wfProjectListAction),workflowCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x2cd))[a2_0x2603d4(0x1f2)]('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x105089,_0x27d698)=>{const _0x3e7bb3=a2_0x2603d4,_0x40b897=new WorkflowWorkflowsCommand(),_0x1413f7=program[_0x3e7bb3(0x25b)](),_0xd2112f=await createTDXInstance(_0x1413f7),_0x4aa8d1=await _0x40b897[_0x3e7bb3(0x33d)]({'options':{..._0x1413f7,..._0x27d698},'args':_0x105089?[_0x105089]:[],'tdx':_0xd2112f});gracefulExit(_0x4aa8d1);};workflowCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x3d5))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x1d3))[a2_0x2603d4(0x230)](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command'](a2_0x2603d4(0x2a1))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x2d9)),wfSessionListAction=async(_0x5ab560,_0x2defde)=>{const _0x51e172=a2_0x2603d4,_0xe12f83=new WorkflowSessionsCommand(),_0x29630d=program[_0x51e172(0x25b)](),_0x26d52b=await createTDXInstance(_0x29630d),_0x3f25dd=await _0xe12f83[_0x51e172(0x33d)]({'options':{..._0x29630d,..._0x2defde},'args':_0x5ab560?[_0x5ab560]:[],'tdx':_0x26d52b});gracefulExit(_0x3f25dd);};wfSessionCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x305))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x14c))[a2_0x2603d4(0x270)]('--status\x20<status>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x2603d4(0x270)](a2_0x2603d4(0x1d4),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option'](a2_0x2603d4(0x2aa),a2_0x2603d4(0x33f))[a2_0x2603d4(0x230)](wfSessionListAction),workflowCmd['command'](a2_0x2603d4(0x26c))[a2_0x2603d4(0x1f2)]('List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)')[a2_0x2603d4(0x270)](a2_0x2603d4(0x2f5),a2_0x2603d4(0x38e))['option'](a2_0x2603d4(0x1d4),a2_0x2603d4(0x15f))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2aa),a2_0x2603d4(0x33f))['action'](wfSessionListAction);const wfAttemptListAction=async(_0x430922,_0x45dd71)=>{const _0x28867b=a2_0x2603d4,_0x39c4d6=new WorkflowAttemptsCommand(),_0x9ba9a0=program[_0x28867b(0x25b)](),_0x4ff58d=await createTDXInstance(_0x9ba9a0),_0x268aa9=await _0x39c4d6[_0x28867b(0x33d)]({'options':{..._0x9ba9a0,..._0x45dd71},'args':_0x430922?[_0x430922]:[],'tdx':_0x4ff58d});gracefulExit(_0x268aa9);},attemptCmd=workflowCmd['command'](a2_0x2603d4(0x212))[a2_0x2603d4(0x1f2)]('Workflow\x20attempt\x20management')[a2_0x2603d4(0x1d5)](a2_0x2603d4(0x141),a2_0x2603d4(0x358))[a2_0x2603d4(0x1d5)](a2_0x2603d4(0x3d0),'Action:\x20logs,\x20tasks,\x20kill,\x20retry')[a2_0x2603d4(0x1d5)](a2_0x2603d4(0x368),'Task\x20name\x20for\x20logs\x20action')[a2_0x2603d4(0x270)](a2_0x2603d4(0x2d5),'Include\x20subtasks\x20in\x20tasks\x20output')['option'](a2_0x2603d4(0x19d),a2_0x2603d4(0x1b1))[a2_0x2603d4(0x270)](a2_0x2603d4(0x1bc),a2_0x2603d4(0x156))[a2_0x2603d4(0x270)](a2_0x2603d4(0x1ab),a2_0x2603d4(0x261))[a2_0x2603d4(0x270)](a2_0x2603d4(0x378),a2_0x2603d4(0x354))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2c6),a2_0x2603d4(0x168))['action'](async(_0x46f112,_0x1595e6,_0x569974,_0x207cdf)=>{const _0x25c596=a2_0x2603d4;if(_0x46f112===_0x25c596(0x2f0)){await wfAttemptListAction(_0x1595e6,_0x207cdf);return;}if(!_0x46f112){attemptCmd[_0x25c596(0x2e2)]();return;}const _0x30512e=program[_0x25c596(0x25b)](),_0x447fe2=await createTDXInstance(_0x30512e);let _0x2b6493=0x0;if(!_0x1595e6){const _0x2f3a8f=new WorkflowAttemptCommand();_0x2b6493=await _0x2f3a8f[_0x25c596(0x33d)]({'options':{..._0x30512e,..._0x207cdf},'args':[_0x46f112],'tdx':_0x447fe2});}else{if(_0x1595e6==='logs'){const _0x2900d3=new WorkflowLogsCommand();_0x2b6493=await _0x2900d3[_0x25c596(0x33d)]({'options':{..._0x30512e,..._0x207cdf},'args':_0x569974?[_0x46f112,_0x569974]:[_0x46f112],'tdx':_0x447fe2});}else{if(_0x1595e6===_0x25c596(0x256)){const _0x329372=new WorkflowTasksCommand();_0x2b6493=await _0x329372[_0x25c596(0x33d)]({'options':{..._0x30512e,..._0x207cdf},'args':[_0x46f112],'tdx':_0x447fe2});}else{if(_0x1595e6===_0x25c596(0x1a6)){const _0x5c8148=new WorkflowKillCommand();_0x2b6493=await _0x5c8148['run']({'options':{..._0x30512e,..._0x207cdf},'args':[_0x46f112],'tdx':_0x447fe2});}else{if(_0x1595e6==='retry'){const _0x2e9167=new WorkflowRetryCommand();_0x2b6493=await _0x2e9167[_0x25c596(0x33d)]({'options':{..._0x30512e,..._0x207cdf},'args':[_0x25c596(0x2f1)+_0x46f112],'tdx':_0x447fe2});}else console[_0x25c596(0x3e4)](_0x25c596(0x2d4)+_0x1595e6),console[_0x25c596(0x3e4)](_0x25c596(0x1e5)),_0x2b6493=0x1;}}}}gracefulExit(_0x2b6493);});attemptCmd[a2_0x2603d4(0x2a8)]('list\x20[project]')['description']('List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)')['option'](a2_0x2603d4(0x2c6),a2_0x2603d4(0x372))[a2_0x2603d4(0x230)](wfAttemptListAction),workflowCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x320))['description'](a2_0x2603d4(0x3ee))['option'](a2_0x2603d4(0x2c6),a2_0x2603d4(0x372))[a2_0x2603d4(0x230)](wfAttemptListAction),workflowCmd['command'](a2_0x2603d4(0x17f))['description']('Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt')[a2_0x2603d4(0x270)](a2_0x2603d4(0x14a),a2_0x2603d4(0x1cd))[a2_0x2603d4(0x270)](a2_0x2603d4(0x17e),a2_0x2603d4(0x202))['option'](a2_0x2603d4(0x160),a2_0x2603d4(0x3b6))[a2_0x2603d4(0x230)](async(_0x393d14,_0x5447d6)=>{const _0xc0973=a2_0x2603d4,_0x319a64=new WorkflowTimelineCommand(),_0x2ae5d3=program[_0xc0973(0x25b)](),_0x129dcf=await createTDXInstance(_0x2ae5d3),_0x1a4c32=await _0x319a64[_0xc0973(0x33d)]({'options':{..._0x2ae5d3,..._0x5447d6},'args':_0x393d14?[_0x393d14]:[],'tdx':_0x129dcf});gracefulExit(_0x1a4c32);}),workflowCmd['command'](a2_0x2603d4(0x1e1))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x142))['option'](a2_0x2603d4(0x313),a2_0x2603d4(0x1f3))[a2_0x2603d4(0x270)]('--params\x20<json>','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x2603d4(0x230)](async(_0xb5fe09,_0x19cd54)=>{const _0x52aba0=a2_0x2603d4,_0x6a51a6=new WorkflowRetryCommand(),_0x3db271=program['opts'](),_0xc26920=await createTDXInstance(_0x3db271),_0x502a08=await _0x6a51a6[_0x52aba0(0x33d)]({'options':{..._0x3db271,..._0x19cd54},'args':[_0xb5fe09],'tdx':_0xc26920});gracefulExit(_0x502a08);}),workflowCmd[a2_0x2603d4(0x2a8)]('run\x20[workflow]')['description'](a2_0x2603d4(0x15d))[a2_0x2603d4(0x270)](a2_0x2603d4(0x1d7),a2_0x2603d4(0x367),(_0x2dd8f3,_0x139250=[])=>[..._0x139250,_0x2dd8f3],[])['option'](a2_0x2603d4(0x31f),'Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')[a2_0x2603d4(0x230)](async(_0x4bd2cf,_0x44c132)=>{const _0x3512c0=a2_0x2603d4,_0x345274=new WorkflowRunCommand(),_0x31555c=program[_0x3512c0(0x25b)](),_0x35c137=await createTDXInstance(_0x31555c),_0x12272c=await _0x345274[_0x3512c0(0x33d)]({'options':{..._0x31555c,..._0x44c132},'args':_0x4bd2cf?[_0x4bd2cf]:[],'tdx':_0x35c137});gracefulExit(_0x12272c);}),workflowCmd[a2_0x2603d4(0x2a8)]('download\x20<project-name>\x20[output-dir]')['description']('Download\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x2603d4(0x270)](a2_0x2603d4(0x1fe),a2_0x2603d4(0x15a))[a2_0x2603d4(0x230)](async(_0x2166cf,_0x53ffce,_0x201db9)=>{const _0x3647bb=a2_0x2603d4,_0x1ecd23=new WorkflowDownloadCommand(),_0x6b2445=program[_0x3647bb(0x25b)](),_0x51c78d=await createTDXInstance(_0x6b2445),_0x1a1751=await _0x1ecd23[_0x3647bb(0x33d)]({'options':{..._0x6b2445,..._0x201db9},'args':[_0x2166cf,_0x53ffce||'.'],'tdx':_0x51c78d});gracefulExit(_0x1a1751);}),workflowCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x341))[a2_0x2603d4(0x1f2)]('Pull\x20workflow\x20project\x20to\x20local\x20folder')[a2_0x2603d4(0x270)]('--revision\x20<revision>',a2_0x2603d4(0x22b))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2d7),'Preview\x20changes\x20without\x20writing\x20files')['action'](async(_0x312d4b,_0x45da18,_0x2f551a)=>{const _0x1dd981=a2_0x2603d4,_0x53b3d5=new WorkflowPullCommand(),_0x2ddec6=program[_0x1dd981(0x25b)](),_0x5f49c0=await createTDXInstance(_0x2ddec6),_0x56a68d=await _0x53b3d5[_0x1dd981(0x33d)]({'options':{..._0x2ddec6,..._0x2f551a},'args':_0x45da18?[_0x312d4b,_0x45da18]:[_0x312d4b],'tdx':_0x5f49c0});gracefulExit(_0x56a68d);}),workflowCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x220))['description'](a2_0x2603d4(0x258))[a2_0x2603d4(0x270)](a2_0x2603d4(0x1fe),a2_0x2603d4(0x16a))[a2_0x2603d4(0x270)]('--dry-run',a2_0x2603d4(0x1b0))[a2_0x2603d4(0x270)](a2_0x2603d4(0x1c6),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x2603d4(0x230)](async(_0x5b4b7b,_0x563625)=>{const _0x2c3cb8=a2_0x2603d4,_0x299e8c=new WorkflowPushCommand(),_0x3110da=program[_0x2c3cb8(0x25b)](),_0x39ce3b=await createTDXInstance(_0x3110da),_0x261ce4=await _0x299e8c[_0x2c3cb8(0x33d)]({'options':{..._0x3110da,..._0x563625},'args':_0x5b4b7b?[_0x5b4b7b]:[],'tdx':_0x39ce3b});gracefulExit(_0x261ce4);}),workflowCmd['command'](a2_0x2603d4(0x214))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x39a))[a2_0x2603d4(0x270)]('--name\x20<name>','Override\x20project\x20name')[a2_0x2603d4(0x270)](a2_0x2603d4(0x1fe),'Revision\x20name\x20(default:\x20timestamp)')[a2_0x2603d4(0x270)](a2_0x2603d4(0x1c6),a2_0x2603d4(0x28b))['action'](async(_0x3a2033,_0x3a6c6c)=>{const _0x1465ce=a2_0x2603d4,_0x46851d=new WorkflowUploadCommand(),_0xfd0233=program[_0x1465ce(0x25b)](),_0x15b363=await createTDXInstance(_0xfd0233),_0x156458=await _0x46851d[_0x1465ce(0x33d)]({'options':{..._0xfd0233,..._0x3a6c6c},'args':_0x3a2033?[_0x3a2033]:[],'tdx':_0x15b363});gracefulExit(_0x156458);}),workflowCmd[a2_0x2603d4(0x2a8)]('clone\x20[source-dir]')[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x215))[a2_0x2603d4(0x270)](a2_0x2603d4(0x296),a2_0x2603d4(0x3af))[a2_0x2603d4(0x270)](a2_0x2603d4(0x1fe),a2_0x2603d4(0x16a))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2d7),a2_0x2603d4(0x298))[a2_0x2603d4(0x270)]('--skip-validation',a2_0x2603d4(0x28b))[a2_0x2603d4(0x230)](async(_0x49e05c,_0x3d44db)=>{const _0x52936e=new WorkflowCloneCommand(),_0x3a1937=program['opts'](),_0x395a07=await createTDXInstance(_0x3a1937),_0x18a5c5=await _0x52936e['run']({'options':{..._0x3a1937,..._0x3d44db},'args':_0x49e05c?[_0x49e05c]:[],'tdx':_0x395a07});gracefulExit(_0x18a5c5);}),workflowCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x2db))['description'](a2_0x2603d4(0x360))[a2_0x2603d4(0x230)](async(_0x99331b,_0x1cbda2)=>{const _0x452982=a2_0x2603d4,_0x4d0b3b=new WorkflowDeleteCommand(),_0x1cce6e=program[_0x452982(0x25b)](),_0x48b718=await createTDXInstance(_0x1cce6e),_0x2a3208=await _0x4d0b3b[_0x452982(0x33d)]({'options':{..._0x1cce6e,..._0x1cbda2},'args':[_0x99331b],'tdx':_0x48b718});gracefulExit(_0x2a3208);}),workflowCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x19e))[a2_0x2603d4(0x1f2)]('Set\x20default\x20workflow\x20project\x20for\x20this\x20session')[a2_0x2603d4(0x270)](a2_0x2603d4(0x267),a2_0x2603d4(0x13c))[a2_0x2603d4(0x230)](async(_0xb5f5a8,_0x14c104)=>{const _0x442bc0=a2_0x2603d4,_0x32efe7=new WorkflowUseCommand(),_0x16acc0=program[_0x442bc0(0x25b)](),_0x3cc711=await createTDXInstance(_0x16acc0),_0x282024=await _0x32efe7[_0x442bc0(0x33d)]({'options':{..._0x16acc0,..._0x14c104},'args':_0xb5f5a8?[_0xb5f5a8]:[],'tdx':_0x3cc711});gracefulExit(_0x282024);});const wfSecretsCmd=workflowCmd[a2_0x2603d4(0x2a8)]('secrets')['description'](a2_0x2603d4(0x338));wfSecretsCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x305))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x342))[a2_0x2603d4(0x230)](async(_0x84bec8,_0x22c791)=>{const _0x487f2d=a2_0x2603d4,_0x5f0bfc=new WorkflowSecretsListCommand(),_0x29259e=program[_0x487f2d(0x25b)](),_0x4a2c3c=await createTDXInstance(_0x29259e),_0x17120f=await _0x5f0bfc[_0x487f2d(0x33d)]({'options':{..._0x29259e,..._0x22c791},'args':_0x84bec8?[_0x84bec8]:[],'tdx':_0x4a2c3c});gracefulExit(_0x17120f);}),wfSecretsCmd[a2_0x2603d4(0x2a8)]('set\x20<args...>')[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x3ad))[a2_0x2603d4(0x230)](async(_0x5c9b4e,_0xb84d3)=>{const _0x519bb7=a2_0x2603d4,_0x39c7a1=new WorkflowSecretsSetCommand(),_0x446fb1=program[_0x519bb7(0x25b)](),_0x655a5b=await createTDXInstance(_0x446fb1),_0x50a251=await _0x39c7a1['run']({'options':{..._0x446fb1,..._0xb84d3},'args':_0x5c9b4e,'tdx':_0x655a5b});gracefulExit(_0x50a251);}),wfSecretsCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x159))[a2_0x2603d4(0x1f2)]('Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)')['action'](async(_0x56dfe7,_0x394971)=>{const _0x32018b=a2_0x2603d4,_0x5113c2=new WorkflowSecretsDeleteCommand(),_0x137338=program['opts'](),_0x510b9c=await createTDXInstance(_0x137338),_0x2bfa93=await _0x5113c2[_0x32018b(0x33d)]({'options':{..._0x137338,..._0x394971},'args':_0x56dfe7,'tdx':_0x510b9c});gracefulExit(_0x2bfa93);});const jobCmd=program[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x235))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x275)),jobListAction=async _0x5eb79a=>{const _0x1e9bf6=new JobListCommand(),_0x20b5e3=program['opts'](),_0x5c936e=await createTDXInstance(_0x20b5e3),_0x1efa3c=await _0x1e9bf6['run']({'options':{..._0x20b5e3,..._0x5eb79a},'args':[],'tdx':_0x5c936e});gracefulExit(_0x1efa3c);};jobCmd[a2_0x2603d4(0x2a8)]('list')[a2_0x2603d4(0x1f2)]('List\x20jobs')[a2_0x2603d4(0x270)](a2_0x2603d4(0x2f5),a2_0x2603d4(0x20d))[a2_0x2603d4(0x230)](jobListAction),program['command'](a2_0x2603d4(0x1fc),{'hidden':!![]})[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x23b))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2f5),a2_0x2603d4(0x20d))[a2_0x2603d4(0x230)](jobListAction),jobCmd['command'](a2_0x2603d4(0x287))['description'](a2_0x2603d4(0x173))[a2_0x2603d4(0x230)](async(_0x243575,_0x169669)=>{const _0x4bb074=a2_0x2603d4,_0x382cb2=new JobShowCommand(),_0x4b81c9=program[_0x4bb074(0x25b)](),_0x305925=await createTDXInstance(_0x4b81c9),_0x47a776=await _0x382cb2[_0x4bb074(0x33d)]({'options':{..._0x4b81c9,..._0x169669},'args':[_0x243575],'tdx':_0x305925});gracefulExit(_0x47a776);}),jobCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x281))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x29a))[a2_0x2603d4(0x230)](async(_0x5ceea3,_0x56c9a5)=>{const _0x1c9320=a2_0x2603d4,_0x22d8c6=new JobKillCommand(),_0x12c68d=program[_0x1c9320(0x25b)](),_0x499d35=await createTDXInstance(_0x12c68d),_0x5b486c=await _0x22d8c6[_0x1c9320(0x33d)]({'options':{..._0x12c68d,..._0x56c9a5},'args':[_0x5ceea3],'tdx':_0x499d35});gracefulExit(_0x5b486c);}),jobCmd['command'](a2_0x2603d4(0x276))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x2ba))[a2_0x2603d4(0x270)](a2_0x2603d4(0x291),a2_0x2603d4(0x1da),'trino')[a2_0x2603d4(0x270)](a2_0x2603d4(0x2a0),a2_0x2603d4(0x2ab))[a2_0x2603d4(0x270)]('--database\x20<name>',a2_0x2603d4(0x28c),a2_0x2603d4(0x180))[a2_0x2603d4(0x270)]('--result\x20<target>',a2_0x2603d4(0x139))[a2_0x2603d4(0x230)](async(_0x371164,_0x4c4cb7)=>{const _0x27c41c=a2_0x2603d4,_0x33a70e=new JobSubmitCommand(),_0x3e49ce=program[_0x27c41c(0x25b)](),_0x4c1dee=await createTDXInstance(_0x3e49ce),_0x5cf5e6=await _0x33a70e[_0x27c41c(0x33d)]({'options':{..._0x3e49ce,..._0x4c4cb7},'args':_0x371164?[_0x371164]:[],'tdx':_0x4c1dee});gracefulExit(_0x5cf5e6);}),jobCmd['command'](a2_0x2603d4(0x327))['description'](a2_0x2603d4(0x195))[a2_0x2603d4(0x230)](async(_0x520de9,_0x8cba34)=>{const _0x11bfb1=a2_0x2603d4,_0x15386a=new JobResultCommand(),_0x153021=program[_0x11bfb1(0x25b)](),_0x27174d=await createTDXInstance(_0x153021),_0x3d83ba=await _0x15386a[_0x11bfb1(0x33d)]({'options':{..._0x153021,..._0x8cba34},'args':[_0x520de9],'tdx':_0x27174d});gracefulExit(_0x3d83ba);});const scheduleCmd=jobCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x382))[a2_0x2603d4(0x1f2)]('Scheduled\x20query\x20management\x20commands');scheduleCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1e3))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x1b2))[a2_0x2603d4(0x230)](async(_0x557a36,_0x17ed16)=>{const _0x51611e=a2_0x2603d4,_0x24b24c=new ScheduleListCommand(),_0x4ba4f7=program['opts'](),_0x11bcfc=await createTDXInstance(_0x4ba4f7),_0x3385cf=await _0x24b24c[_0x51611e(0x33d)]({'options':{..._0x4ba4f7,..._0x17ed16},'args':_0x557a36?[_0x557a36]:[],'tdx':_0x11bcfc});gracefulExit(_0x3385cf);}),scheduleCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1b9))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x1e9))[a2_0x2603d4(0x230)](async(_0x367842,_0x587da8)=>{const _0x482c2a=a2_0x2603d4,_0x3d2bc8=new ScheduleShowCommand(),_0x13cd10=program[_0x482c2a(0x25b)](),_0x21eead=await createTDXInstance(_0x13cd10),_0x5898ad=await _0x3d2bc8[_0x482c2a(0x33d)]({'options':{..._0x13cd10,..._0x587da8},'args':[_0x367842],'tdx':_0x21eead});gracefulExit(_0x5898ad);}),scheduleCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x28f))[a2_0x2603d4(0x1f2)]('Create\x20a\x20scheduled\x20query')[a2_0x2603d4(0x270)](a2_0x2603d4(0x283),a2_0x2603d4(0x2e6))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2cf),a2_0x2603d4(0x17b))[a2_0x2603d4(0x1df)](a2_0x2603d4(0x2a0),a2_0x2603d4(0x2ab))[a2_0x2603d4(0x270)](a2_0x2603d4(0x3b9),a2_0x2603d4(0x2f2),a2_0x2603d4(0x177))[a2_0x2603d4(0x270)](a2_0x2603d4(0x17a),a2_0x2603d4(0x14f))['option'](a2_0x2603d4(0x3c5),a2_0x2603d4(0x204))[a2_0x2603d4(0x270)](a2_0x2603d4(0x3b7),a2_0x2603d4(0x2fa))[a2_0x2603d4(0x270)](a2_0x2603d4(0x3ae),a2_0x2603d4(0x2e1))['option'](a2_0x2603d4(0x228),a2_0x2603d4(0x376))[a2_0x2603d4(0x270)](a2_0x2603d4(0x236),a2_0x2603d4(0x13a))[a2_0x2603d4(0x270)](a2_0x2603d4(0x27e),a2_0x2603d4(0x32e))[a2_0x2603d4(0x230)](async(_0x48d65e,_0x1c54e8)=>{const _0x529788=a2_0x2603d4,_0x24017e=new ScheduleCreateCommand(),_0x1584ff=program[_0x529788(0x25b)](),_0x363fe2=await createTDXInstance(_0x1584ff);_0x1c54e8['in']&&(_0x1c54e8[_0x529788(0x246)]=_0x1c54e8['in']);const _0x1ac196=await _0x24017e['run']({'options':{..._0x1584ff,..._0x1c54e8},'args':[_0x48d65e],'tdx':_0x363fe2});gracefulExit(_0x1ac196);}),scheduleCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x219))[a2_0x2603d4(0x1f2)]('Update\x20a\x20scheduled\x20query')['option'](a2_0x2603d4(0x283),a2_0x2603d4(0x250))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2cf),a2_0x2603d4(0x17b))['option'](a2_0x2603d4(0x2a0),a2_0x2603d4(0x2ab))['option'](a2_0x2603d4(0x3b9),a2_0x2603d4(0x2f2))['option']('--cron\x20<expression>',a2_0x2603d4(0x14f))[a2_0x2603d4(0x270)]('--timezone\x20<tz>',a2_0x2603d4(0x3f2))[a2_0x2603d4(0x270)](a2_0x2603d4(0x3b7),a2_0x2603d4(0x2fa))[a2_0x2603d4(0x270)](a2_0x2603d4(0x3ae),a2_0x2603d4(0x2e1))[a2_0x2603d4(0x270)](a2_0x2603d4(0x228),a2_0x2603d4(0x376))[a2_0x2603d4(0x270)](a2_0x2603d4(0x236),a2_0x2603d4(0x13a))[a2_0x2603d4(0x270)](a2_0x2603d4(0x27e),'Result\x20output\x20destination\x20URL')['action'](async(_0x59cb4e,_0x543f3b)=>{const _0x4e1a62=a2_0x2603d4,_0x291dd2=new ScheduleUpdateCommand(),_0x52194a=program[_0x4e1a62(0x25b)](),_0x1b2b87=await createTDXInstance(_0x52194a);_0x543f3b['in']&&(_0x543f3b[_0x4e1a62(0x246)]=_0x543f3b['in']);const _0x542d89=await _0x291dd2[_0x4e1a62(0x33d)]({'options':{..._0x52194a,..._0x543f3b},'args':[_0x59cb4e],'tdx':_0x1b2b87});gracefulExit(_0x542d89);}),scheduleCmd['command'](a2_0x2603d4(0x33a))[a2_0x2603d4(0x1f2)]('Delete\x20a\x20scheduled\x20query')[a2_0x2603d4(0x230)](async(_0x5b0a75,_0x35f009)=>{const _0x10b14e=a2_0x2603d4,_0x59ad5f=new ScheduleDeleteCommand(),_0x33b5d2=program[_0x10b14e(0x25b)](),_0x3ecbfa=await createTDXInstance(_0x33b5d2),_0x3aed4e=await _0x59ad5f[_0x10b14e(0x33d)]({'options':{..._0x33b5d2,..._0x35f009},'args':[_0x5b0a75],'tdx':_0x3ecbfa});gracefulExit(_0x3aed4e);}),scheduleCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x21d))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x22d))[a2_0x2603d4(0x270)](a2_0x2603d4(0x28a),a2_0x2603d4(0x172))['option'](a2_0x2603d4(0x297),a2_0x2603d4(0x39d))[a2_0x2603d4(0x230)](async(_0x3fac74,_0xadab06)=>{const _0x2978c3=a2_0x2603d4,_0x5125ff=new ScheduleRunCommand(),_0x6eafa3=program[_0x2978c3(0x25b)](),_0x2066c2=await createTDXInstance(_0x6eafa3),_0xc0c13c=await _0x5125ff[_0x2978c3(0x33d)]({'options':{..._0x6eafa3,..._0xadab06},'args':[_0x3fac74],'tdx':_0x2066c2});gracefulExit(_0xc0c13c);}),scheduleCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x221))[a2_0x2603d4(0x1f2)]('Show\x20schedule\x20execution\x20history')[a2_0x2603d4(0x270)](a2_0x2603d4(0x1bb),a2_0x2603d4(0x1d9))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2a3),a2_0x2603d4(0x1eb))[a2_0x2603d4(0x230)](async(_0x5686bf,_0x504fed)=>{const _0x5d9ad5=a2_0x2603d4,_0x66fe2d=new ScheduleHistoryCommand(),_0x26ab7a=program[_0x5d9ad5(0x25b)](),_0xaf0d25=await createTDXInstance(_0x26ab7a),_0x172530=await _0x66fe2d[_0x5d9ad5(0x33d)]({'options':{..._0x26ab7a,..._0x504fed},'args':[_0x5686bf],'tdx':_0xaf0d25});gracefulExit(_0x172530);});const llmCmd=program[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x2e5))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x311));llmCmd[a2_0x2603d4(0x2a8)]('use\x20<project-name>')[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x24e))[a2_0x2603d4(0x230)](async(_0x51daee,_0x5e00d6)=>{const _0x22b4c2=a2_0x2603d4,_0x4ad963=new LLMUseCommand(),_0x1b56cf=program[_0x22b4c2(0x25b)](),_0x2ed909=await createTDXInstance(_0x1b56cf),_0x244900=await _0x4ad963[_0x22b4c2(0x33d)]({'options':{..._0x1b56cf,..._0x5e00d6},'args':[_0x51daee],'tdx':_0x2ed909});gracefulExit(_0x244900);}),llmCmd['command'](a2_0x2603d4(0x2b9))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x395))[a2_0x2603d4(0x230)](async _0x168daf=>{const _0x5c27ae=a2_0x2603d4,_0x21d9ec=new LLMModelsCommand(),_0x19964b=program[_0x5c27ae(0x25b)](),_0x49b29d=await createTDXInstance(_0x19964b),_0x42c82a=await _0x21d9ec[_0x5c27ae(0x33d)]({'options':{..._0x19964b,..._0x168daf},'args':[],'tdx':_0x49b29d});gracefulExit(_0x42c82a);});const projectCmd=llmCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x2cc))['description'](a2_0x2603d4(0x1e0)),llmProjectListAction=async(_0x8cd504,_0x395553)=>{const _0x51ae9e=new LLMProjectsCommand(),_0x3402ac=program['opts'](),_0x9caff2=await createTDXInstance(_0x3402ac),_0x40aaee=await _0x51ae9e['run']({'options':{..._0x3402ac,..._0x395553},'args':_0x8cd504?[_0x8cd504]:[],'tdx':_0x9caff2});gracefulExit(_0x40aaee);};projectCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1e3))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x1a2))[a2_0x2603d4(0x230)](llmProjectListAction),llmCmd['command'](a2_0x2603d4(0x2cd))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x26b))[a2_0x2603d4(0x230)](llmProjectListAction),projectCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x28f))['description']('Create\x20a\x20new\x20LLM\x20project')[a2_0x2603d4(0x270)]('--description\x20<text>',a2_0x2603d4(0x3d9))['action'](async(_0x5e3d39,_0x18e5ce)=>{const _0x1aea6d=a2_0x2603d4,_0x49d4fa=new LLMProjectCreateCommand(),_0x2608e1=program[_0x1aea6d(0x25b)](),_0x3083aa=await createTDXInstance(_0x2608e1),_0x2e20a1=await _0x49d4fa['run']({'options':{..._0x2608e1,..._0x18e5ce},'args':[_0x5e3d39],'tdx':_0x3083aa});gracefulExit(_0x2e20a1);}),projectCmd['command'](a2_0x2603d4(0x33a))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x268))[a2_0x2603d4(0x230)](async(_0x943723,_0x2cc0fc)=>{const _0xfeec8=a2_0x2603d4,_0x140e1a=new LLMProjectDeleteCommand(),_0x1ef124=program[_0xfeec8(0x25b)](),_0x361f9b=await createTDXInstance(_0x1ef124),_0x23da27=await _0x140e1a[_0xfeec8(0x33d)]({'options':{..._0x1ef124,..._0x2cc0fc},'args':[_0x943723],'tdx':_0x361f9b});gracefulExit(_0x23da27);}),projectCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x35e))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x1ec))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2e9),'Output\x20folder\x20(default:\x20{project_name}.llm)')[a2_0x2603d4(0x270)](a2_0x2603d4(0x2d7),a2_0x2603d4(0x1e8))[a2_0x2603d4(0x230)](async(_0x4833ed,_0x54aca1)=>{const _0x1e9c24=a2_0x2603d4,_0x100af0=new LLMProjectBackupCommand(),_0x3dfab1=program['opts'](),_0x29ed37=await createTDXInstance(_0x3dfab1),_0x1a2c22=await _0x100af0[_0x1e9c24(0x33d)]({'options':{..._0x3dfab1,..._0x54aca1},'args':[_0x4833ed],'tdx':_0x29ed37});gracefulExit(_0x1a2c22);}),projectCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x225))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x2e4))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2ea),a2_0x2603d4(0x1bd))[a2_0x2603d4(0x270)]('--dry-run','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')[a2_0x2603d4(0x230)](async(_0x2e5a73,_0x5c55fa)=>{const _0x3ac32a=a2_0x2603d4,_0x1eefcd=new LLMProjectRestoreCommand(),_0x5b9d58=program[_0x3ac32a(0x25b)](),_0x4e230e=await createTDXInstance(_0x5b9d58),_0x2ec81d=await _0x1eefcd[_0x3ac32a(0x33d)]({'options':{..._0x5b9d58,..._0x5c55fa},'args':[_0x2e5a73],'tdx':_0x4e230e});gracefulExit(_0x2ec81d);});const llmAgentListAction=async(_0x3a086c,_0x492834)=>{const _0x5b4f59=a2_0x2603d4,_0x316e49=new LLMAgentsCommand(),_0x5aeb96=program[_0x5b4f59(0x25b)](),_0x6621d8=await createTDXInstance(_0x5aeb96),_0x53b342=await _0x316e49['run']({'options':{..._0x5aeb96,..._0x492834},'args':_0x3a086c?[_0x3a086c]:[],'tdx':_0x6621d8});gracefulExit(_0x53b342);};llmCmd[a2_0x2603d4(0x2a8)]('agents\x20[pattern]')[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x20a))[a2_0x2603d4(0x230)](llmAgentListAction),program[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1c9))['description'](a2_0x2603d4(0x20a))['action'](llmAgentListAction),llmCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x143))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x2da))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2df),a2_0x2603d4(0x178))[a2_0x2603d4(0x230)](async(_0x3195cc,_0x58852c)=>{const _0x5ad92e=a2_0x2603d4,_0x222424=new LLMHistoryCommand(),_0x2572c6=program[_0x5ad92e(0x25b)](),_0x33b55d=await createTDXInstance(_0x2572c6),_0x1b9592=await _0x222424[_0x5ad92e(0x33d)]({'options':{..._0x2572c6,..._0x58852c},'args':_0x3195cc?[_0x3195cc]:[],'tdx':_0x33b55d});gracefulExit(_0x1b9592);});isExperimentalAvailable()&&llmCmd[a2_0x2603d4(0x2a8)]('log\x20<chat-id>')[a2_0x2603d4(0x1f2)]('[EXPERIMENTAL]\x20Show\x20chat\x20log')[a2_0x2603d4(0x230)](async(_0x19753d,_0x18689e)=>{const _0xd6925c=a2_0x2603d4,_0x2fa0be=new LLMLogCommand(),_0x5d816c=program[_0xd6925c(0x25b)](),_0x1a4791=await createTDXInstance(_0x5d816c),_0x3ad163=await _0x2fa0be[_0xd6925c(0x33d)]({'options':{..._0x5d816c,..._0x18689e},'args':[_0x19753d],'tdx':_0x1a4791});gracefulExit(_0x3ad163);});program['command'](a2_0x2603d4(0x189))['usage'](a2_0x2603d4(0x1e7))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x244))[a2_0x2603d4(0x270)](a2_0x2603d4(0x3f0),'Continue\x20most\x20recent\x20conversation')['option'](a2_0x2603d4(0x288),'Resume\x20a\x20conversation\x20(shows\x20selector)')[a2_0x2603d4(0x270)](a2_0x2603d4(0x323),a2_0x2603d4(0x191))[a2_0x2603d4(0x37d)]()[a2_0x2603d4(0x147)](!![])[a2_0x2603d4(0x2c3)]('after',a2_0x2603d4(0x29d))[a2_0x2603d4(0x230)](async(_0x546b54,_0x5d8307)=>{const _0x1509ab=a2_0x2603d4,_0x27566a=program[_0x1509ab(0x25b)](),_0x9191a5=Array[_0x1509ab(0x343)](_0x546b54)?_0x546b54:[];if(_0x9191a5[0x0]===_0x1509ab(0x21c)){const _0x3df799=new ClaudeStatuslineCommand(),_0x3fb5ad=await _0x3df799[_0x1509ab(0x33d)]({'options':{..._0x27566a,..._0x5d8307},'args':_0x9191a5[_0x1509ab(0x390)](0x1),'tdx':null});gracefulExit(_0x3fb5ad);}if(_0x9191a5[0x0]===_0x1509ab(0x209)){const _0x380a65=new ClaudeUsageCommand(),_0x466d1a=await _0x380a65[_0x1509ab(0x33d)]({'options':{..._0x27566a,..._0x5d8307},'args':_0x9191a5[_0x1509ab(0x390)](0x1),'tdx':null});gracefulExit(_0x466d1a);}const _0x28a931=new ClaudeCommand(),_0x5df22a=await createTDXInstance(_0x27566a),_0xd9a062=await _0x28a931['run']({'options':{..._0x27566a,..._0x5d8307},'args':_0x9191a5,'tdx':_0x5df22a});gracefulExit(_0xd9a062);}),program[a2_0x2603d4(0x2a8)]('use\x20[resource]\x20[value]')['description']('Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)')['option']('--clear',a2_0x2603d4(0x3bd))['option']('--default','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')['action'](async(_0x2a0919,_0x205983,_0x1160cc)=>{const _0x4e3aec=a2_0x2603d4,_0x249f76=new UseCommand(),_0x1ca631=program['opts'](),_0x5d67ec=[];if(_0x2a0919)_0x5d67ec[_0x4e3aec(0x18b)](_0x2a0919);if(_0x205983)_0x5d67ec[_0x4e3aec(0x18b)](_0x205983);const _0x315a0a=_0x2a0919===_0x4e3aec(0x16e),_0x58763f=_0x315a0a?await createTDXInstance(_0x1ca631):null,_0x1c2b91=await _0x249f76['run']({'options':{..._0x1ca631,..._0x1160cc},'args':_0x5d67ec,'tdx':_0x58763f});gracefulExit(_0x1c2b91);}),program[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x30b))['description'](a2_0x2603d4(0x25f))[a2_0x2603d4(0x230)](async _0x200609=>{const _0x5519e8=a2_0x2603d4,_0x3bd21b=new StatusCommand(),_0x2fb05e=program[_0x5519e8(0x25b)](),_0x2a2916=await createTDXInstance(_0x2fb05e),_0x5088a3=await _0x3bd21b['run']({'options':{..._0x2fb05e,..._0x200609},'args':[],'tdx':_0x2a2916});gracefulExit(_0x5088a3);}),program[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x35c))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x1cf))['option'](a2_0x2603d4(0x2d7),a2_0x2603d4(0x337))[a2_0x2603d4(0x270)](a2_0x2603d4(0x282),a2_0x2603d4(0x1c2))[a2_0x2603d4(0x270)](a2_0x2603d4(0x3d2),a2_0x2603d4(0x39e))[a2_0x2603d4(0x230)](async(_0x46cecb,_0x4d07bc)=>{const _0x178202=a2_0x2603d4,_0x309b7f=new UpgradeCommand(),_0x53cea0=program['opts'](),_0x40c643=await _0x309b7f[_0x178202(0x33d)]({'options':{..._0x53cea0,..._0x4d07bc},'args':_0x46cecb?[_0x46cecb]:[],'tdx':null});gracefulExit(_0x40c643);}),program[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x29e))[a2_0x2603d4(0x1f2)]('Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)')[a2_0x2603d4(0x270)]('--default',a2_0x2603d4(0x149))[a2_0x2603d4(0x230)](async(_0x190fc7,_0x210d65)=>{const _0x3119ae=a2_0x2603d4,_0x332ed1=new UnsetCommand(),_0x463b73=program[_0x3119ae(0x25b)](),_0x14cc0f=await _0x332ed1[_0x3119ae(0x33d)]({'options':{..._0x463b73,..._0x210d65},'args':[_0x190fc7],'tdx':null});gracefulExit(_0x14cc0f);}),program[a2_0x2603d4(0x2a8)]('chats')['description'](a2_0x2603d4(0x174))[a2_0x2603d4(0x270)]('--last','Show\x20the\x20most\x20recent\x20chat')['action'](async _0x12ebe6=>{const _0x4953b3=a2_0x2603d4,_0x321cb2=new ChatsCommand(),_0x1c46df=program['opts'](),_0x599e75=await createTDXInstance(_0x1c46df),_0x2a978f=await _0x321cb2[_0x4953b3(0x33d)]({'options':{..._0x1c46df,..._0x12ebe6},'args':[],'tdx':_0x599e75});gracefulExit(_0x2a978f);});const authCmd=program[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x241))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x2e7));async function runAuthStatusCommand(_0x4da4e5){const _0x284239=a2_0x2603d4,_0x349ea0=new AuthStatusCommand(),_0x30f309=program[_0x284239(0x25b)](),_0x4a66cd=await createTDXInstance(_0x30f309),_0x57017c=await _0x349ea0['run']({'options':{..._0x30f309,..._0x4da4e5},'args':[],'tdx':_0x4a66cd});gracefulExit(_0x57017c);}authCmd[a2_0x2603d4(0x230)](runAuthStatusCommand),authCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x30b))['description']('Show\x20authentication\x20status\x20and\x20validate\x20API\x20key')[a2_0x2603d4(0x230)](runAuthStatusCommand),authCmd[a2_0x2603d4(0x2a8)]('setup')[a2_0x2603d4(0x1f2)]('Setup\x20API\x20key\x20authentication\x20interactively')[a2_0x2603d4(0x2c3)](a2_0x2603d4(0x271),a2_0x2603d4(0x18e))[a2_0x2603d4(0x230)](async _0x179773=>{const _0x321cdd=a2_0x2603d4,_0x9c3df6=new AuthSetupCommand(),_0x11dcce=program[_0x321cdd(0x25b)](),_0x49d33=await createTDXInstance(_0x11dcce),_0x3792fd=await _0x9c3df6[_0x321cdd(0x33d)]({'options':{..._0x11dcce,..._0x179773},'args':[],'tdx':_0x49d33});gracefulExit(_0x3792fd);}),authCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x301))['description'](a2_0x2603d4(0x2ee))[a2_0x2603d4(0x2c3)](a2_0x2603d4(0x271),a2_0x2603d4(0x2b1))[a2_0x2603d4(0x230)](async _0x23b7ea=>{const _0x374be9=a2_0x2603d4,_0x3d3d1b=new AuthLoginCommand(),_0x17f4ef=program[_0x374be9(0x25b)](),_0xa262f6=await _0x3d3d1b['run']({'options':{..._0x17f4ef,..._0x23b7ea},'args':[],'tdx':null});gracefulExit(_0xa262f6);}),authCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x38d))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x1f5))[a2_0x2603d4(0x2c3)](a2_0x2603d4(0x271),'\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 _0x2f7720=>{const _0x27e034=a2_0x2603d4,_0x5b5516=new AuthClearCommand(),_0x3ef912=program[_0x27e034(0x25b)](),_0x527fd4=await _0x5b5516[_0x27e034(0x33d)]({'options':{..._0x3ef912,..._0x2f7720},'args':[],'tdx':null});gracefulExit(_0x527fd4);});const userCmd=program[a2_0x2603d4(0x2a8)]('user')[a2_0x2603d4(0x1f2)]('User\x20management\x20commands'),userListAction=async _0x4bc2b4=>{const _0x2be64a=a2_0x2603d4,_0x143647=new UserListCommand(),_0x1fa8ef=program['opts'](),_0x51d6d3=await createTDXInstance(_0x1fa8ef),_0x2ac223=await _0x143647[_0x2be64a(0x33d)]({'options':{..._0x1fa8ef,..._0x4bc2b4},'args':[],'tdx':_0x51d6d3});gracefulExit(_0x2ac223);};function a2_0x1630(){const _0xa89664=['Timezone\x20(e.g.,\x20America/Los_Angeles)','colorFn','Update\x20an\x20always-on\x20campaign','show\x20<job-id>','-r,\x20--resume','CDP\x20segment\x20management\x20commands','--time\x20<iso8601>','Skip\x20validation\x20of\x20.dig\x20files','Database\x20name\x20(default:\x20information_schema)','Workspace\x20description','fields\x20[name]','create\x20<name>','parents\x20[pattern]','--job-type\x20<type>','List\x20journeys\x20(alias\x20for\x20journey\x20list)','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','--subject\x20<subject>','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--name\x20<name>','--num\x20<1-10>','Preview\x20without\x20creating\x20the\x20project','--limit\x20<rows>','Kill\x20a\x20job','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','\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','unset\x20<resource>','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','-f,\x20--file\x20<path>','session','name','--to\x20<n>','Show\x20segment\x20details\x20(alias\x20for\x20view)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','-C,\x20--directory\x20<path>','Show\x20journey\x20table\x20column-to-step\x20mapping','command','pull\x20[name]','--to\x20<timestamp>','Read\x20query\x20from\x20file','Add\x20attributes\x20from\x20JSON\x20file','Commands:','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','Email\x20sender\x20ID\x20for\x20delivery','Parse\x20and\x20validate\x20without\x20executing','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20OAuth\x20tokens\x20to\x20profile-specific\x20keychain)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20OAuth\x20login\x20for\x20default\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--site\x20ap01\x20\x20\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20for\x20Japan\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--profile\x20dev\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20saved\x20to\x20\x27dev\x27\x20profile\x0a','pull\x20[workspace-name]','--description\x20<text>','Set\x20or\x20show\x20parent\x20segment\x20context','Output\x20as\x20JSON\x20Lines','Delete\x20an\x20email\x20template','1749519kbkhEf',',\x20version\x20','models','Submit\x20a\x20job','--workspace\x20<name>','Include\x20raw\x20history\x20data\x20in\x20output','exit','\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=ap01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a','Maximum\x20recursion\x20depth\x20(default:\x2010)','join','show\x20<folder_ref>','Include\x20execution\x20statistics','addHelpText','CDP\x20Journey\x20Orchestration\x20commands','Updated\x20description','--include-retried','create\x20<segment_name>','workspaces\x20[pattern]','Email\x20template\x20management','folders\x20<parent_name>','--behaviors\x20<json>','project','projects\x20[pattern]','--path\x20<file-path>','--in\x20<db>','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','--debug','Pull\x20specific\x20template\x20by\x20name','create','Unknown\x20action:\x20','--include-subtasks','-o,\x20--output\x20<file>','--dry-run','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','Workflow\x20session\x20management','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','delete\x20<project-name-or-id>','--description\x20<desc>','Journey\x20version\x20management','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','--last','log','Job\x20priority\x20(-2\x20to\x202)','help','us01','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','llm','Database\x20name\x20(required)','Authentication\x20management','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','-o,\x20--output\x20<folder>','--name\x20<new-name>','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','--llm-project\x20<name>','Workspace\x20name','Login\x20via\x20OAuth\x20(dev\x20sites\x20only)','-1d','list','attempt:','Query\x20type:\x20trino\x20or\x20hive','133AWKTGz','--schedule-option\x20<value>','--status\x20<status>','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','Data\x20connection\x20management\x20(for\x20activations/exports)','Open\x20parent\x20segment\x20in\x20web\x20browser','0.7','Delay\x20in\x20seconds\x20before\x20execution','Table\x20management\x20commands','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','Update\x20a\x20workspace','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','--help','subcommandDescription','login','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Options:','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','list\x20[project]','validate\x20[file]','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','templates\x20[pattern]','tsv','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','status','--interval\x20<range>','show\x20<name-or-id>','create\x20<name-or-path>','Agent\x20prompt/instructions','6734116HtpgGV','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','--from-task\x20<task>','Request\x20body\x20as\x20JSON\x20string','get','--add-behaviors\x20<json>','--starter-message\x20<text>','sql\x20[segment_name]','--prompt\x20<text>','467230iJPyoc','Show\x20connection\x20details\x20by\x20name','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','--plaintext\x20<text>','Create\x20a\x20new\x20always-on\x20campaign','--session-time\x20<time>','attempts\x20[project]','stdout','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','--no-proxy','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','gitRevision','result\x20<job-id>','logLevel','-p,\x20--profile\x20<name>','--type\x20<api_type>','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Segment\x20description','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Result\x20output\x20destination\x20URL','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Pull\x20child\x20segments\x20to\x20YAML\x20files','\x20(resolved\x20to\x20','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','directory','required','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','Database\x20to\x20query\x20(default:\x20information_schema)','Check\x20for\x20updates\x20without\x20installing','Manage\x20workflow\x20project\x20secrets','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','delete\x20<name>','push\x20[target]','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','run','Show\x20what\x20would\x20be\x20written\x20without\x20writing','End\x20time\x20filter\x20(ISO\x208601\x20format)','--system-prompt\x20<text>','pull\x20<project>\x20[target-dir]','List\x20secret\x20keys\x20for\x20a\x20project','isArray','--agent\x20<ref>','--behavior\x20[name]','Skip\x20confirmation\x20prompts','padEnd','pause\x20<name-or-id>','push\x20[file]','Pull\x20templates\x20to\x20YAML\x20files','--schedule-type\x20<type>','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','launch\x20<name-or-id>','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','--table\x20<table>','-v,\x20--verbose','describe','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Force\x20retry\x20even\x20if\x20not\x20failed','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','_list-commands','Attempt\x20ID','parent','clone\x20[source]','Directory\x20does\x20not\x20exist:\x20','upgrade\x20[version]','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','backup\x20<name>','profiles','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','--attribute\x20[name]','map','--enriched','Read\x20request\x20body\x20from\x20file','--max-depth\x20<depth>','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Workflow\x20parameter\x20(repeatable)','[task-name]','preview\x20[name]','-f,\x20--force','--parent-segment\x20<name>','Master\x20table\x20name','Run\x20specific\x20tests\x20(comma-separated)','--version\x20<number>','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--master','Include\x20retried\x20attempts','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','Retry\x20limit\x20(0\x20to\x2032)','Read\x20HTML\x20template\x20from\x20file','--force','Enable\x20UTM\x20tracking','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Create\x20segment\x20folder','buildTime','allowUnknownOption','Preview\x20operation\x20without\x20executing','Show\x20only\x20master\x20table\x20validation','resume\x20<name-or-path>','isTTY','schedule','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','249258CFQViV','Show\x20email\x20template\x20details','Duplicate\x20an\x20always-on\x20campaign','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','apiKey','debug','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','List\x20all\x20data\x20connections','Workspace\x20management','clear','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','slice','Enable\x20verbose\x20logging','Open\x20journey\x20in\x20web\x20browser','-y,\x20--yes','view\x20[name]','List\x20available\x20LLM\x20models','Delete\x20a\x20campaign','Skip\x20confirmation\x20prompt','--full','-w,\x20--web','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','senders\x20[pattern]','1711736mggmPU','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','duplicate\x20<name-or-id>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','stats\x20<name-or-path>','Skip\x20population\x20counting','filter','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Validate\x20template\x20YAML\x20files\x20locally','commandDescription','sql\x20[name]','Launch\x20an\x20always-on\x20campaign','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','list\x20[path]','--site\x20<site>','forEach','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','--priority\x20<-2~2>','Name\x20for\x20the\x20new\x20project\x20(required)','List\x20activations\x20for\x20a\x20journey','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Show\x20all\x20files\x20including\x20valid\x20ones','format','--folder\x20<name>','--json-columns\x20<cols>','Show\x20timeline\x20for\x20specific\x20attempt','--delay\x20<seconds>','set\x20<key=value>','--type\x20<type>','includes','Make\x20segment\x20invisible\x20(default:\x20visible)','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','Clear\x20session\x20context','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Validate\x20campaign\x20YAML\x20files\x20locally','workspace','--color','--yes','\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','-r,\x20--recursive','--timezone\x20<tz>','columns\x20<name-or-path>','New\x20campaign\x20name','campaigns\x20[pattern]','stringify','Delivery\x20operations\x20(email\x20senders)','--delete','versions\x20<name-or-path>','Delete\x20an\x20agent','Filtering\x20rule\x20as\x20JSON\x20string','Launch\x20a\x20campaign','[action]','--html\x20<html>','--method\x20<pm>','resume\x20<name-or-id>','argumentDescription','workflows\x20[project]','Run\x20Trino\x20query\x20with\x20streaming\x20results','Campaign\x20management','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','Project\x20description','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Resume\x20a\x20paused\x20always-on\x20campaign','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Plaintext\x20template\x20content','Pull\x20campaigns\x20to\x20YAML\x20files','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','info\x20[segment_name]','--default','6cBZHnA','--no-color','error','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Pause\x20a\x20campaign','Run\x20tests\x20for\x20an\x20LLM\x20agent','variadic','delete\x20<agent-name>','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','JSON\x20columns\x20for\x20connector\x20(comma-separated)','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','-c,\x20--continue','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','Timezone\x20for\x20cron','--in\x20<database>','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','13211970eczQTO','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Query\x20engine\x20version','tdx','Clear\x20workflow\x20project\x20context','isDirectory','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','repeat','[attempt-id]','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','history\x20[chat-id]','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','table','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','allowExcessArguments','--limit\x20<n>','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','--follow','Start\x20a\x20new\x20chat\x20session','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','--model\x20<name>','delivery','Cron\x20expression\x20for\x20scheduling','parse','RT\x202.0\x20configuration\x20management','\x20-\x20built\x20','show\x20[name]','preview\x20[file]','--jsonl','Resume\x20from\x20specific\x20task\x20(retry)','System\x20prompt/instructions\x20(default:\x20empty)','json','delete\x20<args...>','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Show\x20campaign\x20details','Show\x20journey\x20statistics','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Start\x20time\x20filter\x20(ISO\x208601\x20format)','--attempt-id\x20<id>','journey','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Add\x20behaviors\x20as\x20JSON\x20string','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','jsonl','Campaign\x20description','--catalog\x20<catalog>','Include\x20retried\x20attempts\x20(for\x20list)','optionTerm','Custom\x20revision\x20name\x20(default:\x20timestamp)','desc','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Show\x20master\x20table\x20sample\x20data','engage_workspace','--html-file\x20<path>','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','Agent\x20description','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','Show\x20job\x20details','Interactive\x20chat\x20selector','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','Behaviors\x20as\x20JSON\x20string','trino','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','--cron\x20<expression>','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','--start-at\x20<datetime>','--session-id\x20<id>','timeline\x20[project.workflow]','information_schema','Show\x20journey\x20details','\x22.\x20Must\x20be\x20a\x20number.','Path\x20is\x20not\x20a\x20directory:\x20','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','schema\x20<type>','--attributes\x20<json>','--trace','claude\x20[args...]','--tags\x20<tags>','push','New\x20template\x20name','query\x20[sql]','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\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\x20ap01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a','desc\x20[segment_name]','--session\x20<id>','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','--database\x20<db>','Personalization\x20service\x20management','fields\x20[parent_name]','Get\x20job\x20results','pull\x20[workspace]','Output\x20file\x20path','options','Trino\x20catalog\x20(default:\x20td)','tdx\x20','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','find','--reason\x20<text>','use\x20[project]','Add\x20attributes\x20as\x20JSON\x20string','create\x20[name]','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','parent-segment','update\x20<name-or-id>','GET','kill','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','--from\x20<date>','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--params\x20<json>','--rule-file\x20<file>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Version\x20number\x20to\x20view','--verbose','Preview\x20changes\x20without\x20pushing','Reason\x20for\x20killing\x20the\x20attempt','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Create\x20a\x20new\x20campaign','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','--stage\x20<name>','summary','show\x20[table]','upgrade','show\x20<name>','use\x20<path>','--from\x20<n>','--resume-from\x20<task>','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','5DIbJet','--data\x20<data>','desc\x20[name]','split','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','activations\x20<segment_name>','Parent\x20folder\x20name\x20for\x20nested\x20folders','registeredArguments','--skip-validation','optionDescription','List\x20available\x20connector\x20types','agents\x20[pattern]','Change\x20to\x20directory\x20before\x20executing\x20command','Campaign\x20type\x20(email\x20or\x20push)','Name\x20for\x20the\x20duplicated\x20campaign','Follow/watch\x20timeline\x20for\x20running\x20attempts','finish\x20<name-or-id>','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','validate\x20[name]','--stream','Folder\x20name\x20for\x20organization','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','--from\x20<timestamp>','argument','Workflow\x20project\x20management','--param\x20<key=value>','Show\x20stats\x20for\x20specific\x20stage','Starting\x20offset\x20(default:\x200)','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','pull\x20[project]\x20[agent-name]','push\x20[name]','Create\x20an\x20email\x20template','always-on-campaigns\x20[pattern]','requiredOption','LLM\x20project\x20management','retry\x20<session-id>','view\x20[segment_name]','list\x20[pattern]','use\x20<name>','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','[options]\x20--\x20[claude-code-args...]','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Show\x20schedule\x20details','--parent-folder\x20<name>','Ending\x20offset\x20(default:\x2020)','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','--customer-group\x20<json>','8774096sxiPSe','commands','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','activations\x20<name-or-path>','description','Resume\x20from\x20specific\x20task','beefree','Remove\x20API\x20key\x20from\x20system\x20keychain','--name\x20<names>','YAML\x20file\x20path\x20for\x20unpushed\x20segment','length','LLM\x20agent\x20management','Pause\x20a\x20running\x20journey','List\x20all\x20available\x20profiles','jobs','use\x20[name]','--revision\x20<revision>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','init\x20[name]','Limit\x20number\x20of\x20rows','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Output\x20file\x20path\x20(default:\x20<name>.yml)','Timezone\x20for\x20cron\x20(default:\x20UTC)','Maximum\x20tool\x20iterations\x20(default:\x204)','--rule\x20<json>','Workspace\x20name\x20(required)','noColor','usage','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','subcommandTerm','-o,\x20--output\x20<dir>','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Starter\x20message','--new','Updated\x20timezone','Workflow\x20(Digdag)\x20management\x20commands','attempt','pull\x20[parent_or_file]','upload\x20[project-name-or-dir]','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','connection','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','-d,\x20--database\x20<database>','update\x20<name>','connections','settings\x20<type>','statusline','run\x20<name>','view\x20<name-or-path>','alias','push\x20[source-dir]','history\x20<name>','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','delete\x20<name-or-id>','Always-on\x20campaign\x20management','restore\x20<folder>','Validate\x20journey\x20YAML\x20files\x20locally','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','--retry-limit\x20<0~32>','Create\x20a\x20new\x20profile','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Pull\x20specific\x20revision\x20(default:\x20latest)','flatMap','Run\x20a\x20scheduled\x20query\x20immediately','outputHelp','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','action','INVALID_ARGUMENT','Maximum\x20number\x20of\x20nodes','--segment\x20<path>','traffic\x20<name-or-path>','job','--engine-version\x20<version>','Attributes\x20as\x20JSON\x20string','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','validate\x20[target]','run\x20[name]','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Parent\x20segment\x20description','mcp','chdir','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','--no-eval','auth','version','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','_hidden','database','Email\x20subject\x20template','--to\x20<date>','segments\x20[path]','always-on-campaign','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','--format\x20<format>','Push\x20without\x20confirmation','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Database\x20name','New\x20segment\x20name','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','Open\x20segment\x20in\x20web\x20browser','--json','replace','tasks','set','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','--add-attributes-file\x20<file>','--no-count-population','opts','Output\x20as\x20JSON','--table','List\x20all\x20versions\x20of\x20a\x20journey','Show\x20authentication\x20status\x20and\x20current\x20context','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','configureHelp','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','Show\x20segment\x20schema\x20(column\x20types)','Campaign\x20name','pause\x20<name-or-path>','--clear','Delete\x20an\x20LLM\x20project','Maximum\x20rows\x20to\x20display','chat\x20[message...]','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','sessions\x20[project]','describe\x20[table]','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','--limit\x20<number>','option','after','hidden','Folder\x20description','List\x20all\x20users\x20in\x20the\x20account','Job\x20management\x20commands','submit\x20[query]','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','List\x20email\x20senders','--include-stats','Pull\x20specific\x20campaign\x20by\x20name','\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','list\x20[name]','-a,\x20--agent\x20<name>','--result\x20<url>','types','argv','kill\x20<job-id>','--next','-d,\x20--database\x20<db>'];a2_0x1630=function(){return _0xa89664;};return a2_0x1630();}userCmd[a2_0x2603d4(0x230)](async _0x5a03f9=>{const _0x27c143=a2_0x2603d4,_0x51e16b=new UserCommand(),_0x316533=program['opts'](),_0x4f04cf=await createTDXInstance(_0x316533),_0x739792=await _0x51e16b[_0x27c143(0x33d)]({'options':{..._0x316533,..._0x5a03f9},'args':[],'tdx':_0x4f04cf});gracefulExit(_0x739792);}),userCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x2f0))['description'](a2_0x2603d4(0x274))['action'](userListAction),program[a2_0x2603d4(0x2a8)]('users')['description'](a2_0x2603d4(0x325))[a2_0x2603d4(0x230)](userListAction),program[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x35f))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x1fb))[a2_0x2603d4(0x230)](async _0x5a4d8a=>{const _0x4abbb2=new ProfilesCommand(),_0x5b8807=program['opts'](),_0x596915=await _0x4abbb2['run']({'options':{..._0x5b8807,..._0x5a4d8a},'args':[],'tdx':null});gracefulExit(_0x596915);});const profileCmd=program[a2_0x2603d4(0x2a8)]('profile')[a2_0x2603d4(0x1f2)]('Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)');profileCmd['action'](()=>{profileCmd['outputHelp']();});const profileListAction=async _0x311901=>{const _0x1c72a4=a2_0x2603d4,_0x6ed1a3=new ProfilesCommand(),_0x400cbd=program[_0x1c72a4(0x25b)](),_0x28a75b=await _0x6ed1a3['run']({'options':{..._0x400cbd,..._0x311901},'args':[],'tdx':null});gracefulExit(_0x28a75b);};profileCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x2f0))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x1fb))[a2_0x2603d4(0x230)](profileListAction),profileCmd['command'](a2_0x2603d4(0x1a0))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x229))['addHelpText'](a2_0x2603d4(0x271),a2_0x2603d4(0x27b))['action'](async(_0x279b73,_0x56c060)=>{const _0x20097f=a2_0x2603d4,_0x16028b=new ProfileCreateCommand(),_0x154691=program['opts'](),_0x1d7365=await _0x16028b[_0x20097f(0x33d)]({'options':{..._0x154691,..._0x56c060},'args':_0x279b73?[_0x279b73]:[],'tdx':null});gracefulExit(_0x1d7365);}),profileCmd['command']('remove\x20<name>')['description']('Remove\x20a\x20profile')['addHelpText'](a2_0x2603d4(0x271),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a')[a2_0x2603d4(0x230)](async(_0x13ca39,_0x83e26d)=>{const _0x3d3ede=a2_0x2603d4,_0x14e077=new ProfileRemoveCommand(),_0x4ddf89=program[_0x3d3ede(0x25b)](),_0x46db0c=await _0x14e077['run']({'options':{..._0x4ddf89,..._0x83e26d},'args':[_0x13ca39],'tdx':null});gracefulExit(_0x46db0c);}),profileCmd['command'](a2_0x2603d4(0x3b8))[a2_0x2603d4(0x1f2)]('Set\x20a\x20profile\x20configuration\x20value')['addHelpText'](a2_0x2603d4(0x271),a2_0x2603d4(0x2be))[a2_0x2603d4(0x230)](async(_0x549ace,_0x28a788)=>{const _0x5e01ff=a2_0x2603d4,_0x2dfb4c=new ProfileSetCommand(),_0x2cda68=program[_0x5e01ff(0x25b)](),_0x451ada=await _0x2dfb4c['run']({'options':{..._0x2cda68,..._0x28a788},'args':[_0x549ace],'tdx':null});gracefulExit(_0x451ada);}),profileCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1e4))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x383))['option'](a2_0x2603d4(0x3e1),a2_0x2603d4(0x293))[a2_0x2603d4(0x2c3)](a2_0x2603d4(0x271),'\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')[a2_0x2603d4(0x230)](async(_0x63636d,_0xea4c96)=>{const _0x55e433=a2_0x2603d4,_0x1449bb=new ProfileUseCommand(),_0x2dd3a9=program[_0x55e433(0x25b)](),_0x546fc5=await _0x1449bb[_0x55e433(0x33d)]({'options':{..._0x2dd3a9,..._0xea4c96},'args':[_0x63636d],'tdx':null});gracefulExit(_0x546fc5);});const engageCmd=program[a2_0x2603d4(0x2a8)]('engage')[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x22f)),createEngageAction=_0xf94d28=>{return async(_0x4c519e,_0x27f2e1)=>{const _0x4401e4=a2_0x5241,_0x1e11ae=new _0xf94d28(),_0x4db40d=program[_0x4401e4(0x25b)](),_0x36ffe7=await createTDXInstance(_0x4db40d),_0x1b7a72=await _0x1e11ae[_0x4401e4(0x33d)]({'options':{..._0x4db40d,..._0x27f2e1},'args':[_0x4c519e],'tdx':_0x36ffe7});gracefulExit(_0x1b7a72);};},createEngageNoArgAction=_0x14b38b=>{return async _0x545cff=>{const _0x14a81b=a2_0x5241,_0x514630=new _0x14b38b(),_0x541efb=program[_0x14a81b(0x25b)](),_0x2b23a4=await createTDXInstance(_0x541efb),_0x3f0c24=await _0x514630['run']({'options':{..._0x541efb,..._0x545cff},'args':[],'tdx':_0x2b23a4});gracefulExit(_0x3f0c24);};},createEngageListAction=_0x3d5f58=>{return async(_0x31a3e9,_0x19c5f4)=>{const _0x14178c=a2_0x5241,_0x49d79a=new _0x3d5f58(),_0x59b107=program[_0x14178c(0x25b)](),_0x3acb81=await createTDXInstance(_0x59b107),_0x4202b3=await _0x49d79a['run']({'options':{..._0x59b107,..._0x19c5f4},'args':_0x31a3e9?[_0x31a3e9]:[],'tdx':_0x3acb81});gracefulExit(_0x4202b3);};},campaignCmd=engageCmd[a2_0x2603d4(0x2a8)]('campaign')[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x3d7));campaignCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1e3))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x3dc))[a2_0x2603d4(0x270)](a2_0x2603d4(0x3b9),a2_0x2603d4(0x3da))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2f5),a2_0x2603d4(0x184))['option'](a2_0x2603d4(0x2bb),a2_0x2603d4(0x2ed))[a2_0x2603d4(0x230)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x3c8))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x3be))[a2_0x2603d4(0x270)]('--type\x20<type>',a2_0x2603d4(0x3da))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2f5),a2_0x2603d4(0x184))['option'](a2_0x2603d4(0x2bb),a2_0x2603d4(0x2ed))[a2_0x2603d4(0x230)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x30d))['description'](a2_0x2603d4(0x15b))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2bb),'Workspace\x20name')[a2_0x2603d4(0x270)](a2_0x2603d4(0x398),a2_0x2603d4(0x355))['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x2d3))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x1b3))['requiredOption'](a2_0x2603d4(0x296),a2_0x2603d4(0x265))[a2_0x2603d4(0x1df)](a2_0x2603d4(0x3b9),'Campaign\x20type\x20(email\x20or\x20push)')[a2_0x2603d4(0x270)](a2_0x2603d4(0x2bb),a2_0x2603d4(0x207))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2dc),a2_0x2603d4(0x166))[a2_0x2603d4(0x270)]('--segment\x20<path>',a2_0x2603d4(0x3a0))[a2_0x2603d4(0x270)]('--email-sender-id\x20<id>','Email\x20sender\x20ID\x20for\x20delivery')[a2_0x2603d4(0x270)](a2_0x2603d4(0x3b5),a2_0x2603d4(0x3ed))['option']('--start-at\x20<datetime>',a2_0x2603d4(0x1a1))[a2_0x2603d4(0x270)](a2_0x2603d4(0x3c5),a2_0x2603d4(0x1ff))[a2_0x2603d4(0x230)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1a4))[a2_0x2603d4(0x1f2)]('Update\x20a\x20campaign')['option'](a2_0x2603d4(0x2bb),a2_0x2603d4(0x2ed))[a2_0x2603d4(0x270)](a2_0x2603d4(0x296),'New\x20campaign\x20name')[a2_0x2603d4(0x270)](a2_0x2603d4(0x2dc),a2_0x2603d4(0x166))[a2_0x2603d4(0x270)]('--segment\x20<path>',a2_0x2603d4(0x3a0))[a2_0x2603d4(0x270)]('--email-sender-id\x20<id>',a2_0x2603d4(0x2af))[a2_0x2603d4(0x270)](a2_0x2603d4(0x3b5),a2_0x2603d4(0x3ed))[a2_0x2603d4(0x270)](a2_0x2603d4(0x17d),a2_0x2603d4(0x1a1))['option'](a2_0x2603d4(0x3c5),a2_0x2603d4(0x1ff))[a2_0x2603d4(0x230)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x2603d4(0x2a8)]('delete\x20<name-or-id>')['description'](a2_0x2603d4(0x396))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2bb),a2_0x2603d4(0x2ed))[a2_0x2603d4(0x270)](a2_0x2603d4(0x3c2),a2_0x2603d4(0x397))[a2_0x2603d4(0x230)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command'](a2_0x2603d4(0x34e))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x3cf))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2bb),a2_0x2603d4(0x2ed))['action'](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x348))['description'](a2_0x2603d4(0x3e7))[a2_0x2603d4(0x270)]('--workspace\x20<name>',a2_0x2603d4(0x2ed))[a2_0x2603d4(0x230)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x3d3))[a2_0x2603d4(0x1f2)]('Resume\x20a\x20paused\x20campaign')[a2_0x2603d4(0x270)]('--workspace\x20<name>',a2_0x2603d4(0x2ed))[a2_0x2603d4(0x230)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x39f))[a2_0x2603d4(0x1f2)]('Duplicate\x20a\x20campaign')[a2_0x2603d4(0x270)](a2_0x2603d4(0x2bb),a2_0x2603d4(0x2ed))[a2_0x2603d4(0x230)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x2b2))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x3de))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2bb),a2_0x2603d4(0x2ed))[a2_0x2603d4(0x270)](a2_0x2603d4(0x296),a2_0x2603d4(0x27a))['option']('--type\x20<type>',a2_0x2603d4(0x3da))[a2_0x2603d4(0x270)]('--dry-run',a2_0x2603d4(0x33e))[a2_0x2603d4(0x230)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x33b))[a2_0x2603d4(0x1f2)]('Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns')[a2_0x2603d4(0x270)]('--workspace\x20<name>',a2_0x2603d4(0x2ed))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2d7),a2_0x2603d4(0x179))[a2_0x2603d4(0x230)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x239))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x3bf))['option'](a2_0x2603d4(0x1af),a2_0x2603d4(0x3b2))[a2_0x2603d4(0x230)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x24a))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x224));alwaysOnCampaignCmd[a2_0x2603d4(0x2a8)]('list\x20[pattern]')['description'](a2_0x2603d4(0x3eb))[a2_0x2603d4(0x270)](a2_0x2603d4(0x3b9),a2_0x2603d4(0x3da))[a2_0x2603d4(0x270)]('--status\x20<status>','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')[a2_0x2603d4(0x1df)](a2_0x2603d4(0x2bb),a2_0x2603d4(0x207))['action'](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1de))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x335))[a2_0x2603d4(0x270)]('--type\x20<type>',a2_0x2603d4(0x3da))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2f5),a2_0x2603d4(0x3ef))[a2_0x2603d4(0x1df)](a2_0x2603d4(0x2bb),a2_0x2603d4(0x207))[a2_0x2603d4(0x230)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x30d))[a2_0x2603d4(0x1f2)]('Show\x20always-on\x20campaign\x20details')[a2_0x2603d4(0x1df)](a2_0x2603d4(0x2bb),a2_0x2603d4(0x207))[a2_0x2603d4(0x270)]('--full',a2_0x2603d4(0x355))[a2_0x2603d4(0x230)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x2d3))['description'](a2_0x2603d4(0x31e))[a2_0x2603d4(0x1df)](a2_0x2603d4(0x296),'Campaign\x20name')[a2_0x2603d4(0x1df)](a2_0x2603d4(0x3b9),a2_0x2603d4(0x1cb))[a2_0x2603d4(0x1df)]('--workspace\x20<name>',a2_0x2603d4(0x207))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2dc),a2_0x2603d4(0x166))[a2_0x2603d4(0x270)](a2_0x2603d4(0x233),a2_0x2603d4(0x3ec))[a2_0x2603d4(0x270)]('--enable-utm-tracking',a2_0x2603d4(0x379))[a2_0x2603d4(0x230)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x2603d4(0x2a8)]('update\x20<name-or-id>')[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x286))[a2_0x2603d4(0x1df)](a2_0x2603d4(0x2bb),a2_0x2603d4(0x207))[a2_0x2603d4(0x270)](a2_0x2603d4(0x296),a2_0x2603d4(0x3c7))[a2_0x2603d4(0x270)]('--description\x20<desc>','Campaign\x20description')[a2_0x2603d4(0x270)](a2_0x2603d4(0x233),a2_0x2603d4(0x3ec))[a2_0x2603d4(0x270)]('--enable-utm-tracking',a2_0x2603d4(0x379))[a2_0x2603d4(0x230)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x223))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x3f1))[a2_0x2603d4(0x1df)]('--workspace\x20<name>',a2_0x2603d4(0x207))['option'](a2_0x2603d4(0x3c2),a2_0x2603d4(0x397))[a2_0x2603d4(0x230)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x34e))['description'](a2_0x2603d4(0x3a8))[a2_0x2603d4(0x1df)](a2_0x2603d4(0x2bb),'Workspace\x20name\x20(required)')[a2_0x2603d4(0x230)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd['command'](a2_0x2603d4(0x348))[a2_0x2603d4(0x1f2)]('Pause\x20an\x20always-on\x20campaign')[a2_0x2603d4(0x1df)](a2_0x2603d4(0x2bb),a2_0x2603d4(0x207))[a2_0x2603d4(0x230)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x3d3))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x3db))['requiredOption'](a2_0x2603d4(0x2bb),a2_0x2603d4(0x207))['action'](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1ce))[a2_0x2603d4(0x1f2)]('Finish\x20an\x20always-on\x20campaign')['requiredOption'](a2_0x2603d4(0x2bb),'Workspace\x20name\x20(required)')[a2_0x2603d4(0x270)]('--yes','Skip\x20confirmation\x20prompt')['action'](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd['command'](a2_0x2603d4(0x39f))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x386))[a2_0x2603d4(0x1df)](a2_0x2603d4(0x2bb),a2_0x2603d4(0x207))['requiredOption'](a2_0x2603d4(0x296),a2_0x2603d4(0x1cc))['action'](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x2603d4(0x2a8)]('template')[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x2c9));templateCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1e3))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x30a))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2bb),'Workspace\x20name')[a2_0x2603d4(0x230)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x308))[a2_0x2603d4(0x1f2)]('List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)')['option'](a2_0x2603d4(0x2bb),a2_0x2603d4(0x2ed))[a2_0x2603d4(0x230)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x30d))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x385))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2bb),a2_0x2603d4(0x2ed))['option']('--full','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x2603d4(0x230)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x2603d4(0x2a8)]('create')['description'](a2_0x2603d4(0x1dd))[a2_0x2603d4(0x1df)](a2_0x2603d4(0x296),'Template\x20name')[a2_0x2603d4(0x1df)](a2_0x2603d4(0x294),a2_0x2603d4(0x247))[a2_0x2603d4(0x270)]('--html\x20<html>','HTML\x20template\x20content')[a2_0x2603d4(0x270)](a2_0x2603d4(0x16f),a2_0x2603d4(0x377))[a2_0x2603d4(0x270)]('--workspace\x20<name>',a2_0x2603d4(0x207))[a2_0x2603d4(0x270)](a2_0x2603d4(0x31d),a2_0x2603d4(0x3dd))[a2_0x2603d4(0x270)]('--editor-type\x20<type>',a2_0x2603d4(0x3bc),_0x59a875=>{const _0x5b1b67=a2_0x2603d4;if(![_0x5b1b67(0x1f4),'grapesjs'][_0x5b1b67(0x3ba)](_0x59a875))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Invalid\x20editor\x20type:\x20'+_0x59a875+_0x5b1b67(0x2d0));return _0x59a875;})['action'](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd['command'](a2_0x2603d4(0x1a4))[a2_0x2603d4(0x1f2)]('Update\x20an\x20email\x20template')['option'](a2_0x2603d4(0x2bb),a2_0x2603d4(0x2ed))[a2_0x2603d4(0x270)](a2_0x2603d4(0x296),a2_0x2603d4(0x18c))[a2_0x2603d4(0x270)](a2_0x2603d4(0x294),a2_0x2603d4(0x247))[a2_0x2603d4(0x270)](a2_0x2603d4(0x3d1),'HTML\x20template\x20content')['option']('--html-file\x20<path>',a2_0x2603d4(0x377))[a2_0x2603d4(0x270)]('--plaintext\x20<text>',a2_0x2603d4(0x3dd))[a2_0x2603d4(0x230)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd['command'](a2_0x2603d4(0x196))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x34a))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2bb),a2_0x2603d4(0x2ed))[a2_0x2603d4(0x270)]('--name\x20<name>',a2_0x2603d4(0x2d2))[a2_0x2603d4(0x270)](a2_0x2603d4(0x393),a2_0x2603d4(0x397))[a2_0x2603d4(0x270)]('--dry-run',a2_0x2603d4(0x33e))[a2_0x2603d4(0x230)](createEngageAction(EngageTemplatePullCommand)),templateCmd['command']('push\x20[target]')[a2_0x2603d4(0x1f2)]('Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates')[a2_0x2603d4(0x270)](a2_0x2603d4(0x2bb),a2_0x2603d4(0x2ed))[a2_0x2603d4(0x270)](a2_0x2603d4(0x393),a2_0x2603d4(0x397))[a2_0x2603d4(0x270)]('--dry-run','Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0x2603d4(0x230)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x239))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x3a5))['option'](a2_0x2603d4(0x1af),'Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x2603d4(0x230)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x223))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x2b6))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2bb),'Workspace\x20name')[a2_0x2603d4(0x270)](a2_0x2603d4(0x3c2),'Skip\x20confirmation\x20prompt')[a2_0x2603d4(0x230)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x3c0))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x38c));workspaceCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1e3))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x3df))[a2_0x2603d4(0x230)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x2c8))['description'](a2_0x2603d4(0x222))[a2_0x2603d4(0x230)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x2603d4(0x2a8)]('show\x20<name-or-id>')[a2_0x2603d4(0x1f2)]('Show\x20workspace\x20details')[a2_0x2603d4(0x270)](a2_0x2603d4(0x398),a2_0x2603d4(0x355))['action'](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x2d3))[a2_0x2603d4(0x1f2)]('Create\x20a\x20workspace')[a2_0x2603d4(0x1df)](a2_0x2603d4(0x296),a2_0x2603d4(0x2ed))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2dc),'Workspace\x20description')[a2_0x2603d4(0x230)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1a4))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x2fd))['option'](a2_0x2603d4(0x296),'New\x20workspace\x20name')[a2_0x2603d4(0x270)](a2_0x2603d4(0x2dc),a2_0x2603d4(0x28d))['action'](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x223))[a2_0x2603d4(0x1f2)]('Delete\x20a\x20workspace')[a2_0x2603d4(0x270)](a2_0x2603d4(0x3c2),a2_0x2603d4(0x397))[a2_0x2603d4(0x230)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1e4))['description'](a2_0x2603d4(0x15e))[a2_0x2603d4(0x230)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x14e))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x3ca));deliveryCmd['command'](a2_0x2603d4(0x39b))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x278))['option'](a2_0x2603d4(0x2bb),a2_0x2603d4(0x2ed))[a2_0x2603d4(0x230)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x216))['description'](a2_0x2603d4(0x2f7)),connectionListAction=async _0x1ee284=>{const _0x481a88=a2_0x2603d4,_0xee0a2f=new ConnectionListCommand(),_0x335141=program['opts'](),_0x57c3a0=await createTDXInstance(_0x335141),_0x160f33=await _0xee0a2f[_0x481a88(0x33d)]({'options':{..._0x335141,..._0x1ee284},'args':[],'tdx':_0x57c3a0});gracefulExit(_0x160f33);};connectionCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x2f0))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x38b))[a2_0x2603d4(0x230)](connectionListAction),program['command'](a2_0x2603d4(0x21a),{'hidden':!![]})['description'](a2_0x2603d4(0x38f))['action'](connectionListAction),connectionCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1b9))['description'](a2_0x2603d4(0x31b))[a2_0x2603d4(0x230)](async(_0x2dd5ab,_0x49db67)=>{const _0xf18b91=a2_0x2603d4,_0x43e448=new ConnectionShowCommand(),_0x4b48fd=program[_0xf18b91(0x25b)](),_0x53e23b=await createTDXInstance(_0x4b48fd),_0x267103=await _0x43e448[_0xf18b91(0x33d)]({'options':{..._0x4b48fd,..._0x49db67},'args':[_0x2dd5ab],'tdx':_0x53e23b});gracefulExit(_0x267103);}),connectionCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x186))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x32d))[a2_0x2603d4(0x230)](async(_0x3b59a8,_0x54bd78)=>{const _0x503041=a2_0x2603d4,_0x53f57e=new ConnectionSchemaCommand(),_0x8bfe22=program[_0x503041(0x25b)](),_0x541693=await createTDXInstance(_0x8bfe22),_0x5dc185=await _0x53f57e[_0x503041(0x33d)]({'options':{..._0x8bfe22,..._0x54bd78},'args':[_0x3b59a8],'tdx':_0x541693});gracefulExit(_0x5dc185);}),connectionCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x27f))['description'](a2_0x2603d4(0x1c8))[a2_0x2603d4(0x230)](async _0x4f5a4c=>{const _0x301a53=a2_0x2603d4,_0xde98ef=new ConnectionTypesCommand(),_0x16b180=program[_0x301a53(0x25b)](),_0x2e0a40=await createTDXInstance(_0x16b180),_0xc9a69a=await _0xde98ef['run']({'options':{..._0x16b180,..._0x4f5a4c},'args':[],'tdx':_0x2e0a40});gracefulExit(_0xc9a69a);}),connectionCmd['command'](a2_0x2603d4(0x21b))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x263))[a2_0x2603d4(0x230)](async(_0x3f66a7,_0xfb786)=>{const _0x5b73ab=a2_0x2603d4,_0x4c7409=new ConnectionSettingsCommand(),_0x260193=program['opts'](),_0x353fd3=await createTDXInstance(_0x260193),_0x3b09d8=await _0x4c7409[_0x5b73ab(0x33d)]({'options':{..._0x260193,..._0xfb786},'args':[_0x3f66a7],'tdx':_0x353fd3});gracefulExit(_0x3b09d8);});const journeyCmd=program['command'](a2_0x2603d4(0x161))['description'](a2_0x2603d4(0x2c4)),journeyListAction=async(_0x36f6bf,_0x4d193a)=>{const _0x20742f=a2_0x2603d4,_0x24efcd=new JourneyListCommand(),_0x254104=program['opts'](),_0x2c6cf5=await createTDXInstance(_0x254104),_0x20ed7a=await _0x24efcd[_0x20742f(0x33d)]({'options':{..._0x254104,..._0x4d193a},'args':_0x36f6bf?[_0x36f6bf]:[],'tdx':_0x2c6cf5});gracefulExit(_0x20ed7a);};journeyCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1e3))[a2_0x2603d4(0x1f2)]('List\x20journeys\x20in\x20current\x20context')[a2_0x2603d4(0x230)](journeyListAction),journeyCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x21e))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x181))['option'](a2_0x2603d4(0x399),a2_0x2603d4(0x392))[a2_0x2603d4(0x270)](a2_0x2603d4(0x279),a2_0x2603d4(0x2c2))[a2_0x2603d4(0x230)](async(_0x3ed91d,_0x3ffb02)=>{const _0x5d2c5d=a2_0x2603d4,_0x503006=new JourneyViewCommand(),_0x553378=program['opts'](),_0x22c1f5=await createTDXInstance(_0x553378),_0x2fea59=await _0x503006[_0x5d2c5d(0x33d)]({'options':{..._0x553378,..._0x3ffb02},'args':[_0x3ed91d],'tdx':_0x22c1f5});gracefulExit(_0x2fea59);}),journeyCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x3a1))['description'](a2_0x2603d4(0x15c))[a2_0x2603d4(0x270)](a2_0x2603d4(0x1b5),a2_0x2603d4(0x1d8))[a2_0x2603d4(0x270)](a2_0x2603d4(0x1a8),'Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x2603d4(0x270)](a2_0x2603d4(0x248),a2_0x2603d4(0x32b))[a2_0x2603d4(0x270)]('--include-history',a2_0x2603d4(0x2bc))[a2_0x2603d4(0x230)](async(_0x1913da,_0x571742)=>{const _0x948712=a2_0x2603d4,_0x306684=new JourneyStatsCommand(),_0xbd9714=program[_0x948712(0x25b)](),_0x3279b9=await createTDXInstance(_0xbd9714),_0x4677c8=await _0x306684[_0x948712(0x33d)]({'options':{..._0xbd9714,..._0x571742},'args':[_0x1913da],'tdx':_0x3279b9});gracefulExit(_0x4677c8);}),journeyCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x234))['description'](a2_0x2603d4(0x3d8))[a2_0x2603d4(0x270)]('--type\x20<type>','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)')[a2_0x2603d4(0x270)]('--from\x20<date>',a2_0x2603d4(0x373))[a2_0x2603d4(0x270)](a2_0x2603d4(0x248),a2_0x2603d4(0x32b))[a2_0x2603d4(0x270)](a2_0x2603d4(0x26f),a2_0x2603d4(0x232),_0x53d6dd=>{const _0x74cdc2=a2_0x2603d4,_0x9c5d12=parseInt(_0x53d6dd,0xa);if(isNaN(_0x9c5d12))throw new Error('Invalid\x20--limit\x20value:\x20\x22'+_0x53d6dd+_0x74cdc2(0x182));return _0x9c5d12;})['action'](async(_0xc731d,_0x539fd6)=>{const _0x24c5d9=a2_0x2603d4,_0x4aa14f=new JourneyTrafficCommand(),_0x2efb30=program[_0x24c5d9(0x25b)](),_0x3c771d=await createTDXInstance(_0x2efb30),_0x132990=await _0x4aa14f[_0x24c5d9(0x33d)]({'options':{..._0x2efb30,..._0x539fd6},'args':[_0xc731d],'tdx':_0x3c771d});gracefulExit(_0x132990);}),journeyCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x266))['description'](a2_0x2603d4(0x1fa))['action'](async(_0x271751,_0x48ba8a)=>{const _0x53d685=a2_0x2603d4,_0x1c00d0=new JourneyPauseCommand(),_0x2949ed=program[_0x53d685(0x25b)](),_0x89a503=await createTDXInstance(_0x2949ed),_0x29bb31=await _0x1c00d0[_0x53d685(0x33d)]({'options':{..._0x2949ed,..._0x48ba8a},'args':[_0x271751],'tdx':_0x89a503});gracefulExit(_0x29bb31);}),journeyCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x380))[a2_0x2603d4(0x1f2)]('Resume\x20a\x20paused\x20journey')[a2_0x2603d4(0x230)](async(_0x2db90e,_0x13fe81)=>{const _0x3201ef=new JourneyResumeCommand(),_0x40f9fe=program['opts'](),_0x14efa2=await createTDXInstance(_0x40f9fe),_0x50f3d0=await _0x3201ef['run']({'options':{..._0x40f9fe,..._0x13fe81},'args':[_0x2db90e],'tdx':_0x14efa2});gracefulExit(_0x50f3d0);}),journeyCmd[a2_0x2603d4(0x2a8)]('pull\x20[name]')[a2_0x2603d4(0x1f2)]('Export\x20journey(s)\x20as\x20YAML\x20files')['option'](a2_0x2603d4(0x2d7),a2_0x2603d4(0x3e6))[a2_0x2603d4(0x230)](async(_0xfb046,_0x21fe96)=>{const _0x5455a5=a2_0x2603d4,_0x1f4d43=new JourneyPullCommand(),_0x3d9912=program['opts'](),_0x1016a9=await createTDXInstance(_0x3d9912),_0x3a3d25=await _0x1f4d43[_0x5455a5(0x33d)]({'options':{..._0x3d9912,..._0x21fe96},'args':_0xfb046?[_0xfb046]:[],'tdx':_0x1016a9});gracefulExit(_0x3a3d25);}),journeyCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x33b))[a2_0x2603d4(0x1f2)]('Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data')[a2_0x2603d4(0x230)](async(_0x699cfa,_0x2ab414)=>{const _0x22b016=a2_0x2603d4,_0xc0f023=new JourneyPushCommand(),_0x26aa7c=program[_0x22b016(0x25b)](),_0x4cb907=await createTDXInstance(_0x26aa7c),_0xfe5ccf=await _0xc0f023['run']({'options':{..._0x26aa7c,..._0x2ab414},'args':_0x699cfa?[_0x699cfa]:[],'tdx':_0x4cb907});gracefulExit(_0xfe5ccf);}),journeyCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x3c6))['description'](a2_0x2603d4(0x2a7))[a2_0x2603d4(0x230)](async(_0x4704ea,_0x5283f8)=>{const _0x12363e=a2_0x2603d4,_0x33eb09=new JourneyColumnsCommand(),_0x165ae5=program[_0x12363e(0x25b)](),_0x4dcc9a=await createTDXInstance(_0x165ae5),_0x293782=await _0x33eb09['run']({'options':{..._0x165ae5,..._0x5283f8},'args':[_0x4704ea],'tdx':_0x4dcc9a});gracefulExit(_0x293782);}),journeyCmd['command'](a2_0x2603d4(0x1f1))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x3b0))[a2_0x2603d4(0x230)](async(_0x1253e7,_0x2c68c4)=>{const _0x4b0146=a2_0x2603d4,_0x3d3f00=new JourneyActivationsCommand(),_0x285e0e=program['opts'](),_0x445e9c=await createTDXInstance(_0x285e0e),_0x367e6a=await _0x3d3f00[_0x4b0146(0x33d)]({'options':{..._0x285e0e,..._0x2c68c4},'args':[_0x1253e7],'tdx':_0x445e9c});gracefulExit(_0x367e6a);}),journeyCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x3cc))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x25e))[a2_0x2603d4(0x230)](async(_0x471e07,_0xf08570)=>{const _0x4b5e32=a2_0x2603d4,_0x1ecf94=new JourneyVersionsCommand(),_0x1608c2=program[_0x4b5e32(0x25b)](),_0xf95269=await createTDXInstance(_0x1608c2),_0x324288=await _0x1ecf94[_0x4b5e32(0x33d)]({'options':{..._0x1608c2,..._0xf08570},'args':[_0x471e07],'tdx':_0xf95269});gracefulExit(_0x324288);});const journeyVersionCmd=journeyCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x242))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x2dd));journeyVersionCmd['command'](a2_0x2603d4(0x30e))['description']('Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey')[a2_0x2603d4(0x230)](async(_0x492aa2,_0x39dd5b)=>{const _0x12bd96=new JourneyVersionCreateCommand(),_0x3659c3=program['opts'](),_0x1fef03=await createTDXInstance(_0x3659c3),_0x318db6=await _0x12bd96['run']({'options':{..._0x3659c3,..._0x39dd5b},'args':[_0x492aa2],'tdx':_0x1fef03});gracefulExit(_0x318db6);}),journeyVersionCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x21e))['description']('View\x20a\x20specific\x20version\x20of\x20a\x20journey')['requiredOption'](a2_0x2603d4(0x36e),a2_0x2603d4(0x1ae))[a2_0x2603d4(0x230)](async(_0x22a60f,_0xe2c653)=>{const _0x310f15=a2_0x2603d4,_0x12ce7a=new JourneyVersionViewCommand(),_0x5b1f9f=program[_0x310f15(0x25b)](),_0x12256e=await createTDXInstance(_0x5b1f9f),_0x1fe98a=await _0x12ce7a[_0x310f15(0x33d)]({'options':{..._0x5b1f9f,..._0xe2c653},'args':[_0x22a60f],'tdx':_0x12256e});gracefulExit(_0x1fe98a);}),journeyCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x239))['description'](a2_0x2603d4(0x226))[a2_0x2603d4(0x230)](async(_0x3de529,_0x2bd39e)=>{const _0x5ba6d0=a2_0x2603d4,_0x5052fd=new JourneyValidateCommand(),_0x412fc4=program[_0x5ba6d0(0x25b)](),_0x4166ca=await createTDXInstance(_0x412fc4),_0x56b184=await _0x5052fd[_0x5ba6d0(0x33d)]({'options':{..._0x412fc4,..._0x2bd39e},'args':_0x3de529?[_0x3de529]:[],'tdx':_0x4166ca});gracefulExit(_0x56b184);}),program[a2_0x2603d4(0x2a8)]('journeys\x20[pattern]')[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x292))[a2_0x2603d4(0x230)](journeyListAction);const agentSyncCmd=program[a2_0x2603d4(0x2a8)]('agent')[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x1f9));agentSyncCmd['command'](a2_0x2603d4(0x1db))['description'](a2_0x2603d4(0x375))['option'](a2_0x2603d4(0x20c),'Output\x20directory')[a2_0x2603d4(0x270)](a2_0x2603d4(0x36a),'Overwrite\x20local\x20changes\x20without\x20confirmation')[a2_0x2603d4(0x270)](a2_0x2603d4(0x27d),a2_0x2603d4(0x1e6))[a2_0x2603d4(0x230)](async(_0x2869e7,_0x3236e3,_0x487cc6)=>{const _0x52006a=a2_0x2603d4,_0x7460d1=new AgentPullCommand(),_0x33991e=program['opts'](),_0x21d39b=await createTDXInstance(_0x33991e),_0x1a0708=[];if(_0x2869e7)_0x1a0708['push'](_0x2869e7);if(_0x3236e3)_0x1a0708[_0x52006a(0x18b)](_0x3236e3);const _0x3d6cfc=await _0x7460d1[_0x52006a(0x33d)]({'options':{..._0x33991e,..._0x487cc6},'args':_0x1a0708,'tdx':_0x21d39b});gracefulExit(_0x3d6cfc);}),agentSyncCmd[a2_0x2603d4(0x2a8)]('push\x20[path]')[a2_0x2603d4(0x1f2)]('Push\x20local\x20agent\x20files\x20to\x20LLM\x20project')[a2_0x2603d4(0x270)](a2_0x2603d4(0x36a),a2_0x2603d4(0x24d))[a2_0x2603d4(0x230)](async(_0x518a84,_0x41bf24)=>{const _0x50fb73=a2_0x2603d4,_0x476dc4=new AgentPushCommand(),_0x116790=program[_0x50fb73(0x25b)](),_0x33b2de=await createTDXInstance(_0x116790),_0x70601=await _0x476dc4[_0x50fb73(0x33d)]({'options':{..._0x116790,..._0x41bf24},'args':_0x518a84?[_0x518a84]:[],'tdx':_0x33b2de});gracefulExit(_0x70601);}),agentSyncCmd['command'](a2_0x2603d4(0x35a))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x175))[a2_0x2603d4(0x270)]('-n,\x20--name\x20<name>',a2_0x2603d4(0x3af))[a2_0x2603d4(0x230)](async(_0x61f985,_0x5d9ee4)=>{const _0x2718c7=a2_0x2603d4,_0x9f8adf=new AgentCloneCommand(),_0x5e9c61=program[_0x2718c7(0x25b)](),_0x46c4ad=await createTDXInstance(_0x5e9c61),_0x2eb0e9=await _0x9f8adf[_0x2718c7(0x33d)]({'options':{..._0x5e9c61,..._0x5d9ee4},'args':_0x61f985?[_0x61f985]:[],'tdx':_0x46c4ad});gracefulExit(_0x2eb0e9);}),agentSyncCmd[a2_0x2603d4(0x2a8)]('test\x20[path]')[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x3e8))[a2_0x2603d4(0x270)](a2_0x2603d4(0x1f6),a2_0x2603d4(0x36d))['option'](a2_0x2603d4(0x18a),'Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)')[a2_0x2603d4(0x270)]('--dry-run',a2_0x2603d4(0x2b0))[a2_0x2603d4(0x270)](a2_0x2603d4(0x240),'Generate\x20test\x20conversations\x20without\x20evaluation')['option']('--reeval',a2_0x2603d4(0x332))[a2_0x2603d4(0x230)](async(_0x4c04fa,_0x21daec)=>{const _0x208509=a2_0x2603d4,_0x368c56=new AgentTestCommand(),_0x24c117=program[_0x208509(0x25b)](),_0x1e4645=await createTDXInstance(_0x24c117),_0x137cd1=await _0x368c56[_0x208509(0x33d)]({'options':{..._0x24c117,..._0x21daec},'args':_0x4c04fa?[_0x4c04fa]:[],'tdx':_0x1e4645});gracefulExit(_0x137cd1);}),agentSyncCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x1e3))[a2_0x2603d4(0x1f2)]('List\x20agents\x20in\x20current\x20project')[a2_0x2603d4(0x230)](llmAgentListAction),agentSyncCmd[a2_0x2603d4(0x2a8)]('show\x20<agent-name>')[a2_0x2603d4(0x1f2)]('Show\x20agent\x20details')['action'](async(_0x25899b,_0x37d476)=>{const _0x50eeaa=a2_0x2603d4,_0x5dd2d2=new LLMAgentShowCommand(),_0xa56e73=program[_0x50eeaa(0x25b)](),_0x112fc8=await createTDXInstance(_0xa56e73),_0x326b18=await _0x5dd2d2[_0x50eeaa(0x33d)]({'options':{..._0xa56e73,..._0x37d476},'args':[_0x25899b],'tdx':_0x112fc8});gracefulExit(_0x326b18);}),agentSyncCmd[a2_0x2603d4(0x2a8)]('create\x20<name>')['description'](a2_0x2603d4(0x34c))[a2_0x2603d4(0x270)](a2_0x2603d4(0x340),a2_0x2603d4(0x157))[a2_0x2603d4(0x270)](a2_0x2603d4(0x14d),'Model\x20type\x20(default:\x20claude-4.5-sonnet)','claude-4.5-sonnet')[a2_0x2603d4(0x270)]('--starter-message\x20<text>',a2_0x2603d4(0x20e))[a2_0x2603d4(0x270)]('--max-tool-iterations\x20<n>',a2_0x2603d4(0x205),'4')[a2_0x2603d4(0x270)]('--temperature\x20<n>',a2_0x2603d4(0x260),a2_0x2603d4(0x2f9))[a2_0x2603d4(0x230)](async(_0x5de053,_0x2a278b)=>{const _0x371de0=a2_0x2603d4,_0x113183=new LLMAgentCreateCommand(),_0x21d6e4=program[_0x371de0(0x25b)](),_0x3c841e=await createTDXInstance(_0x21d6e4),_0x244b03=await _0x113183[_0x371de0(0x33d)]({'options':{..._0x21d6e4,..._0x2a278b},'args':[_0x5de053],'tdx':_0x3c841e});gracefulExit(_0x244b03);}),agentSyncCmd[a2_0x2603d4(0x2a8)]('update\x20<agent-name>')['description']('Update\x20an\x20existing\x20agent')['option']('--name\x20<text>','Agent\x20name')['option'](a2_0x2603d4(0x319),a2_0x2603d4(0x30f))[a2_0x2603d4(0x270)](a2_0x2603d4(0x2b3),a2_0x2603d4(0x171))['option'](a2_0x2603d4(0x317),'Starter\x20message')[a2_0x2603d4(0x230)](async(_0x4783e0,_0x3d4d20)=>{const _0xcdd948=a2_0x2603d4,_0x56751e=new LLMAgentUpdateCommand(),_0x173d2b=program[_0xcdd948(0x25b)](),_0xd1b8c4=await createTDXInstance(_0x173d2b),_0xa87a9a=await _0x56751e[_0xcdd948(0x33d)]({'options':{..._0x173d2b,..._0x3d4d20},'args':[_0x4783e0],'tdx':_0xd1b8c4});gracefulExit(_0xa87a9a);}),agentSyncCmd[a2_0x2603d4(0x2a8)](a2_0x2603d4(0x3ea))[a2_0x2603d4(0x1f2)](a2_0x2603d4(0x3cd))[a2_0x2603d4(0x230)](async(_0x29906d,_0x2071c9)=>{const _0x3cb192=new LLMAgentDeleteCommand(),_0x21f4ff=program['opts'](),_0x111e1d=await createTDXInstance(_0x21f4ff),_0x285711=await _0x3cb192['run']({'options':{..._0x21f4ff,..._0x2071c9},'args':[_0x29906d],'tdx':_0x111e1d});gracefulExit(_0x285711);}),program['command'](a2_0x2603d4(0x357),{'hidden':!![]})[a2_0x2603d4(0x230)](()=>{const _0x12e167=a2_0x2603d4;function _0x5dc5af(_0x569de8,_0x304123){const _0x213939=a2_0x5241,_0x3273be=[];for(const _0x32113d of _0x569de8[_0x213939(0x1ef)]){if(_0x32113d[_0x213939(0x245)])continue;const _0x150887=_0x304123?_0x304123+'\x20'+_0x32113d[_0x213939(0x2a2)]():_0x32113d['name'](),_0x1e662f=_0x150887[_0x213939(0x1c1)]('\x20')[0x0],_0x45a654=COMMAND_CATEGORIES[_0x213939(0x19c)](_0x3be722=>_0x3be722[_0x213939(0x1ef)][_0x213939(0x3ba)](_0x1e662f)),_0x101442=_0x45a654?.[_0x213939(0x2a2)]??'';if(_0x32113d[_0x213939(0x1ef)][_0x213939(0x1f8)]>0x0)_0x3273be[_0x213939(0x18b)](..._0x5dc5af(_0x32113d,_0x150887));else{const _0x4b2c78=(_0x32113d[_0x213939(0x1c5)]||[])['map'](_0x13a28a=>{const _0x4e74c5=_0x213939,_0xcc6079=_0x13a28a[_0x4e74c5(0x3e9)]?_0x13a28a[_0x4e74c5(0x2a2)]()+'...':_0x13a28a['name']();return _0x13a28a[_0x4e74c5(0x334)]?'<'+_0xcc6079+'>':'['+_0xcc6079+']';})[_0x213939(0x2c0)]('\x20'),_0x233c19=_0x32113d['options'][_0x213939(0x3a3)](_0x150181=>!_0x150181[_0x213939(0x272)]&&_0x150181['long']!==_0x213939(0x2ff))['map'](_0x2be7ed=>({'flags':_0x2be7ed['flags'],'description':_0x2be7ed[_0x213939(0x1f2)]}));_0x3273be[_0x213939(0x18b)]({'name':_0x150887,'description':_0x32113d[_0x213939(0x1f2)](),'group':_0x101442,'usage':_0x4b2c78,'options':_0x233c19});}}return _0x3273be;}console['log'](JSON[_0x12e167(0x3c9)](_0x5dc5af(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x3f31ad=a2_0x2603d4,_0x12ef2d=!process['argv']['slice'](0x2)[_0x3f31ad(0x1f8)];showBriefHelp=_0x12ef2d,program[_0x3f31ad(0x150)](process[_0x3f31ad(0x280)]);_0x12ef2d&&program[_0x3f31ad(0x22e)]();const _0x45afc4=process[_0x3f31ad(0x280)][0x2]===_0x3f31ad(0x1b8);if(process['stderr'][_0x3f31ad(0x381)]&&process[_0x3f31ad(0x280)][_0x3f31ad(0x1f8)]>0x2&&!isDevVersion()&&!_0x45afc4){const _0x90a06e=loadReleaseChannel();checkForUpdate(currentVersion,_0x90a06e)['then'](_0x32e61f=>{_0x32e61f&&displayUpdateNotification(_0x32e61f);})['catch'](()=>{});}}
|
|
1
|
+
const a2_0x521ea7=a2_0x5e37;(function(_0x329689,_0x142051){const _0x413ca6=a2_0x5e37,_0x4d512d=_0x329689();while(!![]){try{const _0x1d5cbc=-parseInt(_0x413ca6(0x226))/0x1+-parseInt(_0x413ca6(0x2c9))/0x2+-parseInt(_0x413ca6(0x207))/0x3+parseInt(_0x413ca6(0x2a9))/0x4+-parseInt(_0x413ca6(0x355))/0x5+-parseInt(_0x413ca6(0x148))/0x6+parseInt(_0x413ca6(0x278))/0x7;if(_0x1d5cbc===_0x142051)break;else _0x4d512d['push'](_0x4d512d['shift']());}catch(_0x3d848f){_0x4d512d['push'](_0x4d512d['shift']());}}}(a2_0x4aa4,0x4396d));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,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}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,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-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{AuthLoginCommand}from'./commands/auth-login-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-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_0x521ea7(0x10f)][a2_0x521ea7(0xc3)]('--version')){let versionOutput='tdx\x20'+currentVersion;buildInfo[a2_0x521ea7(0x24b)]&&!currentVersion[a2_0x521ea7(0xc3)](buildInfo[a2_0x521ea7(0x24b)])&&(versionOutput+='\x20('+buildInfo[a2_0x521ea7(0x24b)]+')'),buildInfo['buildTime']&&(versionOutput+=a2_0x521ea7(0xf4)+buildInfo[a2_0x521ea7(0x133)]),console[a2_0x521ea7(0x114)](versionOutput),process['exit'](0x0);}const program=new Command();export function mergeCommandOptions(_0x357531,_0x57ecc3){const _0x5723b7=a2_0x521ea7,_0x3466fb={..._0x357531};for(const [_0x6af665,_0x26d05b]of Object[_0x5723b7(0x2e9)](_0x57ecc3)){_0x26d05b!==undefined&&(_0x3466fb[_0x6af665]=_0x26d05b);}return _0x3466fb;}let showBriefHelp=![],description=a2_0x521ea7(0x10c);buildInfo[a2_0x521ea7(0x24b)]&&!currentVersion[a2_0x521ea7(0xc3)](buildInfo[a2_0x521ea7(0x24b)])?description+=a2_0x521ea7(0x27d)+currentVersion+'\x20('+buildInfo[a2_0x521ea7(0x24b)]+')':description+=',\x20version\x20'+currentVersion;function a2_0x4aa4(){const _0x57511e=['join','Include\x20raw\x20history\x20data\x20in\x20output','update\x20<name>','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','Plaintext\x20template\x20content','help','list\x20[project]','requiredOption','Update\x20a\x20workspace','[action]','tasks','pull\x20[parent_or_file]','--last','Delivery\x20operations\x20(email\x20senders)','fields\x20[name]','Reason\x20for\x20killing\x20the\x20attempt','Clear\x20session\x20context','Campaign\x20type\x20(email\x20or\x20push)','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','chat\x20[message...]','option','--workspace\x20<name>','[task-name]','action','isArray','--customer-group\x20<json>','937182kfZhAy','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','--skip-validation','Change\x20to\x20directory\x20before\x20executing\x20command','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','validate\x20[file]','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','-r,\x20--resume','Show\x20email\x20template\x20details','--catalog\x20<catalog>','Show\x20master\x20table\x20sample\x20data','show\x20<name-or-id>','clone\x20[source]','Login\x20via\x20OAuth\x20(dev\x20sites\x20only)','login','Create\x20segment\x20folder','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','find','allowUnknownOption','auth','List\x20all\x20data\x20connections','delete\x20<agent-name>','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Show\x20workspace\x20details','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','remove\x20<name>','push\x20[parent_or_file]','--description\x20<text>','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Set\x20or\x20show\x20parent\x20segment\x20context','options','entries','--include-history','--from\x20<date>','Launch\x20an\x20always-on\x20campaign','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','subcommandDescription','activations\x20<segment_name>','Start\x20a\x20new\x20chat\x20session','Agent\x20name','Query\x20type:\x20trino\x20or\x20hive','--delay\x20<seconds>','\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','desc\x20[name]','update\x20<agent-name>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Skip\x20confirmation\x20prompts','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','engage_workspace','--html-file\x20<path>','RT\x202.0\x20configuration\x20management','Attributes\x20from\x20JSON\x20file','tsv','command','Job\x20management\x20commands','--attributes\x20<json>','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','-o,\x20--output\x20<file>','attempt','Override\x20project\x20name','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Check\x20for\x20updates\x20without\x20installing','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','error','delete\x20<args...>','delete\x20<name-or-id>','pull\x20[workspace]','List\x20all\x20available\x20profiles','use\x20[resource]\x20[value]','--json','Validate\x20template\x20YAML\x20files\x20locally','Limit\x20number\x20of\x20rows','Data\x20connection\x20management\x20(for\x20activations/exports)','Invalid\x20--limit\x20value:\x20\x22','segment','show\x20<policy>','-C,\x20--directory\x20<path>','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','long','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','Delete\x20a\x20workspace','--name\x20<new-name>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','registeredArguments','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','--editor-type\x20<type>','connection','Include\x20retried\x20attempts','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','[EXPERIMENTAL]\x20Show\x20chat\x20log','Skip\x20population\x20counting','logLevel','policy','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','\x20(resolved\x20to\x20','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Create\x20a\x20new\x20campaign','Continue\x20most\x20recent\x20conversation','--segment\x20<path>','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Include\x20execution\x20statistics','create\x20<parent_name>\x20<folder_name>','info\x20[segment_name]','Launch\x20a\x20campaign','databases\x20[pattern]','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','optionDescription','status','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','map','Delete\x20a\x20scheduled\x20query','Scheduled\x20query\x20management\x20commands','--email-sender-id\x20<id>','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','template','Read\x20HTML\x20template\x20from\x20file','test\x20[path]','--in\x20<database>','then','Add\x20attributes\x20from\x20JSON\x20file','database','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','-a,\x20--agent\x20<name>','Run\x20Trino\x20query\x20with\x20streaming\x20results','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','list','launch\x20<name-or-id>','pause\x20<name-or-path>','Custom\x20revision\x20name\x20(default:\x20timestamp)','hook','List\x20jobs','Output\x20folder\x20(default:\x20{project_name}.llm)','1673250pjwQen','Open\x20parent\x20segment\x20in\x20web\x20browser','Name\x20for\x20the\x20new\x20project\x20(required)','filter','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','statusline','setup','--cron\x20<expression>','flags','tables\x20[pattern]','--behavior\x20[name]','projects\x20[pattern]','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20journeys\x20in\x20current\x20context','retry','--no-proxy','delete\x20<project-name-or-id>','--prompt\x20<text>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','--plaintext\x20<text>','connections','Customer\x20group\x20from\x20JSON\x20file','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Force\x20retry\x20even\x20if\x20not\x20failed','Maximum\x20rows\x20to\x20display','Output\x20file\x20path','run','create','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Path\x20is\x20not\x20a\x20directory:\x20','End\x20time\x20filter\x20(ISO\x208601\x20format)','Create\x20a\x20new\x20profile','--engine-version\x20<version>','New\x20workspace\x20name','--jsonl','init\x20[name]','--rule\x20<json>','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Update\x20a\x20scheduled\x20query','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Database\x20name\x20(required)','kill\x20<job-id>','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','Directory\x20does\x20not\x20exist:\x20','campaign','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','workspace','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Filtering\x20rule\x20as\x20JSON\x20string','configureHelp','Show\x20segment\x20schema\x20(column\x20types)','Pull\x20templates\x20to\x20YAML\x20files','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Show\x20only\x20master\x20table\x20validation','...','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','--trace','injectIntoOptions','pull\x20[workspace-name]','subcommandTerm','api\x20[endpoint]','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','--site\x20<site>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','--html\x20<html>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','optionTerm','job','Usage:\x20','Resume\x20a\x20paused\x20campaign','--master','--timeout\x20<seconds>','-c,\x20--continue','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','-f,\x20--force','us01','Enable\x20UTM\x20tracking','--from\x20<timestamp>','Revision\x20name\x20(default:\x20timestamp)','includes','--llm-project\x20<name>','folders\x20<parent_name>','--invisible','outputHelp','validate\x20[target]','Update\x20an\x20always-on\x20campaign','createAsync','kill','campaigns\x20[pattern]','information_schema','--max-tool-iterations\x20<n>','Show\x20job\x20details','--verbose','Project\x20description','INFO','--in\x20<db>','Run\x20specific\x20tests\x20(comma-separated)','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','sql\x20[segment_name]','--force','Output\x20as\x20JSON\x20Lines','Workflow\x20project\x20management','Output\x20as\x20JSON','--default','--database\x20<db>','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Always-on\x20campaign\x20management','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','INVALID_ARGUMENT','--resume-from\x20<task>','Action:\x20logs,\x20tasks,\x20kill,\x20retry','--name\x20<new_name>','argument','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','commandUsage','pull\x20<project>\x20[target-dir]','Preview\x20changes\x20without\x20pushing','Resume\x20a\x20paused\x20journey','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','--session-time\x20<time>','Show\x20always-on\x20campaign\x20details','Include\x20subtasks\x20in\x20tasks\x20output','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Show\x20campaign\x20details','\x20-\x20built\x20','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','noColor','Describe\x20table\x20schema','Remove\x20API\x20key\x20from\x20system\x20keychain','Timezone\x20for\x20cron','Workspace\x20name\x20(required)','push\x20[source-dir]','schema\x20<type>','Updated\x20schedule\x20option','Pull\x20campaigns\x20to\x20YAML\x20files','allowExcessArguments','history\x20[chat-id]','run\x20[workflow]','Show\x20journey\x20details','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','variadic','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','upgrade','parent_segment','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','after','Create\x20a\x20new\x20LLM\x20project','Open\x20journey\x20in\x20web\x20browser','AI-native\x20CLI\x20for\x20Treasure\x20Data','isDirectory','Make\x20segment\x20invisible\x20(default:\x20visible)','argv','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','-v,\x20--verbose','--params\x20<json>','traffic\x20<name-or-path>','log','chdir','describe\x20[table]','Validate\x20journey\x20YAML\x20files\x20locally','New\x20segment\x20name','--tsv','aliases','directory','--to\x20<timestamp>','--to\x20<n>','preAction','DEBUG','types','--description\x20<desc>','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','Start\x20time\x20filter\x20(ISO\x208601\x20format)','List\x20journeys\x20(alias\x20for\x20journey\x20list)','YAML\x20file\x20path\x20for\x20unpushed\x20segment','--format\x20<format>','use\x20<path>','List\x20all\x20users\x20in\x20the\x20account','get','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','Arguments:','create\x20<name-or-path>','--subject\x20<subject>','--new','Duplicate\x20an\x20always-on\x20campaign','--no-count-population','update\x20<name-or-id>','Delay\x20in\x20seconds\x20before\x20execution','buildTime','--add-attributes-file\x20<file>','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Maximum\x20number\x20of\x20nodes','Show\x20segment\x20details\x20(alias\x20for\x20view)','resume\x20<name-or-path>','Customer\x20group\x20as\x20JSON\x20string','view\x20<name-or-path>','Timezone\x20for\x20cron\x20(default:\x20UTC)','Manage\x20workflow\x20project\x20secrets','Template\x20name','repeat','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','argumentDescription','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','opts','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','--stage\x20<name>','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','New\x20campaign\x20name','810192YjIslY','set\x20<key=value>','-H,\x20--header\x20<header>','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','agent','Commands:','Attributes\x20as\x20JSON\x20string','Agent\x20prompt/instructions','\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','--type\x20<type>','--name\x20<name>','User\x20management\x20commands','Temperature\x20(0.0-2.0,\x20default:\x200.7)','create\x20<name>','--schedule-option\x20<value>','--priority\x20<-2~2>','--no-color','--limit\x20<n>','[attempt-id]','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','--chat-id\x20<id>','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','commands','upload\x20[project-name-or-dir]','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','--result\x20<target>','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','workflow','Skip\x20confirmation\x20prompt','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','Overwrite\x20local\x20changes\x20without\x20confirmation','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','attempts\x20[project]','beefree','Save\x20output\x20to\x20file','Pull\x20specific\x20template\x20by\x20name','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Create\x20a\x20new\x20agent\x20in\x20current\x20project','\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=ap01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a','Finish\x20an\x20always-on\x20campaign','profiles','-1d','padWidth','upgrade\x20[version]','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','unset\x20<resource>','--reason\x20<text>','activations\x20<name-or-path>','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','Clear\x20workflow\x20project\x20context','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','show\x20<name>','Move\x20to\x20folder','Parent\x20segment\x20management','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','desc\x20[segment_name]','description','List\x20secret\x20keys\x20for\x20a\x20project','--folder\x20<name>','Retry\x20limit\x20(0\x20to\x2032)','Folder\x20description','--no-eval','CDP\x20Journey\x20Orchestration\x20commands','Behaviors\x20as\x20JSON\x20string','Result\x20output\x20destination\x20URL','--dry-run','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','pull\x20[name]','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','-w,\x20--web','Access\x20control\x20policy\x20commands','alias','download\x20<project-name>\x20[output-dir]','Add\x20attributes\x20as\x20JSON\x20string','Enable\x20verbose\x20logging','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','Timezone\x20(e.g.,\x20America/Los_Angeles)','Create\x20a\x20workspace','System\x20prompt/instructions\x20(default:\x20empty)','query\x20[sql]','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','--path\x20<file-path>','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','--session-id\x20<id>','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','required','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','--enriched','--retry-limit\x20<0~32>','Pause\x20a\x20campaign','Pull\x20specific\x20campaign\x20by\x20name','-u,\x20--use','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','submit\x20[query]','backup\x20<name>','use\x20<name>','Submit\x20a\x20job','Options:','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','jsonl','--behaviors-file\x20<file>','--parent-folder\x20<name>','Agent\x20description','columns\x20<name-or-path>','LLM\x20project\x20to\x20use\x20(overrides\x20context)','format','Parent\x20segment\x20description','Preview\x20operation\x20without\x20executing','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20OAuth\x20tokens\x20to\x20profile-specific\x20keychain)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20OAuth\x20login\x20for\x20default\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--site\x20ap01\x20\x20\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20for\x20Japan\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--profile\x20dev\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20saved\x20to\x20\x27dev\x27\x20profile\x0a','name','--limit\x20<rows>','Kill\x20a\x20job','_hidden','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','\x22.\x20Must\x20be\x20a\x20number.','List\x20agents\x20in\x20current\x20project','Read\x20SQL\x20query\x20from\x20file','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','--agent\x20<ref>','show\x20<job-id>','version','Trino\x20catalog\x20(default:\x20td)','--time\x20<iso8601>','fields\x20[parent_name]','Set\x20operation\x20timeout\x20in\x20seconds','--type\x20<api_type>','Show\x20what\x20would\x20be\x20written\x20without\x20writing','-X,\x20--method\x20<method>','slice','Workspace\x20name','LLM\x20project\x20management','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','push','--output\x20<file>','--rule-file\x20<file>','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Update\x20a\x20campaign','--stream','set','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','--timezone\x20<tz>','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Show\x20authentication\x20status\x20and\x20current\x20context','-o,\x20--output\x20<folder>','--add-attributes\x20<json>','models','Personalization\x20service\x20management','--session\x20<id>','Folder\x20name\x20for\x20organization','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','Run\x20tests\x20for\x20an\x20LLM\x20agent','Email\x20sender\x20ID\x20for\x20delivery','--yes','Campaign\x20management','argumentTerm','Unknown\x20action:\x20','always-on-campaign','desc','timeline\x20[project.workflow]','--starter-message\x20<text>','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','clone\x20[source-dir]','--start-at\x20<datetime>','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','restore\x20<folder>','duplicate\x20<name-or-id>','show\x20<agent-name>','trace','length','Database\x20management\x20commands','json','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','parent','Starter\x20message','addHelpText','--tags\x20<tags>','project','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','List\x20available\x20connector\x20types','Read\x20request\x20body\x20from\x20file','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','801312pDLtec','--include-retried','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','--temperature\x20<n>','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Update\x20an\x20existing\x20agent','Workflow\x20parameter\x20(repeatable)','-y,\x20--yes','Preview\x20changes\x20without\x20writing\x20files','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','session','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','HTML\x20template\x20content','Maximum\x20tool\x20iterations\x20(default:\x204)','segments\x20[path]','Version\x20number\x20to\x20view','Set\x20a\x20profile\x20configuration\x20value','Export\x20journey(s)\x20as\x20YAML\x20files','--json-columns\x20<cols>','--reeval','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','folder','Database\x20name\x20(default:\x20information_schema)','run\x20<name>','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','Output\x20file\x20path\x20(default:\x20<name>.yml)','-f,\x20--file\x20<path>','--method\x20<pm>','Skip\x20validation\x20of\x20.dig\x20files','GET','453004SsEMnm','view\x20[name]','pull\x20[project]\x20[agent-name]','--enable-utm-tracking','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20all\x20files\x20including\x20valid\x20ones','push\x20[target]','agents\x20[pattern]','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','claude\x20[args...]','--interval\x20<range>','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','push\x20[path]','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--kind\x20<type>','validate\x20[name]','--max-depth\x20<depth>','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','-d,\x20--database\x20<database>','List\x20all\x20versions\x20of\x20a\x20journey','Delete\x20an\x20LLM\x20project','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','run\x20[name]','Show\x20schedule\x20execution\x20history','View\x20a\x20specific\x20version\x20of\x20a\x20journey','stringify','Segment\x20description','forEach','Open\x20segment\x20in\x20web\x20browser','Behaviors\x20from\x20JSON\x20file','--job-type\x20<type>','Pause\x20a\x20running\x20journey','settings\x20<type>','mcp','Pull\x20specific\x20revision\x20(default:\x20latest)','gitRevision','commandDescription','stderr','Task\x20name\x20for\x20logs\x20action','view\x20[segment_name]','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','preview\x20[name]','use\x20[project]','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Resume\x20from\x20specific\x20task\x20(retry)','--attribute\x20[name]','LLM\x20agent\x20management','--result\x20<url>','Campaign\x20description','replace','pause\x20<name-or-id>','--status\x20<status>','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','accessToken','workflows\x20[project]','logs','--color','journeys\x20[pattern]','Request\x20body\x20as\x20JSON\x20string','--data\x20<data>','--include-subtasks','catch','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','--name\x20<text>','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','tdx','delete\x20<name>','Query\x20engine\x20version','Show\x20agent\x20details','user','parents\x20[pattern]','Delete\x20an\x20agent','--clear','Campaign\x20name','\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','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','clear','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','11247677fWaoVE','llm','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Preview\x20without\x20creating\x20the\x20project','profile',',\x20version\x20','list\x20[path]','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','parse','Email\x20subject\x20template','list\x20[pattern]','--database\x20<name>','Parent\x20folder\x20name\x20for\x20nested\x20folders','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Generate\x20test\x20conversations\x20without\x20evaluation','Read\x20query\x20from\x20file','result\x20<job-id>','Attempt\x20ID','Show\x20journey\x20table\x20column-to-step\x20mapping','isTTY','Remove\x20a\x20profile','Updated\x20description','Updated\x20timezone','Setup\x20API\x20key\x20authentication\x20interactively','--table','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','table','resume\x20<name-or-id>','[options]\x20--\x20[claude-code-args...]','trino','Follow/watch\x20timeline\x20for\x20running\x20attempts','show\x20[table]','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','workspaces\x20[pattern]','delivery','Workspace\x20description','--revision\x20<revision>','--full','Show\x20journey\x20statistics','New\x20template\x20name','set\x20<args...>','_list-commands','--next','--customer-group-file\x20<file>','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','--schedule-type\x20<type>','\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','Pull\x20workflow\x20project\x20to\x20local\x20folder','1313660foLVnc','--to\x20<date>','Maximum\x20recursion\x20depth\x20(default:\x2010)','--table\x20<table>','Cron\x20expression\x20for\x20scheduling','colorFn'];a2_0x4aa4=function(){return _0x57511e;};return a2_0x4aa4();}function a2_0x5e37(_0x1da3f5,_0x151ef6){_0x1da3f5=_0x1da3f5-0xab;const _0x4aa47e=a2_0x4aa4();let _0x5e37df=_0x4aa47e[_0x1da3f5];return _0x5e37df;}program['name'](a2_0x521ea7(0x26b))[a2_0x521ea7(0x183)](description),program['option'](a2_0x521ea7(0x317),a2_0x521ea7(0x2cc))[a2_0x521ea7(0x2c3)]('-p,\x20--profile\x20<name>',a2_0x521ea7(0x254))['option'](a2_0x521ea7(0xb2),'TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)',a2_0x521ea7(0xbf))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x126),a2_0x521ea7(0x1f2))['option'](a2_0x521ea7(0x290),a2_0x521ea7(0x198))['option'](a2_0x521ea7(0x310),a2_0x521ea7(0x199))['option'](a2_0x521ea7(0x378),a2_0x521ea7(0xf2))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x119),a2_0x521ea7(0x1a3))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1d6),a2_0x521ea7(0x16b))[a2_0x521ea7(0x2c3)]('--limit\x20<number>',a2_0x521ea7(0x372))['option'](a2_0x521ea7(0x261),'Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x158),'Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)',![])[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x111),a2_0x521ea7(0x197),![])['option']('--debug',a2_0x521ea7(0x13f))['option'](a2_0x521ea7(0xab),a2_0x521ea7(0x20b))['option'](a2_0x521ea7(0xbb),a2_0x521ea7(0x1cd),'30')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x18c),a2_0x521ea7(0x1ba),![])[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x20e),a2_0x521ea7(0x2f8),![])[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1e4),a2_0x521ea7(0x2a4))[a2_0x521ea7(0x2c3)]('--parent-segment\x20<name>',a2_0x521ea7(0xd5))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0xc4),a2_0x521ea7(0x1b7)),program[a2_0x521ea7(0x388)]({'formatHelp':(_0x164279,_0x4c9185)=>{const _0x33468a=a2_0x521ea7,_0x3aefe0=_0x4c9185[_0x33468a(0x173)](_0x164279,_0x4c9185),_0x5e197a=0x2,_0x1b6eba=0x2;function _0xae8d4e(_0x23fc5f){const _0x245bd9=_0x23fc5f;return!!(_0x245bd9['_hidden']||_0x245bd9['hidden']);}function _0x343a98(_0x2e8b5f,_0x50fdfe){if(_0x50fdfe){const _0x4abf0b=''+_0x2e8b5f['padEnd'](_0x3aefe0+_0x1b6eba)+_0x50fdfe;return _0x4abf0b;}return _0x2e8b5f;}function _0x230325(_0x2e72aa){const _0x1cbdff=_0x33468a;return _0x2e72aa[_0x1cbdff(0x2af)]('\x0a')[_0x1cbdff(0x25a)](/^/gm,'\x20'[_0x1cbdff(0x13e)](_0x5e197a));}const _0x19d844=[];_0x19d844[_0x33468a(0x1d5)](_0x33468a(0xb8)+_0x4c9185[_0x33468a(0xe9)](_0x164279));const _0x56592c=_0x4c9185[_0x33468a(0x24c)](_0x164279);_0x56592c&&(_0x19d844[_0x33468a(0x1d5)](''),_0x19d844[_0x33468a(0x1d5)](_0x56592c));const _0x1584ad=_0x164279[_0x33468a(0x15f)][_0x33468a(0x358)](_0x27f903=>!_0xae8d4e(_0x27f903));if(_0x1584ad[_0x33468a(0x1fa)]>0x0){if(_0x164279[_0x33468a(0x1be)]()===_0x33468a(0x26b)){const _0x4d0f1f=_0x164279[_0x33468a(0x142)](),_0x110018=!_0x4d0f1f[_0x33468a(0xf6)]&&process['stdout'][_0x33468a(0x28b)],_0x5d947d=COMMAND_CATEGORIES,_0x51c27e=(_0x12ca21,_0x583819)=>_0x110018?_0x583819(_0x12ca21):_0x12ca21,_0x406a9d=new Map();_0x1584ad[_0x33468a(0x243)](_0x4192d8=>{const _0xd1321a=_0x33468a;_0x406a9d[_0xd1321a(0x1db)](_0x4192d8[_0xd1321a(0x1be)](),_0x4192d8);}),_0x5d947d[_0x33468a(0x243)](_0x350056=>{const _0x35f42f=_0x33468a,_0x5687d3=_0x350056[_0x35f42f(0x15f)]['flatMap'](_0x4d0d17=>_0x406a9d[_0x35f42f(0x129)](_0x4d0d17)??[]);if(_0x5687d3[_0x35f42f(0x1fa)]>0x0){_0x19d844[_0x35f42f(0x1d5)](''),_0x19d844[_0x35f42f(0x1d5)](_0x51c27e(_0x350056['name']+':',_0x350056[_0x35f42f(0x2ae)]));const _0x5d2e0e=_0x5687d3['map'](_0x43d143=>{const _0x580ab8=_0x35f42f,_0x1ce498=_0x4c9185[_0x580ab8(0xae)](_0x43d143),_0x48aa1d=_0x4c9185[_0x580ab8(0x2ee)](_0x43d143);return _0x343a98(_0x1ce498,_0x48aa1d);});_0x19d844['push'](_0x230325(_0x5d2e0e));}}),_0x19d844[_0x33468a(0x1d5)](''),_0x19d844[_0x33468a(0x1d5)](_0x33468a(0x384));}else{const _0x2d82b7=_0x1584ad['map'](_0x1b4ca9=>{const _0x22257c=_0x33468a,_0x453626=_0x4c9185[_0x22257c(0xae)](_0x1b4ca9),_0x56e992=_0x4c9185[_0x22257c(0x2ee)](_0x1b4ca9);return _0x343a98(_0x453626,_0x56e992);});_0x19d844[_0x33468a(0x1d5)](''),_0x19d844[_0x33468a(0x1d5)](_0x33468a(0x14d)),_0x19d844['push'](_0x230325(_0x2d82b7));}}if(showBriefHelp&&_0x164279[_0x33468a(0x1be)]()===_0x33468a(0x26b))_0x19d844[_0x33468a(0x1d5)](''),_0x19d844['push'](_0x33468a(0x339));else{const _0x41532b=_0x164279['options'][_0x33468a(0x358)](_0x252dcb=>!_0xae8d4e(_0x252dcb));if(_0x41532b[_0x33468a(0x1fa)]>0x0){const _0x3a9d91=_0x41532b[_0x33468a(0x33d)](_0x4e36e0=>{const _0x63813b=_0x33468a,_0x39d37f=_0x4c9185[_0x63813b(0xb6)](_0x4e36e0),_0x1163f1=_0x4c9185[_0x63813b(0x33a)](_0x4e36e0);return _0x343a98(_0x39d37f,_0x1163f1);});_0x19d844[_0x33468a(0x1d5)](''),_0x19d844[_0x33468a(0x1d5)](_0x33468a(0x1b0)),_0x19d844[_0x33468a(0x1d5)](_0x230325(_0x3a9d91));}}const _0x4fc7d7=(_0x164279[_0x33468a(0x321)]||[])[_0x33468a(0x358)](_0xbc2bfc=>!_0xae8d4e(_0xbc2bfc));if(_0x4fc7d7['length']>0x0){const _0x4c0dff=_0x4fc7d7[_0x33468a(0x33d)](_0x411f66=>{const _0x273df8=_0x33468a,_0x4837f0=_0x4c9185[_0x273df8(0x1eb)](_0x411f66),_0x11a361=_0x4c9185[_0x273df8(0x140)](_0x411f66);return _0x343a98(_0x4837f0,_0x11a361);});_0x19d844[_0x33468a(0x1d5)](''),_0x19d844['push'](_0x33468a(0x12b)),_0x19d844['push'](_0x230325(_0x4c0dff));}return _0x19d844[_0x33468a(0x2af)]('\x0a')+'\x0a';},'subcommandTerm':_0x18003e=>{const _0x195f49=a2_0x521ea7,_0x4a6f36=(_0x18003e[_0x195f49(0x321)]||[])[_0x195f49(0x33d)](_0x1dc14f=>_0x1dc14f[_0x195f49(0x1a4)]?'<'+_0x1dc14f[_0x195f49(0x1be)]()+'>':'['+_0x1dc14f[_0x195f49(0x1be)]()+']')[_0x195f49(0x2af)]('\x20'),_0x4714c9=_0x18003e[_0x195f49(0x11a)](),_0x4ca2df=_0x4714c9[_0x195f49(0x1fa)]>0x0?_0x18003e[_0x195f49(0x1be)]()+',\x20'+_0x4714c9['join'](',\x20'):_0x18003e[_0x195f49(0x1be)]();return _0x4a6f36?_0x4ca2df+'\x20'+_0x4a6f36:_0x4ca2df;}}),program[a2_0x521ea7(0x352)](a2_0x521ea7(0x11e),_0x35c8eb=>{const _0x2b4d77=a2_0x521ea7,_0x40b288=_0x35c8eb[_0x2b4d77(0x142)]();if(_0x40b288[_0x2b4d77(0x11b)]){const _0x6a82da=resolve(_0x40b288[_0x2b4d77(0x11b)]),_0x110749=_0x6a82da!==_0x40b288['directory']?_0x2b4d77(0x32e)+_0x6a82da+')':'';if(!existsSync(_0x6a82da))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x2b4d77(0x382)+_0x40b288['directory']+_0x110749,undefined,{'helpText':_0x2b4d77(0x1bc)});const _0x2d7b5b=statSync(_0x6a82da);if(!_0x2d7b5b[_0x2b4d77(0x10d)]())throw new SDKError(ErrorCode[_0x2b4d77(0xe2)],_0x2b4d77(0x373)+_0x40b288[_0x2b4d77(0x11b)]+_0x110749,undefined,{'helpText':_0x2b4d77(0x21b)});process[_0x2b4d77(0x115)](_0x6a82da);}if(!_0x40b288[_0x2b4d77(0x1b8)]){if(_0x40b288[_0x2b4d77(0x292)])_0x40b288['format']='table';else{if(_0x40b288[_0x2b4d77(0x1fc)])_0x40b288[_0x2b4d77(0x1b8)]=_0x2b4d77(0x1fc);else{if(_0x40b288[_0x2b4d77(0x1b2)])_0x40b288[_0x2b4d77(0x1b8)]=_0x2b4d77(0x1b2);else _0x40b288[_0x2b4d77(0x2fe)]&&(_0x40b288[_0x2b4d77(0x1b8)]=_0x2b4d77(0x2fe));}}}if(_0x40b288[_0x2b4d77(0x1f9)])_0x40b288['logLevel']=LogLevel['TRACE'];else{if(_0x40b288['debug'])_0x40b288[_0x2b4d77(0x32a)]=LogLevel[_0x2b4d77(0x11f)];else _0x40b288[_0x2b4d77(0x32a)]===undefined&&(_0x40b288[_0x2b4d77(0x32a)]=LogLevel[_0x2b4d77(0xd2)]);}});async function createTDXInstance(_0x3d24ca){const _0x44a852=a2_0x521ea7,_0x44f08c=await GlobalContext[_0x44a852(0xca)](_0x3d24ca);return _0x44f08c[_0x44a852(0xac)](_0x3d24ca),TDX[_0x44a852(0x371)]({'site':_0x44f08c['site'],'apiKey':_0x44f08c['apiKey'],'accessToken':_0x44f08c[_0x44a852(0x25e)],'logLevel':_0x44f08c[_0x44a852(0x32a)],'profile':_0x44f08c[_0x44a852(0x27c)]});}const databaseCmd=program[a2_0x521ea7(0x2ff)]('database')[a2_0x521ea7(0x194)]('db')[a2_0x521ea7(0x183)](a2_0x521ea7(0x1fb)),databaseListAction=async(_0x6926b7,_0x3e6732)=>{const _0x4ff3a2=a2_0x521ea7,_0x274876=new DatabasesCommand(),_0x871396=program[_0x4ff3a2(0x142)](),_0x5273c2=await createTDXInstance(_0x871396),_0x3a8170=await _0x274876['run']({'options':{..._0x871396,..._0x3e6732},'args':_0x6926b7?[_0x6926b7]:[],'tdx':_0x5273c2});gracefulExit(_0x3a8170);};databaseCmd['command'](a2_0x521ea7(0x282))[a2_0x521ea7(0x183)](a2_0x521ea7(0x145))['action'](databaseListAction),program['command'](a2_0x521ea7(0x338),{'hidden':!![]})[a2_0x521ea7(0x183)](a2_0x521ea7(0x253))[a2_0x521ea7(0x2c6)](databaseListAction),program['command'](a2_0x521ea7(0x2c2))['description'](a2_0x521ea7(0x2ce))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1c7),a2_0x521ea7(0x2d0))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x12e),a2_0x521ea7(0x2f0))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x15c),a2_0x521ea7(0x2da))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1da),a2_0x521ea7(0x327))['action'](async(_0x259c38,_0x31acd0)=>{const _0x3cc090=a2_0x521ea7,_0x4d6779=program[_0x3cc090(0x142)](),_0x1e4752=await createTDXInstance(_0x4d6779);if(_0x259c38[0x0]===_0x3cc090(0x371)){const _0x2e3fcd=new ChatCreateCommand();gracefulExit(await _0x2e3fcd[_0x3cc090(0x370)]({'options':{..._0x4d6779,..._0x31acd0},'args':_0x259c38[_0x3cc090(0x1d1)](0x1),'tdx':_0x1e4752}));return;}const _0x154f77=new ChatCommand(),_0x4417f9=await _0x154f77[_0x3cc090(0x370)]({'options':{..._0x4d6779,..._0x31acd0},'args':_0x259c38,'tdx':_0x1e4752});gracefulExit(_0x4417f9);});const apiCmd=program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0xaf))['summary'](a2_0x521ea7(0x26a))['addHelpText'](a2_0x521ea7(0x109),a2_0x521ea7(0x2f4))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1d0),a2_0x521ea7(0x1e6),a2_0x521ea7(0x225))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x264),a2_0x521ea7(0x263))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x222),a2_0x521ea7(0x205))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x14a),a2_0x521ea7(0x36c),(_0x248312,_0x45cf48)=>{return _0x45cf48?[..._0x45cf48,_0x248312]:[_0x248312];})['option'](a2_0x521ea7(0x1ce),a2_0x521ea7(0x25d),'td')[a2_0x521ea7(0x2c6)](async(_0x4ae0be,_0x294937)=>{const _0x39ab3c=a2_0x521ea7;if(!_0x4ae0be){apiCmd[_0x39ab3c(0x2b4)]();return;}const _0x18a8b4=new ApiCommand(),_0xd80467=program[_0x39ab3c(0x142)](),_0x5c4619=await createTDXInstance(_0xd80467),_0x5995cb=await _0x18a8b4[_0x39ab3c(0x370)]({'options':{..._0xd80467,..._0x294937},'args':[_0x4ae0be],'tdx':_0x5c4619});gracefulExit(_0x5995cb);});program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x249))[a2_0x521ea7(0x183)](a2_0x521ea7(0x2cd))[a2_0x521ea7(0x200)](a2_0x521ea7(0x109),'\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,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a')['action'](async _0x548224=>{const _0x322c3a=a2_0x521ea7,_0x52c7e9=new MCPCommand(),_0x585790=program[_0x322c3a(0x142)](),_0x50e4fc=await createTDXInstance(_0x585790),_0x3e6a06=await _0x52c7e9[_0x322c3a(0x370)]({'options':{..._0x585790,..._0x548224},'args':[],'tdx':_0x50e4fc});gracefulExit(_0x3e6a06);});const tableCmd=program['command'](a2_0x521ea7(0x292))['description']('Table\x20management\x20commands'),tableListAction=async(_0x553023,_0x364bc5)=>{const _0x15e4d1=a2_0x521ea7,_0x5cad86=new TablesCommand(),_0x26e895=program[_0x15e4d1(0x142)](),_0x501140=await createTDXInstance(_0x26e895);_0x364bc5['in']&&(_0x364bc5['database']=_0x364bc5['in']);const _0x511228=await _0x5cad86[_0x15e4d1(0x370)]({'options':{..._0x26e895,..._0x364bc5},'args':_0x553023?[_0x553023]:[],'tdx':_0x501140});gracefulExit(_0x511228);};tableCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x282))['description']('List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)')['option'](a2_0x521ea7(0x23a),a2_0x521ea7(0x31b))[a2_0x521ea7(0x2c3)]('--in\x20<database>',a2_0x521ea7(0x1bb))[a2_0x521ea7(0x2c6)](tableListAction),program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x35e),{'hidden':!![]})[a2_0x521ea7(0x183)](a2_0x521ea7(0x206))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x23a),a2_0x521ea7(0x31b))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x345),a2_0x521ea7(0x1bb))['action'](tableListAction),program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x297))[a2_0x521ea7(0x183)](a2_0x521ea7(0xd7))['option'](a2_0x521ea7(0x23a),a2_0x521ea7(0x2ed))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x345),a2_0x521ea7(0x1bb))[a2_0x521ea7(0x2c6)](async(_0x31bf5f,_0x24df08)=>{const _0x45fa97=a2_0x521ea7,_0x5f4838=new ShowCommand(),_0xb2bea5=program[_0x45fa97(0x142)](),_0x61f645=await createTDXInstance(_0xb2bea5);_0x24df08['in']&&(_0x24df08[_0x45fa97(0x348)]=_0x24df08['in']);const _0x4f2a7e=await _0x5f4838[_0x45fa97(0x370)]({'options':{..._0xb2bea5,..._0x24df08},'args':_0x31bf5f?[_0x31bf5f]:[],'tdx':_0x61f645});gracefulExit(_0x4f2a7e);}),program['command'](a2_0x521ea7(0x116))['alias'](a2_0x521ea7(0x1ee))[a2_0x521ea7(0x183)](a2_0x521ea7(0xf7))['option']('-d,\x20--database\x20<database>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x345),a2_0x521ea7(0x1bb))[a2_0x521ea7(0x2c6)](async(_0x54fb34,_0x1a71cb)=>{const _0x38e112=a2_0x521ea7,_0x53693c=new DescribeCommand(),_0x3aa34a=program[_0x38e112(0x142)](),_0x1be779=await createTDXInstance(_0x3aa34a);_0x1a71cb['in']&&(_0x1a71cb[_0x38e112(0x348)]=_0x1a71cb['in']);const _0x6b425b=await _0x53693c[_0x38e112(0x370)]({'options':{..._0x3aa34a,..._0x1a71cb},'args':_0x54fb34?[_0x54fb34]:[],'tdx':_0x1be779});gracefulExit(_0x6b425b);}),program['command'](a2_0x521ea7(0x19d))[a2_0x521ea7(0x183)](a2_0x521ea7(0x34b))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x23a),'Database\x20to\x20query\x20(default:\x20information_schema)')['option'](a2_0x521ea7(0x345),a2_0x521ea7(0x1bb))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2d3),a2_0x521ea7(0x1ca))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x222),a2_0x521ea7(0x1c5))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1bf),a2_0x521ea7(0x36e))[a2_0x521ea7(0x2c6)](async(_0x5688c0,_0xbd4065)=>{const _0x1e3ecf=a2_0x521ea7,_0x4c2552=new QueryCommand(),_0x4491be=program[_0x1e3ecf(0x142)](),_0x9cce13=await createTDXInstance(_0x4491be);_0xbd4065['in']&&(_0xbd4065[_0x1e3ecf(0x348)]=_0xbd4065['in']);const _0x20fc3f=await _0x4c2552[_0x1e3ecf(0x370)]({'options':mergeCommandOptions(_0x4491be,_0xbd4065),'args':_0x5688c0?[_0x5688c0]:[],'tdx':_0x9cce13});gracefulExit(_0x20fc3f);});const segmentCmd=program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x315))[a2_0x521ea7(0x194)]('sg')[a2_0x521ea7(0x183)]('CDP\x20segment\x20management\x20commands'),segmentListAction=async(_0x4767e8,_0x33c5e3)=>{const _0x65805f=a2_0x521ea7,_0xf4bca6=new SegmentsCommand(),_0x4f482b=program[_0x65805f(0x142)](),_0x158a5f=await createTDXInstance(_0x4f482b),_0x34aad8=await _0xf4bca6['run']({'options':{..._0x4f482b,..._0x33c5e3},'args':_0x4767e8?[_0x4767e8]:[],'tdx':_0x158a5f});gracefulExit(_0x34aad8);};segmentCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x27e))[a2_0x521ea7(0x183)](a2_0x521ea7(0x1f5))[a2_0x521ea7(0x2c3)]('-r,\x20--recursive',a2_0x521ea7(0x1de))['option'](a2_0x521ea7(0x238),a2_0x521ea7(0x2ab),'10')[a2_0x521ea7(0x2c6)](segmentListAction),program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x215),{'hidden':!![]})[a2_0x521ea7(0x183)](a2_0x521ea7(0x17b))['option']('-r,\x20--recursive','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x238),a2_0x521ea7(0x2ab),'10')[a2_0x521ea7(0x2c6)](segmentListAction),segmentCmd['command'](a2_0x521ea7(0x127),{'hidden':!![]})[a2_0x521ea7(0x183)](a2_0x521ea7(0x1dc))[a2_0x521ea7(0x2c6)](async(_0x55e915,_0x104ccf)=>{const _0x477334=a2_0x521ea7,_0x7ae03b=new SegmentUseCommand(),_0x55d21c=program[_0x477334(0x142)](),_0x149051=await createTDXInstance(_0x55d21c),_0x1e0bbf=await _0x7ae03b[_0x477334(0x370)]({'options':{..._0x55d21c,..._0x104ccf},'args':[_0x55e915],'tdx':_0x149051});gracefulExit(_0x1e0bbf);});const segmentViewAction=async(_0x17dc20,_0x262f78)=>{const _0x2acdae=a2_0x521ea7,_0x117260=new SegmentViewCommand(),_0xb4c9a6=program['opts'](),_0x52d05b=await createTDXInstance(_0xb4c9a6),_0x194f5d=await _0x117260[_0x2acdae(0x370)]({'options':{..._0xb4c9a6,..._0x262f78},'args':_0x17dc20?[_0x17dc20]:[],'tdx':_0x52d05b});gracefulExit(_0x194f5d);};segmentCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x24f))[a2_0x521ea7(0x183)](a2_0x521ea7(0x34c))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x192),'Open\x20segment\x20in\x20web\x20browser')[a2_0x521ea7(0x2c6)](segmentViewAction),segmentCmd['command'](a2_0x521ea7(0x336),{'hidden':!![]})['alias']('describe')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x192),a2_0x521ea7(0x244))['description'](a2_0x521ea7(0x137))[a2_0x521ea7(0x2c6)](segmentViewAction),segmentCmd['command'](a2_0x521ea7(0x182))[a2_0x521ea7(0x183)](a2_0x521ea7(0x389))['action'](async(_0x49b87a,_0x43e9bb)=>{const _0x5cbab3=a2_0x521ea7,_0x3d6e1e=new SegmentDescCommand(),_0x4b3702=program[_0x5cbab3(0x142)](),_0xeb47dd=await createTDXInstance(_0x4b3702),_0x51ceb9=await _0x3d6e1e[_0x5cbab3(0x370)]({'options':{..._0x4b3702,..._0x43e9bb},'args':_0x49b87a?[_0x49b87a]:[],'tdx':_0xeb47dd});gracefulExit(_0x51ceb9);}),segmentCmd[a2_0x521ea7(0x2ff)]('show\x20[segment_name]')[a2_0x521ea7(0x183)]('Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x521ea7(0x2c6)](async(_0x3c8586,_0x207364)=>{const _0x256f90=a2_0x521ea7,_0x21cff7=new SegmentShowCommand(),_0xe55551=program[_0x256f90(0x142)](),_0xbe091=await createTDXInstance(_0xe55551),_0xbdb76f=await _0x21cff7[_0x256f90(0x370)]({'options':{..._0xe55551,..._0x207364},'args':_0x3c8586?[_0x3c8586]:[],'tdx':_0xbe091});gracefulExit(_0xbdb76f);}),segmentCmd['command'](a2_0x521ea7(0xc5),{'hidden':!![]})[a2_0x521ea7(0x183)]('[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)')[a2_0x521ea7(0x2c6)](async(_0x33c22c,_0x1c7033)=>{const _0x3092f3=a2_0x521ea7,_0x264fdb=new SegmentFolderListCommand(),_0x3a3f65=program['opts'](),_0x41b20b=await createTDXInstance(_0x3a3f65),_0x48604b=await _0x264fdb[_0x3092f3(0x370)]({'options':{..._0x3a3f65,..._0x1c7033},'args':[_0x33c22c],'tdx':_0x41b20b});gracefulExit(_0x48604b);});const folderCmd=segmentCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x21c),{'hidden':!![]})[a2_0x521ea7(0x183)]('[DEPRECATED]\x20Segment\x20folder\x20management');folderCmd[a2_0x521ea7(0x2ff)]('show\x20<folder_ref>')[a2_0x521ea7(0x183)](a2_0x521ea7(0x269))[a2_0x521ea7(0x2c6)](async(_0x3d05b7,_0x5b7aa2)=>{const _0x48dc34=a2_0x521ea7,_0x414ae3=new SegmentFolderShowCommand(),_0x2acff9=program[_0x48dc34(0x142)](),_0x471538=await createTDXInstance(_0x2acff9),_0x4914ca=await _0x414ae3['run']({'options':{..._0x2acff9,..._0x5b7aa2},'args':[_0x3d05b7],'tdx':_0x471538});gracefulExit(_0x4914ca);}),segmentCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0xd8))['description'](a2_0x521ea7(0x166))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x19f),a2_0x521ea7(0x125))[a2_0x521ea7(0x2c6)](async(_0x1de74a,_0x4897cf)=>{const _0x280f58=a2_0x521ea7,_0x2d503f=new SegmentSQLCommand(),_0x237cdd=program[_0x280f58(0x142)](),_0x185d70=await createTDXInstance(_0x237cdd),_0x5c8bbd=await _0x2d503f[_0x280f58(0x370)]({'options':{..._0x237cdd,..._0x4897cf},'args':_0x1de74a?[_0x1de74a]:[],'tdx':_0x185d70});gracefulExit(_0x5c8bbd);}),segmentCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x1cc))[a2_0x521ea7(0x183)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)')[a2_0x521ea7(0x2c6)](async(_0x3d9cfa,_0x1c71ff)=>{const _0x24aaad=a2_0x521ea7,_0x381107=new SegmentFieldsCommand(),_0x555a1a=program[_0x24aaad(0x142)](),_0x33f22c=await createTDXInstance(_0x555a1a),_0x4bcfc0=await _0x381107[_0x24aaad(0x370)]({'options':{..._0x555a1a,..._0x1c71ff},'args':_0x3d9cfa?[_0x3d9cfa]:[],'tdx':_0x33f22c});gracefulExit(_0x4bcfc0);}),segmentCmd['command'](a2_0x521ea7(0x2ba))[a2_0x521ea7(0x183)]('Pull\x20child\x20segments\x20to\x20YAML\x20files')['option']('--dry-run',a2_0x521ea7(0x176))[a2_0x521ea7(0x2c6)](async(_0x32adf5,_0x4e65b9)=>{const _0x4274f5=a2_0x521ea7,_0x5ec2f5=new SegmentPullCommand(),_0x43d56d=program[_0x4274f5(0x142)](),_0xe904c4=await createTDXInstance(_0x43d56d),_0x28baea=await _0x5ec2f5[_0x4274f5(0x370)]({'options':{..._0x43d56d,..._0x4e65b9},'args':_0x32adf5?[_0x32adf5]:[],'tdx':_0xe904c4});gracefulExit(_0x28baea);}),segmentCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x2e4))[a2_0x521ea7(0x183)](a2_0x521ea7(0xe1))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x18c),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x521ea7(0x2c3)]('--delete','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)')[a2_0x521ea7(0x2c6)](async(_0x213f4b,_0x1fdf64)=>{const _0x25dbc1=a2_0x521ea7,_0x44cd14=new SegmentPushCommand(),_0x55bc2f=program[_0x25dbc1(0x142)](),_0xb4459=await createTDXInstance(_0x55bc2f),_0x31bc50=await _0x44cd14[_0x25dbc1(0x370)]({'options':{..._0x55bc2f,..._0x1fdf64},'args':_0x213f4b?[_0x213f4b]:[],'tdx':_0xb4459});gracefulExit(_0x31bc50);}),segmentCmd[a2_0x521ea7(0x2ff)]('validate\x20[target]')[a2_0x521ea7(0x183)]('Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally')[a2_0x521ea7(0x2c6)](async(_0x531167,_0x45ae8c)=>{const _0x530165=a2_0x521ea7,_0xa34ca2=new SegmentValidateCommand(),_0x1850f1=program[_0x530165(0x142)](),_0x5acaab=await createTDXInstance(_0x1850f1),_0x11d303=await _0xa34ca2[_0x530165(0x370)]({'options':{..._0x1850f1,..._0x45ae8c},'args':_0x531167?[_0x531167]:[],'tdx':_0x5acaab});gracefulExit(_0x11d303);}),segmentCmd['command']('create\x20<segment_name>',{'hidden':!![]})[a2_0x521ea7(0x183)](a2_0x521ea7(0x203))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2e5),a2_0x521ea7(0x242))[a2_0x521ea7(0x2c3)]('--rule\x20<json>',a2_0x521ea7(0x387))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1d7),'Filtering\x20rule\x20from\x20JSON\x20file')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x185),a2_0x521ea7(0x1e5))[a2_0x521ea7(0x2c3)]('--kind\x20<type>',a2_0x521ea7(0x2f7))['option'](a2_0x521ea7(0xc6),a2_0x521ea7(0x10e))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x130),a2_0x521ea7(0x329))[a2_0x521ea7(0x2c6)](async(_0x55874f,_0x369680)=>{const _0x3cce09=a2_0x521ea7,_0x2bd348=new SegmentCreateCommand(),_0x4171d7=program[_0x3cce09(0x142)](),_0x33f753=await createTDXInstance(_0x4171d7),_0x2c33e2=await _0x2bd348[_0x3cce09(0x370)]({'options':{..._0x4171d7,..._0x369680},'args':[_0x55874f],'tdx':_0x33f753});gracefulExit(_0x2c33e2);}),segmentCmd['command']('update\x20<segment_name>',{'hidden':!![]})[a2_0x521ea7(0x183)](a2_0x521ea7(0x1c2))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0xe5),a2_0x521ea7(0x118))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2e5),a2_0x521ea7(0x28d))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x37a),a2_0x521ea7(0x285))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1d7),a2_0x521ea7(0xe8))[a2_0x521ea7(0x2c3)]('--folder\x20<name>',a2_0x521ea7(0x17f))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x236),a2_0x521ea7(0x2f7))['action'](async(_0x547291,_0x5bad78)=>{const _0x4adff4=a2_0x521ea7,_0x64bd7b=new SegmentUpdateCommand(),_0x5656c5=program[_0x4adff4(0x142)](),_0x37e4dc=await createTDXInstance(_0x5656c5),_0x16f57a=await _0x64bd7b[_0x4adff4(0x370)]({'options':{..._0x5656c5,..._0x5bad78},'args':[_0x547291],'tdx':_0x37e4dc});gracefulExit(_0x16f57a);});const parentCmd=segmentCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x1fe),{'hidden':!![]})['description'](a2_0x521ea7(0x2e0)),parentListAction=async(_0x2f6d2d,_0x36db40)=>{const _0x3a4691=a2_0x521ea7,_0x3cfe42=new ParentSegmentListCommand(),_0x44210b=program['opts'](),_0x14d777=await createTDXInstance(_0x44210b),_0x2dbdc8=await _0x3cfe42[_0x3a4691(0x370)]({'options':{..._0x44210b,..._0x36db40},'args':_0x2f6d2d?[_0x2f6d2d]:[],'tdx':_0x14d777});gracefulExit(_0x2dbdc8);};parentCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x282))[a2_0x521ea7(0x183)](a2_0x521ea7(0x27a))[a2_0x521ea7(0x2c6)](parentListAction),segmentCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x270),{'hidden':!![]})[a2_0x521ea7(0x183)](a2_0x521ea7(0x1c6))[a2_0x521ea7(0x2c6)](parentListAction),parentCmd[a2_0x521ea7(0x2ff)]('pull\x20[name]')['description'](a2_0x521ea7(0x320))['option'](a2_0x521ea7(0x303),a2_0x521ea7(0x221))[a2_0x521ea7(0x2c6)](async(_0x420ad7,_0x5b2981)=>{const _0x1caac7=a2_0x521ea7,_0x260f13=new ParentSegmentPullCommand(),_0x175bc7=program['opts'](),_0x2c3faa=await createTDXInstance(_0x175bc7),_0x47a09a=await _0x260f13[_0x1caac7(0x370)]({'options':{..._0x175bc7,..._0x5b2981},'args':_0x420ad7?[_0x420ad7]:[],'tdx':_0x2c3faa});gracefulExit(_0x47a09a);}),parentCmd[a2_0x521ea7(0x2ff)]('push\x20[file]')[a2_0x521ea7(0x183)](a2_0x521ea7(0x168))[a2_0x521ea7(0x2c6)](async(_0x1795dd,_0x2bc20c)=>{const _0x2c5f05=a2_0x521ea7,_0x1a18e9=new ParentSegmentPushCommand(),_0x128426=program[_0x2c5f05(0x142)](),_0x30ebb6=await createTDXInstance(_0x128426),_0x221a8c=await _0x1a18e9[_0x2c5f05(0x370)]({'options':{..._0x128426,..._0x2bc20c},'args':_0x1795dd?[_0x1795dd]:[],'tdx':_0x30ebb6});gracefulExit(_0x221a8c);}),parentCmd['command'](a2_0x521ea7(0x2cf))['description'](a2_0x521ea7(0x2e2))['option']('--master','Show\x20only\x20master\x20table\x20validation')['option'](a2_0x521ea7(0x256),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x521ea7(0x2c3)]('--behavior\x20[name]',a2_0x521ea7(0x380))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1a6),a2_0x521ea7(0x1fd))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x232),a2_0x521ea7(0x367),a2_0x521ea7(0x172))[a2_0x521ea7(0x2c6)](async(_0x536f57,_0x44551c)=>{const _0x1b417b=a2_0x521ea7,_0x9c11a3=new ParentSegmentValidateCommand(),_0x4f8648=program['opts'](),_0x5d4666=await createTDXInstance(_0x4f8648),_0x534fdf=await _0x9c11a3[_0x1b417b(0x370)]({'options':{..._0x4f8648,..._0x44551c},'args':_0x536f57?[_0x536f57]:[],'tdx':_0x5d4666});gracefulExit(_0x534fdf);}),parentCmd[a2_0x521ea7(0x2ff)]('preview\x20[file]')[a2_0x521ea7(0x183)](a2_0x521ea7(0x146))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0xba),a2_0x521ea7(0x2d4))[a2_0x521ea7(0x2c3)]('--attribute\x20[name]',a2_0x521ea7(0x277))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x35f),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')['option']('--enriched',a2_0x521ea7(0x2c1))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x232),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x521ea7(0x172))['action'](async(_0x54ab8e,_0x179328)=>{const _0x54f7ed=a2_0x521ea7,_0x2fd61e=new ParentSegmentPreviewCommand(),_0x5d2b21=program[_0x54f7ed(0x142)](),_0x5a399c=await createTDXInstance(_0x5d2b21),_0x23609e=await _0x2fd61e['run']({'options':{..._0x5d2b21,..._0x179328},'args':_0x54ab8e?[_0x54ab8e]:[],'tdx':_0x5a399c});gracefulExit(_0x23609e);}),parentCmd[a2_0x521ea7(0x2ff)]('run\x20[name]')[a2_0x521ea7(0x183)](a2_0x521ea7(0x181))[a2_0x521ea7(0x2c6)](async(_0x1e4123,_0x47ded2)=>{const _0x36292c=a2_0x521ea7,_0x381636=new ParentSegmentRunCommand(),_0x1203ae=program['opts'](),_0x32d407=await createTDXInstance(_0x1203ae),_0x23ed62=await _0x381636[_0x36292c(0x370)]({'options':{..._0x1203ae,..._0x47ded2},'args':_0x1e4123?[_0x1e4123]:[],'tdx':_0x32d407});gracefulExit(_0x23ed62);});const parentSegmentCmd=program[a2_0x521ea7(0x2ff)]('parent-segment')['alias']('ps')['description'](a2_0x521ea7(0x180));parentSegmentCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x282))['description'](a2_0x521ea7(0x27a))[a2_0x521ea7(0x2c6)](parentListAction),parentSegmentCmd['command']('pull\x20[name]')[a2_0x521ea7(0x183)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x303),'Output\x20file\x20path')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1aa),a2_0x521ea7(0x17d))[a2_0x521ea7(0x2c6)](async(_0x4a1b52,_0x2f3b4e)=>{const _0x395771=a2_0x521ea7,_0x509938=new ParentSegmentPullCommand(),_0xc5d5aa=program[_0x395771(0x142)](),_0x55f1ae=await createTDXInstance(_0xc5d5aa),_0x552d32=await _0x509938[_0x395771(0x370)]({'options':{..._0xc5d5aa,..._0x2f3b4e},'args':_0x4a1b52?[_0x4a1b52]:[],'tdx':_0x55f1ae});gracefulExit(_0x552d32);}),parentSegmentCmd['command']('push\x20[name]')[a2_0x521ea7(0x183)](a2_0x521ea7(0x361))['action'](async(_0x48217e,_0x876877)=>{const _0x44768f=a2_0x521ea7,_0x31d8de=new ParentSegmentPushCommand(),_0x3e9634=program[_0x44768f(0x142)](),_0x170c02=await createTDXInstance(_0x3e9634),_0x38a845=await _0x31d8de['run']({'options':{..._0x3e9634,..._0x876877},'args':_0x48217e?[_0x48217e]:[],'tdx':_0x170c02});gracefulExit(_0x38a845);}),parentSegmentCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x237))['description'](a2_0x521ea7(0x2e2))[a2_0x521ea7(0x2c3)]('--master',a2_0x521ea7(0x38d))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x256),a2_0x521ea7(0x38b))[a2_0x521ea7(0x2c3)]('--behavior\x20[name]','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')['option'](a2_0x521ea7(0x1a6),a2_0x521ea7(0x1fd))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x232),a2_0x521ea7(0x367),a2_0x521ea7(0x172))['action'](async(_0x2d0d1a,_0x299968)=>{const _0x1df7d7=a2_0x521ea7,_0x4ba21c=new ParentSegmentValidateCommand(),_0x12e05d=program[_0x1df7d7(0x142)](),_0x534c1c=await createTDXInstance(_0x12e05d),_0x2b5e46=await _0x4ba21c[_0x1df7d7(0x370)]({'options':{..._0x12e05d,..._0x299968},'args':_0x2d0d1a?[_0x2d0d1a]:[],'tdx':_0x534c1c});gracefulExit(_0x2b5e46);}),parentSegmentCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x251))[a2_0x521ea7(0x183)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0xba),a2_0x521ea7(0x2d4))['option'](a2_0x521ea7(0x256),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x521ea7(0x2c3)]('--behavior\x20[name]',a2_0x521ea7(0xd6))['option']('--enriched',a2_0x521ea7(0x2c1))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x232),a2_0x521ea7(0x367),a2_0x521ea7(0x172))[a2_0x521ea7(0x2c6)](async(_0x239c46,_0x57cc8d)=>{const _0x55c70f=a2_0x521ea7,_0xa6711b=new ParentSegmentPreviewCommand(),_0x4eee24=program['opts'](),_0x4cc45e=await createTDXInstance(_0x4eee24),_0x349d41=await _0xa6711b[_0x55c70f(0x370)]({'options':{..._0x4eee24,..._0x57cc8d},'args':_0x239c46?[_0x239c46]:[],'tdx':_0x4cc45e});gracefulExit(_0x349d41);}),parentSegmentCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x23e))[a2_0x521ea7(0x183)](a2_0x521ea7(0x181))[a2_0x521ea7(0x2c6)](async(_0xeb7e87,_0x15ef52)=>{const _0x2ab857=a2_0x521ea7,_0x239e7f=new ParentSegmentRunCommand(),_0x1399a0=program[_0x2ab857(0x142)](),_0x1eb404=await createTDXInstance(_0x1399a0),_0x13a17e=await _0x239e7f[_0x2ab857(0x370)]({'options':{..._0x1399a0,..._0x15ef52},'args':_0xeb7e87?[_0xeb7e87]:[],'tdx':_0x1eb404});gracefulExit(_0x13a17e);}),parentSegmentCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x2bd))[a2_0x521ea7(0x183)](a2_0x521ea7(0x1a5))['option'](a2_0x521ea7(0x310),a2_0x521ea7(0xdc))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x378),a2_0x521ea7(0xda))[a2_0x521ea7(0x2c6)](async(_0x4e9b09,_0x4fc59b)=>{const _0x429f16=a2_0x521ea7,_0x3c2620=new ParentSegmentFieldsCommand(),_0x3c7b02=program[_0x429f16(0x142)](),_0x5c5778=await createTDXInstance(_0x3c7b02),_0x305f3f=await _0x3c2620[_0x429f16(0x370)]({'options':{..._0x3c7b02,..._0x4fc59b},'args':_0x4e9b09?[_0x4e9b09]:[],'tdx':_0x5c5778});gracefulExit(_0x305f3f);}),parentSegmentCmd['command'](a2_0x521ea7(0x227))[a2_0x521ea7(0x183)](a2_0x521ea7(0x22c))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x192),a2_0x521ea7(0x356))[a2_0x521ea7(0x2c3)]('--json',a2_0x521ea7(0xdc))[a2_0x521ea7(0x2c3)]('--jsonl',a2_0x521ea7(0xda))['action'](async(_0x339ce8,_0x2d3d0d)=>{const _0x190bb7=a2_0x521ea7,_0x34ddcd=new ParentSegmentViewCommand(),_0x41e03d=program[_0x190bb7(0x142)](),_0x1636f1=await createTDXInstance(_0x41e03d),_0x17526b=await _0x34ddcd[_0x190bb7(0x370)]({'options':{..._0x41e03d,..._0x2d3d0d},'args':_0x339ce8?[_0x339ce8]:[],'tdx':_0x1636f1});gracefulExit(_0x17526b);}),parentSegmentCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x2f5))[a2_0x521ea7(0x183)](a2_0x521ea7(0x122))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x303),a2_0x521ea7(0x36f))[a2_0x521ea7(0x2c3)]('--json','Output\x20as\x20JSON')[a2_0x521ea7(0x2c3)]('--jsonl',a2_0x521ea7(0xda))['action'](async(_0x210b2f,_0x1284ed)=>{const _0x14dd5e=a2_0x521ea7,_0x4a0d4e=new ParentSegmentDescCommand(),_0x31bdd9=program[_0x14dd5e(0x142)](),_0x44b087=await createTDXInstance(_0x31bdd9),_0x25d34e=await _0x4a0d4e[_0x14dd5e(0x370)]({'options':{..._0x31bdd9,..._0x1284ed},'args':_0x210b2f?[_0x210b2f]:[],'tdx':_0x44b087});gracefulExit(_0x25d34e);}),parentSegmentCmd['command']('sql\x20[name]')[a2_0x521ea7(0x183)](a2_0x521ea7(0x359))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x310),'Output\x20as\x20JSON')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x378),a2_0x521ea7(0xda))['action'](async(_0x1062c9,_0x25e1c5)=>{const _0x3aff63=a2_0x521ea7,_0x1bd444=new ParentSegmentSQLCommand(),_0x57cd98=program[_0x3aff63(0x142)](),_0x3e8f45=await createTDXInstance(_0x57cd98),_0x3ab6b3=await _0x1bd444['run']({'options':{..._0x57cd98,..._0x25e1c5},'args':_0x1062c9?[_0x1062c9]:[],'tdx':_0x3e8f45});gracefulExit(_0x3ab6b3);}),parentSegmentCmd[a2_0x521ea7(0x2ff)]('show\x20[name]')[a2_0x521ea7(0x183)](a2_0x521ea7(0x19e))['option'](a2_0x521ea7(0x159),a2_0x521ea7(0x312))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x310),'Output\x20as\x20JSON')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x378),a2_0x521ea7(0xda))[a2_0x521ea7(0x2c6)](async(_0x7b2b21,_0x1ec442)=>{const _0x53ca0f=a2_0x521ea7,_0x1d2c4d=new ParentSegmentShowCommand(),_0x3f8f72=program[_0x53ca0f(0x142)](),_0x3b8520=await createTDXInstance(_0x3f8f72),_0x5a5ac1=await _0x1d2c4d['run']({'options':{..._0x3f8f72,..._0x1ec442},'args':_0x7b2b21?[_0x7b2b21]:[],'tdx':_0x3b8520});gracefulExit(_0x5a5ac1);}),parentSegmentCmd[a2_0x521ea7(0x2ff)]('use\x20[name]')[a2_0x521ea7(0x183)](a2_0x521ea7(0x2e7))['action'](async(_0x62cfd4,_0x2a4d0a)=>{const _0x1263b4=a2_0x521ea7,_0x45664e=new UseCommand(),_0x557b5b=program[_0x1263b4(0x142)](),_0x2c4afc=_0x62cfd4?[_0x1263b4(0x107),_0x62cfd4]:[],_0x39641d=await _0x45664e['run']({'options':{..._0x557b5b,..._0x2a4d0a},'args':_0x2c4afc,'tdx':null});gracefulExit(_0x39641d);});const psRtCmd=parentSegmentCmd[a2_0x521ea7(0x2ff)]('rt')[a2_0x521ea7(0x183)]('RT\x202.0\x20configuration\x20management');psRtCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x282))['description'](a2_0x521ea7(0x319))[a2_0x521ea7(0x2c6)](async(_0x4b9331,_0x1e7eb9)=>{const _0x265172=a2_0x521ea7,_0x1e2f4c=new PSRtListCommand(),_0x2ba606=program['opts'](),_0x199c07=await createTDXInstance(_0x2ba606),_0x3f03cd=await _0x1e2f4c[_0x265172(0x370)]({'options':{..._0x2ba606,..._0x1e7eb9},'args':_0x4b9331?[_0x4b9331]:[],'tdx':_0x199c07});gracefulExit(_0x3f03cd);}),psRtCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x237))[a2_0x521ea7(0x183)](a2_0x521ea7(0x302))[a2_0x521ea7(0x2c6)](async(_0x50a154,_0x4b5b0e)=>{const _0x327303=a2_0x521ea7,_0x36a626=new PSRtValidateCommand(),_0x1140e0=program[_0x327303(0x142)](),_0x14a33c=await createTDXInstance(_0x1140e0),_0x18ec72=await _0x36a626['run']({'options':{..._0x1140e0,..._0x4b5b0e},'args':_0x50a154?[_0x50a154]:[],'tdx':_0x14a33c});gracefulExit(_0x18ec72);});const parentRtCmd=parentCmd[a2_0x521ea7(0x2ff)]('rt',{'hidden':!![]})[a2_0x521ea7(0x183)](a2_0x521ea7(0x2fc));parentRtCmd['command']('list\x20[pattern]')[a2_0x521ea7(0x183)](a2_0x521ea7(0x319))[a2_0x521ea7(0x2c6)](async(_0x1283a7,_0x199cde)=>{const _0x31d8e7=a2_0x521ea7,_0x37f770=new PSRtListCommand(),_0x1c4353=program[_0x31d8e7(0x142)](),_0x4f04e5=await createTDXInstance(_0x1c4353),_0x522194=await _0x37f770[_0x31d8e7(0x370)]({'options':{..._0x1c4353,..._0x199cde},'args':_0x1283a7?[_0x1283a7]:[],'tdx':_0x4f04e5});gracefulExit(_0x522194);}),parentRtCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x237))[a2_0x521ea7(0x183)](a2_0x521ea7(0x302))[a2_0x521ea7(0x2c6)](async(_0x57817f,_0x36478f)=>{const _0x3c7b4a=a2_0x521ea7,_0x1e223f=new PSRtValidateCommand(),_0x468d86=program[_0x3c7b4a(0x142)](),_0x19120b=await createTDXInstance(_0x468d86),_0x589356=await _0x1e223f[_0x3c7b4a(0x370)]({'options':{..._0x468d86,..._0x36478f},'args':_0x57817f?[_0x57817f]:[],'tdx':_0x19120b});gracefulExit(_0x589356);});const psPzCmd=parentSegmentCmd['command']('pz')[a2_0x521ea7(0x183)](a2_0x521ea7(0x1e3));psPzCmd[a2_0x521ea7(0x2ff)]('list\x20[name]')[a2_0x521ea7(0x183)](a2_0x521ea7(0x135))[a2_0x521ea7(0x2c6)](async(_0x5483b8,_0x4cfde6)=>{const _0x18befb=a2_0x521ea7,_0x18dfe7=new PSPzListCommand(),_0x58f46c=program['opts'](),_0x33bbd8=await createTDXInstance(_0x58f46c),_0x127031=await _0x18dfe7[_0x18befb(0x370)]({'options':{..._0x58f46c,..._0x4cfde6},'args':_0x5483b8?[_0x5483b8]:[],'tdx':_0x33bbd8});gracefulExit(_0x127031);}),psPzCmd['command'](a2_0x521ea7(0x379))[a2_0x521ea7(0x183)](a2_0x521ea7(0x37b))[a2_0x521ea7(0x2c6)](async(_0x596b49,_0x27e58d)=>{const _0x44b8d5=a2_0x521ea7,_0x3c9cda=new PSPzInitCommand(),_0x141284=program[_0x44b8d5(0x142)](),_0x21d789=await createTDXInstance(_0x141284),_0xf6eb5=await _0x3c9cda['run']({'options':{..._0x141284,..._0x27e58d},'args':_0x596b49?[_0x596b49]:[],'tdx':_0x21d789});gracefulExit(_0xf6eb5);});const parentPzCmd=parentCmd[a2_0x521ea7(0x2ff)]('pz',{'hidden':!![]})[a2_0x521ea7(0x183)](a2_0x521ea7(0x1e3));parentPzCmd['command']('list\x20[name]')[a2_0x521ea7(0x183)](a2_0x521ea7(0x135))['action'](async(_0x400075,_0x326cee)=>{const _0x5a589e=a2_0x521ea7,_0x3cb7c6=new PSPzListCommand(),_0x32b65b=program[_0x5a589e(0x142)](),_0xd7e411=await createTDXInstance(_0x32b65b),_0x170253=await _0x3cb7c6[_0x5a589e(0x370)]({'options':{..._0x32b65b,..._0x326cee},'args':_0x400075?[_0x400075]:[],'tdx':_0xd7e411});gracefulExit(_0x170253);}),parentPzCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x379))[a2_0x521ea7(0x183)](a2_0x521ea7(0x37b))[a2_0x521ea7(0x2c6)](async(_0x28de4a,_0x3d1b15)=>{const _0x44db1d=a2_0x521ea7,_0x5585fd=new PSPzInitCommand(),_0x486c80=program[_0x44db1d(0x142)](),_0x24fdeb=await createTDXInstance(_0x486c80),_0x19cda3=await _0x5585fd[_0x44db1d(0x370)]({'options':{..._0x486c80,..._0x3d1b15},'args':_0x28de4a?[_0x28de4a]:[],'tdx':_0x24fdeb});gracefulExit(_0x19cda3);}),parentCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x155))[a2_0x521ea7(0x183)](a2_0x521ea7(0x275))[a2_0x521ea7(0x2b6)](a2_0x521ea7(0xde),'Master\x20database\x20name')['requiredOption'](a2_0x521ea7(0x2ac),'Master\x20table\x20name')['option']('--description\x20<text>',a2_0x521ea7(0x1b9))['option'](a2_0x521ea7(0x2a6),a2_0x521ea7(0x177))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x156),a2_0x521ea7(0x141))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1dd),a2_0x521ea7(0x19a))['option'](a2_0x521ea7(0x301),a2_0x521ea7(0x14e))['option']('--attributes-file\x20<file>',a2_0x521ea7(0x2fd))[a2_0x521ea7(0x2c3)]('--behaviors\x20<json>',a2_0x521ea7(0x18a))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1b3),a2_0x521ea7(0x245))['option'](a2_0x521ea7(0x2c8),a2_0x521ea7(0x139))['option'](a2_0x521ea7(0x2a3),a2_0x521ea7(0x36a))['action'](async(_0x58e377,_0x17b280)=>{const _0x107b45=a2_0x521ea7,_0x4ae25b=new ParentSegmentCreateCommand(),_0x4b84e4=program['opts'](),_0x2c9d75=await createTDXInstance(_0x4b84e4),_0x252802=await _0x4ae25b[_0x107b45(0x370)]({'options':{..._0x4b84e4,..._0x17b280},'args':[_0x58e377],'tdx':_0x2c9d75});gracefulExit(_0x252802);}),parentCmd['command']('update\x20<name>')[a2_0x521ea7(0x183)](a2_0x521ea7(0x1d8))[a2_0x521ea7(0x2c3)]('--description\x20<text>',a2_0x521ea7(0x28d))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2a6),a2_0x521ea7(0x235))['option']('--schedule-option\x20<value>',a2_0x521ea7(0xfd))[a2_0x521ea7(0x2c3)]('--timezone\x20<tz>',a2_0x521ea7(0x28e))['option'](a2_0x521ea7(0x1e1),a2_0x521ea7(0x196))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x134),a2_0x521ea7(0x347))[a2_0x521ea7(0x2c3)]('--add-behaviors\x20<json>','Add\x20behaviors\x20as\x20JSON\x20string')['option']('--add-behaviors-file\x20<file>','Add\x20behaviors\x20from\x20JSON\x20file')['action'](async(_0x220389,_0xb1fe5a)=>{const _0x2cf15d=a2_0x521ea7,_0xa6d598=new ParentSegmentUpdateCommand(),_0x1dc4a8=program['opts'](),_0xf27305=await createTDXInstance(_0x1dc4a8),_0x7b31d5=await _0xa6d598[_0x2cf15d(0x370)]({'options':{..._0x1dc4a8,..._0xb1fe5a},'args':[_0x220389],'tdx':_0xf27305});gracefulExit(_0x7b31d5);}),folderCmd['command'](a2_0x521ea7(0x335))[a2_0x521ea7(0x183)](a2_0x521ea7(0x2d9))['option'](a2_0x521ea7(0x2e5),a2_0x521ea7(0x187))['option'](a2_0x521ea7(0x1b4),a2_0x521ea7(0x284))[a2_0x521ea7(0x2c6)](async(_0x323be5,_0x25ad2c,_0x127b71)=>{const _0x17d0e6=a2_0x521ea7,_0x341631=new SegmentFolderCreateCommand(),_0x5edd4e=program[_0x17d0e6(0x142)](),_0x4a03a2=await createTDXInstance(_0x5edd4e),_0x58bb99=await _0x341631[_0x17d0e6(0x370)]({'options':{..._0x5edd4e,..._0x127b71},'args':[_0x323be5,_0x25ad2c],'tdx':_0x4a03a2});gracefulExit(_0x58bb99);}),program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x2ef))[a2_0x521ea7(0x183)](a2_0x521ea7(0x309))[a2_0x521ea7(0x2c6)](async(_0x343edb,_0x431ddf)=>{const _0x24ebdc=a2_0x521ea7,_0x335b9f=new ActivationsCommand(),_0x3f7e0c=program[_0x24ebdc(0x142)](),_0x254f61=await createTDXInstance(_0x3f7e0c),_0x58da5b=await _0x335b9f[_0x24ebdc(0x370)]({'options':{..._0x3f7e0c,..._0x431ddf},'args':[_0x343edb],'tdx':_0x254f61});gracefulExit(_0x58da5b);});const workflowCmd=program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x164))[a2_0x521ea7(0x194)]('wf')[a2_0x521ea7(0x183)]('Workflow\x20(Digdag)\x20management\x20commands'),wfProjectCmd=workflowCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x202))[a2_0x521ea7(0x183)](a2_0x521ea7(0xdb)),wfProjectListAction=async(_0x5efef4,_0x50f48a)=>{const _0x1e4b5d=a2_0x521ea7,_0xe95bbb=new WorkflowProjectsCommand(),_0x486a13=program[_0x1e4b5d(0x142)](),_0x1b8911=await createTDXInstance(_0x486a13),_0xa27c22=await _0xe95bbb[_0x1e4b5d(0x370)]({'options':{..._0x486a13,..._0x50f48a},'args':_0x5efef4?[_0x5efef4]:[],'tdx':_0x1b8911});gracefulExit(_0xa27c22);};wfProjectCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x282))['description'](a2_0x521ea7(0x18f))['action'](wfProjectListAction),workflowCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x360))[a2_0x521ea7(0x183)](a2_0x521ea7(0x16d))[a2_0x521ea7(0x2c6)](wfProjectListAction);const wfWorkflowListAction=async(_0x67a852,_0xd8ae6a)=>{const _0x2da8fa=a2_0x521ea7,_0x52d388=new WorkflowWorkflowsCommand(),_0x56ca57=program[_0x2da8fa(0x142)](),_0x109bdb=await createTDXInstance(_0x56ca57),_0x1fc459=await _0x52d388[_0x2da8fa(0x370)]({'options':{..._0x56ca57,..._0xd8ae6a},'args':_0x67a852?[_0x67a852]:[],'tdx':_0x109bdb});gracefulExit(_0x1fc459);};workflowCmd['command'](a2_0x521ea7(0x25f))[a2_0x521ea7(0x183)](a2_0x521ea7(0x23d))[a2_0x521ea7(0x2c6)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x211))[a2_0x521ea7(0x183)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0x12a6f5,_0x5061f1)=>{const _0xf284b=a2_0x521ea7,_0x15100f=new WorkflowSessionsCommand(),_0x5589e1=program[_0xf284b(0x142)](),_0x122e36=await createTDXInstance(_0x5589e1),_0x54e46b=await _0x15100f[_0xf284b(0x370)]({'options':{..._0x5589e1,..._0x5061f1},'args':_0x12a6f5?[_0x12a6f5]:[],'tdx':_0x122e36});gracefulExit(_0x54e46b);};wfSessionCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x2b5))[a2_0x521ea7(0x183)](a2_0x521ea7(0x143))['option'](a2_0x521ea7(0x25c),a2_0x521ea7(0xb3))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0xc1),a2_0x521ea7(0x123))[a2_0x521ea7(0x2c3)]('--to\x20<timestamp>','End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x521ea7(0x2c6)](wfSessionListAction),workflowCmd[a2_0x521ea7(0x2ff)]('sessions\x20[project]')[a2_0x521ea7(0x183)](a2_0x521ea7(0x386))[a2_0x521ea7(0x2c3)]('--status\x20<status>',a2_0x521ea7(0xb3))[a2_0x521ea7(0x2c3)]('--from\x20<timestamp>',a2_0x521ea7(0x123))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x11c),a2_0x521ea7(0x374))['action'](wfSessionListAction);const wfAttemptListAction=async(_0x2e2101,_0x2e00f9)=>{const _0x32b862=new WorkflowAttemptsCommand(),_0x26dbe4=program['opts'](),_0xee9168=await createTDXInstance(_0x26dbe4),_0x4187e6=await _0x32b862['run']({'options':{..._0x26dbe4,..._0x2e00f9},'args':_0x2e2101?[_0x2e2101]:[],'tdx':_0xee9168});gracefulExit(_0x4187e6);},attemptCmd=workflowCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x304))['description']('Workflow\x20attempt\x20management')[a2_0x521ea7(0xe6)](a2_0x521ea7(0x15a),a2_0x521ea7(0x289))[a2_0x521ea7(0xe6)](a2_0x521ea7(0x2b8),a2_0x521ea7(0xe4))['argument'](a2_0x521ea7(0x2c5),a2_0x521ea7(0x24e))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x265),a2_0x521ea7(0xf1))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x179),a2_0x521ea7(0x2be))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0xe3),a2_0x521ea7(0x255))['option'](a2_0x521ea7(0x112),a2_0x521ea7(0x1ab))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0xd9),a2_0x521ea7(0x36d))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x208),'Include\x20retried\x20attempts\x20(for\x20list)')[a2_0x521ea7(0x2c6)](async(_0x519450,_0x6fd65c,_0x4dbb7e,_0x383db6)=>{const _0x7e0fc2=a2_0x521ea7;if(_0x519450===_0x7e0fc2(0x34e)){await wfAttemptListAction(_0x6fd65c,_0x383db6);return;}if(!_0x519450){attemptCmd['help']();return;}const _0x1ad019=program['opts'](),_0x1fe3e2=await createTDXInstance(_0x1ad019);let _0x5a9670=0x0;if(!_0x6fd65c){const _0x2b3af2=new WorkflowAttemptCommand();_0x5a9670=await _0x2b3af2[_0x7e0fc2(0x370)]({'options':{..._0x1ad019,..._0x383db6},'args':[_0x519450],'tdx':_0x1fe3e2});}else{if(_0x6fd65c===_0x7e0fc2(0x260)){const _0x581961=new WorkflowLogsCommand();_0x5a9670=await _0x581961[_0x7e0fc2(0x370)]({'options':{..._0x1ad019,..._0x383db6},'args':_0x4dbb7e?[_0x519450,_0x4dbb7e]:[_0x519450],'tdx':_0x1fe3e2});}else{if(_0x6fd65c===_0x7e0fc2(0x2b9)){const _0x4ac548=new WorkflowTasksCommand();_0x5a9670=await _0x4ac548[_0x7e0fc2(0x370)]({'options':{..._0x1ad019,..._0x383db6},'args':[_0x519450],'tdx':_0x1fe3e2});}else{if(_0x6fd65c===_0x7e0fc2(0xcb)){const _0xf71c1d=new WorkflowKillCommand();_0x5a9670=await _0xf71c1d[_0x7e0fc2(0x370)]({'options':{..._0x1ad019,..._0x383db6},'args':[_0x519450],'tdx':_0x1fe3e2});}else{if(_0x6fd65c===_0x7e0fc2(0x363)){const _0x145d4a=new WorkflowRetryCommand();_0x5a9670=await _0x145d4a[_0x7e0fc2(0x370)]({'options':{..._0x1ad019,..._0x383db6},'args':['attempt:'+_0x519450],'tdx':_0x1fe3e2});}else console[_0x7e0fc2(0x30a)](_0x7e0fc2(0x1ec)+_0x6fd65c),console['error']('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x5a9670=0x1;}}}}gracefulExit(_0x5a9670);});attemptCmd[a2_0x521ea7(0x2ff)]('list\x20[project]')[a2_0x521ea7(0x183)](a2_0x521ea7(0x250))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x208),a2_0x521ea7(0x326))[a2_0x521ea7(0x2c6)](wfAttemptListAction),workflowCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x169))[a2_0x521ea7(0x183)](a2_0x521ea7(0x31d))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x208),a2_0x521ea7(0x326))[a2_0x521ea7(0x2c6)](wfAttemptListAction),workflowCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x1ef))[a2_0x521ea7(0x183)](a2_0x521ea7(0x175))[a2_0x521ea7(0x2c3)]('--follow',a2_0x521ea7(0x296))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1a1),'Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)')[a2_0x521ea7(0x2c3)]('--attempt-id\x20<id>','Show\x20timeline\x20for\x20specific\x20attempt')['action'](async(_0x11a664,_0x32dbea)=>{const _0x49eeb8=a2_0x521ea7,_0x76a41f=new WorkflowTimelineCommand(),_0x29fcb2=program[_0x49eeb8(0x142)](),_0x3798de=await createTDXInstance(_0x29fcb2),_0x4a88f3=await _0x76a41f[_0x49eeb8(0x370)]({'options':{..._0x29fcb2,..._0x32dbea},'args':_0x11a664?[_0x11a664]:[],'tdx':_0x3798de});gracefulExit(_0x4a88f3);}),workflowCmd[a2_0x521ea7(0x2ff)]('retry\x20<session-id>')['description']('Retry\x20a\x20session\x20(prefix\x20with\x20session:)')[a2_0x521ea7(0x2c3)]('--from-task\x20<task>','Resume\x20from\x20specific\x20task')['option'](a2_0x521ea7(0x112),a2_0x521ea7(0x110))[a2_0x521ea7(0x2c6)](async(_0x37c124,_0x416414)=>{const _0x3ea01d=a2_0x521ea7,_0x34eb9d=new WorkflowRetryCommand(),_0x4ff5e8=program[_0x3ea01d(0x142)](),_0x103b29=await createTDXInstance(_0x4ff5e8),_0xcb31a9=await _0x34eb9d[_0x3ea01d(0x370)]({'options':{..._0x4ff5e8,..._0x416414},'args':[_0x37c124],'tdx':_0x103b29});gracefulExit(_0xcb31a9);}),workflowCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x101))[a2_0x521ea7(0x183)]('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')[a2_0x521ea7(0x2c3)]('--param\x20<key=value>',a2_0x521ea7(0x20d),(_0x29fdaf,_0x14718d=[])=>[..._0x14718d,_0x29fdaf],[])[a2_0x521ea7(0x2c3)](a2_0x521ea7(0xef),a2_0x521ea7(0x105))['action'](async(_0x48de6a,_0x547bb3)=>{const _0x193aef=a2_0x521ea7,_0x322b10=new WorkflowRunCommand(),_0x5898b0=program[_0x193aef(0x142)](),_0x38fbdc=await createTDXInstance(_0x5898b0),_0x54aa77=await _0x322b10[_0x193aef(0x370)]({'options':{..._0x5898b0,..._0x547bb3},'args':_0x48de6a?[_0x48de6a]:[],'tdx':_0x38fbdc});gracefulExit(_0x54aa77);}),workflowCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x195))[a2_0x521ea7(0x183)]('Download\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x29c),a2_0x521ea7(0x308))[a2_0x521ea7(0x2c6)](async(_0x58e4b3,_0xed1296,_0x228fb3)=>{const _0x589177=a2_0x521ea7,_0x4c4876=new WorkflowDownloadCommand(),_0x3876de=program[_0x589177(0x142)](),_0x4cb719=await createTDXInstance(_0x3876de),_0x535c2d=await _0x4c4876['run']({'options':{..._0x3876de,..._0x228fb3},'args':[_0x58e4b3,_0xed1296||'.'],'tdx':_0x4cb719});gracefulExit(_0x535c2d);}),workflowCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0xea))['description'](a2_0x521ea7(0x2a8))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x29c),a2_0x521ea7(0x24a))[a2_0x521ea7(0x2c3)]('--dry-run',a2_0x521ea7(0x20f))['action'](async(_0x43a6b6,_0x17f2f5,_0x532a49)=>{const _0x2f22dc=a2_0x521ea7,_0x2a1f48=new WorkflowPullCommand(),_0x25044d=program[_0x2f22dc(0x142)](),_0x180880=await createTDXInstance(_0x25044d),_0x3c7156=await _0x2a1f48['run']({'options':{..._0x25044d,..._0x532a49},'args':_0x17f2f5?[_0x43a6b6,_0x17f2f5]:[_0x43a6b6],'tdx':_0x180880});gracefulExit(_0x3c7156);}),workflowCmd['command'](a2_0x521ea7(0xfb))[a2_0x521ea7(0x183)](a2_0x521ea7(0x230))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x29c),a2_0x521ea7(0x351))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x18c),a2_0x521ea7(0xeb))[a2_0x521ea7(0x2c3)]('--skip-validation',a2_0x521ea7(0x224))[a2_0x521ea7(0x2c6)](async(_0x41ee7c,_0x5c0342)=>{const _0x48a3ae=a2_0x521ea7,_0x464c79=new WorkflowPushCommand(),_0x1d8639=program[_0x48a3ae(0x142)](),_0x20e0fa=await createTDXInstance(_0x1d8639),_0x49dd51=await _0x464c79[_0x48a3ae(0x370)]({'options':{..._0x1d8639,..._0x5c0342},'args':_0x41ee7c?[_0x41ee7c]:[],'tdx':_0x20e0fa});gracefulExit(_0x49dd51);}),workflowCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x160))[a2_0x521ea7(0x183)](a2_0x521ea7(0x210))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x152),a2_0x521ea7(0x305))['option'](a2_0x521ea7(0x29c),a2_0x521ea7(0xc2))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2cb),a2_0x521ea7(0x224))['action'](async(_0x2c5be6,_0x37811c)=>{const _0x243176=a2_0x521ea7,_0x21f07a=new WorkflowUploadCommand(),_0x2dbcd0=program[_0x243176(0x142)](),_0x3a9a1e=await createTDXInstance(_0x2dbcd0),_0x5f0d21=await _0x21f07a[_0x243176(0x370)]({'options':{..._0x2dbcd0,..._0x37811c},'args':_0x2c5be6?[_0x2c5be6]:[],'tdx':_0x3a9a1e});gracefulExit(_0x5f0d21);}),workflowCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x1f3))[a2_0x521ea7(0x183)]('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x152),'Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x29c),'Custom\x20revision\x20name\x20(default:\x20timestamp)')['option'](a2_0x521ea7(0x18c),a2_0x521ea7(0x27b))['option'](a2_0x521ea7(0x2cb),a2_0x521ea7(0x224))[a2_0x521ea7(0x2c6)](async(_0x197680,_0x22a7b7)=>{const _0x694019=a2_0x521ea7,_0xf05178=new WorkflowCloneCommand(),_0x26d105=program[_0x694019(0x142)](),_0x1e05d4=await createTDXInstance(_0x26d105),_0x6e1a85=await _0xf05178['run']({'options':{..._0x26d105,..._0x22a7b7},'args':_0x197680?[_0x197680]:[],'tdx':_0x1e05d4});gracefulExit(_0x6e1a85);}),workflowCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x365))[a2_0x521ea7(0x183)]('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x521ea7(0x2c6)](async(_0x4ccb3f,_0x10ba88)=>{const _0x33d6f2=a2_0x521ea7,_0x393821=new WorkflowDeleteCommand(),_0x18f9b7=program[_0x33d6f2(0x142)](),_0x1c856=await createTDXInstance(_0x18f9b7),_0x284553=await _0x393821[_0x33d6f2(0x370)]({'options':{..._0x18f9b7,..._0x10ba88},'args':[_0x4ccb3f],'tdx':_0x1c856});gracefulExit(_0x284553);}),workflowCmd['command'](a2_0x521ea7(0x252))[a2_0x521ea7(0x183)]('Set\x20default\x20workflow\x20project\x20for\x20this\x20session')['option'](a2_0x521ea7(0x272),a2_0x521ea7(0x17c))[a2_0x521ea7(0x2c6)](async(_0x1ff87a,_0x4ebcde)=>{const _0x22d52c=a2_0x521ea7,_0x258eaf=new WorkflowUseCommand(),_0x21e104=program[_0x22d52c(0x142)](),_0x5df052=await createTDXInstance(_0x21e104),_0x2a94cd=await _0x258eaf[_0x22d52c(0x370)]({'options':{..._0x21e104,..._0x4ebcde},'args':_0x1ff87a?[_0x1ff87a]:[],'tdx':_0x5df052});gracefulExit(_0x2a94cd);});const wfSecretsCmd=workflowCmd[a2_0x521ea7(0x2ff)]('secrets')[a2_0x521ea7(0x183)](a2_0x521ea7(0x13c));wfSecretsCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x2b5))['description'](a2_0x521ea7(0x184))[a2_0x521ea7(0x2c6)](async(_0x1ee667,_0x40f60e)=>{const _0x5bb363=a2_0x521ea7,_0x5ace1e=new WorkflowSecretsListCommand(),_0x39b39d=program[_0x5bb363(0x142)](),_0x766224=await createTDXInstance(_0x39b39d),_0x10187e=await _0x5ace1e['run']({'options':{..._0x39b39d,..._0x40f60e},'args':_0x1ee667?[_0x1ee667]:[],'tdx':_0x766224});gracefulExit(_0x10187e);}),wfSecretsCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x2a0))[a2_0x521ea7(0x183)]('Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])')['action'](async(_0x30ad48,_0x167418)=>{const _0x4fe021=a2_0x521ea7,_0x55016c=new WorkflowSecretsSetCommand(),_0x5e51ac=program[_0x4fe021(0x142)](),_0x56228f=await createTDXInstance(_0x5e51ac),_0x2c9999=await _0x55016c[_0x4fe021(0x370)]({'options':{..._0x5e51ac,..._0x167418},'args':_0x30ad48,'tdx':_0x56228f});gracefulExit(_0x2c9999);}),wfSecretsCmd['command'](a2_0x521ea7(0x30b))['description'](a2_0x521ea7(0xee))[a2_0x521ea7(0x2c6)](async(_0x5afb6b,_0x36de7d)=>{const _0x5b8fe5=a2_0x521ea7,_0x4945cb=new WorkflowSecretsDeleteCommand(),_0x332735=program[_0x5b8fe5(0x142)](),_0x34dcb6=await createTDXInstance(_0x332735),_0x4ab8a2=await _0x4945cb['run']({'options':{..._0x332735,..._0x36de7d},'args':_0x5afb6b,'tdx':_0x34dcb6});gracefulExit(_0x4ab8a2);});const jobCmd=program['command'](a2_0x521ea7(0xb7))[a2_0x521ea7(0x183)](a2_0x521ea7(0x300)),jobListAction=async _0x396bcf=>{const _0x4c0e01=a2_0x521ea7,_0x584bc2=new JobListCommand(),_0x52c7aa=program[_0x4c0e01(0x142)](),_0x15a124=await createTDXInstance(_0x52c7aa),_0x5b9461=await _0x584bc2[_0x4c0e01(0x370)]({'options':{..._0x52c7aa,..._0x396bcf},'args':[],'tdx':_0x15a124});gracefulExit(_0x5b9461);};jobCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x34e))[a2_0x521ea7(0x183)](a2_0x521ea7(0x353))['option'](a2_0x521ea7(0x25c),a2_0x521ea7(0x322))[a2_0x521ea7(0x2c6)](jobListAction),program[a2_0x521ea7(0x2ff)]('jobs',{'hidden':!![]})['description'](a2_0x521ea7(0x333))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x25c),a2_0x521ea7(0x322))[a2_0x521ea7(0x2c6)](jobListAction),jobCmd['command'](a2_0x521ea7(0x1c8))[a2_0x521ea7(0x183)](a2_0x521ea7(0xcf))['action'](async(_0x55ff89,_0x3d962f)=>{const _0x30db5e=new JobShowCommand(),_0x1df068=program['opts'](),_0x1e64db=await createTDXInstance(_0x1df068),_0x358465=await _0x30db5e['run']({'options':{..._0x1df068,..._0x3d962f},'args':[_0x55ff89],'tdx':_0x1e64db});gracefulExit(_0x358465);}),jobCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x37f))[a2_0x521ea7(0x183)](a2_0x521ea7(0x1c0))[a2_0x521ea7(0x2c6)](async(_0x30f8fc,_0x1a4789)=>{const _0x4a86da=a2_0x521ea7,_0x13ce20=new JobKillCommand(),_0x22acda=program[_0x4a86da(0x142)](),_0x2136ea=await createTDXInstance(_0x22acda),_0x44ed22=await _0x13ce20['run']({'options':{..._0x22acda,..._0x1a4789},'args':[_0x30f8fc],'tdx':_0x2136ea});gracefulExit(_0x44ed22);}),jobCmd['command'](a2_0x521ea7(0x1ac))[a2_0x521ea7(0x183)](a2_0x521ea7(0x1af))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x246),a2_0x521ea7(0xdf),a2_0x521ea7(0x295))['option'](a2_0x521ea7(0x222),a2_0x521ea7(0x287))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x283),a2_0x521ea7(0x21d),a2_0x521ea7(0xcd))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x162),a2_0x521ea7(0x306))['action'](async(_0x5c58f5,_0xae1a47)=>{const _0x550232=a2_0x521ea7,_0x53d308=new JobSubmitCommand(),_0x18ff73=program[_0x550232(0x142)](),_0x3cc67c=await createTDXInstance(_0x18ff73),_0x145e37=await _0x53d308[_0x550232(0x370)]({'options':{..._0x18ff73,..._0xae1a47},'args':_0x5c58f5?[_0x5c58f5]:[],'tdx':_0x3cc67c});gracefulExit(_0x145e37);}),jobCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x288))[a2_0x521ea7(0x183)]('Get\x20job\x20results')['action'](async(_0x547660,_0x5dc066)=>{const _0x4e9dc6=a2_0x521ea7,_0x45c72=new JobResultCommand(),_0x4e0f10=program['opts'](),_0x27b759=await createTDXInstance(_0x4e0f10),_0x44a4f0=await _0x45c72[_0x4e9dc6(0x370)]({'options':{..._0x4e0f10,..._0x5dc066},'args':[_0x547660],'tdx':_0x27b759});gracefulExit(_0x44a4f0);});const scheduleCmd=jobCmd[a2_0x521ea7(0x2ff)]('schedule')['description'](a2_0x521ea7(0x33f));scheduleCmd['command'](a2_0x521ea7(0x282))[a2_0x521ea7(0x183)](a2_0x521ea7(0x37d))[a2_0x521ea7(0x2c6)](async(_0x35f185,_0x30c8a0)=>{const _0x571ecb=a2_0x521ea7,_0x2b6b82=new ScheduleListCommand(),_0x4a187e=program[_0x571ecb(0x142)](),_0x4ea757=await createTDXInstance(_0x4a187e),_0x111c93=await _0x2b6b82[_0x571ecb(0x370)]({'options':{..._0x4a187e,..._0x30c8a0},'args':_0x35f185?[_0x35f185]:[],'tdx':_0x4ea757});gracefulExit(_0x111c93);}),scheduleCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x17e))[a2_0x521ea7(0x183)]('Show\x20schedule\x20details')[a2_0x521ea7(0x2c6)](async(_0x1ab7bd,_0x420faa)=>{const _0x9077f2=a2_0x521ea7,_0x2ffbca=new ScheduleShowCommand(),_0x31635b=program[_0x9077f2(0x142)](),_0x39f128=await createTDXInstance(_0x31635b),_0x2503c6=await _0x2ffbca['run']({'options':{..._0x31635b,..._0x420faa},'args':[_0x1ab7bd],'tdx':_0x39f128});gracefulExit(_0x2503c6);}),scheduleCmd['command'](a2_0x521ea7(0x155))[a2_0x521ea7(0x183)]('Create\x20a\x20scheduled\x20query')[a2_0x521ea7(0x2c3)]('-d,\x20--database\x20<db>',a2_0x521ea7(0x37e))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0xd3),a2_0x521ea7(0x1bb))[a2_0x521ea7(0x2b6)](a2_0x521ea7(0x222),'Read\x20query\x20from\x20file')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x151),a2_0x521ea7(0x2f2),'trino')['option'](a2_0x521ea7(0x35c),a2_0x521ea7(0x2ad))[a2_0x521ea7(0x2c3)]('--timezone\x20<tz>',a2_0x521ea7(0x13b))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2f3),a2_0x521ea7(0x132))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x157),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1a7),a2_0x521ea7(0x186))[a2_0x521ea7(0x2c3)]('--engine-version\x20<version>',a2_0x521ea7(0x26d))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x258),'Result\x20output\x20destination\x20URL')[a2_0x521ea7(0x2c6)](async(_0x4563e6,_0x134ff8)=>{const _0x1b7530=a2_0x521ea7,_0x484259=new ScheduleCreateCommand(),_0x4117da=program['opts'](),_0x1ac358=await createTDXInstance(_0x4117da);_0x134ff8['in']&&(_0x134ff8[_0x1b7530(0x348)]=_0x134ff8['in']);const _0x598915=await _0x484259[_0x1b7530(0x370)]({'options':{..._0x4117da,..._0x134ff8},'args':[_0x4563e6],'tdx':_0x1ac358});gracefulExit(_0x598915);}),scheduleCmd['command'](a2_0x521ea7(0x2b1))[a2_0x521ea7(0x183)](a2_0x521ea7(0x37c))[a2_0x521ea7(0x2c3)]('-d,\x20--database\x20<db>','Database\x20name')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0xd3),a2_0x521ea7(0x1bb))['option'](a2_0x521ea7(0x222),a2_0x521ea7(0x287))['option'](a2_0x521ea7(0x151),a2_0x521ea7(0x2f2))[a2_0x521ea7(0x2c3)]('--cron\x20<expression>',a2_0x521ea7(0x2ad))[a2_0x521ea7(0x2c3)]('--timezone\x20<tz>',a2_0x521ea7(0xf9))[a2_0x521ea7(0x2c3)]('--delay\x20<seconds>',a2_0x521ea7(0x132))[a2_0x521ea7(0x2c3)]('--priority\x20<-2~2>','Job\x20priority\x20(-2\x20to\x202)')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1a7),a2_0x521ea7(0x186))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x376),a2_0x521ea7(0x26d))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x258),a2_0x521ea7(0x18b))[a2_0x521ea7(0x2c6)](async(_0x10e429,_0x5740a4)=>{const _0x29e114=a2_0x521ea7,_0x5f0779=new ScheduleUpdateCommand(),_0x2a80bf=program[_0x29e114(0x142)](),_0x36970d=await createTDXInstance(_0x2a80bf);_0x5740a4['in']&&(_0x5740a4[_0x29e114(0x348)]=_0x5740a4['in']);const _0xc95717=await _0x5f0779[_0x29e114(0x370)]({'options':{..._0x2a80bf,..._0x5740a4},'args':[_0x10e429],'tdx':_0x36970d});gracefulExit(_0xc95717);}),scheduleCmd['command'](a2_0x521ea7(0x26c))[a2_0x521ea7(0x183)](a2_0x521ea7(0x33e))[a2_0x521ea7(0x2c6)](async(_0x183cf3,_0x421e76)=>{const _0x41a629=a2_0x521ea7,_0x564319=new ScheduleDeleteCommand(),_0x55af16=program[_0x41a629(0x142)](),_0x2bf9da=await createTDXInstance(_0x55af16),_0x22d3a7=await _0x564319[_0x41a629(0x370)]({'options':{..._0x55af16,..._0x421e76},'args':[_0x183cf3],'tdx':_0x2bf9da});gracefulExit(_0x22d3a7);}),scheduleCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x21e))[a2_0x521ea7(0x183)]('Run\x20a\x20scheduled\x20query\x20immediately')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1cb),'Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)')[a2_0x521ea7(0x2c3)]('--num\x20<1-10>','Number\x20of\x20executions\x20(1-10,\x20default:\x201)')[a2_0x521ea7(0x2c6)](async(_0x5c77a5,_0x1024d4)=>{const _0x36277f=a2_0x521ea7,_0x4c2a7e=new ScheduleRunCommand(),_0x2f312a=program[_0x36277f(0x142)](),_0x32f827=await createTDXInstance(_0x2f312a),_0x34e2d8=await _0x4c2a7e[_0x36277f(0x370)]({'options':{..._0x2f312a,..._0x1024d4},'args':[_0x5c77a5],'tdx':_0x32f827});gracefulExit(_0x34e2d8);}),scheduleCmd[a2_0x521ea7(0x2ff)]('history\x20<name>')[a2_0x521ea7(0x183)](a2_0x521ea7(0x23f))[a2_0x521ea7(0x2c3)]('--from\x20<n>','Starting\x20offset\x20(default:\x200)')['option'](a2_0x521ea7(0x11d),'Ending\x20offset\x20(default:\x2020)')[a2_0x521ea7(0x2c6)](async(_0x277ca1,_0x4352a2)=>{const _0x42463e=a2_0x521ea7,_0x42f1f1=new ScheduleHistoryCommand(),_0x52d270=program['opts'](),_0x4a36eb=await createTDXInstance(_0x52d270),_0x40936f=await _0x42f1f1[_0x42463e(0x370)]({'options':{..._0x52d270,..._0x4352a2},'args':[_0x277ca1],'tdx':_0x4a36eb});gracefulExit(_0x40936f);});const llmCmd=program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x279))[a2_0x521ea7(0x183)]('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd[a2_0x521ea7(0x2ff)]('use\x20<project-name>')[a2_0x521ea7(0x183)](a2_0x521ea7(0x27f))['action'](async(_0xe94b8e,_0x4eddcc)=>{const _0x1a4c8b=a2_0x521ea7,_0x321635=new LLMUseCommand(),_0x4dbadf=program[_0x1a4c8b(0x142)](),_0x140704=await createTDXInstance(_0x4dbadf),_0x404067=await _0x321635[_0x1a4c8b(0x370)]({'options':{..._0x4dbadf,..._0x4eddcc},'args':[_0xe94b8e],'tdx':_0x140704});gracefulExit(_0x404067);}),llmCmd['command'](a2_0x521ea7(0x1e2))['description']('List\x20available\x20LLM\x20models')['action'](async _0x4803bd=>{const _0x161627=a2_0x521ea7,_0x212174=new LLMModelsCommand(),_0x4494ad=program[_0x161627(0x142)](),_0x3a05b4=await createTDXInstance(_0x4494ad),_0x18a73a=await _0x212174[_0x161627(0x370)]({'options':{..._0x4494ad,..._0x4803bd},'args':[],'tdx':_0x3a05b4});gracefulExit(_0x18a73a);});const projectCmd=llmCmd[a2_0x521ea7(0x2ff)]('project')['description'](a2_0x521ea7(0x1d3)),llmProjectListAction=async(_0x451743,_0x47e7fb)=>{const _0x371bae=a2_0x521ea7,_0x3a1dca=new LLMProjectsCommand(),_0x24cfa8=program[_0x371bae(0x142)](),_0x14653c=await createTDXInstance(_0x24cfa8),_0x455b10=await _0x3a1dca[_0x371bae(0x370)]({'options':{..._0x24cfa8,..._0x47e7fb},'args':_0x451743?[_0x451743]:[],'tdx':_0x14653c});gracefulExit(_0x455b10);};projectCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x282))[a2_0x521ea7(0x183)]('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x521ea7(0x2c6)](llmProjectListAction),llmCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x360))[a2_0x521ea7(0x183)](a2_0x521ea7(0x190))[a2_0x521ea7(0x2c6)](llmProjectListAction),projectCmd['command'](a2_0x521ea7(0x155))[a2_0x521ea7(0x183)](a2_0x521ea7(0x10a))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2e5),a2_0x521ea7(0xd1))['action'](async(_0x2e74d4,_0x4d2c22)=>{const _0x52402e=a2_0x521ea7,_0x10feff=new LLMProjectCreateCommand(),_0x418391=program[_0x52402e(0x142)](),_0x4c0722=await createTDXInstance(_0x418391),_0xfd5de1=await _0x10feff[_0x52402e(0x370)]({'options':{..._0x418391,..._0x4d2c22},'args':[_0x2e74d4],'tdx':_0x4c0722});gracefulExit(_0xfd5de1);}),projectCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x26c))['description'](a2_0x521ea7(0x23c))[a2_0x521ea7(0x2c6)](async(_0x55401b,_0x5a13a7)=>{const _0x40233d=a2_0x521ea7,_0x52b767=new LLMProjectDeleteCommand(),_0x176777=program[_0x40233d(0x142)](),_0x1aaed9=await createTDXInstance(_0x176777),_0x39b182=await _0x52b767[_0x40233d(0x370)]({'options':{..._0x176777,..._0x5a13a7},'args':[_0x55401b],'tdx':_0x1aaed9});gracefulExit(_0x39b182);}),projectCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x1ad))[a2_0x521ea7(0x183)](a2_0x521ea7(0x163))['option'](a2_0x521ea7(0x1e0),a2_0x521ea7(0x354))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x18c),a2_0x521ea7(0x2e6))[a2_0x521ea7(0x2c6)](async(_0x749243,_0x16685b)=>{const _0x442595=a2_0x521ea7,_0x309f16=new LLMProjectBackupCommand(),_0x4bffd2=program[_0x442595(0x142)](),_0xdb0084=await createTDXInstance(_0x4bffd2),_0x374cd4=await _0x309f16[_0x442595(0x370)]({'options':{..._0x4bffd2,..._0x16685b},'args':[_0x749243],'tdx':_0xdb0084});gracefulExit(_0x374cd4);}),projectCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x1f6))[a2_0x521ea7(0x183)]('[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x31f),a2_0x521ea7(0x32d))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x18c),'Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')[a2_0x521ea7(0x2c6)](async(_0x199bcd,_0x2680bf)=>{const _0x344618=a2_0x521ea7,_0x233c3f=new LLMProjectRestoreCommand(),_0x499f6d=program['opts'](),_0x99636=await createTDXInstance(_0x499f6d),_0x2981b8=await _0x233c3f[_0x344618(0x370)]({'options':{..._0x499f6d,..._0x2680bf},'args':[_0x199bcd],'tdx':_0x99636});gracefulExit(_0x2981b8);});const llmAgentListAction=async(_0x5bf406,_0x1154ac)=>{const _0xee50ce=a2_0x521ea7,_0x4d3b32=new LLMAgentsCommand(),_0x14d60b=program[_0xee50ce(0x142)](),_0x132982=await createTDXInstance(_0x14d60b),_0x2b5229=await _0x4d3b32[_0xee50ce(0x370)]({'options':{..._0x14d60b,..._0x1154ac},'args':_0x5bf406?[_0x5bf406]:[],'tdx':_0x132982});gracefulExit(_0x2b5229);};llmCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x22f))[a2_0x521ea7(0x183)](a2_0x521ea7(0x15d))[a2_0x521ea7(0x2c6)](llmAgentListAction),program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x22f))['description'](a2_0x521ea7(0x15d))['action'](llmAgentListAction),llmCmd['command'](a2_0x521ea7(0x100))[a2_0x521ea7(0x183)](a2_0x521ea7(0x1a0))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2bb),a2_0x521ea7(0x21f))[a2_0x521ea7(0x2c6)](async(_0xe23875,_0xe50253)=>{const _0x3de4ec=a2_0x521ea7,_0x4a95de=new LLMHistoryCommand(),_0x4c5a6c=program['opts'](),_0x3a20d5=await createTDXInstance(_0x4c5a6c),_0x25e6d7=await _0x4a95de[_0x3de4ec(0x370)]({'options':{..._0x4c5a6c,..._0xe50253},'args':_0xe23875?[_0xe23875]:[],'tdx':_0x3a20d5});gracefulExit(_0x25e6d7);});isExperimentalAvailable()&&llmCmd[a2_0x521ea7(0x2ff)]('log\x20<chat-id>')[a2_0x521ea7(0x183)](a2_0x521ea7(0x328))[a2_0x521ea7(0x2c6)](async(_0x171d0e,_0x17dc03)=>{const _0x44415a=a2_0x521ea7,_0x27b45e=new LLMLogCommand(),_0x5a9bfa=program[_0x44415a(0x142)](),_0x5e2226=await createTDXInstance(_0x5a9bfa),_0x4a7fcf=await _0x27b45e['run']({'options':{..._0x5a9bfa,..._0x17dc03},'args':[_0x171d0e],'tdx':_0x5e2226});gracefulExit(_0x4a7fcf);});program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x231))['usage'](a2_0x521ea7(0x294))[a2_0x521ea7(0x183)](a2_0x521ea7(0x209))['option'](a2_0x521ea7(0xbc),a2_0x521ea7(0x331))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2d1),'Resume\x20a\x20conversation\x20(shows\x20selector)')['option'](a2_0x521ea7(0x364),a2_0x521ea7(0x212))[a2_0x521ea7(0x2dc)]()[a2_0x521ea7(0xff)](!![])[a2_0x521ea7(0x200)](a2_0x521ea7(0x109),a2_0x521ea7(0x2a7))['action'](async(_0x3da5d8,_0x1719a7)=>{const _0x451d33=a2_0x521ea7,_0x1efe9f=program[_0x451d33(0x142)](),_0x5ea666=Array[_0x451d33(0x2c7)](_0x3da5d8)?_0x3da5d8:[];if(_0x5ea666[0x0]===_0x451d33(0x35a)){const _0x1a2f73=new ClaudeStatuslineCommand(),_0x17e11e=await _0x1a2f73[_0x451d33(0x370)]({'options':{..._0x1efe9f,..._0x1719a7},'args':_0x5ea666['slice'](0x1),'tdx':null});gracefulExit(_0x17e11e);}if(_0x5ea666[0x0]==='usage'){const _0x54efde=new ClaudeUsageCommand(),_0x23a7db=await _0x54efde[_0x451d33(0x370)]({'options':{..._0x1efe9f,..._0x1719a7},'args':_0x5ea666['slice'](0x1),'tdx':null});gracefulExit(_0x23a7db);}const _0x3d1043=new ClaudeCommand(),_0x20cef5=await createTDXInstance(_0x1efe9f),_0x455ebc=await _0x3d1043[_0x451d33(0x370)]({'options':{..._0x1efe9f,..._0x1719a7},'args':_0x5ea666,'tdx':_0x20cef5});gracefulExit(_0x455ebc);}),program['command'](a2_0x521ea7(0x30f))[a2_0x521ea7(0x183)](a2_0x521ea7(0x38c))['option'](a2_0x521ea7(0x272),a2_0x521ea7(0x2bf))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0xdd),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')['action'](async(_0x401608,_0x2cf2db,_0x41c408)=>{const _0x5ddbb0=a2_0x521ea7,_0x58fab2=new UseCommand(),_0x408e94=program[_0x5ddbb0(0x142)](),_0x29eff7=[];if(_0x401608)_0x29eff7['push'](_0x401608);if(_0x2cf2db)_0x29eff7['push'](_0x2cf2db);const _0x2a8df4=_0x401608===_0x5ddbb0(0x2fa),_0x1c0d9a=_0x2a8df4?await createTDXInstance(_0x408e94):null,_0x54ecb7=await _0x58fab2[_0x5ddbb0(0x370)]({'options':{..._0x408e94,..._0x41c408},'args':_0x29eff7,'tdx':_0x1c0d9a});gracefulExit(_0x54ecb7);}),program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x33b))[a2_0x521ea7(0x183)](a2_0x521ea7(0x1df))['action'](async _0x4642fb=>{const _0x58176f=a2_0x521ea7,_0x226db8=new StatusCommand(),_0x5417bd=program[_0x58176f(0x142)](),_0x5831b5=await createTDXInstance(_0x5417bd),_0x3850c8=await _0x226db8[_0x58176f(0x370)]({'options':{..._0x5417bd,..._0x4642fb},'args':[],'tdx':_0x5831b5});gracefulExit(_0x3850c8);}),program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x174))[a2_0x521ea7(0x183)]('Upgrade\x20tdx\x20to\x20the\x20latest\x20version')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x18c),a2_0x521ea7(0x307))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2a2),'Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel')['option'](a2_0x521ea7(0x223),a2_0x521ea7(0x2a5))['action'](async(_0x4c5a60,_0x4df3f1)=>{const _0x19d36e=a2_0x521ea7,_0x34fb77=new UpgradeCommand(),_0x4ae8e2=program[_0x19d36e(0x142)](),_0x3cf26a=await _0x34fb77[_0x19d36e(0x370)]({'options':{..._0x4ae8e2,..._0x4df3f1},'args':_0x4c5a60?[_0x4c5a60]:[],'tdx':null});gracefulExit(_0x3cf26a);}),program['command'](a2_0x521ea7(0x178))[a2_0x521ea7(0x183)](a2_0x521ea7(0x323))['option'](a2_0x521ea7(0xdd),a2_0x521ea7(0xb1))[a2_0x521ea7(0x2c6)](async(_0x583df5,_0x2044b7)=>{const _0xd959d3=a2_0x521ea7,_0x44ae39=new UnsetCommand(),_0x3b9ce2=program[_0xd959d3(0x142)](),_0x180162=await _0x44ae39[_0xd959d3(0x370)]({'options':{..._0x3b9ce2,..._0x2044b7},'args':[_0x583df5],'tdx':null});gracefulExit(_0x180162);}),program[a2_0x521ea7(0x2ff)]('chats')['description']('Interactive\x20chat\x20selector')['option'](a2_0x521ea7(0x2bb),'Show\x20the\x20most\x20recent\x20chat')['action'](async _0x563ec2=>{const _0x24265b=a2_0x521ea7,_0x342bc7=new ChatsCommand(),_0x2ceb49=program[_0x24265b(0x142)](),_0x18591a=await createTDXInstance(_0x2ceb49),_0x528fd3=await _0x342bc7[_0x24265b(0x370)]({'options':{..._0x2ceb49,..._0x563ec2},'args':[],'tdx':_0x18591a});gracefulExit(_0x528fd3);});const authCmd=program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x2dd))[a2_0x521ea7(0x183)]('Authentication\x20management');async function runAuthStatusCommand(_0x5bc08a){const _0x1b17fd=a2_0x521ea7,_0xcedd41=new AuthStatusCommand(),_0x5974c4=program[_0x1b17fd(0x142)](),_0xe8daa1=await createTDXInstance(_0x5974c4),_0xb449d2=await _0xcedd41[_0x1b17fd(0x370)]({'options':{..._0x5974c4,..._0x5bc08a},'args':[],'tdx':_0xe8daa1});gracefulExit(_0xb449d2);}authCmd[a2_0x521ea7(0x2c6)](runAuthStatusCommand),authCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x33b))[a2_0x521ea7(0x183)]('Show\x20authentication\x20status\x20and\x20validate\x20API\x20key')[a2_0x521ea7(0x2c6)](runAuthStatusCommand),authCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x35b))[a2_0x521ea7(0x183)](a2_0x521ea7(0x28f))[a2_0x521ea7(0x200)](a2_0x521ea7(0x109),'\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\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\x20ap01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a')[a2_0x521ea7(0x2c6)](async _0x5e1696=>{const _0x4efd14=a2_0x521ea7,_0x3ba81f=new AuthSetupCommand(),_0x21b6eb=program[_0x4efd14(0x142)](),_0x3cd619=await createTDXInstance(_0x21b6eb),_0x3503d4=await _0x3ba81f[_0x4efd14(0x370)]({'options':{..._0x21b6eb,..._0x5e1696},'args':[],'tdx':_0x3cd619});gracefulExit(_0x3503d4);}),authCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x2d8))['description'](a2_0x521ea7(0x2d7))[a2_0x521ea7(0x200)](a2_0x521ea7(0x109),a2_0x521ea7(0x1bd))['action'](async _0x42e590=>{const _0x22f505=a2_0x521ea7,_0x3b2c96=new AuthLoginCommand(),_0x296666=program['opts'](),_0x3c14e5=await _0x3b2c96[_0x22f505(0x370)]({'options':{..._0x296666,..._0x42e590},'args':[],'tdx':null});gracefulExit(_0x3c14e5);}),authCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x276))[a2_0x521ea7(0x183)](a2_0x521ea7(0xf8))[a2_0x521ea7(0x200)]('after',a2_0x521ea7(0x150))['action'](async _0x52ce33=>{const _0x328c29=a2_0x521ea7,_0x22a0d6=new AuthClearCommand(),_0x55a84b=program[_0x328c29(0x142)](),_0x3e9f77=await _0x22a0d6['run']({'options':{..._0x55a84b,..._0x52ce33},'args':[],'tdx':null});gracefulExit(_0x3e9f77);});const userCmd=program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x26f))['description'](a2_0x521ea7(0x153)),userListAction=async _0x477117=>{const _0x2f5f6c=a2_0x521ea7,_0x474761=new UserListCommand(),_0x5b61ab=program[_0x2f5f6c(0x142)](),_0x51bd9a=await createTDXInstance(_0x5b61ab),_0x37ce3f=await _0x474761[_0x2f5f6c(0x370)]({'options':{..._0x5b61ab,..._0x477117},'args':[],'tdx':_0x51bd9a});gracefulExit(_0x37ce3f);};userCmd['action'](async _0xc60033=>{const _0x2cf2ed=a2_0x521ea7,_0x4d6112=new UserCommand(),_0x511eac=program[_0x2cf2ed(0x142)](),_0x401971=await createTDXInstance(_0x511eac),_0x403a3f=await _0x4d6112['run']({'options':{..._0x511eac,..._0xc60033},'args':[],'tdx':_0x401971});gracefulExit(_0x403a3f);}),userCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x34e))['description'](a2_0x521ea7(0x128))[a2_0x521ea7(0x2c6)](userListAction),program['command']('users')['description'](a2_0x521ea7(0x267))[a2_0x521ea7(0x2c6)](userListAction);const policyCmd=program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x32b))['description'](a2_0x521ea7(0x193));policyCmd['action'](async _0x4ea8d7=>{const _0x1b724b=new PolicyCommand(),_0x27d6c4=program['opts'](),_0x35a27d=await createTDXInstance(_0x27d6c4),_0x59d3dd=await _0x1b724b['run']({'options':{..._0x27d6c4,..._0x4ea8d7},'args':[],'tdx':_0x35a27d});gracefulExit(_0x59d3dd);}),policyCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x34e))[a2_0x521ea7(0x183)](a2_0x521ea7(0x239))[a2_0x521ea7(0x2c6)](async _0x3076e1=>{const _0x67442a=a2_0x521ea7,_0x3b9c3f=new PolicyListCommand(),_0xf92bfb=program[_0x67442a(0x142)](),_0x9d34d4=await createTDXInstance(_0xf92bfb),_0x10364e=await _0x3b9c3f[_0x67442a(0x370)]({'options':{..._0xf92bfb,..._0x3076e1},'args':[],'tdx':_0x9d34d4});gracefulExit(_0x10364e);}),policyCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x316))['description'](a2_0x521ea7(0x381))[a2_0x521ea7(0x2c6)](async(_0x255383,_0x331b79)=>{const _0x336f52=a2_0x521ea7,_0xe1bdd8=new PolicyShowCommand(),_0x46d632=program[_0x336f52(0x142)](),_0x27d79b=await createTDXInstance(_0x46d632),_0x400647=await _0xe1bdd8['run']({'options':{..._0x46d632,..._0x331b79},'args':[_0x255383],'tdx':_0x27d79b});gracefulExit(_0x400647);}),program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x171))[a2_0x521ea7(0x183)](a2_0x521ea7(0x30e))['action'](async _0xef11c9=>{const _0x4f4f6c=a2_0x521ea7,_0x3433a6=new ProfilesCommand(),_0x3ea4c0=program[_0x4f4f6c(0x142)](),_0x1c398f=await _0x3433a6['run']({'options':{..._0x3ea4c0,..._0xef11c9},'args':[],'tdx':null});gracefulExit(_0x1c398f);});const profileCmd=program['command'](a2_0x521ea7(0x27c))[a2_0x521ea7(0x183)](a2_0x521ea7(0xe7));profileCmd['action'](()=>{const _0x1a1767=a2_0x521ea7;profileCmd[_0x1a1767(0xc7)]();});const profileListAction=async _0x47b868=>{const _0x325c16=a2_0x521ea7,_0x95b603=new ProfilesCommand(),_0x2df3b0=program[_0x325c16(0x142)](),_0x3c5009=await _0x95b603['run']({'options':{..._0x2df3b0,..._0x47b868},'args':[],'tdx':null});gracefulExit(_0x3c5009);};profileCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x34e))[a2_0x521ea7(0x183)](a2_0x521ea7(0x30e))[a2_0x521ea7(0x2c6)](profileListAction),profileCmd[a2_0x521ea7(0x2ff)]('create\x20[name]')[a2_0x521ea7(0x183)](a2_0x521ea7(0x375))['addHelpText']('after','\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')['action'](async(_0xfe389d,_0x8525cc)=>{const _0x1c273a=a2_0x521ea7,_0x3e2959=new ProfileCreateCommand(),_0x251a7a=program[_0x1c273a(0x142)](),_0x23f94e=await _0x3e2959['run']({'options':{..._0x251a7a,..._0x8525cc},'args':_0xfe389d?[_0xfe389d]:[],'tdx':null});gracefulExit(_0x23f94e);}),profileCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x2e3))[a2_0x521ea7(0x183)](a2_0x521ea7(0x28c))[a2_0x521ea7(0x200)](a2_0x521ea7(0x109),a2_0x521ea7(0x22b))[a2_0x521ea7(0x2c6)](async(_0x14e634,_0x849749)=>{const _0x5be651=a2_0x521ea7,_0x50560b=new ProfileRemoveCommand(),_0x2ba7aa=program[_0x5be651(0x142)](),_0x1972f0=await _0x50560b[_0x5be651(0x370)]({'options':{..._0x2ba7aa,..._0x849749},'args':[_0x14e634],'tdx':null});gracefulExit(_0x1972f0);}),profileCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x149))[a2_0x521ea7(0x183)](a2_0x521ea7(0x217))[a2_0x521ea7(0x200)](a2_0x521ea7(0x109),a2_0x521ea7(0x16f))['action'](async(_0x15ca9c,_0x5a264b)=>{const _0x4daf8a=a2_0x521ea7,_0x5b5692=new ProfileSetCommand(),_0x5db03a=program[_0x4daf8a(0x142)](),_0x550be5=await _0x5b5692[_0x4daf8a(0x370)]({'options':{..._0x5db03a,..._0x5a264b},'args':[_0x15ca9c],'tdx':null});gracefulExit(_0x550be5);}),profileCmd['command'](a2_0x521ea7(0x1ae))['description'](a2_0x521ea7(0x349))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0xdd),a2_0x521ea7(0x31c))[a2_0x521ea7(0x200)]('after',a2_0x521ea7(0x274))['action'](async(_0x33f77b,_0x9698e0)=>{const _0x5984b4=a2_0x521ea7,_0x204703=new ProfileUseCommand(),_0x3f678a=program[_0x5984b4(0x142)](),_0x2bcdaf=await _0x204703['run']({'options':{..._0x3f678a,..._0x9698e0},'args':[_0x33f77b],'tdx':null});gracefulExit(_0x2bcdaf);});const engageCmd=program[a2_0x521ea7(0x2ff)]('engage')[a2_0x521ea7(0x183)](a2_0x521ea7(0x1d4)),createEngageAction=_0x5be893=>{return async(_0x447cdf,_0x21c47c)=>{const _0x1a0885=a2_0x5e37,_0x319ec7=new _0x5be893(),_0x2530a=program[_0x1a0885(0x142)](),_0x545b62=await createTDXInstance(_0x2530a),_0x20886f=await _0x319ec7[_0x1a0885(0x370)]({'options':{..._0x2530a,..._0x21c47c},'args':[_0x447cdf],'tdx':_0x545b62});gracefulExit(_0x20886f);};},createEngageNoArgAction=_0xdbe230=>{return async _0x45072b=>{const _0x5588e9=a2_0x5e37,_0x459948=new _0xdbe230(),_0x254303=program['opts'](),_0x4e58ba=await createTDXInstance(_0x254303),_0xdb32cb=await _0x459948[_0x5588e9(0x370)]({'options':{..._0x254303,..._0x45072b},'args':[],'tdx':_0x4e58ba});gracefulExit(_0xdb32cb);};},createEngageListAction=_0x2e36cf=>{return async(_0x24aa4d,_0x279510)=>{const _0x12db3e=a2_0x5e37,_0x406fa6=new _0x2e36cf(),_0x53305d=program['opts'](),_0x17c414=await createTDXInstance(_0x53305d),_0x41d5b3=await _0x406fa6[_0x12db3e(0x370)]({'options':{..._0x53305d,..._0x279510},'args':_0x24aa4d?[_0x24aa4d]:[],'tdx':_0x17c414});gracefulExit(_0x41d5b3);};},campaignCmd=engageCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x383))[a2_0x521ea7(0x183)](a2_0x521ea7(0x1ea));campaignCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x282))[a2_0x521ea7(0x183)]('List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x151),a2_0x521ea7(0xb5))[a2_0x521ea7(0x2c3)]('--status\x20<status>',a2_0x521ea7(0x298))['option'](a2_0x521ea7(0x2c4),a2_0x521ea7(0x1d2))[a2_0x521ea7(0x2c6)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0xcc))['description'](a2_0x521ea7(0x14b))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x151),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x521ea7(0x2c3)]('--status\x20<status>','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')['option'](a2_0x521ea7(0x2c4),'Workspace\x20name')[a2_0x521ea7(0x2c6)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x2d5))['description'](a2_0x521ea7(0xf3))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2c4),a2_0x521ea7(0x1d2))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x29d),a2_0x521ea7(0x32f))[a2_0x521ea7(0x2c6)](createEngageAction(EngageCampaignShowCommand)),campaignCmd['command'](a2_0x521ea7(0x371))['description'](a2_0x521ea7(0x330))[a2_0x521ea7(0x2b6)](a2_0x521ea7(0x152),a2_0x521ea7(0x273))[a2_0x521ea7(0x2b6)](a2_0x521ea7(0x151),a2_0x521ea7(0x2c0))[a2_0x521ea7(0x2c3)]('--workspace\x20<name>',a2_0x521ea7(0xfa))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x121),a2_0x521ea7(0x259))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x332),a2_0x521ea7(0x33c))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x340),a2_0x521ea7(0x1e8))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x219),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1f4),a2_0x521ea7(0x103))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1dd),a2_0x521ea7(0x15e))['action'](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x521ea7(0x2ff)]('update\x20<name-or-id>')[a2_0x521ea7(0x183)](a2_0x521ea7(0x1d9))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2c4),a2_0x521ea7(0x1d2))[a2_0x521ea7(0x2c3)]('--name\x20<name>',a2_0x521ea7(0x147))[a2_0x521ea7(0x2c3)]('--description\x20<desc>',a2_0x521ea7(0x259))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x332),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x340),a2_0x521ea7(0x1e8))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x219),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1f4),a2_0x521ea7(0x103))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1dd),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x521ea7(0x2c6)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x30c))[a2_0x521ea7(0x183)]('Delete\x20a\x20campaign')['option'](a2_0x521ea7(0x2c4),a2_0x521ea7(0x1d2))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1e9),a2_0x521ea7(0x165))[a2_0x521ea7(0x2c6)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x34f))['description'](a2_0x521ea7(0x337))['option']('--workspace\x20<name>',a2_0x521ea7(0x1d2))[a2_0x521ea7(0x2c6)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd['command'](a2_0x521ea7(0x25b))[a2_0x521ea7(0x183)](a2_0x521ea7(0x1a8))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2c4),'Workspace\x20name')[a2_0x521ea7(0x2c6)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x293))[a2_0x521ea7(0x183)](a2_0x521ea7(0xb9))['option'](a2_0x521ea7(0x2c4),a2_0x521ea7(0x1d2))[a2_0x521ea7(0x2c6)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command'](a2_0x521ea7(0x1f7))[a2_0x521ea7(0x183)]('Duplicate\x20a\x20campaign')['option'](a2_0x521ea7(0x2c4),a2_0x521ea7(0x1d2))[a2_0x521ea7(0x2c6)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0xad))[a2_0x521ea7(0x183)](a2_0x521ea7(0xfe))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2c4),a2_0x521ea7(0x1d2))['option'](a2_0x521ea7(0x152),a2_0x521ea7(0x1a9))[a2_0x521ea7(0x2c3)]('--type\x20<type>',a2_0x521ea7(0xb5))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x18c),a2_0x521ea7(0x1cf))['action'](createEngageAction(EngageCampaignPullCommand)),campaignCmd['command'](a2_0x521ea7(0x22e))[a2_0x521ea7(0x183)]('Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns')['option']('--workspace\x20<name>',a2_0x521ea7(0x1d2))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x18c),a2_0x521ea7(0x220))[a2_0x521ea7(0x2c6)](createEngageAction(EngageCampaignPushCommand)),campaignCmd['command']('validate\x20[target]')[a2_0x521ea7(0x183)]('Validate\x20campaign\x20YAML\x20files\x20locally')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0xd0),a2_0x521ea7(0x22d))[a2_0x521ea7(0x2c6)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x1ed))[a2_0x521ea7(0x183)](a2_0x521ea7(0xe0));alwaysOnCampaignCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x282))[a2_0x521ea7(0x183)](a2_0x521ea7(0x291))[a2_0x521ea7(0x2c3)]('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x25c),a2_0x521ea7(0x161))[a2_0x521ea7(0x2b6)](a2_0x521ea7(0x2c4),a2_0x521ea7(0xfa))[a2_0x521ea7(0x2c6)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd['command']('always-on-campaigns\x20[pattern]')[a2_0x521ea7(0x183)](a2_0x521ea7(0x12a))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x151),a2_0x521ea7(0xb5))[a2_0x521ea7(0x2c3)]('--status\x20<status>',a2_0x521ea7(0x161))[a2_0x521ea7(0x2b6)](a2_0x521ea7(0x2c4),'Workspace\x20name\x20(required)')['action'](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd['command'](a2_0x521ea7(0x2d5))[a2_0x521ea7(0x183)](a2_0x521ea7(0xf0))['requiredOption'](a2_0x521ea7(0x2c4),'Workspace\x20name\x20(required)')[a2_0x521ea7(0x2c3)]('--full','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x521ea7(0x2c6)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x371))[a2_0x521ea7(0x183)]('Create\x20a\x20new\x20always-on\x20campaign')[a2_0x521ea7(0x2b6)]('--name\x20<name>',a2_0x521ea7(0x273))[a2_0x521ea7(0x2b6)](a2_0x521ea7(0x151),'Campaign\x20type\x20(email\x20or\x20push)')[a2_0x521ea7(0x2b6)](a2_0x521ea7(0x2c4),a2_0x521ea7(0xfa))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x121),'Campaign\x20description')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x332),a2_0x521ea7(0xb0))['option']('--enable-utm-tracking','Enable\x20UTM\x20tracking')['action'](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x131))[a2_0x521ea7(0x183)](a2_0x521ea7(0xc9))[a2_0x521ea7(0x2b6)]('--workspace\x20<name>',a2_0x521ea7(0xfa))[a2_0x521ea7(0x2c3)]('--name\x20<name>','New\x20campaign\x20name')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x121),a2_0x521ea7(0x259))['option'](a2_0x521ea7(0x332),a2_0x521ea7(0xb0))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x229),a2_0x521ea7(0xc0))[a2_0x521ea7(0x2c6)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd['command'](a2_0x521ea7(0x30c))[a2_0x521ea7(0x183)]('Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)')[a2_0x521ea7(0x2b6)](a2_0x521ea7(0x2c4),a2_0x521ea7(0xfa))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1e9),a2_0x521ea7(0x165))['action'](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x34f))[a2_0x521ea7(0x183)](a2_0x521ea7(0x2ec))['requiredOption'](a2_0x521ea7(0x2c4),a2_0x521ea7(0xfa))[a2_0x521ea7(0x2c6)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x25b))['description']('Pause\x20an\x20always-on\x20campaign')[a2_0x521ea7(0x2b6)](a2_0x521ea7(0x2c4),a2_0x521ea7(0xfa))[a2_0x521ea7(0x2c6)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x521ea7(0x2ff)]('resume\x20<name-or-id>')[a2_0x521ea7(0x183)]('Resume\x20a\x20paused\x20always-on\x20campaign')[a2_0x521ea7(0x2b6)]('--workspace\x20<name>',a2_0x521ea7(0xfa))[a2_0x521ea7(0x2c6)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd['command']('finish\x20<name-or-id>')[a2_0x521ea7(0x183)](a2_0x521ea7(0x170))['requiredOption'](a2_0x521ea7(0x2c4),a2_0x521ea7(0xfa))[a2_0x521ea7(0x2c3)]('--yes',a2_0x521ea7(0x165))[a2_0x521ea7(0x2c6)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x1f7))['description'](a2_0x521ea7(0x12f))[a2_0x521ea7(0x2b6)](a2_0x521ea7(0x2c4),a2_0x521ea7(0xfa))[a2_0x521ea7(0x2b6)](a2_0x521ea7(0x152),'Name\x20for\x20the\x20duplicated\x20campaign')[a2_0x521ea7(0x2c6)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x342))[a2_0x521ea7(0x183)]('Email\x20template\x20management');templateCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x282))[a2_0x521ea7(0x183)](a2_0x521ea7(0x34d))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2c4),a2_0x521ea7(0x1d2))['action'](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x521ea7(0x2ff)]('templates\x20[pattern]')[a2_0x521ea7(0x183)](a2_0x521ea7(0x1f1))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2c4),a2_0x521ea7(0x1d2))[a2_0x521ea7(0x2c6)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x2d5))['description'](a2_0x521ea7(0x2d2))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2c4),a2_0x521ea7(0x1d2))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x29d),a2_0x521ea7(0x32f))[a2_0x521ea7(0x2c6)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x371))[a2_0x521ea7(0x183)]('Create\x20an\x20email\x20template')[a2_0x521ea7(0x2b6)](a2_0x521ea7(0x152),a2_0x521ea7(0x13d))['requiredOption'](a2_0x521ea7(0x12d),a2_0x521ea7(0x281))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0xb4),a2_0x521ea7(0x213))[a2_0x521ea7(0x2c3)]('--html-file\x20<path>',a2_0x521ea7(0x343))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2c4),a2_0x521ea7(0xfa))[a2_0x521ea7(0x2c3)]('--plaintext\x20<text>',a2_0x521ea7(0x2b3))['option'](a2_0x521ea7(0x324),a2_0x521ea7(0xbd),_0x537e97=>{const _0x48f531=a2_0x521ea7;if(![_0x48f531(0x16a),'grapesjs'][_0x48f531(0xc3)](_0x537e97))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Invalid\x20editor\x20type:\x20'+_0x537e97+_0x48f531(0x18d));return _0x537e97;})[a2_0x521ea7(0x2c6)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x131))['description']('Update\x20an\x20email\x20template')['option'](a2_0x521ea7(0x2c4),a2_0x521ea7(0x1d2))['option'](a2_0x521ea7(0x152),a2_0x521ea7(0x29f))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x12d),a2_0x521ea7(0x281))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0xb4),a2_0x521ea7(0x213))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2fb),a2_0x521ea7(0x343))['option'](a2_0x521ea7(0x368),a2_0x521ea7(0x2b3))[a2_0x521ea7(0x2c6)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x30d))['description'](a2_0x521ea7(0x38a))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2c4),a2_0x521ea7(0x1d2))['option'](a2_0x521ea7(0x152),a2_0x521ea7(0x16c))['option'](a2_0x521ea7(0x20e),a2_0x521ea7(0x165))['option'](a2_0x521ea7(0x18c),a2_0x521ea7(0x1cf))[a2_0x521ea7(0x2c6)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x22e))[a2_0x521ea7(0x183)](a2_0x521ea7(0xf5))['option']('--workspace\x20<name>',a2_0x521ea7(0x1d2))[a2_0x521ea7(0x2c3)]('-y,\x20--yes',a2_0x521ea7(0x165))['option'](a2_0x521ea7(0x18c),a2_0x521ea7(0x220))[a2_0x521ea7(0x2c6)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0xc8))[a2_0x521ea7(0x183)](a2_0x521ea7(0x311))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0xd0),a2_0x521ea7(0x22d))[a2_0x521ea7(0x2c6)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x521ea7(0x2ff)]('delete\x20<name-or-id>')[a2_0x521ea7(0x183)]('Delete\x20an\x20email\x20template')['option'](a2_0x521ea7(0x2c4),a2_0x521ea7(0x1d2))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1e9),a2_0x521ea7(0x165))['action'](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x385))[a2_0x521ea7(0x183)]('Workspace\x20management');workspaceCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x282))[a2_0x521ea7(0x183)](a2_0x521ea7(0x108))[a2_0x521ea7(0x2c6)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x299))[a2_0x521ea7(0x183)](a2_0x521ea7(0x1a2))[a2_0x521ea7(0x2c6)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x2d5))[a2_0x521ea7(0x183)](a2_0x521ea7(0x2e1))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x29d),a2_0x521ea7(0x32f))[a2_0x521ea7(0x2c6)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x371))[a2_0x521ea7(0x183)](a2_0x521ea7(0x19b))['requiredOption']('--name\x20<name>',a2_0x521ea7(0x1d2))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x121),a2_0x521ea7(0x29b))['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd['command'](a2_0x521ea7(0x131))[a2_0x521ea7(0x183)](a2_0x521ea7(0x2b7))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x152),a2_0x521ea7(0x377))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x121),a2_0x521ea7(0x29b))[a2_0x521ea7(0x2c6)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x30c))[a2_0x521ea7(0x183)](a2_0x521ea7(0x31e))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1e9),a2_0x521ea7(0x165))['action'](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x1ae))['description'](a2_0x521ea7(0x2f9))['action'](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x29a))[a2_0x521ea7(0x183)](a2_0x521ea7(0x2bc));deliveryCmd[a2_0x521ea7(0x2ff)]('senders\x20[pattern]')[a2_0x521ea7(0x183)]('List\x20email\x20senders')[a2_0x521ea7(0x2c3)]('--workspace\x20<name>',a2_0x521ea7(0x1d2))[a2_0x521ea7(0x2c6)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x325))[a2_0x521ea7(0x183)](a2_0x521ea7(0x313)),connectionListAction=async _0x13e8b3=>{const _0x5977d2=a2_0x521ea7,_0x27009c=new ConnectionListCommand(),_0x22996a=program[_0x5977d2(0x142)](),_0x5e9ac2=await createTDXInstance(_0x22996a),_0x2271ed=await _0x27009c['run']({'options':{..._0x22996a,..._0x13e8b3},'args':[],'tdx':_0x5e9ac2});gracefulExit(_0x2271ed);};connectionCmd[a2_0x521ea7(0x2ff)]('list')[a2_0x521ea7(0x183)](a2_0x521ea7(0x2de))[a2_0x521ea7(0x2c6)](connectionListAction),program['command'](a2_0x521ea7(0x369),{'hidden':!![]})['description'](a2_0x521ea7(0xed))[a2_0x521ea7(0x2c6)](connectionListAction),connectionCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x17e))[a2_0x521ea7(0x183)]('Show\x20connection\x20details\x20by\x20name')['action'](async(_0x22bebb,_0x206eca)=>{const _0x28377e=a2_0x521ea7,_0x54247a=new ConnectionShowCommand(),_0x4740f1=program['opts'](),_0x365fc8=await createTDXInstance(_0x4740f1),_0x5dbacf=await _0x54247a[_0x28377e(0x370)]({'options':{..._0x4740f1,..._0x206eca},'args':[_0x22bebb],'tdx':_0x365fc8});gracefulExit(_0x5dbacf);}),connectionCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0xfc))[a2_0x521ea7(0x183)](a2_0x521ea7(0x341))[a2_0x521ea7(0x2c6)](async(_0x243487,_0x16a42f)=>{const _0x1473e3=a2_0x521ea7,_0x12bcd7=new ConnectionSchemaCommand(),_0x2298a5=program['opts'](),_0x50419c=await createTDXInstance(_0x2298a5),_0x13c050=await _0x12bcd7[_0x1473e3(0x370)]({'options':{..._0x2298a5,..._0x16a42f},'args':[_0x243487],'tdx':_0x50419c});gracefulExit(_0x13c050);}),connectionCmd['command'](a2_0x521ea7(0x120))[a2_0x521ea7(0x183)](a2_0x521ea7(0x204))['action'](async _0x99609f=>{const _0x57fb9f=a2_0x521ea7,_0x5174a7=new ConnectionTypesCommand(),_0x2d9cde=program[_0x57fb9f(0x142)](),_0x3b3593=await createTDXInstance(_0x2d9cde),_0x3b96ec=await _0x5174a7['run']({'options':{..._0x2d9cde,..._0x99609f},'args':[],'tdx':_0x3b3593});gracefulExit(_0x3b96ec);}),connectionCmd['command'](a2_0x521ea7(0x248))[a2_0x521ea7(0x183)]('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x521ea7(0x2c6)](async(_0x4c6cd4,_0x2eb84f)=>{const _0xe54667=a2_0x521ea7,_0x35cb72=new ConnectionSettingsCommand(),_0x182431=program[_0xe54667(0x142)](),_0x57ddd2=await createTDXInstance(_0x182431),_0x4c274d=await _0x35cb72[_0xe54667(0x370)]({'options':{..._0x182431,..._0x2eb84f},'args':[_0x4c6cd4],'tdx':_0x57ddd2});gracefulExit(_0x4c274d);});const journeyCmd=program[a2_0x521ea7(0x2ff)]('journey')[a2_0x521ea7(0x183)](a2_0x521ea7(0x189)),journeyListAction=async(_0x313560,_0xdfef5e)=>{const _0xf04674=a2_0x521ea7,_0x31f684=new JourneyListCommand(),_0x1f1cb5=program[_0xf04674(0x142)](),_0x35270b=await createTDXInstance(_0x1f1cb5),_0x53beee=await _0x31f684[_0xf04674(0x370)]({'options':{..._0x1f1cb5,..._0xdfef5e},'args':_0x313560?[_0x313560]:[],'tdx':_0x35270b});gracefulExit(_0x53beee);};journeyCmd['command'](a2_0x521ea7(0x282))[a2_0x521ea7(0x183)](a2_0x521ea7(0x362))[a2_0x521ea7(0x2c6)](journeyListAction),journeyCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x13a))['description'](a2_0x521ea7(0x102))[a2_0x521ea7(0x2c3)]('-w,\x20--web',a2_0x521ea7(0x10b))[a2_0x521ea7(0x2c3)]('--include-stats',a2_0x521ea7(0x334))['action'](async(_0x1b21d6,_0x445601)=>{const _0x2e5e1e=a2_0x521ea7,_0x223c1c=new JourneyViewCommand(),_0x2fae9a=program[_0x2e5e1e(0x142)](),_0x24566e=await createTDXInstance(_0x2fae9a),_0x400010=await _0x223c1c['run']({'options':{..._0x2fae9a,..._0x445601},'args':[_0x1b21d6],'tdx':_0x24566e});gracefulExit(_0x400010);}),journeyCmd[a2_0x521ea7(0x2ff)]('stats\x20<name-or-path>')['description'](a2_0x521ea7(0x29e))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x144),'Show\x20stats\x20for\x20specific\x20stage')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2eb),a2_0x521ea7(0x38f))[a2_0x521ea7(0x2c3)]('--to\x20<date>',a2_0x521ea7(0x36b))['option'](a2_0x521ea7(0x2ea),a2_0x521ea7(0x2b0))[a2_0x521ea7(0x2c6)](async(_0x584e93,_0x2b0fa9)=>{const _0x3f2b8b=a2_0x521ea7,_0x3c2b60=new JourneyStatsCommand(),_0x124de0=program[_0x3f2b8b(0x142)](),_0x85a444=await createTDXInstance(_0x124de0),_0x59b281=await _0x3c2b60['run']({'options':{..._0x124de0,..._0x2b0fa9},'args':[_0x584e93],'tdx':_0x85a444});gracefulExit(_0x59b281);}),journeyCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x113))[a2_0x521ea7(0x183)](a2_0x521ea7(0x22a))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x151),a2_0x521ea7(0x2b2))['option']('--from\x20<date>',a2_0x521ea7(0x38f))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x2aa),a2_0x521ea7(0x36b))[a2_0x521ea7(0x2c3)]('--limit\x20<number>',a2_0x521ea7(0x136),_0x5ba5bb=>{const _0x2eb56e=a2_0x521ea7,_0x346cda=parseInt(_0x5ba5bb,0xa);if(isNaN(_0x346cda))throw new Error(_0x2eb56e(0x314)+_0x5ba5bb+_0x2eb56e(0x1c3));return _0x346cda;})['action'](async(_0x5de99e,_0x43a8c4)=>{const _0x1bda98=a2_0x521ea7,_0x12335c=new JourneyTrafficCommand(),_0x4d247e=program[_0x1bda98(0x142)](),_0x1b1102=await createTDXInstance(_0x4d247e),_0x462be4=await _0x12335c[_0x1bda98(0x370)]({'options':{..._0x4d247e,..._0x43a8c4},'args':[_0x5de99e],'tdx':_0x1b1102});gracefulExit(_0x462be4);}),journeyCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x350))['description'](a2_0x521ea7(0x247))[a2_0x521ea7(0x2c6)](async(_0x53e6e8,_0x4e7307)=>{const _0x392a1d=a2_0x521ea7,_0x28e6cf=new JourneyPauseCommand(),_0xc3d1dd=program[_0x392a1d(0x142)](),_0x54f8f9=await createTDXInstance(_0xc3d1dd),_0x59f46b=await _0x28e6cf[_0x392a1d(0x370)]({'options':{..._0xc3d1dd,..._0x4e7307},'args':[_0x53e6e8],'tdx':_0x54f8f9});gracefulExit(_0x59f46b);}),journeyCmd['command'](a2_0x521ea7(0x138))[a2_0x521ea7(0x183)](a2_0x521ea7(0xec))[a2_0x521ea7(0x2c6)](async(_0x48f3a6,_0x4238c0)=>{const _0x5a19b1=a2_0x521ea7,_0x26c3d8=new JourneyResumeCommand(),_0x25b47c=program[_0x5a19b1(0x142)](),_0x53c207=await createTDXInstance(_0x25b47c),_0x35bb39=await _0x26c3d8[_0x5a19b1(0x370)]({'options':{..._0x25b47c,..._0x4238c0},'args':[_0x48f3a6],'tdx':_0x53c207});gracefulExit(_0x35bb39);}),journeyCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x18e))[a2_0x521ea7(0x183)](a2_0x521ea7(0x218))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x18c),a2_0x521ea7(0x1b1))['action'](async(_0x489a3f,_0x5872eb)=>{const _0x318f6b=a2_0x521ea7,_0x3152ce=new JourneyPullCommand(),_0x2e9a9a=program[_0x318f6b(0x142)](),_0x22dffe=await createTDXInstance(_0x2e9a9a),_0x1628e2=await _0x3152ce[_0x318f6b(0x370)]({'options':{..._0x2e9a9a,..._0x5872eb},'args':_0x489a3f?[_0x489a3f]:[],'tdx':_0x22dffe});gracefulExit(_0x1628e2);}),journeyCmd['command'](a2_0x521ea7(0x22e))[a2_0x521ea7(0x183)](a2_0x521ea7(0x318))['action'](async(_0x317db7,_0x1e6db0)=>{const _0x6f8a91=a2_0x521ea7,_0x31387f=new JourneyPushCommand(),_0x4f0955=program[_0x6f8a91(0x142)](),_0x2e30ab=await createTDXInstance(_0x4f0955),_0x315b7a=await _0x31387f[_0x6f8a91(0x370)]({'options':{..._0x4f0955,..._0x1e6db0},'args':_0x317db7?[_0x317db7]:[],'tdx':_0x2e30ab});gracefulExit(_0x315b7a);}),journeyCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x1b6))[a2_0x521ea7(0x183)](a2_0x521ea7(0x28a))[a2_0x521ea7(0x2c6)](async(_0x211e45,_0x4440ed)=>{const _0xffc928=a2_0x521ea7,_0x1251d3=new JourneyColumnsCommand(),_0x341af0=program['opts'](),_0x332137=await createTDXInstance(_0x341af0),_0x2a5af4=await _0x1251d3[_0xffc928(0x370)]({'options':{..._0x341af0,..._0x4440ed},'args':[_0x211e45],'tdx':_0x332137});gracefulExit(_0x2a5af4);}),journeyCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x17a))[a2_0x521ea7(0x183)]('List\x20activations\x20for\x20a\x20journey')['action'](async(_0x7c2e21,_0x59b19c)=>{const _0x2a2cfc=a2_0x521ea7,_0x26e040=new JourneyActivationsCommand(),_0xc0c67d=program[_0x2a2cfc(0x142)](),_0x25f36f=await createTDXInstance(_0xc0c67d),_0x432a07=await _0x26e040[_0x2a2cfc(0x370)]({'options':{..._0xc0c67d,..._0x59b19c},'args':[_0x7c2e21],'tdx':_0x25f36f});gracefulExit(_0x432a07);}),journeyCmd[a2_0x521ea7(0x2ff)]('versions\x20<name-or-path>')[a2_0x521ea7(0x183)](a2_0x521ea7(0x23b))[a2_0x521ea7(0x2c6)](async(_0x5733bc,_0x537d6b)=>{const _0x2287f8=a2_0x521ea7,_0x5b8421=new JourneyVersionsCommand(),_0x153e3d=program[_0x2287f8(0x142)](),_0x39065c=await createTDXInstance(_0x153e3d),_0x1f7d8f=await _0x5b8421[_0x2287f8(0x370)]({'options':{..._0x153e3d,..._0x537d6b},'args':[_0x5733bc],'tdx':_0x39065c});gracefulExit(_0x1f7d8f);});const journeyVersionCmd=journeyCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x1c9))[a2_0x521ea7(0x183)]('Journey\x20version\x20management');journeyVersionCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x12c))['description']('Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey')[a2_0x521ea7(0x2c6)](async(_0x50bad0,_0x308483)=>{const _0x145463=new JourneyVersionCreateCommand(),_0x235542=program['opts'](),_0x156b6f=await createTDXInstance(_0x235542),_0x4d1db0=await _0x145463['run']({'options':{..._0x235542,..._0x308483},'args':[_0x50bad0],'tdx':_0x156b6f});gracefulExit(_0x4d1db0);}),journeyVersionCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x13a))[a2_0x521ea7(0x183)](a2_0x521ea7(0x240))['requiredOption']('--version\x20<number>',a2_0x521ea7(0x216))[a2_0x521ea7(0x2c6)](async(_0x28c846,_0x832ad6)=>{const _0x2e21c7=a2_0x521ea7,_0x2e4ad5=new JourneyVersionViewCommand(),_0x54e4d5=program['opts'](),_0xba1b80=await createTDXInstance(_0x54e4d5),_0x1cc710=await _0x2e4ad5[_0x2e21c7(0x370)]({'options':{..._0x54e4d5,..._0x832ad6},'args':[_0x28c846],'tdx':_0xba1b80});gracefulExit(_0x1cc710);}),journeyCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0xc8))[a2_0x521ea7(0x183)](a2_0x521ea7(0x117))[a2_0x521ea7(0x2c6)](async(_0x3c7555,_0x5cd57d)=>{const _0xe3afd5=a2_0x521ea7,_0x4c3da7=new JourneyValidateCommand(),_0x12f7ea=program[_0xe3afd5(0x142)](),_0x450b2e=await createTDXInstance(_0x12f7ea),_0x781ea4=await _0x4c3da7[_0xe3afd5(0x370)]({'options':{..._0x12f7ea,..._0x5cd57d},'args':_0x3c7555?[_0x3c7555]:[],'tdx':_0x450b2e});gracefulExit(_0x781ea4);}),program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x262))[a2_0x521ea7(0x183)](a2_0x521ea7(0x124))[a2_0x521ea7(0x2c6)](journeyListAction);const agentSyncCmd=program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x14c))['description'](a2_0x521ea7(0x257));agentSyncCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x228))['description'](a2_0x521ea7(0x2ca))['option']('-o,\x20--output\x20<dir>','Output\x20directory')['option']('-f,\x20--force',a2_0x521ea7(0x167))['option'](a2_0x521ea7(0x34a),a2_0x521ea7(0x32c))['action'](async(_0x479493,_0x7d3298,_0x230870)=>{const _0xd63834=a2_0x521ea7,_0xf687ad=new AgentPullCommand(),_0xd91f1b=program[_0xd63834(0x142)](),_0x32d3c8=await createTDXInstance(_0xd91f1b),_0x4c62e8=[];if(_0x479493)_0x4c62e8[_0xd63834(0x1d5)](_0x479493);if(_0x7d3298)_0x4c62e8[_0xd63834(0x1d5)](_0x7d3298);const _0x257ae8=await _0xf687ad[_0xd63834(0x370)]({'options':{..._0xd91f1b,..._0x230870},'args':_0x4c62e8,'tdx':_0x32d3c8});gracefulExit(_0x257ae8);}),agentSyncCmd['command'](a2_0x521ea7(0x234))[a2_0x521ea7(0x183)](a2_0x521ea7(0x233))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0xbe),'Push\x20without\x20confirmation')[a2_0x521ea7(0x2c6)](async(_0x6a7d12,_0x135474)=>{const _0x12da27=a2_0x521ea7,_0x53427b=new AgentPushCommand(),_0x16dad6=program['opts'](),_0x597acc=await createTDXInstance(_0x16dad6),_0x4344a5=await _0x53427b[_0x12da27(0x370)]({'options':{..._0x16dad6,..._0x135474},'args':_0x6a7d12?[_0x6a7d12]:[],'tdx':_0x597acc});gracefulExit(_0x4344a5);}),agentSyncCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x2d6))[a2_0x521ea7(0x183)](a2_0x521ea7(0x15b))[a2_0x521ea7(0x2c3)]('-n,\x20--name\x20<name>',a2_0x521ea7(0x357))[a2_0x521ea7(0x2c6)](async(_0x188687,_0x2a686f)=>{const _0xf11702=a2_0x521ea7,_0x13296b=new AgentCloneCommand(),_0x18a20e=program['opts'](),_0x220785=await createTDXInstance(_0x18a20e),_0x53c4c0=await _0x13296b[_0xf11702(0x370)]({'options':{..._0x18a20e,..._0x2a686f},'args':_0x188687?[_0x188687]:[],'tdx':_0x220785});gracefulExit(_0x53c4c0);}),agentSyncCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x344))[a2_0x521ea7(0x183)](a2_0x521ea7(0x1e7))[a2_0x521ea7(0x2c3)]('--name\x20<names>',a2_0x521ea7(0xd4))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x201),'Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)')[a2_0x521ea7(0x2c3)]('--dry-run','Parse\x20and\x20validate\x20without\x20executing')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x188),a2_0x521ea7(0x286))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x21a),a2_0x521ea7(0x191))['action'](async(_0x45a364,_0x2b8388)=>{const _0x336f14=a2_0x521ea7,_0x2f6bd1=new AgentTestCommand(),_0x2a8b5f=program[_0x336f14(0x142)](),_0x1ba343=await createTDXInstance(_0x2a8b5f),_0x501fc3=await _0x2f6bd1[_0x336f14(0x370)]({'options':{..._0x2a8b5f,..._0x2b8388},'args':_0x45a364?[_0x45a364]:[],'tdx':_0x1ba343});gracefulExit(_0x501fc3);}),agentSyncCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x282))['description'](a2_0x521ea7(0x1c4))[a2_0x521ea7(0x2c6)](llmAgentListAction),agentSyncCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x1f8))[a2_0x521ea7(0x183)](a2_0x521ea7(0x26e))['action'](async(_0x1055df,_0x47d499)=>{const _0xb5bdd1=a2_0x521ea7,_0x177d11=new LLMAgentShowCommand(),_0x4650b8=program[_0xb5bdd1(0x142)](),_0x36cf43=await createTDXInstance(_0x4650b8),_0xb2f1a2=await _0x177d11[_0xb5bdd1(0x370)]({'options':{..._0x4650b8,..._0x47d499},'args':[_0x1055df],'tdx':_0x36cf43});gracefulExit(_0xb2f1a2);}),agentSyncCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x155))['description'](a2_0x521ea7(0x16e))[a2_0x521ea7(0x2c3)]('--system-prompt\x20<text>',a2_0x521ea7(0x19c))[a2_0x521ea7(0x2c3)]('--model\x20<name>','Model\x20type\x20(default:\x20claude-4.5-sonnet)','claude-4.5-sonnet')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x1f0),a2_0x521ea7(0x1ff))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0xce),a2_0x521ea7(0x214),'4')[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x20a),a2_0x521ea7(0x154),'0.7')[a2_0x521ea7(0x2c6)](async(_0x5f22ed,_0x249e43)=>{const _0x33c9aa=a2_0x521ea7,_0x24e3bd=new LLMAgentCreateCommand(),_0x5dfc59=program[_0x33c9aa(0x142)](),_0x270e8f=await createTDXInstance(_0x5dfc59),_0x385314=await _0x24e3bd['run']({'options':{..._0x5dfc59,..._0x249e43},'args':[_0x5f22ed],'tdx':_0x270e8f});gracefulExit(_0x385314);}),agentSyncCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x2f6))['description'](a2_0x521ea7(0x20c))[a2_0x521ea7(0x2c3)](a2_0x521ea7(0x268),a2_0x521ea7(0x2f1))['option'](a2_0x521ea7(0x366),a2_0x521ea7(0x14f))[a2_0x521ea7(0x2c3)]('--description\x20<text>',a2_0x521ea7(0x1b5))[a2_0x521ea7(0x2c3)]('--starter-message\x20<text>',a2_0x521ea7(0x1ff))['action'](async(_0x23a5ae,_0x5b4af2)=>{const _0x1628af=a2_0x521ea7,_0x2b8002=new LLMAgentUpdateCommand(),_0x20af78=program[_0x1628af(0x142)](),_0x5e43e3=await createTDXInstance(_0x20af78),_0x92fa5a=await _0x2b8002[_0x1628af(0x370)]({'options':{..._0x20af78,..._0x5b4af2},'args':[_0x23a5ae],'tdx':_0x5e43e3});gracefulExit(_0x92fa5a);}),agentSyncCmd[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x2df))[a2_0x521ea7(0x183)](a2_0x521ea7(0x271))[a2_0x521ea7(0x2c6)](async(_0x54c406,_0x349e90)=>{const _0xf98b6a=a2_0x521ea7,_0x54e8c=new LLMAgentDeleteCommand(),_0xabd2f4=program['opts'](),_0x4f6c9b=await createTDXInstance(_0xabd2f4),_0x550c23=await _0x54e8c[_0xf98b6a(0x370)]({'options':{..._0xabd2f4,..._0x349e90},'args':[_0x54c406],'tdx':_0x4f6c9b});gracefulExit(_0x550c23);}),program[a2_0x521ea7(0x2ff)](a2_0x521ea7(0x2a1),{'hidden':!![]})[a2_0x521ea7(0x2c6)](()=>{const _0x1eed20=a2_0x521ea7;function _0x3ce305(_0x46f6f2,_0xdbe91f){const _0x2ae16b=a2_0x5e37,_0x2649ff=[];for(const _0x1fd8a5 of _0x46f6f2[_0x2ae16b(0x15f)]){if(_0x1fd8a5[_0x2ae16b(0x1c1)])continue;const _0x2dab7c=_0xdbe91f?_0xdbe91f+'\x20'+_0x1fd8a5['name']():_0x1fd8a5['name'](),_0x4e13c0=_0x2dab7c['split']('\x20')[0x0],_0x5610c6=COMMAND_CATEGORIES[_0x2ae16b(0x2db)](_0x1d9ead=>_0x1d9ead[_0x2ae16b(0x15f)]['includes'](_0x4e13c0)),_0x34948f=_0x5610c6?.['name']??'';if(_0x1fd8a5[_0x2ae16b(0x15f)]['length']>0x0)_0x2649ff[_0x2ae16b(0x1d5)](..._0x3ce305(_0x1fd8a5,_0x2dab7c));else{const _0x375891=(_0x1fd8a5[_0x2ae16b(0x321)]||[])[_0x2ae16b(0x33d)](_0x59dcc7=>{const _0x501c28=_0x2ae16b,_0x184d15=_0x59dcc7[_0x501c28(0x104)]?_0x59dcc7[_0x501c28(0x1be)]()+_0x501c28(0x38e):_0x59dcc7[_0x501c28(0x1be)]();return _0x59dcc7[_0x501c28(0x1a4)]?'<'+_0x184d15+'>':'['+_0x184d15+']';})['join']('\x20'),_0x492009=_0x1fd8a5[_0x2ae16b(0x2e8)][_0x2ae16b(0x358)](_0x3ff44c=>!_0x3ff44c['hidden']&&_0x3ff44c[_0x2ae16b(0x31a)]!=='--help')[_0x2ae16b(0x33d)](_0x29e764=>({'flags':_0x29e764[_0x2ae16b(0x35d)],'description':_0x29e764[_0x2ae16b(0x183)]}));_0x2649ff['push']({'name':_0x2dab7c,'description':_0x1fd8a5[_0x2ae16b(0x183)](),'group':_0x34948f,'usage':_0x375891,'options':_0x492009});}}return _0x2649ff;}console[_0x1eed20(0x114)](JSON[_0x1eed20(0x241)](_0x3ce305(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x1b8bc2=a2_0x521ea7,_0x192eb7=!process['argv'][_0x1b8bc2(0x1d1)](0x2)[_0x1b8bc2(0x1fa)];showBriefHelp=_0x192eb7,program[_0x1b8bc2(0x280)](process['argv']);_0x192eb7&&program[_0x1b8bc2(0xc7)]();const _0x46d5d9=process[_0x1b8bc2(0x10f)][0x2]===_0x1b8bc2(0x106);if(process[_0x1b8bc2(0x24d)][_0x1b8bc2(0x28b)]&&process[_0x1b8bc2(0x10f)][_0x1b8bc2(0x1fa)]>0x2&&!isDevVersion()&&!_0x46d5d9){const _0x250637=loadReleaseChannel();checkForUpdate(currentVersion,_0x250637)[_0x1b8bc2(0x346)](_0x3c0e64=>{_0x3c0e64&&displayUpdateNotification(_0x3c0e64);})[_0x1b8bc2(0x266)](()=>{});}}
|