@treasuredata/tdx 2026.3.9 → 2026.3.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +1 -1
- package/dist/build-info.json +3 -3
- package/dist/cli-categories.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/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/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.d.ts.map +1 -1
- package/dist/commands/workflow-command.js +1 -1
- package/dist/commands/workflow-command.js.map +1 -1
- package/dist/core/auth.js +1 -1
- package/dist/core/command-output.js +1 -1
- package/dist/core/config.js +1 -1
- package/dist/core/connection-cache.js +1 -1
- package/dist/core/constants.js +1 -1
- package/dist/core/credential-cache.js +1 -1
- package/dist/core/global-context.js +1 -1
- package/dist/core/keychain.js +1 -1
- package/dist/core/oauth-keychain.js +1 -1
- package/dist/core/oauth.js +1 -1
- package/dist/core/profile.js +1 -1
- package/dist/core/project-config.js +1 -1
- package/dist/core/session.js +1 -1
- package/dist/core/user-cache.js +1 -1
- package/dist/core/version.js +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/tools/index.js +1 -1
- package/dist/mcp/tools/tdx-run.js +1 -1
- package/dist/mcp/tools/tdx-search.js +1 -1
- package/dist/mcp/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.d.ts +2 -0
- package/dist/sdk/errors.d.ts.map +1 -1
- package/dist/sdk/errors.js +1 -1
- package/dist/sdk/errors.js.map +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/io/index.js +1 -1
- package/dist/sdk/io/node-filesystem.js +1 -1
- package/dist/sdk/job.js +1 -1
- package/dist/sdk/journey.js +1 -1
- package/dist/sdk/llm/chat-cache.js +1 -1
- package/dist/sdk/llm/index.js +1 -1
- package/dist/sdk/llm/llm-backup-utils.js +1 -1
- package/dist/sdk/llm/model-factors.js +1 -1
- package/dist/sdk/personalization.js +1 -1
- package/dist/sdk/query/index.js +1 -1
- package/dist/sdk/query/sql-parser.js +1 -1
- package/dist/sdk/realtime.js +1 -1
- package/dist/sdk/schedule.js +1 -1
- package/dist/sdk/segment/child-segment-yaml.js +1 -1
- package/dist/sdk/segment/fields-display.js +1 -1
- package/dist/sdk/segment/file-discovery.js +1 -1
- package/dist/sdk/segment/journey-utils.js +1 -1
- package/dist/sdk/segment/journey-validator.js +1 -1
- package/dist/sdk/segment/journey-yaml.js +1 -1
- package/dist/sdk/segment/parent-segment-preview.js +1 -1
- package/dist/sdk/segment/parent-segment-yaml.js +1 -1
- package/dist/sdk/segment/pull-workflow.js +1 -1
- package/dist/sdk/segment/push-recovery.js +1 -1
- package/dist/sdk/segment/push-workflow.js +1 -1
- package/dist/sdk/segment/resolution-context.js +1 -1
- package/dist/sdk/segment/segment-path-parser.js +1 -1
- package/dist/sdk/segment/segment-ref-parser.js +1 -1
- package/dist/sdk/segment/segment-validator.js +1 -1
- package/dist/sdk/segment/target-resolution.js +1 -1
- package/dist/sdk/segment/tdx-config.js +1 -1
- package/dist/sdk/segment/types/activation-schema.js +1 -1
- package/dist/sdk/segment/types/journey-def.js +1 -1
- package/dist/sdk/segment/types/journey-schema.js +1 -1
- package/dist/sdk/segment/types/segment-def.js +1 -1
- package/dist/sdk/segment/types/segment-schema.js +1 -1
- package/dist/sdk/segment/validate-files.js +1 -1
- package/dist/sdk/segment/yaml-validator.js +1 -1
- package/dist/sdk/segment.js +1 -1
- package/dist/sdk/types/index.js +1 -1
- package/dist/sdk/types/progress.js +1 -1
- package/dist/sdk/user.js +1 -1
- package/dist/sdk/util/format-detector.js +1 -1
- package/dist/sdk/util/formatters.js +1 -1
- package/dist/sdk/util/index.js +1 -1
- package/dist/sdk/util/paginate.js +1 -1
- package/dist/sdk/util/tree-formatter.js +1 -1
- package/dist/sdk/workflow/archive-validation.js +1 -1
- package/dist/sdk/workflow/clone-workflow.js +1 -1
- package/dist/sdk/workflow/index.d.ts +12 -0
- package/dist/sdk/workflow/index.d.ts.map +1 -1
- package/dist/sdk/workflow/index.js +1 -1
- package/dist/sdk/workflow/index.js.map +1 -1
- package/dist/sdk/workflow/pull-workflow.js +1 -1
- package/dist/sdk/workflow/push-workflow.js +1 -1
- package/dist/sdk/workflow/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_0xe95552=a2_0x1a55;(function(_0x1ecfc5,_0xde60fa){const _0x1b319c=a2_0x1a55,_0x402884=_0x1ecfc5();while(!![]){try{const _0x311ae8=-parseInt(_0x1b319c(0x1cc))/0x1+parseInt(_0x1b319c(0x31f))/0x2+parseInt(_0x1b319c(0x397))/0x3*(-parseInt(_0x1b319c(0x1d2))/0x4)+parseInt(_0x1b319c(0x243))/0x5+-parseInt(_0x1b319c(0x316))/0x6*(parseInt(_0x1b319c(0x1a1))/0x7)+-parseInt(_0x1b319c(0x417))/0x8+parseInt(_0x1b319c(0x283))/0x9;if(_0x311ae8===_0xde60fa)break;else _0x402884['push'](_0x402884['shift']());}catch(_0x17368d){_0x402884['push'](_0x402884['shift']());}}}(a2_0x1c6a,0x9171b));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{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_0xe95552(0x32b)][a2_0xe95552(0x334)](a2_0xe95552(0x3e6))){let versionOutput=a2_0xe95552(0x413)+currentVersion;buildInfo['gitRevision']&&!currentVersion['includes'](buildInfo['gitRevision'])&&(versionOutput+='\x20('+buildInfo['gitRevision']+')'),buildInfo[a2_0xe95552(0x272)]&&(versionOutput+=a2_0xe95552(0x3f8)+buildInfo[a2_0xe95552(0x272)]),console[a2_0xe95552(0x30f)](versionOutput),process['exit'](0x0);}const program=new Command();export function mergeCommandOptions(_0x406a58,_0x425b58){const _0x354bf9={..._0x406a58};for(const [_0x494c54,_0x3c3858]of Object['entries'](_0x425b58)){_0x3c3858!==undefined&&(_0x354bf9[_0x494c54]=_0x3c3858);}return _0x354bf9;}let showBriefHelp=![],description=a2_0xe95552(0x232);buildInfo[a2_0xe95552(0x20b)]&&!currentVersion[a2_0xe95552(0x334)](buildInfo[a2_0xe95552(0x20b)])?description+=a2_0xe95552(0x335)+currentVersion+'\x20('+buildInfo[a2_0xe95552(0x20b)]+')':description+=a2_0xe95552(0x335)+currentVersion;program[a2_0xe95552(0x2cd)]('tdx')[a2_0xe95552(0x420)](description),program[a2_0xe95552(0x41e)](a2_0xe95552(0x37c),a2_0xe95552(0x434))[a2_0xe95552(0x41e)](a2_0xe95552(0x39f),a2_0xe95552(0x2cc))['option'](a2_0xe95552(0x320),'TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)',a2_0xe95552(0x2c0))['option'](a2_0xe95552(0x249),a2_0xe95552(0x2d6))['option'](a2_0xe95552(0x2aa),a2_0xe95552(0x2e4))[a2_0xe95552(0x41e)](a2_0xe95552(0x437),a2_0xe95552(0x37a))[a2_0xe95552(0x41e)](a2_0xe95552(0x2ec),'Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')[a2_0xe95552(0x41e)]('--tsv',a2_0xe95552(0x34f))[a2_0xe95552(0x41e)](a2_0xe95552(0x299),a2_0xe95552(0x38e))[a2_0xe95552(0x41e)](a2_0xe95552(0x1b0),'Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)')[a2_0xe95552(0x41e)](a2_0xe95552(0x3bd),a2_0xe95552(0x267),![])[a2_0xe95552(0x41e)](a2_0xe95552(0x196),'Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)',![])['option'](a2_0xe95552(0x40a),a2_0xe95552(0x2ad),![])['option']('--debug',a2_0xe95552(0x279))[a2_0xe95552(0x41e)](a2_0xe95552(0x23a),a2_0xe95552(0x42f))[a2_0xe95552(0x41e)](a2_0xe95552(0x2e7),'Set\x20operation\x20timeout\x20in\x20seconds','30')[a2_0xe95552(0x41e)](a2_0xe95552(0x3ad),'Preview\x20operation\x20without\x20executing',![])[a2_0xe95552(0x41e)](a2_0xe95552(0x2e1),a2_0xe95552(0x219),![])['option'](a2_0xe95552(0x2c7),a2_0xe95552(0x34e))[a2_0xe95552(0x41e)]('--parent-segment\x20<name>','Parent\x20segment\x20to\x20use\x20(overrides\x20context)')[a2_0xe95552(0x41e)](a2_0xe95552(0x35b),a2_0xe95552(0x3b5)),program['configureHelp']({'formatHelp':(_0x28f53a,_0x2e2368)=>{const _0x3b4dae=a2_0xe95552,_0x17820d=_0x2e2368[_0x3b4dae(0x345)](_0x28f53a,_0x2e2368),_0x43f83d=0x2,_0x171c7d=0x2;function _0x41f36d(_0x50dbdc){const _0x98c62f=_0x3b4dae,_0x252d6e=_0x50dbdc;return!!(_0x252d6e['_hidden']||_0x252d6e[_0x98c62f(0x414)]);}function _0x26563c(_0x5bf8df,_0x58d8c3){const _0x1e8d01=_0x3b4dae;if(_0x58d8c3){const _0x4531c4=''+_0x5bf8df[_0x1e8d01(0x2a9)](_0x17820d+_0x171c7d)+_0x58d8c3;return _0x4531c4;}return _0x5bf8df;}function _0x599872(_0x3c886f){const _0x10f216=_0x3b4dae;return _0x3c886f[_0x10f216(0x347)]('\x0a')['replace'](/^/gm,'\x20'[_0x10f216(0x395)](_0x43f83d));}const _0x5d10a7=[];_0x5d10a7[_0x3b4dae(0x3d3)]('Usage:\x20'+_0x2e2368['commandUsage'](_0x28f53a));const _0x31b46a=_0x2e2368[_0x3b4dae(0x2b9)](_0x28f53a);_0x31b46a&&(_0x5d10a7[_0x3b4dae(0x3d3)](''),_0x5d10a7[_0x3b4dae(0x3d3)](_0x31b46a));const _0x41217e=_0x28f53a[_0x3b4dae(0x3e0)][_0x3b4dae(0x317)](_0x23f25b=>!_0x41f36d(_0x23f25b));if(_0x41217e[_0x3b4dae(0x3d9)]>0x0){if(_0x28f53a[_0x3b4dae(0x2cd)]()===_0x3b4dae(0x281)){const _0x36fd1c=_0x28f53a['opts'](),_0xe157bf=!_0x36fd1c[_0x3b4dae(0x27d)]&&process[_0x3b4dae(0x1d3)][_0x3b4dae(0x3d0)],_0x2bde27=COMMAND_CATEGORIES,_0x551eeb=(_0x3c1111,_0x1a888c)=>_0xe157bf?_0x1a888c(_0x3c1111):_0x3c1111,_0x10e3ef=new Map();_0x41217e['forEach'](_0x51021e=>{const _0x5d4619=_0x3b4dae;_0x10e3ef['set'](_0x51021e[_0x5d4619(0x2cd)](),_0x51021e);}),_0x2bde27['forEach'](_0x3853f1=>{const _0x58e0a7=_0x3b4dae,_0x45821c=_0x3853f1[_0x58e0a7(0x3e0)]['flatMap'](_0x35b2cd=>_0x10e3ef[_0x58e0a7(0x19a)](_0x35b2cd)??[]);if(_0x45821c[_0x58e0a7(0x3d9)]>0x0){_0x5d10a7['push'](''),_0x5d10a7[_0x58e0a7(0x3d3)](_0x551eeb(_0x3853f1[_0x58e0a7(0x2cd)]+':',_0x3853f1['colorFn']));const _0x144948=_0x45821c[_0x58e0a7(0x202)](_0x5aa671=>{const _0x48fbb5=_0x58e0a7,_0x12ce14=_0x2e2368['subcommandTerm'](_0x5aa671),_0xe4836b=_0x2e2368[_0x48fbb5(0x3e2)](_0x5aa671);return _0x26563c(_0x12ce14,_0xe4836b);});_0x5d10a7[_0x58e0a7(0x3d3)](_0x599872(_0x144948));}}),_0x5d10a7['push'](''),_0x5d10a7['push'](_0x3b4dae(0x443));}else{const _0x3e06c0=_0x41217e[_0x3b4dae(0x202)](_0x3622ba=>{const _0x3e12b6=_0x3b4dae,_0x5604da=_0x2e2368['subcommandTerm'](_0x3622ba),_0x426bbc=_0x2e2368[_0x3e12b6(0x3e2)](_0x3622ba);return _0x26563c(_0x5604da,_0x426bbc);});_0x5d10a7[_0x3b4dae(0x3d3)](''),_0x5d10a7[_0x3b4dae(0x3d3)](_0x3b4dae(0x20c)),_0x5d10a7[_0x3b4dae(0x3d3)](_0x599872(_0x3e06c0));}}if(showBriefHelp&&_0x28f53a[_0x3b4dae(0x2cd)]()==='tdx')_0x5d10a7[_0x3b4dae(0x3d3)](''),_0x5d10a7['push'](_0x3b4dae(0x3bc));else{const _0x45a6aa=_0x28f53a['options'][_0x3b4dae(0x317)](_0x42752c=>!_0x41f36d(_0x42752c));if(_0x45a6aa[_0x3b4dae(0x3d9)]>0x0){const _0x3e37ab=_0x45a6aa['map'](_0x2af20a=>{const _0x2d2141=_0x2e2368['optionTerm'](_0x2af20a),_0x578842=_0x2e2368['optionDescription'](_0x2af20a);return _0x26563c(_0x2d2141,_0x578842);});_0x5d10a7[_0x3b4dae(0x3d3)](''),_0x5d10a7[_0x3b4dae(0x3d3)](_0x3b4dae(0x1b5)),_0x5d10a7[_0x3b4dae(0x3d3)](_0x599872(_0x3e37ab));}}const _0x167c31=(_0x28f53a[_0x3b4dae(0x203)]||[])[_0x3b4dae(0x317)](_0x51bfe3=>!_0x41f36d(_0x51bfe3));if(_0x167c31['length']>0x0){const _0x2cb837=_0x167c31[_0x3b4dae(0x202)](_0x5de82a=>{const _0x3dfd22=_0x3b4dae,_0x951f65=_0x2e2368['argumentTerm'](_0x5de82a),_0xf64164=_0x2e2368[_0x3dfd22(0x18c)](_0x5de82a);return _0x26563c(_0x951f65,_0xf64164);});_0x5d10a7['push'](''),_0x5d10a7['push'](_0x3b4dae(0x2ac)),_0x5d10a7[_0x3b4dae(0x3d3)](_0x599872(_0x2cb837));}return _0x5d10a7[_0x3b4dae(0x347)]('\x0a')+'\x0a';},'subcommandTerm':_0x3318da=>{const _0x11923b=a2_0xe95552,_0x31b0c9=(_0x3318da[_0x11923b(0x203)]||[])[_0x11923b(0x202)](_0x33eab3=>_0x33eab3['required']?'<'+_0x33eab3['name']()+'>':'['+_0x33eab3[_0x11923b(0x2cd)]()+']')['join']('\x20'),_0x29165a=_0x3318da['aliases'](),_0x56c6de=_0x29165a[_0x11923b(0x3d9)]>0x0?_0x3318da['name']()+',\x20'+_0x29165a['join'](',\x20'):_0x3318da[_0x11923b(0x2cd)]();return _0x31b0c9?_0x56c6de+'\x20'+_0x31b0c9:_0x56c6de;}}),program[a2_0xe95552(0x3c6)](a2_0xe95552(0x297),_0x4239ac=>{const _0x391c44=a2_0xe95552,_0x140440=_0x4239ac[_0x391c44(0x1c9)]();if(_0x140440['directory']){const _0x5a6e5d=resolve(_0x140440[_0x391c44(0x3a5)]),_0xe2d881=_0x5a6e5d!==_0x140440[_0x391c44(0x3a5)]?'\x20(resolved\x20to\x20'+_0x5a6e5d+')':'';if(!existsSync(_0x5a6e5d))throw new SDKError(ErrorCode[_0x391c44(0x1c6)],_0x391c44(0x2d3)+_0x140440['directory']+_0xe2d881,undefined,{'helpText':_0x391c44(0x28c)});const _0x56927d=statSync(_0x5a6e5d);if(!_0x56927d['isDirectory']())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x391c44(0x3c8)+_0x140440['directory']+_0xe2d881,undefined,{'helpText':_0x391c44(0x214)});process['chdir'](_0x5a6e5d);}if(!_0x140440[_0x391c44(0x1b2)]){if(_0x140440[_0x391c44(0x36b)])_0x140440['format']=_0x391c44(0x36b);else{if(_0x140440['json'])_0x140440[_0x391c44(0x1b2)]=_0x391c44(0x384);else{if(_0x140440[_0x391c44(0x440)])_0x140440[_0x391c44(0x1b2)]=_0x391c44(0x440);else _0x140440['tsv']&&(_0x140440[_0x391c44(0x1b2)]=_0x391c44(0x293));}}}if(_0x140440['trace'])_0x140440['logLevel']=LogLevel[_0x391c44(0x40d)];else{if(_0x140440['debug'])_0x140440[_0x391c44(0x2d1)]=LogLevel[_0x391c44(0x1a0)];else _0x140440[_0x391c44(0x2d1)]===undefined&&(_0x140440['logLevel']=LogLevel['INFO']);}});async function createTDXInstance(_0xb05f63){const _0x58cf21=a2_0xe95552,_0x307901=await GlobalContext[_0x58cf21(0x1b8)](_0xb05f63);return _0x307901[_0x58cf21(0x301)](_0xb05f63),TDX[_0x58cf21(0x25e)]({'site':_0x307901[_0x58cf21(0x3cb)],'apiKey':_0x307901['apiKey'],'accessToken':_0x307901[_0x58cf21(0x210)],'logLevel':_0x307901[_0x58cf21(0x2d1)],'profile':_0x307901['profile']});}const databaseCmd=program[a2_0xe95552(0x19d)](a2_0xe95552(0x208))[a2_0xe95552(0x282)]('db')[a2_0xe95552(0x420)](a2_0xe95552(0x1eb)),databaseListAction=async(_0x5a8830,_0x4e8313)=>{const _0x4a07ed=a2_0xe95552,_0x1f0224=new DatabasesCommand(),_0xfcf891=program['opts'](),_0x57d2b3=await createTDXInstance(_0xfcf891),_0x374d07=await _0x1f0224[_0x4a07ed(0x30e)]({'options':{..._0xfcf891,..._0x4e8313},'args':_0x5a8830?[_0x5a8830]:[],'tdx':_0x57d2b3});gracefulExit(_0x374d07);};databaseCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x255))[a2_0xe95552(0x420)](a2_0xe95552(0x230))[a2_0xe95552(0x307)](databaseListAction),program[a2_0xe95552(0x19d)]('databases\x20[pattern]',{'hidden':!![]})[a2_0xe95552(0x420)](a2_0xe95552(0x3b2))[a2_0xe95552(0x307)](databaseListAction),program[a2_0xe95552(0x19d)](a2_0xe95552(0x401))[a2_0xe95552(0x420)](a2_0xe95552(0x41d))[a2_0xe95552(0x41e)](a2_0xe95552(0x39e),a2_0xe95552(0x3b6))[a2_0xe95552(0x41e)]('--new',a2_0xe95552(0x241))['option'](a2_0xe95552(0x309),a2_0xe95552(0x38b))[a2_0xe95552(0x41e)](a2_0xe95552(0x32d),a2_0xe95552(0x390))['action'](async(_0x6cbecf,_0x4642d6)=>{const _0x537e9b=a2_0xe95552,_0x8691ba=program[_0x537e9b(0x1c9)](),_0x835e2d=await createTDXInstance(_0x8691ba);if(_0x6cbecf[0x0]===_0x537e9b(0x25e)){const _0x54e95d=new ChatCreateCommand();gracefulExit(await _0x54e95d[_0x537e9b(0x30e)]({'options':{..._0x8691ba,..._0x4642d6},'args':_0x6cbecf[_0x537e9b(0x32e)](0x1),'tdx':_0x835e2d}));return;}const _0x3ca144=new ChatCommand(),_0x1250a9=await _0x3ca144[_0x537e9b(0x30e)]({'options':{..._0x8691ba,..._0x4642d6},'args':_0x6cbecf,'tdx':_0x835e2d});gracefulExit(_0x1250a9);});const apiCmd=program[a2_0xe95552(0x19d)]('api\x20[endpoint]')[a2_0xe95552(0x291)](a2_0xe95552(0x225))[a2_0xe95552(0x2fd)](a2_0xe95552(0x3f5),a2_0xe95552(0x228))[a2_0xe95552(0x41e)](a2_0xe95552(0x360),a2_0xe95552(0x2bc),'GET')['option'](a2_0xe95552(0x1b9),'Request\x20body\x20as\x20JSON\x20string')['option'](a2_0xe95552(0x223),a2_0xe95552(0x21c))['option']('-H,\x20--header\x20<header>','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x4efa05,_0x24abb8)=>{return _0x24abb8?[..._0x24abb8,_0x4efa05]:[_0x4efa05];})['option']('--type\x20<api_type>',a2_0xe95552(0x2fb),'td')[a2_0xe95552(0x307)](async(_0x4a43e7,_0x1d72f6)=>{const _0x51c376=a2_0xe95552;if(!_0x4a43e7){apiCmd[_0x51c376(0x197)]();return;}const _0x42c8d9=new ApiCommand(),_0x4f6995=program[_0x51c376(0x1c9)](),_0x4de977=await createTDXInstance(_0x4f6995),_0x341143=await _0x42c8d9[_0x51c376(0x30e)]({'options':{..._0x4f6995,..._0x1d72f6},'args':[_0x4a43e7],'tdx':_0x4de977});gracefulExit(_0x341143);});program[a2_0xe95552(0x19d)](a2_0xe95552(0x1f6))['description'](a2_0xe95552(0x336))[a2_0xe95552(0x2fd)](a2_0xe95552(0x3f5),a2_0xe95552(0x3d7))[a2_0xe95552(0x307)](async _0xdda9a4=>{const _0x2e0f2f=a2_0xe95552,_0x52628c=new MCPCommand(),_0x57bafd=program[_0x2e0f2f(0x1c9)](),_0x59221a=await createTDXInstance(_0x57bafd),_0x354927=await _0x52628c[_0x2e0f2f(0x30e)]({'options':{..._0x57bafd,..._0xdda9a4},'args':[],'tdx':_0x59221a});gracefulExit(_0x354927);});const tableCmd=program[a2_0xe95552(0x19d)](a2_0xe95552(0x36b))[a2_0xe95552(0x420)]('Table\x20management\x20commands'),tableListAction=async(_0x1a1c8c,_0x279e7f)=>{const _0x1537d3=a2_0xe95552,_0x378e3d=new TablesCommand(),_0x321b45=program[_0x1537d3(0x1c9)](),_0x476155=await createTDXInstance(_0x321b45);_0x279e7f['in']&&(_0x279e7f['database']=_0x279e7f['in']);const _0x117c54=await _0x378e3d['run']({'options':{..._0x321b45,..._0x279e7f},'args':_0x1a1c8c?[_0x1a1c8c]:[],'tdx':_0x476155});gracefulExit(_0x117c54);};tableCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x255))[a2_0xe95552(0x420)](a2_0xe95552(0x2e5))[a2_0xe95552(0x41e)]('-d,\x20--database\x20<database>',a2_0xe95552(0x20f))[a2_0xe95552(0x41e)](a2_0xe95552(0x41b),a2_0xe95552(0x3d4))['action'](tableListAction),program[a2_0xe95552(0x19d)](a2_0xe95552(0x36d),{'hidden':!![]})[a2_0xe95552(0x420)]('List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)')[a2_0xe95552(0x41e)](a2_0xe95552(0x348),a2_0xe95552(0x20f))[a2_0xe95552(0x41e)](a2_0xe95552(0x41b),a2_0xe95552(0x3d4))['action'](tableListAction),program[a2_0xe95552(0x19d)](a2_0xe95552(0x31a))[a2_0xe95552(0x420)](a2_0xe95552(0x222))[a2_0xe95552(0x41e)]('-d,\x20--database\x20<database>',a2_0xe95552(0x2f8))[a2_0xe95552(0x41e)](a2_0xe95552(0x41b),a2_0xe95552(0x3d4))[a2_0xe95552(0x307)](async(_0x56fa9a,_0x513d7c)=>{const _0x3f6935=a2_0xe95552,_0x5bf545=new ShowCommand(),_0x21bfec=program[_0x3f6935(0x1c9)](),_0xddf3ee=await createTDXInstance(_0x21bfec);_0x513d7c['in']&&(_0x513d7c[_0x3f6935(0x208)]=_0x513d7c['in']);const _0x55ddcc=await _0x5bf545[_0x3f6935(0x30e)]({'options':{..._0x21bfec,..._0x513d7c},'args':_0x56fa9a?[_0x56fa9a]:[],'tdx':_0xddf3ee});gracefulExit(_0x55ddcc);}),program[a2_0xe95552(0x19d)](a2_0xe95552(0x33c))['alias'](a2_0xe95552(0x3c3))[a2_0xe95552(0x420)]('Describe\x20table\x20schema')[a2_0xe95552(0x41e)](a2_0xe95552(0x348),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0xe95552(0x41e)](a2_0xe95552(0x41b),a2_0xe95552(0x3d4))[a2_0xe95552(0x307)](async(_0x4ee193,_0x35b716)=>{const _0x43a45d=a2_0xe95552,_0x21dce3=new DescribeCommand(),_0xd2a210=program[_0x43a45d(0x1c9)](),_0x33ddb5=await createTDXInstance(_0xd2a210);_0x35b716['in']&&(_0x35b716[_0x43a45d(0x208)]=_0x35b716['in']);const _0x219474=await _0x21dce3['run']({'options':{..._0xd2a210,..._0x35b716},'args':_0x4ee193?[_0x4ee193]:[],'tdx':_0x33ddb5});gracefulExit(_0x219474);}),program[a2_0xe95552(0x19d)](a2_0xe95552(0x3d8))[a2_0xe95552(0x420)](a2_0xe95552(0x1d4))[a2_0xe95552(0x41e)](a2_0xe95552(0x348),a2_0xe95552(0x2b2))[a2_0xe95552(0x41e)](a2_0xe95552(0x41b),a2_0xe95552(0x3d4))[a2_0xe95552(0x41e)]('--catalog\x20<catalog>',a2_0xe95552(0x1b3))[a2_0xe95552(0x41e)](a2_0xe95552(0x223),'Read\x20SQL\x20query\x20from\x20file')[a2_0xe95552(0x41e)](a2_0xe95552(0x373),a2_0xe95552(0x430))[a2_0xe95552(0x307)](async(_0x1e36e0,_0x15db7c)=>{const _0x291c6e=a2_0xe95552,_0x3ff6fb=new QueryCommand(),_0x311b01=program['opts'](),_0x10a4ec=await createTDXInstance(_0x311b01);_0x15db7c['in']&&(_0x15db7c[_0x291c6e(0x208)]=_0x15db7c['in']);const _0x116ba5=await _0x3ff6fb['run']({'options':mergeCommandOptions(_0x311b01,_0x15db7c),'args':_0x1e36e0?[_0x1e36e0]:[],'tdx':_0x10a4ec});gracefulExit(_0x116ba5);});const segmentCmd=program['command'](a2_0xe95552(0x22c))[a2_0xe95552(0x282)]('sg')['description'](a2_0xe95552(0x3cc)),segmentListAction=async(_0x5262a4,_0x11f9da)=>{const _0x476a3e=new SegmentsCommand(),_0x2721b2=program['opts'](),_0x5b0e6e=await createTDXInstance(_0x2721b2),_0x5d0f9a=await _0x476a3e['run']({'options':{..._0x2721b2,..._0x11f9da},'args':_0x5262a4?[_0x5262a4]:[],'tdx':_0x5b0e6e});gracefulExit(_0x5d0f9a);};segmentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x38f))['description'](a2_0xe95552(0x23b))[a2_0xe95552(0x41e)](a2_0xe95552(0x21b),a2_0xe95552(0x27f))['option'](a2_0xe95552(0x3a9),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0xe95552(0x307)](segmentListAction),program[a2_0xe95552(0x19d)]('segments\x20[path]',{'hidden':!![]})[a2_0xe95552(0x420)]('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')[a2_0xe95552(0x41e)](a2_0xe95552(0x21b),a2_0xe95552(0x27f))['option'](a2_0xe95552(0x3a9),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')['action'](segmentListAction),segmentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x24e),{'hidden':!![]})['description'](a2_0xe95552(0x2d0))[a2_0xe95552(0x307)](async(_0x65241f,_0x1f93bb)=>{const _0x5d2857=a2_0xe95552,_0x3fccbd=new SegmentUseCommand(),_0x51a1ef=program[_0x5d2857(0x1c9)](),_0xcd68ab=await createTDXInstance(_0x51a1ef),_0x40cab9=await _0x3fccbd[_0x5d2857(0x30e)]({'options':{..._0x51a1ef,..._0x1f93bb},'args':[_0x65241f],'tdx':_0xcd68ab});gracefulExit(_0x40cab9);});const segmentViewAction=async(_0x1cd55b,_0x213ac0)=>{const _0xf7e0d=a2_0xe95552,_0xeff53e=new SegmentViewCommand(),_0x55a5cf=program[_0xf7e0d(0x1c9)](),_0x36fd02=await createTDXInstance(_0x55a5cf),_0x4359ba=await _0xeff53e[_0xf7e0d(0x30e)]({'options':{..._0x55a5cf,..._0x213ac0},'args':_0x1cd55b?[_0x1cd55b]:[],'tdx':_0x36fd02});gracefulExit(_0x4359ba);};segmentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x1f8))[a2_0xe95552(0x420)]('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')['option'](a2_0xe95552(0x398),a2_0xe95552(0x313))[a2_0xe95552(0x307)](segmentViewAction),segmentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x1ec),{'hidden':!![]})['alias'](a2_0xe95552(0x37f))['option'](a2_0xe95552(0x398),a2_0xe95552(0x313))[a2_0xe95552(0x420)](a2_0xe95552(0x3cd))[a2_0xe95552(0x307)](segmentViewAction),segmentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x2ca))[a2_0xe95552(0x420)](a2_0xe95552(0x1a7))[a2_0xe95552(0x307)](async(_0x2d61fa,_0x3b6994)=>{const _0x4f7bf3=a2_0xe95552,_0x198c28=new SegmentDescCommand(),_0xbd150a=program[_0x4f7bf3(0x1c9)](),_0x3abb60=await createTDXInstance(_0xbd150a),_0x1f919f=await _0x198c28[_0x4f7bf3(0x30e)]({'options':{..._0xbd150a,..._0x3b6994},'args':_0x2d61fa?[_0x2d61fa]:[],'tdx':_0x3abb60});gracefulExit(_0x1f919f);}),segmentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x28b))[a2_0xe95552(0x420)](a2_0xe95552(0x2b0))[a2_0xe95552(0x307)](async(_0x30308c,_0x17300a)=>{const _0xa40116=a2_0xe95552,_0x1c8c75=new SegmentShowCommand(),_0x5cab51=program['opts'](),_0xe39085=await createTDXInstance(_0x5cab51),_0x1fd43f=await _0x1c8c75[_0xa40116(0x30e)]({'options':{..._0x5cab51,..._0x17300a},'args':_0x30308c?[_0x30308c]:[],'tdx':_0xe39085});gracefulExit(_0x1fd43f);}),segmentCmd[a2_0xe95552(0x19d)]('folders\x20<parent_name>',{'hidden':!![]})[a2_0xe95552(0x420)](a2_0xe95552(0x3ff))[a2_0xe95552(0x307)](async(_0xc5c5a7,_0x1d3c84)=>{const _0x4add3c=a2_0xe95552,_0x4d53b7=new SegmentFolderListCommand(),_0x1ab8c0=program[_0x4add3c(0x1c9)](),_0x112b90=await createTDXInstance(_0x1ab8c0),_0x412a19=await _0x4d53b7['run']({'options':{..._0x1ab8c0,..._0x1d3c84},'args':[_0xc5c5a7],'tdx':_0x112b90});gracefulExit(_0x412a19);});const folderCmd=segmentCmd[a2_0xe95552(0x19d)]('folder',{'hidden':!![]})[a2_0xe95552(0x420)](a2_0xe95552(0x3e8));folderCmd[a2_0xe95552(0x19d)]('show\x20<folder_ref>')['description'](a2_0xe95552(0x431))[a2_0xe95552(0x307)](async(_0x18bac3,_0x231991)=>{const _0x4bd489=a2_0xe95552,_0x982b46=new SegmentFolderShowCommand(),_0x13db67=program['opts'](),_0x190c6a=await createTDXInstance(_0x13db67),_0x3e1672=await _0x982b46[_0x4bd489(0x30e)]({'options':{..._0x13db67,..._0x231991},'args':[_0x18bac3],'tdx':_0x190c6a});gracefulExit(_0x3e1672);}),segmentCmd['command'](a2_0xe95552(0x218))[a2_0xe95552(0x420)](a2_0xe95552(0x337))[a2_0xe95552(0x41e)](a2_0xe95552(0x2d4),'YAML\x20file\x20path\x20for\x20unpushed\x20segment')['action'](async(_0x21bfc7,_0x1d3a5a)=>{const _0x4bb34c=a2_0xe95552,_0x543b8b=new SegmentSQLCommand(),_0xe18e00=program['opts'](),_0x12c505=await createTDXInstance(_0xe18e00),_0x5f591b=await _0x543b8b[_0x4bb34c(0x30e)]({'options':{..._0xe18e00,..._0x1d3a5a},'args':_0x21bfc7?[_0x21bfc7]:[],'tdx':_0x12c505});gracefulExit(_0x5f591b);}),segmentCmd['command']('fields\x20[parent_name]')[a2_0xe95552(0x420)](a2_0xe95552(0x3b3))[a2_0xe95552(0x307)](async(_0x2e3161,_0xb0d40a)=>{const _0x4f4e14=a2_0xe95552,_0x5791de=new SegmentFieldsCommand(),_0x315acc=program['opts'](),_0x17435d=await createTDXInstance(_0x315acc),_0x36c631=await _0x5791de[_0x4f4e14(0x30e)]({'options':{..._0x315acc,..._0xb0d40a},'args':_0x2e3161?[_0x2e3161]:[],'tdx':_0x17435d});gracefulExit(_0x36c631);}),segmentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x244))[a2_0xe95552(0x420)]('Pull\x20child\x20segments\x20to\x20YAML\x20files')[a2_0xe95552(0x41e)]('--dry-run',a2_0xe95552(0x1d5))['action'](async(_0x1d80dd,_0x130f75)=>{const _0x2cbcde=a2_0xe95552,_0x31cc39=new SegmentPullCommand(),_0x2cd247=program[_0x2cbcde(0x1c9)](),_0x58c243=await createTDXInstance(_0x2cd247),_0x2069af=await _0x31cc39[_0x2cbcde(0x30e)]({'options':{..._0x2cd247,..._0x130f75},'args':_0x1d80dd?[_0x1d80dd]:[],'tdx':_0x58c243});gracefulExit(_0x2069af);}),segmentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x3b1))['description'](a2_0xe95552(0x40f))['option'](a2_0xe95552(0x3ad),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0xe95552(0x41e)](a2_0xe95552(0x326),a2_0xe95552(0x427))['action'](async(_0x108c02,_0x691176)=>{const _0x571b82=a2_0xe95552,_0x67aeb1=new SegmentPushCommand(),_0x4ca378=program[_0x571b82(0x1c9)](),_0x1e6e62=await createTDXInstance(_0x4ca378),_0x1af9c5=await _0x67aeb1['run']({'options':{..._0x4ca378,..._0x691176},'args':_0x108c02?[_0x108c02]:[],'tdx':_0x1e6e62});gracefulExit(_0x1af9c5);}),segmentCmd['command'](a2_0xe95552(0x3dd))[a2_0xe95552(0x420)](a2_0xe95552(0x258))[a2_0xe95552(0x307)](async(_0x5a83b3,_0x4650d6)=>{const _0x7d13b8=a2_0xe95552,_0x1f0857=new SegmentValidateCommand(),_0x5b9fcf=program[_0x7d13b8(0x1c9)](),_0x451880=await createTDXInstance(_0x5b9fcf),_0x27f6ec=await _0x1f0857[_0x7d13b8(0x30e)]({'options':{..._0x5b9fcf,..._0x4650d6},'args':_0x5a83b3?[_0x5a83b3]:[],'tdx':_0x451880});gracefulExit(_0x27f6ec);}),segmentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x207),{'hidden':!![]})['description'](a2_0xe95552(0x3a7))['option'](a2_0xe95552(0x436),'Segment\x20description')[a2_0xe95552(0x41e)](a2_0xe95552(0x246),a2_0xe95552(0x2fc))[a2_0xe95552(0x41e)](a2_0xe95552(0x374),a2_0xe95552(0x22e))['option'](a2_0xe95552(0x383),a2_0xe95552(0x378))[a2_0xe95552(0x41e)](a2_0xe95552(0x1f0),a2_0xe95552(0x29d))[a2_0xe95552(0x41e)](a2_0xe95552(0x2f7),a2_0xe95552(0x41c))[a2_0xe95552(0x41e)]('--no-count-population',a2_0xe95552(0x359))[a2_0xe95552(0x307)](async(_0x307171,_0x2babf5)=>{const _0x30c1ea=a2_0xe95552,_0x358f6d=new SegmentCreateCommand(),_0xbc30d6=program[_0x30c1ea(0x1c9)](),_0x4cb34c=await createTDXInstance(_0xbc30d6),_0x293ec2=await _0x358f6d[_0x30c1ea(0x30e)]({'options':{..._0xbc30d6,..._0x2babf5},'args':[_0x307171],'tdx':_0x4cb34c});gracefulExit(_0x293ec2);}),segmentCmd['command']('update\x20<segment_name>',{'hidden':!![]})[a2_0xe95552(0x420)](a2_0xe95552(0x2ea))[a2_0xe95552(0x41e)](a2_0xe95552(0x239),a2_0xe95552(0x3eb))[a2_0xe95552(0x41e)]('--description\x20<text>',a2_0xe95552(0x306))[a2_0xe95552(0x41e)]('--rule\x20<json>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string')[a2_0xe95552(0x41e)](a2_0xe95552(0x374),'Updated\x20filtering\x20rule\x20from\x20JSON\x20file')[a2_0xe95552(0x41e)]('--folder\x20<name>','Move\x20to\x20folder')[a2_0xe95552(0x41e)](a2_0xe95552(0x1f0),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0xe95552(0x307)](async(_0x2bdad2,_0x55da63)=>{const _0x7d0d41=a2_0xe95552,_0x171ee8=new SegmentUpdateCommand(),_0x48f04d=program[_0x7d0d41(0x1c9)](),_0x41b27e=await createTDXInstance(_0x48f04d),_0x2d0489=await _0x171ee8[_0x7d0d41(0x30e)]({'options':{..._0x48f04d,..._0x55da63},'args':[_0x2bdad2],'tdx':_0x41b27e});gracefulExit(_0x2d0489);});const parentCmd=segmentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x399),{'hidden':!![]})[a2_0xe95552(0x420)](a2_0xe95552(0x302)),parentListAction=async(_0x30e1ff,_0x3a575a)=>{const _0x476920=new ParentSegmentListCommand(),_0x28f6aa=program['opts'](),_0x46307d=await createTDXInstance(_0x28f6aa),_0xd07d64=await _0x476920['run']({'options':{..._0x28f6aa,..._0x3a575a},'args':_0x30e1ff?[_0x30e1ff]:[],'tdx':_0x46307d});gracefulExit(_0xd07d64);};parentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x255))['description'](a2_0xe95552(0x191))[a2_0xe95552(0x307)](parentListAction),segmentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x1c3),{'hidden':!![]})[a2_0xe95552(0x420)](a2_0xe95552(0x248))['action'](parentListAction),parentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x215))[a2_0xe95552(0x420)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file')[a2_0xe95552(0x41e)](a2_0xe95552(0x2c4),a2_0xe95552(0x29e))['action'](async(_0x4443da,_0x4e7c65)=>{const _0x39661f=a2_0xe95552,_0x3d484c=new ParentSegmentPullCommand(),_0x348480=program['opts'](),_0x47bc2b=await createTDXInstance(_0x348480),_0x455daa=await _0x3d484c[_0x39661f(0x30e)]({'options':{..._0x348480,..._0x4e7c65},'args':_0x4443da?[_0x4443da]:[],'tdx':_0x47bc2b});gracefulExit(_0x455daa);}),parentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x2ba))['description'](a2_0xe95552(0x377))[a2_0xe95552(0x307)](async(_0x3afaf9,_0x3a6938)=>{const _0x25ea99=a2_0xe95552,_0x277766=new ParentSegmentPushCommand(),_0x3e73cc=program[_0x25ea99(0x1c9)](),_0x282916=await createTDXInstance(_0x3e73cc),_0x5cc3d7=await _0x277766[_0x25ea99(0x30e)]({'options':{..._0x3e73cc,..._0x3a6938},'args':_0x3afaf9?[_0x3afaf9]:[],'tdx':_0x282916});gracefulExit(_0x5cc3d7);}),parentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x1bc))[a2_0xe95552(0x420)](a2_0xe95552(0x25c))[a2_0xe95552(0x41e)](a2_0xe95552(0x29b),a2_0xe95552(0x39b))[a2_0xe95552(0x41e)]('--attribute\x20[name]','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0xe95552(0x41e)](a2_0xe95552(0x312),a2_0xe95552(0x3b4))[a2_0xe95552(0x41e)]('--enriched',a2_0xe95552(0x259))[a2_0xe95552(0x41e)](a2_0xe95552(0x298),a2_0xe95552(0x429),'-1d')[a2_0xe95552(0x307)](async(_0xd476a6,_0x450976)=>{const _0x11d207=a2_0xe95552,_0x544f52=new ParentSegmentValidateCommand(),_0x42a2e8=program[_0x11d207(0x1c9)](),_0x3056a5=await createTDXInstance(_0x42a2e8),_0x5db538=await _0x544f52['run']({'options':{..._0x42a2e8,..._0x450976},'args':_0xd476a6?[_0xd476a6]:[],'tdx':_0x3056a5});gracefulExit(_0x5db538);}),parentCmd['command']('preview\x20[file]')[a2_0xe95552(0x420)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0xe95552(0x41e)]('--master','Show\x20master\x20table\x20sample\x20data')['option']('--attribute\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')['option'](a2_0xe95552(0x312),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0xe95552(0x41e)](a2_0xe95552(0x28a),a2_0xe95552(0x24a))['option']('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')[a2_0xe95552(0x307)](async(_0x2078dc,_0xbacf28)=>{const _0x4c2783=a2_0xe95552,_0x8ae22d=new ParentSegmentPreviewCommand(),_0xa31390=program['opts'](),_0x9e827a=await createTDXInstance(_0xa31390),_0x31bb3f=await _0x8ae22d[_0x4c2783(0x30e)]({'options':{..._0xa31390,..._0xbacf28},'args':_0x2078dc?[_0x2078dc]:[],'tdx':_0x9e827a});gracefulExit(_0x31bb3f);}),parentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x2d9))['description'](a2_0xe95552(0x2c5))['action'](async(_0x7c38d9,_0x16a288)=>{const _0x3b9d7b=a2_0xe95552,_0x30742d=new ParentSegmentRunCommand(),_0xee5946=program[_0x3b9d7b(0x1c9)](),_0x3754c4=await createTDXInstance(_0xee5946),_0x195520=await _0x30742d[_0x3b9d7b(0x30e)]({'options':{..._0xee5946,..._0x16a288},'args':_0x7c38d9?[_0x7c38d9]:[],'tdx':_0x3754c4});gracefulExit(_0x195520);});const parentSegmentCmd=program[a2_0xe95552(0x19d)](a2_0xe95552(0x40c))[a2_0xe95552(0x282)]('ps')[a2_0xe95552(0x420)](a2_0xe95552(0x1fb));parentSegmentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x255))[a2_0xe95552(0x420)](a2_0xe95552(0x191))[a2_0xe95552(0x307)](parentListAction),parentSegmentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x215))['description'](a2_0xe95552(0x238))[a2_0xe95552(0x41e)](a2_0xe95552(0x2c4),a2_0xe95552(0x36f))[a2_0xe95552(0x41e)](a2_0xe95552(0x38a),a2_0xe95552(0x43d))['action'](async(_0x30c723,_0x3b00a2)=>{const _0x45dc23=a2_0xe95552,_0x5150a0=new ParentSegmentPullCommand(),_0x1fae9f=program[_0x45dc23(0x1c9)](),_0x5d4c44=await createTDXInstance(_0x1fae9f),_0x4bce58=await _0x5150a0['run']({'options':{..._0x1fae9f,..._0x3b00a2},'args':_0x30c723?[_0x30c723]:[],'tdx':_0x5d4c44});gracefulExit(_0x4bce58);}),parentSegmentCmd[a2_0xe95552(0x19d)]('push\x20[name]')[a2_0xe95552(0x420)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0xe95552(0x307)](async(_0x24a2b4,_0xa6b6b1)=>{const _0x3f05c2=a2_0xe95552,_0x4a5736=new ParentSegmentPushCommand(),_0x5c0feb=program[_0x3f05c2(0x1c9)](),_0x32847d=await createTDXInstance(_0x5c0feb),_0x5aaa36=await _0x4a5736[_0x3f05c2(0x30e)]({'options':{..._0x5c0feb,..._0xa6b6b1},'args':_0x24a2b4?[_0x24a2b4]:[],'tdx':_0x32847d});gracefulExit(_0x5aaa36);}),parentSegmentCmd['command'](a2_0xe95552(0x36a))[a2_0xe95552(0x420)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')['option']('--master',a2_0xe95552(0x39b))[a2_0xe95552(0x41e)](a2_0xe95552(0x22b),a2_0xe95552(0x412))[a2_0xe95552(0x41e)](a2_0xe95552(0x312),a2_0xe95552(0x3b4))[a2_0xe95552(0x41e)](a2_0xe95552(0x28a),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0xe95552(0x41e)](a2_0xe95552(0x298),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')['action'](async(_0x5e15f4,_0x335631)=>{const _0x394017=a2_0xe95552,_0xee02b4=new ParentSegmentValidateCommand(),_0x155771=program[_0x394017(0x1c9)](),_0x11a702=await createTDXInstance(_0x155771),_0x377602=await _0xee02b4[_0x394017(0x30e)]({'options':{..._0x155771,..._0x335631},'args':_0x5e15f4?[_0x5e15f4]:[],'tdx':_0x11a702});gracefulExit(_0x377602);}),parentSegmentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x28f))[a2_0xe95552(0x420)](a2_0xe95552(0x2c8))[a2_0xe95552(0x41e)](a2_0xe95552(0x29b),a2_0xe95552(0x409))['option'](a2_0xe95552(0x22b),a2_0xe95552(0x1ff))['option'](a2_0xe95552(0x312),a2_0xe95552(0x27b))[a2_0xe95552(0x41e)](a2_0xe95552(0x28a),a2_0xe95552(0x24a))[a2_0xe95552(0x41e)]('--interval\x20<range>',a2_0xe95552(0x429),'-1d')[a2_0xe95552(0x307)](async(_0x141fd4,_0x35f24b)=>{const _0x6ebb35=a2_0xe95552,_0x2a4b72=new ParentSegmentPreviewCommand(),_0x25306e=program['opts'](),_0xab88c3=await createTDXInstance(_0x25306e),_0x5dc9d0=await _0x2a4b72[_0x6ebb35(0x30e)]({'options':{..._0x25306e,..._0x35f24b},'args':_0x141fd4?[_0x141fd4]:[],'tdx':_0xab88c3});gracefulExit(_0x5dc9d0);}),parentSegmentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x2d9))[a2_0xe95552(0x420)](a2_0xe95552(0x2c5))[a2_0xe95552(0x307)](async(_0x38b8cf,_0x3afb7e)=>{const _0x266218=a2_0xe95552,_0x5c84ee=new ParentSegmentRunCommand(),_0x42a93d=program['opts'](),_0x4b8f33=await createTDXInstance(_0x42a93d),_0x4d8195=await _0x5c84ee[_0x266218(0x30e)]({'options':{..._0x42a93d,..._0x3afb7e},'args':_0x38b8cf?[_0x38b8cf]:[],'tdx':_0x4b8f33});gracefulExit(_0x4d8195);}),parentSegmentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x1fc))['description'](a2_0xe95552(0x3ba))['option'](a2_0xe95552(0x437),a2_0xe95552(0x3ec))[a2_0xe95552(0x41e)]('--jsonl','Output\x20as\x20JSON\x20Lines')[a2_0xe95552(0x307)](async(_0x5e6a2a,_0x10d87e)=>{const _0x1d6be7=new ParentSegmentFieldsCommand(),_0x44f158=program['opts'](),_0x7b4066=await createTDXInstance(_0x44f158),_0x4cc75f=await _0x1d6be7['run']({'options':{..._0x44f158,..._0x10d87e},'args':_0x5e6a2a?[_0x5e6a2a]:[],'tdx':_0x7b4066});gracefulExit(_0x4cc75f);}),parentSegmentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x26c))['description'](a2_0xe95552(0x190))[a2_0xe95552(0x41e)](a2_0xe95552(0x398),a2_0xe95552(0x438))[a2_0xe95552(0x41e)]('--json','Output\x20as\x20JSON')['option']('--jsonl',a2_0xe95552(0x1d1))[a2_0xe95552(0x307)](async(_0x1e6de4,_0x4164d8)=>{const _0x43dbf4=a2_0xe95552,_0x28b751=new ParentSegmentViewCommand(),_0xe20ee2=program[_0x43dbf4(0x1c9)](),_0x51f938=await createTDXInstance(_0xe20ee2),_0x26be3c=await _0x28b751[_0x43dbf4(0x30e)]({'options':{..._0xe20ee2,..._0x4164d8},'args':_0x1e6de4?[_0x1e6de4]:[],'tdx':_0x51f938});gracefulExit(_0x26be3c);}),parentSegmentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x43f))[a2_0xe95552(0x420)]('Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0xe95552(0x41e)](a2_0xe95552(0x2c4),a2_0xe95552(0x36f))['option']('--json','Output\x20as\x20JSON')[a2_0xe95552(0x41e)](a2_0xe95552(0x2ec),a2_0xe95552(0x1d1))[a2_0xe95552(0x307)](async(_0x4eebdf,_0x33c405)=>{const _0x44e124=new ParentSegmentDescCommand(),_0x4edbd3=program['opts'](),_0x33d64f=await createTDXInstance(_0x4edbd3),_0x2f8618=await _0x44e124['run']({'options':{..._0x4edbd3,..._0x33c405},'args':_0x4eebdf?[_0x4eebdf]:[],'tdx':_0x33d64f});gracefulExit(_0x2f8618);}),parentSegmentCmd['command'](a2_0xe95552(0x3d5))['description'](a2_0xe95552(0x2f1))[a2_0xe95552(0x41e)](a2_0xe95552(0x437),a2_0xe95552(0x3ec))[a2_0xe95552(0x41e)](a2_0xe95552(0x2ec),a2_0xe95552(0x1d1))[a2_0xe95552(0x307)](async(_0x7b5ea3,_0x485ad1)=>{const _0x4135d5=a2_0xe95552,_0x4ef4f2=new ParentSegmentSQLCommand(),_0x28d840=program[_0x4135d5(0x1c9)](),_0x475fb2=await createTDXInstance(_0x28d840),_0x2abd7f=await _0x4ef4f2[_0x4135d5(0x30e)]({'options':{..._0x28d840,..._0x485ad1},'args':_0x7b5ea3?[_0x7b5ea3]:[],'tdx':_0x475fb2});gracefulExit(_0x2abd7f);}),parentSegmentCmd[a2_0xe95552(0x19d)]('show\x20[name]')[a2_0xe95552(0x420)]('Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0xe95552(0x41e)](a2_0xe95552(0x288),'Limit\x20number\x20of\x20rows')[a2_0xe95552(0x41e)]('--json','Output\x20as\x20JSON')[a2_0xe95552(0x41e)](a2_0xe95552(0x2ec),a2_0xe95552(0x1d1))[a2_0xe95552(0x307)](async(_0x1a602c,_0x24eebd)=>{const _0x20011=a2_0xe95552,_0x57a9f0=new ParentSegmentShowCommand(),_0x433b83=program[_0x20011(0x1c9)](),_0x5ae9e8=await createTDXInstance(_0x433b83),_0x349ba0=await _0x57a9f0[_0x20011(0x30e)]({'options':{..._0x433b83,..._0x24eebd},'args':_0x1a602c?[_0x1a602c]:[],'tdx':_0x5ae9e8});gracefulExit(_0x349ba0);}),parentSegmentCmd[a2_0xe95552(0x19d)]('use\x20[name]')[a2_0xe95552(0x420)](a2_0xe95552(0x260))['action'](async(_0xa27d1c,_0x538f41)=>{const _0x7d5ddf=a2_0xe95552,_0x5a17c2=new UseCommand(),_0x4e765e=program[_0x7d5ddf(0x1c9)](),_0x5808e1=_0xa27d1c?[_0x7d5ddf(0x25b),_0xa27d1c]:[],_0x25e36a=await _0x5a17c2[_0x7d5ddf(0x30e)]({'options':{..._0x4e765e,..._0x538f41},'args':_0x5808e1,'tdx':null});gracefulExit(_0x25e36a);});const psRtCmd=parentSegmentCmd['command']('rt')[a2_0xe95552(0x420)]('RT\x202.0\x20configuration\x20management');psRtCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x255))[a2_0xe95552(0x420)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0xe95552(0x307)](async(_0x4306e4,_0x5362ad)=>{const _0x4b1d89=a2_0xe95552,_0x52c089=new PSRtListCommand(),_0x59b4ed=program['opts'](),_0x59d24b=await createTDXInstance(_0x59b4ed),_0xdb5a24=await _0x52c089[_0x4b1d89(0x30e)]({'options':{..._0x59b4ed,..._0x5362ad},'args':_0x4306e4?[_0x4306e4]:[],'tdx':_0x59d24b});gracefulExit(_0xdb5a24);}),psRtCmd[a2_0xe95552(0x19d)]('validate\x20[name]')['description'](a2_0xe95552(0x3fd))['action'](async(_0x5bdccc,_0x4e4ade)=>{const _0x772b62=a2_0xe95552,_0x283900=new PSRtValidateCommand(),_0x46fff6=program[_0x772b62(0x1c9)](),_0x264d4d=await createTDXInstance(_0x46fff6),_0x5a7bff=await _0x283900[_0x772b62(0x30e)]({'options':{..._0x46fff6,..._0x4e4ade},'args':_0x5bdccc?[_0x5bdccc]:[],'tdx':_0x264d4d});gracefulExit(_0x5a7bff);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})[a2_0xe95552(0x420)](a2_0xe95552(0x19c));parentRtCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x255))[a2_0xe95552(0x420)](a2_0xe95552(0x33d))['action'](async(_0x37a929,_0x519008)=>{const _0x1e3c4a=a2_0xe95552,_0x521567=new PSRtListCommand(),_0x3214ba=program[_0x1e3c4a(0x1c9)](),_0x1e4693=await createTDXInstance(_0x3214ba),_0x4a4617=await _0x521567['run']({'options':{..._0x3214ba,..._0x519008},'args':_0x37a929?[_0x37a929]:[],'tdx':_0x1e4693});gracefulExit(_0x4a4617);}),parentRtCmd['command'](a2_0xe95552(0x36a))[a2_0xe95552(0x420)](a2_0xe95552(0x3fd))[a2_0xe95552(0x307)](async(_0x259745,_0x308559)=>{const _0x5f5065=new PSRtValidateCommand(),_0x51875a=program['opts'](),_0x4d421b=await createTDXInstance(_0x51875a),_0x2eb179=await _0x5f5065['run']({'options':{..._0x51875a,..._0x308559},'args':_0x259745?[_0x259745]:[],'tdx':_0x4d421b});gracefulExit(_0x2eb179);});const psPzCmd=parentSegmentCmd[a2_0xe95552(0x19d)]('pz')[a2_0xe95552(0x420)](a2_0xe95552(0x3c7));psPzCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x29a))[a2_0xe95552(0x420)](a2_0xe95552(0x444))[a2_0xe95552(0x307)](async(_0x47ae67,_0x3883e3)=>{const _0x5454f9=a2_0xe95552,_0x43cfc6=new PSPzListCommand(),_0x12f1a3=program[_0x5454f9(0x1c9)](),_0x5169d2=await createTDXInstance(_0x12f1a3),_0x43b14d=await _0x43cfc6['run']({'options':{..._0x12f1a3,..._0x3883e3},'args':_0x47ae67?[_0x47ae67]:[],'tdx':_0x5169d2});gracefulExit(_0x43b14d);}),psPzCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x1fd))[a2_0xe95552(0x420)](a2_0xe95552(0x1a8))[a2_0xe95552(0x307)](async(_0x752b7d,_0x5d7c11)=>{const _0xba482c=a2_0xe95552,_0x210617=new PSPzInitCommand(),_0x42f2f0=program['opts'](),_0x39df85=await createTDXInstance(_0x42f2f0),_0x1e16a7=await _0x210617[_0xba482c(0x30e)]({'options':{..._0x42f2f0,..._0x5d7c11},'args':_0x752b7d?[_0x752b7d]:[],'tdx':_0x39df85});gracefulExit(_0x1e16a7);});const parentPzCmd=parentCmd['command']('pz',{'hidden':!![]})[a2_0xe95552(0x420)]('Personalization\x20service\x20management');parentPzCmd['command'](a2_0xe95552(0x29a))['description'](a2_0xe95552(0x444))[a2_0xe95552(0x307)](async(_0x5ebfa1,_0x5ed6b9)=>{const _0x161091=a2_0xe95552,_0xbd71f9=new PSPzListCommand(),_0x19b3b4=program[_0x161091(0x1c9)](),_0xc7d147=await createTDXInstance(_0x19b3b4),_0x3c2a77=await _0xbd71f9[_0x161091(0x30e)]({'options':{..._0x19b3b4,..._0x5ed6b9},'args':_0x5ebfa1?[_0x5ebfa1]:[],'tdx':_0xc7d147});gracefulExit(_0x3c2a77);}),parentPzCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x1fd))['description'](a2_0xe95552(0x1a8))[a2_0xe95552(0x307)](async(_0x1276a1,_0x1e4c84)=>{const _0x331d04=a2_0xe95552,_0x3c91d3=new PSPzInitCommand(),_0x588f82=program[_0x331d04(0x1c9)](),_0x2e9663=await createTDXInstance(_0x588f82),_0x4ff265=await _0x3c91d3[_0x331d04(0x30e)]({'options':{..._0x588f82,..._0x1e4c84},'args':_0x1276a1?[_0x1276a1]:[],'tdx':_0x2e9663});gracefulExit(_0x4ff265);}),parentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x2de))[a2_0xe95552(0x420)](a2_0xe95552(0x1e8))[a2_0xe95552(0x2be)](a2_0xe95552(0x2c9),a2_0xe95552(0x33b))['requiredOption'](a2_0xe95552(0x22a),a2_0xe95552(0x1ef))[a2_0xe95552(0x41e)](a2_0xe95552(0x436),a2_0xe95552(0x2e8))[a2_0xe95552(0x41e)](a2_0xe95552(0x2dd),a2_0xe95552(0x264))[a2_0xe95552(0x41e)]('--schedule-option\x20<value>',a2_0xe95552(0x25d))[a2_0xe95552(0x41e)]('--timezone\x20<tz>','Timezone\x20(e.g.,\x20America/Los_Angeles)')[a2_0xe95552(0x41e)](a2_0xe95552(0x23f),a2_0xe95552(0x1b1))[a2_0xe95552(0x41e)](a2_0xe95552(0x37b),a2_0xe95552(0x304))[a2_0xe95552(0x41e)](a2_0xe95552(0x22d),a2_0xe95552(0x247))[a2_0xe95552(0x41e)](a2_0xe95552(0x356),a2_0xe95552(0x364))[a2_0xe95552(0x41e)](a2_0xe95552(0x2e9),'Customer\x20group\x20as\x20JSON\x20string')[a2_0xe95552(0x41e)](a2_0xe95552(0x344),a2_0xe95552(0x200))['action'](async(_0x48ff0e,_0x55fe17)=>{const _0x257690=a2_0xe95552,_0x3950d4=new ParentSegmentCreateCommand(),_0x2e9594=program[_0x257690(0x1c9)](),_0x15a272=await createTDXInstance(_0x2e9594),_0x19a6fd=await _0x3950d4[_0x257690(0x30e)]({'options':{..._0x2e9594,..._0x55fe17},'args':[_0x48ff0e],'tdx':_0x15a272});gracefulExit(_0x19a6fd);}),parentCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x39c))[a2_0xe95552(0x420)]('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0xe95552(0x41e)](a2_0xe95552(0x436),a2_0xe95552(0x306))['option']('--schedule-type\x20<type>',a2_0xe95552(0x286))[a2_0xe95552(0x41e)](a2_0xe95552(0x34c),a2_0xe95552(0x354))[a2_0xe95552(0x41e)](a2_0xe95552(0x275),a2_0xe95552(0x3d6))['option'](a2_0xe95552(0x1e2),a2_0xe95552(0x1a9))[a2_0xe95552(0x41e)]('--add-attributes-file\x20<file>','Add\x20attributes\x20from\x20JSON\x20file')[a2_0xe95552(0x41e)]('--add-behaviors\x20<json>',a2_0xe95552(0x245))[a2_0xe95552(0x41e)]('--add-behaviors-file\x20<file>',a2_0xe95552(0x1af))[a2_0xe95552(0x307)](async(_0x19b59e,_0x4c318a)=>{const _0x2372d9=a2_0xe95552,_0x5dffaa=new ParentSegmentUpdateCommand(),_0xa3c95e=program[_0x2372d9(0x1c9)](),_0x59d1e5=await createTDXInstance(_0xa3c95e),_0x6ff100=await _0x5dffaa[_0x2372d9(0x30e)]({'options':{..._0xa3c95e,..._0x4c318a},'args':[_0x19b59e],'tdx':_0x59d1e5});gracefulExit(_0x6ff100);}),folderCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x3dc))[a2_0xe95552(0x420)]('Create\x20segment\x20folder')['option']('--description\x20<text>',a2_0xe95552(0x33a))[a2_0xe95552(0x41e)]('--parent-folder\x20<name>',a2_0xe95552(0x3a4))['action'](async(_0xe1fe70,_0x38aa65,_0x4d821e)=>{const _0x5ada73=a2_0xe95552,_0x2a5034=new SegmentFolderCreateCommand(),_0x5cf0a0=program['opts'](),_0x563196=await createTDXInstance(_0x5cf0a0),_0x4e5c8b=await _0x2a5034[_0x5ada73(0x30e)]({'options':{..._0x5cf0a0,..._0x4d821e},'args':[_0xe1fe70,_0x38aa65],'tdx':_0x563196});gracefulExit(_0x4e5c8b);}),program[a2_0xe95552(0x19d)](a2_0xe95552(0x2ab))[a2_0xe95552(0x420)](a2_0xe95552(0x269))[a2_0xe95552(0x307)](async(_0x315331,_0x5b0d6f)=>{const _0x54d908=a2_0xe95552,_0xe71717=new ActivationsCommand(),_0x33a7a9=program[_0x54d908(0x1c9)](),_0x527da7=await createTDXInstance(_0x33a7a9),_0x51c22e=await _0xe71717[_0x54d908(0x30e)]({'options':{..._0x33a7a9,..._0x5b0d6f},'args':[_0x315331],'tdx':_0x527da7});gracefulExit(_0x51c22e);});function a2_0x1c6a(){const _0x48f523=['Output\x20directory','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','view\x20<name-or-path>','--limit\x20<n>','Revision\x20name\x20(default:\x20timestamp)','--enriched','show\x20[segment_name]','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','Read\x20HTML\x20template\x20from\x20file','agents\x20[pattern]','preview\x20[name]','--cron\x20<expression>','summary','Show\x20journey\x20table\x20column-to-step\x20mapping','tsv','Run\x20tests\x20for\x20an\x20LLM\x20agent','--name\x20<name>','--include-retried','preAction','--interval\x20<range>','--output\x20<file>','list\x20[name]','--master','Job\x20priority\x20(-2\x20to\x202)','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Output\x20file\x20path\x20(default:\x20<name>.yml)','--version\x20<number>','--result\x20<target>','Output\x20folder\x20(default:\x20{project_name}.llm)','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','[EXPERIMENTAL]\x20Show\x20chat\x20log','Clear\x20workflow\x20project\x20context','grapesjs','padEnd','--table','activations\x20<segment_name>','Arguments:','Enable\x20verbose\x20logging','--in\x20<db>','Always-on\x20campaign\x20management','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','senders\x20[pattern]','Database\x20to\x20query\x20(default:\x20information_schema)','Template\x20name','--include-history','--follow','profile','clone\x20[source-dir]','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','commandDescription','push\x20[file]','Query\x20engine\x20version','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','Authentication\x20management','requiredOption','finish\x20<name-or-id>','us01','--enable-utm-tracking','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','-o,\x20--output\x20<file>','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','--session\x20<id>','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','--database\x20<db>','desc\x20[segment_name]','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','name','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','workspaces\x20[pattern]','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','logLevel','_list-commands','Directory\x20does\x20not\x20exist:\x20','--path\x20<file-path>','use\x20[project]','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Read\x20query\x20from\x20file','--tags\x20<tags>','run\x20[name]','create\x20<name-or-path>','List\x20email\x20senders','Show\x20all\x20files\x20including\x20valid\x20ones','--schedule-type\x20<type>','create\x20<name>','jobs','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','-y,\x20--yes','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','Parse\x20and\x20validate\x20without\x20executing','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','push\x20[target]','--timeout\x20<seconds>','Parent\x20segment\x20description','--customer-group\x20<json>','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','backup\x20<name>','--jsonl','--from\x20<timestamp>','LLM\x20agent\x20management','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Delete\x20an\x20LLM\x20project','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','Create\x20a\x20new\x20profile','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','--session-time\x20<time>','models','--invisible','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','--to\x20<timestamp>','Pull\x20specific\x20campaign\x20by\x20name','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','Filtering\x20rule\x20as\x20JSON\x20string','addHelpText','Remove\x20API\x20key\x20from\x20system\x20keychain','Show\x20journey\x20statistics','--from\x20<date>','injectIntoOptions','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','--resume-from\x20<task>','Attributes\x20from\x20JSON\x20file','Setup\x20API\x20key\x20authentication\x20interactively','Updated\x20description','action','claude-4.5-sonnet','--chat-id\x20<id>','push\x20[path]','Workspace\x20name','Agent\x20name','--html-file\x20<path>','run','log','pull\x20[project]\x20[agent-name]','--to\x20<date>','--behavior\x20[name]','Open\x20segment\x20in\x20web\x20browser','Workflow\x20(Digdag)\x20management\x20commands','submit\x20[query]','1392654ADoHRy','filter','stats\x20<name-or-path>','--subject\x20<subject>','show\x20[table]','Show\x20timeline\x20for\x20specific\x20attempt','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Update\x20a\x20scheduled\x20query','Skip\x20confirmation\x20prompt','2107562IrhbpE','--site\x20<site>','Database\x20name','split','[task-name]','[options]\x20--\x20[claude-code-args...]','Name\x20for\x20the\x20duplicated\x20campaign','--delete','Show\x20schedule\x20execution\x20history','isArray','Workflow\x20project\x20management','engage','argv','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','--stream','slice','timeline\x20[project.workflow]','Delete\x20a\x20workspace','_hidden','--max-tool-iterations\x20<n>','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','includes',',\x20version\x20','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','User\x20management\x20commands','Reason\x20for\x20killing\x20the\x20attempt','Folder\x20description','Master\x20database\x20name','describe\x20[table]','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','--revision\x20<revision>','job','workspace','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','HTML\x20template\x20content','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','--customer-group-file\x20<file>','padWidth','Update\x20an\x20email\x20template','join','-d,\x20--database\x20<database>','error','set\x20<key=value>','projects\x20[pattern]','--schedule-option\x20<value>','push\x20[source-dir]','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','--status\x20<status>','duplicate\x20<name-or-id>','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','--engine-version\x20<version>','Updated\x20schedule\x20option','flags','--behaviors-file\x20<file>','setup','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Skip\x20population\x20counting','use\x20<project-name>','--llm-project\x20<name>','Submit\x20a\x20job','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','connection','Agent\x20prompt/instructions','-X,\x20--method\x20<method>','--skip-validation','--include-stats','Timezone\x20for\x20cron\x20(default:\x20UTC)','Behaviors\x20from\x20JSON\x20file','--reeval','allowUnknownOption','Create\x20an\x20email\x20template','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','activations\x20<name-or-path>','validate\x20[name]','table','trino','tables\x20[pattern]','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Output\x20file\x20path','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','always-on-campaign','--limit\x20<rows>','--rule-file\x20<file>','Starting\x20offset\x20(default:\x200)','run\x20[workflow]','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Folder\x20name\x20for\x20organization','Run\x20specific\x20tests\x20(comma-separated)','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','--attributes-file\x20<file>','-C,\x20--directory\x20<path>','Workspace\x20name\x20(required)','List\x20all\x20versions\x20of\x20a\x20journey','describe','--params\x20<json>','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','logs','--folder\x20<name>','json','Show\x20schedule\x20details','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','stderr','\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','Starter\x20message','-u,\x20--use','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','List\x20available\x20LLM\x20models','Save\x20output\x20to\x20file','list\x20[path]','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','--no-proxy','retry\x20<session-id>','auth','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','repeat','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','252498HqsxAi','-w,\x20--web','parent','Job\x20management\x20commands','Show\x20only\x20master\x20table\x20validation','update\x20<name>','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','--agent\x20<ref>','-p,\x20--profile\x20<name>','Project\x20description','version','workflow','--system-prompt\x20<text>','Parent\x20folder\x20name\x20for\x20nested\x20folders','directory','Delete\x20an\x20email\x20template','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','--max-depth\x20<depth>','Pause\x20a\x20campaign','Workspace\x20management','--time\x20<iso8601>','--dry-run','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','upgrade','allowExcessArguments','push\x20[parent_or_file]','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','LLM\x20project\x20to\x20use\x20(overrides\x20context)','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','columns\x20<name-or-path>','-o,\x20--output\x20<dir>','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','test\x20[path]','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','--color','journeys\x20[pattern]','--description\x20<desc>','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','Follow/watch\x20timeline\x20for\x20running\x20attempts','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','desc','Campaign\x20description','Pull\x20campaigns\x20to\x20YAML\x20files','hook','Personalization\x20service\x20management','Path\x20is\x20not\x20a\x20directory:\x20','0.7','Validate\x20template\x20YAML\x20files\x20locally','site','CDP\x20segment\x20management\x20commands','Show\x20segment\x20details\x20(alias\x20for\x20view)','Check\x20for\x20updates\x20without\x20installing','Show\x20connection\x20details\x20by\x20name','isTTY','Continue\x20most\x20recent\x20conversation','Invalid\x20editor\x20type:\x20','push','Alias\x20for\x20--database\x20(natural\x20language\x20style)','sql\x20[name]','Updated\x20timezone','\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','query\x20[sql]','length','-f,\x20--force','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','create\x20<parent_name>\x20<folder_name>','validate\x20[target]','--help','delete\x20<args...>','commands','attempt:','subcommandDescription','then','Pause\x20an\x20always-on\x20campaign','List\x20all\x20data\x20connections','--version','campaign','[DEPRECATED]\x20Segment\x20folder\x20management','Update\x20a\x20workspace','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','New\x20segment\x20name','Output\x20as\x20JSON','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','--name\x20<text>','\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','List\x20activations\x20for\x20a\x20journey','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','upload\x20[project-name-or-dir]','Override\x20project\x20name','Create\x20a\x20scheduled\x20query','after','Show\x20stats\x20for\x20specific\x20stage','Resume\x20a\x20paused\x20journey','\x20-\x20built\x20','--delay\x20<seconds>','usage','--num\x20<1-10>','-r,\x20--resume','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','attempt','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','launch\x20<name-or-id>','chat\x20[message...]','list','remove\x20<name>','Delay\x20in\x20seconds\x20before\x20execution','resume\x20<name-or-id>','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','argument','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Show\x20master\x20table\x20sample\x20data','-v,\x20--verbose','--next','parent-segment','TRACE','Pull\x20workflow\x20project\x20to\x20local\x20folder','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','--plaintext\x20<text>','schema\x20<type>','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','tdx\x20','hidden','pull\x20[workspace-name]','Email\x20sender\x20ID\x20for\x20delivery','4371672eUCnnw','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','--html\x20<html>','use\x20[resource]\x20[value]','--in\x20<database>','Make\x20segment\x20invisible\x20(default:\x20visible)','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','option','campaigns\x20[pattern]','description','List\x20available\x20connector\x20types','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','List\x20all\x20available\x20profiles','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','Include\x20raw\x20history\x20data\x20in\x20output','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','delivery','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','--force','long','Create\x20a\x20new\x20campaign','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','workflows\x20[project]','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Maximum\x20rows\x20to\x20display','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','pause\x20<name-or-id>','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','Change\x20to\x20directory\x20before\x20executing\x20command','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','--description\x20<text>','--json','Open\x20parent\x20segment\x20in\x20web\x20browser','Resume\x20a\x20conversation\x20(shows\x20selector)','-a,\x20--agent\x20<name>','List\x20all\x20users\x20in\x20the\x20account','Timezone\x20for\x20cron','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','options','desc\x20[name]','jsonl','Delivery\x20operations\x20(email\x20senders)','--workspace\x20<name>','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','argumentDescription','Enable\x20UTM\x20tracking','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','--name\x20<new-name>','Duplicate\x20an\x20always-on\x20campaign','Include\x20subtasks\x20in\x20tasks\x20output','Show\x20journey\x20details','--no-color','help','Scheduled\x20query\x20management\x20commands','Create\x20a\x20workspace','get','View\x20a\x20specific\x20version\x20of\x20a\x20journey','RT\x202.0\x20configuration\x20management','command','users','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','DEBUG','7RNwlfG','list\x20[project]','Workspace\x20description','upgrade\x20[version]','always-on-campaigns\x20[pattern]','settings\x20<type>','Show\x20segment\x20schema\x20(column\x20types)','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Add\x20attributes\x20as\x20JSON\x20string','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','New\x20campaign\x20name','Include\x20retried\x20attempts','-n,\x20--name\x20<name>','attempts\x20[project]','Add\x20behaviors\x20from\x20JSON\x20file','--limit\x20<number>','Attributes\x20as\x20JSON\x20string','format','Trino\x20catalog\x20(default:\x20td)','Retry\x20limit\x20(0\x20to\x2032)','Options:','Launch\x20an\x20always-on\x20campaign','project','createAsync','--data\x20<data>','\x22.\x20Must\x20be\x20a\x20number.','--temperature\x20<n>','validate\x20[file]','Show\x20the\x20most\x20recent\x20chat','Pull\x20templates\x20to\x20YAML\x20files','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','-c,\x20--continue','Resume\x20from\x20specific\x20task','kill\x20<job-id>','parents\x20[pattern]','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','--verbose','INVALID_ARGUMENT','--from\x20<n>','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','opts','show\x20<agent-name>','Update\x20an\x20existing\x20agent','477313SxqXuj','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Result\x20output\x20destination\x20URL','show\x20<name>','End\x20time\x20filter\x20(ISO\x208601\x20format)','Output\x20as\x20JSON\x20Lines','36PnBTiL','stdout','Run\x20Trino\x20query\x20with\x20streaming\x20results','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Delete\x20a\x20scheduled\x20query','secrets','--start-at\x20<datetime>','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','log\x20<chat-id>','--from-task\x20<task>','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','System\x20prompt/instructions\x20(default:\x20empty)','JSON\x20columns\x20for\x20connector\x20(comma-separated)','LLM\x20project\x20management','Include\x20execution\x20statistics','--add-attributes\x20<json>','Show\x20campaign\x20details','show\x20<job-id>','update\x20<agent-name>','Launch\x20a\x20campaign','...','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','--to\x20<n>','Generate\x20test\x20conversations\x20without\x20evaluation','Database\x20management\x20commands','info\x20[segment_name]','Resume\x20a\x20paused\x20always-on\x20campaign','Workflow\x20parameter\x20(repeatable)','Master\x20table\x20name','--kind\x20<type>','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Run\x20a\x20scheduled\x20query\x20immediately','\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','pull\x20[workspace]','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','mcp','--param\x20<key=value>','view\x20[segment_name]','update\x20<name-or-id>','--type\x20<type>','Parent\x20segment\x20management','fields\x20[name]','init\x20[name]','template','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Customer\x20group\x20from\x20JSON\x20file','Show\x20email\x20template\x20details','map','registeredArguments','--retry-limit\x20<0~32>','parse','-d,\x20--database\x20<db>','create\x20<segment_name>','database','use\x20<name>','Invalid\x20--limit\x20value:\x20\x22','gitRevision','Commands:','--editor-type\x20<type>','restore\x20<folder>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','accessToken','Preview\x20without\x20creating\x20the\x20project','delete\x20<name-or-id>','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','pull\x20[name]','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','history\x20[chat-id]','sql\x20[segment_name]','Skip\x20confirmation\x20prompts','result\x20<job-id>','-r,\x20--recursive','Read\x20request\x20body\x20from\x20file','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','claude\x20[args...]','\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','Campaign\x20name','--method\x20<pm>','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','-f,\x20--file\x20<path>','Query\x20type:\x20trino\x20or\x20hive','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','Preview\x20changes\x20without\x20pushing','find','\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','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','--table\x20<table>','--attribute\x20[name]','segment','--behaviors\x20<json>','Filtering\x20rule\x20from\x20JSON\x20file','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','llm','AI-native\x20CLI\x20for\x20Treasure\x20Data','--last','Maximum\x20number\x20of\x20nodes','Campaign\x20type\x20(email\x20or\x20push)','Resume\x20a\x20paused\x20campaign','set\x20<args...>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--name\x20<new_name>','--trace','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','status','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','--segment\x20<path>','--attributes\x20<json>','Plaintext\x20template\x20content','Start\x20a\x20new\x20chat\x20session','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','3588280SqVULK','pull\x20[parent_or_file]','Add\x20behaviors\x20as\x20JSON\x20string','--rule\x20<json>','Behaviors\x20as\x20JSON\x20string','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','--format\x20<format>','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','delete\x20<name>','--yes','chats','use\x20<path>','List\x20journeys\x20in\x20current\x20context','Custom\x20revision\x20name\x20(default:\x20timestamp)','Workflow\x20attempt\x20management','Name\x20for\x20the\x20new\x20project\x20(required)','show\x20<name-or-id>','Model\x20type\x20(default:\x20claude-4.5-sonnet)','list\x20[pattern]','pause\x20<name-or-path>','--result\x20<url>','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','journey','parent_segment','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','create','Journey\x20version\x20management','Set\x20or\x20show\x20parent\x20segment\x20context','outputHelp','Interactive\x20chat\x20selector','Finish\x20an\x20always-on\x20campaign','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Create\x20a\x20new\x20LLM\x20project','Show\x20job\x20details','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','sessions\x20[project]','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','--email-sender-id\x20<id>','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','view\x20[name]','\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','New\x20workspace\x20name','clear','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','--include-subtasks','buildTime','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Email\x20subject\x20template','--timezone\x20<tz>','Remove\x20a\x20profile','Duplicate\x20a\x20campaign','Validate\x20campaign\x20YAML\x20files\x20locally','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Email\x20template\x20management','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','--full','noColor','delete\x20<agent-name>','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','templates\x20[pattern]','tdx','alias','7539093ZIgfdR','delete\x20<project-name-or-id>'];a2_0x1c6a=function(){return _0x48f523;};return a2_0x1c6a();}const workflowCmd=program['command'](a2_0xe95552(0x3a2))['alias']('wf')[a2_0xe95552(0x420)](a2_0xe95552(0x314)),wfProjectCmd=workflowCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x1b7))[a2_0xe95552(0x420)](a2_0xe95552(0x329)),wfProjectListAction=async(_0x181baa,_0x2329a7)=>{const _0x5f1809=a2_0xe95552,_0x2932f5=new WorkflowProjectsCommand(),_0x53bd71=program[_0x5f1809(0x1c9)](),_0xede7a=await createTDXInstance(_0x53bd71),_0x18fe61=await _0x2932f5['run']({'options':{..._0x53bd71,..._0x2329a7},'args':_0x181baa?[_0x181baa]:[],'tdx':_0xede7a});gracefulExit(_0x18fe61);};wfProjectCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x255))[a2_0xe95552(0x420)](a2_0xe95552(0x1cd))[a2_0xe95552(0x307)](wfProjectListAction),workflowCmd['command'](a2_0xe95552(0x34b))['description'](a2_0xe95552(0x1f1))[a2_0xe95552(0x307)](wfProjectListAction);const wfWorkflowListAction=async(_0x4289bb,_0x4cd38e)=>{const _0x2a2002=a2_0xe95552,_0x3b3797=new WorkflowWorkflowsCommand(),_0x2fc58f=program[_0x2a2002(0x1c9)](),_0x14d2fe=await createTDXInstance(_0x2fc58f),_0x1f60bd=await _0x3b3797[_0x2a2002(0x30e)]({'options':{..._0x2fc58f,..._0x4cd38e},'args':_0x4289bb?[_0x4289bb]:[],'tdx':_0x14d2fe});gracefulExit(_0x1f60bd);};workflowCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x42e))['description'](a2_0xe95552(0x213))[a2_0xe95552(0x307)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0xe95552(0x19d)]('session')['description']('Workflow\x20session\x20management'),wfSessionListAction=async(_0x34b588,_0x3737f9)=>{const _0x4c70a3=a2_0xe95552,_0x2bce92=new WorkflowSessionsCommand(),_0x45b59f=program[_0x4c70a3(0x1c9)](),_0x513ebd=await createTDXInstance(_0x45b59f),_0x53e8a2=await _0x2bce92[_0x4c70a3(0x30e)]({'options':{..._0x45b59f,..._0x3737f9},'args':_0x34b588?[_0x34b588]:[],'tdx':_0x513ebd});gracefulExit(_0x53e8a2);};wfSessionCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x1a2))[a2_0xe95552(0x420)]('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0xe95552(0x41e)](a2_0xe95552(0x350),a2_0xe95552(0x423))[a2_0xe95552(0x41e)](a2_0xe95552(0x2ed),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0xe95552(0x41e)](a2_0xe95552(0x2f9),a2_0xe95552(0x1d0))[a2_0xe95552(0x307)](wfSessionListAction),workflowCmd['command'](a2_0xe95552(0x268))[a2_0xe95552(0x420)](a2_0xe95552(0x408))[a2_0xe95552(0x41e)]('--status\x20<status>',a2_0xe95552(0x423))['option'](a2_0xe95552(0x2ed),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0xe95552(0x41e)](a2_0xe95552(0x2f9),a2_0xe95552(0x1d0))['action'](wfSessionListAction);const wfAttemptListAction=async(_0x186d82,_0x582069)=>{const _0x2d10bc=a2_0xe95552,_0x2e8e76=new WorkflowAttemptsCommand(),_0x43deef=program['opts'](),_0x847d8b=await createTDXInstance(_0x43deef),_0x33d96b=await _0x2e8e76[_0x2d10bc(0x30e)]({'options':{..._0x43deef,..._0x582069},'args':_0x186d82?[_0x186d82]:[],'tdx':_0x847d8b});gracefulExit(_0x33d96b);},attemptCmd=workflowCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x3fe))[a2_0xe95552(0x420)](a2_0xe95552(0x251))[a2_0xe95552(0x407)]('[attempt-id]','Attempt\x20ID')['argument']('[action]','Action:\x20logs,\x20tasks,\x20kill,\x20retry')['argument'](a2_0xe95552(0x323),'Task\x20name\x20for\x20logs\x20action')[a2_0xe95552(0x41e)](a2_0xe95552(0x271),a2_0xe95552(0x194))[a2_0xe95552(0x41e)]('--reason\x20<text>',a2_0xe95552(0x339))[a2_0xe95552(0x41e)](a2_0xe95552(0x303),'Resume\x20from\x20specific\x20task\x20(retry)')['option'](a2_0xe95552(0x380),'Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')[a2_0xe95552(0x41e)](a2_0xe95552(0x42a),'Force\x20retry\x20even\x20if\x20not\x20failed')['option'](a2_0xe95552(0x296),'Include\x20retried\x20attempts\x20(for\x20list)')['action'](async(_0x30bdc1,_0x4580eb,_0x20e47f,_0x49a4ec)=>{const _0x4f1204=a2_0xe95552;if(_0x30bdc1===_0x4f1204(0x402)){await wfAttemptListAction(_0x4580eb,_0x49a4ec);return;}if(!_0x30bdc1){attemptCmd[_0x4f1204(0x197)]();return;}const _0x542048=program[_0x4f1204(0x1c9)](),_0x10ead4=await createTDXInstance(_0x542048);let _0x543e33=0x0;if(!_0x4580eb){const _0x4b4539=new WorkflowAttemptCommand();_0x543e33=await _0x4b4539[_0x4f1204(0x30e)]({'options':{..._0x542048,..._0x49a4ec},'args':[_0x30bdc1],'tdx':_0x10ead4});}else{if(_0x4580eb===_0x4f1204(0x382)){const _0x4267d2=new WorkflowLogsCommand();_0x543e33=await _0x4267d2['run']({'options':{..._0x542048,..._0x49a4ec},'args':_0x20e47f?[_0x30bdc1,_0x20e47f]:[_0x30bdc1],'tdx':_0x10ead4});}else{if(_0x4580eb==='tasks'){const _0x20b198=new WorkflowTasksCommand();_0x543e33=await _0x20b198['run']({'options':{..._0x542048,..._0x49a4ec},'args':[_0x30bdc1],'tdx':_0x10ead4});}else{if(_0x4580eb==='kill'){const _0x5ea235=new WorkflowKillCommand();_0x543e33=await _0x5ea235['run']({'options':{..._0x542048,..._0x49a4ec},'args':[_0x30bdc1],'tdx':_0x10ead4});}else{if(_0x4580eb==='retry'){const _0x3b9b50=new WorkflowRetryCommand();_0x543e33=await _0x3b9b50[_0x4f1204(0x30e)]({'options':{..._0x542048,..._0x49a4ec},'args':[_0x4f1204(0x3e1)+_0x30bdc1],'tdx':_0x10ead4});}else console['error']('Unknown\x20action:\x20'+_0x4580eb),console[_0x4f1204(0x349)](_0x4f1204(0x368)),_0x543e33=0x1;}}}}gracefulExit(_0x543e33);});attemptCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x1a2))['description'](a2_0xe95552(0x1c8))[a2_0xe95552(0x41e)](a2_0xe95552(0x296),a2_0xe95552(0x1ac))[a2_0xe95552(0x307)](wfAttemptListAction),workflowCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x1ae))['description'](a2_0xe95552(0x21d))[a2_0xe95552(0x41e)](a2_0xe95552(0x296),a2_0xe95552(0x1ac))['action'](wfAttemptListAction),workflowCmd['command'](a2_0xe95552(0x32f))[a2_0xe95552(0x420)](a2_0xe95552(0x406))[a2_0xe95552(0x41e)](a2_0xe95552(0x2b5),a2_0xe95552(0x3c1))['option']('--session-id\x20<id>','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)')[a2_0xe95552(0x41e)]('--attempt-id\x20<id>',a2_0xe95552(0x31b))[a2_0xe95552(0x307)](async(_0x360e6f,_0x32e4c2)=>{const _0xfeab3e=new WorkflowTimelineCommand(),_0x42796b=program['opts'](),_0x1d991e=await createTDXInstance(_0x42796b),_0x305495=await _0xfeab3e['run']({'options':{..._0x42796b,..._0x32e4c2},'args':_0x360e6f?[_0x360e6f]:[],'tdx':_0x1d991e});gracefulExit(_0x305495);}),workflowCmd['command'](a2_0xe95552(0x392))[a2_0xe95552(0x420)]('Retry\x20a\x20session\x20(prefix\x20with\x20session:)')[a2_0xe95552(0x41e)](a2_0xe95552(0x1dc),a2_0xe95552(0x1c1))[a2_0xe95552(0x41e)]('--params\x20<json>',a2_0xe95552(0x1d9))[a2_0xe95552(0x307)](async(_0x49c69f,_0x6fb41b)=>{const _0x388337=a2_0xe95552,_0x24cc72=new WorkflowRetryCommand(),_0x50ca95=program[_0x388337(0x1c9)](),_0x4fd56e=await createTDXInstance(_0x50ca95),_0x3e996d=await _0x24cc72['run']({'options':{..._0x50ca95,..._0x6fb41b},'args':[_0x49c69f],'tdx':_0x4fd56e});gracefulExit(_0x3e996d);}),workflowCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x376))['description'](a2_0xe95552(0x242))[a2_0xe95552(0x41e)](a2_0xe95552(0x1f7),a2_0xe95552(0x1ee),(_0x3df6e0,_0x33355a=[])=>[..._0x33355a,_0x3df6e0],[])[a2_0xe95552(0x41e)](a2_0xe95552(0x2f5),a2_0xe95552(0x2c3))[a2_0xe95552(0x307)](async(_0x52ac26,_0x3ffee6)=>{const _0x16dfc6=a2_0xe95552,_0xdd64e4=new WorkflowRunCommand(),_0x47ab60=program[_0x16dfc6(0x1c9)](),_0x1e143f=await createTDXInstance(_0x47ab60),_0xa1f794=await _0xdd64e4[_0x16dfc6(0x30e)]({'options':{..._0x47ab60,..._0x3ffee6},'args':_0x52ac26?[_0x52ac26]:[],'tdx':_0x1e143f});gracefulExit(_0xa1f794);}),workflowCmd[a2_0xe95552(0x19d)]('download\x20<project-name>\x20[output-dir]')[a2_0xe95552(0x420)]('Download\x20workflow\x20project\x20from\x20Treasure\x20Data')['option'](a2_0xe95552(0x33e),a2_0xe95552(0x3db))[a2_0xe95552(0x307)](async(_0x4ea64e,_0x26ed13,_0x50378e)=>{const _0x2aaad7=a2_0xe95552,_0x2bee4c=new WorkflowDownloadCommand(),_0x527092=program[_0x2aaad7(0x1c9)](),_0x273526=await createTDXInstance(_0x527092),_0xb73b4=await _0x2bee4c['run']({'options':{..._0x527092,..._0x50378e},'args':[_0x4ea64e,_0x26ed13||'.'],'tdx':_0x273526});gracefulExit(_0xb73b4);}),workflowCmd[a2_0xe95552(0x19d)]('pull\x20<project>\x20[target-dir]')[a2_0xe95552(0x420)](a2_0xe95552(0x40e))[a2_0xe95552(0x41e)]('--revision\x20<revision>','Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0xe95552(0x41e)]('--dry-run','Preview\x20changes\x20without\x20writing\x20files')['action'](async(_0x4da771,_0x2e262b,_0x2edabd)=>{const _0x434c24=a2_0xe95552,_0x2ee547=new WorkflowPullCommand(),_0x17377d=program[_0x434c24(0x1c9)](),_0x412caa=await createTDXInstance(_0x17377d),_0x31fae7=await _0x2ee547['run']({'options':{..._0x17377d,..._0x2edabd},'args':_0x2e262b?[_0x4da771,_0x2e262b]:[_0x4da771],'tdx':_0x412caa});gracefulExit(_0x31fae7);}),workflowCmd['command'](a2_0xe95552(0x34d))[a2_0xe95552(0x420)](a2_0xe95552(0x2a3))[a2_0xe95552(0x41e)](a2_0xe95552(0x33e),'Custom\x20revision\x20name\x20(default:\x20timestamp)')[a2_0xe95552(0x41e)](a2_0xe95552(0x3ad),a2_0xe95552(0x226))[a2_0xe95552(0x41e)]('--skip-validation','Skip\x20validation\x20of\x20.dig\x20files')[a2_0xe95552(0x307)](async(_0x2d80a9,_0x3919d6)=>{const _0x4f4d12=a2_0xe95552,_0x318a06=new WorkflowPushCommand(),_0x554a71=program[_0x4f4d12(0x1c9)](),_0x46f70c=await createTDXInstance(_0x554a71),_0x33dca2=await _0x318a06['run']({'options':{..._0x554a71,..._0x3919d6},'args':_0x2d80a9?[_0x2d80a9]:[],'tdx':_0x46f70c});gracefulExit(_0x33dca2);}),workflowCmd['command'](a2_0xe95552(0x3f2))['description'](a2_0xe95552(0x18e))[a2_0xe95552(0x41e)]('--name\x20<name>',a2_0xe95552(0x3f3))[a2_0xe95552(0x41e)](a2_0xe95552(0x33e),a2_0xe95552(0x289))[a2_0xe95552(0x41e)](a2_0xe95552(0x361),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0xe95552(0x307)](async(_0x5e6295,_0x25d247)=>{const _0x2d6d38=a2_0xe95552,_0x53a89d=new WorkflowUploadCommand(),_0xc95017=program['opts'](),_0x54cfe6=await createTDXInstance(_0xc95017),_0xe9b758=await _0x53a89d[_0x2d6d38(0x30e)]({'options':{..._0xc95017,..._0x25d247},'args':_0x5e6295?[_0x5e6295]:[],'tdx':_0x54cfe6});gracefulExit(_0xe9b758);}),workflowCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x2b7))[a2_0xe95552(0x420)]('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')[a2_0xe95552(0x41e)]('--name\x20<name>',a2_0xe95552(0x252))[a2_0xe95552(0x41e)](a2_0xe95552(0x33e),a2_0xe95552(0x250))[a2_0xe95552(0x41e)](a2_0xe95552(0x3ad),a2_0xe95552(0x211))[a2_0xe95552(0x41e)](a2_0xe95552(0x361),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0xe95552(0x307)](async(_0x273af6,_0x4a4f26)=>{const _0x3c036e=new WorkflowCloneCommand(),_0x3d29f2=program['opts'](),_0x44aa98=await createTDXInstance(_0x3d29f2),_0x91c7c=await _0x3c036e['run']({'options':{..._0x3d29f2,..._0x4a4f26},'args':_0x273af6?[_0x273af6]:[],'tdx':_0x44aa98});gracefulExit(_0x91c7c);}),workflowCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x284))[a2_0xe95552(0x420)](a2_0xe95552(0x2f3))[a2_0xe95552(0x307)](async(_0x50f454,_0x55ed7d)=>{const _0x229658=a2_0xe95552,_0x412e03=new WorkflowDeleteCommand(),_0x4a0e71=program['opts'](),_0xc380d3=await createTDXInstance(_0x4a0e71),_0x338968=await _0x412e03[_0x229658(0x30e)]({'options':{..._0x4a0e71,..._0x55ed7d},'args':[_0x50f454],'tdx':_0xc380d3});gracefulExit(_0x338968);}),workflowCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x2d5))['description'](a2_0xe95552(0x23d))['option']('--clear',a2_0xe95552(0x2a7))['action'](async(_0x4884ad,_0x2a313d)=>{const _0x1537da=a2_0xe95552,_0x4b49b4=new WorkflowUseCommand(),_0x4cde40=program[_0x1537da(0x1c9)](),_0x45934a=await createTDXInstance(_0x4cde40),_0x5959c6=await _0x4b49b4[_0x1537da(0x30e)]({'options':{..._0x4cde40,..._0x2a313d},'args':_0x4884ad?[_0x4884ad]:[],'tdx':_0x45934a});gracefulExit(_0x5959c6);});const wfSecretsCmd=workflowCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x1d7))[a2_0xe95552(0x420)]('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd['command']('list\x20[project]')['description']('List\x20secret\x20keys\x20for\x20a\x20project')[a2_0xe95552(0x307)](async(_0x190e6f,_0x2d5bc8)=>{const _0x56b68b=a2_0xe95552,_0xcece0d=new WorkflowSecretsListCommand(),_0x106d3c=program[_0x56b68b(0x1c9)](),_0x428d01=await createTDXInstance(_0x106d3c),_0x3dbf47=await _0xcece0d[_0x56b68b(0x30e)]({'options':{..._0x106d3c,..._0x2d5bc8},'args':_0x190e6f?[_0x190e6f]:[],'tdx':_0x428d01});gracefulExit(_0x3dbf47);}),wfSecretsCmd['command'](a2_0xe95552(0x237))[a2_0xe95552(0x420)](a2_0xe95552(0x3ae))[a2_0xe95552(0x307)](async(_0xdc6b03,_0x50959c)=>{const _0x3a803c=new WorkflowSecretsSetCommand(),_0x56a5be=program['opts'](),_0x4289bf=await createTDXInstance(_0x56a5be),_0x227dc7=await _0x3a803c['run']({'options':{..._0x56a5be,..._0x50959c},'args':_0xdc6b03,'tdx':_0x4289bf});gracefulExit(_0x227dc7);}),wfSecretsCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x3df))[a2_0xe95552(0x420)]('Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)')['action'](async(_0x48d62e,_0x574176)=>{const _0x42ed05=a2_0xe95552,_0x7563d=new WorkflowSecretsDeleteCommand(),_0x149e96=program['opts'](),_0x2716a5=await createTDXInstance(_0x149e96),_0xc1013a=await _0x7563d[_0x42ed05(0x30e)]({'options':{..._0x149e96,..._0x574176},'args':_0x48d62e,'tdx':_0x2716a5});gracefulExit(_0xc1013a);});const jobCmd=program[a2_0xe95552(0x19d)](a2_0xe95552(0x33f))['description'](a2_0xe95552(0x39a)),jobListAction=async _0x5e737b=>{const _0x473b45=a2_0xe95552,_0x404a8a=new JobListCommand(),_0x2e0894=program[_0x473b45(0x1c9)](),_0x34c18e=await createTDXInstance(_0x2e0894),_0x167efb=await _0x404a8a[_0x473b45(0x30e)]({'options':{..._0x2e0894,..._0x5e737b},'args':[],'tdx':_0x34c18e});gracefulExit(_0x167efb);};jobCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x402))[a2_0xe95552(0x420)]('List\x20jobs')[a2_0xe95552(0x41e)](a2_0xe95552(0x350),a2_0xe95552(0x2e0))[a2_0xe95552(0x307)](jobListAction),program['command'](a2_0xe95552(0x2df),{'hidden':!![]})[a2_0xe95552(0x420)](a2_0xe95552(0x422))[a2_0xe95552(0x41e)]('--status\x20<status>',a2_0xe95552(0x2e0))[a2_0xe95552(0x307)](jobListAction),jobCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x1e4))[a2_0xe95552(0x420)](a2_0xe95552(0x266))['action'](async(_0x14ea20,_0x5c2ed0)=>{const _0x1a071f=a2_0xe95552,_0xe087aa=new JobShowCommand(),_0xfa87e=program[_0x1a071f(0x1c9)](),_0x196102=await createTDXInstance(_0xfa87e),_0x51ffd2=await _0xe087aa[_0x1a071f(0x30e)]({'options':{..._0xfa87e,..._0x5c2ed0},'args':[_0x14ea20],'tdx':_0x196102});gracefulExit(_0x51ffd2);}),jobCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x1c2))[a2_0xe95552(0x420)]('Kill\x20a\x20job')[a2_0xe95552(0x307)](async(_0x431023,_0x2f15c3)=>{const _0xdc66d2=new JobKillCommand(),_0x3a79b7=program['opts'](),_0x1bfe70=await createTDXInstance(_0x3a79b7),_0x149b04=await _0xdc66d2['run']({'options':{..._0x3a79b7,..._0x2f15c3},'args':[_0x431023],'tdx':_0x1bfe70});gracefulExit(_0x149b04);}),jobCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x315))[a2_0xe95552(0x420)](a2_0xe95552(0x35c))[a2_0xe95552(0x41e)]('--job-type\x20<type>',a2_0xe95552(0x386),'trino')['option'](a2_0xe95552(0x223),a2_0xe95552(0x2d7))[a2_0xe95552(0x41e)]('--database\x20<name>','Database\x20name\x20(default:\x20information_schema)','information_schema')[a2_0xe95552(0x41e)](a2_0xe95552(0x2a0),a2_0xe95552(0x19f))[a2_0xe95552(0x307)](async(_0x464005,_0x2a0a78)=>{const _0x126c0b=a2_0xe95552,_0x287936=new JobSubmitCommand(),_0x2d8c91=program[_0x126c0b(0x1c9)](),_0x3e7c0e=await createTDXInstance(_0x2d8c91),_0x939a24=await _0x287936[_0x126c0b(0x30e)]({'options':{..._0x2d8c91,..._0x2a0a78},'args':_0x464005?[_0x464005]:[],'tdx':_0x3e7c0e});gracefulExit(_0x939a24);}),jobCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x21a))[a2_0xe95552(0x420)]('Get\x20job\x20results')[a2_0xe95552(0x307)](async(_0x98cc76,_0x32d258)=>{const _0x57dd84=a2_0xe95552,_0x1917d0=new JobResultCommand(),_0x15f89a=program[_0x57dd84(0x1c9)](),_0x330ba0=await createTDXInstance(_0x15f89a),_0x57f5b2=await _0x1917d0[_0x57dd84(0x30e)]({'options':{..._0x15f89a,..._0x32d258},'args':[_0x98cc76],'tdx':_0x330ba0});gracefulExit(_0x57f5b2);});const scheduleCmd=jobCmd[a2_0xe95552(0x19d)]('schedule')[a2_0xe95552(0x420)](a2_0xe95552(0x198));scheduleCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x255))[a2_0xe95552(0x420)](a2_0xe95552(0x273))[a2_0xe95552(0x307)](async(_0x133454,_0x48dff9)=>{const _0x41141a=a2_0xe95552,_0x4946a4=new ScheduleListCommand(),_0x147308=program[_0x41141a(0x1c9)](),_0x52a10d=await createTDXInstance(_0x147308),_0x53f7e6=await _0x4946a4[_0x41141a(0x30e)]({'options':{..._0x147308,..._0x48dff9},'args':_0x133454?[_0x133454]:[],'tdx':_0x52a10d});gracefulExit(_0x53f7e6);}),scheduleCmd['command'](a2_0xe95552(0x1cf))[a2_0xe95552(0x420)](a2_0xe95552(0x385))[a2_0xe95552(0x307)](async(_0x473c20,_0x3ec87a)=>{const _0x302ed0=a2_0xe95552,_0x21f6a8=new ScheduleShowCommand(),_0x1a6ea2=program[_0x302ed0(0x1c9)](),_0x20e532=await createTDXInstance(_0x1a6ea2),_0x1d9da7=await _0x21f6a8[_0x302ed0(0x30e)]({'options':{..._0x1a6ea2,..._0x3ec87a},'args':[_0x473c20],'tdx':_0x20e532});gracefulExit(_0x1d9da7);}),scheduleCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x2de))[a2_0xe95552(0x420)](a2_0xe95552(0x3f4))[a2_0xe95552(0x41e)](a2_0xe95552(0x206),'Database\x20name\x20(required)')['option']('--in\x20<db>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0xe95552(0x2be)]('-f,\x20--file\x20<path>',a2_0xe95552(0x2d7))[a2_0xe95552(0x41e)]('--type\x20<type>',a2_0xe95552(0x224),a2_0xe95552(0x36c))[a2_0xe95552(0x41e)](a2_0xe95552(0x290),'Cron\x20expression\x20for\x20scheduling')[a2_0xe95552(0x41e)]('--timezone\x20<tz>',a2_0xe95552(0x363))['option'](a2_0xe95552(0x3f9),a2_0xe95552(0x404))[a2_0xe95552(0x41e)]('--priority\x20<-2~2>',a2_0xe95552(0x29c))[a2_0xe95552(0x41e)](a2_0xe95552(0x204),a2_0xe95552(0x1b4))['option'](a2_0xe95552(0x353),a2_0xe95552(0x2bb))[a2_0xe95552(0x41e)](a2_0xe95552(0x257),'Result\x20output\x20destination\x20URL')[a2_0xe95552(0x307)](async(_0x2da76b,_0x38130d)=>{const _0x263ddc=a2_0xe95552,_0x337200=new ScheduleCreateCommand(),_0x972817=program[_0x263ddc(0x1c9)](),_0x21f4e2=await createTDXInstance(_0x972817);_0x38130d['in']&&(_0x38130d[_0x263ddc(0x208)]=_0x38130d['in']);const _0xf18b6d=await _0x337200[_0x263ddc(0x30e)]({'options':{..._0x972817,..._0x38130d},'args':[_0x2da76b],'tdx':_0x21f4e2});gracefulExit(_0xf18b6d);}),scheduleCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x39c))[a2_0xe95552(0x420)](a2_0xe95552(0x31d))[a2_0xe95552(0x41e)]('-d,\x20--database\x20<db>',a2_0xe95552(0x321))[a2_0xe95552(0x41e)](a2_0xe95552(0x2ae),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0xe95552(0x41e)](a2_0xe95552(0x223),'Read\x20query\x20from\x20file')[a2_0xe95552(0x41e)]('--type\x20<type>',a2_0xe95552(0x224))['option']('--cron\x20<expression>','Cron\x20expression\x20for\x20scheduling')[a2_0xe95552(0x41e)](a2_0xe95552(0x275),a2_0xe95552(0x43c))[a2_0xe95552(0x41e)](a2_0xe95552(0x3f9),a2_0xe95552(0x404))[a2_0xe95552(0x41e)]('--priority\x20<-2~2>',a2_0xe95552(0x29c))['option'](a2_0xe95552(0x204),a2_0xe95552(0x1b4))['option'](a2_0xe95552(0x353),a2_0xe95552(0x2bb))[a2_0xe95552(0x41e)](a2_0xe95552(0x257),a2_0xe95552(0x1ce))[a2_0xe95552(0x307)](async(_0x2a9cdf,_0x324962)=>{const _0x3bac68=a2_0xe95552,_0xec09bb=new ScheduleUpdateCommand(),_0x115887=program[_0x3bac68(0x1c9)](),_0x3c1846=await createTDXInstance(_0x115887);_0x324962['in']&&(_0x324962[_0x3bac68(0x208)]=_0x324962['in']);const _0x415d19=await _0xec09bb[_0x3bac68(0x30e)]({'options':{..._0x115887,..._0x324962},'args':[_0x2a9cdf],'tdx':_0x3c1846});gracefulExit(_0x415d19);}),scheduleCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x24b))['description'](a2_0xe95552(0x1d6))['action'](async(_0x1feae1,_0x5adeac)=>{const _0x5a6c27=a2_0xe95552,_0xeb00c2=new ScheduleDeleteCommand(),_0x428aa9=program[_0x5a6c27(0x1c9)](),_0x4b1e00=await createTDXInstance(_0x428aa9),_0x1e1538=await _0xeb00c2['run']({'options':{..._0x428aa9,..._0x5adeac},'args':[_0x1feae1],'tdx':_0x4b1e00});gracefulExit(_0x1e1538);}),scheduleCmd['command']('run\x20<name>')[a2_0xe95552(0x420)](a2_0xe95552(0x1f2))[a2_0xe95552(0x41e)](a2_0xe95552(0x3ac),a2_0xe95552(0x425))[a2_0xe95552(0x41e)](a2_0xe95552(0x3fb),a2_0xe95552(0x1bf))['action'](async(_0x3a264e,_0x357b7c)=>{const _0x5019cc=a2_0xe95552,_0x474563=new ScheduleRunCommand(),_0x57a5c5=program['opts'](),_0x31d42c=await createTDXInstance(_0x57a5c5),_0x39f6b4=await _0x474563[_0x5019cc(0x30e)]({'options':{..._0x57a5c5,..._0x357b7c},'args':[_0x3a264e],'tdx':_0x31d42c});gracefulExit(_0x39f6b4);}),scheduleCmd[a2_0xe95552(0x19d)]('history\x20<name>')[a2_0xe95552(0x420)](a2_0xe95552(0x327))['option'](a2_0xe95552(0x1c7),a2_0xe95552(0x375))[a2_0xe95552(0x41e)](a2_0xe95552(0x1e9),'Ending\x20offset\x20(default:\x2020)')[a2_0xe95552(0x307)](async(_0x73dfe2,_0x3b58dc)=>{const _0x1e7945=a2_0xe95552,_0x2fdeaf=new ScheduleHistoryCommand(),_0x25b3e6=program[_0x1e7945(0x1c9)](),_0xb1614b=await createTDXInstance(_0x25b3e6),_0x41fcc2=await _0x2fdeaf[_0x1e7945(0x30e)]({'options':{..._0x25b3e6,..._0x3b58dc},'args':[_0x73dfe2],'tdx':_0xb1614b});gracefulExit(_0x41fcc2);});const llmCmd=program[a2_0xe95552(0x19d)](a2_0xe95552(0x231))['description']('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x35a))['description']('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')['action'](async(_0x4f6315,_0x2e3b3b)=>{const _0x11be36=a2_0xe95552,_0xf4fbf7=new LLMUseCommand(),_0x48e6d2=program[_0x11be36(0x1c9)](),_0x2b8505=await createTDXInstance(_0x48e6d2),_0x1ed57b=await _0xf4fbf7[_0x11be36(0x30e)]({'options':{..._0x48e6d2,..._0x2e3b3b},'args':[_0x4f6315],'tdx':_0x2b8505});gracefulExit(_0x1ed57b);}),llmCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x2f6))[a2_0xe95552(0x420)](a2_0xe95552(0x38d))['action'](async _0x184bea=>{const _0x163049=a2_0xe95552,_0x39eb32=new LLMModelsCommand(),_0x2b1f44=program[_0x163049(0x1c9)](),_0x12e77f=await createTDXInstance(_0x2b1f44),_0x53272c=await _0x39eb32['run']({'options':{..._0x2b1f44,..._0x184bea},'args':[],'tdx':_0x12e77f});gracefulExit(_0x53272c);});const projectCmd=llmCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x1b7))[a2_0xe95552(0x420)](a2_0xe95552(0x1e0)),llmProjectListAction=async(_0x286eae,_0x514c42)=>{const _0x4284aa=a2_0xe95552,_0x374ff0=new LLMProjectsCommand(),_0x5a9000=program['opts'](),_0x234ab2=await createTDXInstance(_0x5a9000),_0x2ce2f4=await _0x374ff0[_0x4284aa(0x30e)]({'options':{..._0x5a9000,..._0x514c42},'args':_0x286eae?[_0x286eae]:[],'tdx':_0x234ab2});gracefulExit(_0x2ce2f4);};projectCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x255))['description'](a2_0xe95552(0x333))[a2_0xe95552(0x307)](llmProjectListAction),llmCmd[a2_0xe95552(0x19d)]('projects\x20[pattern]')[a2_0xe95552(0x420)]('List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0xe95552(0x307)](llmProjectListAction),projectCmd['command']('create\x20<name>')[a2_0xe95552(0x420)](a2_0xe95552(0x265))[a2_0xe95552(0x41e)]('--description\x20<text>',a2_0xe95552(0x3a0))[a2_0xe95552(0x307)](async(_0xffb9bc,_0xbf80a0)=>{const _0x5d434a=a2_0xe95552,_0x404769=new LLMProjectCreateCommand(),_0x377060=program[_0x5d434a(0x1c9)](),_0x269cbc=await createTDXInstance(_0x377060),_0x2c3cf9=await _0x404769[_0x5d434a(0x30e)]({'options':{..._0x377060,..._0xbf80a0},'args':[_0xffb9bc],'tdx':_0x269cbc});gracefulExit(_0x2c3cf9);}),projectCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x24b))[a2_0xe95552(0x420)](a2_0xe95552(0x2f0))[a2_0xe95552(0x307)](async(_0x46b5a1,_0x572d7b)=>{const _0x3ce738=a2_0xe95552,_0x987733=new LLMProjectDeleteCommand(),_0x279b83=program[_0x3ce738(0x1c9)](),_0x3df9a4=await createTDXInstance(_0x279b83),_0x11397c=await _0x987733['run']({'options':{..._0x279b83,..._0x572d7b},'args':[_0x46b5a1],'tdx':_0x3df9a4});gracefulExit(_0x11397c);}),projectCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x2eb))[a2_0xe95552(0x420)](a2_0xe95552(0x2a2))[a2_0xe95552(0x41e)]('-o,\x20--output\x20<folder>',a2_0xe95552(0x2a1))[a2_0xe95552(0x41e)]('--dry-run',a2_0xe95552(0x1f5))[a2_0xe95552(0x307)](async(_0x2fb346,_0x33bc23)=>{const _0x46376f=a2_0xe95552,_0x36b947=new LLMProjectBackupCommand(),_0x31b44e=program[_0x46376f(0x1c9)](),_0x43a0b8=await createTDXInstance(_0x31b44e),_0x227611=await _0x36b947[_0x46376f(0x30e)]({'options':{..._0x31b44e,..._0x33bc23},'args':[_0x2fb346],'tdx':_0x43a0b8});gracefulExit(_0x227611);}),projectCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x20e))[a2_0xe95552(0x420)](a2_0xe95552(0x2ef))[a2_0xe95552(0x41e)](a2_0xe95552(0x192),a2_0xe95552(0x435))[a2_0xe95552(0x41e)]('--dry-run',a2_0xe95552(0x1dd))[a2_0xe95552(0x307)](async(_0x43de39,_0x13b564)=>{const _0x26b535=a2_0xe95552,_0x23a3f9=new LLMProjectRestoreCommand(),_0x444bc=program['opts'](),_0xb45518=await createTDXInstance(_0x444bc),_0x31c8b8=await _0x23a3f9[_0x26b535(0x30e)]({'options':{..._0x444bc,..._0x13b564},'args':[_0x43de39],'tdx':_0xb45518});gracefulExit(_0x31c8b8);});const llmAgentListAction=async(_0x54dcf0,_0x15e039)=>{const _0x4fe0a9=a2_0xe95552,_0x40ea66=new LLMAgentsCommand(),_0x2b0f50=program['opts'](),_0x1e9045=await createTDXInstance(_0x2b0f50),_0x1da074=await _0x40ea66[_0x4fe0a9(0x30e)]({'options':{..._0x2b0f50,..._0x15e039},'args':_0x54dcf0?[_0x54dcf0]:[],'tdx':_0x1e9045});gracefulExit(_0x1da074);};llmCmd['command']('agents\x20[pattern]')[a2_0xe95552(0x420)]('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')[a2_0xe95552(0x307)](llmAgentListAction),program[a2_0xe95552(0x19d)](a2_0xe95552(0x28e))[a2_0xe95552(0x420)](a2_0xe95552(0x2a5))[a2_0xe95552(0x307)](llmAgentListAction),llmCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x217))[a2_0xe95552(0x420)]('Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)')['option'](a2_0xe95552(0x233),'Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')[a2_0xe95552(0x307)](async(_0x10868f,_0x25c8a2)=>{const _0xa8959f=a2_0xe95552,_0x1e79ef=new LLMHistoryCommand(),_0x2ae3a2=program[_0xa8959f(0x1c9)](),_0x4202e5=await createTDXInstance(_0x2ae3a2),_0x4f697d=await _0x1e79ef[_0xa8959f(0x30e)]({'options':{..._0x2ae3a2,..._0x25c8a2},'args':_0x10868f?[_0x10868f]:[],'tdx':_0x4202e5});gracefulExit(_0x4f697d);});isExperimentalAvailable()&&llmCmd['command'](a2_0xe95552(0x1db))[a2_0xe95552(0x420)](a2_0xe95552(0x2a6))[a2_0xe95552(0x307)](async(_0x25eb85,_0x3cc009)=>{const _0x269185=a2_0xe95552,_0x1fbe56=new LLMLogCommand(),_0x37c009=program[_0x269185(0x1c9)](),_0x14bd95=await createTDXInstance(_0x37c009),_0x2c0513=await _0x1fbe56[_0x269185(0x30e)]({'options':{..._0x37c009,..._0x3cc009},'args':[_0x25eb85],'tdx':_0x14bd95});gracefulExit(_0x2c0513);});program[a2_0xe95552(0x19d)](a2_0xe95552(0x21e))[a2_0xe95552(0x3fa)](a2_0xe95552(0x324))[a2_0xe95552(0x420)](a2_0xe95552(0x3b7))[a2_0xe95552(0x41e)](a2_0xe95552(0x1c0),a2_0xe95552(0x3d1))[a2_0xe95552(0x41e)](a2_0xe95552(0x3fc),a2_0xe95552(0x439))[a2_0xe95552(0x41e)](a2_0xe95552(0x391),a2_0xe95552(0x370))[a2_0xe95552(0x366)]()[a2_0xe95552(0x3b0)](!![])['addHelpText'](a2_0xe95552(0x3f5),'\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON')[a2_0xe95552(0x307)](async(_0x49e6f2,_0xca532a)=>{const _0x35ee0b=a2_0xe95552,_0x5f10ea=program['opts'](),_0x6ecc5f=Array[_0x35ee0b(0x328)](_0x49e6f2)?_0x49e6f2:[];if(_0x6ecc5f[0x0]==='statusline'){const _0x50fc35=new ClaudeStatuslineCommand(),_0x2ee0e8=await _0x50fc35[_0x35ee0b(0x30e)]({'options':{..._0x5f10ea,..._0xca532a},'args':_0x6ecc5f[_0x35ee0b(0x32e)](0x1),'tdx':null});gracefulExit(_0x2ee0e8);}if(_0x6ecc5f[0x0]===_0x35ee0b(0x3fa)){const _0x2dc57d=new ClaudeUsageCommand(),_0x2c3472=await _0x2dc57d[_0x35ee0b(0x30e)]({'options':{..._0x5f10ea,..._0xca532a},'args':_0x6ecc5f[_0x35ee0b(0x32e)](0x1),'tdx':null});gracefulExit(_0x2c3472);}const _0x4a399d=new ClaudeCommand(),_0x186d10=await createTDXInstance(_0x5f10ea),_0x4d46a4=await _0x4a399d[_0x35ee0b(0x30e)]({'options':{..._0x5f10ea,..._0xca532a},'args':_0x6ecc5f,'tdx':_0x186d10});gracefulExit(_0x4d46a4);}),program[a2_0xe95552(0x19d)](a2_0xe95552(0x41a))[a2_0xe95552(0x420)](a2_0xe95552(0x1aa))[a2_0xe95552(0x41e)]('--clear','Clear\x20session\x20context')[a2_0xe95552(0x41e)]('--default','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0xe95552(0x307)](async(_0x5961ad,_0x4d7941,_0x5e018d)=>{const _0x24d196=a2_0xe95552,_0x255687=new UseCommand(),_0x883f09=program[_0x24d196(0x1c9)](),_0x17f715=[];if(_0x5961ad)_0x17f715[_0x24d196(0x3d3)](_0x5961ad);if(_0x4d7941)_0x17f715['push'](_0x4d7941);const _0x4e7941=_0x5961ad==='engage_workspace',_0x24dfe0=_0x4e7941?await createTDXInstance(_0x883f09):null,_0x560ec6=await _0x255687[_0x24d196(0x30e)]({'options':{..._0x883f09,..._0x5e018d},'args':_0x17f715,'tdx':_0x24dfe0});gracefulExit(_0x560ec6);}),program['command'](a2_0xe95552(0x23c))[a2_0xe95552(0x420)]('Show\x20authentication\x20status\x20and\x20current\x20context')[a2_0xe95552(0x307)](async _0x464c05=>{const _0x2d55ad=a2_0xe95552,_0x55f62c=new StatusCommand(),_0x1caaff=program[_0x2d55ad(0x1c9)](),_0x4a2b91=await createTDXInstance(_0x1caaff),_0x98ed7f=await _0x55f62c[_0x2d55ad(0x30e)]({'options':{..._0x1caaff,..._0x464c05},'args':[],'tdx':_0x4a2b91});gracefulExit(_0x98ed7f);}),program[a2_0xe95552(0x19d)](a2_0xe95552(0x1a4))[a2_0xe95552(0x420)]('Upgrade\x20tdx\x20to\x20the\x20latest\x20version')[a2_0xe95552(0x41e)]('--dry-run',a2_0xe95552(0x3ce))[a2_0xe95552(0x41e)](a2_0xe95552(0x40b),a2_0xe95552(0x216))['option'](a2_0xe95552(0x221),a2_0xe95552(0x42d))[a2_0xe95552(0x307)](async(_0x8e8b1c,_0x4d6c23)=>{const _0x42d2cd=a2_0xe95552,_0x399f55=new UpgradeCommand(),_0x53dbbc=program[_0x42d2cd(0x1c9)](),_0x1125bf=await _0x399f55[_0x42d2cd(0x30e)]({'options':{..._0x53dbbc,..._0x4d6c23},'args':_0x8e8b1c?[_0x8e8b1c]:[],'tdx':null});gracefulExit(_0x1125bf);}),program[a2_0xe95552(0x19d)]('unset\x20<resource>')[a2_0xe95552(0x420)](a2_0xe95552(0x2b8))[a2_0xe95552(0x41e)]('--default',a2_0xe95552(0x352))[a2_0xe95552(0x307)](async(_0xa254d5,_0xf7521d)=>{const _0x16cc7a=a2_0xe95552,_0x25c8b8=new UnsetCommand(),_0x4bc8de=program[_0x16cc7a(0x1c9)](),_0x16f42f=await _0x25c8b8['run']({'options':{..._0x4bc8de,..._0xf7521d},'args':[_0xa254d5],'tdx':null});gracefulExit(_0x16f42f);}),program[a2_0xe95552(0x19d)](a2_0xe95552(0x24d))[a2_0xe95552(0x420)](a2_0xe95552(0x262))[a2_0xe95552(0x41e)](a2_0xe95552(0x233),a2_0xe95552(0x1bd))[a2_0xe95552(0x307)](async _0x4338ac=>{const _0x3ff158=a2_0xe95552,_0xb38517=new ChatsCommand(),_0x50cd9f=program['opts'](),_0x359fca=await createTDXInstance(_0x50cd9f),_0x306ccc=await _0xb38517[_0x3ff158(0x30e)]({'options':{..._0x50cd9f,..._0x4338ac},'args':[],'tdx':_0x359fca});gracefulExit(_0x306ccc);});const authCmd=program[a2_0xe95552(0x19d)](a2_0xe95552(0x393))[a2_0xe95552(0x420)](a2_0xe95552(0x2bd));async function runAuthStatusCommand(_0x139fe3){const _0x1fc91c=a2_0xe95552,_0x3acdb8=new AuthStatusCommand(),_0x150c86=program[_0x1fc91c(0x1c9)](),_0x36afe1=await createTDXInstance(_0x150c86),_0x1c21c8=await _0x3acdb8[_0x1fc91c(0x30e)]({'options':{..._0x150c86,..._0x139fe3},'args':[],'tdx':_0x36afe1});gracefulExit(_0x1c21c8);}authCmd[a2_0xe95552(0x307)](runAuthStatusCommand),authCmd[a2_0xe95552(0x19d)]('status')[a2_0xe95552(0x420)]('Show\x20authentication\x20status\x20and\x20validate\x20API\x20key')['action'](runAuthStatusCommand),authCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x357))[a2_0xe95552(0x420)](a2_0xe95552(0x305))[a2_0xe95552(0x2fd)]('after',a2_0xe95552(0x26d))[a2_0xe95552(0x307)](async _0x3b76ec=>{const _0x23280c=a2_0xe95552,_0x25ddfd=new AuthSetupCommand(),_0x5d2dc6=program[_0x23280c(0x1c9)](),_0x50b533=await createTDXInstance(_0x5d2dc6),_0x9b662b=await _0x25ddfd[_0x23280c(0x30e)]({'options':{..._0x5d2dc6,..._0x3b76ec},'args':[],'tdx':_0x50b533});gracefulExit(_0x9b662b);}),authCmd[a2_0xe95552(0x19d)]('login')['description']('Login\x20via\x20OAuth\x20(dev\x20sites\x20only)')[a2_0xe95552(0x2fd)](a2_0xe95552(0x3f5),a2_0xe95552(0x21f))[a2_0xe95552(0x307)](async _0x52a52c=>{const _0xf08690=a2_0xe95552,_0x331d19=new AuthLoginCommand(),_0x5a8f42=program[_0xf08690(0x1c9)](),_0x147f51=await _0x331d19['run']({'options':{..._0x5a8f42,..._0x52a52c},'args':[],'tdx':null});gracefulExit(_0x147f51);}),authCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x26f))[a2_0xe95552(0x420)](a2_0xe95552(0x2fe))[a2_0xe95552(0x2fd)]('after',a2_0xe95552(0x3ef))[a2_0xe95552(0x307)](async _0x23a0f3=>{const _0x3b4a94=a2_0xe95552,_0x474b44=new AuthClearCommand(),_0x4465d9=program[_0x3b4a94(0x1c9)](),_0x12bb06=await _0x474b44[_0x3b4a94(0x30e)]({'options':{..._0x4465d9,..._0x23a0f3},'args':[],'tdx':null});gracefulExit(_0x12bb06);});const userCmd=program[a2_0xe95552(0x19d)]('user')[a2_0xe95552(0x420)](a2_0xe95552(0x338)),userListAction=async _0x24fae5=>{const _0x183d05=a2_0xe95552,_0x21230b=new UserListCommand(),_0x3854e8=program[_0x183d05(0x1c9)](),_0x290f58=await createTDXInstance(_0x3854e8),_0x22e3f4=await _0x21230b[_0x183d05(0x30e)]({'options':{..._0x3854e8,..._0x24fae5},'args':[],'tdx':_0x290f58});gracefulExit(_0x22e3f4);};userCmd['action'](async _0x25efac=>{const _0x56f55e=a2_0xe95552,_0x443339=new UserCommand(),_0x5265f6=program[_0x56f55e(0x1c9)](),_0x43d4e0=await createTDXInstance(_0x5265f6),_0x17292f=await _0x443339['run']({'options':{..._0x5265f6,..._0x25efac},'args':[],'tdx':_0x43d4e0});gracefulExit(_0x17292f);}),userCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x402))[a2_0xe95552(0x420)](a2_0xe95552(0x43b))[a2_0xe95552(0x307)](userListAction),program[a2_0xe95552(0x19d)](a2_0xe95552(0x19e))[a2_0xe95552(0x420)](a2_0xe95552(0x35d))[a2_0xe95552(0x307)](userListAction),program[a2_0xe95552(0x19d)]('profiles')[a2_0xe95552(0x420)]('List\x20all\x20available\x20profiles')['action'](async _0x5772c8=>{const _0xe90e95=a2_0xe95552,_0x1463b7=new ProfilesCommand(),_0x47135a=program[_0xe90e95(0x1c9)](),_0x3a1a36=await _0x1463b7[_0xe90e95(0x30e)]({'options':{..._0x47135a,..._0x5772c8},'args':[],'tdx':null});gracefulExit(_0x3a1a36);});const profileCmd=program['command'](a2_0xe95552(0x2b6))[a2_0xe95552(0x420)](a2_0xe95552(0x3ed));profileCmd[a2_0xe95552(0x307)](()=>{const _0x1ef1c6=a2_0xe95552;profileCmd[_0x1ef1c6(0x261)]();});const profileListAction=async _0x180da1=>{const _0x8cf281=a2_0xe95552,_0x468f0b=new ProfilesCommand(),_0x28e74e=program[_0x8cf281(0x1c9)](),_0x4f8b74=await _0x468f0b['run']({'options':{..._0x28e74e,..._0x180da1},'args':[],'tdx':null});gracefulExit(_0x4f8b74);};profileCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x402))[a2_0xe95552(0x420)](a2_0xe95552(0x424))[a2_0xe95552(0x307)](profileListAction),profileCmd['command']('create\x20[name]')[a2_0xe95552(0x420)](a2_0xe95552(0x2f2))[a2_0xe95552(0x2fd)](a2_0xe95552(0x3f5),a2_0xe95552(0x1f3))[a2_0xe95552(0x307)](async(_0x2d7ae9,_0x1d9b5c)=>{const _0x437728=a2_0xe95552,_0x50bf97=new ProfileCreateCommand(),_0x4ee1a1=program['opts'](),_0x7c9592=await _0x50bf97[_0x437728(0x30e)]({'options':{..._0x4ee1a1,..._0x1d9b5c},'args':_0x2d7ae9?[_0x2d7ae9]:[],'tdx':null});gracefulExit(_0x7c9592);}),profileCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x403))[a2_0xe95552(0x420)](a2_0xe95552(0x276))[a2_0xe95552(0x2fd)](a2_0xe95552(0x3f5),a2_0xe95552(0x3c2))[a2_0xe95552(0x307)](async(_0x2cae4c,_0xe6653d)=>{const _0x3adf99=a2_0xe95552,_0x879d28=new ProfileRemoveCommand(),_0x1e0bf2=program[_0x3adf99(0x1c9)](),_0x4ddaf8=await _0x879d28['run']({'options':{..._0x1e0bf2,..._0xe6653d},'args':[_0x2cae4c],'tdx':null});gracefulExit(_0x4ddaf8);}),profileCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x34a))['description']('Set\x20a\x20profile\x20configuration\x20value')['addHelpText'](a2_0xe95552(0x3f5),'\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')['action'](async(_0x34b035,_0x4674fe)=>{const _0x27a2f4=a2_0xe95552,_0x4fb808=new ProfileSetCommand(),_0xdbd85=program[_0x27a2f4(0x1c9)](),_0x26eadd=await _0x4fb808[_0x27a2f4(0x30e)]({'options':{..._0xdbd85,..._0x4674fe},'args':[_0x34b035],'tdx':null});gracefulExit(_0x26eadd);}),profileCmd[a2_0xe95552(0x19d)]('use\x20<name>')[a2_0xe95552(0x420)](a2_0xe95552(0x2c2))['option']('--default',a2_0xe95552(0x418))['addHelpText']('after',a2_0xe95552(0x388))[a2_0xe95552(0x307)](async(_0x21e845,_0x2775da)=>{const _0x22d537=a2_0xe95552,_0x40461a=new ProfileUseCommand(),_0x5c00c4=program['opts'](),_0x248d2d=await _0x40461a[_0x22d537(0x30e)]({'options':{..._0x5c00c4,..._0x2775da},'args':[_0x21e845],'tdx':null});gracefulExit(_0x248d2d);});const engageCmd=program[a2_0xe95552(0x19d)](a2_0xe95552(0x32a))[a2_0xe95552(0x420)]('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x25d09b=>{return async(_0x4492c7,_0x59b5ec)=>{const _0x4ac69f=a2_0x1a55,_0x35fdb=new _0x25d09b(),_0x217aa1=program['opts'](),_0x41da5e=await createTDXInstance(_0x217aa1),_0x300b36=await _0x35fdb[_0x4ac69f(0x30e)]({'options':{..._0x217aa1,..._0x59b5ec},'args':[_0x4492c7],'tdx':_0x41da5e});gracefulExit(_0x300b36);};},createEngageNoArgAction=_0x55016e=>{return async _0x567923=>{const _0x25b9aa=a2_0x1a55,_0x3d05ac=new _0x55016e(),_0x13a7f3=program[_0x25b9aa(0x1c9)](),_0x4abcd0=await createTDXInstance(_0x13a7f3),_0x5334a8=await _0x3d05ac['run']({'options':{..._0x13a7f3,..._0x567923},'args':[],'tdx':_0x4abcd0});gracefulExit(_0x5334a8);};},createEngageListAction=_0x7faa9d=>{return async(_0x140f4,_0x3f25ff)=>{const _0x5c1ac4=a2_0x1a55,_0x2177e8=new _0x7faa9d(),_0x399a95=program['opts'](),_0x86a8ea=await createTDXInstance(_0x399a95),_0x55852b=await _0x2177e8[_0x5c1ac4(0x30e)]({'options':{..._0x399a95,..._0x3f25ff},'args':_0x140f4?[_0x140f4]:[],'tdx':_0x86a8ea});gracefulExit(_0x55852b);};},campaignCmd=engageCmd['command'](a2_0xe95552(0x3e7))[a2_0xe95552(0x420)]('Campaign\x20management');campaignCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x255))['description'](a2_0xe95552(0x341))[a2_0xe95552(0x41e)](a2_0xe95552(0x1fa),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0xe95552(0x41e)](a2_0xe95552(0x350),a2_0xe95552(0x22f))[a2_0xe95552(0x41e)](a2_0xe95552(0x442),a2_0xe95552(0x30b))['action'](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x41f))[a2_0xe95552(0x420)](a2_0xe95552(0x31c))[a2_0xe95552(0x41e)]('--type\x20<type>',a2_0xe95552(0x2ce))[a2_0xe95552(0x41e)](a2_0xe95552(0x350),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')['option'](a2_0xe95552(0x442),'Workspace\x20name')[a2_0xe95552(0x307)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x253))[a2_0xe95552(0x420)](a2_0xe95552(0x1e3))[a2_0xe95552(0x41e)]('--workspace\x20<name>',a2_0xe95552(0x30b))[a2_0xe95552(0x41e)](a2_0xe95552(0x27c),a2_0xe95552(0x2a4))[a2_0xe95552(0x307)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x25e))[a2_0xe95552(0x420)](a2_0xe95552(0x42c))[a2_0xe95552(0x2be)](a2_0xe95552(0x295),a2_0xe95552(0x220))['requiredOption'](a2_0xe95552(0x1fa),a2_0xe95552(0x235))[a2_0xe95552(0x41e)]('--workspace\x20<name>',a2_0xe95552(0x37d))[a2_0xe95552(0x41e)]('--description\x20<desc>',a2_0xe95552(0x3c4))['option'](a2_0xe95552(0x23e),a2_0xe95552(0x1c4))['option'](a2_0xe95552(0x26a),a2_0xe95552(0x416))[a2_0xe95552(0x41e)]('--json-columns\x20<cols>','JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0xe95552(0x41e)](a2_0xe95552(0x1d8),a2_0xe95552(0x270))['option'](a2_0xe95552(0x275),a2_0xe95552(0x343))[a2_0xe95552(0x307)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x1f9))[a2_0xe95552(0x420)]('Update\x20a\x20campaign')[a2_0xe95552(0x41e)](a2_0xe95552(0x442),a2_0xe95552(0x30b))[a2_0xe95552(0x41e)](a2_0xe95552(0x295),a2_0xe95552(0x1ab))[a2_0xe95552(0x41e)](a2_0xe95552(0x3bf),'Campaign\x20description')['option'](a2_0xe95552(0x23e),a2_0xe95552(0x1c4))[a2_0xe95552(0x41e)]('--email-sender-id\x20<id>',a2_0xe95552(0x416))[a2_0xe95552(0x41e)]('--json-columns\x20<cols>',a2_0xe95552(0x1df))[a2_0xe95552(0x41e)]('--start-at\x20<datetime>',a2_0xe95552(0x270))['option'](a2_0xe95552(0x275),a2_0xe95552(0x343))[a2_0xe95552(0x307)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x212))[a2_0xe95552(0x420)]('Delete\x20a\x20campaign')['option'](a2_0xe95552(0x442),'Workspace\x20name')[a2_0xe95552(0x41e)]('--yes',a2_0xe95552(0x31e))[a2_0xe95552(0x307)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x400))['description'](a2_0xe95552(0x1e6))[a2_0xe95552(0x41e)](a2_0xe95552(0x442),'Workspace\x20name')[a2_0xe95552(0x307)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x432))[a2_0xe95552(0x420)](a2_0xe95552(0x3aa))[a2_0xe95552(0x41e)](a2_0xe95552(0x442),a2_0xe95552(0x30b))['action'](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0xe95552(0x19d)]('resume\x20<name-or-id>')['description'](a2_0xe95552(0x236))[a2_0xe95552(0x41e)](a2_0xe95552(0x442),a2_0xe95552(0x30b))[a2_0xe95552(0x307)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x351))[a2_0xe95552(0x420)](a2_0xe95552(0x277))['option'](a2_0xe95552(0x442),a2_0xe95552(0x30b))['action'](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x415))['description'](a2_0xe95552(0x3c5))[a2_0xe95552(0x41e)](a2_0xe95552(0x442),'Workspace\x20name')['option'](a2_0xe95552(0x295),a2_0xe95552(0x2fa))[a2_0xe95552(0x41e)](a2_0xe95552(0x1fa),a2_0xe95552(0x2ce))['option'](a2_0xe95552(0x3ad),'Show\x20what\x20would\x20be\x20written\x20without\x20writing')[a2_0xe95552(0x307)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x2e6))[a2_0xe95552(0x420)]('Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns')[a2_0xe95552(0x41e)]('--workspace\x20<name>',a2_0xe95552(0x30b))[a2_0xe95552(0x41e)]('--dry-run',a2_0xe95552(0x1da))[a2_0xe95552(0x307)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x3dd))[a2_0xe95552(0x420)](a2_0xe95552(0x278))[a2_0xe95552(0x41e)](a2_0xe95552(0x1c5),a2_0xe95552(0x2dc))[a2_0xe95552(0x307)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x372))[a2_0xe95552(0x420)](a2_0xe95552(0x2af));alwaysOnCampaignCmd[a2_0xe95552(0x19d)]('list\x20[pattern]')['description']('List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0xe95552(0x41e)](a2_0xe95552(0x1fa),a2_0xe95552(0x2ce))[a2_0xe95552(0x41e)](a2_0xe95552(0x350),a2_0xe95552(0x229))[a2_0xe95552(0x2be)](a2_0xe95552(0x442),a2_0xe95552(0x37d))[a2_0xe95552(0x307)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x1a5))[a2_0xe95552(0x420)](a2_0xe95552(0x3ea))[a2_0xe95552(0x41e)](a2_0xe95552(0x1fa),a2_0xe95552(0x2ce))[a2_0xe95552(0x41e)](a2_0xe95552(0x350),a2_0xe95552(0x229))['requiredOption']('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0xe95552(0x307)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd['command'](a2_0xe95552(0x253))['description']('Show\x20always-on\x20campaign\x20details')[a2_0xe95552(0x2be)]('--workspace\x20<name>',a2_0xe95552(0x37d))[a2_0xe95552(0x41e)]('--full',a2_0xe95552(0x2a4))['action'](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x25e))[a2_0xe95552(0x420)]('Create\x20a\x20new\x20always-on\x20campaign')[a2_0xe95552(0x2be)](a2_0xe95552(0x295),a2_0xe95552(0x220))[a2_0xe95552(0x2be)](a2_0xe95552(0x1fa),'Campaign\x20type\x20(email\x20or\x20push)')[a2_0xe95552(0x2be)](a2_0xe95552(0x442),'Workspace\x20name\x20(required)')[a2_0xe95552(0x41e)]('--description\x20<desc>',a2_0xe95552(0x3c4))[a2_0xe95552(0x41e)](a2_0xe95552(0x23e),'Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')['option'](a2_0xe95552(0x2c1),a2_0xe95552(0x18d))['action'](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0xe95552(0x19d)]('update\x20<name-or-id>')[a2_0xe95552(0x420)]('Update\x20an\x20always-on\x20campaign')[a2_0xe95552(0x2be)](a2_0xe95552(0x442),a2_0xe95552(0x37d))[a2_0xe95552(0x41e)](a2_0xe95552(0x295),a2_0xe95552(0x1ab))[a2_0xe95552(0x41e)](a2_0xe95552(0x3bf),a2_0xe95552(0x3c4))[a2_0xe95552(0x41e)](a2_0xe95552(0x23e),'Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')['option'](a2_0xe95552(0x2c1),a2_0xe95552(0x18d))['action'](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x212))[a2_0xe95552(0x420)]('Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)')[a2_0xe95552(0x2be)]('--workspace\x20<name>',a2_0xe95552(0x37d))[a2_0xe95552(0x41e)](a2_0xe95552(0x24c),a2_0xe95552(0x31e))[a2_0xe95552(0x307)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x400))[a2_0xe95552(0x420)](a2_0xe95552(0x1b6))[a2_0xe95552(0x2be)](a2_0xe95552(0x442),'Workspace\x20name\x20(required)')[a2_0xe95552(0x307)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd['command']('pause\x20<name-or-id>')[a2_0xe95552(0x420)](a2_0xe95552(0x3e4))['requiredOption'](a2_0xe95552(0x442),a2_0xe95552(0x37d))[a2_0xe95552(0x307)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x405))[a2_0xe95552(0x420)](a2_0xe95552(0x1ed))['requiredOption'](a2_0xe95552(0x442),a2_0xe95552(0x37d))[a2_0xe95552(0x307)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x2bf))[a2_0xe95552(0x420)](a2_0xe95552(0x263))['requiredOption'](a2_0xe95552(0x442),a2_0xe95552(0x37d))['option'](a2_0xe95552(0x24c),a2_0xe95552(0x31e))[a2_0xe95552(0x307)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd['command'](a2_0xe95552(0x351))[a2_0xe95552(0x420)](a2_0xe95552(0x193))[a2_0xe95552(0x2be)](a2_0xe95552(0x442),'Workspace\x20name\x20(required)')['requiredOption']('--name\x20<name>',a2_0xe95552(0x325))[a2_0xe95552(0x307)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x1fe))[a2_0xe95552(0x420)](a2_0xe95552(0x27a));function a2_0x1a55(_0x57ed90,_0xa1e3a5){_0x57ed90=_0x57ed90-0x18c;const _0x1c6a53=a2_0x1c6a();let _0x1a5559=_0x1c6a53[_0x57ed90];return _0x1a5559;}templateCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x255))[a2_0xe95552(0x420)](a2_0xe95552(0x3a8))[a2_0xe95552(0x41e)](a2_0xe95552(0x442),'Workspace\x20name')[a2_0xe95552(0x307)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x280))[a2_0xe95552(0x420)]('List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)')[a2_0xe95552(0x41e)](a2_0xe95552(0x442),a2_0xe95552(0x30b))[a2_0xe95552(0x307)](createEngageListAction(EngageTemplatesCommand)),templateCmd['command'](a2_0xe95552(0x253))[a2_0xe95552(0x420)](a2_0xe95552(0x201))['option'](a2_0xe95552(0x442),a2_0xe95552(0x30b))[a2_0xe95552(0x41e)](a2_0xe95552(0x27c),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0xe95552(0x307)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x25e))[a2_0xe95552(0x420)](a2_0xe95552(0x367))[a2_0xe95552(0x2be)](a2_0xe95552(0x295),a2_0xe95552(0x2b3))[a2_0xe95552(0x2be)](a2_0xe95552(0x319),'Email\x20subject\x20template')[a2_0xe95552(0x41e)](a2_0xe95552(0x419),a2_0xe95552(0x342))[a2_0xe95552(0x41e)](a2_0xe95552(0x30d),a2_0xe95552(0x28d))[a2_0xe95552(0x41e)]('--workspace\x20<name>',a2_0xe95552(0x37d))[a2_0xe95552(0x41e)]('--plaintext\x20<text>',a2_0xe95552(0x240))[a2_0xe95552(0x41e)](a2_0xe95552(0x20d),a2_0xe95552(0x3f1),_0x466407=>{const _0x10a0d0=a2_0xe95552;if(!['beefree',_0x10a0d0(0x2a8)]['includes'](_0x466407))throw new SDKError(ErrorCode[_0x10a0d0(0x1c6)],_0x10a0d0(0x3d2)+_0x466407+_0x10a0d0(0x396));return _0x466407;})['action'](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd['command']('update\x20<name-or-id>')[a2_0xe95552(0x420)](a2_0xe95552(0x346))['option'](a2_0xe95552(0x442),'Workspace\x20name')[a2_0xe95552(0x41e)](a2_0xe95552(0x295),'New\x20template\x20name')[a2_0xe95552(0x41e)](a2_0xe95552(0x319),a2_0xe95552(0x274))['option'](a2_0xe95552(0x419),a2_0xe95552(0x342))[a2_0xe95552(0x41e)](a2_0xe95552(0x30d),a2_0xe95552(0x28d))[a2_0xe95552(0x41e)](a2_0xe95552(0x410),a2_0xe95552(0x240))[a2_0xe95552(0x307)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x1f4))['description'](a2_0xe95552(0x1be))['option'](a2_0xe95552(0x442),a2_0xe95552(0x30b))[a2_0xe95552(0x41e)](a2_0xe95552(0x295),'Pull\x20specific\x20template\x20by\x20name')[a2_0xe95552(0x41e)]('-y,\x20--yes',a2_0xe95552(0x31e))[a2_0xe95552(0x41e)](a2_0xe95552(0x3ad),'Show\x20what\x20would\x20be\x20written\x20without\x20writing')['action'](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x2e6))[a2_0xe95552(0x420)]('Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates')['option'](a2_0xe95552(0x442),a2_0xe95552(0x30b))[a2_0xe95552(0x41e)](a2_0xe95552(0x2e1),'Skip\x20confirmation\x20prompt')[a2_0xe95552(0x41e)]('--dry-run',a2_0xe95552(0x1da))[a2_0xe95552(0x307)](createEngageAction(EngageTemplatePushCommand)),templateCmd['command'](a2_0xe95552(0x3dd))[a2_0xe95552(0x420)](a2_0xe95552(0x3ca))[a2_0xe95552(0x41e)](a2_0xe95552(0x1c5),'Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0xe95552(0x307)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x212))['description'](a2_0xe95552(0x3a6))[a2_0xe95552(0x41e)](a2_0xe95552(0x442),'Workspace\x20name')[a2_0xe95552(0x41e)](a2_0xe95552(0x24c),a2_0xe95552(0x31e))[a2_0xe95552(0x307)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x340))[a2_0xe95552(0x420)](a2_0xe95552(0x3ab));workspaceCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x255))[a2_0xe95552(0x420)](a2_0xe95552(0x26b))[a2_0xe95552(0x307)](createEngageListAction(EngageWorkspacesCommand)),engageCmd['command'](a2_0xe95552(0x2cf))[a2_0xe95552(0x420)]('List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)')['action'](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd['command'](a2_0xe95552(0x253))['description']('Show\x20workspace\x20details')[a2_0xe95552(0x41e)](a2_0xe95552(0x27c),a2_0xe95552(0x2a4))['action'](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x25e))[a2_0xe95552(0x420)](a2_0xe95552(0x199))[a2_0xe95552(0x2be)](a2_0xe95552(0x295),'Workspace\x20name')[a2_0xe95552(0x41e)](a2_0xe95552(0x3bf),'Workspace\x20description')[a2_0xe95552(0x307)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0xe95552(0x19d)]('update\x20<name-or-id>')[a2_0xe95552(0x420)](a2_0xe95552(0x3e9))['option']('--name\x20<name>',a2_0xe95552(0x26e))[a2_0xe95552(0x41e)](a2_0xe95552(0x3bf),a2_0xe95552(0x1a3))[a2_0xe95552(0x307)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x212))[a2_0xe95552(0x420)](a2_0xe95552(0x330))['option'](a2_0xe95552(0x24c),a2_0xe95552(0x31e))['action'](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x209))['description'](a2_0xe95552(0x2c6))[a2_0xe95552(0x307)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0xe95552(0x19d)](a2_0xe95552(0x428))['description'](a2_0xe95552(0x441));deliveryCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x2b1))[a2_0xe95552(0x420)](a2_0xe95552(0x2db))['option'](a2_0xe95552(0x442),a2_0xe95552(0x30b))[a2_0xe95552(0x307)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0xe95552(0x19d)](a2_0xe95552(0x35e))[a2_0xe95552(0x420)]('Data\x20connection\x20management\x20(for\x20activations/exports)'),connectionListAction=async _0x2f8083=>{const _0x3e49ac=a2_0xe95552,_0x10c609=new ConnectionListCommand(),_0x2e006c=program[_0x3e49ac(0x1c9)](),_0x2876fd=await createTDXInstance(_0x2e006c),_0x31ab61=await _0x10c609['run']({'options':{..._0x2e006c,..._0x2f8083},'args':[],'tdx':_0x2876fd});gracefulExit(_0x31ab61);};connectionCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x402))[a2_0xe95552(0x420)](a2_0xe95552(0x3e5))[a2_0xe95552(0x307)](connectionListAction),program[a2_0xe95552(0x19d)]('connections',{'hidden':!![]})[a2_0xe95552(0x420)](a2_0xe95552(0x371))[a2_0xe95552(0x307)](connectionListAction),connectionCmd['command']('show\x20<name>')[a2_0xe95552(0x420)](a2_0xe95552(0x3cf))[a2_0xe95552(0x307)](async(_0x475626,_0x43fd4d)=>{const _0x822ad5=a2_0xe95552,_0x29bed6=new ConnectionShowCommand(),_0x986c0e=program[_0x822ad5(0x1c9)](),_0x11222b=await createTDXInstance(_0x986c0e),_0x4cae6f=await _0x29bed6['run']({'options':{..._0x986c0e,..._0x43fd4d},'args':[_0x475626],'tdx':_0x11222b});gracefulExit(_0x4cae6f);}),connectionCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x411))[a2_0xe95552(0x420)](a2_0xe95552(0x39d))[a2_0xe95552(0x307)](async(_0x32c5dd,_0x296019)=>{const _0x3724c9=a2_0xe95552,_0x2c9e18=new ConnectionSchemaCommand(),_0x482bb2=program[_0x3724c9(0x1c9)](),_0x2cfc26=await createTDXInstance(_0x482bb2),_0x578043=await _0x2c9e18[_0x3724c9(0x30e)]({'options':{..._0x482bb2,..._0x296019},'args':[_0x32c5dd],'tdx':_0x2cfc26});gracefulExit(_0x578043);}),connectionCmd[a2_0xe95552(0x19d)]('types')[a2_0xe95552(0x420)](a2_0xe95552(0x421))[a2_0xe95552(0x307)](async _0xf8ea48=>{const _0x5421d8=a2_0xe95552,_0x2d021f=new ConnectionTypesCommand(),_0x530979=program[_0x5421d8(0x1c9)](),_0x4516b8=await createTDXInstance(_0x530979),_0xa71bc5=await _0x2d021f[_0x5421d8(0x30e)]({'options':{..._0x530979,..._0xf8ea48},'args':[],'tdx':_0x4516b8});gracefulExit(_0xa71bc5);}),connectionCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x1a6))[a2_0xe95552(0x420)](a2_0xe95552(0x2f4))['action'](async(_0x28cc53,_0x1f4348)=>{const _0x10b604=a2_0xe95552,_0x24ae7a=new ConnectionSettingsCommand(),_0x574b9d=program[_0x10b604(0x1c9)](),_0x3b36ea=await createTDXInstance(_0x574b9d),_0x15cd42=await _0x24ae7a[_0x10b604(0x30e)]({'options':{..._0x574b9d,..._0x1f4348},'args':[_0x28cc53],'tdx':_0x3b36ea});gracefulExit(_0x15cd42);});const journeyCmd=program[a2_0xe95552(0x19d)](a2_0xe95552(0x25a))[a2_0xe95552(0x420)]('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0x421f30,_0x8dc264)=>{const _0xa432e0=a2_0xe95552,_0x3e0dde=new JourneyListCommand(),_0x509cb8=program[_0xa432e0(0x1c9)](),_0x217ee8=await createTDXInstance(_0x509cb8),_0x53b098=await _0x3e0dde[_0xa432e0(0x30e)]({'options':{..._0x509cb8,..._0x8dc264},'args':_0x421f30?[_0x421f30]:[],'tdx':_0x217ee8});gracefulExit(_0x53b098);};journeyCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x255))[a2_0xe95552(0x420)](a2_0xe95552(0x24f))['action'](journeyListAction),journeyCmd['command'](a2_0xe95552(0x287))[a2_0xe95552(0x420)](a2_0xe95552(0x195))[a2_0xe95552(0x41e)]('-w,\x20--web','Open\x20journey\x20in\x20web\x20browser')[a2_0xe95552(0x41e)](a2_0xe95552(0x362),a2_0xe95552(0x1e1))[a2_0xe95552(0x307)](async(_0x2f0639,_0x434f82)=>{const _0x46f4ce=a2_0xe95552,_0x20c176=new JourneyViewCommand(),_0x46ee8b=program['opts'](),_0x1bd052=await createTDXInstance(_0x46ee8b),_0x4021df=await _0x20c176[_0x46f4ce(0x30e)]({'options':{..._0x46ee8b,..._0x434f82},'args':[_0x2f0639],'tdx':_0x1bd052});gracefulExit(_0x4021df);}),journeyCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x318))[a2_0xe95552(0x420)](a2_0xe95552(0x2ff))[a2_0xe95552(0x41e)]('--stage\x20<name>',a2_0xe95552(0x3f6))[a2_0xe95552(0x41e)](a2_0xe95552(0x300),a2_0xe95552(0x32c))[a2_0xe95552(0x41e)](a2_0xe95552(0x311),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0xe95552(0x41e)](a2_0xe95552(0x2b4),a2_0xe95552(0x426))[a2_0xe95552(0x307)](async(_0x20f78c,_0x378488)=>{const _0x179f07=a2_0xe95552,_0x4066ff=new JourneyStatsCommand(),_0x342fad=program[_0x179f07(0x1c9)](),_0x2237f4=await createTDXInstance(_0x342fad),_0x4086e6=await _0x4066ff[_0x179f07(0x30e)]({'options':{..._0x342fad,..._0x378488},'args':[_0x20f78c],'tdx':_0x2237f4});gracefulExit(_0x4086e6);}),journeyCmd[a2_0xe95552(0x19d)]('traffic\x20<name-or-path>')[a2_0xe95552(0x420)](a2_0xe95552(0x18f))['option']('--type\x20<type>',a2_0xe95552(0x3c0))[a2_0xe95552(0x41e)]('--from\x20<date>',a2_0xe95552(0x32c))['option'](a2_0xe95552(0x311),a2_0xe95552(0x381))[a2_0xe95552(0x41e)](a2_0xe95552(0x1b0),a2_0xe95552(0x234),_0x539edf=>{const _0x21c40f=a2_0xe95552,_0x2c5fcb=parseInt(_0x539edf,0xa);if(isNaN(_0x2c5fcb))throw new Error(_0x21c40f(0x20a)+_0x539edf+_0x21c40f(0x1ba));return _0x2c5fcb;})[a2_0xe95552(0x307)](async(_0x9fb387,_0xf57c26)=>{const _0x356975=a2_0xe95552,_0x2956c2=new JourneyTrafficCommand(),_0x5c9e1a=program[_0x356975(0x1c9)](),_0x25e1d2=await createTDXInstance(_0x5c9e1a),_0x2f0845=await _0x2956c2['run']({'options':{..._0x5c9e1a,..._0xf57c26},'args':[_0x9fb387],'tdx':_0x25e1d2});gracefulExit(_0x2f0845);}),journeyCmd['command'](a2_0xe95552(0x256))[a2_0xe95552(0x420)]('Pause\x20a\x20running\x20journey')[a2_0xe95552(0x307)](async(_0x322918,_0x3ac631)=>{const _0x5cf78f=a2_0xe95552,_0x7873ec=new JourneyPauseCommand(),_0xbad9f0=program[_0x5cf78f(0x1c9)](),_0x477cf1=await createTDXInstance(_0xbad9f0),_0x3c6e13=await _0x7873ec['run']({'options':{..._0xbad9f0,..._0x3ac631},'args':[_0x322918],'tdx':_0x477cf1});gracefulExit(_0x3c6e13);}),journeyCmd[a2_0xe95552(0x19d)]('resume\x20<name-or-path>')[a2_0xe95552(0x420)](a2_0xe95552(0x3f7))[a2_0xe95552(0x307)](async(_0x3f4c50,_0x3444cc)=>{const _0x2b98d4=a2_0xe95552,_0x117835=new JourneyResumeCommand(),_0x5a64d8=program[_0x2b98d4(0x1c9)](),_0x3e99de=await createTDXInstance(_0x5a64d8),_0x4f4001=await _0x117835[_0x2b98d4(0x30e)]({'options':{..._0x5a64d8,..._0x3444cc},'args':[_0x3f4c50],'tdx':_0x3e99de});gracefulExit(_0x4f4001);}),journeyCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x215))[a2_0xe95552(0x420)]('Export\x20journey(s)\x20as\x20YAML\x20files')[a2_0xe95552(0x41e)](a2_0xe95552(0x3ad),'Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')[a2_0xe95552(0x307)](async(_0x4d304f,_0x3118be)=>{const _0xf17edf=a2_0xe95552,_0x42dff5=new JourneyPullCommand(),_0x43500d=program[_0xf17edf(0x1c9)](),_0xfde702=await createTDXInstance(_0x43500d),_0x2b7f37=await _0x42dff5[_0xf17edf(0x30e)]({'options':{..._0x43500d,..._0x3118be},'args':_0x4d304f?[_0x4d304f]:[],'tdx':_0xfde702});gracefulExit(_0x2b7f37);}),journeyCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x2e6))[a2_0xe95552(0x420)](a2_0xe95552(0x2e2))[a2_0xe95552(0x307)](async(_0xbb4964,_0x577299)=>{const _0x3d1157=a2_0xe95552,_0x3c302a=new JourneyPushCommand(),_0x4bc093=program[_0x3d1157(0x1c9)](),_0x111ab1=await createTDXInstance(_0x4bc093),_0x401333=await _0x3c302a[_0x3d1157(0x30e)]({'options':{..._0x4bc093,..._0x577299},'args':_0xbb4964?[_0xbb4964]:[],'tdx':_0x111ab1});gracefulExit(_0x401333);}),journeyCmd['command'](a2_0xe95552(0x3b8))['description'](a2_0xe95552(0x292))[a2_0xe95552(0x307)](async(_0x200bf9,_0x401608)=>{const _0x3f47b6=a2_0xe95552,_0xe69bc1=new JourneyColumnsCommand(),_0x52030b=program['opts'](),_0x4b112b=await createTDXInstance(_0x52030b),_0x8bc7a0=await _0xe69bc1[_0x3f47b6(0x30e)]({'options':{..._0x52030b,..._0x401608},'args':[_0x200bf9],'tdx':_0x4b112b});gracefulExit(_0x8bc7a0);}),journeyCmd['command'](a2_0xe95552(0x369))[a2_0xe95552(0x420)](a2_0xe95552(0x3f0))[a2_0xe95552(0x307)](async(_0x5cd73e,_0x431b02)=>{const _0x7a719c=a2_0xe95552,_0x2efd68=new JourneyActivationsCommand(),_0x30494e=program[_0x7a719c(0x1c9)](),_0x31beb0=await createTDXInstance(_0x30494e),_0x37729e=await _0x2efd68[_0x7a719c(0x30e)]({'options':{..._0x30494e,..._0x431b02},'args':[_0x5cd73e],'tdx':_0x31beb0});gracefulExit(_0x37729e);}),journeyCmd[a2_0xe95552(0x19d)]('versions\x20<name-or-path>')[a2_0xe95552(0x420)](a2_0xe95552(0x37e))[a2_0xe95552(0x307)](async(_0x18f3db,_0x1c831f)=>{const _0x2ff002=new JourneyVersionsCommand(),_0x54608c=program['opts'](),_0x5a097d=await createTDXInstance(_0x54608c),_0x5edcc3=await _0x2ff002['run']({'options':{..._0x54608c,..._0x1c831f},'args':[_0x18f3db],'tdx':_0x5a097d});gracefulExit(_0x5edcc3);});const journeyVersionCmd=journeyCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x3a1))[a2_0xe95552(0x420)](a2_0xe95552(0x25f));journeyVersionCmd['command'](a2_0xe95552(0x2da))[a2_0xe95552(0x420)]('Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey')[a2_0xe95552(0x307)](async(_0x470aad,_0x355b0e)=>{const _0x5dca9c=a2_0xe95552,_0x207971=new JourneyVersionCreateCommand(),_0xd92a21=program[_0x5dca9c(0x1c9)](),_0x1ab56f=await createTDXInstance(_0xd92a21),_0x5af16d=await _0x207971['run']({'options':{..._0xd92a21,..._0x355b0e},'args':[_0x470aad],'tdx':_0x1ab56f});gracefulExit(_0x5af16d);}),journeyVersionCmd['command'](a2_0xe95552(0x287))[a2_0xe95552(0x420)](a2_0xe95552(0x19b))[a2_0xe95552(0x2be)](a2_0xe95552(0x29f),'Version\x20number\x20to\x20view')['action'](async(_0x5441dd,_0x41b6bb)=>{const _0x4665a8=new JourneyVersionViewCommand(),_0x483f1a=program['opts'](),_0x59dabd=await createTDXInstance(_0x483f1a),_0x40de32=await _0x4665a8['run']({'options':{..._0x483f1a,..._0x41b6bb},'args':[_0x5441dd],'tdx':_0x59dabd});gracefulExit(_0x40de32);}),journeyCmd['command']('validate\x20[target]')[a2_0xe95552(0x420)]('Validate\x20journey\x20YAML\x20files\x20locally')[a2_0xe95552(0x307)](async(_0x43529b,_0x4bf8b7)=>{const _0x348b9f=a2_0xe95552,_0x44ff00=new JourneyValidateCommand(),_0x3c20be=program[_0x348b9f(0x1c9)](),_0x2ee646=await createTDXInstance(_0x3c20be),_0x546771=await _0x44ff00[_0x348b9f(0x30e)]({'options':{..._0x3c20be,..._0x4bf8b7},'args':_0x43529b?[_0x43529b]:[],'tdx':_0x2ee646});gracefulExit(_0x546771);}),program['command'](a2_0xe95552(0x3be))[a2_0xe95552(0x420)]('List\x20journeys\x20(alias\x20for\x20journey\x20list)')['action'](journeyListAction);const agentSyncCmd=program[a2_0xe95552(0x19d)]('agent')[a2_0xe95552(0x420)](a2_0xe95552(0x2ee));agentSyncCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x310))[a2_0xe95552(0x420)](a2_0xe95552(0x394))[a2_0xe95552(0x41e)](a2_0xe95552(0x3b9),a2_0xe95552(0x285))[a2_0xe95552(0x41e)](a2_0xe95552(0x3da),'Overwrite\x20local\x20changes\x20without\x20confirmation')[a2_0xe95552(0x41e)](a2_0xe95552(0x43a),'Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)')['action'](async(_0xffa6ba,_0x289311,_0xcd9849)=>{const _0x4d1137=a2_0xe95552,_0x5811d8=new AgentPullCommand(),_0x8ee16b=program[_0x4d1137(0x1c9)](),_0x1d1f0b=await createTDXInstance(_0x8ee16b),_0x2d1d63=[];if(_0xffa6ba)_0x2d1d63['push'](_0xffa6ba);if(_0x289311)_0x2d1d63[_0x4d1137(0x3d3)](_0x289311);const _0x9a6142=await _0x5811d8[_0x4d1137(0x30e)]({'options':{..._0x8ee16b,..._0xcd9849},'args':_0x2d1d63,'tdx':_0x1d1f0b});gracefulExit(_0x9a6142);}),agentSyncCmd['command'](a2_0xe95552(0x30a))['description'](a2_0xe95552(0x358))['option'](a2_0xe95552(0x3da),'Push\x20without\x20confirmation')['action'](async(_0x1a0617,_0xfad1af)=>{const _0xee7917=a2_0xe95552,_0x3aae31=new AgentPushCommand(),_0x40bf3e=program[_0xee7917(0x1c9)](),_0x4d56a3=await createTDXInstance(_0x40bf3e),_0x11c30a=await _0x3aae31[_0xee7917(0x30e)]({'options':{..._0x40bf3e,..._0xfad1af},'args':_0x1a0617?[_0x1a0617]:[],'tdx':_0x4d56a3});gracefulExit(_0x11c30a);}),agentSyncCmd['command']('clone\x20[source]')[a2_0xe95552(0x420)](a2_0xe95552(0x433))[a2_0xe95552(0x41e)](a2_0xe95552(0x1ad),a2_0xe95552(0x252))['action'](async(_0x2cb276,_0x3489d1)=>{const _0x546d41=a2_0xe95552,_0xeb3c14=new AgentCloneCommand(),_0x2b01b9=program[_0x546d41(0x1c9)](),_0x35ab26=await createTDXInstance(_0x2b01b9),_0x4eeb9d=await _0xeb3c14[_0x546d41(0x30e)]({'options':{..._0x2b01b9,..._0x3489d1},'args':_0x2cb276?[_0x2cb276]:[],'tdx':_0x35ab26});gracefulExit(_0x4eeb9d);}),agentSyncCmd['command'](a2_0xe95552(0x3bb))[a2_0xe95552(0x420)](a2_0xe95552(0x294))[a2_0xe95552(0x41e)]('--name\x20<names>',a2_0xe95552(0x379))[a2_0xe95552(0x41e)](a2_0xe95552(0x2d8),'Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)')[a2_0xe95552(0x41e)]('--dry-run',a2_0xe95552(0x2e3))[a2_0xe95552(0x41e)]('--no-eval',a2_0xe95552(0x1ea))[a2_0xe95552(0x41e)](a2_0xe95552(0x365),a2_0xe95552(0x38c))[a2_0xe95552(0x307)](async(_0x8a896b,_0x4f0e5d)=>{const _0x1709be=a2_0xe95552,_0x5e3a3f=new AgentTestCommand(),_0x1449b8=program[_0x1709be(0x1c9)](),_0x2fa979=await createTDXInstance(_0x1449b8),_0x2775a3=await _0x5e3a3f[_0x1709be(0x30e)]({'options':{..._0x1449b8,..._0x4f0e5d},'args':_0x8a896b?[_0x8a896b]:[],'tdx':_0x2fa979});gracefulExit(_0x2775a3);}),agentSyncCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x255))['description']('List\x20agents\x20in\x20current\x20project')[a2_0xe95552(0x307)](llmAgentListAction),agentSyncCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x1ca))[a2_0xe95552(0x420)]('Show\x20agent\x20details')[a2_0xe95552(0x307)](async(_0x432694,_0x249fe1)=>{const _0x44da03=a2_0xe95552,_0x15d4ed=new LLMAgentShowCommand(),_0x32ee86=program[_0x44da03(0x1c9)](),_0x23558a=await createTDXInstance(_0x32ee86),_0x3179c7=await _0x15d4ed['run']({'options':{..._0x32ee86,..._0x249fe1},'args':[_0x432694],'tdx':_0x23558a});gracefulExit(_0x3179c7);}),agentSyncCmd[a2_0xe95552(0x19d)](a2_0xe95552(0x2de))[a2_0xe95552(0x420)](a2_0xe95552(0x36e))[a2_0xe95552(0x41e)](a2_0xe95552(0x3a3),a2_0xe95552(0x1de))[a2_0xe95552(0x41e)]('--model\x20<name>',a2_0xe95552(0x254),a2_0xe95552(0x308))['option']('--starter-message\x20<text>',a2_0xe95552(0x389))[a2_0xe95552(0x41e)](a2_0xe95552(0x332),'Maximum\x20tool\x20iterations\x20(default:\x204)','4')[a2_0xe95552(0x41e)](a2_0xe95552(0x1bb),a2_0xe95552(0x2cb),a2_0xe95552(0x3c9))[a2_0xe95552(0x307)](async(_0x1aa3a1,_0x552a44)=>{const _0x3b92c2=a2_0xe95552,_0x578de7=new LLMAgentCreateCommand(),_0x2c8537=program[_0x3b92c2(0x1c9)](),_0x25a9d5=await createTDXInstance(_0x2c8537),_0x5b4c2c=await _0x578de7[_0x3b92c2(0x30e)]({'options':{..._0x2c8537,..._0x552a44},'args':[_0x1aa3a1],'tdx':_0x25a9d5});gracefulExit(_0x5b4c2c);}),agentSyncCmd['command'](a2_0xe95552(0x1e5))[a2_0xe95552(0x420)](a2_0xe95552(0x1cb))[a2_0xe95552(0x41e)](a2_0xe95552(0x3ee),a2_0xe95552(0x30c))[a2_0xe95552(0x41e)]('--prompt\x20<text>',a2_0xe95552(0x35f))['option'](a2_0xe95552(0x436),'Agent\x20description')[a2_0xe95552(0x41e)]('--starter-message\x20<text>',a2_0xe95552(0x389))[a2_0xe95552(0x307)](async(_0x5d8d99,_0xbc75e1)=>{const _0x889e51=a2_0xe95552,_0x1632bf=new LLMAgentUpdateCommand(),_0x25c5aa=program[_0x889e51(0x1c9)](),_0x6d70ea=await createTDXInstance(_0x25c5aa),_0x1309ee=await _0x1632bf[_0x889e51(0x30e)]({'options':{..._0x25c5aa,..._0xbc75e1},'args':[_0x5d8d99],'tdx':_0x6d70ea});gracefulExit(_0x1309ee);}),agentSyncCmd['command'](a2_0xe95552(0x27e))[a2_0xe95552(0x420)]('Delete\x20an\x20agent')['action'](async(_0x3ae1f2,_0x23535f)=>{const _0x29bf84=new LLMAgentDeleteCommand(),_0x475f26=program['opts'](),_0x3fcdc1=await createTDXInstance(_0x475f26),_0x555503=await _0x29bf84['run']({'options':{..._0x475f26,..._0x23535f},'args':[_0x3ae1f2],'tdx':_0x3fcdc1});gracefulExit(_0x555503);}),program['command'](a2_0xe95552(0x2d2),{'hidden':!![]})[a2_0xe95552(0x307)](()=>{function _0x33a60c(_0x59ea2f,_0x59203f){const _0x1896b1=a2_0x1a55,_0xde3b66=[];for(const _0x293922 of _0x59ea2f[_0x1896b1(0x3e0)]){if(_0x293922[_0x1896b1(0x331)])continue;const _0x307dbc=_0x59203f?_0x59203f+'\x20'+_0x293922[_0x1896b1(0x2cd)]():_0x293922[_0x1896b1(0x2cd)](),_0x5c4414=_0x307dbc[_0x1896b1(0x322)]('\x20')[0x0],_0x40557f=COMMAND_CATEGORIES[_0x1896b1(0x227)](_0x3071fc=>_0x3071fc[_0x1896b1(0x3e0)][_0x1896b1(0x334)](_0x5c4414)),_0x5c6eb5=_0x40557f?.[_0x1896b1(0x2cd)]??'';if(_0x293922[_0x1896b1(0x3e0)]['length']>0x0)_0xde3b66['push'](..._0x33a60c(_0x293922,_0x307dbc));else{const _0x3f31e2=(_0x293922[_0x1896b1(0x203)]||[])[_0x1896b1(0x202)](_0x41e96b=>{const _0x5cfd27=_0x1896b1,_0x4513fb=_0x41e96b['variadic']?_0x41e96b[_0x5cfd27(0x2cd)]()+_0x5cfd27(0x1e7):_0x41e96b[_0x5cfd27(0x2cd)]();return _0x41e96b['required']?'<'+_0x4513fb+'>':'['+_0x4513fb+']';})['join']('\x20'),_0x5edf6f=_0x293922[_0x1896b1(0x43e)]['filter'](_0x54742=>!_0x54742[_0x1896b1(0x414)]&&_0x54742[_0x1896b1(0x42b)]!==_0x1896b1(0x3de))[_0x1896b1(0x202)](_0xdc1f79=>({'flags':_0xdc1f79[_0x1896b1(0x355)],'description':_0xdc1f79['description']}));_0xde3b66[_0x1896b1(0x3d3)]({'name':_0x307dbc,'description':_0x293922[_0x1896b1(0x420)](),'group':_0x5c6eb5,'usage':_0x3f31e2,'options':_0x5edf6f});}}return _0xde3b66;}console['log'](JSON['stringify'](_0x33a60c(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x557560=a2_0xe95552,_0x16be65=!process[_0x557560(0x32b)][_0x557560(0x32e)](0x2)[_0x557560(0x3d9)];showBriefHelp=_0x16be65,program[_0x557560(0x205)](process['argv']);_0x16be65&&program[_0x557560(0x261)]();const _0x762a4a=process['argv'][0x2]===_0x557560(0x3af);if(process[_0x557560(0x387)][_0x557560(0x3d0)]&&process['argv'][_0x557560(0x3d9)]>0x2&&!isDevVersion()&&!_0x762a4a){const _0x5112ea=loadReleaseChannel();checkForUpdate(currentVersion,_0x5112ea)[_0x557560(0x3e3)](_0x225813=>{_0x225813&&displayUpdateNotification(_0x225813);})['catch'](()=>{});}}
|
|
1
|
+
const a2_0x2830ac=a2_0xc295;(function(_0x513b1a,_0xb2ef0){const _0x6951b=a2_0xc295,_0x1a3044=_0x513b1a();while(!![]){try{const _0x5d1814=-parseInt(_0x6951b(0x33a))/0x1*(-parseInt(_0x6951b(0x239))/0x2)+-parseInt(_0x6951b(0x34c))/0x3*(parseInt(_0x6951b(0x205))/0x4)+-parseInt(_0x6951b(0x2f1))/0x5+-parseInt(_0x6951b(0x31d))/0x6+-parseInt(_0x6951b(0xbc))/0x7*(parseInt(_0x6951b(0x2d6))/0x8)+-parseInt(_0x6951b(0x258))/0x9+parseInt(_0x6951b(0x20f))/0xa*(parseInt(_0x6951b(0x1b5))/0xb);if(_0x5d1814===_0xb2ef0)break;else _0x1a3044['push'](_0x1a3044['shift']());}catch(_0x3c2e25){_0x1a3044['push'](_0x1a3044['shift']());}}}(a2_0x6a14,0x53282));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';function a2_0x6a14(){const _0x17cbeb=['includes','Delete\x20a\x20campaign','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','list\x20[project]','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Pull\x20specific\x20campaign\x20by\x20name','--tsv','\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','--engine-version\x20<version>','requiredOption','map','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Show\x20what\x20would\x20be\x20written\x20without\x20writing','--new','aliases','Template\x20name','\x20(resolved\x20to\x20','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','grapesjs','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','use\x20[resource]\x20[value]','tdx','--result\x20<target>','908235FxDaou','campaigns\x20[pattern]','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Show\x20only\x20master\x20table\x20validation','status','Clear\x20workflow\x20project\x20context','-f,\x20--file\x20<path>','-o,\x20--output\x20<dir>','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','injectIntoOptions','--yes','information_schema','command','journeys\x20[pattern]','Ending\x20offset\x20(default:\x2020)','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','always-on-campaigns\x20[pattern]','update\x20<segment_name>','--attributes\x20<json>','New\x20workspace\x20name','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','--agent\x20<ref>','Resume\x20a\x20paused\x20campaign','argument','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Workspace\x20name','--kind\x20<type>','--json-columns\x20<cols>','pull\x20[project]\x20[agent-name]','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','--to\x20<timestamp>','-y,\x20--yes','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Pause\x20a\x20running\x20journey','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','pull\x20[workspace-name]','Show\x20segment\x20schema\x20(column\x20types)','Show\x20schedule\x20execution\x20history','list','workflows\x20[project]','--from-task\x20<task>','table','3952830bNyzbQ','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--output\x20<file>','YAML\x20file\x20path\x20for\x20unpushed\x20segment','debug','Start\x20time\x20filter\x20(ISO\x208601\x20format)','-o,\x20--output\x20<folder>','--llm-project\x20<name>','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','attempt','create\x20<name-or-path>','show\x20[name]','--enriched','alias','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','List\x20activations\x20for\x20a\x20journey','segment','--prompt\x20<text>','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','flatMap','Create\x20a\x20scheduled\x20query','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','then','List\x20agents\x20in\x20current\x20project','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Database\x20management\x20commands','GET','Name\x20for\x20the\x20new\x20project\x20(required)','11fZjaUn','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Finish\x20an\x20always-on\x20campaign','log','argumentTerm','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','--session\x20<id>','--cron\x20<expression>','preview\x20[name]','addHelpText','slice','sessions\x20[project]','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','template','-d,\x20--database\x20<database>','Request\x20body\x20as\x20JSON\x20string','get','--name\x20<name>','3Njcnbo','Parent\x20segment\x20description','create\x20[name]','--job-type\x20<type>','Open\x20journey\x20in\x20web\x20browser','Output\x20directory','Push\x20without\x20confirmation','mcp','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','desc\x20[segment_name]','Master\x20database\x20name','chat\x20[message...]','engage_workspace','--description\x20<desc>','Behaviors\x20as\x20JSON\x20string','traffic\x20<name-or-path>','long','--name\x20<new_name>','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Remove\x20API\x20key\x20from\x20system\x20keychain','show\x20<name>','\x0aGlobal\x20Options:\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20clear\x20(clears\x20default\x20profile\x20if\x20not\x20specified)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Clear\x20API\x20key\x20for\x20default\x20profile\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20--profile\x20prod\x20\x20#\x20Clear\x20API\x20key\x20for\x20\x27prod\x27\x20profile\x0a','Query\x20engine\x20version','gitRevision','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Clear\x20session\x20context','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Limit\x20number\x20of\x20rows','split','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','--last','Show\x20email\x20template\x20details','query\x20[sql]','show\x20<folder_ref>','Delay\x20in\x20seconds\x20before\x20execution','run','LLM\x20agent\x20management','Data\x20connection\x20management\x20(for\x20activations/exports)','claude\x20[args...]','connection','--version\x20<number>','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','--model\x20<name>','DEBUG','noColor','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Email\x20subject\x20template','Read\x20SQL\x20query\x20from\x20file','List\x20email\x20senders','Add\x20behaviors\x20from\x20JSON\x20file','INFO','Attributes\x20from\x20JSON\x20file','Submit\x20a\x20job','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','Setup\x20API\x20key\x20authentication\x20interactively','use\x20<project-name>','\x20-\x20built\x20','init\x20[name]','length','hook','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','Delete\x20an\x20agent','required','unset\x20<resource>','--num\x20<1-10>','chats','folder','delete\x20<name-or-id>','Interactive\x20chat\x20selector','buildTime','--attributes-file\x20<file>','--add-attributes\x20<json>','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Overwrite\x20local\x20changes\x20without\x20confirmation','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','Maximum\x20tool\x20iterations\x20(default:\x204)','49SQKzoE','Check\x20for\x20updates\x20without\x20installing','--max-depth\x20<depth>','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','--no-color','hidden','models','JSON\x20columns\x20for\x20connector\x20(comma-separated)','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','-d,\x20--database\x20<db>','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','-f,\x20--force','--site\x20<site>','Make\x20segment\x20invisible\x20(default:\x20visible)','--trace','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','--to\x20<n>','run\x20<name>','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Pause\x20an\x20always-on\x20campaign','duplicate\x20<name-or-id>','show\x20<name-or-id>','action','clear','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','--jsonl','pull\x20[workspace]','Move\x20to\x20folder','option','update\x20<name>','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','filter','Scheduled\x20query\x20management\x20commands','Launch\x20an\x20always-on\x20campaign','_list-commands','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','--start-at\x20<datetime>','Kill\x20a\x20job','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Include\x20raw\x20history\x20data\x20in\x20output','Email\x20template\x20management','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','--rule-file\x20<file>','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','--behaviors\x20<json>','setup','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','Campaign\x20type\x20(email\x20or\x20push)','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Campaign\x20description','Show\x20journey\x20details','-u,\x20--use','test\x20[path]','Job\x20management\x20commands','resume\x20<name-or-id>','parents\x20[pattern]','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','--starter-message\x20<text>','result\x20<job-id>','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','CDP\x20segment\x20management\x20commands','us01','--include-subtasks','restore\x20<folder>','--follow','Create\x20a\x20new\x20campaign','--params\x20<json>','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','--limit\x20<number>','Email\x20sender\x20ID\x20for\x20delivery','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','--in\x20<database>','Workflow\x20project\x20management','Create\x20a\x20new\x20always-on\x20campaign','Delete\x20a\x20workspace','configureHelp','after','Updated\x20description','--no-eval','Export\x20journey(s)\x20as\x20YAML\x20files','Starting\x20offset\x20(default:\x200)','Workflow\x20session\x20management','accessToken','--dry-run','--type\x20<api_type>','Parent\x20segment\x20management',',\x20version\x20','Show\x20all\x20files\x20including\x20valid\x20ones','validate\x20[name]','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Table\x20management\x20commands','Personalization\x20service\x20management','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','tsv','[DEPRECATED]\x20Segment\x20folder\x20management','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','--name\x20<new-name>','Pause\x20a\x20campaign','INVALID_ARGUMENT','New\x20campaign\x20name','workflow','Run\x20tests\x20for\x20an\x20LLM\x20agent','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Pull\x20specific\x20revision\x20(default:\x20latest)','catch','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','--format\x20<format>','--from\x20<timestamp>','Filtering\x20rule\x20from\x20JSON\x20file','-c,\x20--continue','User\x20management\x20commands','Workspace\x20management','outputHelp','stderr','--email-sender-id\x20<id>','name','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','--interval\x20<range>','Create\x20a\x20new\x20profile','optionTerm','Starter\x20message','description','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','-H,\x20--header\x20<header>','parent','\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','Update\x20a\x20workspace','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','Run\x20specific\x20tests\x20(comma-separated)','End\x20time\x20filter\x20(ISO\x208601\x20format)','Pull\x20specific\x20template\x20by\x20name','--tags\x20<tags>','--workspace\x20<name>','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','view\x20<name-or-path>','Preview\x20without\x20creating\x20the\x20project','delivery','Task\x20name\x20for\x20logs\x20action','--name\x20<names>','profile','isTTY','summary','delete\x20<project-name-or-id>','preAction','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','\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','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','--limit\x20<n>','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','System\x20prompt/instructions\x20(default:\x20empty)','Create\x20segment\x20folder','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','create','finish\x20<name-or-id>','-p,\x20--profile\x20<name>','-w,\x20--web','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','attempt:','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','show\x20<agent-name>','Unknown\x20action:\x20','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','stringify','update\x20<name-or-id>','columns\x20<name-or-path>','describe\x20[table]','Result\x20output\x20destination\x20URL','--rule\x20<json>','Output\x20as\x20JSON','project','delete\x20<agent-name>','Show\x20job\x20details','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','--segment\x20<path>','--retry-limit\x20<0~32>','List\x20all\x20available\x20profiles','--status\x20<status>','Create\x20a\x20workspace','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','--reeval','Parent\x20folder\x20name\x20for\x20nested\x20folders','--schedule-option\x20<value>','Pull\x20child\x20segments\x20to\x20YAML\x20files','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','--session-time\x20<time>','push\x20[source-dir]','Cron\x20expression\x20for\x20scheduling','tables\x20[pattern]','Run\x20a\x20scheduled\x20query\x20immediately','join','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','-n,\x20--name\x20<name>','pull\x20[parent_or_file]','--customer-group\x20<json>','Alias\x20for\x20--database\x20(natural\x20language\x20style)','users','logLevel','Workflow\x20(Digdag)\x20management\x20commands','Database\x20name\x20(default:\x20information_schema)','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','RT\x202.0\x20configuration\x20management','Enable\x20UTM\x20tracking','variadic','--subject\x20<subject>','Preview\x20operation\x20without\x20executing','clone\x20[source-dir]','--name\x20<text>','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','launch\x20<name-or-id>','--include-retried','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Database\x20name\x20(required)','Show\x20journey\x20table\x20column-to-step\x20mapping','fields\x20[parent_name]','pause\x20<name-or-path>','_hidden','Query\x20type:\x20trino\x20or\x20hive','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Update\x20a\x20campaign','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','createAsync','--resume-from\x20<task>','Workflow\x20attempt\x20management','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','--timezone\x20<tz>','Version\x20number\x20to\x20view','parse','Show\x20journey\x20statistics','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','Read\x20query\x20from\x20file','Usage:\x20','--master','--priority\x20<-2~2>','upgrade','agents\x20[pattern]','Updated\x20timezone','parent-segment','senders\x20[pattern]','--database\x20<db>','33gWeYPw','--full','agent','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Retry\x20limit\x20(0\x20to\x2032)','colorFn','--html\x20<html>','api\x20[endpoint]','Delete\x20a\x20scheduled\x20query','error','\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','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','replace','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','--no-proxy','Plaintext\x20template\x20content','Get\x20job\x20results','Generate\x20test\x20conversations\x20without\x20evaluation','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','delete\x20<name>','Customer\x20group\x20as\x20JSON\x20string','backup\x20<name>','projects\x20[pattern]','claude-4.5-sonnet','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','commands','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','create\x20<name>','Delete\x20an\x20LLM\x20project','argv','-a,\x20--agent\x20<name>','preview\x20[file]','secrets','view\x20[name]','--folder\x20<name>','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','[EXPERIMENTAL]\x20Show\x20chat\x20log','Show\x20schedule\x20details','subcommandTerm','--behaviors-file\x20<file>','Workspace\x20name\x20(required)','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','commandUsage','flags','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','usage','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Folder\x20description','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','parent_segment','validate\x20[target]','set\x20<key=value>','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','--json','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Customer\x20group\x20from\x20JSON\x20file','Validate\x20campaign\x20YAML\x20files\x20locally','info\x20[segment_name]','run\x20[workflow]','--description\x20<text>','download\x20<project-name>\x20[output-dir]','directory','Output\x20as\x20JSON\x20Lines','always-on-campaign','desc\x20[name]','Read\x20HTML\x20template\x20from\x20file','submit\x20[query]','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Describe\x20table\x20schema','Show\x20always-on\x20campaign\x20details','history\x20<name>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','workspace','New\x20template\x20name','Trino\x20catalog\x20(default:\x20td)','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','--system-prompt\x20<text>','list\x20[pattern]','beefree','1116856aTEZTv','Parse\x20and\x20validate\x20without\x20executing','Skip\x20confirmation\x20prompts','pause\x20<name-or-id>','jsonl','activations\x20<segment_name>','Pull\x20campaigns\x20to\x20YAML\x20files','statusline','llm','-o,\x20--output\x20<file>','7238670UifPBJ','Arguments:','--max-tool-iterations\x20<n>','--reason\x20<text>','workspaces\x20[pattern]','--clear','json','optionDescription','Update\x20an\x20always-on\x20campaign','Skip\x20confirmation\x20prompt','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','registeredArguments','Campaign\x20name','run\x20[name]','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','engage','argumentDescription','attempts\x20[project]','Validate\x20journey\x20YAML\x20files\x20locally','Campaign\x20management','Update\x20an\x20email\x20template','Timezone\x20for\x20cron\x20(default:\x20UTC)','List\x20jobs','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','forEach','list\x20[name]','allowExcessArguments','stats\x20<name-or-path>','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Workspace\x20description','-v,\x20--verbose','logs','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','List\x20secret\x20keys\x20for\x20a\x20project','Include\x20retried\x20attempts\x20(for\x20list)','Directory\x20does\x20not\x20exist:\x20','New\x20segment\x20name','--add-behaviors\x20<json>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','folders\x20<parent_name>','--stream','24472VbwDdE','trace','Follow/watch\x20timeline\x20for\x20running\x20attempts','Resume\x20a\x20paused\x20journey','Always-on\x20campaign\x20management','--html-file\x20<path>','create\x20<parent_name>\x20<folder_name>','List\x20journeys\x20(alias\x20for\x20journey\x20list)','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Invalid\x20editor\x20type:\x20','--skip-validation','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','--add-attributes-file\x20<file>','Change\x20to\x20directory\x20before\x20executing\x20command','--to\x20<date>','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','session','repeat','--in\x20<db>','CDP\x20Journey\x20Orchestration\x20commands','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','--add-behaviors-file\x20<file>','schema\x20<type>','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','use\x20[name]','apiKey','--include-history','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Show\x20connection\x20details\x20by\x20name','4882491bhIOTP','Show\x20master\x20table\x20sample\x20data','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','--limit\x20<rows>','HTML\x20template\x20content','push\x20[target]','sql\x20[name]','retry\x20<session-id>','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','...','subcommandDescription','Show\x20workspace\x20details','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','List\x20journeys\x20in\x20current\x20context','pull\x20<project>\x20[target-dir]','activations\x20<name-or-path>','[attempt-id]','--invisible','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Attempt\x20ID','padEnd','connections','Update\x20an\x20existing\x20agent','Show\x20agent\x20details','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','Login\x20via\x20OAuth\x20(dev\x20sites\x20only)','--table','\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','validate\x20[file]','-r,\x20--recursive','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','--attribute\x20[name]','--enable-utm-tracking','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','--from\x20<n>','Attributes\x20as\x20JSON\x20string','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','set','--color','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','user','--behavior\x20[name]','help','LLM\x20project\x20to\x20use\x20(overrides\x20context)','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','-1d','\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','fields\x20[name]','job','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','retry','--default','--revision\x20<revision>','--catalog\x20<catalog>','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Job\x20priority\x20(-2\x20to\x202)','Journey\x20version\x20management','--database\x20<name>','use\x20[project]','Output\x20folder\x20(default:\x20{project_name}.llm)','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Set\x20a\x20profile\x20configuration\x20value','--session-id\x20<id>','segments\x20[path]','use\x20<name>','show\x20<job-id>','Filtering\x20rule\x20as\x20JSON\x20string','format','--verbose','--customer-group-file\x20<file>','--plaintext\x20<text>','Output\x20file\x20path','List\x20all\x20data\x20connections','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','database','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','--from\x20<date>','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','set\x20<args...>','pull\x20[name]','--next','--result\x20<url>','Reason\x20for\x20killing\x20the\x20attempt','--debug','Behaviors\x20from\x20JSON\x20file','Path\x20is\x20not\x20a\x20directory:\x20','options','List\x20available\x20connector\x20types','--delay\x20<seconds>','chdir','Duplicate\x20an\x20always-on\x20campaign','trino','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','--delete','Include\x20retried\x20attempts','--temperature\x20<n>','opts','--method\x20<pm>','Authentication\x20management','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Open\x20segment\x20in\x20web\x20browser','0.7','Agent\x20prompt/instructions','isArray','Resume\x20a\x20conversation\x20(shows\x20selector)','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','tasks','push','create\x20<segment_name>','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','--chat-id\x20<id>','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Skip\x20validation\x20of\x20.dig\x20files','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Timezone\x20(e.g.,\x20America/Los_Angeles)','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','view\x20[segment_name]','list\x20[path]','346768tvwqyD','--type\x20<type>','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project'];a2_0x6a14=function(){return _0x17cbeb;};return a2_0x6a14();}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[a2_0x2830ac(0x1d3)]['includes']('--version')){let versionOutput='tdx\x20'+currentVersion;buildInfo[a2_0x2830ac(0x85)]&&!currentVersion[a2_0x2830ac(0x2d9)](buildInfo[a2_0x2830ac(0x85)])&&(versionOutput+='\x20('+buildInfo[a2_0x2830ac(0x85)]+')'),buildInfo['buildTime']&&(versionOutput+=a2_0x2830ac(0xa7)+buildInfo[a2_0x2830ac(0xb5)]),console['log'](versionOutput),process['exit'](0x0);}const program=new Command();export function mergeCommandOptions(_0x474772,_0x33b0e9){const _0x1489ee={..._0x474772};for(const [_0x426eb8,_0x3af39e]of Object['entries'](_0x33b0e9)){_0x3af39e!==undefined&&(_0x1489ee[_0x426eb8]=_0x3af39e);}return _0x1489ee;}let showBriefHelp=![],description='AI-native\x20CLI\x20for\x20Treasure\x20Data';buildInfo[a2_0x2830ac(0x85)]&&!currentVersion[a2_0x2830ac(0x2d9)](buildInfo[a2_0x2830ac(0x85)])?description+=a2_0x2830ac(0x114)+currentVersion+'\x20('+buildInfo[a2_0x2830ac(0x85)]+')':description+=a2_0x2830ac(0x114)+currentVersion;program[a2_0x2830ac(0x131)](a2_0x2830ac(0x2ef))[a2_0x2830ac(0x137)](description),program[a2_0x2830ac(0xd9)]('-C,\x20--directory\x20<path>',a2_0x2830ac(0x246))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x15b),a2_0x2830ac(0x2d3))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xc9),a2_0x2830ac(0x17a),a2_0x2830ac(0xfb))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x128),a2_0x2830ac(0x1e4))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x273),'Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1eb),a2_0x2830ac(0x261))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xd6),a2_0x2830ac(0x175))['option'](a2_0x2830ac(0x2df),a2_0x2830ac(0x193))['option'](a2_0x2830ac(0x320),'Save\x20output\x20to\x20file')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x102),'Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x280),a2_0x2830ac(0x292),![])['option'](a2_0x2830ac(0xc0),a2_0x2830ac(0x157),![])[a2_0x2830ac(0xd9)](a2_0x2830ac(0x22d),'Enable\x20verbose\x20logging',![])['option'](a2_0x2830ac(0x2b1),a2_0x2830ac(0x80))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xcb),a2_0x2830ac(0x2a6))[a2_0x2830ac(0xd9)]('--timeout\x20<seconds>','Set\x20operation\x20timeout\x20in\x20seconds','30')[a2_0x2830ac(0xd9)]('--dry-run',a2_0x2830ac(0x190),![])['option'](a2_0x2830ac(0x312),a2_0x2830ac(0x207),![])[a2_0x2830ac(0xd9)](a2_0x2830ac(0x340),a2_0x2830ac(0xec))[a2_0x2830ac(0xd9)]('--parent-segment\x20<name>',a2_0x2830ac(0x1aa))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x325),a2_0x2830ac(0x285)),program[a2_0x2830ac(0x109)]({'formatHelp':(_0x49e6f1,_0x2d735d)=>{const _0x43d93e=a2_0x2830ac,_0x34449d=_0x2d735d['padWidth'](_0x49e6f1,_0x2d735d),_0x6b9575=0x2,_0x34bdbb=0x2;function _0x4109e5(_0x9517bc){const _0x1d1f9b=a2_0xc295,_0xc85405=_0x9517bc;return!!(_0xc85405[_0x1d1f9b(0x19d)]||_0xc85405[_0x1d1f9b(0xc1)]);}function _0x1a9b2f(_0xaa2adf,_0x4bd74a){const _0x27ac76=a2_0xc295;if(_0x4bd74a){const _0x3c9cc6=''+_0xaa2adf[_0x27ac76(0x26d)](_0x34449d+_0x34bdbb)+_0x4bd74a;return _0x3c9cc6;}return _0xaa2adf;}function _0x4deedf(_0x1be062){const _0x5393de=a2_0xc295;return _0x1be062[_0x5393de(0x180)]('\x0a')[_0x5393de(0x1c2)](/^/gm,'\x20'[_0x5393de(0x24b)](_0x6b9575));}const _0x4747e3=[];_0x4747e3[_0x43d93e(0x2c9)](_0x43d93e(0x1ac)+_0x2d735d[_0x43d93e(0x1e0)](_0x49e6f1));const _0x45384b=_0x2d735d['commandDescription'](_0x49e6f1);_0x45384b&&(_0x4747e3[_0x43d93e(0x2c9)](''),_0x4747e3[_0x43d93e(0x2c9)](_0x45384b));const _0x19f11f=_0x49e6f1[_0x43d93e(0x1cf)][_0x43d93e(0xdc)](_0x42211b=>!_0x4109e5(_0x42211b));if(_0x19f11f[_0x43d93e(0xa9)]>0x0){if(_0x49e6f1[_0x43d93e(0x131)]()===_0x43d93e(0x2ef)){const _0x27b3bd=_0x49e6f1[_0x43d93e(0x2be)](),_0x5e9ccb=!_0x27b3bd[_0x43d93e(0x9a)]&&process['stdout']['isTTY'],_0x2cefc6=COMMAND_CATEGORIES,_0x27abb2=(_0x21464b,_0x2d08f4)=>_0x5e9ccb?_0x2d08f4(_0x21464b):_0x21464b,_0x4eb31a=new Map();_0x19f11f[_0x43d93e(0x227)](_0xf7b9de=>{const _0x3bdef7=_0x43d93e;_0x4eb31a[_0x3bdef7(0x27f)](_0xf7b9de[_0x3bdef7(0x131)](),_0xf7b9de);}),_0x2cefc6['forEach'](_0x5da278=>{const _0xfec4c3=_0x43d93e,_0x569228=_0x5da278['commands'][_0xfec4c3(0x331)](_0x2ed106=>_0x4eb31a[_0xfec4c3(0x34a)](_0x2ed106)??[]);if(_0x569228['length']>0x0){_0x4747e3[_0xfec4c3(0x2c9)](''),_0x4747e3[_0xfec4c3(0x2c9)](_0x27abb2(_0x5da278[_0xfec4c3(0x131)]+':',_0x5da278[_0xfec4c3(0x1bb)]));const _0xc1af85=_0x569228[_0xfec4c3(0x2e3)](_0x339a92=>{const _0x1f1e00=_0xfec4c3,_0x2d1561=_0x2d735d[_0x1f1e00(0x1dc)](_0x339a92),_0x5e9a16=_0x2d735d[_0x1f1e00(0x263)](_0x339a92);return _0x1a9b2f(_0x2d1561,_0x5e9a16);});_0x4747e3['push'](_0x4deedf(_0xc1af85));}}),_0x4747e3[_0x43d93e(0x2c9)](''),_0x4747e3[_0x43d93e(0x2c9)](_0x43d93e(0xb8));}else{const _0x4f440e=_0x19f11f[_0x43d93e(0x2e3)](_0x77baa9=>{const _0x23904e=_0x43d93e,_0x296c3e=_0x2d735d[_0x23904e(0x1dc)](_0x77baa9),_0x24021f=_0x2d735d[_0x23904e(0x263)](_0x77baa9);return _0x1a9b2f(_0x296c3e,_0x24021f);});_0x4747e3[_0x43d93e(0x2c9)](''),_0x4747e3[_0x43d93e(0x2c9)]('Commands:'),_0x4747e3[_0x43d93e(0x2c9)](_0x4deedf(_0x4f440e));}}if(showBriefHelp&&_0x49e6f1[_0x43d93e(0x131)]()===_0x43d93e(0x2ef))_0x4747e3[_0x43d93e(0x2c9)](''),_0x4747e3[_0x43d93e(0x2c9)](_0x43d93e(0xac));else{const _0x5ed9e8=_0x49e6f1[_0x43d93e(0x2b4)][_0x43d93e(0xdc)](_0x8d41d7=>!_0x4109e5(_0x8d41d7));if(_0x5ed9e8[_0x43d93e(0xa9)]>0x0){const _0x19cdc2=_0x5ed9e8[_0x43d93e(0x2e3)](_0x1d0c8a=>{const _0x289572=_0x43d93e,_0x559c69=_0x2d735d[_0x289572(0x135)](_0x1d0c8a),_0x38ebf2=_0x2d735d[_0x289572(0x216)](_0x1d0c8a);return _0x1a9b2f(_0x559c69,_0x38ebf2);});_0x4747e3[_0x43d93e(0x2c9)](''),_0x4747e3[_0x43d93e(0x2c9)]('Options:'),_0x4747e3[_0x43d93e(0x2c9)](_0x4deedf(_0x19cdc2));}}const _0x56db27=(_0x49e6f1[_0x43d93e(0x21a)]||[])['filter'](_0x500b67=>!_0x4109e5(_0x500b67));if(_0x56db27[_0x43d93e(0xa9)]>0x0){const _0x543faf=_0x56db27[_0x43d93e(0x2e3)](_0x464118=>{const _0x4f4100=_0x43d93e,_0xfe1a9f=_0x2d735d[_0x4f4100(0x33e)](_0x464118),_0x1e1734=_0x2d735d[_0x4f4100(0x21f)](_0x464118);return _0x1a9b2f(_0xfe1a9f,_0x1e1734);});_0x4747e3['push'](''),_0x4747e3[_0x43d93e(0x2c9)](_0x43d93e(0x210)),_0x4747e3[_0x43d93e(0x2c9)](_0x4deedf(_0x543faf));}return _0x4747e3[_0x43d93e(0x180)]('\x0a')+'\x0a';},'subcommandTerm':_0xd70fa5=>{const _0x4daa76=a2_0x2830ac,_0x55cd18=(_0xd70fa5[_0x4daa76(0x21a)]||[])[_0x4daa76(0x2e3)](_0x27bb5d=>_0x27bb5d[_0x4daa76(0xae)]?'<'+_0x27bb5d['name']()+'>':'['+_0x27bb5d[_0x4daa76(0x131)]()+']')[_0x4daa76(0x180)]('\x20'),_0x333c6b=_0xd70fa5[_0x4daa76(0x2e8)](),_0x4f99fd=_0x333c6b[_0x4daa76(0xa9)]>0x0?_0xd70fa5['name']()+',\x20'+_0x333c6b[_0x4daa76(0x180)](',\x20'):_0xd70fa5[_0x4daa76(0x131)]();return _0x55cd18?_0x4f99fd+'\x20'+_0x55cd18:_0x4f99fd;}}),program[a2_0x2830ac(0xaa)](a2_0x2830ac(0x14f),_0xf5cca6=>{const _0x5053d3=a2_0x2830ac,_0x358cdf=_0xf5cca6[_0x5053d3(0x2be)]();if(_0x358cdf['directory']){const _0x23f434=resolve(_0x358cdf[_0x5053d3(0x1f3)]),_0x3335de=_0x23f434!==_0x358cdf[_0x5053d3(0x1f3)]?_0x5053d3(0x2ea)+_0x23f434+')':'';if(!existsSync(_0x23f434))throw new SDKError(ErrorCode[_0x5053d3(0x120)],_0x5053d3(0x233)+_0x358cdf[_0x5053d3(0x1f3)]+_0x3335de,undefined,{'helpText':_0x5053d3(0x1e6)});const _0x3e749e=statSync(_0x23f434);if(!_0x3e749e['isDirectory']())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x5053d3(0x2b3)+_0x358cdf[_0x5053d3(0x1f3)]+_0x3335de,undefined,{'helpText':_0x5053d3(0x19f)});process[_0x5053d3(0x2b7)](_0x23f434);}if(!_0x358cdf[_0x5053d3(0x29f)]){if(_0x358cdf[_0x5053d3(0x31c)])_0x358cdf[_0x5053d3(0x29f)]='table';else{if(_0x358cdf[_0x5053d3(0x215)])_0x358cdf[_0x5053d3(0x29f)]='json';else{if(_0x358cdf[_0x5053d3(0x209)])_0x358cdf[_0x5053d3(0x29f)]=_0x5053d3(0x209);else _0x358cdf['tsv']&&(_0x358cdf[_0x5053d3(0x29f)]=_0x5053d3(0x11b));}}}if(_0x358cdf[_0x5053d3(0x23a)])_0x358cdf[_0x5053d3(0x188)]=LogLevel['TRACE'];else{if(_0x358cdf[_0x5053d3(0x322)])_0x358cdf[_0x5053d3(0x188)]=LogLevel[_0x5053d3(0x99)];else _0x358cdf[_0x5053d3(0x188)]===undefined&&(_0x358cdf[_0x5053d3(0x188)]=LogLevel[_0x5053d3(0xa0)]);}});async function createTDXInstance(_0x3d802f){const _0x57557d=a2_0x2830ac,_0x362728=await GlobalContext[_0x57557d(0x1a2)](_0x3d802f);return _0x362728[_0x57557d(0x2fa)](_0x3d802f),TDX['create']({'site':_0x362728['site'],'apiKey':_0x362728[_0x57557d(0x253)],'accessToken':_0x362728[_0x57557d(0x110)],'logLevel':_0x362728[_0x57557d(0x188)],'profile':_0x362728[_0x57557d(0x14b)]});}const databaseCmd=program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x2a8))[a2_0x2830ac(0x32b)]('db')[a2_0x2830ac(0x137)](a2_0x2830ac(0x337)),databaseListAction=async(_0x16395e,_0x1843a5)=>{const _0x1bc609=a2_0x2830ac,_0x792c2e=new DatabasesCommand(),_0x2434ba=program[_0x1bc609(0x2be)](),_0x27a4b8=await createTDXInstance(_0x2434ba),_0x341e3f=await _0x792c2e['run']({'options':{..._0x2434ba,..._0x1843a5},'args':_0x16395e?[_0x16395e]:[],'tdx':_0x27a4b8});gracefulExit(_0x341e3f);};databaseCmd[a2_0x2830ac(0x2fd)]('list\x20[pattern]')['description']('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')['action'](databaseListAction),program['command']('databases\x20[pattern]',{'hidden':!![]})[a2_0x2830ac(0x137)](a2_0x2830ac(0x1b9))[a2_0x2830ac(0xd3)](databaseListAction),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x79))[a2_0x2830ac(0x137)](a2_0x2830ac(0x30a))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x306),a2_0x2830ac(0x9b))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2e7),'Start\x20a\x20new\x20chat\x20session')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2cc),a2_0x2830ac(0x230))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x238),a2_0x2830ac(0x2ab))['action'](async(_0x476c1a,_0x3a861d)=>{const _0x4a7afe=a2_0x2830ac,_0x3f245a=program[_0x4a7afe(0x2be)](),_0x45de32=await createTDXInstance(_0x3f245a);if(_0x476c1a[0x0]===_0x4a7afe(0x159)){const _0x446fae=new ChatCreateCommand();gracefulExit(await _0x446fae['run']({'options':{..._0x3f245a,..._0x3a861d},'args':_0x476c1a[_0x4a7afe(0x344)](0x1),'tdx':_0x45de32}));return;}const _0x45f4c7=new ChatCommand(),_0x269be5=await _0x45f4c7[_0x4a7afe(0x91)]({'options':{..._0x3f245a,..._0x3a861d},'args':_0x476c1a,'tdx':_0x45de32});gracefulExit(_0x269be5);});const apiCmd=program['command'](a2_0x2830ac(0x1bd))[a2_0x2830ac(0x14d)](a2_0x2830ac(0xe6))[a2_0x2830ac(0x343)]('after','\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a')[a2_0x2830ac(0xd9)]('-X,\x20--method\x20<method>',a2_0x2830ac(0x244),a2_0x2830ac(0x338))['option']('--data\x20<data>',a2_0x2830ac(0x349))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2f7),'Read\x20request\x20body\x20from\x20file')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x13b),a2_0x2830ac(0x2e5),(_0x44e20b,_0x1d5e84)=>{return _0x1d5e84?[..._0x1d5e84,_0x44e20b]:[_0x44e20b];})[a2_0x2830ac(0xd9)](a2_0x2830ac(0x112),a2_0x2830ac(0x271),'td')[a2_0x2830ac(0xd3)](async(_0x2cab5a,_0x362e35)=>{const _0x470099=a2_0x2830ac;if(!_0x2cab5a){apiCmd['help']();return;}const _0x5cd168=new ApiCommand(),_0x3b4c46=program[_0x470099(0x2be)](),_0x500c8e=await createTDXInstance(_0x3b4c46),_0x47ead8=await _0x5cd168[_0x470099(0x91)]({'options':{..._0x3b4c46,..._0x362e35},'args':[_0x2cab5a],'tdx':_0x500c8e});gracefulExit(_0x47ead8);});program['command'](a2_0x2830ac(0x74))[a2_0x2830ac(0x137)](a2_0x2830ac(0x1c8))['addHelpText'](a2_0x2830ac(0x10a),a2_0x2830ac(0x13d))['action'](async _0xbe5113=>{const _0x541195=a2_0x2830ac,_0x223363=new MCPCommand(),_0x53662d=program[_0x541195(0x2be)](),_0x484a43=await createTDXInstance(_0x53662d),_0x71b6a7=await _0x223363[_0x541195(0x91)]({'options':{..._0x53662d,..._0xbe5113},'args':[],'tdx':_0x484a43});gracefulExit(_0x71b6a7);});const tableCmd=program['command'](a2_0x2830ac(0x31c))[a2_0x2830ac(0x137)](a2_0x2830ac(0x118)),tableListAction=async(_0x5b6982,_0x1cadc1)=>{const _0x4468e0=a2_0x2830ac,_0x40455a=new TablesCommand(),_0x590fec=program[_0x4468e0(0x2be)](),_0x6000a2=await createTDXInstance(_0x590fec);_0x1cadc1['in']&&(_0x1cadc1[_0x4468e0(0x2a8)]=_0x1cadc1['in']);const _0x4a0f6d=await _0x40455a[_0x4468e0(0x91)]({'options':{..._0x590fec,..._0x1cadc1},'args':_0x5b6982?[_0x5b6982]:[],'tdx':_0x6000a2});gracefulExit(_0x4a0f6d);};function a2_0xc295(_0x197908,_0x1ab082){_0x197908=_0x197908-0x71;const _0x6a149e=a2_0x6a14();let _0xc295d3=_0x6a149e[_0x197908];return _0xc295d3;}tableCmd[a2_0x2830ac(0x2fd)]('list\x20[pattern]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x27b))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x348),a2_0x2830ac(0xd5))[a2_0x2830ac(0xd9)]('--in\x20<database>',a2_0x2830ac(0x186))[a2_0x2830ac(0xd3)](tableListAction),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x17e),{'hidden':!![]})[a2_0x2830ac(0x137)](a2_0x2830ac(0xf9))['option'](a2_0x2830ac(0x348),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x105),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x2830ac(0xd3)](tableListAction),program[a2_0x2830ac(0x2fd)]('show\x20[table]')['description']('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')[a2_0x2830ac(0xd9)]('-d,\x20--database\x20<database>',a2_0x2830ac(0x27e))['option'](a2_0x2830ac(0x105),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](async(_0x393cb3,_0x42d620)=>{const _0x27fa34=a2_0x2830ac,_0x28fc15=new ShowCommand(),_0x512709=program[_0x27fa34(0x2be)](),_0x3f2682=await createTDXInstance(_0x512709);_0x42d620['in']&&(_0x42d620[_0x27fa34(0x2a8)]=_0x42d620['in']);const _0x16cbad=await _0x28fc15[_0x27fa34(0x91)]({'options':{..._0x512709,..._0x42d620},'args':_0x393cb3?[_0x393cb3]:[],'tdx':_0x3f2682});gracefulExit(_0x16cbad);}),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x168))['alias']('desc')[a2_0x2830ac(0x137)](a2_0x2830ac(0x1fa))['option'](a2_0x2830ac(0x348),a2_0x2830ac(0x27e))['option']('--in\x20<database>',a2_0x2830ac(0x186))[a2_0x2830ac(0xd3)](async(_0x54836c,_0x1aa984)=>{const _0x20d534=a2_0x2830ac,_0x57f974=new DescribeCommand(),_0x2f189d=program['opts'](),_0x449596=await createTDXInstance(_0x2f189d);_0x1aa984['in']&&(_0x1aa984[_0x20d534(0x2a8)]=_0x1aa984['in']);const _0x493d99=await _0x57f974[_0x20d534(0x91)]({'options':{..._0x2f189d,..._0x1aa984},'args':_0x54836c?[_0x54836c]:[],'tdx':_0x449596});gracefulExit(_0x493d99);}),program['command'](a2_0x2830ac(0x8e))[a2_0x2830ac(0x137)]('Run\x20Trino\x20query\x20with\x20streaming\x20results')[a2_0x2830ac(0xd9)]('-d,\x20--database\x20<database>','Database\x20to\x20query\x20(default:\x20information_schema)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x105),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x291),a2_0x2830ac(0x200))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2f7),a2_0x2830ac(0x9d))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x25b),'Maximum\x20rows\x20to\x20display')[a2_0x2830ac(0xd3)](async(_0x1fc641,_0x5655ca)=>{const _0x5c5010=a2_0x2830ac,_0x31ce49=new QueryCommand(),_0x2c9fe1=program[_0x5c5010(0x2be)](),_0x8727eb=await createTDXInstance(_0x2c9fe1);_0x5655ca['in']&&(_0x5655ca[_0x5c5010(0x2a8)]=_0x5655ca['in']);const _0x5aa007=await _0x31ce49[_0x5c5010(0x91)]({'options':mergeCommandOptions(_0x2c9fe1,_0x5655ca),'args':_0x1fc641?[_0x1fc641]:[],'tdx':_0x8727eb});gracefulExit(_0x5aa007);});const segmentCmd=program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x32e))[a2_0x2830ac(0x32b)]('sg')[a2_0x2830ac(0x137)](a2_0x2830ac(0xfa)),segmentListAction=async(_0x21bf5f,_0x568510)=>{const _0x305e08=a2_0x2830ac,_0x5494c2=new SegmentsCommand(),_0x32ac2e=program[_0x305e08(0x2be)](),_0x22e92e=await createTDXInstance(_0x32ac2e),_0x32955c=await _0x5494c2[_0x305e08(0x91)]({'options':{..._0x32ac2e,..._0x568510},'args':_0x21bf5f?[_0x21bf5f]:[],'tdx':_0x22e92e});gracefulExit(_0x32955c);};segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x2d5))[a2_0x2830ac(0x137)]('List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x276),a2_0x2830ac(0x1a1))['option'](a2_0x2830ac(0xbe),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x2830ac(0xd3)](segmentListAction),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x29b),{'hidden':!![]})['description']('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')['option'](a2_0x2830ac(0x276),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0xbe),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x2830ac(0xd3)](segmentListAction),segmentCmd['command']('use\x20<path>',{'hidden':!![]})['description'](a2_0x2830ac(0x310))['action'](async(_0x5dcc0b,_0x47ffcd)=>{const _0x2c5789=a2_0x2830ac,_0x16b983=new SegmentUseCommand(),_0x38af3c=program[_0x2c5789(0x2be)](),_0x4c613a=await createTDXInstance(_0x38af3c),_0x538ae5=await _0x16b983['run']({'options':{..._0x38af3c,..._0x47ffcd},'args':[_0x5dcc0b],'tdx':_0x4c613a});gracefulExit(_0x538ae5);});const segmentViewAction=async(_0x573152,_0xca86f0)=>{const _0xf45199=a2_0x2830ac,_0x2ae241=new SegmentViewCommand(),_0x3b56c0=program[_0xf45199(0x2be)](),_0x87d7ae=await createTDXInstance(_0x3b56c0),_0x44832e=await _0x2ae241[_0xf45199(0x91)]({'options':{..._0x3b56c0,..._0xca86f0},'args':_0x573152?[_0x573152]:[],'tdx':_0x87d7ae});gracefulExit(_0x44832e);};segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x2d4))[a2_0x2830ac(0x137)](a2_0x2830ac(0xa4))[a2_0x2830ac(0xd9)]('-w,\x20--web','Open\x20segment\x20in\x20web\x20browser')[a2_0x2830ac(0xd3)](segmentViewAction),segmentCmd['command'](a2_0x2830ac(0x1ef),{'hidden':!![]})[a2_0x2830ac(0x32b)]('describe')['option'](a2_0x2830ac(0x15c),a2_0x2830ac(0x2c2))[a2_0x2830ac(0x137)]('Show\x20segment\x20details\x20(alias\x20for\x20view)')[a2_0x2830ac(0xd3)](segmentViewAction),segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x77))['description'](a2_0x2830ac(0x317))[a2_0x2830ac(0xd3)](async(_0x569985,_0x31528e)=>{const _0x124f15=a2_0x2830ac,_0x5f3465=new SegmentDescCommand(),_0x2981b9=program['opts'](),_0x4b6d47=await createTDXInstance(_0x2981b9),_0x5c8d0b=await _0x5f3465[_0x124f15(0x91)]({'options':{..._0x2981b9,..._0x31528e},'args':_0x569985?[_0x569985]:[],'tdx':_0x4b6d47});gracefulExit(_0x5c8d0b);}),segmentCmd[a2_0x2830ac(0x2fd)]('show\x20[segment_name]')[a2_0x2830ac(0x137)](a2_0x2830ac(0xc7))[a2_0x2830ac(0xd3)](async(_0xd5c00e,_0x34bc11)=>{const _0x22c912=a2_0x2830ac,_0x1c44e4=new SegmentShowCommand(),_0x467cfa=program[_0x22c912(0x2be)](),_0x416ce7=await createTDXInstance(_0x467cfa),_0x304833=await _0x1c44e4['run']({'options':{..._0x467cfa,..._0x34bc11},'args':_0xd5c00e?[_0xd5c00e]:[],'tdx':_0x416ce7});gracefulExit(_0x304833);}),segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x237),{'hidden':!![]})[a2_0x2830ac(0x137)](a2_0x2830ac(0x1ea))[a2_0x2830ac(0xd3)](async(_0x15a009,_0x8763f5)=>{const _0x3fab9d=a2_0x2830ac,_0x44f0e2=new SegmentFolderListCommand(),_0x274c4f=program['opts'](),_0x9f9f42=await createTDXInstance(_0x274c4f),_0x11f312=await _0x44f0e2[_0x3fab9d(0x91)]({'options':{..._0x274c4f,..._0x8763f5},'args':[_0x15a009],'tdx':_0x9f9f42});gracefulExit(_0x11f312);});const folderCmd=segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xb2),{'hidden':!![]})[a2_0x2830ac(0x137)](a2_0x2830ac(0x11c));folderCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x8f))[a2_0x2830ac(0x137)](a2_0x2830ac(0x22f))['action'](async(_0x267a2b,_0x3d944d)=>{const _0x594101=a2_0x2830ac,_0x24248e=new SegmentFolderShowCommand(),_0x4b996d=program[_0x594101(0x2be)](),_0x298dfb=await createTDXInstance(_0x4b996d),_0x2f1be0=await _0x24248e[_0x594101(0x91)]({'options':{..._0x4b996d,..._0x3d944d},'args':[_0x267a2b],'tdx':_0x298dfb});gracefulExit(_0x2f1be0);}),segmentCmd['command']('sql\x20[segment_name]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x2cb))[a2_0x2830ac(0xd9)]('--path\x20<file-path>',a2_0x2830ac(0x321))[a2_0x2830ac(0xd3)](async(_0x3666ea,_0x3838b9)=>{const _0x3674ea=a2_0x2830ac,_0x1ee667=new SegmentSQLCommand(),_0x505c82=program['opts'](),_0x2f0374=await createTDXInstance(_0x505c82),_0x4686ac=await _0x1ee667[_0x3674ea(0x91)]({'options':{..._0x505c82,..._0x3838b9},'args':_0x3666ea?[_0x3666ea]:[],'tdx':_0x2f0374});gracefulExit(_0x4686ac);}),segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x19b))['description']('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)')[a2_0x2830ac(0xd3)](async(_0x56348b,_0x5dc8dd)=>{const _0x5529ff=a2_0x2830ac,_0x24ef1c=new SegmentFieldsCommand(),_0x15993d=program[_0x5529ff(0x2be)](),_0x4f0afd=await createTDXInstance(_0x15993d),_0x1caade=await _0x24ef1c[_0x5529ff(0x91)]({'options':{..._0x15993d,..._0x5dc8dd},'args':_0x56348b?[_0x56348b]:[],'tdx':_0x4f0afd});gracefulExit(_0x1caade);}),segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x184))[a2_0x2830ac(0x137)](a2_0x2830ac(0x179))['option'](a2_0x2830ac(0x111),a2_0x2830ac(0x249))[a2_0x2830ac(0xd3)](async(_0x120e92,_0x4ffceb)=>{const _0x1b2db3=a2_0x2830ac,_0x647630=new SegmentPullCommand(),_0x5af859=program['opts'](),_0x370046=await createTDXInstance(_0x5af859),_0x4c1c06=await _0x647630[_0x1b2db3(0x91)]({'options':{..._0x5af859,..._0x4ffceb},'args':_0x120e92?[_0x120e92]:[],'tdx':_0x370046});gracefulExit(_0x4c1c06);}),segmentCmd[a2_0x2830ac(0x2fd)]('push\x20[parent_or_file]')['description'](a2_0x2830ac(0x2ce))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x111),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2bb),a2_0x2830ac(0x1ec))[a2_0x2830ac(0xd3)](async(_0x5aa112,_0x1f5c91)=>{const _0x756db2=a2_0x2830ac,_0x5c4f31=new SegmentPushCommand(),_0xc1bc3b=program[_0x756db2(0x2be)](),_0x229149=await createTDXInstance(_0xc1bc3b),_0x209b02=await _0x5c4f31[_0x756db2(0x91)]({'options':{..._0xc1bc3b,..._0x1f5c91},'args':_0x5aa112?[_0x5aa112]:[],'tdx':_0x229149});gracefulExit(_0x209b02);}),segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1e8))[a2_0x2830ac(0x137)](a2_0x2830ac(0x1b8))['action'](async(_0x159acb,_0x31231d)=>{const _0x16c54b=new SegmentValidateCommand(),_0x110b5c=program['opts'](),_0x44e3e9=await createTDXInstance(_0x110b5c),_0xc69118=await _0x16c54b['run']({'options':{..._0x110b5c,..._0x31231d},'args':_0x159acb?[_0x159acb]:[],'tdx':_0x44e3e9});gracefulExit(_0xc69118);}),segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x2ca),{'hidden':!![]})[a2_0x2830ac(0x137)](a2_0x2830ac(0x251))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1f1),'Segment\x20description')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x16a),a2_0x2830ac(0x29e))['option'](a2_0x2830ac(0xe8),a2_0x2830ac(0x12a))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1d8),'Folder\x20name\x20for\x20organization')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x30c),a2_0x2830ac(0x1fd))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x26a),a2_0x2830ac(0xca))[a2_0x2830ac(0xd9)]('--no-count-population','Skip\x20population\x20counting')['action'](async(_0x13fd93,_0x318f8c)=>{const _0x131c18=a2_0x2830ac,_0x16ccea=new SegmentCreateCommand(),_0x548f95=program[_0x131c18(0x2be)](),_0x4e7fe4=await createTDXInstance(_0x548f95),_0x50436f=await _0x16ccea[_0x131c18(0x91)]({'options':{..._0x548f95,..._0x318f8c},'args':[_0x13fd93],'tdx':_0x4e7fe4});gracefulExit(_0x50436f);}),segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x302),{'hidden':!![]})['description']('[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x7f),a2_0x2830ac(0x234))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1f1),'Updated\x20description')['option'](a2_0x2830ac(0x16a),a2_0x2830ac(0x236))[a2_0x2830ac(0xd9)]('--rule-file\x20<file>',a2_0x2830ac(0x2f9))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1d8),a2_0x2830ac(0xd8))['option'](a2_0x2830ac(0x30c),a2_0x2830ac(0x1fd))['action'](async(_0x2d808e,_0x33d167)=>{const _0x302525=a2_0x2830ac,_0x785766=new SegmentUpdateCommand(),_0x59a175=program['opts'](),_0x4ef3a3=await createTDXInstance(_0x59a175),_0x409719=await _0x785766[_0x302525(0x91)]({'options':{..._0x59a175,..._0x33d167},'args':[_0x2d808e],'tdx':_0x4ef3a3});gracefulExit(_0x409719);});const parentCmd=segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x13c),{'hidden':!![]})[a2_0x2830ac(0x137)](a2_0x2830ac(0x226)),parentListAction=async(_0x4842b2,_0x308914)=>{const _0xccf0f2=a2_0x2830ac,_0x50e584=new ParentSegmentListCommand(),_0x10307b=program['opts'](),_0x1d15c4=await createTDXInstance(_0x10307b),_0x4a9535=await _0x50e584[_0xccf0f2(0x91)]({'options':{..._0x10307b,..._0x308914},'args':_0x4842b2?[_0x4842b2]:[],'tdx':_0x1d15c4});gracefulExit(_0x4a9535);};parentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x203))[a2_0x2830ac(0x137)](a2_0x2830ac(0x160))[a2_0x2830ac(0xd3)](parentListAction),segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xf5),{'hidden':!![]})[a2_0x2830ac(0x137)](a2_0x2830ac(0x117))[a2_0x2830ac(0xd3)](parentListAction),parentCmd['command'](a2_0x2830ac(0x2ad))[a2_0x2830ac(0x137)](a2_0x2830ac(0x76))[a2_0x2830ac(0xd9)]('-o,\x20--output\x20<file>','Output\x20file\x20path\x20(default:\x20<name>.yml)')[a2_0x2830ac(0xd3)](async(_0x3d6dc5,_0x552c0b)=>{const _0x58809f=a2_0x2830ac,_0x57dfb5=new ParentSegmentPullCommand(),_0x2346e2=program[_0x58809f(0x2be)](),_0x3bf248=await createTDXInstance(_0x2346e2),_0x1f2558=await _0x57dfb5['run']({'options':{..._0x2346e2,..._0x552c0b},'args':_0x3d6dc5?[_0x3d6dc5]:[],'tdx':_0x3bf248});gracefulExit(_0x1f2558);}),parentCmd[a2_0x2830ac(0x2fd)]('push\x20[file]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x158))[a2_0x2830ac(0xd3)](async(_0x2ae627,_0x4bb2a0)=>{const _0x478e9f=a2_0x2830ac,_0xf52e6c=new ParentSegmentPushCommand(),_0x3fc68f=program[_0x478e9f(0x2be)](),_0x2af852=await createTDXInstance(_0x3fc68f),_0x1a79db=await _0xf52e6c[_0x478e9f(0x91)]({'options':{..._0x3fc68f,..._0x4bb2a0},'args':_0x2ae627?[_0x2ae627]:[],'tdx':_0x2af852});gracefulExit(_0x1a79db);}),parentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x275))['description'](a2_0x2830ac(0x2ed))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1ad),a2_0x2830ac(0x2f4))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x278),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')['option'](a2_0x2830ac(0x283),a2_0x2830ac(0x88))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x32a),a2_0x2830ac(0x1a5))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x133),a2_0x2830ac(0x315),a2_0x2830ac(0x287))[a2_0x2830ac(0xd3)](async(_0x4313f2,_0xb91247)=>{const _0x360a0c=a2_0x2830ac,_0xac0706=new ParentSegmentValidateCommand(),_0x2105cf=program[_0x360a0c(0x2be)](),_0x51c1c7=await createTDXInstance(_0x2105cf),_0x2fc017=await _0xac0706['run']({'options':{..._0x2105cf,..._0xb91247},'args':_0x4313f2?[_0x4313f2]:[],'tdx':_0x51c1c7});gracefulExit(_0x2fc017);}),parentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1d5))[a2_0x2830ac(0x137)](a2_0x2830ac(0x28b))[a2_0x2830ac(0xd9)]('--master',a2_0x2830ac(0x259))['option']('--attribute\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x283),a2_0x2830ac(0x145))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x32a),a2_0x2830ac(0x152))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x133),a2_0x2830ac(0x315),a2_0x2830ac(0x287))['action'](async(_0x4987bb,_0x5215f7)=>{const _0x176d8a=a2_0x2830ac,_0x2e1dee=new ParentSegmentPreviewCommand(),_0x515f12=program[_0x176d8a(0x2be)](),_0x2b9a22=await createTDXInstance(_0x515f12),_0x1251b0=await _0x2e1dee['run']({'options':{..._0x515f12,..._0x5215f7},'args':_0x4987bb?[_0x4987bb]:[],'tdx':_0x2b9a22});gracefulExit(_0x1251b0);}),parentCmd['command'](a2_0x2830ac(0x21c))[a2_0x2830ac(0x137)](a2_0x2830ac(0x30f))[a2_0x2830ac(0xd3)](async(_0x51f0a8,_0x21d2ca)=>{const _0x1d8dd2=new ParentSegmentRunCommand(),_0x20fdb0=program['opts'](),_0x5b1a85=await createTDXInstance(_0x20fdb0),_0x152500=await _0x1d8dd2['run']({'options':{..._0x20fdb0,..._0x21d2ca},'args':_0x51f0a8?[_0x51f0a8]:[],'tdx':_0x5b1a85});gracefulExit(_0x152500);});const parentSegmentCmd=program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1b2))['alias']('ps')[a2_0x2830ac(0x137)](a2_0x2830ac(0x113));parentSegmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x203))['description'](a2_0x2830ac(0x160))[a2_0x2830ac(0xd3)](parentListAction),parentSegmentCmd['command'](a2_0x2830ac(0x2ad))['description'](a2_0x2830ac(0x1e2))['option'](a2_0x2830ac(0x20e),'Output\x20file\x20path')['option'](a2_0x2830ac(0xf1),a2_0x2830ac(0x2a9))[a2_0x2830ac(0xd3)](async(_0x51241e,_0x1c8581)=>{const _0x24ae89=a2_0x2830ac,_0x7cc10e=new ParentSegmentPullCommand(),_0x513234=program[_0x24ae89(0x2be)](),_0x2f46cc=await createTDXInstance(_0x513234),_0x2cb644=await _0x7cc10e[_0x24ae89(0x91)]({'options':{..._0x513234,..._0x1c8581},'args':_0x51241e?[_0x51241e]:[],'tdx':_0x2f46cc});gracefulExit(_0x2cb644);}),parentSegmentCmd['command']('push\x20[name]')['description'](a2_0x2830ac(0x31f))['action'](async(_0x725547,_0x1e79ab)=>{const _0x5cc047=a2_0x2830ac,_0x2d6515=new ParentSegmentPushCommand(),_0x5207e3=program['opts'](),_0x1da7a6=await createTDXInstance(_0x5207e3),_0x2f23f7=await _0x2d6515[_0x5cc047(0x91)]({'options':{..._0x5207e3,..._0x1e79ab},'args':_0x725547?[_0x725547]:[],'tdx':_0x1da7a6});gracefulExit(_0x2f23f7);}),parentSegmentCmd['command'](a2_0x2830ac(0x116))[a2_0x2830ac(0x137)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1ad),a2_0x2830ac(0x2f4))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x278),a2_0x2830ac(0x25a))[a2_0x2830ac(0xd9)]('--behavior\x20[name]',a2_0x2830ac(0x88))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x32a),a2_0x2830ac(0x1a5))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x133),a2_0x2830ac(0x315),a2_0x2830ac(0x287))['action'](async(_0x10ab8,_0x547b7c)=>{const _0x3d6efd=a2_0x2830ac,_0x29eff0=new ParentSegmentValidateCommand(),_0x31ab1d=program[_0x3d6efd(0x2be)](),_0x1a10d7=await createTDXInstance(_0x31ab1d),_0x16e918=await _0x29eff0['run']({'options':{..._0x31ab1d,..._0x547b7c},'args':_0x10ab8?[_0x10ab8]:[],'tdx':_0x1a10d7});gracefulExit(_0x16e918);}),parentSegmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x342))[a2_0x2830ac(0x137)](a2_0x2830ac(0x28b))[a2_0x2830ac(0xd9)]('--master',a2_0x2830ac(0x259))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x278),a2_0x2830ac(0x313))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x283),a2_0x2830ac(0x145))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x32a),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x2830ac(0xd9)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x2830ac(0x287))[a2_0x2830ac(0xd3)](async(_0x359ca9,_0x1eee86)=>{const _0x152b11=a2_0x2830ac,_0x552e16=new ParentSegmentPreviewCommand(),_0x35d938=program[_0x152b11(0x2be)](),_0xaa7ca8=await createTDXInstance(_0x35d938),_0x3815fa=await _0x552e16[_0x152b11(0x91)]({'options':{..._0x35d938,..._0x1eee86},'args':_0x359ca9?[_0x359ca9]:[],'tdx':_0xaa7ca8});gracefulExit(_0x3815fa);}),parentSegmentCmd['command'](a2_0x2830ac(0x21c))[a2_0x2830ac(0x137)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x2830ac(0xd3)](async(_0x3a215b,_0x3a68d7)=>{const _0x358487=a2_0x2830ac,_0x1361ed=new ParentSegmentRunCommand(),_0x35660e=program[_0x358487(0x2be)](),_0x51ffe5=await createTDXInstance(_0x35660e),_0x5ccc56=await _0x1361ed[_0x358487(0x91)]({'options':{..._0x35660e,..._0x3a68d7},'args':_0x3a215b?[_0x3a215b]:[],'tdx':_0x51ffe5});gracefulExit(_0x5ccc56);}),parentSegmentCmd['command'](a2_0x2830ac(0x289))[a2_0x2830ac(0x137)](a2_0x2830ac(0x182))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1eb),a2_0x2830ac(0x16b))[a2_0x2830ac(0xd9)]('--jsonl',a2_0x2830ac(0x1f4))[a2_0x2830ac(0xd3)](async(_0x26ce7c,_0xe938e3)=>{const _0x2205a3=a2_0x2830ac,_0x225226=new ParentSegmentFieldsCommand(),_0x37497f=program['opts'](),_0x7f5b15=await createTDXInstance(_0x37497f),_0x30c729=await _0x225226[_0x2205a3(0x91)]({'options':{..._0x37497f,..._0xe938e3},'args':_0x26ce7c?[_0x26ce7c]:[],'tdx':_0x7f5b15});gracefulExit(_0x30c729);}),parentSegmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1d7))[a2_0x2830ac(0x137)]('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')['option']('-w,\x20--web','Open\x20parent\x20segment\x20in\x20web\x20browser')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1eb),'Output\x20as\x20JSON')[a2_0x2830ac(0xd9)](a2_0x2830ac(0xd6),a2_0x2830ac(0x1f4))[a2_0x2830ac(0xd3)](async(_0x575922,_0x244fce)=>{const _0x3a03e4=a2_0x2830ac,_0x1a185c=new ParentSegmentViewCommand(),_0x349217=program[_0x3a03e4(0x2be)](),_0x56982c=await createTDXInstance(_0x349217),_0x43aca0=await _0x1a185c['run']({'options':{..._0x349217,..._0x244fce},'args':_0x575922?[_0x575922]:[],'tdx':_0x56982c});gracefulExit(_0x43aca0);}),parentSegmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1f6))[a2_0x2830ac(0x137)](a2_0x2830ac(0xe0))[a2_0x2830ac(0xd9)]('-o,\x20--output\x20<file>',a2_0x2830ac(0x2a3))['option'](a2_0x2830ac(0x1eb),a2_0x2830ac(0x16b))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xd6),'Output\x20as\x20JSON\x20Lines')['action'](async(_0x22d35f,_0x437947)=>{const _0xa3997=a2_0x2830ac,_0x447f99=new ParentSegmentDescCommand(),_0x3a69c8=program[_0xa3997(0x2be)](),_0x586ca3=await createTDXInstance(_0x3a69c8),_0x5dea83=await _0x447f99[_0xa3997(0x91)]({'options':{..._0x3a69c8,..._0x437947},'args':_0x22d35f?[_0x22d35f]:[],'tdx':_0x586ca3});gracefulExit(_0x5dea83);}),parentSegmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x25e))['description'](a2_0x2830ac(0x97))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1eb),'Output\x20as\x20JSON')[a2_0x2830ac(0xd9)](a2_0x2830ac(0xd6),a2_0x2830ac(0x1f4))[a2_0x2830ac(0xd3)](async(_0x5a6ae1,_0x245407)=>{const _0x389084=a2_0x2830ac,_0x529dc3=new ParentSegmentSQLCommand(),_0x26f6b5=program[_0x389084(0x2be)](),_0x12f841=await createTDXInstance(_0x26f6b5),_0x40fa22=await _0x529dc3[_0x389084(0x91)]({'options':{..._0x26f6b5,..._0x245407},'args':_0x5a6ae1?[_0x5a6ae1]:[],'tdx':_0x12f841});gracefulExit(_0x40fa22);}),parentSegmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x329))[a2_0x2830ac(0x137)](a2_0x2830ac(0x8b))['option'](a2_0x2830ac(0x153),a2_0x2830ac(0x89))[a2_0x2830ac(0xd9)]('--json',a2_0x2830ac(0x16b))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xd6),a2_0x2830ac(0x1f4))[a2_0x2830ac(0xd3)](async(_0x80a656,_0x11436b)=>{const _0x9dace7=a2_0x2830ac,_0xdd9941=new ParentSegmentShowCommand(),_0x3d512e=program[_0x9dace7(0x2be)](),_0x285cd5=await createTDXInstance(_0x3d512e),_0x31187f=await _0xdd9941[_0x9dace7(0x91)]({'options':{..._0x3d512e,..._0x11436b},'args':_0x80a656?[_0x80a656]:[],'tdx':_0x285cd5});gracefulExit(_0x31187f);}),parentSegmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x252))['description']('Set\x20or\x20show\x20parent\x20segment\x20context')['action'](async(_0x3f9c15,_0x48684d)=>{const _0x9ee98e=a2_0x2830ac,_0x205f81=new UseCommand(),_0x4ad49b=program['opts'](),_0xd185ba=_0x3f9c15?[_0x9ee98e(0x1e7),_0x3f9c15]:[],_0x5ee362=await _0x205f81[_0x9ee98e(0x91)]({'options':{..._0x4ad49b,..._0x48684d},'args':_0xd185ba,'tdx':null});gracefulExit(_0x5ee362);});const psRtCmd=parentSegmentCmd[a2_0x2830ac(0x2fd)]('rt')['description'](a2_0x2830ac(0x18c));psRtCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x203))[a2_0x2830ac(0x137)](a2_0x2830ac(0x2d0))['action'](async(_0x2839f3,_0x5eefa3)=>{const _0x416494=a2_0x2830ac,_0x582b9f=new PSRtListCommand(),_0x200242=program[_0x416494(0x2be)](),_0x12eeb0=await createTDXInstance(_0x200242),_0x13a10e=await _0x582b9f[_0x416494(0x91)]({'options':{..._0x200242,..._0x5eefa3},'args':_0x2839f3?[_0x2839f3]:[],'tdx':_0x12eeb0});gracefulExit(_0x13a10e);}),psRtCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x116))['description'](a2_0x2830ac(0x309))[a2_0x2830ac(0xd3)](async(_0x6c5e8,_0x567efa)=>{const _0x441be3=new PSRtValidateCommand(),_0x1b458e=program['opts'](),_0x16fd0b=await createTDXInstance(_0x1b458e),_0x41030b=await _0x441be3['run']({'options':{..._0x1b458e,..._0x567efa},'args':_0x6c5e8?[_0x6c5e8]:[],'tdx':_0x16fd0b});gracefulExit(_0x41030b);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})[a2_0x2830ac(0x137)]('RT\x202.0\x20configuration\x20management');parentRtCmd['command'](a2_0x2830ac(0x203))[a2_0x2830ac(0x137)](a2_0x2830ac(0x2d0))[a2_0x2830ac(0xd3)](async(_0x290202,_0x1d0960)=>{const _0x16b985=a2_0x2830ac,_0x34242c=new PSRtListCommand(),_0x58b6f9=program[_0x16b985(0x2be)](),_0x5dea0a=await createTDXInstance(_0x58b6f9),_0x1b1b17=await _0x34242c[_0x16b985(0x91)]({'options':{..._0x58b6f9,..._0x1d0960},'args':_0x290202?[_0x290202]:[],'tdx':_0x5dea0a});gracefulExit(_0x1b1b17);}),parentRtCmd['command'](a2_0x2830ac(0x116))['description'](a2_0x2830ac(0x309))[a2_0x2830ac(0xd3)](async(_0x141eeb,_0x1991ce)=>{const _0x1fd76f=a2_0x2830ac,_0x45f5d3=new PSRtValidateCommand(),_0x69e16c=program['opts'](),_0x577f30=await createTDXInstance(_0x69e16c),_0x2c3862=await _0x45f5d3[_0x1fd76f(0x91)]({'options':{..._0x69e16c,..._0x1991ce},'args':_0x141eeb?[_0x141eeb]:[],'tdx':_0x577f30});gracefulExit(_0x2c3862);});const psPzCmd=parentSegmentCmd[a2_0x2830ac(0x2fd)]('pz')[a2_0x2830ac(0x137)]('Personalization\x20service\x20management');psPzCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x228))[a2_0x2830ac(0x137)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x327b0c,_0x4e2bfe)=>{const _0x19513b=a2_0x2830ac,_0x5a0d70=new PSPzListCommand(),_0xa6856=program['opts'](),_0xc1ea70=await createTDXInstance(_0xa6856),_0x2525ec=await _0x5a0d70[_0x19513b(0x91)]({'options':{..._0xa6856,..._0x4e2bfe},'args':_0x327b0c?[_0x327b0c]:[],'tdx':_0xc1ea70});gracefulExit(_0x2525ec);}),psPzCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xa8))[a2_0x2830ac(0x137)](a2_0x2830ac(0x346))[a2_0x2830ac(0xd3)](async(_0x1285f2,_0x518586)=>{const _0x41e080=a2_0x2830ac,_0x3e9578=new PSPzInitCommand(),_0x11a3be=program[_0x41e080(0x2be)](),_0x140a28=await createTDXInstance(_0x11a3be),_0x33ba23=await _0x3e9578[_0x41e080(0x91)]({'options':{..._0x11a3be,..._0x518586},'args':_0x1285f2?[_0x1285f2]:[],'tdx':_0x140a28});gracefulExit(_0x33ba23);});const parentPzCmd=parentCmd[a2_0x2830ac(0x2fd)]('pz',{'hidden':!![]})[a2_0x2830ac(0x137)](a2_0x2830ac(0x119));parentPzCmd['command'](a2_0x2830ac(0x228))[a2_0x2830ac(0x137)](a2_0x2830ac(0x101))[a2_0x2830ac(0xd3)](async(_0x276558,_0x195cb7)=>{const _0x36d603=new PSPzListCommand(),_0x24aaf7=program['opts'](),_0x1eb240=await createTDXInstance(_0x24aaf7),_0x501494=await _0x36d603['run']({'options':{..._0x24aaf7,..._0x195cb7},'args':_0x276558?[_0x276558]:[],'tdx':_0x1eb240});gracefulExit(_0x501494);}),parentPzCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xa8))[a2_0x2830ac(0x137)](a2_0x2830ac(0x346))[a2_0x2830ac(0xd3)](async(_0x4c737a,_0x574d8c)=>{const _0x561307=a2_0x2830ac,_0x571b5b=new PSPzInitCommand(),_0x389d94=program[_0x561307(0x2be)](),_0x529e93=await createTDXInstance(_0x389d94),_0x46dbbf=await _0x571b5b[_0x561307(0x91)]({'options':{..._0x389d94,..._0x574d8c},'args':_0x4c737a?[_0x4c737a]:[],'tdx':_0x529e93});gracefulExit(_0x46dbbf);}),parentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1d1))[a2_0x2830ac(0x137)](a2_0x2830ac(0x1f9))[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x1b4),a2_0x2830ac(0x78))[a2_0x2830ac(0x2e2)]('--table\x20<table>','Master\x20table\x20name')['option']('--description\x20<text>',a2_0x2830ac(0x34d))['option']('--schedule-type\x20<type>','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')['option'](a2_0x2830ac(0x178),a2_0x2830ac(0xdb))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1a6),a2_0x2830ac(0x2d1))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x303),a2_0x2830ac(0x27d))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xb6),a2_0x2830ac(0xa1))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xea),a2_0x2830ac(0x7c))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1dd),a2_0x2830ac(0x2b2))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x185),a2_0x2830ac(0x1ca))['option'](a2_0x2830ac(0x2a1),a2_0x2830ac(0x1ed))[a2_0x2830ac(0xd3)](async(_0x47fc31,_0x1cfd5e)=>{const _0x3ccc3f=a2_0x2830ac,_0x1fc395=new ParentSegmentCreateCommand(),_0x147dd1=program[_0x3ccc3f(0x2be)](),_0x20f01e=await createTDXInstance(_0x147dd1),_0x12ceb5=await _0x1fc395[_0x3ccc3f(0x91)]({'options':{..._0x147dd1,..._0x1cfd5e},'args':[_0x47fc31],'tdx':_0x20f01e});gracefulExit(_0x12ceb5);}),parentCmd['command'](a2_0x2830ac(0xda))[a2_0x2830ac(0x137)](a2_0x2830ac(0x22b))['option'](a2_0x2830ac(0x1f1),a2_0x2830ac(0x10b))[a2_0x2830ac(0xd9)]('--schedule-type\x20<type>',a2_0x2830ac(0x2db))['option'](a2_0x2830ac(0x178),'Updated\x20schedule\x20option')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1a6),a2_0x2830ac(0x1b1))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xb7),'Add\x20attributes\x20as\x20JSON\x20string')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x245),'Add\x20attributes\x20from\x20JSON\x20file')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x235),'Add\x20behaviors\x20as\x20JSON\x20string')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x24f),a2_0x2830ac(0x9f))[a2_0x2830ac(0xd3)](async(_0x530dcb,_0x3d8e4b)=>{const _0x5d4492=a2_0x2830ac,_0x4c8ffa=new ParentSegmentUpdateCommand(),_0x3d9680=program[_0x5d4492(0x2be)](),_0x310d2c=await createTDXInstance(_0x3d9680),_0x33c7ce=await _0x4c8ffa[_0x5d4492(0x91)]({'options':{..._0x3d9680,..._0x3d8e4b},'args':[_0x530dcb],'tdx':_0x310d2c});gracefulExit(_0x33c7ce);}),folderCmd['command'](a2_0x2830ac(0x23f))[a2_0x2830ac(0x137)](a2_0x2830ac(0x156))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1f1),a2_0x2830ac(0x1e5))['option']('--parent-folder\x20<name>',a2_0x2830ac(0x177))[a2_0x2830ac(0xd3)](async(_0x46fe91,_0xaacd0,_0x34b0dc)=>{const _0xccc56=a2_0x2830ac,_0x5a11f0=new SegmentFolderCreateCommand(),_0x137d72=program['opts'](),_0x43e6d3=await createTDXInstance(_0x137d72),_0x5e7f99=await _0x5a11f0[_0xccc56(0x91)]({'options':{..._0x137d72,..._0x34b0dc},'args':[_0x46fe91,_0xaacd0],'tdx':_0x43e6d3});gracefulExit(_0x5e7f99);}),program['command'](a2_0x2830ac(0x20a))[a2_0x2830ac(0x137)](a2_0x2830ac(0x31e))[a2_0x2830ac(0xd3)](async(_0x597bb4,_0x5ec49b)=>{const _0x28b688=a2_0x2830ac,_0x3263db=new ActivationsCommand(),_0x17c63a=program['opts'](),_0x2fe9e3=await createTDXInstance(_0x17c63a),_0x172832=await _0x3263db[_0x28b688(0x91)]({'options':{..._0x17c63a,..._0x5ec49b},'args':[_0x597bb4],'tdx':_0x2fe9e3});gracefulExit(_0x172832);});const workflowCmd=program['command'](a2_0x2830ac(0x122))[a2_0x2830ac(0x32b)]('wf')[a2_0x2830ac(0x137)](a2_0x2830ac(0x189)),wfProjectCmd=workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x16c))[a2_0x2830ac(0x137)](a2_0x2830ac(0x106)),wfProjectListAction=async(_0x1ddcba,_0x93c618)=>{const _0x58f2ef=a2_0x2830ac,_0x2e0606=new WorkflowProjectsCommand(),_0x23cfa7=program[_0x58f2ef(0x2be)](),_0x3b9511=await createTDXInstance(_0x23cfa7),_0x27bcb2=await _0x2e0606['run']({'options':{..._0x23cfa7,..._0x93c618},'args':_0x1ddcba?[_0x1ddcba]:[],'tdx':_0x3b9511});gracefulExit(_0x27bcb2);};wfProjectCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x203))['description'](a2_0x2830ac(0x18b))[a2_0x2830ac(0xd3)](wfProjectListAction),workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1cc))[a2_0x2830ac(0x137)](a2_0x2830ac(0x196))[a2_0x2830ac(0xd3)](wfProjectListAction);const wfWorkflowListAction=async(_0x5155ab,_0x3836fa)=>{const _0x16b141=a2_0x2830ac,_0x36444f=new WorkflowWorkflowsCommand(),_0x19f3c8=program[_0x16b141(0x2be)](),_0x2a022b=await createTDXInstance(_0x19f3c8),_0x4448ae=await _0x36444f[_0x16b141(0x91)]({'options':{..._0x19f3c8,..._0x3836fa},'args':_0x5155ab?[_0x5155ab]:[],'tdx':_0x2a022b});gracefulExit(_0x4448ae);};workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x31a))[a2_0x2830ac(0x137)](a2_0x2830ac(0x33f))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command'](a2_0x2830ac(0x24a))[a2_0x2830ac(0x137)](a2_0x2830ac(0x10f)),wfSessionListAction=async(_0x414f17,_0x2e428a)=>{const _0x44df6c=a2_0x2830ac,_0x24a5bc=new WorkflowSessionsCommand(),_0x1bd0ff=program[_0x44df6c(0x2be)](),_0x608f58=await createTDXInstance(_0x1bd0ff),_0x20d880=await _0x24a5bc[_0x44df6c(0x91)]({'options':{..._0x1bd0ff,..._0x2e428a},'args':_0x414f17?[_0x414f17]:[],'tdx':_0x608f58});gracefulExit(_0x20d880);};wfSessionCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x2dc))[a2_0x2830ac(0x137)](a2_0x2830ac(0xcf))['option']('--status\x20<status>',a2_0x2830ac(0xe7))['option'](a2_0x2830ac(0x129),a2_0x2830ac(0x323))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x311),'End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x2830ac(0xd3)](wfSessionListAction),workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x345))['description'](a2_0x2830ac(0x139))['option'](a2_0x2830ac(0x173),a2_0x2830ac(0xe7))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x129),a2_0x2830ac(0x323))['option'](a2_0x2830ac(0x311),a2_0x2830ac(0x141))[a2_0x2830ac(0xd3)](wfSessionListAction);const wfAttemptListAction=async(_0x38210f,_0x270de9)=>{const _0x49c9be=a2_0x2830ac,_0x266f06=new WorkflowAttemptsCommand(),_0x46ecbe=program[_0x49c9be(0x2be)](),_0x58da64=await createTDXInstance(_0x46ecbe),_0x596969=await _0x266f06[_0x49c9be(0x91)]({'options':{..._0x46ecbe,..._0x270de9},'args':_0x38210f?[_0x38210f]:[],'tdx':_0x58da64});gracefulExit(_0x596969);},attemptCmd=workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x327))[a2_0x2830ac(0x137)](a2_0x2830ac(0x1a4))[a2_0x2830ac(0x308)](a2_0x2830ac(0x269),a2_0x2830ac(0x26c))['argument']('[action]','Action:\x20logs,\x20tasks,\x20kill,\x20retry')[a2_0x2830ac(0x308)]('[task-name]',a2_0x2830ac(0x149))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xfc),'Include\x20subtasks\x20in\x20tasks\x20output')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x212),a2_0x2830ac(0x2b0))['option'](a2_0x2830ac(0x1a3),'Resume\x20from\x20specific\x20task\x20(retry)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x100),a2_0x2830ac(0x1d9))[a2_0x2830ac(0xd9)]('--force','Force\x20retry\x20even\x20if\x20not\x20failed')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x195),a2_0x2830ac(0x232))[a2_0x2830ac(0xd3)](async(_0x4cf3c0,_0x474f28,_0x2ec6f5,_0x550de1)=>{const _0x52db3c=a2_0x2830ac;if(_0x4cf3c0===_0x52db3c(0x319)){await wfAttemptListAction(_0x474f28,_0x550de1);return;}if(!_0x4cf3c0){attemptCmd[_0x52db3c(0x284)]();return;}const _0x46cda0=program[_0x52db3c(0x2be)](),_0x3ddee2=await createTDXInstance(_0x46cda0);let _0x174457=0x0;if(!_0x474f28){const _0x36d60d=new WorkflowAttemptCommand();_0x174457=await _0x36d60d[_0x52db3c(0x91)]({'options':{..._0x46cda0,..._0x550de1},'args':[_0x4cf3c0],'tdx':_0x3ddee2});}else{if(_0x474f28===_0x52db3c(0x22e)){const _0x418223=new WorkflowLogsCommand();_0x174457=await _0x418223[_0x52db3c(0x91)]({'options':{..._0x46cda0,..._0x550de1},'args':_0x2ec6f5?[_0x4cf3c0,_0x2ec6f5]:[_0x4cf3c0],'tdx':_0x3ddee2});}else{if(_0x474f28===_0x52db3c(0x2c8)){const _0x44f639=new WorkflowTasksCommand();_0x174457=await _0x44f639[_0x52db3c(0x91)]({'options':{..._0x46cda0,..._0x550de1},'args':[_0x4cf3c0],'tdx':_0x3ddee2});}else{if(_0x474f28==='kill'){const _0x3f0b09=new WorkflowKillCommand();_0x174457=await _0x3f0b09[_0x52db3c(0x91)]({'options':{..._0x46cda0,..._0x550de1},'args':[_0x4cf3c0],'tdx':_0x3ddee2});}else{if(_0x474f28===_0x52db3c(0x28e)){const _0x320764=new WorkflowRetryCommand();_0x174457=await _0x320764[_0x52db3c(0x91)]({'options':{..._0x46cda0,..._0x550de1},'args':[_0x52db3c(0x15e)+_0x4cf3c0],'tdx':_0x3ddee2});}else console[_0x52db3c(0x1bf)](_0x52db3c(0x163)+_0x474f28),console[_0x52db3c(0x1bf)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x174457=0x1;}}}}gracefulExit(_0x174457);});attemptCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x2dc))[a2_0x2830ac(0x137)](a2_0x2830ac(0x198))[a2_0x2830ac(0xd9)]('--include-retried',a2_0x2830ac(0x2bc))[a2_0x2830ac(0xd3)](wfAttemptListAction),workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x220))[a2_0x2830ac(0x137)](a2_0x2830ac(0x11a))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x195),a2_0x2830ac(0x2bc))['action'](wfAttemptListAction),workflowCmd[a2_0x2830ac(0x2fd)]('timeline\x20[project.workflow]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x104))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xfe),a2_0x2830ac(0x23b))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x29a),'Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)')['option']('--attempt-id\x20<id>','Show\x20timeline\x20for\x20specific\x20attempt')[a2_0x2830ac(0xd3)](async(_0xf4beb8,_0x2bcd24)=>{const _0x36d335=a2_0x2830ac,_0x215d6a=new WorkflowTimelineCommand(),_0x2e370d=program[_0x36d335(0x2be)](),_0x110e35=await createTDXInstance(_0x2e370d),_0x5ca27c=await _0x215d6a[_0x36d335(0x91)]({'options':{..._0x2e370d,..._0x2bcd24},'args':_0xf4beb8?[_0xf4beb8]:[],'tdx':_0x110e35});gracefulExit(_0x5ca27c);}),workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x25f))['description'](a2_0x2830ac(0x181))['option'](a2_0x2830ac(0x31b),'Resume\x20from\x20specific\x20task')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x100),a2_0x2830ac(0x2a5))[a2_0x2830ac(0xd3)](async(_0x474a45,_0x1dbc84)=>{const _0x1da261=a2_0x2830ac,_0x2e2984=new WorkflowRetryCommand(),_0x3e451d=program[_0x1da261(0x2be)](),_0x5b82b0=await createTDXInstance(_0x3e451d),_0x5da326=await _0x2e2984[_0x1da261(0x91)]({'options':{..._0x3e451d,..._0x1dbc84},'args':[_0x474a45],'tdx':_0x5b82b0});gracefulExit(_0x5da326);}),workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1f0))[a2_0x2830ac(0x137)]('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')[a2_0x2830ac(0xd9)]('--param\x20<key=value>','Workflow\x20parameter\x20(repeatable)',(_0x5c0bb1,_0x331dd0=[])=>[..._0x331dd0,_0x5c0bb1],[])[a2_0x2830ac(0xd9)](a2_0x2830ac(0x17b),a2_0x2830ac(0x132))[a2_0x2830ac(0xd3)](async(_0x48dfa9,_0x296efd)=>{const _0x3810b1=a2_0x2830ac,_0xe76fc2=new WorkflowRunCommand(),_0x3106d7=program[_0x3810b1(0x2be)](),_0xd329a4=await createTDXInstance(_0x3106d7),_0x145ed8=await _0xe76fc2['run']({'options':{..._0x3106d7,..._0x296efd},'args':_0x48dfa9?[_0x48dfa9]:[],'tdx':_0xd329a4});gracefulExit(_0x145ed8);}),workflowCmd['command'](a2_0x2830ac(0x1f2))['description'](a2_0x2830ac(0x265))[a2_0x2830ac(0xd9)]('--revision\x20<revision>',a2_0x2830ac(0xc6))[a2_0x2830ac(0xd3)](async(_0x8ff5c0,_0x546b55,_0x1bc977)=>{const _0x4e20fc=a2_0x2830ac,_0x3b04fc=new WorkflowDownloadCommand(),_0x3fc6b1=program[_0x4e20fc(0x2be)](),_0x26b4d3=await createTDXInstance(_0x3fc6b1),_0x488620=await _0x3b04fc['run']({'options':{..._0x3fc6b1,..._0x1bc977},'args':[_0x8ff5c0,_0x546b55||'.'],'tdx':_0x26b4d3});gracefulExit(_0x488620);}),workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x267))['description']('Pull\x20workflow\x20project\x20to\x20local\x20folder')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x290),a2_0x2830ac(0x125))['option'](a2_0x2830ac(0x111),'Preview\x20changes\x20without\x20writing\x20files')[a2_0x2830ac(0xd3)](async(_0x5c790c,_0x44e70d,_0x475269)=>{const _0x504ea4=a2_0x2830ac,_0x22acf7=new WorkflowPullCommand(),_0x3d5c24=program['opts'](),_0x47bf5f=await createTDXInstance(_0x3d5c24),_0x58dc8b=await _0x22acf7[_0x504ea4(0x91)]({'options':{..._0x3d5c24,..._0x475269},'args':_0x44e70d?[_0x5c790c,_0x44e70d]:[_0x5c790c],'tdx':_0x47bf5f});gracefulExit(_0x58dc8b);}),workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x17c))[a2_0x2830ac(0x137)](a2_0x2830ac(0x326))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x290),'Custom\x20revision\x20name\x20(default:\x20timestamp)')['option']('--dry-run','Preview\x20changes\x20without\x20pushing')['option'](a2_0x2830ac(0x243),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x2830ac(0xd3)](async(_0xb878bd,_0x23ff56)=>{const _0x4e448a=a2_0x2830ac,_0x3e3f7e=new WorkflowPushCommand(),_0x20b9be=program['opts'](),_0xf63d4d=await createTDXInstance(_0x20b9be),_0x30c0fb=await _0x3e3f7e[_0x4e448a(0x91)]({'options':{..._0x20b9be,..._0x23ff56},'args':_0xb878bd?[_0xb878bd]:[],'tdx':_0xf63d4d});gracefulExit(_0x30c0fb);}),workflowCmd[a2_0x2830ac(0x2fd)]('upload\x20[project-name-or-dir]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x260))['option'](a2_0x2830ac(0x34b),'Override\x20project\x20name')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x290),'Revision\x20name\x20(default:\x20timestamp)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x243),a2_0x2830ac(0x2cf))[a2_0x2830ac(0xd3)](async(_0x17e9ec,_0xd9e42a)=>{const _0x3a7bd6=a2_0x2830ac,_0x50c188=new WorkflowUploadCommand(),_0x2f2851=program[_0x3a7bd6(0x2be)](),_0x155559=await createTDXInstance(_0x2f2851),_0x1a0f3d=await _0x50c188[_0x3a7bd6(0x91)]({'options':{..._0x2f2851,..._0xd9e42a},'args':_0x17e9ec?[_0x17e9ec]:[],'tdx':_0x155559});gracefulExit(_0x1a0f3d);}),workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x191))[a2_0x2830ac(0x137)](a2_0x2830ac(0x1df))['option'](a2_0x2830ac(0x34b),a2_0x2830ac(0x339))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x290),'Custom\x20revision\x20name\x20(default:\x20timestamp)')['option'](a2_0x2830ac(0x111),a2_0x2830ac(0x147))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x243),a2_0x2830ac(0x2cf))[a2_0x2830ac(0xd3)](async(_0x496a67,_0xdda63f)=>{const _0x31c767=a2_0x2830ac,_0x2168bc=new WorkflowCloneCommand(),_0x319ea5=program[_0x31c767(0x2be)](),_0x2fadd6=await createTDXInstance(_0x319ea5),_0x4afd0b=await _0x2168bc[_0x31c767(0x91)]({'options':{..._0x319ea5,..._0xdda63f},'args':_0x496a67?[_0x496a67]:[],'tdx':_0x2fadd6});gracefulExit(_0x4afd0b);}),workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x14e))[a2_0x2830ac(0x137)](a2_0x2830ac(0x13f))[a2_0x2830ac(0xd3)](async(_0x260f88,_0x4ccef7)=>{const _0xa34c3b=a2_0x2830ac,_0x291736=new WorkflowDeleteCommand(),_0x26b7df=program[_0xa34c3b(0x2be)](),_0x138802=await createTDXInstance(_0x26b7df),_0x34a5b2=await _0x291736[_0xa34c3b(0x91)]({'options':{..._0x26b7df,..._0x4ccef7},'args':[_0x260f88],'tdx':_0x138802});gracefulExit(_0x34a5b2);}),workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x296))[a2_0x2830ac(0x137)](a2_0x2830ac(0x15f))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x214),a2_0x2830ac(0x2f6))[a2_0x2830ac(0xd3)](async(_0x5522b8,_0x54607d)=>{const _0x43c7a7=a2_0x2830ac,_0x39ac93=new WorkflowUseCommand(),_0x567bc4=program['opts'](),_0x1035aa=await createTDXInstance(_0x567bc4),_0x1ad22e=await _0x39ac93[_0x43c7a7(0x91)]({'options':{..._0x567bc4,..._0x54607d},'args':_0x5522b8?[_0x5522b8]:[],'tdx':_0x1035aa});gracefulExit(_0x1ad22e);});const wfSecretsCmd=workflowCmd['command'](a2_0x2830ac(0x1d6))[a2_0x2830ac(0x137)]('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x2dc))[a2_0x2830ac(0x137)](a2_0x2830ac(0x231))[a2_0x2830ac(0xd3)](async(_0x1f8caa,_0x5633dc)=>{const _0x267a62=a2_0x2830ac,_0x14be77=new WorkflowSecretsListCommand(),_0x297c5e=program[_0x267a62(0x2be)](),_0x35ad07=await createTDXInstance(_0x297c5e),_0x5db9ad=await _0x14be77['run']({'options':{..._0x297c5e,..._0x5633dc},'args':_0x1f8caa?[_0x1f8caa]:[],'tdx':_0x35ad07});gracefulExit(_0x5db9ad);}),wfSecretsCmd['command'](a2_0x2830ac(0x2ac))[a2_0x2830ac(0x137)]('Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])')[a2_0x2830ac(0xd3)](async(_0xfae57b,_0x32702a)=>{const _0x522cad=a2_0x2830ac,_0x2f593a=new WorkflowSecretsSetCommand(),_0x38ca31=program[_0x522cad(0x2be)](),_0x16eeb7=await createTDXInstance(_0x38ca31),_0x23edeb=await _0x2f593a[_0x522cad(0x91)]({'options':{..._0x38ca31,..._0x32702a},'args':_0xfae57b,'tdx':_0x16eeb7});gracefulExit(_0x23edeb);}),wfSecretsCmd[a2_0x2830ac(0x2fd)]('delete\x20<args...>')[a2_0x2830ac(0x137)]('Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)')[a2_0x2830ac(0xd3)](async(_0x139c42,_0x472d20)=>{const _0x320ff3=a2_0x2830ac,_0x26c419=new WorkflowSecretsDeleteCommand(),_0x5891e9=program[_0x320ff3(0x2be)](),_0x45a24f=await createTDXInstance(_0x5891e9),_0x4bc49c=await _0x26c419[_0x320ff3(0x91)]({'options':{..._0x5891e9,..._0x472d20},'args':_0x139c42,'tdx':_0x45a24f});gracefulExit(_0x4bc49c);});const jobCmd=program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x28a))[a2_0x2830ac(0x137)](a2_0x2830ac(0xf3)),jobListAction=async _0x5425be=>{const _0xb44804=a2_0x2830ac,_0x699481=new JobListCommand(),_0x5f28c8=program[_0xb44804(0x2be)](),_0x4ad0ee=await createTDXInstance(_0x5f28c8),_0x11d13a=await _0x699481[_0xb44804(0x91)]({'options':{..._0x5f28c8,..._0x5425be},'args':[],'tdx':_0x4ad0ee});gracefulExit(_0x11d13a);};jobCmd[a2_0x2830ac(0x2fd)]('list')[a2_0x2830ac(0x137)](a2_0x2830ac(0x225))[a2_0x2830ac(0xd9)]('--status\x20<status>',a2_0x2830ac(0x27a))[a2_0x2830ac(0xd3)](jobListAction),program[a2_0x2830ac(0x2fd)]('jobs',{'hidden':!![]})[a2_0x2830ac(0x137)](a2_0x2830ac(0xc4))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x173),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')['action'](jobListAction),jobCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x29d))[a2_0x2830ac(0x137)](a2_0x2830ac(0x16e))['action'](async(_0x234e79,_0x1b56ed)=>{const _0xb5d001=a2_0x2830ac,_0x48ae56=new JobShowCommand(),_0x2a7300=program[_0xb5d001(0x2be)](),_0x42cb68=await createTDXInstance(_0x2a7300),_0x1a060e=await _0x48ae56[_0xb5d001(0x91)]({'options':{..._0x2a7300,..._0x1b56ed},'args':[_0x234e79],'tdx':_0x42cb68});gracefulExit(_0x1a060e);}),jobCmd[a2_0x2830ac(0x2fd)]('kill\x20<job-id>')[a2_0x2830ac(0x137)](a2_0x2830ac(0xe2))['action'](async(_0x3f0116,_0x592b4b)=>{const _0x1722f5=a2_0x2830ac,_0x59dea8=new JobKillCommand(),_0x348d1a=program['opts'](),_0x56a238=await createTDXInstance(_0x348d1a),_0x956f4f=await _0x59dea8[_0x1722f5(0x91)]({'options':{..._0x348d1a,..._0x592b4b},'args':[_0x3f0116],'tdx':_0x56a238});gracefulExit(_0x956f4f);}),jobCmd['command'](a2_0x2830ac(0x1f8))[a2_0x2830ac(0x137)](a2_0x2830ac(0xa2))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x34f),a2_0x2830ac(0x11d),a2_0x2830ac(0x2b9))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2f7),a2_0x2830ac(0x1ab))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x295),a2_0x2830ac(0x18a),a2_0x2830ac(0x2fc))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2f0),a2_0x2830ac(0x336))[a2_0x2830ac(0xd3)](async(_0x2175e4,_0x5618cd)=>{const _0x385acd=a2_0x2830ac,_0x2ade96=new JobSubmitCommand(),_0xd8983d=program['opts'](),_0x1ff657=await createTDXInstance(_0xd8983d),_0x47ea9d=await _0x2ade96[_0x385acd(0x91)]({'options':{..._0xd8983d,..._0x5618cd},'args':_0x2175e4?[_0x2175e4]:[],'tdx':_0x1ff657});gracefulExit(_0x47ea9d);}),jobCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xf8))[a2_0x2830ac(0x137)](a2_0x2830ac(0x1c6))[a2_0x2830ac(0xd3)](async(_0x298fef,_0x316497)=>{const _0x391a08=a2_0x2830ac,_0x38aced=new JobResultCommand(),_0x196b33=program[_0x391a08(0x2be)](),_0x540e64=await createTDXInstance(_0x196b33),_0x5e1fb1=await _0x38aced[_0x391a08(0x91)]({'options':{..._0x196b33,..._0x316497},'args':[_0x298fef],'tdx':_0x540e64});gracefulExit(_0x5e1fb1);});const scheduleCmd=jobCmd['command']('schedule')[a2_0x2830ac(0x137)](a2_0x2830ac(0xdd));scheduleCmd['command'](a2_0x2830ac(0x203))['description'](a2_0x2830ac(0x2cd))['action'](async(_0x3cc347,_0xf320e0)=>{const _0x17d900=a2_0x2830ac,_0x60c395=new ScheduleListCommand(),_0x4c4875=program[_0x17d900(0x2be)](),_0x572c30=await createTDXInstance(_0x4c4875),_0x5d3102=await _0x60c395[_0x17d900(0x91)]({'options':{..._0x4c4875,..._0xf320e0},'args':_0x3cc347?[_0x3cc347]:[],'tdx':_0x572c30});gracefulExit(_0x5d3102);}),scheduleCmd[a2_0x2830ac(0x2fd)]('show\x20<name>')[a2_0x2830ac(0x137)](a2_0x2830ac(0x1db))[a2_0x2830ac(0xd3)](async(_0x1c7d7d,_0x200da9)=>{const _0xeca9e9=a2_0x2830ac,_0x5f5488=new ScheduleShowCommand(),_0xd34e89=program[_0xeca9e9(0x2be)](),_0x137fcb=await createTDXInstance(_0xd34e89),_0x10d0ba=await _0x5f5488['run']({'options':{..._0xd34e89,..._0x200da9},'args':[_0x1c7d7d],'tdx':_0x137fcb});gracefulExit(_0x10d0ba);}),scheduleCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1d1))['description'](a2_0x2830ac(0x332))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xc5),a2_0x2830ac(0x199))['option']('--in\x20<db>',a2_0x2830ac(0x186))[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x2f7),a2_0x2830ac(0x1ab))['option']('--type\x20<type>','Query\x20type:\x20trino\x20or\x20hive','trino')['option'](a2_0x2830ac(0x341),a2_0x2830ac(0x17d))[a2_0x2830ac(0xd9)]('--timezone\x20<tz>',a2_0x2830ac(0x224))[a2_0x2830ac(0xd9)]('--delay\x20<seconds>',a2_0x2830ac(0x90))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1ae),a2_0x2830ac(0x293))[a2_0x2830ac(0xd9)]('--retry-limit\x20<0~32>',a2_0x2830ac(0x1ba))['option']('--engine-version\x20<version>','Query\x20engine\x20version')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2af),a2_0x2830ac(0x169))[a2_0x2830ac(0xd3)](async(_0x1ba65c,_0x437362)=>{const _0xf338f6=a2_0x2830ac,_0x1b8318=new ScheduleCreateCommand(),_0x564c31=program[_0xf338f6(0x2be)](),_0x52247d=await createTDXInstance(_0x564c31);_0x437362['in']&&(_0x437362[_0xf338f6(0x2a8)]=_0x437362['in']);const _0x386334=await _0x1b8318['run']({'options':{..._0x564c31,..._0x437362},'args':[_0x1ba65c],'tdx':_0x52247d});gracefulExit(_0x386334);}),scheduleCmd['command'](a2_0x2830ac(0xda))[a2_0x2830ac(0x137)]('Update\x20a\x20scheduled\x20query')[a2_0x2830ac(0xd9)](a2_0x2830ac(0xc5),'Database\x20name')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x24c),a2_0x2830ac(0x186))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2f7),a2_0x2830ac(0x1ab))['option'](a2_0x2830ac(0x2d7),a2_0x2830ac(0x19e))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x341),a2_0x2830ac(0x17d))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1a6),'Timezone\x20for\x20cron')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2b6),a2_0x2830ac(0x90))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1ae),a2_0x2830ac(0x293))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x171),a2_0x2830ac(0x1ba))['option'](a2_0x2830ac(0x2e1),a2_0x2830ac(0x84))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2af),'Result\x20output\x20destination\x20URL')[a2_0x2830ac(0xd3)](async(_0x5109bc,_0x3e4dc2)=>{const _0x5a5d97=a2_0x2830ac,_0x29eb83=new ScheduleUpdateCommand(),_0x57f3e6=program[_0x5a5d97(0x2be)](),_0x59d908=await createTDXInstance(_0x57f3e6);_0x3e4dc2['in']&&(_0x3e4dc2[_0x5a5d97(0x2a8)]=_0x3e4dc2['in']);const _0x54837d=await _0x29eb83[_0x5a5d97(0x91)]({'options':{..._0x57f3e6,..._0x3e4dc2},'args':[_0x5109bc],'tdx':_0x59d908});gracefulExit(_0x54837d);}),scheduleCmd['command'](a2_0x2830ac(0x1c9))[a2_0x2830ac(0x137)](a2_0x2830ac(0x1be))[a2_0x2830ac(0xd3)](async(_0x2e1aa1,_0x5566c3)=>{const _0x5cdf43=a2_0x2830ac,_0x54e86c=new ScheduleDeleteCommand(),_0x10f1d6=program[_0x5cdf43(0x2be)](),_0x3fad4c=await createTDXInstance(_0x10f1d6),_0x404189=await _0x54e86c[_0x5cdf43(0x91)]({'options':{..._0x10f1d6,..._0x5566c3},'args':[_0x2e1aa1],'tdx':_0x3fad4c});gracefulExit(_0x404189);}),scheduleCmd['command'](a2_0x2830ac(0xce))[a2_0x2830ac(0x137)](a2_0x2830ac(0x17f))['option']('--time\x20<iso8601>','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0xb0),'Number\x20of\x20executions\x20(1-10,\x20default:\x201)')[a2_0x2830ac(0xd3)](async(_0x1be749,_0x24bf7d)=>{const _0x4aa588=a2_0x2830ac,_0x1ccca6=new ScheduleRunCommand(),_0x4e1469=program[_0x4aa588(0x2be)](),_0x367821=await createTDXInstance(_0x4e1469),_0x1132a6=await _0x1ccca6[_0x4aa588(0x91)]({'options':{..._0x4e1469,..._0x24bf7d},'args':[_0x1be749],'tdx':_0x367821});gracefulExit(_0x1132a6);}),scheduleCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1fc))[a2_0x2830ac(0x137)](a2_0x2830ac(0x318))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x27c),a2_0x2830ac(0x10e))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xcd),a2_0x2830ac(0x2ff))['action'](async(_0x5f51e7,_0x1c4bd1)=>{const _0x347e4d=a2_0x2830ac,_0x53780e=new ScheduleHistoryCommand(),_0x460c84=program[_0x347e4d(0x2be)](),_0x1a78a7=await createTDXInstance(_0x460c84),_0x5affbc=await _0x53780e[_0x347e4d(0x91)]({'options':{..._0x460c84,..._0x1c4bd1},'args':[_0x5f51e7],'tdx':_0x1a78a7});gracefulExit(_0x5affbc);});const llmCmd=program['command'](a2_0x2830ac(0x20d))[a2_0x2830ac(0x137)](a2_0x2830ac(0x15d));llmCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xa6))[a2_0x2830ac(0x137)](a2_0x2830ac(0x2ba))[a2_0x2830ac(0xd3)](async(_0x559730,_0xb33c5a)=>{const _0x2c1c60=a2_0x2830ac,_0x240840=new LLMUseCommand(),_0x39d833=program['opts'](),_0x401bb3=await createTDXInstance(_0x39d833),_0x169156=await _0x240840[_0x2c1c60(0x91)]({'options':{..._0x39d833,..._0xb33c5a},'args':[_0x559730],'tdx':_0x401bb3});gracefulExit(_0x169156);}),llmCmd['command'](a2_0x2830ac(0xc2))['description']('List\x20available\x20LLM\x20models')[a2_0x2830ac(0xd3)](async _0x19da8d=>{const _0x5cda10=new LLMModelsCommand(),_0x205dce=program['opts'](),_0xeb5792=await createTDXInstance(_0x205dce),_0x5116d0=await _0x5cda10['run']({'options':{..._0x205dce,..._0x19da8d},'args':[],'tdx':_0xeb5792});gracefulExit(_0x5116d0);});const projectCmd=llmCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x16c))[a2_0x2830ac(0x137)]('LLM\x20project\x20management'),llmProjectListAction=async(_0x2e45b4,_0x5748ff)=>{const _0x46e49b=a2_0x2830ac,_0x2218fb=new LLMProjectsCommand(),_0x406b75=program[_0x46e49b(0x2be)](),_0x38bfea=await createTDXInstance(_0x406b75),_0x2cbffe=await _0x2218fb[_0x46e49b(0x91)]({'options':{..._0x406b75,..._0x5748ff},'args':_0x2e45b4?[_0x2e45b4]:[],'tdx':_0x38bfea});gracefulExit(_0x2cbffe);};projectCmd[a2_0x2830ac(0x2fd)]('list\x20[pattern]')['description'](a2_0x2830ac(0xa3))['action'](llmProjectListAction),llmCmd['command'](a2_0x2830ac(0x1cc))[a2_0x2830ac(0x137)](a2_0x2830ac(0x2f3))[a2_0x2830ac(0xd3)](llmProjectListAction),projectCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1d1))['description']('Create\x20a\x20new\x20LLM\x20project')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1f1),'Project\x20description')[a2_0x2830ac(0xd3)](async(_0x2456f4,_0x141a7e)=>{const _0x1ae856=a2_0x2830ac,_0x501bc0=new LLMProjectCreateCommand(),_0x420d1b=program[_0x1ae856(0x2be)](),_0x1e988e=await createTDXInstance(_0x420d1b),_0x5d67f3=await _0x501bc0[_0x1ae856(0x91)]({'options':{..._0x420d1b,..._0x141a7e},'args':[_0x2456f4],'tdx':_0x1e988e});gracefulExit(_0x5d67f3);}),projectCmd['command']('delete\x20<name>')[a2_0x2830ac(0x137)](a2_0x2830ac(0x1d2))[a2_0x2830ac(0xd3)](async(_0x4c81c3,_0xba2ab9)=>{const _0x2ac2b6=a2_0x2830ac,_0x283494=new LLMProjectDeleteCommand(),_0x4caca3=program[_0x2ac2b6(0x2be)](),_0x2ed0d1=await createTDXInstance(_0x4caca3),_0x3143fe=await _0x283494[_0x2ac2b6(0x91)]({'options':{..._0x4caca3,..._0xba2ab9},'args':[_0x4c81c3],'tdx':_0x2ed0d1});gracefulExit(_0x3143fe);}),projectCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1cb))[a2_0x2830ac(0x137)]('[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)')['option'](a2_0x2830ac(0x324),a2_0x2830ac(0x297))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x111),a2_0x2830ac(0x2e4))[a2_0x2830ac(0xd3)](async(_0x4ad004,_0x1b6edc)=>{const _0x1fbd10=a2_0x2830ac,_0x523271=new LLMProjectBackupCommand(),_0x22bb53=program[_0x1fbd10(0x2be)](),_0x3e56f3=await createTDXInstance(_0x22bb53),_0x1d9f70=await _0x523271[_0x1fbd10(0x91)]({'options':{..._0x22bb53,..._0x1b6edc},'args':[_0x4ad004],'tdx':_0x3e56f3});gracefulExit(_0x1d9f70);}),projectCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xfd))[a2_0x2830ac(0x137)](a2_0x2830ac(0x2a7))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x11e),a2_0x2830ac(0x1ce))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x111),'Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')[a2_0x2830ac(0xd3)](async(_0x326098,_0x938be3)=>{const _0x1432c0=a2_0x2830ac,_0x1cee9e=new LLMProjectRestoreCommand(),_0x31a137=program[_0x1432c0(0x2be)](),_0x3ccf85=await createTDXInstance(_0x31a137),_0x59930a=await _0x1cee9e[_0x1432c0(0x91)]({'options':{..._0x31a137,..._0x938be3},'args':[_0x326098],'tdx':_0x3ccf85});gracefulExit(_0x59930a);});const llmAgentListAction=async(_0x58baf3,_0x38df7a)=>{const _0x5e41a9=a2_0x2830ac,_0x3b3db0=new LLMAgentsCommand(),_0x40766b=program['opts'](),_0x51fb2b=await createTDXInstance(_0x40766b),_0x58d612=await _0x3b3db0[_0x5e41a9(0x91)]({'options':{..._0x40766b,..._0x38df7a},'args':_0x58baf3?[_0x58baf3]:[],'tdx':_0x51fb2b});gracefulExit(_0x58d612);};llmCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1b0))[a2_0x2830ac(0x137)]('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')['action'](llmAgentListAction),program[a2_0x2830ac(0x2fd)]('agents\x20[pattern]')[a2_0x2830ac(0x137)](a2_0x2830ac(0xab))[a2_0x2830ac(0xd3)](llmAgentListAction),llmCmd['command']('history\x20[chat-id]')['description']('Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)')['option'](a2_0x2830ac(0x8c),a2_0x2830ac(0x13a))[a2_0x2830ac(0xd3)](async(_0x4c9160,_0x464f99)=>{const _0x285d18=a2_0x2830ac,_0x1fddfb=new LLMHistoryCommand(),_0x4d56e0=program['opts'](),_0x5cecb3=await createTDXInstance(_0x4d56e0),_0x1c9d0b=await _0x1fddfb[_0x285d18(0x91)]({'options':{..._0x4d56e0,..._0x464f99},'args':_0x4c9160?[_0x4c9160]:[],'tdx':_0x5cecb3});gracefulExit(_0x1c9d0b);});isExperimentalAvailable()&&llmCmd[a2_0x2830ac(0x2fd)]('log\x20<chat-id>')[a2_0x2830ac(0x137)](a2_0x2830ac(0x1da))['action'](async(_0x5163a6,_0x3e080a)=>{const _0xc7d6af=a2_0x2830ac,_0x520b78=new LLMLogCommand(),_0x377fa3=program['opts'](),_0x2eb04d=await createTDXInstance(_0x377fa3),_0x29d731=await _0x520b78[_0xc7d6af(0x91)]({'options':{..._0x377fa3,..._0x3e080a},'args':[_0x5163a6],'tdx':_0x2eb04d});gracefulExit(_0x29d731);});program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x94))[a2_0x2830ac(0x1e3)]('[options]\x20--\x20[claude-code-args...]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x286))['option'](a2_0x2830ac(0x12b),'Continue\x20most\x20recent\x20conversation')[a2_0x2830ac(0xd9)]('-r,\x20--resume',a2_0x2830ac(0x2c6))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1c4),a2_0x2830ac(0x32c))['allowUnknownOption']()[a2_0x2830ac(0x229)](!![])[a2_0x2830ac(0x343)](a2_0x2830ac(0x10a),a2_0x2830ac(0x2e0))[a2_0x2830ac(0xd3)](async(_0x542fd9,_0x368c17)=>{const _0x1b478a=a2_0x2830ac,_0x1d3c21=program[_0x1b478a(0x2be)](),_0x1f2b7b=Array[_0x1b478a(0x2c5)](_0x542fd9)?_0x542fd9:[];if(_0x1f2b7b[0x0]===_0x1b478a(0x20c)){const _0x9b7e51=new ClaudeStatuslineCommand(),_0x3ac62c=await _0x9b7e51[_0x1b478a(0x91)]({'options':{..._0x1d3c21,..._0x368c17},'args':_0x1f2b7b['slice'](0x1),'tdx':null});gracefulExit(_0x3ac62c);}if(_0x1f2b7b[0x0]===_0x1b478a(0x1e3)){const _0x27eb8a=new ClaudeUsageCommand(),_0x50ef7c=await _0x27eb8a[_0x1b478a(0x91)]({'options':{..._0x1d3c21,..._0x368c17},'args':_0x1f2b7b[_0x1b478a(0x344)](0x1),'tdx':null});gracefulExit(_0x50ef7c);}const _0x246459=new ClaudeCommand(),_0x2f258b=await createTDXInstance(_0x1d3c21),_0x437033=await _0x246459[_0x1b478a(0x91)]({'options':{..._0x1d3c21,..._0x368c17},'args':_0x1f2b7b,'tdx':_0x2f258b});gracefulExit(_0x437033);}),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x2ee))['description'](a2_0x2830ac(0x298))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x214),a2_0x2830ac(0x87))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x28f),a2_0x2830ac(0x28d))['action'](async(_0x5ebf29,_0x3abda3,_0x29e476)=>{const _0x96931=a2_0x2830ac,_0x1976db=new UseCommand(),_0x3fe808=program['opts'](),_0x374854=[];if(_0x5ebf29)_0x374854[_0x96931(0x2c9)](_0x5ebf29);if(_0x3abda3)_0x374854[_0x96931(0x2c9)](_0x3abda3);const _0x470491=_0x5ebf29===_0x96931(0x7a),_0x2e9608=_0x470491?await createTDXInstance(_0x3fe808):null,_0xd070fa=await _0x1976db[_0x96931(0x91)]({'options':{..._0x3fe808,..._0x29e476},'args':_0x374854,'tdx':_0x2e9608});gracefulExit(_0xd070fa);}),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x2f5))[a2_0x2830ac(0x137)]('Show\x20authentication\x20status\x20and\x20current\x20context')[a2_0x2830ac(0xd3)](async _0x156c4a=>{const _0x2d662b=a2_0x2830ac,_0x1d26df=new StatusCommand(),_0x48c044=program['opts'](),_0x45bc34=await createTDXInstance(_0x48c044),_0xb7743=await _0x1d26df[_0x2d662b(0x91)]({'options':{..._0x48c044,..._0x156c4a},'args':[],'tdx':_0x45bc34});gracefulExit(_0xb7743);}),program[a2_0x2830ac(0x2fd)]('upgrade\x20[version]')['description'](a2_0x2830ac(0x1c3))['option'](a2_0x2830ac(0x111),a2_0x2830ac(0xbd))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2ae),a2_0x2830ac(0x201))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2bf),'Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)')[a2_0x2830ac(0xd3)](async(_0x2d3386,_0x2f5a7f)=>{const _0x4f259a=a2_0x2830ac,_0x16c1d0=new UpgradeCommand(),_0x597f18=program[_0x4f259a(0x2be)](),_0x489f32=await _0x16c1d0[_0x4f259a(0x91)]({'options':{..._0x597f18,..._0x2f5a7f},'args':_0x2d3386?[_0x2d3386]:[],'tdx':null});gracefulExit(_0x489f32);}),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xaf))['description'](a2_0x2830ac(0xf6))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x28f),a2_0x2830ac(0x2d2))[a2_0x2830ac(0xd3)](async(_0x28aa5,_0x48ed74)=>{const _0x2c7141=a2_0x2830ac,_0x2fff26=new UnsetCommand(),_0x350580=program[_0x2c7141(0x2be)](),_0x10ad53=await _0x2fff26[_0x2c7141(0x91)]({'options':{..._0x350580,..._0x48ed74},'args':[_0x28aa5],'tdx':null});gracefulExit(_0x10ad53);}),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xb1))[a2_0x2830ac(0x137)](a2_0x2830ac(0xb4))['option'](a2_0x2830ac(0x8c),'Show\x20the\x20most\x20recent\x20chat')['action'](async _0x30618f=>{const _0x4b0269=new ChatsCommand(),_0x27e26e=program['opts'](),_0x15e9d4=await createTDXInstance(_0x27e26e),_0x266c90=await _0x4b0269['run']({'options':{..._0x27e26e,..._0x30618f},'args':[],'tdx':_0x15e9d4});gracefulExit(_0x266c90);});const authCmd=program[a2_0x2830ac(0x2fd)]('auth')[a2_0x2830ac(0x137)](a2_0x2830ac(0x2c0));async function runAuthStatusCommand(_0x575f22){const _0x16e581=new AuthStatusCommand(),_0x4f95cb=program['opts'](),_0x297825=await createTDXInstance(_0x4f95cb),_0xb6cde5=await _0x16e581['run']({'options':{..._0x4f95cb,..._0x575f22},'args':[],'tdx':_0x297825});gracefulExit(_0xb6cde5);}authCmd[a2_0x2830ac(0xd3)](runAuthStatusCommand),authCmd[a2_0x2830ac(0x2fd)]('status')[a2_0x2830ac(0x137)](a2_0x2830ac(0x24e))['action'](runAuthStatusCommand),authCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xeb))['description'](a2_0x2830ac(0xa5))[a2_0x2830ac(0x343)](a2_0x2830ac(0x10a),a2_0x2830ac(0x151))[a2_0x2830ac(0xd3)](async _0x5a9758=>{const _0x4df56e=a2_0x2830ac,_0x40a772=new AuthSetupCommand(),_0x59a47f=program[_0x4df56e(0x2be)](),_0x2740d6=await createTDXInstance(_0x59a47f),_0x1dc13b=await _0x40a772[_0x4df56e(0x91)]({'options':{..._0x59a47f,..._0x5a9758},'args':[],'tdx':_0x2740d6});gracefulExit(_0x1dc13b);}),authCmd[a2_0x2830ac(0x2fd)]('login')[a2_0x2830ac(0x137)](a2_0x2830ac(0x272))[a2_0x2830ac(0x343)](a2_0x2830ac(0x10a),a2_0x2830ac(0x274))[a2_0x2830ac(0xd3)](async _0x1bf5a1=>{const _0x792e73=a2_0x2830ac,_0x5db14b=new AuthLoginCommand(),_0x345f2f=program[_0x792e73(0x2be)](),_0x5aea2f=await _0x5db14b[_0x792e73(0x91)]({'options':{..._0x345f2f,..._0x1bf5a1},'args':[],'tdx':null});gracefulExit(_0x5aea2f);}),authCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xd4))[a2_0x2830ac(0x137)](a2_0x2830ac(0x81))[a2_0x2830ac(0x343)](a2_0x2830ac(0x10a),a2_0x2830ac(0x83))[a2_0x2830ac(0xd3)](async _0x711d37=>{const _0x1ee7a2=new AuthClearCommand(),_0x28c219=program['opts'](),_0x21b1a2=await _0x1ee7a2['run']({'options':{..._0x28c219,..._0x711d37},'args':[],'tdx':null});gracefulExit(_0x21b1a2);});const userCmd=program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x282))['description'](a2_0x2830ac(0x12c)),userListAction=async _0xbd685a=>{const _0x1a30cf=a2_0x2830ac,_0x34a9a6=new UserListCommand(),_0x9fe16e=program[_0x1a30cf(0x2be)](),_0x5d2a98=await createTDXInstance(_0x9fe16e),_0x44922f=await _0x34a9a6[_0x1a30cf(0x91)]({'options':{..._0x9fe16e,..._0xbd685a},'args':[],'tdx':_0x5d2a98});gracefulExit(_0x44922f);};userCmd['action'](async _0x452daa=>{const _0x194d46=a2_0x2830ac,_0x39addd=new UserCommand(),_0x317364=program[_0x194d46(0x2be)](),_0x2f29d2=await createTDXInstance(_0x317364),_0xb91880=await _0x39addd['run']({'options':{..._0x317364,..._0x452daa},'args':[],'tdx':_0x2f29d2});gracefulExit(_0xb91880);}),userCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x319))[a2_0x2830ac(0x137)]('List\x20all\x20users\x20in\x20the\x20account')[a2_0x2830ac(0xd3)](userListAction),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x187))[a2_0x2830ac(0x137)]('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')[a2_0x2830ac(0xd3)](userListAction),program[a2_0x2830ac(0x2fd)]('profiles')['description']('List\x20all\x20available\x20profiles')[a2_0x2830ac(0xd3)](async _0xe7af92=>{const _0x49150a=new ProfilesCommand(),_0x19d5ed=program['opts'](),_0x2f75ce=await _0x49150a['run']({'options':{..._0x19d5ed,..._0xe7af92},'args':[],'tdx':null});gracefulExit(_0x2f75ce);});const profileCmd=program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x14b))[a2_0x2830ac(0x137)](a2_0x2830ac(0x154));profileCmd[a2_0x2830ac(0xd3)](()=>{const _0xd91e52=a2_0x2830ac;profileCmd[_0xd91e52(0x12e)]();});const profileListAction=async _0x4adb91=>{const _0x544973=a2_0x2830ac,_0x5e3de5=new ProfilesCommand(),_0x56abf8=program[_0x544973(0x2be)](),_0x468caf=await _0x5e3de5['run']({'options':{..._0x56abf8,..._0x4adb91},'args':[],'tdx':null});gracefulExit(_0x468caf);};profileCmd['command'](a2_0x2830ac(0x319))[a2_0x2830ac(0x137)](a2_0x2830ac(0x172))[a2_0x2830ac(0xd3)](profileListAction),profileCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x34e))[a2_0x2830ac(0x137)](a2_0x2830ac(0x134))[a2_0x2830ac(0x343)]('after',a2_0x2830ac(0x1c0))['action'](async(_0x32cbd1,_0x48e122)=>{const _0x5f1b4d=new ProfileCreateCommand(),_0x38c200=program['opts'](),_0x19c54a=await _0x5f1b4d['run']({'options':{..._0x38c200,..._0x48e122},'args':_0x32cbd1?[_0x32cbd1]:[],'tdx':null});gracefulExit(_0x19c54a);}),profileCmd[a2_0x2830ac(0x2fd)]('remove\x20<name>')[a2_0x2830ac(0x137)]('Remove\x20a\x20profile')[a2_0x2830ac(0x343)](a2_0x2830ac(0x10a),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a')[a2_0x2830ac(0xd3)](async(_0x2631d6,_0x4789d4)=>{const _0x5cbca3=a2_0x2830ac,_0x3857f6=new ProfileRemoveCommand(),_0x208138=program[_0x5cbca3(0x2be)](),_0x3a6b56=await _0x3857f6[_0x5cbca3(0x91)]({'options':{..._0x208138,..._0x4789d4},'args':[_0x2631d6],'tdx':null});gracefulExit(_0x3a6b56);}),profileCmd['command'](a2_0x2830ac(0x1e9))[a2_0x2830ac(0x137)](a2_0x2830ac(0x299))[a2_0x2830ac(0x343)]('after',a2_0x2830ac(0x288))[a2_0x2830ac(0xd3)](async(_0x297823,_0x4667bb)=>{const _0x434fc4=a2_0x2830ac,_0x7722d=new ProfileSetCommand(),_0x5b5d29=program[_0x434fc4(0x2be)](),_0x8bb927=await _0x7722d['run']({'options':{..._0x5b5d29,..._0x4667bb},'args':[_0x297823],'tdx':null});gracefulExit(_0x8bb927);}),profileCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x29c))[a2_0x2830ac(0x137)](a2_0x2830ac(0x255))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x28f),a2_0x2830ac(0x28d))[a2_0x2830ac(0x343)]('after','\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_0x2830ac(0xd3)](async(_0x38f4fd,_0x7d0ec)=>{const _0x5385aa=a2_0x2830ac,_0x8222aa=new ProfileUseCommand(),_0x2f5a33=program[_0x5385aa(0x2be)](),_0x4976ca=await _0x8222aa[_0x5385aa(0x91)]({'options':{..._0x2f5a33,..._0x7d0ec},'args':[_0x38f4fd],'tdx':null});gracefulExit(_0x4976ca);});const engageCmd=program['command'](a2_0x2830ac(0x21e))['description'](a2_0x2830ac(0x256)),createEngageAction=_0x32d26b=>{return async(_0x1461fa,_0x20768f)=>{const _0x29ca0a=a2_0xc295,_0x3c00fb=new _0x32d26b(),_0x492ff0=program[_0x29ca0a(0x2be)](),_0x225d19=await createTDXInstance(_0x492ff0),_0x2e817e=await _0x3c00fb[_0x29ca0a(0x91)]({'options':{..._0x492ff0,..._0x20768f},'args':[_0x1461fa],'tdx':_0x225d19});gracefulExit(_0x2e817e);};},createEngageNoArgAction=_0x3bfd62=>{return async _0x4f8a5f=>{const _0xc44a69=a2_0xc295,_0x3345d8=new _0x3bfd62(),_0x56b8bb=program[_0xc44a69(0x2be)](),_0x56f16b=await createTDXInstance(_0x56b8bb),_0x2591a0=await _0x3345d8[_0xc44a69(0x91)]({'options':{..._0x56b8bb,..._0x4f8a5f},'args':[],'tdx':_0x56f16b});gracefulExit(_0x2591a0);};},createEngageListAction=_0x496912=>{return async(_0x24e7fb,_0x250ae4)=>{const _0x4a02f1=a2_0xc295,_0x13b8fc=new _0x496912(),_0x182949=program['opts'](),_0x46711a=await createTDXInstance(_0x182949),_0xfe4cdf=await _0x13b8fc[_0x4a02f1(0x91)]({'options':{..._0x182949,..._0x250ae4},'args':_0x24e7fb?[_0x24e7fb]:[],'tdx':_0x46711a});gracefulExit(_0xfe4cdf);};},campaignCmd=engageCmd[a2_0x2830ac(0x2fd)]('campaign')[a2_0x2830ac(0x137)](a2_0x2830ac(0x222));campaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x203))[a2_0x2830ac(0x137)]('List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2d7),a2_0x2830ac(0x2eb))[a2_0x2830ac(0xd9)]('--status\x20<status>','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))[a2_0x2830ac(0xd3)](createEngageListAction(EngageCampaignsCommand)),engageCmd['command'](a2_0x2830ac(0x2f2))[a2_0x2830ac(0x137)](a2_0x2830ac(0x248))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2d7),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x173),a2_0x2830ac(0x1d0))['option'](a2_0x2830ac(0x144),'Workspace\x20name')[a2_0x2830ac(0xd3)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xd2))[a2_0x2830ac(0x137)]('Show\x20campaign\x20details')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1b6),a2_0x2830ac(0x1c1))[a2_0x2830ac(0xd3)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x159))[a2_0x2830ac(0x137)](a2_0x2830ac(0xff))[a2_0x2830ac(0x2e2)]('--name\x20<name>',a2_0x2830ac(0x21b))[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x2d7),a2_0x2830ac(0xed))['option']('--workspace\x20<name>',a2_0x2830ac(0x1de))['option'](a2_0x2830ac(0x7b),'Campaign\x20description')[a2_0x2830ac(0xd9)]('--segment\x20<path>',a2_0x2830ac(0x138))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x130),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x30d),a2_0x2830ac(0xc3))['option'](a2_0x2830ac(0xe1),a2_0x2830ac(0x164))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1a6),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')['action'](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x166))[a2_0x2830ac(0x137)](a2_0x2830ac(0x1a0))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))['option'](a2_0x2830ac(0x34b),'New\x20campaign\x20name')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x7b),'Campaign\x20description')[a2_0x2830ac(0xd9)]('--segment\x20<path>',a2_0x2830ac(0x138))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x130),a2_0x2830ac(0x103))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x30d),a2_0x2830ac(0xc3))['option'](a2_0x2830ac(0xe1),a2_0x2830ac(0x164))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1a6),a2_0x2830ac(0xba))[a2_0x2830ac(0xd3)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command'](a2_0x2830ac(0xb3))['description'](a2_0x2830ac(0x2da))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2fb),a2_0x2830ac(0x218))[a2_0x2830ac(0xd3)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x194))[a2_0x2830ac(0x137)]('Launch\x20a\x20campaign')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))[a2_0x2830ac(0xd3)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x208))[a2_0x2830ac(0x137)](a2_0x2830ac(0x11f))['option'](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))['action'](createEngageAction(EngageCampaignPauseCommand)),campaignCmd['command'](a2_0x2830ac(0xf4))[a2_0x2830ac(0x137)](a2_0x2830ac(0x307))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),'Workspace\x20name')[a2_0x2830ac(0xd3)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xd1))[a2_0x2830ac(0x137)]('Duplicate\x20a\x20campaign')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),'Workspace\x20name')[a2_0x2830ac(0xd3)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x316))[a2_0x2830ac(0x137)](a2_0x2830ac(0x20b))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x34b),a2_0x2830ac(0x2de))[a2_0x2830ac(0xd9)]('--type\x20<type>',a2_0x2830ac(0x2eb))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x111),a2_0x2830ac(0x2e6))['action'](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x2830ac(0x2fd)]('push\x20[target]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x21d))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))[a2_0x2830ac(0xd9)]('--dry-run',a2_0x2830ac(0x300))[a2_0x2830ac(0xd3)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1e8))[a2_0x2830ac(0x137)](a2_0x2830ac(0x1ee))['option'](a2_0x2830ac(0x2a0),'Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x2830ac(0xd3)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd['command'](a2_0x2830ac(0x1f5))['description'](a2_0x2830ac(0x23d));alwaysOnCampaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x203))[a2_0x2830ac(0x137)](a2_0x2830ac(0x33b))['option']('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x173),a2_0x2830ac(0xcc))['requiredOption'](a2_0x2830ac(0x144),a2_0x2830ac(0x1de))[a2_0x2830ac(0xd3)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x301))[a2_0x2830ac(0x137)]('List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)')['option'](a2_0x2830ac(0x2d7),a2_0x2830ac(0x2eb))['option']('--status\x20<status>',a2_0x2830ac(0xcc))['requiredOption'](a2_0x2830ac(0x144),a2_0x2830ac(0x1de))[a2_0x2830ac(0xd3)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x2830ac(0x2fd)]('show\x20<name-or-id>')['description'](a2_0x2830ac(0x1fb))[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x144),a2_0x2830ac(0x1de))[a2_0x2830ac(0xd9)]('--full',a2_0x2830ac(0x1c1))[a2_0x2830ac(0xd3)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x159))[a2_0x2830ac(0x137)](a2_0x2830ac(0x107))[a2_0x2830ac(0x2e2)]('--name\x20<name>','Campaign\x20name')[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x2d7),a2_0x2830ac(0xed))[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x144),'Workspace\x20name\x20(required)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x7b),a2_0x2830ac(0xef))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x170),a2_0x2830ac(0x281))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x279),a2_0x2830ac(0x18d))[a2_0x2830ac(0xd3)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd['command'](a2_0x2830ac(0x166))[a2_0x2830ac(0x137)](a2_0x2830ac(0x217))['requiredOption'](a2_0x2830ac(0x144),a2_0x2830ac(0x1de))['option'](a2_0x2830ac(0x34b),a2_0x2830ac(0x121))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x7b),a2_0x2830ac(0xef))['option'](a2_0x2830ac(0x170),'Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x279),a2_0x2830ac(0x18d))[a2_0x2830ac(0xd3)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xb3))[a2_0x2830ac(0x137)](a2_0x2830ac(0x277))[a2_0x2830ac(0x2e2)]('--workspace\x20<name>',a2_0x2830ac(0x1de))['option'](a2_0x2830ac(0x2fb),a2_0x2830ac(0x218))[a2_0x2830ac(0xd3)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x2830ac(0x2fd)]('launch\x20<name-or-id>')[a2_0x2830ac(0x137)](a2_0x2830ac(0xde))['requiredOption'](a2_0x2830ac(0x144),a2_0x2830ac(0x1de))['action'](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd['command']('pause\x20<name-or-id>')['description'](a2_0x2830ac(0xd0))[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x144),a2_0x2830ac(0x1de))[a2_0x2830ac(0xd3)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xf4))[a2_0x2830ac(0x137)]('Resume\x20a\x20paused\x20always-on\x20campaign')[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x144),a2_0x2830ac(0x1de))[a2_0x2830ac(0xd3)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd['command'](a2_0x2830ac(0x15a))[a2_0x2830ac(0x137)](a2_0x2830ac(0x33c))[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x144),a2_0x2830ac(0x1de))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2fb),a2_0x2830ac(0x218))['action'](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xd1))['description'](a2_0x2830ac(0x2b8))['requiredOption'](a2_0x2830ac(0x144),a2_0x2830ac(0x1de))[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x34b),'Name\x20for\x20the\x20duplicated\x20campaign')['action'](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x347))['description'](a2_0x2830ac(0xe5));templateCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x203))[a2_0x2830ac(0x137)](a2_0x2830ac(0x16f))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))[a2_0x2830ac(0xd3)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x2830ac(0x2fd)]('templates\x20[pattern]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x330))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))[a2_0x2830ac(0xd3)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xd2))[a2_0x2830ac(0x137)](a2_0x2830ac(0x8d))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))['option'](a2_0x2830ac(0x1b6),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x2830ac(0xd3)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x159))[a2_0x2830ac(0x137)]('Create\x20an\x20email\x20template')[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x34b),a2_0x2830ac(0x2e9))[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x18f),a2_0x2830ac(0x9c))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1bc),a2_0x2830ac(0x25c))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x23e),'Read\x20HTML\x20template\x20from\x20file')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x1de))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2a2),a2_0x2830ac(0x1c5))[a2_0x2830ac(0xd9)]('--editor-type\x20<type>',a2_0x2830ac(0x2c7),_0x11d99f=>{const _0x56b299=a2_0x2830ac;if(![_0x56b299(0x204),_0x56b299(0x2ec)][_0x56b299(0x2d9)](_0x11d99f))throw new SDKError(ErrorCode[_0x56b299(0x120)],_0x56b299(0x242)+_0x11d99f+_0x56b299(0x86));return _0x11d99f;})['action'](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x166))['description'](a2_0x2830ac(0x223))[a2_0x2830ac(0xd9)]('--workspace\x20<name>',a2_0x2830ac(0x30b))['option'](a2_0x2830ac(0x34b),a2_0x2830ac(0x1ff))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x18f),'Email\x20subject\x20template')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1bc),'HTML\x20template\x20content')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x23e),a2_0x2830ac(0x1f7))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2a2),a2_0x2830ac(0x1c5))[a2_0x2830ac(0xd3)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xd7))['description']('Pull\x20templates\x20to\x20YAML\x20files')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))['option']('--name\x20<name>',a2_0x2830ac(0x142))['option'](a2_0x2830ac(0x312),a2_0x2830ac(0x218))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x111),a2_0x2830ac(0x2e6))[a2_0x2830ac(0xd3)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x25d))['description'](a2_0x2830ac(0x305))['option']('--workspace\x20<name>',a2_0x2830ac(0x30b))[a2_0x2830ac(0xd9)]('-y,\x20--yes',a2_0x2830ac(0x218))[a2_0x2830ac(0xd9)]('--dry-run',a2_0x2830ac(0x300))[a2_0x2830ac(0xd3)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1e8))['description']('Validate\x20template\x20YAML\x20files\x20locally')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2a0),a2_0x2830ac(0x115))[a2_0x2830ac(0xd3)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xb3))[a2_0x2830ac(0x137)]('Delete\x20an\x20email\x20template')['option']('--workspace\x20<name>',a2_0x2830ac(0x30b))[a2_0x2830ac(0xd9)]('--yes',a2_0x2830ac(0x218))[a2_0x2830ac(0xd3)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1fe))['description'](a2_0x2830ac(0x12d));workspaceCmd['command']('list\x20[pattern]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x219))[a2_0x2830ac(0xd3)](createEngageListAction(EngageWorkspacesCommand)),engageCmd['command'](a2_0x2830ac(0x213))[a2_0x2830ac(0x137)]('List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)')[a2_0x2830ac(0xd3)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xd2))['description'](a2_0x2830ac(0x264))[a2_0x2830ac(0xd9)]('--full','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x2830ac(0xd3)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x159))[a2_0x2830ac(0x137)](a2_0x2830ac(0x174))['requiredOption']('--name\x20<name>',a2_0x2830ac(0x30b))[a2_0x2830ac(0xd9)]('--description\x20<desc>',a2_0x2830ac(0x22c))[a2_0x2830ac(0xd3)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd['command'](a2_0x2830ac(0x166))[a2_0x2830ac(0x137)](a2_0x2830ac(0x13e))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x34b),a2_0x2830ac(0x304))['option']('--description\x20<desc>',a2_0x2830ac(0x22c))['action'](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xb3))[a2_0x2830ac(0x137)](a2_0x2830ac(0x108))['option'](a2_0x2830ac(0x2fb),'Skip\x20confirmation\x20prompt')[a2_0x2830ac(0xd3)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x29c))[a2_0x2830ac(0x137)](a2_0x2830ac(0x2c1))[a2_0x2830ac(0xd3)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x148))[a2_0x2830ac(0x137)]('Delivery\x20operations\x20(email\x20senders)');deliveryCmd['command'](a2_0x2830ac(0x1b3))[a2_0x2830ac(0x137)](a2_0x2830ac(0x9e))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),'Workspace\x20name')[a2_0x2830ac(0xd3)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program['command'](a2_0x2830ac(0x95))[a2_0x2830ac(0x137)](a2_0x2830ac(0x93)),connectionListAction=async _0x9a609c=>{const _0x3e8776=a2_0x2830ac,_0x17ff77=new ConnectionListCommand(),_0x40bc5d=program[_0x3e8776(0x2be)](),_0x44dcac=await createTDXInstance(_0x40bc5d),_0x3f2d30=await _0x17ff77['run']({'options':{..._0x40bc5d,..._0x9a609c},'args':[],'tdx':_0x44dcac});gracefulExit(_0x3f2d30);};connectionCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x319))['description'](a2_0x2830ac(0x2a4))['action'](connectionListAction),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x26e),{'hidden':!![]})[a2_0x2830ac(0x137)](a2_0x2830ac(0x161))[a2_0x2830ac(0xd3)](connectionListAction),connectionCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x82))['description'](a2_0x2830ac(0x257))[a2_0x2830ac(0xd3)](async(_0x382108,_0x53fbf6)=>{const _0x2781c5=a2_0x2830ac,_0x2fe0da=new ConnectionShowCommand(),_0x1d9bd6=program[_0x2781c5(0x2be)](),_0x3ee675=await createTDXInstance(_0x1d9bd6),_0x4dbecd=await _0x2fe0da[_0x2781c5(0x91)]({'options':{..._0x1d9bd6,..._0x53fbf6},'args':[_0x382108],'tdx':_0x3ee675});gracefulExit(_0x4dbecd);}),connectionCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x250))[a2_0x2830ac(0x137)](a2_0x2830ac(0xe3))[a2_0x2830ac(0xd3)](async(_0x28c401,_0x285244)=>{const _0x4ac2fb=a2_0x2830ac,_0x3172f3=new ConnectionSchemaCommand(),_0xd879dc=program[_0x4ac2fb(0x2be)](),_0x2c2924=await createTDXInstance(_0xd879dc),_0x1301bf=await _0x3172f3['run']({'options':{..._0xd879dc,..._0x285244},'args':[_0x28c401],'tdx':_0x2c2924});gracefulExit(_0x1301bf);}),connectionCmd[a2_0x2830ac(0x2fd)]('types')[a2_0x2830ac(0x137)](a2_0x2830ac(0x2b5))['action'](async _0x1e2391=>{const _0x302219=a2_0x2830ac,_0x5bcd1d=new ConnectionTypesCommand(),_0x4a33dd=program[_0x302219(0x2be)](),_0x11060e=await createTDXInstance(_0x4a33dd),_0x3a01db=await _0x5bcd1d[_0x302219(0x91)]({'options':{..._0x4a33dd,..._0x1e2391},'args':[],'tdx':_0x11060e});gracefulExit(_0x3a01db);}),connectionCmd[a2_0x2830ac(0x2fd)]('settings\x20<type>')[a2_0x2830ac(0x137)]('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x2830ac(0xd3)](async(_0x4388ea,_0x1bb2be)=>{const _0x42646b=a2_0x2830ac,_0x563d42=new ConnectionSettingsCommand(),_0x4cec08=program[_0x42646b(0x2be)](),_0x4c7df0=await createTDXInstance(_0x4cec08),_0x1de10a=await _0x563d42[_0x42646b(0x91)]({'options':{..._0x4cec08,..._0x1bb2be},'args':[_0x4388ea],'tdx':_0x4c7df0});gracefulExit(_0x1de10a);});const journeyCmd=program[a2_0x2830ac(0x2fd)]('journey')[a2_0x2830ac(0x137)](a2_0x2830ac(0x24d)),journeyListAction=async(_0x453327,_0x57f8d8)=>{const _0x5b641d=a2_0x2830ac,_0x1bae71=new JourneyListCommand(),_0x129a24=program[_0x5b641d(0x2be)](),_0x11d7ec=await createTDXInstance(_0x129a24),_0x180b24=await _0x1bae71['run']({'options':{..._0x129a24,..._0x57f8d8},'args':_0x453327?[_0x453327]:[],'tdx':_0x11d7ec});gracefulExit(_0x180b24);};journeyCmd['command'](a2_0x2830ac(0x203))[a2_0x2830ac(0x137)](a2_0x2830ac(0x266))[a2_0x2830ac(0xd3)](journeyListAction),journeyCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x146))[a2_0x2830ac(0x137)](a2_0x2830ac(0xf0))[a2_0x2830ac(0xd9)]('-w,\x20--web',a2_0x2830ac(0x71))[a2_0x2830ac(0xd9)]('--include-stats','Include\x20execution\x20statistics')[a2_0x2830ac(0xd3)](async(_0x3ce8be,_0x334348)=>{const _0x35d2fc=a2_0x2830ac,_0xe97c41=new JourneyViewCommand(),_0x140fd2=program[_0x35d2fc(0x2be)](),_0x295492=await createTDXInstance(_0x140fd2),_0x1a2b7b=await _0xe97c41[_0x35d2fc(0x91)]({'options':{..._0x140fd2,..._0x334348},'args':[_0x3ce8be],'tdx':_0x295492});gracefulExit(_0x1a2b7b);}),journeyCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x22a))[a2_0x2830ac(0x137)](a2_0x2830ac(0x1a9))['option']('--stage\x20<name>','Show\x20stats\x20for\x20specific\x20stage')[a2_0x2830ac(0xd9)]('--from\x20<date>',a2_0x2830ac(0x2dd))['option'](a2_0x2830ac(0x247),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x254),a2_0x2830ac(0xe4))['action'](async(_0x52c40e,_0x2a9cce)=>{const _0x1ff67b=a2_0x2830ac,_0x39d97=new JourneyStatsCommand(),_0x680b61=program[_0x1ff67b(0x2be)](),_0x567ad9=await createTDXInstance(_0x680b61),_0x30388c=await _0x39d97['run']({'options':{..._0x680b61,..._0x2a9cce},'args':[_0x52c40e],'tdx':_0x567ad9});gracefulExit(_0x30388c);}),journeyCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x7d))[a2_0x2830ac(0x137)](a2_0x2830ac(0x150))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2d7),a2_0x2830ac(0x333))['option'](a2_0x2830ac(0x2aa),a2_0x2830ac(0x2dd))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x247),a2_0x2830ac(0x127))['option'](a2_0x2830ac(0x102),'Maximum\x20number\x20of\x20nodes',_0x1b285d=>{const _0x10b337=parseInt(_0x1b285d,0xa);if(isNaN(_0x10b337))throw new Error('Invalid\x20--limit\x20value:\x20\x22'+_0x1b285d+'\x22.\x20Must\x20be\x20a\x20number.');return _0x10b337;})[a2_0x2830ac(0xd3)](async(_0x4ef363,_0x302806)=>{const _0x199445=a2_0x2830ac,_0x40f58e=new JourneyTrafficCommand(),_0x492882=program['opts'](),_0x481fe0=await createTDXInstance(_0x492882),_0x2e6fa0=await _0x40f58e[_0x199445(0x91)]({'options':{..._0x492882,..._0x302806},'args':[_0x4ef363],'tdx':_0x481fe0});gracefulExit(_0x2e6fa0);}),journeyCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x19c))['description'](a2_0x2830ac(0x314))[a2_0x2830ac(0xd3)](async(_0x2a70aa,_0x4d56e6)=>{const _0x6ad470=a2_0x2830ac,_0x15f9ed=new JourneyPauseCommand(),_0x50a985=program[_0x6ad470(0x2be)](),_0x33fe5d=await createTDXInstance(_0x50a985),_0x1708e9=await _0x15f9ed['run']({'options':{..._0x50a985,..._0x4d56e6},'args':[_0x2a70aa],'tdx':_0x33fe5d});gracefulExit(_0x1708e9);}),journeyCmd['command']('resume\x20<name-or-path>')['description'](a2_0x2830ac(0x23c))[a2_0x2830ac(0xd3)](async(_0x379343,_0x4a1083)=>{const _0x20563c=new JourneyResumeCommand(),_0x300f5f=program['opts'](),_0x5bc8fb=await createTDXInstance(_0x300f5f),_0x43e697=await _0x20563c['run']({'options':{..._0x300f5f,..._0x4a1083},'args':[_0x379343],'tdx':_0x5bc8fb});gracefulExit(_0x43e697);}),journeyCmd['command'](a2_0x2830ac(0x2ad))['description'](a2_0x2830ac(0x10d))[a2_0x2830ac(0xd9)]('--dry-run',a2_0x2830ac(0x26b))[a2_0x2830ac(0xd3)](async(_0x39d4b5,_0x20b6b6)=>{const _0x5f5ce9=a2_0x2830ac,_0x5de47c=new JourneyPullCommand(),_0x436b36=program[_0x5f5ce9(0x2be)](),_0x4b1d1e=await createTDXInstance(_0x436b36),_0x53ded2=await _0x5de47c[_0x5f5ce9(0x91)]({'options':{..._0x436b36,..._0x20b6b6},'args':_0x39d4b5?[_0x39d4b5]:[],'tdx':_0x4b1d1e});gracefulExit(_0x53ded2);}),journeyCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x25d))[a2_0x2830ac(0x137)]('Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data')[a2_0x2830ac(0xd3)](async(_0x173c89,_0x39474f)=>{const _0x40fb73=a2_0x2830ac,_0x5d1dc5=new JourneyPushCommand(),_0x1f71eb=program[_0x40fb73(0x2be)](),_0x20c988=await createTDXInstance(_0x1f71eb),_0x53717e=await _0x5d1dc5['run']({'options':{..._0x1f71eb,..._0x39474f},'args':_0x173c89?[_0x173c89]:[],'tdx':_0x20c988});gracefulExit(_0x53717e);}),journeyCmd['command'](a2_0x2830ac(0x167))[a2_0x2830ac(0x137)](a2_0x2830ac(0x19a))[a2_0x2830ac(0xd3)](async(_0x38e470,_0x405e78)=>{const _0x2b4ba9=a2_0x2830ac,_0x39605e=new JourneyColumnsCommand(),_0x28b2b3=program[_0x2b4ba9(0x2be)](),_0x4f8906=await createTDXInstance(_0x28b2b3),_0x4dbe85=await _0x39605e[_0x2b4ba9(0x91)]({'options':{..._0x28b2b3,..._0x405e78},'args':[_0x38e470],'tdx':_0x4f8906});gracefulExit(_0x4dbe85);}),journeyCmd['command'](a2_0x2830ac(0x268))[a2_0x2830ac(0x137)](a2_0x2830ac(0x32d))[a2_0x2830ac(0xd3)](async(_0x30228f,_0x2a4883)=>{const _0x3b0b21=a2_0x2830ac,_0x280c04=new JourneyActivationsCommand(),_0x558a98=program['opts'](),_0xccc267=await createTDXInstance(_0x558a98),_0x33dabd=await _0x280c04[_0x3b0b21(0x91)]({'options':{..._0x558a98,..._0x2a4883},'args':[_0x30228f],'tdx':_0xccc267});gracefulExit(_0x33dabd);}),journeyCmd[a2_0x2830ac(0x2fd)]('versions\x20<name-or-path>')[a2_0x2830ac(0x137)]('List\x20all\x20versions\x20of\x20a\x20journey')[a2_0x2830ac(0xd3)](async(_0x45029c,_0x44c549)=>{const _0x1c2749=a2_0x2830ac,_0x3c2c16=new JourneyVersionsCommand(),_0x27103e=program[_0x1c2749(0x2be)](),_0x50d213=await createTDXInstance(_0x27103e),_0x32b5de=await _0x3c2c16[_0x1c2749(0x91)]({'options':{..._0x27103e,..._0x44c549},'args':[_0x45029c],'tdx':_0x50d213});gracefulExit(_0x32b5de);});const journeyVersionCmd=journeyCmd[a2_0x2830ac(0x2fd)]('version')[a2_0x2830ac(0x137)](a2_0x2830ac(0x294));journeyVersionCmd['command'](a2_0x2830ac(0x328))[a2_0x2830ac(0x137)](a2_0x2830ac(0xbf))[a2_0x2830ac(0xd3)](async(_0x950b76,_0x1c8892)=>{const _0x15305d=a2_0x2830ac,_0x4546a3=new JourneyVersionCreateCommand(),_0x8d047e=program[_0x15305d(0x2be)](),_0x135085=await createTDXInstance(_0x8d047e),_0x12e10e=await _0x4546a3['run']({'options':{..._0x8d047e,..._0x1c8892},'args':[_0x950b76],'tdx':_0x135085});gracefulExit(_0x12e10e);}),journeyVersionCmd[a2_0x2830ac(0x2fd)]('view\x20<name-or-path>')[a2_0x2830ac(0x137)]('View\x20a\x20specific\x20version\x20of\x20a\x20journey')['requiredOption'](a2_0x2830ac(0x96),a2_0x2830ac(0x1a7))[a2_0x2830ac(0xd3)](async(_0x59f608,_0x53e75b)=>{const _0x3d5cdc=a2_0x2830ac,_0x3f202c=new JourneyVersionViewCommand(),_0x25adc5=program[_0x3d5cdc(0x2be)](),_0x516b92=await createTDXInstance(_0x25adc5),_0x3c68e7=await _0x3f202c['run']({'options':{..._0x25adc5,..._0x53e75b},'args':[_0x59f608],'tdx':_0x516b92});gracefulExit(_0x3c68e7);}),journeyCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1e8))['description'](a2_0x2830ac(0x221))[a2_0x2830ac(0xd3)](async(_0x429137,_0x3ab0e5)=>{const _0x426b08=a2_0x2830ac,_0x1de10b=new JourneyValidateCommand(),_0x108d33=program[_0x426b08(0x2be)](),_0x678052=await createTDXInstance(_0x108d33),_0x4c3447=await _0x1de10b[_0x426b08(0x91)]({'options':{..._0x108d33,..._0x3ab0e5},'args':_0x429137?[_0x429137]:[],'tdx':_0x678052});gracefulExit(_0x4c3447);}),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x2fe))['description'](a2_0x2830ac(0x240))[a2_0x2830ac(0xd3)](journeyListAction);const agentSyncCmd=program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1b7))[a2_0x2830ac(0x137)](a2_0x2830ac(0x92));agentSyncCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x30e))[a2_0x2830ac(0x137)](a2_0x2830ac(0x197))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2f8),a2_0x2830ac(0x72))[a2_0x2830ac(0xd9)]('-f,\x20--force',a2_0x2830ac(0xb9))['option'](a2_0x2830ac(0x1d4),'Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)')[a2_0x2830ac(0xd3)](async(_0xb33ef5,_0xe16c00,_0x36eb6a)=>{const _0x28dff8=a2_0x2830ac,_0x281535=new AgentPullCommand(),_0x3374fc=program[_0x28dff8(0x2be)](),_0x1b4355=await createTDXInstance(_0x3374fc),_0x2377b7=[];if(_0xb33ef5)_0x2377b7['push'](_0xb33ef5);if(_0xe16c00)_0x2377b7[_0x28dff8(0x2c9)](_0xe16c00);const _0x52f674=await _0x281535[_0x28dff8(0x91)]({'options':{..._0x3374fc,..._0x36eb6a},'args':_0x2377b7,'tdx':_0x1b4355});gracefulExit(_0x52f674);}),agentSyncCmd['command']('push\x20[path]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x2d8))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xc8),a2_0x2830ac(0x73))[a2_0x2830ac(0xd3)](async(_0x55df2e,_0x5cbee8)=>{const _0x42daaf=a2_0x2830ac,_0x192cd5=new AgentPushCommand(),_0x47fd95=program['opts'](),_0x5cde9f=await createTDXInstance(_0x47fd95),_0x1197c0=await _0x192cd5[_0x42daaf(0x91)]({'options':{..._0x47fd95,..._0x5cbee8},'args':_0x55df2e?[_0x55df2e]:[],'tdx':_0x5cde9f});gracefulExit(_0x1197c0);}),agentSyncCmd[a2_0x2830ac(0x2fd)]('clone\x20[source]')['description'](a2_0x2830ac(0xe9))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x183),a2_0x2830ac(0x339))[a2_0x2830ac(0xd3)](async(_0x1b8904,_0x3ed794)=>{const _0x5f1aec=a2_0x2830ac,_0x15202e=new AgentCloneCommand(),_0x5449c7=program[_0x5f1aec(0x2be)](),_0x4828a7=await createTDXInstance(_0x5449c7),_0x45e72a=await _0x15202e[_0x5f1aec(0x91)]({'options':{..._0x5449c7,..._0x3ed794},'args':_0x1b8904?[_0x1b8904]:[],'tdx':_0x4828a7});gracefulExit(_0x45e72a);}),agentSyncCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xf2))[a2_0x2830ac(0x137)](a2_0x2830ac(0x123))['option'](a2_0x2830ac(0x14a),a2_0x2830ac(0x140))['option'](a2_0x2830ac(0x143),a2_0x2830ac(0x75))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x111),a2_0x2830ac(0x206))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x10c),a2_0x2830ac(0x1c7))['option'](a2_0x2830ac(0x176),a2_0x2830ac(0x28c))['action'](async(_0x17ab44,_0x43e39b)=>{const _0x5e5209=a2_0x2830ac,_0x670c2=new AgentTestCommand(),_0x59d26d=program[_0x5e5209(0x2be)](),_0x5e843d=await createTDXInstance(_0x59d26d),_0x2a1c4f=await _0x670c2[_0x5e5209(0x91)]({'options':{..._0x59d26d,..._0x43e39b},'args':_0x17ab44?[_0x17ab44]:[],'tdx':_0x5e843d});gracefulExit(_0x2a1c4f);}),agentSyncCmd[a2_0x2830ac(0x2fd)]('list\x20[pattern]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x335))[a2_0x2830ac(0xd3)](llmAgentListAction),agentSyncCmd['command'](a2_0x2830ac(0x162))['description'](a2_0x2830ac(0x270))[a2_0x2830ac(0xd3)](async(_0x2bbc3b,_0x2dfe65)=>{const _0x43c1f6=a2_0x2830ac,_0x762d8c=new LLMAgentShowCommand(),_0x538200=program[_0x43c1f6(0x2be)](),_0x2a07e9=await createTDXInstance(_0x538200),_0x161961=await _0x762d8c[_0x43c1f6(0x91)]({'options':{..._0x538200,..._0x2dfe65},'args':[_0x2bbc3b],'tdx':_0x2a07e9});gracefulExit(_0x161961);}),agentSyncCmd['command'](a2_0x2830ac(0x1d1))['description'](a2_0x2830ac(0x124))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x202),a2_0x2830ac(0x155))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x98),a2_0x2830ac(0x241),a2_0x2830ac(0x1cd))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xf7),a2_0x2830ac(0x136))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x211),a2_0x2830ac(0xbb),'4')['option'](a2_0x2830ac(0x2bd),a2_0x2830ac(0xee),a2_0x2830ac(0x2c3))[a2_0x2830ac(0xd3)](async(_0x3997b2,_0x5cfa1f)=>{const _0x2e0057=a2_0x2830ac,_0x59ebfc=new LLMAgentCreateCommand(),_0x4f518b=program[_0x2e0057(0x2be)](),_0x56f3e7=await createTDXInstance(_0x4f518b),_0x459631=await _0x59ebfc[_0x2e0057(0x91)]({'options':{..._0x4f518b,..._0x5cfa1f},'args':[_0x3997b2],'tdx':_0x56f3e7});gracefulExit(_0x459631);}),agentSyncCmd[a2_0x2830ac(0x2fd)]('update\x20<agent-name>')[a2_0x2830ac(0x137)](a2_0x2830ac(0x26f))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x192),'Agent\x20name')['option'](a2_0x2830ac(0x32f),a2_0x2830ac(0x2c4))[a2_0x2830ac(0xd9)]('--description\x20<text>','Agent\x20description')['option']('--starter-message\x20<text>',a2_0x2830ac(0x136))[a2_0x2830ac(0xd3)](async(_0x2a268d,_0x5e4d1b)=>{const _0x5c8dfe=a2_0x2830ac,_0x3adb1f=new LLMAgentUpdateCommand(),_0x1028d5=program[_0x5c8dfe(0x2be)](),_0x155913=await createTDXInstance(_0x1028d5),_0x202456=await _0x3adb1f['run']({'options':{..._0x1028d5,..._0x5e4d1b},'args':[_0x2a268d],'tdx':_0x155913});gracefulExit(_0x202456);}),agentSyncCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x16d))['description'](a2_0x2830ac(0xad))[a2_0x2830ac(0xd3)](async(_0x1945e7,_0x269faf)=>{const _0x50d6f6=a2_0x2830ac,_0x5dcf18=new LLMAgentDeleteCommand(),_0x3b502a=program[_0x50d6f6(0x2be)](),_0x52c8ea=await createTDXInstance(_0x3b502a),_0x391f69=await _0x5dcf18[_0x50d6f6(0x91)]({'options':{..._0x3b502a,..._0x269faf},'args':[_0x1945e7],'tdx':_0x52c8ea});gracefulExit(_0x391f69);}),program['command'](a2_0x2830ac(0xdf),{'hidden':!![]})['action'](()=>{const _0x5dfa74=a2_0x2830ac;function _0x46d0a4(_0x4a88d1,_0x48ff7f){const _0x545d3d=a2_0xc295,_0x363079=[];for(const _0x3a7b5f of _0x4a88d1['commands']){if(_0x3a7b5f[_0x545d3d(0x19d)])continue;const _0x5f27ce=_0x48ff7f?_0x48ff7f+'\x20'+_0x3a7b5f['name']():_0x3a7b5f[_0x545d3d(0x131)](),_0x1eb4e3=_0x5f27ce[_0x545d3d(0x8a)]('\x20')[0x0],_0x25d19=COMMAND_CATEGORIES['find'](_0x371179=>_0x371179[_0x545d3d(0x1cf)][_0x545d3d(0x2d9)](_0x1eb4e3)),_0x9272d0=_0x25d19?.[_0x545d3d(0x131)]??'';if(_0x3a7b5f[_0x545d3d(0x1cf)][_0x545d3d(0xa9)]>0x0)_0x363079[_0x545d3d(0x2c9)](..._0x46d0a4(_0x3a7b5f,_0x5f27ce));else{const _0x412490=(_0x3a7b5f[_0x545d3d(0x21a)]||[])['map'](_0x3c32c9=>{const _0x3664a5=_0x545d3d,_0x259858=_0x3c32c9[_0x3664a5(0x18e)]?_0x3c32c9[_0x3664a5(0x131)]()+_0x3664a5(0x262):_0x3c32c9[_0x3664a5(0x131)]();return _0x3c32c9['required']?'<'+_0x259858+'>':'['+_0x259858+']';})[_0x545d3d(0x180)]('\x20'),_0x30833d=_0x3a7b5f['options'][_0x545d3d(0xdc)](_0x2e2c76=>!_0x2e2c76[_0x545d3d(0xc1)]&&_0x2e2c76[_0x545d3d(0x7e)]!=='--help')[_0x545d3d(0x2e3)](_0x5e7c16=>({'flags':_0x5e7c16[_0x545d3d(0x1e1)],'description':_0x5e7c16[_0x545d3d(0x137)]}));_0x363079[_0x545d3d(0x2c9)]({'name':_0x5f27ce,'description':_0x3a7b5f['description'](),'group':_0x9272d0,'usage':_0x412490,'options':_0x30833d});}}return _0x363079;}console[_0x5dfa74(0x33d)](JSON[_0x5dfa74(0x165)](_0x46d0a4(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x35d89a=a2_0x2830ac,_0x125b58=!process[_0x35d89a(0x1d3)][_0x35d89a(0x344)](0x2)[_0x35d89a(0xa9)];showBriefHelp=_0x125b58,program[_0x35d89a(0x1a8)](process['argv']);_0x125b58&&program[_0x35d89a(0x12e)]();const _0x1db209=process[_0x35d89a(0x1d3)][0x2]===_0x35d89a(0x1af);if(process[_0x35d89a(0x12f)][_0x35d89a(0x14c)]&&process[_0x35d89a(0x1d3)]['length']>0x2&&!isDevVersion()&&!_0x1db209){const _0x49ea98=loadReleaseChannel();checkForUpdate(currentVersion,_0x49ea98)[_0x35d89a(0x334)](_0x2a05f0=>{_0x2a05f0&&displayUpdateNotification(_0x2a05f0);})[_0x35d89a(0x126)](()=>{});}}
|