@treasuredata/tdx 2026.4.14 → 2026.4.15
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/README.md +1 -1
- package/dist/bin.js +1 -1
- package/dist/build-info.json +3 -3
- package/dist/cli-categories.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/commands/activations.js +1 -1
- package/dist/commands/agent-command.js +1 -1
- package/dist/commands/agent-test-command.js +1 -1
- package/dist/commands/api-command.js +1 -1
- package/dist/commands/auth-command.js +1 -1
- package/dist/commands/cas-command.js +1 -1
- package/dist/commands/cas-segment-command.js +1 -1
- package/dist/commands/chat-command.js +1 -1
- package/dist/commands/claude-command.js +1 -1
- package/dist/commands/claude-statusline-command.js +1 -1
- package/dist/commands/claude-usage-command.js +1 -1
- package/dist/commands/command.js +1 -1
- package/dist/commands/connection-command.js +1 -1
- package/dist/commands/databases.js +1 -1
- package/dist/commands/delivery-command.js +1 -1
- package/dist/commands/describe.js +1 -1
- package/dist/commands/engage-campaign-pull-command.js +1 -1
- package/dist/commands/engage-campaign-push-command.js +1 -1
- package/dist/commands/engage-campaign-validate-command.js +1 -1
- package/dist/commands/engage-command.js +1 -1
- package/dist/commands/engage-template-pull-command.js +1 -1
- package/dist/commands/engage-template-push-command.js +1 -1
- package/dist/commands/engage-template-validate-command.js +1 -1
- package/dist/commands/job-command.js +1 -1
- package/dist/commands/journey-command.js +1 -1
- package/dist/commands/journey-validate-command.js +1 -1
- package/dist/commands/llm-command.js +1 -1
- package/dist/commands/mcp-command.js +1 -1
- package/dist/commands/parent-segment-command.js +1 -1
- package/dist/commands/policy-command.js +1 -1
- package/dist/commands/profile-command.js +1 -1
- package/dist/commands/profiles-command.js +1 -1
- package/dist/commands/query-command.js +1 -1
- package/dist/commands/schedule-command.js +1 -1
- package/dist/commands/segment-command.js +1 -1
- package/dist/commands/segment-create-command.js +1 -1
- package/dist/commands/segment-fields-command.js +1 -1
- package/dist/commands/segment-pull-command.js +1 -1
- package/dist/commands/segment-push-command.js +1 -1
- package/dist/commands/segment-update-command.js +1 -1
- package/dist/commands/segment-use-command.js +1 -1
- package/dist/commands/segment-validate-command.js +1 -1
- package/dist/commands/segments.js +1 -1
- package/dist/commands/show.js +1 -1
- package/dist/commands/status-command.js +1 -1
- package/dist/commands/tables.js +1 -1
- package/dist/commands/unset-command.js +1 -1
- package/dist/commands/upgrade-command.js +1 -1
- package/dist/commands/use-command.js +1 -1
- package/dist/commands/user-command.js +1 -1
- package/dist/commands/work-command.js +1 -1
- package/dist/commands/workflow-command.js +1 -1
- package/dist/core/auth.js +1 -1
- package/dist/core/command-output.js +1 -1
- package/dist/core/config.js +1 -1
- package/dist/core/connection-cache.js +1 -1
- package/dist/core/constants.js +1 -1
- package/dist/core/credential-cache.js +1 -1
- package/dist/core/global-context.js +1 -1
- package/dist/core/keychain.js +1 -1
- package/dist/core/oauth-keychain.js +1 -1
- package/dist/core/oauth.js +1 -1
- package/dist/core/profile.js +1 -1
- package/dist/core/project-config.js +1 -1
- package/dist/core/session.js +1 -1
- package/dist/core/user-cache.js +1 -1
- package/dist/core/version.js +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/tools/index.js +1 -1
- package/dist/mcp/tools/tdx-run.js +1 -1
- package/dist/mcp/tools/tdx-search.js +1 -1
- package/dist/mcp/tools/work-create-item.js +1 -1
- package/dist/mcp/utils.js +1 -1
- package/dist/proxy/claude-usage-tracker.js +1 -1
- package/dist/proxy/passthrough-server.js +1 -1
- package/dist/proxy/sse-usage-parser.js +1 -1
- package/dist/sdk/agent/agent-config.js +1 -1
- package/dist/sdk/agent/agent-ref-parser.js +1 -1
- package/dist/sdk/agent/agent-yaml.js +1 -1
- package/dist/sdk/agent/test/evaluator.js +1 -1
- package/dist/sdk/agent/test/executor.js +1 -1
- package/dist/sdk/agent/test/index.js +1 -1
- package/dist/sdk/agent/test/output.js +1 -1
- package/dist/sdk/agent/test/parser.js +1 -1
- package/dist/sdk/agent/tool-target-registry.js +1 -1
- package/dist/sdk/api.js +1 -1
- package/dist/sdk/cas/cas-api-client.js +1 -1
- package/dist/sdk/cas/cas-audience-yaml.js +1 -1
- package/dist/sdk/cas/cas-segment-yaml.js +1 -1
- package/dist/sdk/cas/index.js +1 -1
- package/dist/sdk/cas/pull-workflow.js +1 -1
- package/dist/sdk/cas/push-workflow.js +1 -1
- package/dist/sdk/client/cdp-api-client.js +1 -1
- package/dist/sdk/client/delivery-api-client.js +1 -1
- package/dist/sdk/client/endpoints.js +1 -1
- package/dist/sdk/client/engage-api-client.js +1 -1
- package/dist/sdk/client/http-client.js +1 -1
- package/dist/sdk/client/llm-api-client.js +1 -1
- package/dist/sdk/client/oauth-refresh.js +1 -1
- package/dist/sdk/client/rate-limiter.js +1 -1
- package/dist/sdk/client/td-api-client.js +1 -1
- package/dist/sdk/client/trino-api-client.js +1 -1
- package/dist/sdk/client/workflow-client.js +1 -1
- package/dist/sdk/connection-validator.js +1 -1
- package/dist/sdk/connection.js +1 -1
- package/dist/sdk/delivery.js +1 -1
- package/dist/sdk/engage/campaign-pull.js +1 -1
- package/dist/sdk/engage/campaign-push.js +1 -1
- package/dist/sdk/engage/campaign-validator.js +1 -1
- package/dist/sdk/engage/campaign-yaml.js +1 -1
- package/dist/sdk/engage/template-pull.js +1 -1
- package/dist/sdk/engage/template-push.js +1 -1
- package/dist/sdk/engage/template-validator.js +1 -1
- package/dist/sdk/engage/template-yaml.js +1 -1
- package/dist/sdk/engage/types/campaign-def.js +1 -1
- package/dist/sdk/engage/types/campaign-schema.js +1 -1
- package/dist/sdk/engage/types/template-schema.js +1 -1
- package/dist/sdk/engage.js +1 -1
- package/dist/sdk/errors.js +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/io/index.js +1 -1
- package/dist/sdk/io/node-filesystem.js +1 -1
- package/dist/sdk/job.js +1 -1
- package/dist/sdk/journey.js +1 -1
- package/dist/sdk/llm/chat-cache.js +1 -1
- package/dist/sdk/llm/index.js +1 -1
- package/dist/sdk/llm/llm-backup-utils.js +1 -1
- package/dist/sdk/llm/model-factors.js +1 -1
- package/dist/sdk/personalization.js +1 -1
- package/dist/sdk/policy.js +1 -1
- package/dist/sdk/query/index.js +1 -1
- package/dist/sdk/query/sql-parser.js +1 -1
- package/dist/sdk/realtime.js +1 -1
- package/dist/sdk/schedule.js +1 -1
- package/dist/sdk/segment/child-segment-yaml.js +1 -1
- package/dist/sdk/segment/fields-display.js +1 -1
- package/dist/sdk/segment/file-discovery.js +1 -1
- package/dist/sdk/segment/journey-utils.js +1 -1
- package/dist/sdk/segment/journey-validator.js +1 -1
- package/dist/sdk/segment/journey-yaml.js +1 -1
- package/dist/sdk/segment/parent-segment-preview.js +1 -1
- package/dist/sdk/segment/parent-segment-yaml.js +1 -1
- package/dist/sdk/segment/pull-workflow.js +1 -1
- package/dist/sdk/segment/push-recovery.js +1 -1
- package/dist/sdk/segment/push-workflow.js +1 -1
- package/dist/sdk/segment/resolution-context.js +1 -1
- package/dist/sdk/segment/segment-path-parser.js +1 -1
- package/dist/sdk/segment/segment-ref-parser.js +1 -1
- package/dist/sdk/segment/segment-validator.js +1 -1
- package/dist/sdk/segment/target-resolution.js +1 -1
- package/dist/sdk/segment/tdx-config.js +1 -1
- package/dist/sdk/segment/types/activation-schema.js +1 -1
- package/dist/sdk/segment/types/journey-def.js +1 -1
- package/dist/sdk/segment/types/journey-schema.js +1 -1
- package/dist/sdk/segment/types/segment-def.js +1 -1
- package/dist/sdk/segment/types/segment-schema.js +1 -1
- package/dist/sdk/segment/validate-files.js +1 -1
- package/dist/sdk/segment/yaml-validator.js +1 -1
- package/dist/sdk/segment.js +1 -1
- package/dist/sdk/types/index.js +1 -1
- package/dist/sdk/types/progress.js +1 -1
- package/dist/sdk/types/workspace.js +1 -1
- package/dist/sdk/user.js +1 -1
- package/dist/sdk/util/format-detector.js +1 -1
- package/dist/sdk/util/formatters.js +1 -1
- package/dist/sdk/util/index.js +1 -1
- package/dist/sdk/util/paginate.js +1 -1
- package/dist/sdk/util/tree-formatter.js +1 -1
- package/dist/sdk/workflow/archive-validation.js +1 -1
- package/dist/sdk/workflow/clone-workflow.js +1 -1
- package/dist/sdk/workflow/index.js +1 -1
- package/dist/sdk/workflow/pull-workflow.js +1 -1
- package/dist/sdk/workflow/push-workflow.js +1 -1
- package/dist/sdk/workflow/tdx-config.js +1 -1
- package/dist/sdk/workflow/workflow-utils.js +1 -1
- package/dist/sdk/workspace/access-tracker.js +1 -1
- package/dist/sdk/workspace/frontmatter.js +1 -1
- package/dist/sdk/workspace/git.js +1 -1
- package/dist/sdk/workspace/index.js +1 -1
- package/dist/sdk/workspace/templates.js +1 -1
- package/dist/sdk/workspace/weekly.js +1 -1
- package/dist/sdk/workspace/wikilinks.js +1 -1
- package/dist/test-utils/command-runner.js +1 -1
- package/dist/test-utils/factories.js +1 -1
- package/dist/test-utils/fixtures.js +1 -1
- package/dist/test-utils/http-mock.js +1 -1
- package/dist/test-utils/index.js +1 -1
- package/dist/utils/async.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/diff.js +1 -1
- package/dist/utils/file-permissions.js +1 -1
- package/dist/utils/file-reader.js +1 -1
- package/dist/utils/github-releases.js +1 -1
- package/dist/utils/global-cache.js +1 -1
- package/dist/utils/json-loader.js +1 -1
- package/dist/utils/local-cache.js +1 -1
- package/dist/utils/logger/formatters/default-formatter.js +1 -1
- package/dist/utils/logger/formatters/index.js +1 -1
- package/dist/utils/logger/handlers/console-handler.js +1 -1
- package/dist/utils/logger/handlers/file-handler.js +1 -1
- package/dist/utils/logger/handlers/index.js +1 -1
- package/dist/utils/logger/handlers/null-handler.js +1 -1
- package/dist/utils/logger/index.js +1 -1
- package/dist/utils/logger/logger.js +1 -1
- package/dist/utils/logger/types.js +1 -1
- package/dist/utils/option-validation.js +1 -1
- package/dist/utils/process.js +1 -1
- package/dist/utils/prompt.js +1 -1
- package/dist/utils/spinner.js +1 -1
- package/dist/utils/sse-parser.js +1 -1
- package/dist/utils/string-utils.js +1 -1
- package/dist/utils/table-ref-parser.js +1 -1
- package/dist/utils/tdx-logger.js +1 -1
- package/dist/utils/version-check.js +1 -1
- package/package.json +30 -12
package/dist/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a2_0x187dec=a2_0x4510;(function(_0x6347ad,_0xc1ad0f){const _0x3825a2=a2_0x4510,_0x1f44f5=_0x6347ad();while(!![]){try{const _0x1abf3=-parseInt(_0x3825a2(0x4bb))/0x1+-parseInt(_0x3825a2(0x41b))/0x2+-parseInt(_0x3825a2(0x1ac))/0x3*(-parseInt(_0x3825a2(0x3f5))/0x4)+-parseInt(_0x3825a2(0x263))/0x5+-parseInt(_0x3825a2(0x3d5))/0x6*(parseInt(_0x3825a2(0x22e))/0x7)+parseInt(_0x3825a2(0x4af))/0x8+-parseInt(_0x3825a2(0x292))/0x9*(-parseInt(_0x3825a2(0x24c))/0xa);if(_0x1abf3===_0xc1ad0f)break;else _0x1f44f5['push'](_0x1f44f5['shift']());}catch(_0x3d284e){_0x1f44f5['push'](_0x1f44f5['shift']());}}}(a2_0x2401,0x675be));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';function a2_0x4510(_0x79108d,_0x35210a){_0x79108d=_0x79108d-0x194;const _0x24018f=a2_0x2401();let _0x451076=_0x24018f[_0x79108d];return _0x451076;}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,PSRtJnListCommand,PSRtJnPauseCommand,PSRtJnResumeCommand,PSRtConfigVersionCommand,PSPzServiceListCommand,PSPzServiceCreateCommand,PSPzServiceShowCommand,PSPzServiceDeleteCommand,PSPzServiceUpdateCommand,PSPzServiceTokenCreateCommand,PSPzServiceTokenDeleteCommand,PSPzListCommand,PSPzShowCommand,PSPzDeleteCommand,PSPzCreateCommand,PSPzPatchCommand,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,WorkflowSchedulesCommand,WorkflowScheduleEnableCommand,WorkflowScheduleDisableCommand}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,ProfileDeleteCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{CASListCommand,CASDescCommand,CASPullCommand,CASPushCommand,CASPreviewCommand}from'./commands/cas-command.js';import{CASSegmentListCommand}from'./commands/cas-segment-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{workSummaryAction,workInitAction,workNewAction,workMoveAction,workBoardAction,workShowAction,workLinksAction,workOpenAction}from'./commands/work-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_0x187dec(0x424)]['includes'](a2_0x187dec(0x2ff))){let versionOutput=a2_0x187dec(0x1b4)+currentVersion;buildInfo[a2_0x187dec(0x2a6)]&&!currentVersion['includes'](buildInfo[a2_0x187dec(0x2a6)])&&(versionOutput+='\x20('+buildInfo[a2_0x187dec(0x2a6)]+')'),buildInfo[a2_0x187dec(0x2ed)]&&(versionOutput+=a2_0x187dec(0x43d)+buildInfo['buildTime']),console[a2_0x187dec(0x3d3)](versionOutput),process[a2_0x187dec(0x3ef)](0x0);}const program=new Command();export function mergeCommandOptions(_0x4be45a,_0x4d04e6){const _0x4be43c={..._0x4be45a};for(const [_0x6c6835,_0x2610f5]of Object['entries'](_0x4d04e6)){_0x2610f5!==undefined&&(_0x4be43c[_0x6c6835]=_0x2610f5);}return _0x4be43c;}let showBriefHelp=![],description=a2_0x187dec(0x3b9);buildInfo[a2_0x187dec(0x2a6)]&&!currentVersion[a2_0x187dec(0x268)](buildInfo[a2_0x187dec(0x2a6)])?description+=a2_0x187dec(0x1a4)+currentVersion+'\x20('+buildInfo[a2_0x187dec(0x2a6)]+')':description+=',\x20version\x20'+currentVersion;program[a2_0x187dec(0x281)]('tdx')[a2_0x187dec(0x240)](description),program[a2_0x187dec(0x264)](a2_0x187dec(0x2fb),a2_0x187dec(0x4b2))[a2_0x187dec(0x264)](a2_0x187dec(0x428),a2_0x187dec(0x4b9))[a2_0x187dec(0x264)](a2_0x187dec(0x3d2),a2_0x187dec(0x233),a2_0x187dec(0x386))[a2_0x187dec(0x264)]('--format\x20<format>',a2_0x187dec(0x457))[a2_0x187dec(0x264)](a2_0x187dec(0x3d7),a2_0x187dec(0x3f2))[a2_0x187dec(0x264)](a2_0x187dec(0x31f),a2_0x187dec(0x473))[a2_0x187dec(0x264)]('--jsonl',a2_0x187dec(0x3db))[a2_0x187dec(0x264)](a2_0x187dec(0x269),a2_0x187dec(0x21b))[a2_0x187dec(0x264)]('--output\x20<file>','Save\x20output\x20to\x20file')[a2_0x187dec(0x264)](a2_0x187dec(0x2b4),a2_0x187dec(0x3e4))[a2_0x187dec(0x264)](a2_0x187dec(0x47a),a2_0x187dec(0x308),![])['option'](a2_0x187dec(0x48d),a2_0x187dec(0x3e9),![])[a2_0x187dec(0x264)]('-v,\x20--verbose',a2_0x187dec(0x246),![])[a2_0x187dec(0x264)](a2_0x187dec(0x45f),a2_0x187dec(0x354))[a2_0x187dec(0x264)]('--trace',a2_0x187dec(0x364))[a2_0x187dec(0x264)]('--timeout\x20<seconds>',a2_0x187dec(0x1a7),'30')[a2_0x187dec(0x264)](a2_0x187dec(0x267),a2_0x187dec(0x3dd),![])['option']('-y,\x20--yes','Skip\x20confirmation\x20prompts',![])[a2_0x187dec(0x264)](a2_0x187dec(0x34f),a2_0x187dec(0x2f4))[a2_0x187dec(0x264)](a2_0x187dec(0x196),a2_0x187dec(0x2bf))[a2_0x187dec(0x264)](a2_0x187dec(0x3b5),a2_0x187dec(0x1eb)),program[a2_0x187dec(0x2e3)]({'formatHelp':(_0xb368bf,_0x415862)=>{const _0x516b10=a2_0x187dec,_0x191a56=_0x415862['padWidth'](_0xb368bf,_0x415862),_0x12d023=0x2,_0xabb657=0x2;function _0x611579(_0x20ca2a){const _0x289ed7=a2_0x4510,_0x2c4837=_0x20ca2a;return!!(_0x2c4837['_hidden']||_0x2c4837[_0x289ed7(0x350)]);}function _0x270e35(_0x4472a6,_0x1c28d7){const _0x443e2d=a2_0x4510;if(_0x1c28d7){const _0xb6012=''+_0x4472a6[_0x443e2d(0x39c)](_0x191a56+_0xabb657)+_0x1c28d7;return _0xb6012;}return _0x4472a6;}function _0x1704db(_0x44ff7a){const _0x3942d3=a2_0x4510;return _0x44ff7a[_0x3942d3(0x1f1)]('\x0a')[_0x3942d3(0x48a)](/^/gm,'\x20'[_0x3942d3(0x256)](_0x12d023));}const _0x2a7a71=[];_0x2a7a71[_0x516b10(0x28d)](_0x516b10(0x4a1)+_0x415862['commandUsage'](_0xb368bf));const _0x4fbf35=_0x415862[_0x516b10(0x271)](_0xb368bf);_0x4fbf35&&(_0x2a7a71['push'](''),_0x2a7a71['push'](_0x4fbf35));const _0x54d0e4=_0xb368bf[_0x516b10(0x421)][_0x516b10(0x4a9)](_0x46d755=>!_0x611579(_0x46d755));if(_0x54d0e4[_0x516b10(0x3fd)]>0x0){if(_0xb368bf[_0x516b10(0x281)]()===_0x516b10(0x222)){const _0x16c6a3=_0xb368bf[_0x516b10(0x3d0)](),_0x3e2900=!_0x16c6a3[_0x516b10(0x2c6)]&&process[_0x516b10(0x1f8)][_0x516b10(0x3c1)],_0x18e7dc=COMMAND_CATEGORIES,_0x5992b6=(_0x584a09,_0x5eb0a6)=>_0x3e2900?_0x5eb0a6(_0x584a09):_0x584a09,_0x148967=new Map();_0x54d0e4[_0x516b10(0x1bb)](_0x2ee797=>{const _0x496b98=_0x516b10;_0x148967[_0x496b98(0x3b4)](_0x2ee797[_0x496b98(0x281)](),_0x2ee797);}),_0x18e7dc[_0x516b10(0x1bb)](_0x7a0651=>{const _0x5f1c44=_0x516b10,_0x5a37fc=_0x7a0651[_0x5f1c44(0x421)]['flatMap'](_0x4b7609=>_0x148967[_0x5f1c44(0x3f7)](_0x4b7609)??[]);if(_0x5a37fc[_0x5f1c44(0x3fd)]>0x0){_0x2a7a71[_0x5f1c44(0x28d)](''),_0x2a7a71['push'](_0x5992b6(_0x7a0651[_0x5f1c44(0x281)]+':',_0x7a0651[_0x5f1c44(0x2f0)]));const _0xee3912=_0x5a37fc[_0x5f1c44(0x208)](_0x490c03=>{const _0x5fe754=_0x5f1c44,_0x3bd017=_0x415862[_0x5fe754(0x3a5)](_0x490c03),_0x5e1d49=_0x415862[_0x5fe754(0x316)](_0x490c03);return _0x270e35(_0x3bd017,_0x5e1d49);});_0x2a7a71[_0x5f1c44(0x28d)](_0x1704db(_0xee3912));}}),_0x2a7a71[_0x516b10(0x28d)](''),_0x2a7a71[_0x516b10(0x28d)](_0x516b10(0x210));}else{const _0x963b29=_0x54d0e4['map'](_0x12f2ff=>{const _0x5d4811=_0x516b10,_0xa79ab1=_0x415862[_0x5d4811(0x3a5)](_0x12f2ff),_0x57fc84=_0x415862[_0x5d4811(0x316)](_0x12f2ff);return _0x270e35(_0xa79ab1,_0x57fc84);});_0x2a7a71[_0x516b10(0x28d)](''),_0x2a7a71['push']('Commands:'),_0x2a7a71[_0x516b10(0x28d)](_0x1704db(_0x963b29));}}if(showBriefHelp&&_0xb368bf[_0x516b10(0x281)]()==='tdx')_0x2a7a71[_0x516b10(0x28d)](''),_0x2a7a71[_0x516b10(0x28d)]('Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version');else{const _0x2bc3c1=_0xb368bf['options'][_0x516b10(0x4a9)](_0x117e26=>!_0x611579(_0x117e26));if(_0x2bc3c1[_0x516b10(0x3fd)]>0x0){const _0x244a98=_0x2bc3c1[_0x516b10(0x208)](_0x2306b6=>{const _0x49f414=_0x516b10,_0x54fb02=_0x415862[_0x49f414(0x489)](_0x2306b6),_0x590bf4=_0x415862[_0x49f414(0x33c)](_0x2306b6);return _0x270e35(_0x54fb02,_0x590bf4);});_0x2a7a71[_0x516b10(0x28d)](''),_0x2a7a71[_0x516b10(0x28d)]('Options:'),_0x2a7a71['push'](_0x1704db(_0x244a98));}}const _0x170caf=(_0xb368bf[_0x516b10(0x232)]||[])[_0x516b10(0x4a9)](_0x3b3b19=>!_0x611579(_0x3b3b19));if(_0x170caf[_0x516b10(0x3fd)]>0x0){const _0xbe6ea0=_0x170caf[_0x516b10(0x208)](_0x3e9c01=>{const _0x5c7777=_0x516b10,_0x4ef590=_0x415862[_0x5c7777(0x28e)](_0x3e9c01),_0x2f225c=_0x415862[_0x5c7777(0x41f)](_0x3e9c01);return _0x270e35(_0x4ef590,_0x2f225c);});_0x2a7a71[_0x516b10(0x28d)](''),_0x2a7a71[_0x516b10(0x28d)](_0x516b10(0x1ff)),_0x2a7a71[_0x516b10(0x28d)](_0x1704db(_0xbe6ea0));}return _0x2a7a71[_0x516b10(0x1f1)]('\x0a')+'\x0a';},'subcommandTerm':_0x107c77=>{const _0x26acf3=a2_0x187dec,_0x589304=(_0x107c77[_0x26acf3(0x232)]||[])['map'](_0x4f1e03=>_0x4f1e03['required']?'<'+_0x4f1e03[_0x26acf3(0x281)]()+'>':'['+_0x4f1e03[_0x26acf3(0x281)]()+']')[_0x26acf3(0x1f1)]('\x20'),_0xdbe188=_0x107c77[_0x26acf3(0x26c)](),_0x6fb485=_0xdbe188[_0x26acf3(0x3fd)]>0x0?_0x107c77[_0x26acf3(0x281)]()+',\x20'+_0xdbe188[_0x26acf3(0x1f1)](',\x20'):_0x107c77[_0x26acf3(0x281)]();return _0x589304?_0x6fb485+'\x20'+_0x589304:_0x6fb485;}}),program[a2_0x187dec(0x280)](a2_0x187dec(0x2cc),_0x413c27=>{const _0x508f48=a2_0x187dec,_0x4b367d=_0x413c27['opts']();if(_0x4b367d['directory']){const _0x3cd64c=resolve(_0x4b367d[_0x508f48(0x1c8)]),_0x318308=_0x3cd64c!==_0x4b367d['directory']?_0x508f48(0x33b)+_0x3cd64c+')':'';if(!existsSync(_0x3cd64c))throw new SDKError(ErrorCode[_0x508f48(0x248)],_0x508f48(0x32e)+_0x4b367d[_0x508f48(0x1c8)]+_0x318308,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x3a3cea=statSync(_0x3cd64c);if(!_0x3a3cea[_0x508f48(0x2b3)]())throw new SDKError(ErrorCode[_0x508f48(0x248)],_0x508f48(0x49f)+_0x4b367d['directory']+_0x318308,undefined,{'helpText':_0x508f48(0x3ad)});process[_0x508f48(0x1c9)](_0x3cd64c);}if(!_0x4b367d[_0x508f48(0x320)]){if(_0x4b367d[_0x508f48(0x1e5)])_0x4b367d['format']=_0x508f48(0x1e5);else{if(_0x4b367d[_0x508f48(0x3e5)])_0x4b367d[_0x508f48(0x320)]=_0x508f48(0x3e5);else{if(_0x4b367d['jsonl'])_0x4b367d['format']=_0x508f48(0x237);else _0x4b367d['tsv']&&(_0x4b367d[_0x508f48(0x320)]=_0x508f48(0x3e7));}}}if(_0x4b367d[_0x508f48(0x449)])_0x4b367d[_0x508f48(0x495)]=LogLevel[_0x508f48(0x35b)];else{if(_0x4b367d[_0x508f48(0x355)])_0x4b367d[_0x508f48(0x495)]=LogLevel['DEBUG'];else _0x4b367d[_0x508f48(0x495)]===undefined&&(_0x4b367d[_0x508f48(0x495)]=LogLevel[_0x508f48(0x1e0)]);}});async function createTDXInstance(_0x3d8f74){const _0x59219c=a2_0x187dec,_0xf59893=await GlobalContext[_0x59219c(0x22d)](_0x3d8f74);_0xf59893[_0x59219c(0x27e)](_0x3d8f74);const _0x514d1e=Number(_0x3d8f74[_0x59219c(0x454)]),_0x40979c=!isNaN(_0x514d1e)&&_0x514d1e>0x0?_0x514d1e*0x3e8:undefined;return TDX['create']({'site':_0xf59893['site'],'apiKey':_0xf59893[_0x59219c(0x23b)],'accessToken':_0xf59893[_0x59219c(0x3f4)],'logLevel':_0xf59893[_0x59219c(0x495)],'profile':_0xf59893[_0x59219c(0x2aa)],'timeout':_0x40979c});}const databaseCmd=program['command']('database')['alias']('db')[a2_0x187dec(0x240)](a2_0x187dec(0x3d8)),databaseListAction=async(_0x39decd,_0x1187c2)=>{const _0x4355a6=new DatabasesCommand(),_0x358fe3=program['opts'](),_0x30594f=await createTDXInstance(_0x358fe3),_0x4c237a=await _0x4355a6['run']({'options':{..._0x358fe3,..._0x1187c2},'args':_0x39decd?[_0x39decd]:[],'tdx':_0x30594f});gracefulExit(_0x4c237a);};databaseCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x422))['description']('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')['action'](databaseListAction),program[a2_0x187dec(0x26a)](a2_0x187dec(0x1c3),{'hidden':!![]})['description']('List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)')[a2_0x187dec(0x234)](databaseListAction),program[a2_0x187dec(0x26a)](a2_0x187dec(0x296))[a2_0x187dec(0x240)](a2_0x187dec(0x33f))[a2_0x187dec(0x264)](a2_0x187dec(0x274),a2_0x187dec(0x2c0))[a2_0x187dec(0x264)](a2_0x187dec(0x356),a2_0x187dec(0x2ef))[a2_0x187dec(0x264)](a2_0x187dec(0x498),'Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID')[a2_0x187dec(0x264)]('--stream',a2_0x187dec(0x420))['action'](async(_0x2df4bc,_0x2cf929)=>{const _0x323439=a2_0x187dec,_0x552b39=program['opts'](),_0x3e60fa=await createTDXInstance(_0x552b39);if(_0x2df4bc[0x0]==='create'){const _0x2704fd=new ChatCreateCommand();gracefulExit(await _0x2704fd['run']({'options':{..._0x552b39,..._0x2cf929},'args':_0x2df4bc[_0x323439(0x1e1)](0x1),'tdx':_0x3e60fa}));return;}const _0x341b2e=new ChatCommand(),_0x25adfc=await _0x341b2e[_0x323439(0x221)]({'options':{..._0x552b39,..._0x2cf929},'args':_0x2df4bc,'tdx':_0x3e60fa});gracefulExit(_0x25adfc);});const apiCmd=program[a2_0x187dec(0x26a)](a2_0x187dec(0x195))['summary']('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs')[a2_0x187dec(0x47c)](a2_0x187dec(0x3b8),a2_0x187dec(0x329))[a2_0x187dec(0x264)](a2_0x187dec(0x3c2),a2_0x187dec(0x42a),a2_0x187dec(0x25f))[a2_0x187dec(0x264)]('--data\x20<data>',a2_0x187dec(0x24d))['option'](a2_0x187dec(0x1e7),a2_0x187dec(0x2cb))['option']('-H,\x20--header\x20<header>',a2_0x187dec(0x27c),(_0x3bd14b,_0x4b58d7)=>{return _0x4b58d7?[..._0x4b58d7,_0x3bd14b]:[_0x3bd14b];})[a2_0x187dec(0x264)](a2_0x187dec(0x481),a2_0x187dec(0x29d),'td')[a2_0x187dec(0x234)](async(_0x48cac2,_0x40b4db)=>{const _0x40b86a=a2_0x187dec;if(!_0x48cac2){apiCmd[_0x40b86a(0x3a6)]();return;}const _0x2aa007=new ApiCommand(),_0x14f345=program[_0x40b86a(0x3d0)](),_0x402a21=await createTDXInstance(_0x14f345),_0x502a2b=await _0x2aa007[_0x40b86a(0x221)]({'options':{..._0x14f345,..._0x40b4db},'args':[_0x48cac2],'tdx':_0x402a21});gracefulExit(_0x502a2b);});program[a2_0x187dec(0x26a)](a2_0x187dec(0x319))[a2_0x187dec(0x240)](a2_0x187dec(0x4ac))[a2_0x187dec(0x47c)](a2_0x187dec(0x3b8),a2_0x187dec(0x304))[a2_0x187dec(0x234)](async _0x4f4406=>{const _0x2ef6c8=a2_0x187dec,_0x5aebb2=new MCPCommand(),_0x4c5144=program[_0x2ef6c8(0x3d0)](),_0x2299a5=await createTDXInstance(_0x4c5144),_0x3cbd54=await _0x5aebb2['run']({'options':{..._0x4c5144,..._0x4f4406},'args':[],'tdx':_0x2299a5});gracefulExit(_0x3cbd54);});function a2_0x2401(){const _0x7c0036=['show\x20[table]','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','json','[EXPERIMENTAL]\x20Show\x20chat\x20log','tsv','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Update\x20an\x20email\x20template','status','--model\x20<name>','Show\x20timeline\x20for\x20specific\x20attempt','use\x20[resource]\x20[value]','exit','push\x20[file]','Read\x20query\x20from\x20file','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','run\x20[name]','accessToken','4WwLbGJ','HTML\x20template\x20content','get','Show\x20Kanban\x20board\x20view\x20of\x20tasks','[DEPRECATED]\x20Segment\x20folder\x20management','Delete\x20a\x20realtime\x20personalization','--folder\x20<name>','Open\x20journey\x20in\x20web\x20browser','length','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','Pause\x20a\x20running\x20journey','Show\x20only\x20master\x20table\x20validation','Link\x20workspace\x20to\x20a\x20GitHub\x20repository','validate\x20[file]','service','Initialize\x20a\x20new\x20workspace','Clear\x20workflow\x20project\x20context','--html-file\x20<path>','Assignee','catch','unset\x20<resource>','YAML\x20file\x20path\x20for\x20unpushed\x20segment','--from\x20<n>','parse','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','enable\x20<id>','parents\x20[pattern]','--time\x20<iso8601>','--in\x20<database>','delete\x20<project-name-or-id>','Update\x20an\x20existing\x20agent','--full','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','use\x20[project]','List\x20all\x20workflow\x20schedules','Delay\x20in\x20seconds\x20before\x20execution','--params\x20<json>','trino','1335316jiIhwO','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','agents\x20[pattern]','--behaviors\x20<json>','argumentDescription','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','commands','list\x20[pattern]','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','argv','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','update\x20<name>','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','-p,\x20--profile\x20<name>','show\x20<folder_ref>','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','Maximum\x20number\x20of\x20nodes','--enable-utm-tracking','create\x20<parent_name>\x20<folder_name>','show\x20<agent-name>','Resume\x20a\x20paused\x20journey','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','--jsonl','parent-segment','Updated\x20description','List\x20available\x20connector\x20types','update\x20<name-or-id>','Personalization\x20name','sessions\x20[project]','attempt','Data\x20connection\x20management\x20(for\x20activations/exports)','Unknown\x20action:\x20','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Campaign\x20type\x20(email\x20or\x20push)','\x20-\x20built\x20','Add\x20attributes\x20as\x20JSON\x20string','Show\x20connection\x20details\x20by\x20name','Export\x20journey(s)\x20as\x20YAML\x20files','--verbose','--to\x20<n>','--html\x20<html>','--customer-group-file\x20<file>','--name\x20<new-name>','Continue\x20most\x20recent\x20conversation','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','trace','fields\x20[parent_name]','--kind\x20<kind>','workspace','result\x20<job-id>','0.7','version','isArray','Output\x20folder\x20(default:\x20{project_name}.llm)','Job\x20priority\x20(-2\x20to\x202)','use\x20<name>','timeout','usage','Preview\x20changes\x20without\x20writing\x20files','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Skip\x20validation\x20of\x20.dig\x20files','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','--attribute\x20[name]','Finish\x20an\x20always-on\x20campaign','schedule','--debug','Workflow\x20project\x20management','Show\x20schedule\x20details','Name\x20for\x20the\x20new\x20project\x20(required)','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','--assignee\x20<assignee>','preview\x20[file]','New\x20service\x20name','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','flags','Starter\x20message','links\x20<name>','[options]\x20--\x20[claude-code-args...]','item','--priority\x20<-2~2>','push\x20[parent_or_file]','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Setup\x20API\x20key\x20authentication\x20interactively','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','Custom\x20revision\x20name\x20(default:\x20timestamp)','--include-retried','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','list\x20[audience_name]','log\x20<chat-id>','--color','always-on-campaigns\x20[pattern]','addHelpText','Behaviors\x20as\x20JSON\x20string','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','Table\x20management\x20commands','--type\x20<api_type>','alias','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','requiredOption','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Pull\x20campaigns\x20to\x20YAML\x20files','Parent\x20segment\x20management','optionTerm','replace','versions\x20<name-or-path>','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','--no-color','--default','pull\x20[name]','then','information_schema','delete\x20<token_id>\x20[parent_segment]','Show\x20all\x20files\x20including\x20valid\x20ones','Skip\x20confirmation\x20prompt','logLevel','set\x20<key=value>','Composable\x20audience\x20name','--chat-id\x20<id>','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','Name\x20for\x20the\x20duplicated\x20campaign','info\x20[segment_name]','Move\x20to\x20folder','--version\x20<number>','pause\x20<name-or-id>','Path\x20is\x20not\x20a\x20directory:\x20','create\x20[name]','Usage:\x20','logs','Show\x20stats\x20for\x20specific\x20stage','--retry-limit\x20<0~32>','List\x20jobs','view\x20[segment_name]','push\x20[name]','board','filter','Enable\x20a\x20disabled\x20workflow\x20schedule','--enriched','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','query\x20[sql]','-1d','2717576zdPhAD','Limit\x20number\x20of\x20rows','show\x20<name>','Change\x20to\x20directory\x20before\x20executing\x20command','desc','Query\x20type:\x20trino\x20or\x20hive','...','_list-commands','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','tasks','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Access\x20control\x20policy\x20commands','804106lkqudp','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','\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','delete\x20<name>','New\x20template\x20name','-o,\x20--output\x20<file>','Manage\x20workflow\x20project\x20secrets','api\x20[endpoint]','--parent-segment\x20<name>','Duplicate\x20an\x20always-on\x20campaign','workspaces\x20[pattern]','Parent\x20folder\x20name\x20for\x20nested\x20folders','Token\x20description','Enable\x20UTM\x20tracking','List\x20all\x20data\x20connections','setup','Override\x20project\x20name','database','llm','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','sql\x20[segment_name]','activations\x20<name-or-path>',',\x20version\x20','_hidden','workflow','Set\x20operation\x20timeout\x20in\x20seconds','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Get\x20job\x20results','Ending\x20offset\x20(default:\x2020)','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','1247853HaUfXu','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','--max-tool-iterations\x20<n>','audience','required','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','tdx\x20','--in\x20<db>','--plaintext\x20<text>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Workflow\x20parameter\x20(repeatable)','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','pull\x20[project]\x20[agent-name]','forEach','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','\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','--help','find','--timezone\x20<tz>','databases\x20[pattern]','List\x20all\x20users\x20in\x20the\x20account','Workspace\x20name','--public','login','directory','chdir','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','--email-sender-id\x20<id>','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','List\x20available\x20LLM\x20models','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','pause_activations\x20<journeyId>','campaigns\x20[pattern]','--subject\x20<subject>','show\x20<name-or-id>','patch\x20<personalization_id>','use\x20<project-name>','-d,\x20--database\x20<database>','New\x20service\x20description','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','Show\x20schedule\x20execution\x20history','Personalization\x20service\x20token\x20management','Run\x20specific\x20tests\x20(comma-separated)','Show\x20always-on\x20campaign\x20details','Output\x20file\x20path\x20(default:\x20<name>.yml)','journeys\x20[pattern]','INFO','slice','show\x20<personalization_id>','Set\x20or\x20show\x20parent\x20segment\x20context','fields\x20[name]','table','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','-f,\x20--file\x20<path>','--to\x20<date>','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','LLM\x20project\x20to\x20use\x20(overrides\x20context)','Show\x20email\x20template\x20details','clone\x20[source-dir]','--rule\x20<json>','Output\x20file\x20path','CDP\x20segment\x20management\x20commands','join','Show\x20master\x20table\x20sample\x20data','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Read\x20HTML\x20template\x20from\x20file','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','--skip-validation','stdout','Retry\x20limit\x20(0\x20to\x2032)','test\x20[path]','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','--segment\x20<path>','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','-f,\x20--force','Arguments:','claude\x20[args...]','users','kill\x20<job-id>','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Include\x20retried\x20attempts\x20(for\x20list)','--to\x20<timestamp>','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Include\x20execution\x20statistics','map','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','templates\x20[pattern]','--clear','--type\x20<type>','push\x20[target]','New\x20campaign\x20name','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','create\x20<name>\x20[parent_segment]','Job\x20management\x20commands','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','Show\x20agent\x20details','Run\x20a\x20scheduled\x20query\x20immediately','Open\x20segment\x20in\x20web\x20browser','stats\x20<name-or-path>','--days\x20<n>','Pull\x20specific\x20template\x20by\x20name','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','--last','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','columns\x20<name-or-path>','run','tdx','allowExcessArguments','create\x20<name>','--invisible','use\x20[name]','--add-attributes-file\x20<file>','download\x20<project-name>\x20[output-dir]','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','Resume\x20from\x20specific\x20task\x20(retry)','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','createAsync','153678kUNYGz','--interval\x20<range>','--description\x20<text>','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','registeredArguments','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','action','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','jsonl','Overwrite\x20existing\x20profile','--template\x20<name>','Journey\x20version\x20management','apiKey','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','LLM\x20agent\x20management','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Plaintext\x20template\x20content','description','List\x20all\x20available\x20profiles','--description\x20<desc>','List\x20composable\x20audiences','Personalization\x20management','upgrade','Enable\x20verbose\x20logging','Transition\x20a\x20task\x20to\x20a\x20new\x20status','INVALID_ARGUMENT','--limit\x20<n>','engage_workspace','always-on-campaign','80Cnuthc','Request\x20body\x20as\x20JSON\x20string','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Maximum\x20recursion\x20depth\x20(default:\x2010)','--name\x20<name>','run\x20[workflow]','projects\x20[pattern]','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','repeat','validate\x20[name]','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','Clear\x20session\x20context','describe','Resume\x20a\x20paused\x20campaign','--master','Open\x20a\x20document\x20in\x20$EDITOR','GET','show\x20<service_id>\x20[parent_segment]','Make\x20segment\x20invisible\x20(default:\x20visible)','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','67280RTgQEY','option','Attempt\x20ID','Model\x20type\x20(default:\x20claude-4.5-sonnet)','--dry-run','includes','--tsv','command','--behavior\x20[name]','aliases','Starting\x20offset\x20(default:\x200)','--revision\x20<revision>','--schedule-type\x20<type>','Create\x20a\x20new\x20profile','commandDescription','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','List\x20composable\x20segments\x20for\x20an\x20audience','--agent\x20<ref>','Email\x20subject\x20template','--audience\x20<name>','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Include\x20all\x20items\x20(no\x20stale\x20filtering)','project','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','injectIntoOptions','Add\x20attributes\x20from\x20JSON\x20file','hook','name','Workspace\x20name\x20(required)','-w,\x20--web','Overwrite\x20local\x20changes\x20without\x20confirmation','stringify','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','--max-depth\x20<depth>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','user','--system-prompt\x20<text>','--database\x20<db>','--json-columns\x20<cols>','push','argumentTerm','update\x20<agent-name>','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','delete\x20<agent-name>','1766313dDctNV','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Duplicate\x20a\x20campaign','types','chat\x20[message...]','List\x20journeys\x20(alias\x20for\x20journey\x20list)','--name\x20<text>','Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)','--result\x20<target>','Show\x20workspace\x20details','Pause\x20an\x20always-on\x20campaign','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','preview\x20<segment_name>','--table\x20<table>','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','options','init\x20[name]','claude-4.5-sonnet','activations\x20<segment_name>','--limit\x20<rows>','gitRevision','workflows\x20[project]','-y,\x20--yes','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','profile','--attributes-file\x20<file>','Scheduled\x20query\x20management\x20commands','Folder\x20name\x20for\x20organization','--engine-version\x20<version>','Delete\x20a\x20campaign','history\x20[chat-id]','Create\x20a\x20new\x20agent\x20in\x20current\x20project','List\x20agents\x20in\x20current\x20project','isDirectory','--limit\x20<number>','--starter-message\x20<text>','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Query\x20engine\x20version','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','--force','Agent\x20prompt/instructions','Project\x20description','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','-o,\x20--output\x20<dir>','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','--workspace\x20<name>','attempt:','variadic','--delay\x20<seconds>','Update\x20a\x20realtime\x20personalization\x20entity','noColor','token','--include-subtasks','Set\x20a\x20profile\x20configuration\x20value','-n,\x20--name\x20<name>','Read\x20request\x20body\x20from\x20file','preAction','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','--attempt-id\x20<id>','Campaign\x20description','duplicate\x20<name-or-id>','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','--session-time\x20<time>','tables\x20[pattern]','Campaign\x20name','Output\x20as\x20JSON\x20Lines','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','--from-task\x20<task>','Apply\x20a\x20template','list\x20[project]','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Database\x20name\x20(required)','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','LLM\x20project\x20management','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','Validate\x20journey\x20YAML\x20files\x20locally','delete\x20<args...>','senders\x20[pattern]','upload\x20[project-name-or-dir]','configureHelp','Action:\x20logs,\x20tasks,\x20kill,\x20retry','profiles','clone\x20[source]','journey','resume\x20<name-or-id>','--sections\x20<json>','--status\x20<status>','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','--name\x20<names>','buildTime','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Start\x20a\x20new\x20chat\x20session','colorFn','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','--follow','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','agent','push\x20[path]','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Show\x20items\x20updated\x20within\x20N\x20days','--from\x20<date>','-C,\x20--directory\x20<path>','--include-stats','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','--version','List\x20all\x20versions\x20of\x20a\x20journey','Sections\x20as\x20an\x20inline\x20JSON\x20array','--delete','Show\x20segment\x20schema\x20(column\x20types)','\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','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Delivery\x20operations\x20(email\x20senders)','-r,\x20--recursive','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Show\x20journey\x20statistics','Update\x20an\x20always-on\x20campaign','Delete\x20a\x20scheduled\x20query','secrets','--file\x20<path>','remove\x20<name>','Pull\x20child\x20segments\x20to\x20YAML\x20files','list','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','\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','AI-native\x20work\x20management','List\x20email\x20senders','subcommandDescription','restore\x20<folder>','chats','mcp','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','split','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','Filtering\x20rule\x20as\x20JSON\x20string','--json','format','Get\x20current\x20RT\x20configuration\x20version\x20status','campaign','disable\x20<id>','Create\x20a\x20new\x20document','describe\x20[table]','Create\x20an\x20email\x20template','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','schedules','\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','Resume\x20a\x20paused\x20always-on\x20campaign','Parse\x20and\x20validate\x20without\x20executing','--add-behaviors-file\x20<file>','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Directory\x20does\x20not\x20exist:\x20','run\x20<name>','Submit\x20a\x20job','--param\x20<key=value>','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','Generate\x20test\x20conversations\x20without\x20evaluation','--customer-group\x20<json>','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Add\x20behaviors\x20as\x20JSON\x20string','Master\x20table\x20name','--tags\x20<tags>','Campaign\x20management','--dir\x20<dir>','\x20(resolved\x20to\x20','optionDescription','--yes','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','folders\x20<parent_name>','--account-name\x20<name>','error','argument','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Pull\x20workflow\x20project\x20to\x20local\x20folder','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Start\x20time\x20filter\x20(ISO\x208601\x20format)','delete\x20<name-or-id>','--allowed-ips\x20<ips>','Run\x20Trino\x20query\x20with\x20streaming\x20results','Result\x20output\x20destination\x20URL','User\x20management\x20commands','Trino\x20catalog\x20(default:\x20td)','--session\x20<id>','hidden','engage','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Authentication\x20management','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','debug','--new','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','RT\x20Journey\x20management','schema\x20<type>','Parent\x20segment\x20description','TRACE','show\x20<job-id>','--schedule-option\x20<value>','[action]','--folder-id\x20<id>','Validate\x20template\x20YAML\x20files\x20locally','push\x20[source-dir]','create','List\x20secret\x20keys\x20for\x20a\x20project','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Validate\x20campaign\x20YAML\x20files\x20locally','Update\x20a\x20workspace','--audience-id\x20<id>','validate\x20[target]','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Resume\x20from\x20specific\x20task','delete\x20<service_id>\x20[parent_segment]','show\x20[segment_name]','Preview\x20without\x20creating\x20the\x20project','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Describe\x20table\x20schema','--attributes\x20<json>','Show\x20campaign\x20details','--name\x20<new_name>','use\x20<path>','--cron\x20<expression>','segments\x20[path]','Show\x20the\x20most\x20recent\x20chat','Workspace\x20description','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','\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\x20\x20$\x20tdx\x20profile\x20create\x20prod\x20-f\x20\x20\x20\x20\x20\x20#\x20Overwrite\x20existing\x20\x27prod\x27\x20profile\x0a','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','System\x20prompt/instructions\x20(default:\x20empty)','--add-behaviors\x20<json>','statusline','--reason\x20<text>','Segment\x20description','pull\x20[workspace]','Version\x20number\x20to\x20view','--from\x20<timestamp>','finish\x20<name-or-id>','us01','Template\x20name','Output\x20directory','Open\x20parent\x20segment\x20in\x20web\x20browser','--method\x20<pm>','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Create\x20a\x20new\x20always-on\x20campaign','Pull\x20specific\x20campaign\x20by\x20name','grapesjs','Agent\x20name','Email\x20sender\x20ID\x20for\x20delivery','End\x20time\x20filter\x20(ISO\x208601\x20format)','-u,\x20--use','Invalid\x20--limit\x20value:\x20\x22','Include\x20retried\x20attempts','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Disable\x20a\x20workflow\x20schedule','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','--add-attributes\x20<json>','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','Document\x20body\x20text','Composable\x20segment\x20commands','padEnd','Target\x20directory\x20for\x20YAML\x20files','--include-history','--rule-file\x20<file>','Include\x20raw\x20history\x20data\x20in\x20output','Delete\x20a\x20workspace','Delete\x20a\x20profile','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','--no-eval','subcommandTerm','help','--parent-folder\x20<name>','Delete\x20an\x20agent','Database\x20name\x20(default:\x20information_schema)','delivery','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','-d,\x20--database\x20<db>','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Launch\x20a\x20campaign','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','--start-at\x20<datetime>','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','set','--llm-project\x20<name>','Cron\x20expression\x20for\x20scheduling','List\x20activations\x20for\x20a\x20journey','after','AI-native\x20CLI\x20for\x20Treasure\x20Data','beefree','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','delete\x20<personalization_id>','parent_segment','list\x20[name]','Output\x20as\x20JSON','move\x20<name>\x20<status>','isTTY','-X,\x20--method\x20<method>','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Delete\x20an\x20email\x20template','Create\x20a\x20new\x20campaign','RT\x202.0\x20configuration\x20management','Database\x20name','traffic\x20<name-or-path>','resume\x20<name-or-path>','retry','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Preview\x20changes\x20without\x20pushing','jobs','Make\x20service\x20public\x20(default:\x20private)','Manage\x20workflow\x20schedules\x20(enable/disable)','opts','Include\x20subtasks\x20in\x20tasks\x20output','--site\x20<site>','log','session','114qeTAyW','policy','--table','Database\x20management\x20commands','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Show\x20what\x20would\x20be\x20written\x20without\x20writing','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Preview\x20operation\x20without\x20executing','Timezone\x20for\x20cron','connections','submit\x20[query]','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','--priority\x20<priority>'];a2_0x2401=function(){return _0x7c0036;};return a2_0x2401();}const tableCmd=program[a2_0x187dec(0x26a)](a2_0x187dec(0x1e5))['description'](a2_0x187dec(0x480)),tableListAction=async(_0x51732f,_0x39d285)=>{const _0x39bc0b=a2_0x187dec,_0x53416a=new TablesCommand(),_0x1bb7d6=program[_0x39bc0b(0x3d0)](),_0x7b83ba=await createTDXInstance(_0x1bb7d6);_0x39d285['in']&&(_0x39d285[_0x39bc0b(0x19f)]=_0x39d285['in']);const _0x3fccc6=await _0x53416a[_0x39bc0b(0x221)]({'options':{..._0x1bb7d6,..._0x39d285},'args':_0x51732f?[_0x51732f]:[],'tdx':_0x7b83ba});gracefulExit(_0x3fccc6);};tableCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x422))[a2_0x187dec(0x240)]('List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)')[a2_0x187dec(0x264)](a2_0x187dec(0x1d6),a2_0x187dec(0x425))[a2_0x187dec(0x264)](a2_0x187dec(0x411),a2_0x187dec(0x1b2))[a2_0x187dec(0x234)](tableListAction),program[a2_0x187dec(0x26a)](a2_0x187dec(0x2d3),{'hidden':!![]})[a2_0x187dec(0x240)](a2_0x187dec(0x1cb))['option'](a2_0x187dec(0x1d6),a2_0x187dec(0x425))[a2_0x187dec(0x264)]('--in\x20<database>',a2_0x187dec(0x1b2))[a2_0x187dec(0x234)](tableListAction),program['command'](a2_0x187dec(0x3e3))[a2_0x187dec(0x240)]('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')[a2_0x187dec(0x264)](a2_0x187dec(0x1d6),a2_0x187dec(0x36e))[a2_0x187dec(0x264)](a2_0x187dec(0x411),a2_0x187dec(0x1b2))[a2_0x187dec(0x234)](async(_0x37480a,_0x3f30db)=>{const _0x34e080=a2_0x187dec,_0x1c410c=new ShowCommand(),_0x332329=program[_0x34e080(0x3d0)](),_0x5d2478=await createTDXInstance(_0x332329);_0x3f30db['in']&&(_0x3f30db[_0x34e080(0x19f)]=_0x3f30db['in']);const _0x52f03a=await _0x1c410c['run']({'options':{..._0x332329,..._0x3f30db},'args':_0x37480a?[_0x37480a]:[],'tdx':_0x5d2478});gracefulExit(_0x52f03a);}),program['command'](a2_0x187dec(0x325))[a2_0x187dec(0x482)](a2_0x187dec(0x4b3))['description'](a2_0x187dec(0x370))[a2_0x187dec(0x264)]('-d,\x20--database\x20<database>',a2_0x187dec(0x36e))['option'](a2_0x187dec(0x411),a2_0x187dec(0x1b2))[a2_0x187dec(0x234)](async(_0x3e6165,_0x201676)=>{const _0xf9f5df=a2_0x187dec,_0x3c445d=new DescribeCommand(),_0x3dcb04=program['opts'](),_0x2f599e=await createTDXInstance(_0x3dcb04);_0x201676['in']&&(_0x201676[_0xf9f5df(0x19f)]=_0x201676['in']);const _0xc3e3=await _0x3c445d['run']({'options':{..._0x3dcb04,..._0x201676},'args':_0x3e6165?[_0x3e6165]:[],'tdx':_0x2f599e});gracefulExit(_0xc3e3);}),program['command'](a2_0x187dec(0x4ad))['description'](a2_0x187dec(0x34b))['option'](a2_0x187dec(0x1d6),'Database\x20to\x20query\x20(default:\x20information_schema)')[a2_0x187dec(0x264)](a2_0x187dec(0x411),a2_0x187dec(0x1b2))[a2_0x187dec(0x264)]('--catalog\x20<catalog>',a2_0x187dec(0x34e))[a2_0x187dec(0x264)]('-f,\x20--file\x20<path>','Read\x20SQL\x20query\x20from\x20file')['option'](a2_0x187dec(0x2a5),'Maximum\x20rows\x20to\x20display')[a2_0x187dec(0x234)](async(_0x3a5a66,_0x57967b)=>{const _0x33823c=a2_0x187dec,_0x3b925a=new QueryCommand(),_0x4d4f9d=program[_0x33823c(0x3d0)](),_0x12d8c7=await createTDXInstance(_0x4d4f9d);_0x57967b['in']&&(_0x57967b[_0x33823c(0x19f)]=_0x57967b['in']);const _0x1a1426=await _0x3b925a[_0x33823c(0x221)]({'options':mergeCommandOptions(_0x4d4f9d,_0x57967b),'args':_0x3a5a66?[_0x3a5a66]:[],'tdx':_0x12d8c7});gracefulExit(_0x1a1426);});const segmentCmd=program[a2_0x187dec(0x26a)]('segment')[a2_0x187dec(0x482)]('sg')[a2_0x187dec(0x240)](a2_0x187dec(0x1f0)),segmentListAction=async(_0x5d6068,_0x4a5fea)=>{const _0x52db40=a2_0x187dec,_0x172bee=new SegmentsCommand(),_0x334b73=program['opts'](),_0x8b32bd=await createTDXInstance(_0x334b73),_0x1c2c85=await _0x172bee[_0x52db40(0x221)]({'options':{..._0x334b73,..._0x4a5fea},'args':_0x5d6068?[_0x5d6068]:[],'tdx':_0x8b32bd});gracefulExit(_0x1c2c85);};segmentCmd[a2_0x187dec(0x26a)]('list\x20[path]')['description'](a2_0x187dec(0x2dc))[a2_0x187dec(0x264)](a2_0x187dec(0x307),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x187dec(0x264)]('--max-depth\x20<depth>',a2_0x187dec(0x24f),'10')[a2_0x187dec(0x234)](segmentListAction),program[a2_0x187dec(0x26a)](a2_0x187dec(0x376),{'hidden':!![]})['description'](a2_0x187dec(0x31d))['option'](a2_0x187dec(0x307),a2_0x187dec(0x335))[a2_0x187dec(0x264)](a2_0x187dec(0x287),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')['action'](segmentListAction),segmentCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x374),{'hidden':!![]})['description']('[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)')['action'](async(_0x41979e,_0x5c6290)=>{const _0x168564=a2_0x187dec,_0x15bee9=new SegmentUseCommand(),_0xe7fc3e=program[_0x168564(0x3d0)](),_0x388aae=await createTDXInstance(_0xe7fc3e),_0x394806=await _0x15bee9['run']({'options':{..._0xe7fc3e,..._0x5c6290},'args':[_0x41979e],'tdx':_0x388aae});gracefulExit(_0x394806);});const segmentViewAction=async(_0x5aa225,_0xd991b1)=>{const _0x291ff4=a2_0x187dec,_0x67880f=new SegmentViewCommand(),_0x8cfc79=program['opts'](),_0x1d2342=await createTDXInstance(_0x8cfc79),_0x482944=await _0x67880f[_0x291ff4(0x221)]({'options':{..._0x8cfc79,..._0xd991b1},'args':_0x5aa225?[_0x5aa225]:[],'tdx':_0x1d2342});gracefulExit(_0x482944);};segmentCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x4a6))[a2_0x187dec(0x240)](a2_0x187dec(0x214))[a2_0x187dec(0x264)]('-w,\x20--web',a2_0x187dec(0x217))[a2_0x187dec(0x234)](segmentViewAction),segmentCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x49b),{'hidden':!![]})['alias'](a2_0x187dec(0x25b))['option']('-w,\x20--web',a2_0x187dec(0x217))['description']('Show\x20segment\x20details\x20(alias\x20for\x20view)')[a2_0x187dec(0x234)](segmentViewAction),segmentCmd[a2_0x187dec(0x26a)]('desc\x20[segment_name]')[a2_0x187dec(0x240)](a2_0x187dec(0x303))[a2_0x187dec(0x234)](async(_0x558407,_0x5bb4a1)=>{const _0x420f04=a2_0x187dec,_0x263d08=new SegmentDescCommand(),_0x1780e8=program['opts'](),_0x39f8a9=await createTDXInstance(_0x1780e8),_0x3c0bc8=await _0x263d08[_0x420f04(0x221)]({'options':{..._0x1780e8,..._0x5bb4a1},'args':_0x558407?[_0x558407]:[],'tdx':_0x39f8a9});gracefulExit(_0x3c0bc8);}),segmentCmd['command'](a2_0x187dec(0x36c))[a2_0x187dec(0x240)]('Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x187dec(0x234)](async(_0x58b509,_0x21ca50)=>{const _0x11eb00=a2_0x187dec,_0x59e83b=new SegmentShowCommand(),_0x57a061=program['opts'](),_0x7f0793=await createTDXInstance(_0x57a061),_0x126394=await _0x59e83b[_0x11eb00(0x221)]({'options':{..._0x57a061,..._0x21ca50},'args':_0x58b509?[_0x58b509]:[],'tdx':_0x7f0793});gracefulExit(_0x126394);}),segmentCmd['command'](a2_0x187dec(0x340),{'hidden':!![]})[a2_0x187dec(0x240)](a2_0x187dec(0x3b3))[a2_0x187dec(0x234)](async(_0x503309,_0x156b8e)=>{const _0x37a301=a2_0x187dec,_0x5884a7=new SegmentFolderListCommand(),_0x4e8fe3=program[_0x37a301(0x3d0)](),_0x3722b7=await createTDXInstance(_0x4e8fe3),_0x355316=await _0x5884a7['run']({'options':{..._0x4e8fe3,..._0x156b8e},'args':[_0x503309],'tdx':_0x3722b7});gracefulExit(_0x355316);});const folderCmd=segmentCmd['command']('folder',{'hidden':!![]})[a2_0x187dec(0x240)](a2_0x187dec(0x3f9));folderCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x429))['description'](a2_0x187dec(0x499))[a2_0x187dec(0x234)](async(_0x338e9c,_0x459b32)=>{const _0x5c19d1=a2_0x187dec,_0x2e1a77=new SegmentFolderShowCommand(),_0x5504f3=program['opts'](),_0x7183ca=await createTDXInstance(_0x5504f3),_0x4f77d2=await _0x2e1a77[_0x5c19d1(0x221)]({'options':{..._0x5504f3,..._0x459b32},'args':[_0x338e9c],'tdx':_0x7183ca});gracefulExit(_0x4f77d2);}),segmentCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x1a2))['description'](a2_0x187dec(0x2b6))[a2_0x187dec(0x264)]('--path\x20<file-path>',a2_0x187dec(0x40a))['action'](async(_0x3f2fa8,_0x4e2eb6)=>{const _0x265326=a2_0x187dec,_0x2073f3=new SegmentSQLCommand(),_0xffc303=program[_0x265326(0x3d0)](),_0x285019=await createTDXInstance(_0xffc303),_0x287d95=await _0x2073f3[_0x265326(0x221)]({'options':{..._0xffc303,..._0x4e2eb6},'args':_0x3f2fa8?[_0x3f2fa8]:[],'tdx':_0x285019});gracefulExit(_0x287d95);}),segmentCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x44a))[a2_0x187dec(0x240)](a2_0x187dec(0x2b7))[a2_0x187dec(0x234)](async(_0x3c73db,_0x56fa61)=>{const _0x3df9f7=a2_0x187dec,_0x197606=new SegmentFieldsCommand(),_0x3bb95b=program['opts'](),_0x487a25=await createTDXInstance(_0x3bb95b),_0x262c00=await _0x197606[_0x3df9f7(0x221)]({'options':{..._0x3bb95b,..._0x56fa61},'args':_0x3c73db?[_0x3c73db]:[],'tdx':_0x487a25});gracefulExit(_0x262c00);}),segmentCmd['command']('pull\x20[parent_or_file]')[a2_0x187dec(0x240)](a2_0x187dec(0x30f))[a2_0x187dec(0x264)](a2_0x187dec(0x267),a2_0x187dec(0x38b))[a2_0x187dec(0x234)](async(_0x2d164e,_0x45da1a)=>{const _0x8bb2a8=a2_0x187dec,_0x2ba253=new SegmentPullCommand(),_0x2c5a41=program[_0x8bb2a8(0x3d0)](),_0x4941a2=await createTDXInstance(_0x2c5a41),_0x2f49f5=await _0x2ba253[_0x8bb2a8(0x221)]({'options':{..._0x2c5a41,..._0x45da1a},'args':_0x2d164e?[_0x2d164e]:[],'tdx':_0x4941a2});gracefulExit(_0x2f49f5);}),segmentCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x46e))[a2_0x187dec(0x240)]('Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments')[a2_0x187dec(0x264)](a2_0x187dec(0x267),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x187dec(0x264)](a2_0x187dec(0x302),a2_0x187dec(0x352))[a2_0x187dec(0x234)](async(_0x21c30e,_0x43dd81)=>{const _0xa8f7d9=a2_0x187dec,_0x4956f8=new SegmentPushCommand(),_0x577f5d=program[_0xa8f7d9(0x3d0)](),_0x5d3538=await createTDXInstance(_0x577f5d),_0x54b670=await _0x4956f8['run']({'options':{..._0x577f5d,..._0x43dd81},'args':_0x21c30e?[_0x21c30e]:[],'tdx':_0x5d3538});gracefulExit(_0x54b670);}),segmentCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x368))['description'](a2_0x187dec(0x293))[a2_0x187dec(0x234)](async(_0x3362c2,_0x3520c2)=>{const _0x4c3b75=a2_0x187dec,_0x3a9fd8=new SegmentValidateCommand(),_0x375416=program['opts'](),_0x186bd3=await createTDXInstance(_0x375416),_0x4b8428=await _0x3a9fd8[_0x4c3b75(0x221)]({'options':{..._0x375416,..._0x3520c2},'args':_0x3362c2?[_0x3362c2]:[],'tdx':_0x186bd3});gracefulExit(_0x4b8428);}),segmentCmd[a2_0x187dec(0x26a)]('create\x20<segment_name>',{'hidden':!![]})[a2_0x187dec(0x240)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x187dec(0x264)]('--description\x20<text>',a2_0x187dec(0x381))[a2_0x187dec(0x264)](a2_0x187dec(0x1ee),a2_0x187dec(0x31e))['option'](a2_0x187dec(0x39f),'Filtering\x20rule\x20from\x20JSON\x20file')['option'](a2_0x187dec(0x3fb),a2_0x187dec(0x2ad))['option']('--kind\x20<type>',a2_0x187dec(0x288))[a2_0x187dec(0x264)](a2_0x187dec(0x225),a2_0x187dec(0x261))[a2_0x187dec(0x264)]('--no-count-population','Skip\x20population\x20counting')[a2_0x187dec(0x234)](async(_0x36bfad,_0x27bdff)=>{const _0x474ffa=a2_0x187dec,_0x46c25e=new SegmentCreateCommand(),_0x200c92=program[_0x474ffa(0x3d0)](),_0x21e8f8=await createTDXInstance(_0x200c92),_0x4e419d=await _0x46c25e[_0x474ffa(0x221)]({'options':{..._0x200c92,..._0x27bdff},'args':[_0x36bfad],'tdx':_0x21e8f8});gracefulExit(_0x4e419d);}),segmentCmd[a2_0x187dec(0x26a)]('update\x20<segment_name>',{'hidden':!![]})['description'](a2_0x187dec(0x2fe))[a2_0x187dec(0x264)](a2_0x187dec(0x373),'New\x20segment\x20name')[a2_0x187dec(0x264)](a2_0x187dec(0x230),a2_0x187dec(0x433))[a2_0x187dec(0x264)](a2_0x187dec(0x1ee),a2_0x187dec(0x463))[a2_0x187dec(0x264)](a2_0x187dec(0x39f),a2_0x187dec(0x1ab))[a2_0x187dec(0x264)](a2_0x187dec(0x3fb),a2_0x187dec(0x49c))[a2_0x187dec(0x264)]('--kind\x20<type>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x187dec(0x234)](async(_0x4438e9,_0x576d1f)=>{const _0x138294=a2_0x187dec,_0x440c95=new SegmentUpdateCommand(),_0x548f1c=program[_0x138294(0x3d0)](),_0x4f2e86=await createTDXInstance(_0x548f1c),_0x35c57a=await _0x440c95[_0x138294(0x221)]({'options':{..._0x548f1c,..._0x576d1f},'args':[_0x4438e9],'tdx':_0x4f2e86});gracefulExit(_0x35c57a);});const parentCmd=segmentCmd[a2_0x187dec(0x26a)]('parent',{'hidden':!![]})['description'](a2_0x187dec(0x209)),parentListAction=async(_0x1a4711,_0x521f71)=>{const _0x16687f=a2_0x187dec,_0x2c6775=new ParentSegmentListCommand(),_0x24323a=program[_0x16687f(0x3d0)](),_0x5cab81=await createTDXInstance(_0x24323a),_0x525feb=await _0x2c6775[_0x16687f(0x221)]({'options':{..._0x24323a,..._0x521f71},'args':_0x1a4711?[_0x1a4711]:[],'tdx':_0x5cab81});gracefulExit(_0x525feb);};parentCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x422))[a2_0x187dec(0x240)]('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')['action'](parentListAction),segmentCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x40f),{'hidden':!![]})[a2_0x187dec(0x240)](a2_0x187dec(0x1d8))[a2_0x187dec(0x234)](parentListAction),parentCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x48f))[a2_0x187dec(0x240)](a2_0x187dec(0x47e))[a2_0x187dec(0x264)]('-o,\x20--output\x20<file>',a2_0x187dec(0x1de))['action'](async(_0x34fe9e,_0x2c5cc5)=>{const _0x4066b0=a2_0x187dec,_0x3f63eb=new ParentSegmentPullCommand(),_0x1d2151=program['opts'](),_0x430cb1=await createTDXInstance(_0x1d2151),_0x4fea56=await _0x3f63eb[_0x4066b0(0x221)]({'options':{..._0x1d2151,..._0x2c5cc5},'args':_0x34fe9e?[_0x34fe9e]:[],'tdx':_0x430cb1});gracefulExit(_0x4fea56);}),parentCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x3f0))[a2_0x187dec(0x240)](a2_0x187dec(0x1b7))[a2_0x187dec(0x234)](async(_0x351fea,_0x53fbcc)=>{const _0x5a590e=a2_0x187dec,_0x34a0d2=new ParentSegmentPushCommand(),_0x5967ce=program['opts'](),_0x2d5126=await createTDXInstance(_0x5967ce),_0x4e7e70=await _0x34a0d2[_0x5a590e(0x221)]({'options':{..._0x5967ce,..._0x53fbcc},'args':_0x351fea?[_0x351fea]:[],'tdx':_0x2d5126});gracefulExit(_0x4e7e70);}),parentCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x402))[a2_0x187dec(0x240)](a2_0x187dec(0x46f))[a2_0x187dec(0x264)](a2_0x187dec(0x25d),a2_0x187dec(0x400))[a2_0x187dec(0x264)]('--attribute\x20[name]',a2_0x187dec(0x1b9))['option'](a2_0x187dec(0x26b),a2_0x187dec(0x27d))[a2_0x187dec(0x264)](a2_0x187dec(0x4ab),a2_0x187dec(0x229))[a2_0x187dec(0x264)]('--interval\x20<range>',a2_0x187dec(0x43b),'-1d')[a2_0x187dec(0x234)](async(_0x41d3b2,_0x476911)=>{const _0x338b71=a2_0x187dec,_0x2efb06=new ParentSegmentValidateCommand(),_0x24c5b0=program[_0x338b71(0x3d0)](),_0x4851fe=await createTDXInstance(_0x24c5b0),_0x4e70b0=await _0x2efb06[_0x338b71(0x221)]({'options':{..._0x24c5b0,..._0x476911},'args':_0x41d3b2?[_0x41d3b2]:[],'tdx':_0x4851fe});gracefulExit(_0x4e70b0);}),parentCmd['command'](a2_0x187dec(0x465))[a2_0x187dec(0x240)](a2_0x187dec(0x379))['option'](a2_0x187dec(0x25d),a2_0x187dec(0x1f2))['option']('--attribute\x20[name]',a2_0x187dec(0x1b1))[a2_0x187dec(0x264)](a2_0x187dec(0x26b),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')['option'](a2_0x187dec(0x4ab),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x187dec(0x264)]('--interval\x20<range>',a2_0x187dec(0x43b),a2_0x187dec(0x4ae))[a2_0x187dec(0x234)](async(_0x3ce4c3,_0x22aeb2)=>{const _0x2e91b5=a2_0x187dec,_0x2fae0c=new ParentSegmentPreviewCommand(),_0x1c672a=program[_0x2e91b5(0x3d0)](),_0x9a4a03=await createTDXInstance(_0x1c672a),_0x40be93=await _0x2fae0c[_0x2e91b5(0x221)]({'options':{..._0x1c672a,..._0x22aeb2},'args':_0x3ce4c3?[_0x3ce4c3]:[],'tdx':_0x9a4a03});gracefulExit(_0x40be93);}),parentCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x3f3))['description'](a2_0x187dec(0x262))[a2_0x187dec(0x234)](async(_0x5da511,_0x459024)=>{const _0x1f3f7b=a2_0x187dec,_0x42c5ca=new ParentSegmentRunCommand(),_0x24186c=program[_0x1f3f7b(0x3d0)](),_0x16607f=await createTDXInstance(_0x24186c),_0x4323e7=await _0x42c5ca[_0x1f3f7b(0x221)]({'options':{..._0x24186c,..._0x459024},'args':_0x5da511?[_0x5da511]:[],'tdx':_0x16607f});gracefulExit(_0x4323e7);});const parentSegmentCmd=program[a2_0x187dec(0x26a)](a2_0x187dec(0x432))[a2_0x187dec(0x482)]('ps')[a2_0x187dec(0x240)](a2_0x187dec(0x488));parentSegmentCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x422))[a2_0x187dec(0x240)]('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x187dec(0x234)](parentListAction),parentSegmentCmd['command'](a2_0x187dec(0x48f))['description'](a2_0x187dec(0x477))[a2_0x187dec(0x264)](a2_0x187dec(0x4c0),a2_0x187dec(0x1ef))[a2_0x187dec(0x264)](a2_0x187dec(0x392),a2_0x187dec(0x3dc))['action'](async(_0x800cb1,_0x472d4b)=>{const _0x13a4be=a2_0x187dec,_0x1262a8=new ParentSegmentPullCommand(),_0x8778c3=program[_0x13a4be(0x3d0)](),_0x51bae2=await createTDXInstance(_0x8778c3),_0x24ef34=await _0x1262a8[_0x13a4be(0x221)]({'options':{..._0x8778c3,..._0x472d4b},'args':_0x800cb1?[_0x800cb1]:[],'tdx':_0x51bae2});gracefulExit(_0x24ef34);}),parentSegmentCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x4a7))[a2_0x187dec(0x240)](a2_0x187dec(0x369))['action'](async(_0x793858,_0x527262)=>{const _0x54d362=a2_0x187dec,_0x303979=new ParentSegmentPushCommand(),_0x4161d4=program[_0x54d362(0x3d0)](),_0x564208=await createTDXInstance(_0x4161d4),_0x134050=await _0x303979[_0x54d362(0x221)]({'options':{..._0x4161d4,..._0x527262},'args':_0x793858?[_0x793858]:[],'tdx':_0x564208});gracefulExit(_0x134050);}),parentSegmentCmd[a2_0x187dec(0x26a)]('validate\x20[name]')['description'](a2_0x187dec(0x46f))['option'](a2_0x187dec(0x25d),'Show\x20only\x20master\x20table\x20validation')[a2_0x187dec(0x264)](a2_0x187dec(0x45c),a2_0x187dec(0x1b9))[a2_0x187dec(0x264)](a2_0x187dec(0x26b),a2_0x187dec(0x27d))[a2_0x187dec(0x264)](a2_0x187dec(0x4ab),a2_0x187dec(0x229))[a2_0x187dec(0x264)](a2_0x187dec(0x22f),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x187dec(0x4ae))[a2_0x187dec(0x234)](async(_0x3edcf0,_0xf00a13)=>{const _0x3b33a7=a2_0x187dec,_0x5e3011=new ParentSegmentValidateCommand(),_0x16724a=program[_0x3b33a7(0x3d0)](),_0xd143d9=await createTDXInstance(_0x16724a),_0x5e9d78=await _0x5e3011[_0x3b33a7(0x221)]({'options':{..._0x16724a,..._0xf00a13},'args':_0x3edcf0?[_0x3edcf0]:[],'tdx':_0xd143d9});gracefulExit(_0x5e9d78);}),parentSegmentCmd[a2_0x187dec(0x26a)]('preview\x20[name]')[a2_0x187dec(0x240)](a2_0x187dec(0x379))[a2_0x187dec(0x264)](a2_0x187dec(0x25d),'Show\x20master\x20table\x20sample\x20data')['option'](a2_0x187dec(0x45c),a2_0x187dec(0x1b1))[a2_0x187dec(0x264)]('--behavior\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x187dec(0x264)](a2_0x187dec(0x4ab),a2_0x187dec(0x40d))[a2_0x187dec(0x264)]('--interval\x20<range>',a2_0x187dec(0x43b),a2_0x187dec(0x4ae))[a2_0x187dec(0x234)](async(_0x128a62,_0x138bfc)=>{const _0x1b8a0a=a2_0x187dec,_0x350afe=new ParentSegmentPreviewCommand(),_0x2ee7e8=program[_0x1b8a0a(0x3d0)](),_0x57bcae=await createTDXInstance(_0x2ee7e8),_0x46653b=await _0x350afe['run']({'options':{..._0x2ee7e8,..._0x138bfc},'args':_0x128a62?[_0x128a62]:[],'tdx':_0x57bcae});gracefulExit(_0x46653b);}),parentSegmentCmd['command'](a2_0x187dec(0x3f3))[a2_0x187dec(0x240)](a2_0x187dec(0x262))[a2_0x187dec(0x234)](async(_0x497f9f,_0x4774b8)=>{const _0x24e21a=a2_0x187dec,_0x480dd2=new ParentSegmentRunCommand(),_0x5b3fe7=program[_0x24e21a(0x3d0)](),_0xd45ae6=await createTDXInstance(_0x5b3fe7),_0x56a245=await _0x480dd2[_0x24e21a(0x221)]({'options':{..._0x5b3fe7,..._0x4774b8},'args':_0x497f9f?[_0x497f9f]:[],'tdx':_0xd45ae6});gracefulExit(_0x56a245);}),parentSegmentCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x1e4))['description'](a2_0x187dec(0x231))[a2_0x187dec(0x264)](a2_0x187dec(0x31f),a2_0x187dec(0x3bf))['option'](a2_0x187dec(0x431),'Output\x20as\x20JSON\x20Lines')['action'](async(_0x197739,_0x446981)=>{const _0x5106ef=a2_0x187dec,_0x35e68d=new ParentSegmentFieldsCommand(),_0x56bb46=program[_0x5106ef(0x3d0)](),_0x39f72f=await createTDXInstance(_0x56bb46),_0x479578=await _0x35e68d[_0x5106ef(0x221)]({'options':{..._0x56bb46,..._0x446981},'args':_0x197739?[_0x197739]:[],'tdx':_0x39f72f});gracefulExit(_0x479578);}),parentSegmentCmd[a2_0x187dec(0x26a)]('view\x20[name]')[a2_0x187dec(0x240)]('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x187dec(0x264)](a2_0x187dec(0x283),a2_0x187dec(0x389))[a2_0x187dec(0x264)](a2_0x187dec(0x31f),a2_0x187dec(0x3bf))[a2_0x187dec(0x264)]('--jsonl',a2_0x187dec(0x2d5))[a2_0x187dec(0x234)](async(_0x5bcc29,_0x4de044)=>{const _0x4bb2df=a2_0x187dec,_0x23dadb=new ParentSegmentViewCommand(),_0x2465d6=program[_0x4bb2df(0x3d0)](),_0x438143=await createTDXInstance(_0x2465d6),_0xfd8531=await _0x23dadb['run']({'options':{..._0x2465d6,..._0x4de044},'args':_0x5bcc29?[_0x5bcc29]:[],'tdx':_0x438143});gracefulExit(_0xfd8531);}),parentSegmentCmd['command']('desc\x20[name]')[a2_0x187dec(0x240)](a2_0x187dec(0x311))[a2_0x187dec(0x264)](a2_0x187dec(0x4c0),a2_0x187dec(0x1ef))['option'](a2_0x187dec(0x31f),'Output\x20as\x20JSON')[a2_0x187dec(0x264)](a2_0x187dec(0x431),'Output\x20as\x20JSON\x20Lines')[a2_0x187dec(0x234)](async(_0x4500bf,_0x108426)=>{const _0x18c678=a2_0x187dec,_0xfbf1dd=new ParentSegmentDescCommand(),_0x20c978=program[_0x18c678(0x3d0)](),_0x48b5dc=await createTDXInstance(_0x20c978),_0x231421=await _0xfbf1dd['run']({'options':{..._0x20c978,..._0x108426},'args':_0x4500bf?[_0x4500bf]:[],'tdx':_0x48b5dc});gracefulExit(_0x231421);}),parentSegmentCmd[a2_0x187dec(0x26a)]('sql\x20[name]')['description'](a2_0x187dec(0x2de))[a2_0x187dec(0x264)](a2_0x187dec(0x31f),a2_0x187dec(0x3bf))[a2_0x187dec(0x264)](a2_0x187dec(0x431),'Output\x20as\x20JSON\x20Lines')[a2_0x187dec(0x234)](async(_0x2718fe,_0x51f935)=>{const _0x9e3f91=a2_0x187dec,_0xee3424=new ParentSegmentSQLCommand(),_0x433900=program[_0x9e3f91(0x3d0)](),_0x381f3c=await createTDXInstance(_0x433900),_0x13a7e8=await _0xee3424['run']({'options':{..._0x433900,..._0x51f935},'args':_0x2718fe?[_0x2718fe]:[],'tdx':_0x381f3c});gracefulExit(_0x13a7e8);}),parentSegmentCmd[a2_0x187dec(0x26a)]('show\x20[name]')[a2_0x187dec(0x240)](a2_0x187dec(0x1f6))[a2_0x187dec(0x264)](a2_0x187dec(0x249),a2_0x187dec(0x4b0))[a2_0x187dec(0x264)]('--json',a2_0x187dec(0x3bf))['option'](a2_0x187dec(0x431),a2_0x187dec(0x2d5))[a2_0x187dec(0x234)](async(_0x4add1c,_0x4d359c)=>{const _0x4755e2=a2_0x187dec,_0x36a227=new ParentSegmentShowCommand(),_0x21c367=program[_0x4755e2(0x3d0)](),_0x29e4db=await createTDXInstance(_0x21c367),_0x2c32cd=await _0x36a227[_0x4755e2(0x221)]({'options':{..._0x21c367,..._0x4d359c},'args':_0x4add1c?[_0x4add1c]:[],'tdx':_0x29e4db});gracefulExit(_0x2c32cd);}),parentSegmentCmd['command'](a2_0x187dec(0x226))[a2_0x187dec(0x240)](a2_0x187dec(0x1e3))['action'](async(_0x2ac7e0,_0x47cacc)=>{const _0x5d22e6=a2_0x187dec,_0x511ada=new UseCommand(),_0x2846f4=program['opts'](),_0x306c75=_0x2ac7e0?[_0x5d22e6(0x3bd),_0x2ac7e0]:[],_0x3cc9f0=await _0x511ada[_0x5d22e6(0x221)]({'options':{..._0x2846f4,..._0x47cacc},'args':_0x306c75,'tdx':null});gracefulExit(_0x3cc9f0);});const psRtCmd=parentSegmentCmd[a2_0x187dec(0x26a)]('rt')['description']('RT\x202.0\x20configuration\x20management');psRtCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x422))[a2_0x187dec(0x240)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0x187dec(0x234)](async(_0x44c2d8,_0x2d604d)=>{const _0x35c3a8=a2_0x187dec,_0x2d36aa=new PSRtListCommand(),_0x576100=program['opts'](),_0x581963=await createTDXInstance(_0x576100),_0x36184d=await _0x2d36aa[_0x35c3a8(0x221)]({'options':{..._0x576100,..._0x2d604d},'args':_0x44c2d8?[_0x44c2d8]:[],'tdx':_0x581963});gracefulExit(_0x36184d);}),psRtCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x257))[a2_0x187dec(0x240)]('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')['action'](async(_0x435bb7,_0x2c76e7)=>{const _0x3f0876=a2_0x187dec,_0x439fdf=new PSRtValidateCommand(),_0x35a7b2=program['opts'](),_0xefbe64=await createTDXInstance(_0x35a7b2),_0x24f8c0=await _0x439fdf[_0x3f0876(0x221)]({'options':{..._0x35a7b2,..._0x2c76e7},'args':_0x435bb7?[_0x435bb7]:[],'tdx':_0xefbe64});gracefulExit(_0x24f8c0);}),psRtCmd[a2_0x187dec(0x26a)]('configuration_versions\x20[name]')[a2_0x187dec(0x240)](a2_0x187dec(0x321))['action'](async(_0x2387a7,_0xd8262b)=>{const _0x35b7ba=a2_0x187dec,_0x1e683e=new PSRtConfigVersionCommand(),_0xa27394=program[_0x35b7ba(0x3d0)](),_0x150c45=await createTDXInstance(_0xa27394),_0x5c40c8=await _0x1e683e[_0x35b7ba(0x221)]({'options':{..._0xa27394,..._0xd8262b},'args':_0x2387a7?[_0x2387a7]:[],'tdx':_0x150c45});gracefulExit(_0x5c40c8);});const psRtJnCmd=psRtCmd[a2_0x187dec(0x26a)]('jn')[a2_0x187dec(0x240)](a2_0x187dec(0x358));psRtJnCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x3be))[a2_0x187dec(0x240)]('List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x187dec(0x234)](async(_0x541ed1,_0x4be880)=>{const _0x20103b=a2_0x187dec,_0x43264e=new PSRtJnListCommand(),_0xa561aa=program[_0x20103b(0x3d0)](),_0x33ee8e=await createTDXInstance(_0xa561aa),_0x19b5d6=await _0x43264e[_0x20103b(0x221)]({'options':{..._0xa561aa,..._0x4be880},'args':_0x541ed1?[_0x541ed1]:[],'tdx':_0x33ee8e});gracefulExit(_0x19b5d6);}),psRtJnCmd['command'](a2_0x187dec(0x1d0))[a2_0x187dec(0x240)]('Pause\x20activations\x20in\x20an\x20RT\x20journey')[a2_0x187dec(0x234)](async(_0x43f5ef,_0x2bcd87)=>{const _0x2270de=a2_0x187dec,_0x56f11d=new PSRtJnPauseCommand(),_0x3bca8e=program[_0x2270de(0x3d0)](),_0x47e170=await createTDXInstance(_0x3bca8e),_0xfdbe4=await _0x56f11d['run']({'options':{..._0x3bca8e,..._0x2bcd87},'args':[_0x43f5ef],'tdx':_0x47e170});gracefulExit(_0xfdbe4);}),psRtJnCmd[a2_0x187dec(0x26a)]('resume_activations\x20<journeyId>')[a2_0x187dec(0x240)]('Resume\x20activations\x20in\x20an\x20RT\x20journey')[a2_0x187dec(0x234)](async(_0x2a1fc0,_0x5d2ef0)=>{const _0x531e52=a2_0x187dec,_0x46c63b=new PSRtJnResumeCommand(),_0x2dcc1d=program[_0x531e52(0x3d0)](),_0x4f2344=await createTDXInstance(_0x2dcc1d),_0x54a662=await _0x46c63b['run']({'options':{..._0x2dcc1d,..._0x5d2ef0},'args':[_0x2a1fc0],'tdx':_0x4f2344});gracefulExit(_0x54a662);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})['description'](a2_0x187dec(0x3c6));parentRtCmd[a2_0x187dec(0x26a)]('list\x20[pattern]')[a2_0x187dec(0x240)](a2_0x187dec(0x415))['action'](async(_0x4fda9f,_0x27d797)=>{const _0x3b4363=a2_0x187dec,_0x2b60d0=new PSRtListCommand(),_0x48098a=program[_0x3b4363(0x3d0)](),_0x53330c=await createTDXInstance(_0x48098a),_0x2a0f98=await _0x2b60d0[_0x3b4363(0x221)]({'options':{..._0x48098a,..._0x27d797},'args':_0x4fda9f?[_0x4fda9f]:[],'tdx':_0x53330c});gracefulExit(_0x2a0f98);}),parentRtCmd['command'](a2_0x187dec(0x257))[a2_0x187dec(0x240)](a2_0x187dec(0x1ca))[a2_0x187dec(0x234)](async(_0x3862d0,_0x438558)=>{const _0x223697=a2_0x187dec,_0x1a831b=new PSRtValidateCommand(),_0x26c7be=program[_0x223697(0x3d0)](),_0x31cd12=await createTDXInstance(_0x26c7be),_0x87c476=await _0x1a831b[_0x223697(0x221)]({'options':{..._0x26c7be,..._0x438558},'args':_0x3862d0?[_0x3862d0]:[],'tdx':_0x31cd12});gracefulExit(_0x87c476);});const psPzCmd=parentSegmentCmd[a2_0x187dec(0x26a)]('pz')[a2_0x187dec(0x240)](a2_0x187dec(0x244));psPzCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x3be))[a2_0x187dec(0x240)](a2_0x187dec(0x27b))[a2_0x187dec(0x234)](async(_0x1466d3,_0x4faa0a)=>{const _0x277ab8=a2_0x187dec,_0x5284cc=new PSPzListCommand(),_0x16e2b3=program[_0x277ab8(0x3d0)](),_0x33fc01=await createTDXInstance(_0x16e2b3),_0xc560f4=await _0x5284cc[_0x277ab8(0x221)]({'options':{..._0x16e2b3,..._0x4faa0a},'args':_0x1466d3?[_0x1466d3]:[],'tdx':_0x33fc01});gracefulExit(_0xc560f4);}),psPzCmd['command'](a2_0x187dec(0x1e2))['description']('Show\x20a\x20specific\x20realtime\x20personalization')[a2_0x187dec(0x234)](async(_0x2c8847,_0x1ac23e)=>{const _0x346970=a2_0x187dec,_0x29758d=new PSPzShowCommand(),_0x427e67=program[_0x346970(0x3d0)](),_0x2960b2=await createTDXInstance(_0x427e67),_0x4946bb=await _0x29758d[_0x346970(0x221)]({'options':{..._0x427e67,..._0x1ac23e},'args':[_0x2c8847],'tdx':_0x2960b2});gracefulExit(_0x4946bb);}),psPzCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x3bc))[a2_0x187dec(0x240)](a2_0x187dec(0x3fa))[a2_0x187dec(0x234)](async(_0x30e02b,_0x1ef59b)=>{const _0x27096d=a2_0x187dec,_0x27966b=new PSPzDeleteCommand(),_0x22892a=program[_0x27096d(0x3d0)](),_0xb78b67=await createTDXInstance(_0x22892a),_0x3041d1=await _0x27966b[_0x27096d(0x221)]({'options':{..._0x22892a,..._0x1ef59b},'args':[_0x30e02b],'tdx':_0xb78b67});gracefulExit(_0x3041d1);}),psPzCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x362))[a2_0x187dec(0x240)](a2_0x187dec(0x47f))[a2_0x187dec(0x264)](a2_0x187dec(0x298),a2_0x187dec(0x436))[a2_0x187dec(0x264)](a2_0x187dec(0x230),'Personalization\x20description')[a2_0x187dec(0x264)](a2_0x187dec(0x367),a2_0x187dec(0x430))['option'](a2_0x187dec(0x35f),a2_0x187dec(0x447))['option']('--sections\x20<json>',a2_0x187dec(0x301))[a2_0x187dec(0x264)](a2_0x187dec(0x30d),a2_0x187dec(0x1d9))[a2_0x187dec(0x234)](async _0x1e5bba=>{const _0x4701b6=a2_0x187dec,_0x210aad=new PSPzCreateCommand(),_0x12af9d=program['opts'](),_0x1fa541=await createTDXInstance(_0x12af9d),_0x3ac719=await _0x210aad[_0x4701b6(0x221)]({'options':{..._0x12af9d,..._0x1e5bba},'args':[],'tdx':_0x1fa541});gracefulExit(_0x3ac719);}),psPzCmd['command'](a2_0x187dec(0x1d4))[a2_0x187dec(0x240)](a2_0x187dec(0x2c5))[a2_0x187dec(0x264)](a2_0x187dec(0x298),a2_0x187dec(0x436))[a2_0x187dec(0x264)](a2_0x187dec(0x230),'Personalization\x20description')['option'](a2_0x187dec(0x2e9),a2_0x187dec(0x301))[a2_0x187dec(0x264)](a2_0x187dec(0x30d),a2_0x187dec(0x1d9))['action'](async(_0x44ece1,_0x2f66a6)=>{const _0x53ec2c=a2_0x187dec,_0x366e0c=new PSPzPatchCommand(),_0x5ca486=program[_0x53ec2c(0x3d0)](),_0x5c2010=await createTDXInstance(_0x5ca486),_0xca6bb7=await _0x366e0c['run']({'options':{..._0x5ca486,..._0x2f66a6},'args':[_0x44ece1],'tdx':_0x5c2010});gracefulExit(_0xca6bb7);});const psPzServiceCmd=psPzCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x403))[a2_0x187dec(0x240)]('Personalization\x20service\x20management');psPzServiceCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x3be))[a2_0x187dec(0x240)](a2_0x187dec(0x1f3))['action'](async(_0x455224,_0x14666b)=>{const _0x417d8d=a2_0x187dec,_0x281d20=new PSPzServiceListCommand(),_0xe171b9=program[_0x417d8d(0x3d0)](),_0xb88a6e=await createTDXInstance(_0xe171b9),_0x43f690=await _0x281d20['run']({'options':{..._0xe171b9,..._0x14666b},'args':_0x455224?[_0x455224]:[],'tdx':_0xb88a6e});gracefulExit(_0x43f690);}),psPzServiceCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x212))[a2_0x187dec(0x240)](a2_0x187dec(0x467))[a2_0x187dec(0x264)](a2_0x187dec(0x230),'Service\x20description')[a2_0x187dec(0x264)](a2_0x187dec(0x1c6),a2_0x187dec(0x3ce))[a2_0x187dec(0x234)](async(_0x58d195,_0x2c4c57,_0x3302fa)=>{const _0x26b05a=a2_0x187dec,_0x2eccda=new PSPzServiceCreateCommand(),_0x5af6c3=program[_0x26b05a(0x3d0)](),_0x572a03=await createTDXInstance(_0x5af6c3),_0x588481=await _0x2eccda[_0x26b05a(0x221)]({'options':{..._0x5af6c3,..._0x3302fa},'args':_0x2c4c57?[_0x58d195,_0x2c4c57]:[_0x58d195],'tdx':_0x572a03});gracefulExit(_0x588481);}),psPzServiceCmd['command'](a2_0x187dec(0x260))[a2_0x187dec(0x240)](a2_0x187dec(0x4bc))['action'](async(_0xd0e20f,_0xf82d3f,_0x18f819)=>{const _0x1b3a1e=a2_0x187dec,_0x2d3402=new PSPzServiceShowCommand(),_0x3a261e=program[_0x1b3a1e(0x3d0)](),_0x547674=await createTDXInstance(_0x3a261e),_0x5e85a9=await _0x2d3402[_0x1b3a1e(0x221)]({'options':{..._0x3a261e,..._0x18f819},'args':_0xf82d3f?[_0xd0e20f,_0xf82d3f]:[_0xd0e20f],'tdx':_0x547674});gracefulExit(_0x5e85a9);}),psPzServiceCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x36b))[a2_0x187dec(0x240)](a2_0x187dec(0x397))[a2_0x187dec(0x234)](async(_0x239e9b,_0x1182db,_0x4543ef)=>{const _0x346268=a2_0x187dec,_0xb9c0f1=new PSPzServiceDeleteCommand(),_0x2be06d=program[_0x346268(0x3d0)](),_0x31f423=await createTDXInstance(_0x2be06d),_0x25f532=await _0xb9c0f1[_0x346268(0x221)]({'options':{..._0x2be06d,..._0x4543ef},'args':_0x1182db?[_0x239e9b,_0x1182db]:[_0x239e9b],'tdx':_0x31f423});gracefulExit(_0x25f532);}),psPzServiceCmd[a2_0x187dec(0x26a)]('update\x20<service_id>\x20[parent_segment]')['description']('Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x187dec(0x484)]('--name\x20<name>',a2_0x187dec(0x466))[a2_0x187dec(0x264)](a2_0x187dec(0x230),a2_0x187dec(0x1d7))[a2_0x187dec(0x234)](async(_0x287d11,_0x5034ce,_0x456865)=>{const _0x356583=a2_0x187dec,_0x43bc71=new PSPzServiceUpdateCommand(),_0x49880a=program['opts'](),_0x17943b=await createTDXInstance(_0x49880a),_0x218bbc=await _0x43bc71[_0x356583(0x221)]({'options':{..._0x49880a,..._0x456865},'args':_0x5034ce?[_0x287d11,_0x5034ce]:[_0x287d11],'tdx':_0x17943b});gracefulExit(_0x218bbc);}),psPzServiceCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x2a2))['description'](a2_0x187dec(0x258))[a2_0x187dec(0x234)](async(_0x1d75c4,_0x1ee556)=>{const _0x549534=a2_0x187dec,_0x5c3968=new PSPzInitCommand(),_0xe4a994=program[_0x549534(0x3d0)](),_0x440a6a=await createTDXInstance(_0xe4a994),_0x2b5bfb=await _0x5c3968['run']({'options':{..._0xe4a994,..._0x1ee556},'args':_0x1d75c4?[_0x1d75c4]:[],'tdx':_0x440a6a});gracefulExit(_0x2b5bfb);});const psPzServiceTokenCmd=psPzServiceCmd['command'](a2_0x187dec(0x2c7))[a2_0x187dec(0x240)](a2_0x187dec(0x1db));psPzServiceTokenCmd[a2_0x187dec(0x26a)]('create\x20<name>\x20<service_id>\x20[parent_segment]')[a2_0x187dec(0x240)](a2_0x187dec(0x235))[a2_0x187dec(0x264)](a2_0x187dec(0x34a),a2_0x187dec(0x332))[a2_0x187dec(0x264)](a2_0x187dec(0x230),a2_0x187dec(0x19a))['action'](async(_0x3747ca,_0x2e72e8,_0x3e716c,_0x3420de)=>{const _0x127203=a2_0x187dec,_0x2cead6=new PSPzServiceTokenCreateCommand(),_0x118758=program[_0x127203(0x3d0)](),_0x202629=await createTDXInstance(_0x118758),_0x420d67=await _0x2cead6[_0x127203(0x221)]({'options':{..._0x118758,..._0x3420de},'args':_0x3e716c?[_0x3747ca,_0x2e72e8,_0x3e716c]:[_0x3747ca,_0x2e72e8],'tdx':_0x202629});gracefulExit(_0x420d67);}),psPzServiceTokenCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x492))['description'](a2_0x187dec(0x255))[a2_0x187dec(0x234)](async(_0x29ea42,_0x5c2e92,_0xa7731e)=>{const _0x4591ab=new PSPzServiceTokenDeleteCommand(),_0x1cd153=program['opts'](),_0x449ede=await createTDXInstance(_0x1cd153),_0x54ca84=await _0x4591ab['run']({'options':{..._0x1cd153,..._0xa7731e},'args':_0x5c2e92?[_0x29ea42,_0x5c2e92]:[_0x29ea42],'tdx':_0x449ede});gracefulExit(_0x54ca84);}),parentCmd['command'](a2_0x187dec(0x224))[a2_0x187dec(0x240)]('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x187dec(0x484)](a2_0x187dec(0x28b),'Master\x20database\x20name')[a2_0x187dec(0x484)](a2_0x187dec(0x29f),a2_0x187dec(0x337))[a2_0x187dec(0x264)]('--description\x20<text>',a2_0x187dec(0x35a))['option'](a2_0x187dec(0x26f),'Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x187dec(0x264)](a2_0x187dec(0x35d),a2_0x187dec(0x2d6))[a2_0x187dec(0x264)](a2_0x187dec(0x1c2),'Timezone\x20(e.g.,\x20America/Los_Angeles)')[a2_0x187dec(0x264)](a2_0x187dec(0x371),'Attributes\x20as\x20JSON\x20string')[a2_0x187dec(0x264)](a2_0x187dec(0x2ab),'Attributes\x20from\x20JSON\x20file')['option'](a2_0x187dec(0x41e),a2_0x187dec(0x47d))[a2_0x187dec(0x264)]('--behaviors-file\x20<file>','Behaviors\x20from\x20JSON\x20file')[a2_0x187dec(0x264)](a2_0x187dec(0x334),'Customer\x20group\x20as\x20JSON\x20string')[a2_0x187dec(0x264)](a2_0x187dec(0x444),'Customer\x20group\x20from\x20JSON\x20file')['action'](async(_0x2a5125,_0x55a322)=>{const _0x13b386=a2_0x187dec,_0x56d9c8=new ParentSegmentCreateCommand(),_0x54a0e0=program[_0x13b386(0x3d0)](),_0x23e537=await createTDXInstance(_0x54a0e0),_0x30b751=await _0x56d9c8['run']({'options':{..._0x54a0e0,..._0x55a322},'args':[_0x2a5125],'tdx':_0x23e537});gracefulExit(_0x30b751);}),parentCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x426))[a2_0x187dec(0x240)]('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x187dec(0x264)](a2_0x187dec(0x230),a2_0x187dec(0x433))[a2_0x187dec(0x264)](a2_0x187dec(0x26f),a2_0x187dec(0x423))['option'](a2_0x187dec(0x35d),'Updated\x20schedule\x20option')['option'](a2_0x187dec(0x1c2),'Updated\x20timezone')[a2_0x187dec(0x264)](a2_0x187dec(0x398),a2_0x187dec(0x43e))[a2_0x187dec(0x264)](a2_0x187dec(0x227),a2_0x187dec(0x27f))[a2_0x187dec(0x264)](a2_0x187dec(0x37e),a2_0x187dec(0x336))[a2_0x187dec(0x264)](a2_0x187dec(0x32c),'Add\x20behaviors\x20from\x20JSON\x20file')[a2_0x187dec(0x234)](async(_0x645b24,_0x169db6)=>{const _0x27b727=a2_0x187dec,_0x566f38=new ParentSegmentUpdateCommand(),_0xcef4cb=program[_0x27b727(0x3d0)](),_0x48e145=await createTDXInstance(_0xcef4cb),_0x80edf0=await _0x566f38[_0x27b727(0x221)]({'options':{..._0xcef4cb,..._0x169db6},'args':[_0x645b24],'tdx':_0x48e145});gracefulExit(_0x80edf0);}),folderCmd['command'](a2_0x187dec(0x42d))[a2_0x187dec(0x240)]('Create\x20segment\x20folder')[a2_0x187dec(0x264)](a2_0x187dec(0x230),'Folder\x20description')[a2_0x187dec(0x264)](a2_0x187dec(0x3a7),a2_0x187dec(0x199))['action'](async(_0x39dc03,_0x56cf2a,_0x26c896)=>{const _0x5b46e3=a2_0x187dec,_0x4f65ae=new SegmentFolderCreateCommand(),_0x503a76=program['opts'](),_0x5a9558=await createTDXInstance(_0x503a76),_0x215ea8=await _0x4f65ae[_0x5b46e3(0x221)]({'options':{..._0x503a76,..._0x26c896},'args':[_0x39dc03,_0x56cf2a],'tdx':_0x5a9558});gracefulExit(_0x215ea8);}),program[a2_0x187dec(0x26a)](a2_0x187dec(0x2a4))[a2_0x187dec(0x240)](a2_0x187dec(0x3cb))[a2_0x187dec(0x234)](async(_0x1cc451,_0x30ca07)=>{const _0x5a4cfe=a2_0x187dec,_0x351cb9=new ActivationsCommand(),_0x593873=program[_0x5a4cfe(0x3d0)](),_0x52ae8c=await createTDXInstance(_0x593873),_0x24e184=await _0x351cb9['run']({'options':{..._0x593873,..._0x30ca07},'args':[_0x1cc451],'tdx':_0x52ae8c});gracefulExit(_0x24e184);});const workflowCmd=program[a2_0x187dec(0x26a)](a2_0x187dec(0x1a6))[a2_0x187dec(0x482)]('wf')[a2_0x187dec(0x240)]('Workflow\x20(Digdag)\x20management\x20commands'),wfProjectCmd=workflowCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x27a))[a2_0x187dec(0x240)](a2_0x187dec(0x460)),wfProjectListAction=async(_0x55836b,_0x3bf078)=>{const _0x2ee5bf=a2_0x187dec,_0x1d4104=new WorkflowProjectsCommand(),_0x263fc8=program[_0x2ee5bf(0x3d0)](),_0x44806d=await createTDXInstance(_0x263fc8),_0x15fc71=await _0x1d4104[_0x2ee5bf(0x221)]({'options':{..._0x263fc8,..._0x3bf078},'args':_0x55836b?[_0x55836b]:[],'tdx':_0x44806d});gracefulExit(_0x15fc71);};wfProjectCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x422))[a2_0x187dec(0x240)](a2_0x187dec(0x1fd))[a2_0x187dec(0x234)](wfProjectListAction),workflowCmd['command'](a2_0x187dec(0x252))['description'](a2_0x187dec(0x37c))[a2_0x187dec(0x234)](wfProjectListAction);const wfWorkflowListAction=async(_0x2d06a1,_0x5ca82b)=>{const _0x3562f8=a2_0x187dec,_0x1fded2=new WorkflowWorkflowsCommand(),_0x293824=program[_0x3562f8(0x3d0)](),_0x383cd9=await createTDXInstance(_0x293824),_0x36125f=await _0x1fded2[_0x3562f8(0x221)]({'options':{..._0x293824,..._0x5ca82b},'args':_0x2d06a1?[_0x2d06a1]:[],'tdx':_0x383cd9});gracefulExit(_0x36125f);};workflowCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x2a7))[a2_0x187dec(0x240)](a2_0x187dec(0x357))[a2_0x187dec(0x234)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x3d4))[a2_0x187dec(0x240)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0xb6a645,_0x4507b4)=>{const _0x55c88d=a2_0x187dec,_0x4f7810=new WorkflowSessionsCommand(),_0x360bf8=program['opts'](),_0x55350e=await createTDXInstance(_0x360bf8),_0x4ca3eb=await _0x4f7810[_0x55c88d(0x221)]({'options':{..._0x360bf8,..._0x4507b4},'args':_0xb6a645?[_0xb6a645]:[],'tdx':_0x55350e});gracefulExit(_0x4ca3eb);};wfSessionCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x2d9))[a2_0x187dec(0x240)]('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x187dec(0x264)]('--status\x20<status>',a2_0x187dec(0x486))[a2_0x187dec(0x264)](a2_0x187dec(0x384),a2_0x187dec(0x348))[a2_0x187dec(0x264)]('--to\x20<timestamp>',a2_0x187dec(0x391))[a2_0x187dec(0x234)](wfSessionListAction),workflowCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x437))[a2_0x187dec(0x240)](a2_0x187dec(0x2ee))[a2_0x187dec(0x264)](a2_0x187dec(0x2ea),a2_0x187dec(0x486))['option'](a2_0x187dec(0x384),a2_0x187dec(0x348))[a2_0x187dec(0x264)](a2_0x187dec(0x205),'End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x187dec(0x234)](wfSessionListAction);const wfAttemptListAction=async(_0x16d23c,_0x5eb839)=>{const _0x257e22=a2_0x187dec,_0x1ec196=new WorkflowAttemptsCommand(),_0x190755=program[_0x257e22(0x3d0)](),_0xd28dd0=await createTDXInstance(_0x190755),_0x572118=await _0x1ec196[_0x257e22(0x221)]({'options':{..._0x190755,..._0x5eb839},'args':_0x16d23c?[_0x16d23c]:[],'tdx':_0xd28dd0});gracefulExit(_0x572118);},attemptCmd=workflowCmd['command'](a2_0x187dec(0x438))[a2_0x187dec(0x240)]('Workflow\x20attempt\x20management')[a2_0x187dec(0x343)]('[attempt-id]',a2_0x187dec(0x265))[a2_0x187dec(0x343)](a2_0x187dec(0x35e),a2_0x187dec(0x2e4))[a2_0x187dec(0x343)]('[task-name]','Task\x20name\x20for\x20logs\x20action')[a2_0x187dec(0x264)](a2_0x187dec(0x2c8),a2_0x187dec(0x3d1))[a2_0x187dec(0x264)](a2_0x187dec(0x380),'Reason\x20for\x20killing\x20the\x20attempt')[a2_0x187dec(0x264)]('--resume-from\x20<task>',a2_0x187dec(0x22b))['option'](a2_0x187dec(0x419),a2_0x187dec(0x448))[a2_0x187dec(0x264)](a2_0x187dec(0x2ba),'Force\x20retry\x20even\x20if\x20not\x20failed')['option'](a2_0x187dec(0x476),a2_0x187dec(0x204))['action'](async(_0x2e83e0,_0x141ecd,_0x2d32f2,_0x3d6b16)=>{const _0x477153=a2_0x187dec;if(_0x2e83e0===_0x477153(0x310)){await wfAttemptListAction(_0x141ecd,_0x3d6b16);return;}if(!_0x2e83e0){attemptCmd[_0x477153(0x3a6)]();return;}const _0x287b44=program[_0x477153(0x3d0)](),_0xcd5aef=await createTDXInstance(_0x287b44);let _0x411b49=0x0;if(!_0x141ecd){const _0x13445c=new WorkflowAttemptCommand();_0x411b49=await _0x13445c[_0x477153(0x221)]({'options':{..._0x287b44,..._0x3d6b16},'args':[_0x2e83e0],'tdx':_0xcd5aef});}else{if(_0x141ecd===_0x477153(0x4a2)){const _0x50d583=new WorkflowLogsCommand();_0x411b49=await _0x50d583['run']({'options':{..._0x287b44,..._0x3d6b16},'args':_0x2d32f2?[_0x2e83e0,_0x2d32f2]:[_0x2e83e0],'tdx':_0xcd5aef});}else{if(_0x141ecd===_0x477153(0x4b8)){const _0x42a6d0=new WorkflowTasksCommand();_0x411b49=await _0x42a6d0[_0x477153(0x221)]({'options':{..._0x287b44,..._0x3d6b16},'args':[_0x2e83e0],'tdx':_0xcd5aef});}else{if(_0x141ecd==='kill'){const _0x5a8c4e=new WorkflowKillCommand();_0x411b49=await _0x5a8c4e[_0x477153(0x221)]({'options':{..._0x287b44,..._0x3d6b16},'args':[_0x2e83e0],'tdx':_0xcd5aef});}else{if(_0x141ecd===_0x477153(0x3ca)){const _0x4c95be=new WorkflowRetryCommand();_0x411b49=await _0x4c95be[_0x477153(0x221)]({'options':{..._0x287b44,..._0x3d6b16},'args':[_0x477153(0x2c2)+_0x2e83e0],'tdx':_0xcd5aef});}else console[_0x477153(0x342)](_0x477153(0x43a)+_0x141ecd),console[_0x477153(0x342)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x411b49=0x1;}}}}gracefulExit(_0x411b49);});attemptCmd['command'](a2_0x187dec(0x2d9))[a2_0x187dec(0x240)](a2_0x187dec(0x20a))[a2_0x187dec(0x264)](a2_0x187dec(0x476),a2_0x187dec(0x394))[a2_0x187dec(0x234)](wfAttemptListAction),workflowCmd[a2_0x187dec(0x26a)]('attempts\x20[project]')[a2_0x187dec(0x240)](a2_0x187dec(0x3bb))[a2_0x187dec(0x264)](a2_0x187dec(0x476),a2_0x187dec(0x394))[a2_0x187dec(0x234)](wfAttemptListAction),workflowCmd[a2_0x187dec(0x26a)]('timeline\x20[project.workflow]')[a2_0x187dec(0x240)](a2_0x187dec(0x305))[a2_0x187dec(0x264)](a2_0x187dec(0x2f2),'Follow/watch\x20timeline\x20for\x20running\x20attempts')[a2_0x187dec(0x264)]('--session-id\x20<id>',a2_0x187dec(0x41c))[a2_0x187dec(0x264)](a2_0x187dec(0x2ce),a2_0x187dec(0x3ed))[a2_0x187dec(0x234)](async(_0x245a30,_0x19846c)=>{const _0x11956d=a2_0x187dec,_0x1a8cfb=new WorkflowTimelineCommand(),_0x55a023=program[_0x11956d(0x3d0)](),_0x2e16e2=await createTDXInstance(_0x55a023),_0x100f97=await _0x1a8cfb[_0x11956d(0x221)]({'options':{..._0x55a023,..._0x19846c},'args':_0x245a30?[_0x245a30]:[],'tdx':_0x2e16e2});gracefulExit(_0x100f97);}),workflowCmd[a2_0x187dec(0x26a)]('retry\x20<session-id>')[a2_0x187dec(0x240)](a2_0x187dec(0x45a))['option'](a2_0x187dec(0x2d7),a2_0x187dec(0x36a))[a2_0x187dec(0x264)]('--params\x20<json>',a2_0x187dec(0x483))[a2_0x187dec(0x234)](async(_0xb939c3,_0x398680)=>{const _0x3891da=a2_0x187dec,_0x3f9484=new WorkflowRetryCommand(),_0x57a9e8=program['opts'](),_0x35545d=await createTDXInstance(_0x57a9e8),_0x1d05f7=await _0x3f9484[_0x3891da(0x221)]({'options':{..._0x57a9e8,..._0x398680},'args':[_0xb939c3],'tdx':_0x35545d});gracefulExit(_0x1d05f7);}),workflowCmd['command'](a2_0x187dec(0x251))[a2_0x187dec(0x240)](a2_0x187dec(0x3ab))[a2_0x187dec(0x264)](a2_0x187dec(0x331),a2_0x187dec(0x1b8),(_0x4da4dc,_0x20ac84=[])=>[..._0x20ac84,_0x4da4dc],[])[a2_0x187dec(0x264)](a2_0x187dec(0x2d2),a2_0x187dec(0x1be))[a2_0x187dec(0x234)](async(_0xa97f0,_0x4c4d6e)=>{const _0x4b1610=a2_0x187dec,_0x4ef9e2=new WorkflowRunCommand(),_0x4c56ab=program['opts'](),_0x5edee5=await createTDXInstance(_0x4c56ab),_0x6dc128=await _0x4ef9e2[_0x4b1610(0x221)]({'options':{..._0x4c56ab,..._0x4c4d6e},'args':_0xa97f0?[_0xa97f0]:[],'tdx':_0x5edee5});gracefulExit(_0x6dc128);}),workflowCmd['command'](a2_0x187dec(0x228))[a2_0x187dec(0x240)](a2_0x187dec(0x399))['option'](a2_0x187dec(0x26e),'Specific\x20revision\x20to\x20download\x20(default:\x20latest)')[a2_0x187dec(0x234)](async(_0x27ff1f,_0x5dd3c3,_0x2f01fa)=>{const _0x4ec643=a2_0x187dec,_0x3f9d2c=new WorkflowDownloadCommand(),_0x6b5a6d=program[_0x4ec643(0x3d0)](),_0x58e6cc=await createTDXInstance(_0x6b5a6d),_0x176c42=await _0x3f9d2c[_0x4ec643(0x221)]({'options':{..._0x6b5a6d,..._0x2f01fa},'args':[_0x27ff1f,_0x5dd3c3||'.'],'tdx':_0x58e6cc});gracefulExit(_0x176c42);}),workflowCmd[a2_0x187dec(0x26a)]('pull\x20<project>\x20[target-dir]')[a2_0x187dec(0x240)](a2_0x187dec(0x345))[a2_0x187dec(0x264)](a2_0x187dec(0x26e),'Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0x187dec(0x264)](a2_0x187dec(0x267),a2_0x187dec(0x456))[a2_0x187dec(0x234)](async(_0x45434e,_0x31ea3c,_0x43dedd)=>{const _0x59b836=a2_0x187dec,_0x2eb90c=new WorkflowPullCommand(),_0x1d4387=program[_0x59b836(0x3d0)](),_0xff4c49=await createTDXInstance(_0x1d4387),_0x5aa6d4=await _0x2eb90c[_0x59b836(0x221)]({'options':{..._0x1d4387,..._0x43dedd},'args':_0x31ea3c?[_0x45434e,_0x31ea3c]:[_0x45434e],'tdx':_0xff4c49});gracefulExit(_0x5aa6d4);}),workflowCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x361))[a2_0x187dec(0x240)](a2_0x187dec(0x1e9))[a2_0x187dec(0x264)]('--revision\x20<revision>','Custom\x20revision\x20name\x20(default:\x20timestamp)')[a2_0x187dec(0x264)](a2_0x187dec(0x267),a2_0x187dec(0x3cc))[a2_0x187dec(0x264)](a2_0x187dec(0x1f7),a2_0x187dec(0x459))['action'](async(_0x4672c8,_0x43492f)=>{const _0x2ac4f0=a2_0x187dec,_0x520c51=new WorkflowPushCommand(),_0x2c7add=program[_0x2ac4f0(0x3d0)](),_0x45f2e0=await createTDXInstance(_0x2c7add),_0x13b5f7=await _0x520c51['run']({'options':{..._0x2c7add,..._0x43492f},'args':_0x4672c8?[_0x4672c8]:[],'tdx':_0x45f2e0});gracefulExit(_0x13b5f7);}),workflowCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x2e2))[a2_0x187dec(0x240)](a2_0x187dec(0x253))[a2_0x187dec(0x264)](a2_0x187dec(0x250),a2_0x187dec(0x19e))[a2_0x187dec(0x264)](a2_0x187dec(0x26e),'Revision\x20name\x20(default:\x20timestamp)')[a2_0x187dec(0x264)](a2_0x187dec(0x1f7),a2_0x187dec(0x459))[a2_0x187dec(0x234)](async(_0x29f376,_0x57dc5c)=>{const _0x5b4317=a2_0x187dec,_0x1da235=new WorkflowUploadCommand(),_0x3325ee=program[_0x5b4317(0x3d0)](),_0x32f3cb=await createTDXInstance(_0x3325ee),_0x4d8c90=await _0x1da235[_0x5b4317(0x221)]({'options':{..._0x3325ee,..._0x57dc5c},'args':_0x29f376?[_0x29f376]:[],'tdx':_0x32f3cb});gracefulExit(_0x4d8c90);}),workflowCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x1ed))[a2_0x187dec(0x240)]('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')[a2_0x187dec(0x264)](a2_0x187dec(0x250),a2_0x187dec(0x462))['option'](a2_0x187dec(0x26e),a2_0x187dec(0x475))[a2_0x187dec(0x264)](a2_0x187dec(0x267),a2_0x187dec(0x36d))['option'](a2_0x187dec(0x1f7),a2_0x187dec(0x459))['action'](async(_0x1e5fe0,_0x582140)=>{const _0x3895f1=a2_0x187dec,_0x32dac8=new WorkflowCloneCommand(),_0xbbad44=program[_0x3895f1(0x3d0)](),_0x4421cd=await createTDXInstance(_0xbbad44),_0x1a6e61=await _0x32dac8[_0x3895f1(0x221)]({'options':{..._0xbbad44,..._0x582140},'args':_0x1e5fe0?[_0x1e5fe0]:[],'tdx':_0x4421cd});gracefulExit(_0x1a6e61);}),workflowCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x412))['description']('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x187dec(0x234)](async(_0x466f4e,_0x24ad36)=>{const _0x22f938=a2_0x187dec,_0x74903=new WorkflowDeleteCommand(),_0x2358b=program[_0x22f938(0x3d0)](),_0x149c65=await createTDXInstance(_0x2358b),_0x2fccf8=await _0x74903[_0x22f938(0x221)]({'options':{..._0x2358b,..._0x24ad36},'args':[_0x466f4e],'tdx':_0x149c65});gracefulExit(_0x2fccf8);}),workflowCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x416))['description'](a2_0x187dec(0x2f1))[a2_0x187dec(0x264)](a2_0x187dec(0x20c),a2_0x187dec(0x405))[a2_0x187dec(0x234)](async(_0x3af5ff,_0x28a35c)=>{const _0x3211bf=a2_0x187dec,_0x168545=new WorkflowUseCommand(),_0x4b2095=program[_0x3211bf(0x3d0)](),_0x55786c=await createTDXInstance(_0x4b2095),_0x18fa3d=await _0x168545[_0x3211bf(0x221)]({'options':{..._0x4b2095,..._0x28a35c},'args':_0x3af5ff?[_0x3af5ff]:[],'tdx':_0x55786c});gracefulExit(_0x18fa3d);});const wfSecretsCmd=workflowCmd['command'](a2_0x187dec(0x30c))[a2_0x187dec(0x240)](a2_0x187dec(0x194));wfSecretsCmd['command'](a2_0x187dec(0x2d9))[a2_0x187dec(0x240)](a2_0x187dec(0x363))[a2_0x187dec(0x234)](async(_0x3a90d0,_0x3caa50)=>{const _0x16f7fb=a2_0x187dec,_0x1e066d=new WorkflowSecretsListCommand(),_0x2f9ead=program[_0x16f7fb(0x3d0)](),_0x2a9369=await createTDXInstance(_0x2f9ead),_0xb631a1=await _0x1e066d[_0x16f7fb(0x221)]({'options':{..._0x2f9ead,..._0x3caa50},'args':_0x3a90d0?[_0x3a90d0]:[],'tdx':_0x2a9369});gracefulExit(_0xb631a1);}),wfSecretsCmd[a2_0x187dec(0x26a)]('set\x20<args...>')[a2_0x187dec(0x240)](a2_0x187dec(0x312))[a2_0x187dec(0x234)](async(_0x2cc752,_0x40ca3d)=>{const _0x2b3536=a2_0x187dec,_0x23f68f=new WorkflowSecretsSetCommand(),_0x593d17=program['opts'](),_0xe6dfb9=await createTDXInstance(_0x593d17),_0x4d4df8=await _0x23f68f[_0x2b3536(0x221)]({'options':{..._0x593d17,..._0x40ca3d},'args':_0x2cc752,'tdx':_0xe6dfb9});gracefulExit(_0x4d4df8);}),wfSecretsCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x2e0))[a2_0x187dec(0x240)](a2_0x187dec(0x2a0))[a2_0x187dec(0x234)](async(_0x164c60,_0x2ea526)=>{const _0x37cea2=new WorkflowSecretsDeleteCommand(),_0x228ac2=program['opts'](),_0x42bd46=await createTDXInstance(_0x228ac2),_0x5c2ac4=await _0x37cea2['run']({'options':{..._0x228ac2,..._0x2ea526},'args':_0x164c60,'tdx':_0x42bd46});gracefulExit(_0x5c2ac4);});const wfScheduleCmd=workflowCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x45e))['description'](a2_0x187dec(0x3cf));wfScheduleCmd['command'](a2_0x187dec(0x40e))[a2_0x187dec(0x240)](a2_0x187dec(0x4aa))[a2_0x187dec(0x234)](async(_0x126353,_0x38bfee)=>{const _0x17257e=a2_0x187dec,_0x2f8816=new WorkflowScheduleEnableCommand(),_0x11d84e=program[_0x17257e(0x3d0)](),_0x2d9229=await createTDXInstance(_0x11d84e),_0x37887e=await _0x2f8816[_0x17257e(0x221)]({'options':{..._0x11d84e,..._0x38bfee},'args':[_0x126353],'tdx':_0x2d9229});gracefulExit(_0x37887e);}),wfScheduleCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x323))[a2_0x187dec(0x240)](a2_0x187dec(0x396))['action'](async(_0x71259b,_0x307d77)=>{const _0x3b14f8=a2_0x187dec,_0x3d1b6c=new WorkflowScheduleDisableCommand(),_0x25d5c9=program[_0x3b14f8(0x3d0)](),_0x3afafc=await createTDXInstance(_0x25d5c9),_0x30da9a=await _0x3d1b6c[_0x3b14f8(0x221)]({'options':{..._0x25d5c9,..._0x307d77},'args':[_0x71259b],'tdx':_0x3afafc});gracefulExit(_0x30da9a);}),workflowCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x328))['description'](a2_0x187dec(0x417))['action'](async _0x5d4b70=>{const _0x40b91d=a2_0x187dec,_0x2a727a=new WorkflowSchedulesCommand(),_0x243e29=program[_0x40b91d(0x3d0)](),_0x313ffb=await createTDXInstance(_0x243e29),_0x44977b=await _0x2a727a[_0x40b91d(0x221)]({'options':{..._0x243e29,..._0x5d4b70},'args':[],'tdx':_0x313ffb});gracefulExit(_0x44977b);});const jobCmd=program['command']('job')[a2_0x187dec(0x240)](a2_0x187dec(0x213)),jobListAction=async _0x26915d=>{const _0x4888a7=a2_0x187dec,_0x3e3845=new JobListCommand(),_0x5c0971=program[_0x4888a7(0x3d0)](),_0x50a7ce=await createTDXInstance(_0x5c0971),_0x5c970e=await _0x3e3845['run']({'options':{..._0x5c0971,..._0x26915d},'args':[],'tdx':_0x50a7ce});gracefulExit(_0x5c970e);};jobCmd[a2_0x187dec(0x26a)]('list')['description'](a2_0x187dec(0x4a5))[a2_0x187dec(0x264)](a2_0x187dec(0x2ea),a2_0x187dec(0x36f))[a2_0x187dec(0x234)](jobListAction),program[a2_0x187dec(0x26a)](a2_0x187dec(0x3cd),{'hidden':!![]})['description'](a2_0x187dec(0x2eb))['option'](a2_0x187dec(0x2ea),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x187dec(0x234)](jobListAction),jobCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x35c))[a2_0x187dec(0x240)]('Show\x20job\x20details')['action'](async(_0x32f274,_0x38311e)=>{const _0x256c7e=a2_0x187dec,_0x572e9d=new JobShowCommand(),_0x102108=program[_0x256c7e(0x3d0)](),_0x592fa7=await createTDXInstance(_0x102108),_0x8b8689=await _0x572e9d[_0x256c7e(0x221)]({'options':{..._0x102108,..._0x38311e},'args':[_0x32f274],'tdx':_0x592fa7});gracefulExit(_0x8b8689);}),jobCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x202))[a2_0x187dec(0x240)]('Kill\x20a\x20job')['action'](async(_0x2ccd2b,_0x4728ac)=>{const _0x55f9e6=a2_0x187dec,_0x36dcd3=new JobKillCommand(),_0x19ad4b=program['opts'](),_0x258ba9=await createTDXInstance(_0x19ad4b),_0x7eb5aa=await _0x36dcd3[_0x55f9e6(0x221)]({'options':{..._0x19ad4b,..._0x4728ac},'args':[_0x2ccd2b],'tdx':_0x258ba9});gracefulExit(_0x7eb5aa);}),jobCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x3e0))[a2_0x187dec(0x240)](a2_0x187dec(0x330))[a2_0x187dec(0x264)]('--job-type\x20<type>',a2_0x187dec(0x203),a2_0x187dec(0x41a))['option'](a2_0x187dec(0x1e7),a2_0x187dec(0x3f1))[a2_0x187dec(0x264)]('--database\x20<name>',a2_0x187dec(0x3a9),a2_0x187dec(0x491))[a2_0x187dec(0x264)](a2_0x187dec(0x29a),a2_0x187dec(0x1f4))[a2_0x187dec(0x234)](async(_0x3aac57,_0x433262)=>{const _0x149a2a=a2_0x187dec,_0x2007d2=new JobSubmitCommand(),_0x2ae4e7=program[_0x149a2a(0x3d0)](),_0x1ea8d3=await createTDXInstance(_0x2ae4e7),_0x4682ee=await _0x2007d2[_0x149a2a(0x221)]({'options':{..._0x2ae4e7,..._0x433262},'args':_0x3aac57?[_0x3aac57]:[],'tdx':_0x1ea8d3});gracefulExit(_0x4682ee);}),jobCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x44d))[a2_0x187dec(0x240)](a2_0x187dec(0x1a9))[a2_0x187dec(0x234)](async(_0x3e5b98,_0x1e156c)=>{const _0x4d2d28=a2_0x187dec,_0x4a176e=new JobResultCommand(),_0x3154a8=program[_0x4d2d28(0x3d0)](),_0xb54e41=await createTDXInstance(_0x3154a8),_0x54b2f8=await _0x4a176e[_0x4d2d28(0x221)]({'options':{..._0x3154a8,..._0x1e156c},'args':[_0x3e5b98],'tdx':_0xb54e41});gracefulExit(_0x54b2f8);});const scheduleCmd=jobCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x45e))['description'](a2_0x187dec(0x2ac));scheduleCmd[a2_0x187dec(0x26a)]('list\x20[pattern]')[a2_0x187dec(0x240)](a2_0x187dec(0x2fd))[a2_0x187dec(0x234)](async(_0x775ae1,_0x1012b8)=>{const _0x307c85=a2_0x187dec,_0x1d9f20=new ScheduleListCommand(),_0x3ac096=program[_0x307c85(0x3d0)](),_0x2e29a8=await createTDXInstance(_0x3ac096),_0x5a9891=await _0x1d9f20[_0x307c85(0x221)]({'options':{..._0x3ac096,..._0x1012b8},'args':_0x775ae1?[_0x775ae1]:[],'tdx':_0x2e29a8});gracefulExit(_0x5a9891);}),scheduleCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x4b1))['description'](a2_0x187dec(0x461))[a2_0x187dec(0x234)](async(_0x2afe51,_0x3805e3)=>{const _0x421e60=a2_0x187dec,_0x5b8fc9=new ScheduleShowCommand(),_0x4453c8=program[_0x421e60(0x3d0)](),_0x3f9071=await createTDXInstance(_0x4453c8),_0x325878=await _0x5b8fc9[_0x421e60(0x221)]({'options':{..._0x4453c8,..._0x3805e3},'args':[_0x2afe51],'tdx':_0x3f9071});gracefulExit(_0x325878);}),scheduleCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x224))['description']('Create\x20a\x20scheduled\x20query')[a2_0x187dec(0x264)](a2_0x187dec(0x3ac),a2_0x187dec(0x2db))['option'](a2_0x187dec(0x1b5),a2_0x187dec(0x1b2))[a2_0x187dec(0x484)]('-f,\x20--file\x20<path>',a2_0x187dec(0x3f1))['option'](a2_0x187dec(0x20d),a2_0x187dec(0x4b4),a2_0x187dec(0x41a))[a2_0x187dec(0x264)](a2_0x187dec(0x375),a2_0x187dec(0x3b6))[a2_0x187dec(0x264)]('--timezone\x20<tz>','Timezone\x20for\x20cron\x20(default:\x20UTC)')[a2_0x187dec(0x264)](a2_0x187dec(0x2c4),a2_0x187dec(0x418))[a2_0x187dec(0x264)](a2_0x187dec(0x46d),a2_0x187dec(0x452))[a2_0x187dec(0x264)](a2_0x187dec(0x4a4),a2_0x187dec(0x1f9))[a2_0x187dec(0x264)](a2_0x187dec(0x2ae),a2_0x187dec(0x2b8))['option']('--result\x20<url>',a2_0x187dec(0x34c))['action'](async(_0x232f3f,_0x1c6137)=>{const _0x4fe2f5=a2_0x187dec,_0x5eba21=new ScheduleCreateCommand(),_0x192eb2=program[_0x4fe2f5(0x3d0)](),_0x4d6a0d=await createTDXInstance(_0x192eb2);_0x1c6137['in']&&(_0x1c6137[_0x4fe2f5(0x19f)]=_0x1c6137['in']);const _0x40b2aa=await _0x5eba21['run']({'options':{..._0x192eb2,..._0x1c6137},'args':[_0x232f3f],'tdx':_0x4d6a0d});gracefulExit(_0x40b2aa);}),scheduleCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x426))['description']('Update\x20a\x20scheduled\x20query')[a2_0x187dec(0x264)](a2_0x187dec(0x3ac),a2_0x187dec(0x3c7))[a2_0x187dec(0x264)]('--in\x20<db>',a2_0x187dec(0x1b2))[a2_0x187dec(0x264)](a2_0x187dec(0x1e7),'Read\x20query\x20from\x20file')[a2_0x187dec(0x264)](a2_0x187dec(0x20d),'Query\x20type:\x20trino\x20or\x20hive')[a2_0x187dec(0x264)]('--cron\x20<expression>',a2_0x187dec(0x3b6))[a2_0x187dec(0x264)]('--timezone\x20<tz>',a2_0x187dec(0x3de))[a2_0x187dec(0x264)](a2_0x187dec(0x2c4),a2_0x187dec(0x418))[a2_0x187dec(0x264)](a2_0x187dec(0x46d),a2_0x187dec(0x452))[a2_0x187dec(0x264)](a2_0x187dec(0x4a4),'Retry\x20limit\x20(0\x20to\x2032)')['option'](a2_0x187dec(0x2ae),a2_0x187dec(0x2b8))[a2_0x187dec(0x264)]('--result\x20<url>','Result\x20output\x20destination\x20URL')['action'](async(_0x37a973,_0x5af88d)=>{const _0x56396d=a2_0x187dec,_0xd8406e=new ScheduleUpdateCommand(),_0x5a0411=program[_0x56396d(0x3d0)](),_0x2e26b5=await createTDXInstance(_0x5a0411);_0x5af88d['in']&&(_0x5af88d[_0x56396d(0x19f)]=_0x5af88d['in']);const _0x24c778=await _0xd8406e[_0x56396d(0x221)]({'options':{..._0x5a0411,..._0x5af88d},'args':[_0x37a973],'tdx':_0x2e26b5});gracefulExit(_0x24c778);}),scheduleCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x4be))[a2_0x187dec(0x240)](a2_0x187dec(0x30b))[a2_0x187dec(0x234)](async(_0x51dfc6,_0x51e8c9)=>{const _0x2b98f5=a2_0x187dec,_0x2b5d8d=new ScheduleDeleteCommand(),_0x2e2b76=program[_0x2b98f5(0x3d0)](),_0x4438ae=await createTDXInstance(_0x2e2b76),_0x3f5bb7=await _0x2b5d8d['run']({'options':{..._0x2e2b76,..._0x51e8c9},'args':[_0x51dfc6],'tdx':_0x4438ae});gracefulExit(_0x3f5bb7);}),scheduleCmd['command'](a2_0x187dec(0x32f))[a2_0x187dec(0x240)](a2_0x187dec(0x216))[a2_0x187dec(0x264)](a2_0x187dec(0x410),'Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)')[a2_0x187dec(0x264)]('--num\x20<1-10>',a2_0x187dec(0x474))[a2_0x187dec(0x234)](async(_0x4f862b,_0x55574d)=>{const _0x349cf6=a2_0x187dec,_0x498ea0=new ScheduleRunCommand(),_0x5ec7b8=program[_0x349cf6(0x3d0)](),_0x195603=await createTDXInstance(_0x5ec7b8),_0x4fca62=await _0x498ea0['run']({'options':{..._0x5ec7b8,..._0x55574d},'args':[_0x4f862b],'tdx':_0x195603});gracefulExit(_0x4fca62);}),scheduleCmd['command']('history\x20<name>')[a2_0x187dec(0x240)](a2_0x187dec(0x1da))[a2_0x187dec(0x264)](a2_0x187dec(0x40b),a2_0x187dec(0x26d))['option'](a2_0x187dec(0x442),a2_0x187dec(0x1aa))[a2_0x187dec(0x234)](async(_0x9c0a60,_0x330677)=>{const _0x38251e=a2_0x187dec,_0x238c20=new ScheduleHistoryCommand(),_0x3bab67=program[_0x38251e(0x3d0)](),_0x4e179a=await createTDXInstance(_0x3bab67),_0x1a06f0=await _0x238c20['run']({'options':{..._0x3bab67,..._0x330677},'args':[_0x9c0a60],'tdx':_0x4e179a});gracefulExit(_0x1a06f0);});const llmCmd=program['command'](a2_0x187dec(0x1a0))[a2_0x187dec(0x240)](a2_0x187dec(0x347));llmCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x1d5))['description'](a2_0x187dec(0x1e6))['action'](async(_0x5743d6,_0xa80bb8)=>{const _0x3cd299=a2_0x187dec,_0x5c6a71=new LLMUseCommand(),_0x47d684=program[_0x3cd299(0x3d0)](),_0x61f1e7=await createTDXInstance(_0x47d684),_0x5540fb=await _0x5c6a71[_0x3cd299(0x221)]({'options':{..._0x47d684,..._0xa80bb8},'args':[_0x5743d6],'tdx':_0x61f1e7});gracefulExit(_0x5540fb);}),llmCmd[a2_0x187dec(0x26a)]('models')[a2_0x187dec(0x240)](a2_0x187dec(0x1ce))[a2_0x187dec(0x234)](async _0x35f3d9=>{const _0x19e3de=a2_0x187dec,_0xc4148b=new LLMModelsCommand(),_0x50e235=program[_0x19e3de(0x3d0)](),_0x2480bb=await createTDXInstance(_0x50e235),_0x4c0a8e=await _0xc4148b[_0x19e3de(0x221)]({'options':{..._0x50e235,..._0x35f3d9},'args':[],'tdx':_0x2480bb});gracefulExit(_0x4c0a8e);});const projectCmd=llmCmd['command'](a2_0x187dec(0x27a))['description'](a2_0x187dec(0x2dd)),llmProjectListAction=async(_0x682b2e,_0x3dcb3e)=>{const _0x104ee5=a2_0x187dec,_0x53e74b=new LLMProjectsCommand(),_0x184843=program[_0x104ee5(0x3d0)](),_0x27f726=await createTDXInstance(_0x184843),_0x1295fd=await _0x53e74b[_0x104ee5(0x221)]({'options':{..._0x184843,..._0x3dcb3e},'args':_0x682b2e?[_0x682b2e]:[],'tdx':_0x27f726});gracefulExit(_0x1295fd);};projectCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x422))['description'](a2_0x187dec(0x22c))[a2_0x187dec(0x234)](llmProjectListAction),llmCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x252))['description']('List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0x187dec(0x234)](llmProjectListAction),projectCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x224))[a2_0x187dec(0x240)]('Create\x20a\x20new\x20LLM\x20project')[a2_0x187dec(0x264)]('--description\x20<text>',a2_0x187dec(0x2bc))[a2_0x187dec(0x234)](async(_0x13b520,_0x462830)=>{const _0xfb2dfd=a2_0x187dec,_0xd7de23=new LLMProjectCreateCommand(),_0x328723=program[_0xfb2dfd(0x3d0)](),_0x2a0c61=await createTDXInstance(_0x328723),_0x45df23=await _0xd7de23['run']({'options':{..._0x328723,..._0x462830},'args':[_0x13b520],'tdx':_0x2a0c61});gracefulExit(_0x45df23);}),projectCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x4be))[a2_0x187dec(0x240)]('Delete\x20an\x20LLM\x20project')[a2_0x187dec(0x234)](async(_0x114c60,_0x37b6ce)=>{const _0x507951=a2_0x187dec,_0x5b8e2c=new LLMProjectDeleteCommand(),_0x321665=program['opts'](),_0x26b6a1=await createTDXInstance(_0x321665),_0x241d10=await _0x5b8e2c[_0x507951(0x221)]({'options':{..._0x321665,..._0x37b6ce},'args':[_0x114c60],'tdx':_0x26b6a1});gracefulExit(_0x241d10);}),projectCmd[a2_0x187dec(0x26a)]('backup\x20<name>')[a2_0x187dec(0x240)](a2_0x187dec(0x485))[a2_0x187dec(0x264)]('-o,\x20--output\x20<folder>',a2_0x187dec(0x451))[a2_0x187dec(0x264)]('--dry-run',a2_0x187dec(0x1ad))[a2_0x187dec(0x234)](async(_0xfd9451,_0x1ac48f)=>{const _0x491c7f=a2_0x187dec,_0x3b6e45=new LLMProjectBackupCommand(),_0xa7e65e=program[_0x491c7f(0x3d0)](),_0x5b1abe=await createTDXInstance(_0xa7e65e),_0x2c1e75=await _0x3b6e45[_0x491c7f(0x221)]({'options':{..._0xa7e65e,..._0x1ac48f},'args':[_0xfd9451],'tdx':_0x5b1abe});gracefulExit(_0x2c1e75);}),projectCmd['command'](a2_0x187dec(0x317))[a2_0x187dec(0x240)](a2_0x187dec(0x21d))[a2_0x187dec(0x264)](a2_0x187dec(0x445),'New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')[a2_0x187dec(0x264)](a2_0x187dec(0x267),a2_0x187dec(0x3d9))[a2_0x187dec(0x234)](async(_0x4695a1,_0xe50805)=>{const _0x2c695e=a2_0x187dec,_0x25235e=new LLMProjectRestoreCommand(),_0x57f986=program[_0x2c695e(0x3d0)](),_0x21f82a=await createTDXInstance(_0x57f986),_0x5d7000=await _0x25235e[_0x2c695e(0x221)]({'options':{..._0x57f986,..._0xe50805},'args':[_0x4695a1],'tdx':_0x21f82a});gracefulExit(_0x5d7000);});const llmAgentListAction=async(_0x393b85,_0x44bf14)=>{const _0x1a481f=a2_0x187dec,_0x11b8d9=new LLMAgentsCommand(),_0x56dd44=program[_0x1a481f(0x3d0)](),_0xba3c10=await createTDXInstance(_0x56dd44),_0x5e7d92=await _0x11b8d9[_0x1a481f(0x221)]({'options':{..._0x56dd44,..._0x44bf14},'args':_0x393b85?[_0x393b85]:[],'tdx':_0xba3c10});gracefulExit(_0x5e7d92);};llmCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x41d))[a2_0x187dec(0x240)](a2_0x187dec(0x472))['action'](llmAgentListAction),program[a2_0x187dec(0x26a)](a2_0x187dec(0x41d))['description'](a2_0x187dec(0x472))[a2_0x187dec(0x234)](llmAgentListAction),llmCmd['command'](a2_0x187dec(0x2b0))['description'](a2_0x187dec(0x277))[a2_0x187dec(0x264)](a2_0x187dec(0x21c),a2_0x187dec(0x21e))[a2_0x187dec(0x234)](async(_0xbcf4ec,_0x234e6f)=>{const _0x50379f=a2_0x187dec,_0x35a372=new LLMHistoryCommand(),_0x127020=program[_0x50379f(0x3d0)](),_0x551b72=await createTDXInstance(_0x127020),_0xfd4296=await _0x35a372[_0x50379f(0x221)]({'options':{..._0x127020,..._0x234e6f},'args':_0xbcf4ec?[_0xbcf4ec]:[],'tdx':_0x551b72});gracefulExit(_0xfd4296);});isExperimentalAvailable()&&llmCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x479))[a2_0x187dec(0x240)](a2_0x187dec(0x3e6))['action'](async(_0x1eb385,_0xbb406f)=>{const _0x40edc3=a2_0x187dec,_0x1ae337=new LLMLogCommand(),_0xbec58f=program[_0x40edc3(0x3d0)](),_0x5ed268=await createTDXInstance(_0xbec58f),_0xc85ae=await _0x1ae337[_0x40edc3(0x221)]({'options':{..._0xbec58f,..._0xbb406f},'args':[_0x1eb385],'tdx':_0x5ed268});gracefulExit(_0xc85ae);});program[a2_0x187dec(0x26a)](a2_0x187dec(0x200))[a2_0x187dec(0x455)](a2_0x187dec(0x46b))[a2_0x187dec(0x240)](a2_0x187dec(0x1bc))[a2_0x187dec(0x264)]('-c,\x20--continue',a2_0x187dec(0x446))[a2_0x187dec(0x264)]('-r,\x20--resume','Resume\x20a\x20conversation\x20(shows\x20selector)')[a2_0x187dec(0x264)]('--no-proxy',a2_0x187dec(0x236))['allowUnknownOption']()[a2_0x187dec(0x223)](!![])[a2_0x187dec(0x47c)](a2_0x187dec(0x3b8),'\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_0x187dec(0x234)](async(_0x54c594,_0x3fc2ff)=>{const _0x2e09dd=a2_0x187dec,_0x432768=program['opts'](),_0x94f8d0=Array[_0x2e09dd(0x450)](_0x54c594)?_0x54c594:[];if(_0x94f8d0[0x0]===_0x2e09dd(0x37f)){const _0x461809=new ClaudeStatuslineCommand(),_0x3826fb=await _0x461809['run']({'options':{..._0x432768,..._0x3fc2ff},'args':_0x94f8d0[_0x2e09dd(0x1e1)](0x1),'tdx':null});gracefulExit(_0x3826fb);}if(_0x94f8d0[0x0]===_0x2e09dd(0x455)){const _0x1980f4=new ClaudeUsageCommand(),_0x44ea83=await _0x1980f4['run']({'options':{..._0x432768,..._0x3fc2ff},'args':_0x94f8d0[_0x2e09dd(0x1e1)](0x1),'tdx':null});gracefulExit(_0x44ea83);}const _0x4e4bcb=new ClaudeCommand(),_0x3d0e2c=await createTDXInstance(_0x432768),_0xf3af41=await _0x4e4bcb[_0x2e09dd(0x221)]({'options':{..._0x432768,..._0x3fc2ff},'args':_0x94f8d0,'tdx':_0x3d0e2c});gracefulExit(_0xf3af41);}),program['command'](a2_0x187dec(0x3ee))[a2_0x187dec(0x240)]('Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)')['option'](a2_0x187dec(0x20c),a2_0x187dec(0x25a))[a2_0x187dec(0x264)]('--default','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x187dec(0x234)](async(_0x53a7f3,_0x2d4970,_0x3167c1)=>{const _0x7e8eb2=a2_0x187dec,_0x19f460=new UseCommand(),_0x37adde=program[_0x7e8eb2(0x3d0)](),_0x54b6a5=[];if(_0x53a7f3)_0x54b6a5[_0x7e8eb2(0x28d)](_0x53a7f3);if(_0x2d4970)_0x54b6a5[_0x7e8eb2(0x28d)](_0x2d4970);const _0x52af03=_0x53a7f3===_0x7e8eb2(0x24a),_0x52c981=_0x52af03?await createTDXInstance(_0x37adde):null,_0x27e411=await _0x19f460['run']({'options':{..._0x37adde,..._0x3167c1},'args':_0x54b6a5,'tdx':_0x52c981});gracefulExit(_0x27e411);}),program[a2_0x187dec(0x26a)](a2_0x187dec(0x3eb))[a2_0x187dec(0x240)]('Show\x20authentication\x20status\x20and\x20current\x20context')['action'](async _0x295a84=>{const _0x55c382=a2_0x187dec,_0x1d4532=new StatusCommand(),_0x20262b=program[_0x55c382(0x3d0)](),_0x44e482=await createTDXInstance(_0x20262b),_0x3aed19=await _0x1d4532[_0x55c382(0x221)]({'options':{..._0x20262b,..._0x295a84},'args':[],'tdx':_0x44e482});gracefulExit(_0x3aed19);}),program['command']('upgrade\x20[version]')[a2_0x187dec(0x240)](a2_0x187dec(0x3b1))[a2_0x187dec(0x264)](a2_0x187dec(0x267),'Check\x20for\x20updates\x20without\x20installing')[a2_0x187dec(0x264)]('--next',a2_0x187dec(0x471))[a2_0x187dec(0x264)](a2_0x187dec(0x38a),a2_0x187dec(0x2b9))[a2_0x187dec(0x234)](async(_0x47fa69,_0x109d95)=>{const _0x37683c=a2_0x187dec,_0x3b8cc7=new UpgradeCommand(),_0xb9b1b9=program[_0x37683c(0x3d0)](),_0x2b73eb=await _0x3b8cc7[_0x37683c(0x221)]({'options':{..._0xb9b1b9,..._0x109d95},'args':_0x47fa69?[_0x47fa69]:[],'tdx':null});gracefulExit(_0x2b73eb);}),program['command'](a2_0x187dec(0x409))[a2_0x187dec(0x240)](a2_0x187dec(0x33e))[a2_0x187dec(0x264)](a2_0x187dec(0x48e),'Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x187dec(0x234)](async(_0x3f7f72,_0x38ab30)=>{const _0x6626ec=a2_0x187dec,_0x53a2a9=new UnsetCommand(),_0x391d4f=program['opts'](),_0x2d9552=await _0x53a2a9[_0x6626ec(0x221)]({'options':{..._0x391d4f,..._0x38ab30},'args':[_0x3f7f72],'tdx':null});gracefulExit(_0x2d9552);}),program[a2_0x187dec(0x26a)](a2_0x187dec(0x318))[a2_0x187dec(0x240)]('Interactive\x20chat\x20selector')[a2_0x187dec(0x264)](a2_0x187dec(0x21c),a2_0x187dec(0x377))[a2_0x187dec(0x234)](async _0x5a50ca=>{const _0x2fbe5e=a2_0x187dec,_0x4d1abf=new ChatsCommand(),_0x4bb11a=program[_0x2fbe5e(0x3d0)](),_0x4ba543=await createTDXInstance(_0x4bb11a),_0xe69de7=await _0x4d1abf[_0x2fbe5e(0x221)]({'options':{..._0x4bb11a,..._0x5a50ca},'args':[],'tdx':_0x4ba543});gracefulExit(_0xe69de7);});const authCmd=program[a2_0x187dec(0x26a)]('auth')[a2_0x187dec(0x240)](a2_0x187dec(0x353));async function runAuthStatusCommand(_0xaeed){const _0x97fb42=a2_0x187dec,_0x582839=new AuthStatusCommand(),_0x25f9d0=program[_0x97fb42(0x3d0)](),_0x376551=await createTDXInstance(_0x25f9d0),_0x474fe5=await _0x582839[_0x97fb42(0x221)]({'options':{..._0x25f9d0,..._0xaeed},'args':[],'tdx':_0x376551});gracefulExit(_0x474fe5);}authCmd[a2_0x187dec(0x234)](runAuthStatusCommand),authCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x3eb))['description'](a2_0x187dec(0x1fb))[a2_0x187dec(0x234)](runAuthStatusCommand);async function authSetupAction(_0x1f8522){const _0x26d3b3=a2_0x187dec,_0x49edf6=new AuthSetupCommand(),_0x586884=program[_0x26d3b3(0x3d0)](),_0x49fc8d=await createTDXInstance(_0x586884),_0x540f69=await _0x49edf6[_0x26d3b3(0x221)]({'options':{..._0x586884,..._0x1f8522},'args':[],'tdx':_0x49fc8d});gracefulExit(_0x540f69);}authCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x19d))[a2_0x187dec(0x240)](a2_0x187dec(0x470))[a2_0x187dec(0x264)](a2_0x187dec(0x341),a2_0x187dec(0x346))[a2_0x187dec(0x47c)]('after',a2_0x187dec(0x313))[a2_0x187dec(0x234)](authSetupAction),authCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x1c7),{'hidden':!![]})[a2_0x187dec(0x264)]('--account-name\x20<name>',a2_0x187dec(0x346))[a2_0x187dec(0x234)](authSetupAction),authCmd[a2_0x187dec(0x26a)]('clear')[a2_0x187dec(0x240)]('Remove\x20API\x20key\x20from\x20system\x20keychain')['addHelpText'](a2_0x187dec(0x3b8),a2_0x187dec(0x4bd))[a2_0x187dec(0x234)](async _0x2fa514=>{const _0x49bef6=a2_0x187dec,_0x314e5f=new AuthClearCommand(),_0x3f56d9=program['opts'](),_0x29ef4e=await _0x314e5f[_0x49bef6(0x221)]({'options':{..._0x3f56d9,..._0x2fa514},'args':[],'tdx':null});gracefulExit(_0x29ef4e);});const userCmd=program[a2_0x187dec(0x26a)](a2_0x187dec(0x289))[a2_0x187dec(0x240)](a2_0x187dec(0x34d)),userListAction=async _0x1913f6=>{const _0x4de2a4=a2_0x187dec,_0x5c4d8a=new UserListCommand(),_0x5772b4=program[_0x4de2a4(0x3d0)](),_0x24bfa7=await createTDXInstance(_0x5772b4),_0x2b20cd=await _0x5c4d8a[_0x4de2a4(0x221)]({'options':{..._0x5772b4,..._0x1913f6},'args':[],'tdx':_0x24bfa7});gracefulExit(_0x2b20cd);};userCmd['action'](async _0x4ecdd7=>{const _0x5a4afa=a2_0x187dec,_0x210281=new UserCommand(),_0x5a7075=program[_0x5a4afa(0x3d0)](),_0x3a0269=await createTDXInstance(_0x5a7075),_0x1a4e20=await _0x210281['run']({'options':{..._0x5a7075,..._0x4ecdd7},'args':[],'tdx':_0x3a0269});gracefulExit(_0x1a4e20);}),userCmd['command'](a2_0x187dec(0x310))[a2_0x187dec(0x240)](a2_0x187dec(0x1c4))[a2_0x187dec(0x234)](userListAction),program['command'](a2_0x187dec(0x201))[a2_0x187dec(0x240)]('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')[a2_0x187dec(0x234)](userListAction);const policyCmd=program[a2_0x187dec(0x26a)](a2_0x187dec(0x3d6))['description'](a2_0x187dec(0x4ba));policyCmd['action'](async _0x12ad19=>{const _0x4b3026=a2_0x187dec,_0x20a76b=new PolicyCommand(),_0x358d50=program[_0x4b3026(0x3d0)](),_0x1a4211=await createTDXInstance(_0x358d50),_0x572a57=await _0x20a76b['run']({'options':{..._0x358d50,..._0x12ad19},'args':[],'tdx':_0x1a4211});gracefulExit(_0x572a57);}),policyCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x310))[a2_0x187dec(0x240)]('List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)')['action'](async _0x429b45=>{const _0x22d3ec=a2_0x187dec,_0x28c3c9=new PolicyListCommand(),_0x220ec7=program[_0x22d3ec(0x3d0)](),_0x35d21b=await createTDXInstance(_0x220ec7),_0x32c86d=await _0x28c3c9[_0x22d3ec(0x221)]({'options':{..._0x220ec7,..._0x429b45},'args':[],'tdx':_0x35d21b});gracefulExit(_0x32c86d);}),policyCmd[a2_0x187dec(0x26a)]('show\x20<policy>')['description'](a2_0x187dec(0x3e8))[a2_0x187dec(0x234)](async(_0x58687c,_0xbc5b5c)=>{const _0x40cc75=a2_0x187dec,_0x4fe378=new PolicyShowCommand(),_0x4ef93b=program[_0x40cc75(0x3d0)](),_0x327c58=await createTDXInstance(_0x4ef93b),_0x266036=await _0x4fe378['run']({'options':{..._0x4ef93b,..._0xbc5b5c},'args':[_0x58687c],'tdx':_0x327c58});gracefulExit(_0x266036);}),program[a2_0x187dec(0x26a)](a2_0x187dec(0x2e5))[a2_0x187dec(0x240)]('List\x20all\x20available\x20profiles')[a2_0x187dec(0x234)](async _0x1d8a24=>{const _0x5071ca=a2_0x187dec,_0x6a195=new ProfilesCommand(),_0x439a90=program['opts'](),_0x3dab49=await _0x6a195[_0x5071ca(0x221)]({'options':{..._0x439a90,..._0x1d8a24},'args':[],'tdx':null});gracefulExit(_0x3dab49);});const profileCmd=program[a2_0x187dec(0x26a)](a2_0x187dec(0x2aa))[a2_0x187dec(0x240)]('Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)');profileCmd[a2_0x187dec(0x234)](()=>{profileCmd['outputHelp']();});const profileListAction=async _0x32b8ee=>{const _0x56e467=a2_0x187dec,_0x415247=new ProfilesCommand(),_0x34d2ac=program['opts'](),_0x17a449=await _0x415247[_0x56e467(0x221)]({'options':{..._0x34d2ac,..._0x32b8ee},'args':[],'tdx':null});gracefulExit(_0x17a449);};profileCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x310))[a2_0x187dec(0x240)](a2_0x187dec(0x241))['action'](profileListAction),profileCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x4a0))[a2_0x187dec(0x240)](a2_0x187dec(0x270))['option']('--account-name\x20<name>',a2_0x187dec(0x346))[a2_0x187dec(0x264)](a2_0x187dec(0x1fe),a2_0x187dec(0x238))[a2_0x187dec(0x47c)]('after',a2_0x187dec(0x37a))['action'](async(_0x497c82,_0x298797)=>{const _0x3a5af2=a2_0x187dec,_0x29de3c=new ProfileCreateCommand(),_0xec7a72=program[_0x3a5af2(0x3d0)](),_0x42d889=await _0x29de3c[_0x3a5af2(0x221)]({'options':{..._0xec7a72,..._0x298797},'args':_0x497c82?[_0x497c82]:[],'tdx':null});gracefulExit(_0x42d889);});async function profileDeleteAction(_0x37d824,_0x298a29){const _0x5b6b2b=a2_0x187dec,_0x187c21=new ProfileDeleteCommand(),_0x370a71=program[_0x5b6b2b(0x3d0)](),_0x42962b=await _0x187c21[_0x5b6b2b(0x221)]({'options':{..._0x370a71,..._0x298a29},'args':[_0x37d824],'tdx':null});gracefulExit(_0x42962b);}profileCmd['command'](a2_0x187dec(0x4be))[a2_0x187dec(0x240)](a2_0x187dec(0x3a2))[a2_0x187dec(0x47c)](a2_0x187dec(0x3b8),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a')[a2_0x187dec(0x234)](profileDeleteAction),profileCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x30e),{'hidden':!![]})['action'](profileDeleteAction),profileCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x496))[a2_0x187dec(0x240)](a2_0x187dec(0x2c9))['addHelpText'](a2_0x187dec(0x3b8),a2_0x187dec(0x1bf))['action'](async(_0x5e85a6,_0x32811d)=>{const _0x4c41e2=a2_0x187dec,_0x1249b7=new ProfileSetCommand(),_0x63ff0f=program[_0x4c41e2(0x3d0)](),_0x5cd251=await _0x1249b7['run']({'options':{..._0x63ff0f,..._0x32811d},'args':[_0x5e85a6],'tdx':null});gracefulExit(_0x5cd251);}),profileCmd['command'](a2_0x187dec(0x453))[a2_0x187dec(0x240)](a2_0x187dec(0x45b))[a2_0x187dec(0x264)]('--default',a2_0x187dec(0x1ea))['addHelpText'](a2_0x187dec(0x3b8),'\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_0x187dec(0x234)](async(_0x3bc86a,_0x327991)=>{const _0x4851ba=new ProfileUseCommand(),_0x3a09f8=program['opts'](),_0x57d629=await _0x4851ba['run']({'options':{..._0x3a09f8,..._0x327991},'args':[_0x3bc86a],'tdx':null});gracefulExit(_0x57d629);});const engageCmd=program[a2_0x187dec(0x26a)](a2_0x187dec(0x351))[a2_0x187dec(0x240)](a2_0x187dec(0x1a8)),createEngageAction=_0x368116=>{return async(_0xf02f17,_0xd5037e)=>{const _0x1b1a42=a2_0x4510,_0x18b804=new _0x368116(),_0x213e3a=program['opts'](),_0x1f176c=await createTDXInstance(_0x213e3a),_0x227a06=await _0x18b804[_0x1b1a42(0x221)]({'options':{..._0x213e3a,..._0xd5037e},'args':[_0xf02f17],'tdx':_0x1f176c});gracefulExit(_0x227a06);};},createEngageNoArgAction=_0x1a1b41=>{return async _0x39c601=>{const _0x1d3f9f=a2_0x4510,_0x5156bf=new _0x1a1b41(),_0x5a6053=program[_0x1d3f9f(0x3d0)](),_0xc8524e=await createTDXInstance(_0x5a6053),_0x33fb1a=await _0x5156bf[_0x1d3f9f(0x221)]({'options':{..._0x5a6053,..._0x39c601},'args':[],'tdx':_0xc8524e});gracefulExit(_0x33fb1a);};},createEngageListAction=_0xde8df4=>{return async(_0x48a7bf,_0x5598c2)=>{const _0x5c0548=a2_0x4510,_0x49cc5b=new _0xde8df4(),_0x1dec33=program[_0x5c0548(0x3d0)](),_0x1a4f9f=await createTDXInstance(_0x1dec33),_0x2d5868=await _0x49cc5b[_0x5c0548(0x221)]({'options':{..._0x1dec33,..._0x5598c2},'args':_0x48a7bf?[_0x48a7bf]:[],'tdx':_0x1a4f9f});gracefulExit(_0x2d5868);};},campaignCmd=engageCmd['command'](a2_0x187dec(0x322))['description'](a2_0x187dec(0x339));campaignCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x422))[a2_0x187dec(0x240)](a2_0x187dec(0x3c3))[a2_0x187dec(0x264)](a2_0x187dec(0x20d),a2_0x187dec(0x24e))['option'](a2_0x187dec(0x2ea),a2_0x187dec(0x48c))[a2_0x187dec(0x264)]('--workspace\x20<name>',a2_0x187dec(0x1c5))[a2_0x187dec(0x234)](createEngageListAction(EngageCampaignsCommand)),engageCmd['command'](a2_0x187dec(0x1d1))[a2_0x187dec(0x240)](a2_0x187dec(0x3af))[a2_0x187dec(0x264)](a2_0x187dec(0x20d),a2_0x187dec(0x24e))[a2_0x187dec(0x264)](a2_0x187dec(0x2ea),a2_0x187dec(0x48c))[a2_0x187dec(0x264)](a2_0x187dec(0x2c1),a2_0x187dec(0x1c5))['action'](createEngageListAction(EngageCampaignsCommand)),campaignCmd['command'](a2_0x187dec(0x1d3))['description'](a2_0x187dec(0x372))[a2_0x187dec(0x264)](a2_0x187dec(0x2c1),a2_0x187dec(0x1c5))[a2_0x187dec(0x264)](a2_0x187dec(0x414),a2_0x187dec(0x2f7))[a2_0x187dec(0x234)](createEngageAction(EngageCampaignShowCommand)),campaignCmd['command'](a2_0x187dec(0x362))[a2_0x187dec(0x240)](a2_0x187dec(0x3c5))['requiredOption'](a2_0x187dec(0x250),a2_0x187dec(0x2d4))[a2_0x187dec(0x484)]('--type\x20<type>',a2_0x187dec(0x43c))['option'](a2_0x187dec(0x2c1),a2_0x187dec(0x282))['option'](a2_0x187dec(0x242),'Campaign\x20description')['option'](a2_0x187dec(0x1fc),a2_0x187dec(0x23c))[a2_0x187dec(0x264)](a2_0x187dec(0x1cc),a2_0x187dec(0x390))['option'](a2_0x187dec(0x28c),a2_0x187dec(0x206))['option'](a2_0x187dec(0x3b2),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')['option'](a2_0x187dec(0x1c2),a2_0x187dec(0x2bd))[a2_0x187dec(0x234)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x435))[a2_0x187dec(0x240)]('Update\x20a\x20campaign')[a2_0x187dec(0x264)](a2_0x187dec(0x2c1),a2_0x187dec(0x1c5))['option']('--name\x20<name>',a2_0x187dec(0x20f))[a2_0x187dec(0x264)]('--description\x20<desc>',a2_0x187dec(0x2cf))[a2_0x187dec(0x264)](a2_0x187dec(0x1fc),a2_0x187dec(0x23c))[a2_0x187dec(0x264)](a2_0x187dec(0x1cc),'Email\x20sender\x20ID\x20for\x20delivery')['option'](a2_0x187dec(0x28c),a2_0x187dec(0x206))[a2_0x187dec(0x264)]('--start-at\x20<datetime>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)')['option'](a2_0x187dec(0x1c2),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')['action'](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x349))['description'](a2_0x187dec(0x2af))[a2_0x187dec(0x264)]('--workspace\x20<name>','Workspace\x20name')[a2_0x187dec(0x264)](a2_0x187dec(0x33d),a2_0x187dec(0x494))[a2_0x187dec(0x234)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x187dec(0x26a)]('launch\x20<name-or-id>')[a2_0x187dec(0x240)](a2_0x187dec(0x3ae))['option'](a2_0x187dec(0x2c1),a2_0x187dec(0x1c5))[a2_0x187dec(0x234)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x49e))[a2_0x187dec(0x240)]('Pause\x20a\x20campaign')[a2_0x187dec(0x264)]('--workspace\x20<name>',a2_0x187dec(0x1c5))['action'](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x2e8))[a2_0x187dec(0x240)](a2_0x187dec(0x25c))[a2_0x187dec(0x264)](a2_0x187dec(0x2c1),a2_0x187dec(0x1c5))[a2_0x187dec(0x234)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command'](a2_0x187dec(0x2d0))['description'](a2_0x187dec(0x294))[a2_0x187dec(0x264)]('--workspace\x20<name>','Workspace\x20name')[a2_0x187dec(0x234)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x187dec(0x26a)]('pull\x20[workspace-name]')[a2_0x187dec(0x240)](a2_0x187dec(0x487))[a2_0x187dec(0x264)]('--workspace\x20<name>',a2_0x187dec(0x1c5))[a2_0x187dec(0x264)](a2_0x187dec(0x250),a2_0x187dec(0x38d))['option'](a2_0x187dec(0x20d),a2_0x187dec(0x24e))[a2_0x187dec(0x264)](a2_0x187dec(0x267),a2_0x187dec(0x3da))[a2_0x187dec(0x234)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x20e))[a2_0x187dec(0x240)](a2_0x187dec(0x272))[a2_0x187dec(0x264)]('--workspace\x20<name>','Workspace\x20name')[a2_0x187dec(0x264)](a2_0x187dec(0x267),a2_0x187dec(0x211))['action'](createEngageAction(EngageCampaignPushCommand)),campaignCmd['command'](a2_0x187dec(0x368))[a2_0x187dec(0x240)](a2_0x187dec(0x365))[a2_0x187dec(0x264)](a2_0x187dec(0x441),'Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x187dec(0x234)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x24b))[a2_0x187dec(0x240)]('Always-on\x20campaign\x20management');alwaysOnCampaignCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x422))[a2_0x187dec(0x240)](a2_0x187dec(0x32d))[a2_0x187dec(0x264)]('--type\x20<type>',a2_0x187dec(0x24e))['option']('--status\x20<status>','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')[a2_0x187dec(0x484)](a2_0x187dec(0x2c1),a2_0x187dec(0x282))[a2_0x187dec(0x234)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x47b))[a2_0x187dec(0x240)](a2_0x187dec(0x3b0))[a2_0x187dec(0x264)]('--type\x20<type>',a2_0x187dec(0x24e))[a2_0x187dec(0x264)]('--status\x20<status>',a2_0x187dec(0x31c))[a2_0x187dec(0x484)](a2_0x187dec(0x2c1),'Workspace\x20name\x20(required)')[a2_0x187dec(0x234)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x1d3))[a2_0x187dec(0x240)](a2_0x187dec(0x1dd))[a2_0x187dec(0x484)]('--workspace\x20<name>',a2_0x187dec(0x282))[a2_0x187dec(0x264)](a2_0x187dec(0x414),a2_0x187dec(0x2f7))[a2_0x187dec(0x234)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd['command']('create')[a2_0x187dec(0x240)](a2_0x187dec(0x38c))[a2_0x187dec(0x484)]('--name\x20<name>','Campaign\x20name')[a2_0x187dec(0x484)](a2_0x187dec(0x20d),a2_0x187dec(0x43c))['requiredOption'](a2_0x187dec(0x2c1),a2_0x187dec(0x282))[a2_0x187dec(0x264)](a2_0x187dec(0x242),a2_0x187dec(0x2cf))[a2_0x187dec(0x264)](a2_0x187dec(0x1fc),a2_0x187dec(0x22a))[a2_0x187dec(0x264)](a2_0x187dec(0x42c),a2_0x187dec(0x19b))[a2_0x187dec(0x234)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd['command'](a2_0x187dec(0x435))['description'](a2_0x187dec(0x30a))['requiredOption'](a2_0x187dec(0x2c1),'Workspace\x20name\x20(required)')[a2_0x187dec(0x264)](a2_0x187dec(0x250),a2_0x187dec(0x20f))['option'](a2_0x187dec(0x242),a2_0x187dec(0x2cf))['option'](a2_0x187dec(0x1fc),a2_0x187dec(0x22a))['option'](a2_0x187dec(0x42c),'Enable\x20UTM\x20tracking')[a2_0x187dec(0x234)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd['command']('delete\x20<name-or-id>')[a2_0x187dec(0x240)](a2_0x187dec(0x2d1))[a2_0x187dec(0x484)](a2_0x187dec(0x2c1),'Workspace\x20name\x20(required)')['option'](a2_0x187dec(0x33d),a2_0x187dec(0x494))[a2_0x187dec(0x234)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x187dec(0x26a)]('launch\x20<name-or-id>')[a2_0x187dec(0x240)]('Launch\x20an\x20always-on\x20campaign')['requiredOption'](a2_0x187dec(0x2c1),a2_0x187dec(0x282))['action'](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd['command'](a2_0x187dec(0x49e))[a2_0x187dec(0x240)](a2_0x187dec(0x29c))[a2_0x187dec(0x484)](a2_0x187dec(0x2c1),'Workspace\x20name\x20(required)')[a2_0x187dec(0x234)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x2e8))[a2_0x187dec(0x240)](a2_0x187dec(0x32a))[a2_0x187dec(0x484)](a2_0x187dec(0x2c1),'Workspace\x20name\x20(required)')[a2_0x187dec(0x234)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x385))[a2_0x187dec(0x240)](a2_0x187dec(0x45d))[a2_0x187dec(0x484)](a2_0x187dec(0x2c1),'Workspace\x20name\x20(required)')['option'](a2_0x187dec(0x33d),'Skip\x20confirmation\x20prompt')[a2_0x187dec(0x234)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd['command'](a2_0x187dec(0x2d0))[a2_0x187dec(0x240)](a2_0x187dec(0x197))[a2_0x187dec(0x484)](a2_0x187dec(0x2c1),'Workspace\x20name\x20(required)')['requiredOption']('--name\x20<name>',a2_0x187dec(0x49a))['action'](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x187dec(0x26a)]('template')[a2_0x187dec(0x240)]('Email\x20template\x20management');templateCmd[a2_0x187dec(0x26a)]('list\x20[pattern]')['description'](a2_0x187dec(0x1bd))[a2_0x187dec(0x264)](a2_0x187dec(0x2c1),'Workspace\x20name')[a2_0x187dec(0x234)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x20b))[a2_0x187dec(0x240)](a2_0x187dec(0x23e))[a2_0x187dec(0x264)]('--workspace\x20<name>','Workspace\x20name')[a2_0x187dec(0x234)](createEngageListAction(EngageTemplatesCommand)),templateCmd['command'](a2_0x187dec(0x1d3))[a2_0x187dec(0x240)](a2_0x187dec(0x1ec))['option']('--workspace\x20<name>','Workspace\x20name')[a2_0x187dec(0x264)](a2_0x187dec(0x414),a2_0x187dec(0x2f7))[a2_0x187dec(0x234)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x362))[a2_0x187dec(0x240)](a2_0x187dec(0x326))[a2_0x187dec(0x484)](a2_0x187dec(0x250),a2_0x187dec(0x387))['requiredOption'](a2_0x187dec(0x1d2),a2_0x187dec(0x275))[a2_0x187dec(0x264)](a2_0x187dec(0x443),a2_0x187dec(0x3f6))[a2_0x187dec(0x264)](a2_0x187dec(0x406),a2_0x187dec(0x1f5))[a2_0x187dec(0x264)](a2_0x187dec(0x2c1),a2_0x187dec(0x282))['option']('--plaintext\x20<text>','Plaintext\x20template\x20content')['option']('--editor-type\x20<type>',a2_0x187dec(0x259),_0x1f9085=>{const _0x3e96b0=a2_0x187dec;if(![_0x3e96b0(0x3ba),_0x3e96b0(0x38e)]['includes'](_0x1f9085))throw new SDKError(ErrorCode[_0x3e96b0(0x248)],'Invalid\x20editor\x20type:\x20'+_0x1f9085+_0x3e96b0(0x458));return _0x1f9085;})[a2_0x187dec(0x234)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x435))[a2_0x187dec(0x240)](a2_0x187dec(0x3ea))[a2_0x187dec(0x264)](a2_0x187dec(0x2c1),'Workspace\x20name')[a2_0x187dec(0x264)](a2_0x187dec(0x250),a2_0x187dec(0x4bf))[a2_0x187dec(0x264)]('--subject\x20<subject>',a2_0x187dec(0x275))['option'](a2_0x187dec(0x443),'HTML\x20template\x20content')['option'](a2_0x187dec(0x406),a2_0x187dec(0x1f5))[a2_0x187dec(0x264)](a2_0x187dec(0x1b6),a2_0x187dec(0x23f))[a2_0x187dec(0x234)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x382))['description']('Pull\x20templates\x20to\x20YAML\x20files')[a2_0x187dec(0x264)](a2_0x187dec(0x2c1),a2_0x187dec(0x1c5))[a2_0x187dec(0x264)]('--name\x20<name>',a2_0x187dec(0x21a))[a2_0x187dec(0x264)](a2_0x187dec(0x2a8),'Skip\x20confirmation\x20prompt')[a2_0x187dec(0x264)](a2_0x187dec(0x267),'Show\x20what\x20would\x20be\x20written\x20without\x20writing')[a2_0x187dec(0x234)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x20e))[a2_0x187dec(0x240)]('Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates')[a2_0x187dec(0x264)](a2_0x187dec(0x2c1),'Workspace\x20name')[a2_0x187dec(0x264)](a2_0x187dec(0x2a8),a2_0x187dec(0x494))[a2_0x187dec(0x264)]('--dry-run','Show\x20what\x20would\x20be\x20applied\x20without\x20applying')['action'](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x187dec(0x26a)]('validate\x20[target]')['description'](a2_0x187dec(0x360))['option'](a2_0x187dec(0x441),a2_0x187dec(0x493))[a2_0x187dec(0x234)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x349))[a2_0x187dec(0x240)](a2_0x187dec(0x3c4))['option'](a2_0x187dec(0x2c1),a2_0x187dec(0x1c5))['option']('--yes',a2_0x187dec(0x494))[a2_0x187dec(0x234)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x44c))[a2_0x187dec(0x240)]('Workspace\x20management');workspaceCmd['command'](a2_0x187dec(0x422))[a2_0x187dec(0x240)](a2_0x187dec(0x395))['action'](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x198))['description'](a2_0x187dec(0x1cd))['action'](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd['command'](a2_0x187dec(0x1d3))[a2_0x187dec(0x240)](a2_0x187dec(0x29b))[a2_0x187dec(0x264)](a2_0x187dec(0x414),a2_0x187dec(0x2f7))[a2_0x187dec(0x234)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x362))[a2_0x187dec(0x240)]('Create\x20a\x20workspace')['requiredOption']('--name\x20<name>','Workspace\x20name')[a2_0x187dec(0x264)](a2_0x187dec(0x242),a2_0x187dec(0x378))['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x187dec(0x26a)]('update\x20<name-or-id>')[a2_0x187dec(0x240)](a2_0x187dec(0x366))[a2_0x187dec(0x264)](a2_0x187dec(0x250),'New\x20workspace\x20name')['option'](a2_0x187dec(0x242),a2_0x187dec(0x378))[a2_0x187dec(0x234)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x349))[a2_0x187dec(0x240)](a2_0x187dec(0x3a1))['option']('--yes',a2_0x187dec(0x494))[a2_0x187dec(0x234)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x187dec(0x26a)]('use\x20<name>')[a2_0x187dec(0x240)](a2_0x187dec(0x1a1))[a2_0x187dec(0x234)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x187dec(0x26a)](a2_0x187dec(0x3aa))[a2_0x187dec(0x240)](a2_0x187dec(0x306));deliveryCmd['command'](a2_0x187dec(0x2e1))[a2_0x187dec(0x240)](a2_0x187dec(0x315))['option']('--workspace\x20<name>',a2_0x187dec(0x1c5))[a2_0x187dec(0x234)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x187dec(0x26a)]('connection')[a2_0x187dec(0x240)](a2_0x187dec(0x439)),connectionListAction=async _0x517a9e=>{const _0x37fb3e=a2_0x187dec,_0x40983e=new ConnectionListCommand(),_0x3693a0=program[_0x37fb3e(0x3d0)](),_0x29ba0c=await createTDXInstance(_0x3693a0),_0x54b0e0=await _0x40983e['run']({'options':{..._0x3693a0,..._0x517a9e},'args':[],'tdx':_0x29ba0c});gracefulExit(_0x54b0e0);};connectionCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x310))[a2_0x187dec(0x240)](a2_0x187dec(0x19c))[a2_0x187dec(0x234)](connectionListAction),program['command'](a2_0x187dec(0x3df),{'hidden':!![]})[a2_0x187dec(0x240)](a2_0x187dec(0x254))[a2_0x187dec(0x234)](connectionListAction),connectionCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x4b1))['description'](a2_0x187dec(0x43f))[a2_0x187dec(0x234)](async(_0x556b52,_0xfae8e3)=>{const _0x1842e5=a2_0x187dec,_0x548d29=new ConnectionShowCommand(),_0xb74550=program[_0x1842e5(0x3d0)](),_0x4318e8=await createTDXInstance(_0xb74550),_0x196f71=await _0x548d29[_0x1842e5(0x221)]({'options':{..._0xb74550,..._0xfae8e3},'args':[_0x556b52],'tdx':_0x4318e8});gracefulExit(_0x196f71);}),connectionCmd['command'](a2_0x187dec(0x359))[a2_0x187dec(0x240)](a2_0x187dec(0x278))[a2_0x187dec(0x234)](async(_0x207142,_0x39d53f)=>{const _0x3be6d9=a2_0x187dec,_0x5d963d=new ConnectionSchemaCommand(),_0x1a7e02=program[_0x3be6d9(0x3d0)](),_0x1bb322=await createTDXInstance(_0x1a7e02),_0x3d96ec=await _0x5d963d[_0x3be6d9(0x221)]({'options':{..._0x1a7e02,..._0x39d53f},'args':[_0x207142],'tdx':_0x1bb322});gracefulExit(_0x3d96ec);}),connectionCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x295))[a2_0x187dec(0x240)](a2_0x187dec(0x434))[a2_0x187dec(0x234)](async _0x24454b=>{const _0x2c5e17=a2_0x187dec,_0x3f15b9=new ConnectionTypesCommand(),_0x55ffb0=program[_0x2c5e17(0x3d0)](),_0x15b69a=await createTDXInstance(_0x55ffb0),_0x1050e2=await _0x3f15b9[_0x2c5e17(0x221)]({'options':{..._0x55ffb0,..._0x24454b},'args':[],'tdx':_0x15b69a});gracefulExit(_0x1050e2);}),connectionCmd['command']('settings\x20<type>')[a2_0x187dec(0x240)](a2_0x187dec(0x427))[a2_0x187dec(0x234)](async(_0x373fca,_0x368285)=>{const _0x5bf47b=a2_0x187dec,_0x50b394=new ConnectionSettingsCommand(),_0xc57936=program['opts'](),_0x224cc1=await createTDXInstance(_0xc57936),_0x39227c=await _0x50b394[_0x5bf47b(0x221)]({'options':{..._0xc57936,..._0x368285},'args':[_0x373fca],'tdx':_0x224cc1});gracefulExit(_0x39227c);});const casCmd=program[a2_0x187dec(0x26a)]('cas')[a2_0x187dec(0x240)](a2_0x187dec(0x3a3));casCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x310))['description'](a2_0x187dec(0x243))['action'](async _0x125beb=>{const _0x3664c9=a2_0x187dec,_0x9ae5ab=new CASListCommand(),_0x1b5fae=program[_0x3664c9(0x3d0)](),_0x1f3e36=await createTDXInstance(_0x1b5fae),_0x5bd574=await _0x9ae5ab[_0x3664c9(0x221)]({'options':{..._0x1b5fae,..._0x125beb},'args':[],'tdx':_0x1f3e36});gracefulExit(_0x5bd574);}),casCmd[a2_0x187dec(0x26a)]('desc\x20[name]')[a2_0x187dec(0x240)](a2_0x187dec(0x299))[a2_0x187dec(0x234)](async(_0x4cf78d,_0x81ab70)=>{const _0x5bbf4f=a2_0x187dec,_0xca332a=new CASDescCommand(),_0x48a6c1=program[_0x5bbf4f(0x3d0)](),_0x226cd5=await createTDXInstance(_0x48a6c1),_0x414e49=await _0xca332a['run']({'options':{..._0x48a6c1,..._0x81ab70},'args':_0x4cf78d?[_0x4cf78d]:[],'tdx':_0x226cd5});gracefulExit(_0x414e49);}),casCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x48f))[a2_0x187dec(0x240)](a2_0x187dec(0x1cf))[a2_0x187dec(0x264)](a2_0x187dec(0x33a),a2_0x187dec(0x39d))[a2_0x187dec(0x264)](a2_0x187dec(0x267),a2_0x187dec(0x37b))['action'](async(_0x35f6a7,_0x38d486)=>{const _0xe4b17c=a2_0x187dec,_0x58333d=new CASPullCommand(),_0x2bbddc=program[_0xe4b17c(0x3d0)](),_0x197b34=await createTDXInstance(_0x2bbddc),_0x3e61f0=await _0x58333d[_0xe4b17c(0x221)]({'options':{..._0x2bbddc,..._0x38d486},'args':_0x35f6a7?[_0x35f6a7]:[],'tdx':_0x197b34});gracefulExit(_0x3e61f0);}),casCmd[a2_0x187dec(0x26a)]('push\x20[target]')[a2_0x187dec(0x240)]('Push\x20YAML\x20files\x20to\x20CAS\x20API')[a2_0x187dec(0x264)](a2_0x187dec(0x267),a2_0x187dec(0x38b))['action'](async(_0x5d22ac,_0x49c0ba)=>{const _0xfb7651=a2_0x187dec,_0x5777e5=new CASPushCommand(),_0x1aa2ee=program[_0xfb7651(0x3d0)](),_0x1edf78=await createTDXInstance(_0x1aa2ee),_0xcfb97c=await _0x5777e5['run']({'options':{..._0x1aa2ee,..._0x49c0ba},'args':_0x5d22ac?[_0x5d22ac]:[],'tdx':_0x1edf78});gracefulExit(_0xcfb97c);}),casCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x29e))[a2_0x187dec(0x240)]('Preview\x20composable\x20segment\x20query\x20on\x20CDW')[a2_0x187dec(0x264)](a2_0x187dec(0x276),a2_0x187dec(0x497))[a2_0x187dec(0x234)](async(_0x5f5238,_0x236729)=>{const _0x4258e1=a2_0x187dec,_0x48881d=new CASPreviewCommand(),_0x13f0c3=program['opts'](),_0x546427=await createTDXInstance(_0x13f0c3),_0x556be9=await _0x48881d['run']({'options':{..._0x13f0c3,..._0x236729},'args':[_0x5f5238,_0x236729[_0x4258e1(0x1af)]],'tdx':_0x546427});gracefulExit(_0x556be9);});const casSgCmd=casCmd[a2_0x187dec(0x26a)]('sg')[a2_0x187dec(0x240)](a2_0x187dec(0x39b));casSgCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x478))['description'](a2_0x187dec(0x273))[a2_0x187dec(0x234)](async(_0x55b11d,_0x22520c)=>{const _0x54b7c6=a2_0x187dec,_0x1655d4=new CASSegmentListCommand(),_0x26cc1f=program[_0x54b7c6(0x3d0)](),_0xd269fd=await createTDXInstance(_0x26cc1f),_0x45534d=await _0x1655d4[_0x54b7c6(0x221)]({'options':{..._0x26cc1f,..._0x22520c},'args':_0x55b11d?[_0x55b11d]:[],'tdx':_0xd269fd});gracefulExit(_0x45534d);});const journeyCmd=program['command'](a2_0x187dec(0x2e7))['description']('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0x997bf0,_0xd8b069)=>{const _0x54a386=a2_0x187dec,_0x25ed8f=new JourneyListCommand(),_0x54b0be=program[_0x54a386(0x3d0)](),_0x3b82a2=await createTDXInstance(_0x54b0be),_0x30c48e=await _0x25ed8f[_0x54a386(0x221)]({'options':{..._0x54b0be,..._0xd8b069},'args':_0x997bf0?[_0x997bf0]:[],'tdx':_0x3b82a2});gracefulExit(_0x30c48e);};journeyCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x422))[a2_0x187dec(0x240)]('List\x20journeys\x20in\x20current\x20context')[a2_0x187dec(0x234)](journeyListAction),journeyCmd[a2_0x187dec(0x26a)]('view\x20<name-or-path>')[a2_0x187dec(0x240)]('Show\x20journey\x20details')[a2_0x187dec(0x264)](a2_0x187dec(0x283),a2_0x187dec(0x3fc))[a2_0x187dec(0x264)](a2_0x187dec(0x2fc),a2_0x187dec(0x207))['action'](async(_0x61dfe4,_0x2a5475)=>{const _0x2b5ec2=a2_0x187dec,_0x157559=new JourneyViewCommand(),_0x4d41d4=program[_0x2b5ec2(0x3d0)](),_0x395c46=await createTDXInstance(_0x4d41d4),_0x319a2b=await _0x157559['run']({'options':{..._0x4d41d4,..._0x2a5475},'args':[_0x61dfe4],'tdx':_0x395c46});gracefulExit(_0x319a2b);}),journeyCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x218))[a2_0x187dec(0x240)](a2_0x187dec(0x309))['option']('--stage\x20<name>',a2_0x187dec(0x4a3))[a2_0x187dec(0x264)](a2_0x187dec(0x2fa),'Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x187dec(0x264)](a2_0x187dec(0x1e8),a2_0x187dec(0x3e1))[a2_0x187dec(0x264)](a2_0x187dec(0x39e),a2_0x187dec(0x3a0))[a2_0x187dec(0x234)](async(_0x2ba7a3,_0x49f0c3)=>{const _0x5afabb=a2_0x187dec,_0x1dbe41=new JourneyStatsCommand(),_0xf5a349=program[_0x5afabb(0x3d0)](),_0xfd7443=await createTDXInstance(_0xf5a349),_0x49b130=await _0x1dbe41[_0x5afabb(0x221)]({'options':{..._0xf5a349,..._0x49f0c3},'args':[_0x2ba7a3],'tdx':_0xfd7443});gracefulExit(_0x49b130);}),journeyCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x3c8))[a2_0x187dec(0x240)](a2_0x187dec(0x327))[a2_0x187dec(0x264)]('--type\x20<type>',a2_0x187dec(0x31a))[a2_0x187dec(0x264)](a2_0x187dec(0x2fa),a2_0x187dec(0x2cd))[a2_0x187dec(0x264)](a2_0x187dec(0x1e8),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x187dec(0x264)](a2_0x187dec(0x2b4),a2_0x187dec(0x42b),_0x3423c7=>{const _0x225e0c=a2_0x187dec,_0xaff78f=parseInt(_0x3423c7,0xa);if(isNaN(_0xaff78f))throw new Error(_0x225e0c(0x393)+_0x3423c7+'\x22.\x20Must\x20be\x20a\x20number.');return _0xaff78f;})['action'](async(_0x52af56,_0x471205)=>{const _0x3b5534=a2_0x187dec,_0x279948=new JourneyTrafficCommand(),_0xc7d765=program[_0x3b5534(0x3d0)](),_0x218a32=await createTDXInstance(_0xc7d765),_0x402dc4=await _0x279948[_0x3b5534(0x221)]({'options':{..._0xc7d765,..._0x471205},'args':[_0x52af56],'tdx':_0x218a32});gracefulExit(_0x402dc4);}),journeyCmd[a2_0x187dec(0x26a)]('pause\x20<name-or-path>')[a2_0x187dec(0x240)](a2_0x187dec(0x3ff))['action'](async(_0x5cf30c,_0x301d4c)=>{const _0x2bb5a6=a2_0x187dec,_0x863f47=new JourneyPauseCommand(),_0x4585ab=program[_0x2bb5a6(0x3d0)](),_0xa6a2a1=await createTDXInstance(_0x4585ab),_0x5a6c6d=await _0x863f47[_0x2bb5a6(0x221)]({'options':{..._0x4585ab,..._0x301d4c},'args':[_0x5cf30c],'tdx':_0xa6a2a1});gracefulExit(_0x5a6c6d);}),journeyCmd['command'](a2_0x187dec(0x3c9))[a2_0x187dec(0x240)](a2_0x187dec(0x42f))[a2_0x187dec(0x234)](async(_0x3cdaaa,_0x290373)=>{const _0x31de93=new JourneyResumeCommand(),_0x4a2b0e=program['opts'](),_0x4284fe=await createTDXInstance(_0x4a2b0e),_0x26f3ae=await _0x31de93['run']({'options':{..._0x4a2b0e,..._0x290373},'args':[_0x3cdaaa],'tdx':_0x4284fe});gracefulExit(_0x26f3ae);}),journeyCmd['command'](a2_0x187dec(0x48f))[a2_0x187dec(0x240)](a2_0x187dec(0x440))['option']('--dry-run',a2_0x187dec(0x37b))[a2_0x187dec(0x234)](async(_0x5897b8,_0x3e078f)=>{const _0x59ebe6=a2_0x187dec,_0x37a508=new JourneyPullCommand(),_0x590907=program[_0x59ebe6(0x3d0)](),_0x156f3c=await createTDXInstance(_0x590907),_0x12e037=await _0x37a508[_0x59ebe6(0x221)]({'options':{..._0x590907,..._0x3e078f},'args':_0x5897b8?[_0x5897b8]:[],'tdx':_0x156f3c});gracefulExit(_0x12e037);}),journeyCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x20e))[a2_0x187dec(0x240)](a2_0x187dec(0x2f3))['action'](async(_0x284b50,_0x102592)=>{const _0xba1db6=new JourneyPushCommand(),_0x541afe=program['opts'](),_0x53bdd6=await createTDXInstance(_0x541afe),_0x1671c3=await _0xba1db6['run']({'options':{..._0x541afe,..._0x102592},'args':_0x284b50?[_0x284b50]:[],'tdx':_0x53bdd6});gracefulExit(_0x1671c3);}),journeyCmd['command'](a2_0x187dec(0x220))['description']('Show\x20journey\x20table\x20column-to-step\x20mapping')['action'](async(_0x417661,_0x3b3a82)=>{const _0x2cc8f1=a2_0x187dec,_0x589144=new JourneyColumnsCommand(),_0x2d660c=program['opts'](),_0x38d2ef=await createTDXInstance(_0x2d660c),_0x35ebcb=await _0x589144[_0x2cc8f1(0x221)]({'options':{..._0x2d660c,..._0x3b3a82},'args':[_0x417661],'tdx':_0x38d2ef});gracefulExit(_0x35ebcb);}),journeyCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x1a3))[a2_0x187dec(0x240)](a2_0x187dec(0x3b7))[a2_0x187dec(0x234)](async(_0x11137c,_0x540940)=>{const _0x24efcb=a2_0x187dec,_0x2e7250=new JourneyActivationsCommand(),_0x31a507=program[_0x24efcb(0x3d0)](),_0xcf7c68=await createTDXInstance(_0x31a507),_0x11beca=await _0x2e7250[_0x24efcb(0x221)]({'options':{..._0x31a507,..._0x540940},'args':[_0x11137c],'tdx':_0xcf7c68});gracefulExit(_0x11beca);}),journeyCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x48b))[a2_0x187dec(0x240)](a2_0x187dec(0x300))['action'](async(_0x596046,_0x4d437a)=>{const _0x465353=a2_0x187dec,_0x5030dc=new JourneyVersionsCommand(),_0x16843b=program[_0x465353(0x3d0)](),_0xd072fd=await createTDXInstance(_0x16843b),_0x1e5a5b=await _0x5030dc[_0x465353(0x221)]({'options':{..._0x16843b,..._0x4d437a},'args':[_0x596046],'tdx':_0xd072fd});gracefulExit(_0x1e5a5b);});const journeyVersionCmd=journeyCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x44f))[a2_0x187dec(0x240)](a2_0x187dec(0x23a));journeyVersionCmd[a2_0x187dec(0x26a)]('create\x20<name-or-path>')['description']('Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey')[a2_0x187dec(0x234)](async(_0x599e15,_0x517c82)=>{const _0x5e001d=a2_0x187dec,_0x11be96=new JourneyVersionCreateCommand(),_0x14c86d=program[_0x5e001d(0x3d0)](),_0x92af82=await createTDXInstance(_0x14c86d),_0x1348ad=await _0x11be96[_0x5e001d(0x221)]({'options':{..._0x14c86d,..._0x517c82},'args':[_0x599e15],'tdx':_0x92af82});gracefulExit(_0x1348ad);}),journeyVersionCmd[a2_0x187dec(0x26a)]('view\x20<name-or-path>')[a2_0x187dec(0x240)](a2_0x187dec(0x344))[a2_0x187dec(0x484)](a2_0x187dec(0x49d),a2_0x187dec(0x383))[a2_0x187dec(0x234)](async(_0x267a3e,_0x546e79)=>{const _0x1ce630=a2_0x187dec,_0x4d5f2e=new JourneyVersionViewCommand(),_0x4a4bbf=program[_0x1ce630(0x3d0)](),_0x25eb26=await createTDXInstance(_0x4a4bbf),_0x3259d5=await _0x4d5f2e[_0x1ce630(0x221)]({'options':{..._0x4a4bbf,..._0x546e79},'args':[_0x267a3e],'tdx':_0x25eb26});gracefulExit(_0x3259d5);}),journeyCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x368))[a2_0x187dec(0x240)](a2_0x187dec(0x2df))[a2_0x187dec(0x234)](async(_0x5e7171,_0x136855)=>{const _0x5dc30a=a2_0x187dec,_0x1f74b8=new JourneyValidateCommand(),_0x319440=program[_0x5dc30a(0x3d0)](),_0x9f59a7=await createTDXInstance(_0x319440),_0x1eccaf=await _0x1f74b8['run']({'options':{..._0x319440,..._0x136855},'args':_0x5e7171?[_0x5e7171]:[],'tdx':_0x9f59a7});gracefulExit(_0x1eccaf);}),program[a2_0x187dec(0x26a)](a2_0x187dec(0x1df))[a2_0x187dec(0x240)](a2_0x187dec(0x297))['action'](journeyListAction);const agentSyncCmd=program[a2_0x187dec(0x26a)](a2_0x187dec(0x2f5))[a2_0x187dec(0x240)](a2_0x187dec(0x23d));agentSyncCmd['command'](a2_0x187dec(0x1ba))['description'](a2_0x187dec(0x2a9))[a2_0x187dec(0x264)](a2_0x187dec(0x2be),a2_0x187dec(0x388))[a2_0x187dec(0x264)]('-f,\x20--force',a2_0x187dec(0x284))[a2_0x187dec(0x264)]('-a,\x20--agent\x20<name>',a2_0x187dec(0x21f))[a2_0x187dec(0x234)](async(_0x403d68,_0x4037b6,_0x4f01af)=>{const _0x31a0cd=a2_0x187dec,_0x40f12e=new AgentPullCommand(),_0x864962=program[_0x31a0cd(0x3d0)](),_0x54e462=await createTDXInstance(_0x864962),_0x13c01a=[];if(_0x403d68)_0x13c01a[_0x31a0cd(0x28d)](_0x403d68);if(_0x4037b6)_0x13c01a[_0x31a0cd(0x28d)](_0x4037b6);const _0x1a9ece=await _0x40f12e[_0x31a0cd(0x221)]({'options':{..._0x864962,..._0x4f01af},'args':_0x13c01a,'tdx':_0x54e462});gracefulExit(_0x1a9ece);}),agentSyncCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x2f6))[a2_0x187dec(0x240)](a2_0x187dec(0x2da))['option']('-f,\x20--force','Push\x20without\x20confirmation')['action'](async(_0x5688d8,_0x39d79e)=>{const _0x5f5b48=a2_0x187dec,_0x407894=new AgentPushCommand(),_0x1df9d6=program[_0x5f5b48(0x3d0)](),_0x154c6e=await createTDXInstance(_0x1df9d6),_0x42cae6=await _0x407894[_0x5f5b48(0x221)]({'options':{..._0x1df9d6,..._0x39d79e},'args':_0x5688d8?[_0x5688d8]:[],'tdx':_0x154c6e});gracefulExit(_0x42cae6);}),agentSyncCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x2e6))[a2_0x187dec(0x240)](a2_0x187dec(0x286))[a2_0x187dec(0x264)](a2_0x187dec(0x2ca),a2_0x187dec(0x462))['action'](async(_0x5d1406,_0x38f6cc)=>{const _0x1e743d=a2_0x187dec,_0x464779=new AgentCloneCommand(),_0x36eb48=program[_0x1e743d(0x3d0)](),_0x37574c=await createTDXInstance(_0x36eb48),_0x4c0ab4=await _0x464779[_0x1e743d(0x221)]({'options':{..._0x36eb48,..._0x38f6cc},'args':_0x5d1406?[_0x5d1406]:[],'tdx':_0x37574c});gracefulExit(_0x4c0ab4);}),agentSyncCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x1fa))[a2_0x187dec(0x240)]('Run\x20tests\x20for\x20an\x20LLM\x20agent')[a2_0x187dec(0x264)](a2_0x187dec(0x2ec),a2_0x187dec(0x1dc))[a2_0x187dec(0x264)]('--tags\x20<tags>',a2_0x187dec(0x290))[a2_0x187dec(0x264)](a2_0x187dec(0x267),a2_0x187dec(0x32b))[a2_0x187dec(0x264)](a2_0x187dec(0x3a4),a2_0x187dec(0x333))[a2_0x187dec(0x264)]('--reeval',a2_0x187dec(0x1b3))['action'](async(_0x1b1552,_0x42af65)=>{const _0x92d266=a2_0x187dec,_0x227f45=new AgentTestCommand(),_0x24486c=program[_0x92d266(0x3d0)](),_0x2ffdb9=await createTDXInstance(_0x24486c),_0x285a85=await _0x227f45[_0x92d266(0x221)]({'options':{..._0x24486c,..._0x42af65},'args':_0x1b1552?[_0x1b1552]:[],'tdx':_0x2ffdb9});gracefulExit(_0x285a85);}),agentSyncCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x422))[a2_0x187dec(0x240)](a2_0x187dec(0x2b2))['action'](llmAgentListAction),agentSyncCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x42e))[a2_0x187dec(0x240)](a2_0x187dec(0x215))[a2_0x187dec(0x234)](async(_0x26099e,_0x58b3f0)=>{const _0x1be66c=a2_0x187dec,_0x4ebfc7=new LLMAgentShowCommand(),_0x3a4c82=program[_0x1be66c(0x3d0)](),_0x29644a=await createTDXInstance(_0x3a4c82),_0x2827eb=await _0x4ebfc7[_0x1be66c(0x221)]({'options':{..._0x3a4c82,..._0x58b3f0},'args':[_0x26099e],'tdx':_0x29644a});gracefulExit(_0x2827eb);}),agentSyncCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x224))[a2_0x187dec(0x240)](a2_0x187dec(0x2b1))[a2_0x187dec(0x264)](a2_0x187dec(0x28a),a2_0x187dec(0x37d))['option'](a2_0x187dec(0x3ec),a2_0x187dec(0x266),a2_0x187dec(0x2a3))[a2_0x187dec(0x264)](a2_0x187dec(0x2b5),a2_0x187dec(0x469))['option'](a2_0x187dec(0x1ae),'Maximum\x20tool\x20iterations\x20(default:\x204)','4')[a2_0x187dec(0x264)]('--temperature\x20<n>',a2_0x187dec(0x2f8),a2_0x187dec(0x44e))[a2_0x187dec(0x234)](async(_0x2dac28,_0x2cf0e4)=>{const _0x1f64c6=a2_0x187dec,_0x2bc7d4=new LLMAgentCreateCommand(),_0x4eadba=program[_0x1f64c6(0x3d0)](),_0x1c23bb=await createTDXInstance(_0x4eadba),_0x3045bb=await _0x2bc7d4[_0x1f64c6(0x221)]({'options':{..._0x4eadba,..._0x2cf0e4},'args':[_0x2dac28],'tdx':_0x1c23bb});gracefulExit(_0x3045bb);}),agentSyncCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x28f))[a2_0x187dec(0x240)](a2_0x187dec(0x413))[a2_0x187dec(0x264)](a2_0x187dec(0x298),a2_0x187dec(0x38f))[a2_0x187dec(0x264)]('--prompt\x20<text>',a2_0x187dec(0x2bb))[a2_0x187dec(0x264)]('--description\x20<text>','Agent\x20description')[a2_0x187dec(0x264)](a2_0x187dec(0x2b5),a2_0x187dec(0x469))[a2_0x187dec(0x234)](async(_0x400b63,_0x7ca3b7)=>{const _0x3a4057=a2_0x187dec,_0x3ccc90=new LLMAgentUpdateCommand(),_0x1b83ea=program[_0x3a4057(0x3d0)](),_0x152717=await createTDXInstance(_0x1b83ea),_0x306390=await _0x3ccc90[_0x3a4057(0x221)]({'options':{..._0x1b83ea,..._0x7ca3b7},'args':[_0x400b63],'tdx':_0x152717});gracefulExit(_0x306390);}),agentSyncCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x291))[a2_0x187dec(0x240)](a2_0x187dec(0x3a8))[a2_0x187dec(0x234)](async(_0x1b7b92,_0x57a874)=>{const _0x1bb34e=a2_0x187dec,_0x51112d=new LLMAgentDeleteCommand(),_0x583737=program[_0x1bb34e(0x3d0)](),_0x1f5f71=await createTDXInstance(_0x583737),_0x36d8e1=await _0x51112d['run']({'options':{..._0x583737,..._0x57a874},'args':[_0x1b7b92],'tdx':_0x1f5f71});gracefulExit(_0x36d8e1);});const workCmd=program['command']('work')[a2_0x187dec(0x240)](a2_0x187dec(0x314));workCmd[a2_0x187dec(0x264)](a2_0x187dec(0x219),a2_0x187dec(0x2f9))[a2_0x187dec(0x264)]('--all',a2_0x187dec(0x279))[a2_0x187dec(0x234)](workSummaryAction),workCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x2a2))['description'](a2_0x187dec(0x404))['option']('--github\x20<owner/repo>',a2_0x187dec(0x401))[a2_0x187dec(0x234)](workInitAction),workCmd['command']('new\x20<title>')[a2_0x187dec(0x240)](a2_0x187dec(0x324))[a2_0x187dec(0x264)](a2_0x187dec(0x44b),a2_0x187dec(0x3fe),a2_0x187dec(0x46c))[a2_0x187dec(0x264)](a2_0x187dec(0x338),'Comma-separated\x20tags')[a2_0x187dec(0x264)](a2_0x187dec(0x3e2),'Priority\x20(critical,\x20high,\x20medium,\x20low)')['option']('--body\x20<body>',a2_0x187dec(0x39a))[a2_0x187dec(0x264)](a2_0x187dec(0x239),a2_0x187dec(0x2d8))[a2_0x187dec(0x264)]('--status\x20<status>','Initial\x20status')[a2_0x187dec(0x264)](a2_0x187dec(0x464),a2_0x187dec(0x407))['action'](workNewAction),workCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x3c0))[a2_0x187dec(0x240)](a2_0x187dec(0x247))[a2_0x187dec(0x234)](workMoveAction),workCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x4a8))['description'](a2_0x187dec(0x3f8))[a2_0x187dec(0x264)](a2_0x187dec(0x219),a2_0x187dec(0x2f9))[a2_0x187dec(0x264)]('--all','Include\x20all\x20items\x20(no\x20stale\x20filtering)')[a2_0x187dec(0x234)](workBoardAction),workCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x4b1))[a2_0x187dec(0x240)]('Show\x20document\x20details')[a2_0x187dec(0x234)](workShowAction),workCmd[a2_0x187dec(0x26a)](a2_0x187dec(0x46a))['description'](a2_0x187dec(0x4b7))[a2_0x187dec(0x234)](workLinksAction),workCmd[a2_0x187dec(0x26a)]('open\x20<name>')[a2_0x187dec(0x240)](a2_0x187dec(0x25e))[a2_0x187dec(0x234)](workOpenAction),program['command'](a2_0x187dec(0x4b6),{'hidden':!![]})[a2_0x187dec(0x234)](()=>{const _0x1c6904=a2_0x187dec;function _0x235da9(_0x4c3f9e,_0x31e900){const _0x429696=a2_0x4510,_0x3714c1=[];for(const _0x41bba0 of _0x4c3f9e['commands']){if(_0x41bba0[_0x429696(0x1a5)])continue;const _0x2d1e9d=_0x31e900?_0x31e900+'\x20'+_0x41bba0[_0x429696(0x281)]():_0x41bba0[_0x429696(0x281)](),_0x47b3df=_0x2d1e9d[_0x429696(0x31b)]('\x20')[0x0],_0x5914b1=COMMAND_CATEGORIES[_0x429696(0x1c1)](_0x1649d2=>_0x1649d2[_0x429696(0x421)][_0x429696(0x268)](_0x47b3df)),_0x28741f=_0x5914b1?.[_0x429696(0x281)]??'';if(_0x41bba0[_0x429696(0x421)][_0x429696(0x3fd)]>0x0)_0x3714c1['push'](..._0x235da9(_0x41bba0,_0x2d1e9d));else{const _0x456bcf=(_0x41bba0[_0x429696(0x232)]||[])[_0x429696(0x208)](_0x35753d=>{const _0x129eb8=_0x429696,_0x4d2a8a=_0x35753d[_0x129eb8(0x2c3)]?_0x35753d[_0x129eb8(0x281)]()+_0x129eb8(0x4b5):_0x35753d['name']();return _0x35753d[_0x129eb8(0x1b0)]?'<'+_0x4d2a8a+'>':'['+_0x4d2a8a+']';})[_0x429696(0x1f1)]('\x20'),_0x55a561=_0x41bba0[_0x429696(0x2a1)][_0x429696(0x4a9)](_0x4c1f42=>!_0x4c1f42[_0x429696(0x350)]&&_0x4c1f42['long']!==_0x429696(0x1c0))[_0x429696(0x208)](_0x1746a5=>({'flags':_0x1746a5[_0x429696(0x468)],'description':_0x1746a5[_0x429696(0x240)]}));_0x3714c1[_0x429696(0x28d)]({'name':_0x2d1e9d,'description':_0x41bba0['description'](),'group':_0x28741f,'usage':_0x456bcf,'options':_0x55a561});}}return _0x3714c1;}console[_0x1c6904(0x3d3)](JSON[_0x1c6904(0x285)](_0x235da9(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x423c27=a2_0x187dec,_0x5171e6=!process['argv']['slice'](0x2)[_0x423c27(0x3fd)];showBriefHelp=_0x5171e6,program[_0x423c27(0x40c)](process[_0x423c27(0x424)]);_0x5171e6&&program['outputHelp']();const _0x647c35=process['argv'][0x2]===_0x423c27(0x245);if(process['stderr']['isTTY']&&process['argv']['length']>0x2&&!isDevVersion()&&!_0x647c35){const _0x1f90b4=loadReleaseChannel();checkForUpdate(currentVersion,_0x1f90b4)[_0x423c27(0x490)](_0x4780aa=>{_0x4780aa&&displayUpdateNotification(_0x4780aa);})[_0x423c27(0x408)](()=>{});}}
|
|
1
|
+
const a2_0x2781a5=a2_0x159d;(function(_0x1429ff,_0x4bf50c){const _0x556dc0=a2_0x159d,_0x1d02bd=_0x1429ff();while(!![]){try{const _0x3d0af9=-parseInt(_0x556dc0(0x252))/0x1*(-parseInt(_0x556dc0(0x2e8))/0x2)+-parseInt(_0x556dc0(0x345))/0x3+-parseInt(_0x556dc0(0xcb))/0x4+-parseInt(_0x556dc0(0xf1))/0x5*(-parseInt(_0x556dc0(0x2bc))/0x6)+parseInt(_0x556dc0(0x26f))/0x7+parseInt(_0x556dc0(0x96))/0x8*(parseInt(_0x556dc0(0xe7))/0x9)+-parseInt(_0x556dc0(0x2c7))/0xa;if(_0x3d0af9===_0x4bf50c)break;else _0x1d02bd['push'](_0x1d02bd['shift']());}catch(_0x1f63df){_0x1d02bd['push'](_0x1d02bd['shift']());}}}(a2_0x290c,0x943bd));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,PSRtJnListCommand,PSRtJnPauseCommand,PSRtJnResumeCommand,PSRtConfigVersionCommand,PSPzServiceListCommand,PSPzServiceCreateCommand,PSPzServiceShowCommand,PSPzServiceDeleteCommand,PSPzServiceUpdateCommand,PSPzServiceTokenCreateCommand,PSPzServiceTokenDeleteCommand,PSPzListCommand,PSPzShowCommand,PSPzDeleteCommand,PSPzCreateCommand,PSPzPatchCommand,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,WorkflowSchedulesCommand,WorkflowScheduleEnableCommand,WorkflowScheduleDisableCommand}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,ProfileDeleteCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{CASListCommand,CASDescCommand,CASPullCommand,CASPushCommand,CASPreviewCommand}from'./commands/cas-command.js';import{CASSegmentListCommand}from'./commands/cas-segment-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{workSummaryAction,workInitAction,workNewAction,workMoveAction,workBoardAction,workShowAction,workLinksAction,workOpenAction}from'./commands/work-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process['argv'][a2_0x2781a5(0x360)]('--version')){let versionOutput=a2_0x2781a5(0x1dd)+currentVersion;buildInfo[a2_0x2781a5(0x226)]&&!currentVersion[a2_0x2781a5(0x360)](buildInfo['gitRevision'])&&(versionOutput+='\x20('+buildInfo[a2_0x2781a5(0x226)]+')'),buildInfo[a2_0x2781a5(0x254)]&&(versionOutput+=a2_0x2781a5(0xeb)+buildInfo[a2_0x2781a5(0x254)]),console[a2_0x2781a5(0x1a6)](versionOutput),process[a2_0x2781a5(0x18b)](0x0);}const program=new Command();export function mergeCommandOptions(_0x29ec81,_0x55c2cd){const _0x4aa6fc=a2_0x2781a5,_0xc37981={..._0x29ec81};for(const [_0x18cb9a,_0x24f62a]of Object[_0x4aa6fc(0x176)](_0x55c2cd)){_0x24f62a!==undefined&&(_0xc37981[_0x18cb9a]=_0x24f62a);}return _0xc37981;}let showBriefHelp=![],description='AI-native\x20CLI\x20for\x20Treasure\x20Data';buildInfo[a2_0x2781a5(0x226)]&&!currentVersion[a2_0x2781a5(0x360)](buildInfo[a2_0x2781a5(0x226)])?description+=',\x20version\x20'+currentVersion+'\x20('+buildInfo[a2_0x2781a5(0x226)]+')':description+=',\x20version\x20'+currentVersion;program[a2_0x2781a5(0x328)](a2_0x2781a5(0x2c4))[a2_0x2781a5(0x1a0)](description),program['option'](a2_0x2781a5(0x371),a2_0x2781a5(0x2ad))['option'](a2_0x2781a5(0xe8),a2_0x2781a5(0xe0))['option'](a2_0x2781a5(0x1a4),'TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)',a2_0x2781a5(0x24b))[a2_0x2781a5(0x106)](a2_0x2781a5(0x35a),a2_0x2781a5(0x121))[a2_0x2781a5(0x106)](a2_0x2781a5(0x230),a2_0x2781a5(0x35c))[a2_0x2781a5(0x106)](a2_0x2781a5(0x2aa),a2_0x2781a5(0x1ae))[a2_0x2781a5(0x106)](a2_0x2781a5(0x1b7),a2_0x2781a5(0x35f))[a2_0x2781a5(0x106)]('--tsv',a2_0x2781a5(0x8e))[a2_0x2781a5(0x106)](a2_0x2781a5(0xe6),'Save\x20output\x20to\x20file')[a2_0x2781a5(0x106)](a2_0x2781a5(0x2df),a2_0x2781a5(0x2ba))[a2_0x2781a5(0x106)](a2_0x2781a5(0xfb),a2_0x2781a5(0x31f),![])[a2_0x2781a5(0x106)](a2_0x2781a5(0x1dc),'Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)',![])[a2_0x2781a5(0x106)](a2_0x2781a5(0x1c0),a2_0x2781a5(0x1b3),![])['option'](a2_0x2781a5(0x31c),a2_0x2781a5(0x26a))[a2_0x2781a5(0x106)]('--trace',a2_0x2781a5(0x215))[a2_0x2781a5(0x106)](a2_0x2781a5(0x313),a2_0x2781a5(0x22d),'30')['option'](a2_0x2781a5(0x1f1),'Preview\x20operation\x20without\x20executing',![])[a2_0x2781a5(0x106)](a2_0x2781a5(0x184),a2_0x2781a5(0x166),![])[a2_0x2781a5(0x106)](a2_0x2781a5(0x2b2),a2_0x2781a5(0x11f))[a2_0x2781a5(0x106)](a2_0x2781a5(0xc4),a2_0x2781a5(0x1da))['option']('--llm-project\x20<name>','LLM\x20project\x20to\x20use\x20(overrides\x20context)'),program[a2_0x2781a5(0x1af)]({'formatHelp':(_0xca5c41,_0x3fe47b)=>{const _0x1d1b55=a2_0x2781a5,_0x174024=_0x3fe47b[_0x1d1b55(0x1e8)](_0xca5c41,_0x3fe47b),_0x3e32f8=0x2,_0x4fc8e9=0x2;function _0x53d88e(_0x1a994a){const _0x2f813c=_0x1d1b55,_0x50a9cf=_0x1a994a;return!!(_0x50a9cf[_0x2f813c(0x358)]||_0x50a9cf[_0x2f813c(0x80)]);}function _0x3c8749(_0x1e3ec9,_0x2394a5){const _0x3fb7b0=_0x1d1b55;if(_0x2394a5){const _0xa03e45=''+_0x1e3ec9[_0x3fb7b0(0x109)](_0x174024+_0x4fc8e9)+_0x2394a5;return _0xa03e45;}return _0x1e3ec9;}function _0x4a5f05(_0x13bd86){const _0x2ed3db=_0x1d1b55;return _0x13bd86['join']('\x0a')['replace'](/^/gm,'\x20'[_0x2ed3db(0x152)](_0x3e32f8));}const _0x1cef2e=[];_0x1cef2e[_0x1d1b55(0xc0)](_0x1d1b55(0x2ee)+_0x3fe47b['commandUsage'](_0xca5c41));const _0x263c44=_0x3fe47b['commandDescription'](_0xca5c41);_0x263c44&&(_0x1cef2e[_0x1d1b55(0xc0)](''),_0x1cef2e[_0x1d1b55(0xc0)](_0x263c44));const _0x4090f2=_0xca5c41[_0x1d1b55(0x2f7)][_0x1d1b55(0x217)](_0x41311b=>!_0x53d88e(_0x41311b));if(_0x4090f2['length']>0x0){if(_0xca5c41[_0x1d1b55(0x328)]()==='tdx'){const _0x1febdd=_0xca5c41[_0x1d1b55(0x34f)](),_0x1a1b1d=!_0x1febdd[_0x1d1b55(0x183)]&&process['stdout'][_0x1d1b55(0x22f)],_0x5eeb57=COMMAND_CATEGORIES,_0x4d3955=(_0x10fe66,_0x90e4d2)=>_0x1a1b1d?_0x90e4d2(_0x10fe66):_0x10fe66,_0x23604c=new Map();_0x4090f2['forEach'](_0x3fbd23=>{const _0x374dd4=_0x1d1b55;_0x23604c[_0x374dd4(0xb0)](_0x3fbd23[_0x374dd4(0x328)](),_0x3fbd23);}),_0x5eeb57['forEach'](_0x571cba=>{const _0x3284e6=_0x1d1b55,_0x59bfb4=_0x571cba[_0x3284e6(0x2f7)][_0x3284e6(0x271)](_0x51b8e7=>_0x23604c[_0x3284e6(0x141)](_0x51b8e7)??[]);if(_0x59bfb4[_0x3284e6(0x8c)]>0x0){_0x1cef2e['push'](''),_0x1cef2e['push'](_0x4d3955(_0x571cba[_0x3284e6(0x328)]+':',_0x571cba['colorFn']));const _0xdcb9f9=_0x59bfb4[_0x3284e6(0x331)](_0x245988=>{const _0x192019=_0x3284e6,_0x150078=_0x3fe47b[_0x192019(0x28a)](_0x245988),_0x23bb87=_0x3fe47b[_0x192019(0x1e5)](_0x245988);return _0x3c8749(_0x150078,_0x23bb87);});_0x1cef2e[_0x3284e6(0xc0)](_0x4a5f05(_0xdcb9f9));}}),_0x1cef2e[_0x1d1b55(0xc0)](''),_0x1cef2e[_0x1d1b55(0xc0)](_0x1d1b55(0x383));}else{const _0x3befae=_0x4090f2[_0x1d1b55(0x331)](_0x29c671=>{const _0x113979=_0x1d1b55,_0x3feaab=_0x3fe47b[_0x113979(0x28a)](_0x29c671),_0x543f9a=_0x3fe47b['subcommandDescription'](_0x29c671);return _0x3c8749(_0x3feaab,_0x543f9a);});_0x1cef2e[_0x1d1b55(0xc0)](''),_0x1cef2e[_0x1d1b55(0xc0)](_0x1d1b55(0x384)),_0x1cef2e[_0x1d1b55(0xc0)](_0x4a5f05(_0x3befae));}}if(showBriefHelp&&_0xca5c41[_0x1d1b55(0x328)]()==='tdx')_0x1cef2e[_0x1d1b55(0xc0)](''),_0x1cef2e[_0x1d1b55(0xc0)](_0x1d1b55(0x1c8));else{const _0x33c11e=_0xca5c41[_0x1d1b55(0x1be)][_0x1d1b55(0x217)](_0x89249c=>!_0x53d88e(_0x89249c));if(_0x33c11e[_0x1d1b55(0x8c)]>0x0){const _0x5c896e=_0x33c11e[_0x1d1b55(0x331)](_0x15000f=>{const _0x5e1386=_0x1d1b55,_0x4a8376=_0x3fe47b[_0x5e1386(0x21f)](_0x15000f),_0x3f1b90=_0x3fe47b['optionDescription'](_0x15000f);return _0x3c8749(_0x4a8376,_0x3f1b90);});_0x1cef2e['push'](''),_0x1cef2e[_0x1d1b55(0xc0)](_0x1d1b55(0x240)),_0x1cef2e[_0x1d1b55(0xc0)](_0x4a5f05(_0x5c896e));}}const _0x59c333=(_0xca5c41['registeredArguments']||[])['filter'](_0x3af7d9=>!_0x53d88e(_0x3af7d9));if(_0x59c333['length']>0x0){const _0x2a77f1=_0x59c333[_0x1d1b55(0x331)](_0xd7d52d=>{const _0x4da224=_0x1d1b55,_0x58e232=_0x3fe47b[_0x4da224(0x14f)](_0xd7d52d),_0x3be582=_0x3fe47b[_0x4da224(0xbb)](_0xd7d52d);return _0x3c8749(_0x58e232,_0x3be582);});_0x1cef2e[_0x1d1b55(0xc0)](''),_0x1cef2e[_0x1d1b55(0xc0)](_0x1d1b55(0x350)),_0x1cef2e[_0x1d1b55(0xc0)](_0x4a5f05(_0x2a77f1));}return _0x1cef2e[_0x1d1b55(0x1cd)]('\x0a')+'\x0a';},'subcommandTerm':_0x222847=>{const _0x52bfc4=a2_0x2781a5,_0x441453=(_0x222847[_0x52bfc4(0x370)]||[])[_0x52bfc4(0x331)](_0x3c52f9=>_0x3c52f9[_0x52bfc4(0x13f)]?'<'+_0x3c52f9['name']()+'>':'['+_0x3c52f9[_0x52bfc4(0x328)]()+']')['join']('\x20'),_0x11c989=_0x222847['aliases'](),_0x2c17ab=_0x11c989['length']>0x0?_0x222847[_0x52bfc4(0x328)]()+',\x20'+_0x11c989[_0x52bfc4(0x1cd)](',\x20'):_0x222847[_0x52bfc4(0x328)]();return _0x441453?_0x2c17ab+'\x20'+_0x441453:_0x2c17ab;}}),program[a2_0x2781a5(0x163)](a2_0x2781a5(0x272),_0x1fbcb2=>{const _0xcf4a57=a2_0x2781a5,_0x53929c=_0x1fbcb2['opts']();if(_0x53929c[_0xcf4a57(0x2cd)]){const _0x216967=resolve(_0x53929c[_0xcf4a57(0x2cd)]),_0x3a4b80=_0x216967!==_0x53929c[_0xcf4a57(0x2cd)]?'\x20(resolved\x20to\x20'+_0x216967+')':'';if(!existsSync(_0x216967))throw new SDKError(ErrorCode[_0xcf4a57(0x239)],'Directory\x20does\x20not\x20exist:\x20'+_0x53929c[_0xcf4a57(0x2cd)]+_0x3a4b80,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x26b814=statSync(_0x216967);if(!_0x26b814[_0xcf4a57(0x30b)]())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0xcf4a57(0x26e)+_0x53929c[_0xcf4a57(0x2cd)]+_0x3a4b80,undefined,{'helpText':_0xcf4a57(0x296)});process[_0xcf4a57(0x2cc)](_0x216967);}if(!_0x53929c[_0xcf4a57(0x1bc)]){if(_0x53929c['table'])_0x53929c['format']=_0xcf4a57(0x1c9);else{if(_0x53929c[_0xcf4a57(0x335)])_0x53929c[_0xcf4a57(0x1bc)]=_0xcf4a57(0x335);else{if(_0x53929c[_0xcf4a57(0x9d)])_0x53929c[_0xcf4a57(0x1bc)]=_0xcf4a57(0x9d);else _0x53929c[_0xcf4a57(0x387)]&&(_0x53929c['format']=_0xcf4a57(0x387));}}}if(_0x53929c[_0xcf4a57(0x2e5)])_0x53929c[_0xcf4a57(0xbf)]=LogLevel[_0xcf4a57(0x23a)];else{if(_0x53929c['debug'])_0x53929c[_0xcf4a57(0xbf)]=LogLevel[_0xcf4a57(0x1d6)];else _0x53929c[_0xcf4a57(0xbf)]===undefined&&(_0x53929c[_0xcf4a57(0xbf)]=LogLevel[_0xcf4a57(0x394)]);}});async function createTDXInstance(_0x513e9f){const _0xe6550c=a2_0x2781a5,_0xbf2e28=await GlobalContext[_0xe6550c(0x34e)](_0x513e9f);_0xbf2e28[_0xe6550c(0x34c)](_0x513e9f);const _0x16c91b=Number(_0x513e9f['timeout']),_0x42e924=!isNaN(_0x16c91b)&&_0x16c91b>0x0?_0x16c91b*0x3e8:undefined;return TDX['create']({'site':_0xbf2e28['site'],'apiKey':_0xbf2e28[_0xe6550c(0x2b0)],'accessToken':_0xbf2e28[_0xe6550c(0x390)],'logLevel':_0xbf2e28[_0xe6550c(0xbf)],'profile':_0xbf2e28[_0xe6550c(0x220)],'timeout':_0x42e924});}const databaseCmd=program[a2_0x2781a5(0xee)](a2_0x2781a5(0x97))[a2_0x2781a5(0x228)]('db')['description'](a2_0x2781a5(0x30f)),databaseListAction=async(_0x22af62,_0x137b6a)=>{const _0x11295a=new DatabasesCommand(),_0x78cc1=program['opts'](),_0x180f0d=await createTDXInstance(_0x78cc1),_0x36240f=await _0x11295a['run']({'options':{..._0x78cc1,..._0x137b6a},'args':_0x22af62?[_0x22af62]:[],'tdx':_0x180f0d});gracefulExit(_0x36240f);};databaseCmd[a2_0x2781a5(0xee)]('list\x20[pattern]')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x222))[a2_0x2781a5(0x2d5)](databaseListAction),program[a2_0x2781a5(0xee)]('databases\x20[pattern]',{'hidden':!![]})[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x8d))['action'](databaseListAction),program[a2_0x2781a5(0xee)](a2_0x2781a5(0xdc))[a2_0x2781a5(0x1a0)]('Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)')[a2_0x2781a5(0x106)](a2_0x2781a5(0x13d),a2_0x2781a5(0x210))[a2_0x2781a5(0x106)](a2_0x2781a5(0x1df),a2_0x2781a5(0x398))[a2_0x2781a5(0x106)](a2_0x2781a5(0x104),a2_0x2781a5(0x11e))[a2_0x2781a5(0x106)](a2_0x2781a5(0x208),'Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)')[a2_0x2781a5(0x2d5)](async(_0xda1a56,_0x1f9f54)=>{const _0x562109=a2_0x2781a5,_0x1b6024=program[_0x562109(0x34f)](),_0x3e08bb=await createTDXInstance(_0x1b6024);if(_0xda1a56[0x0]===_0x562109(0x322)){const _0x427d03=new ChatCreateCommand();gracefulExit(await _0x427d03[_0x562109(0x317)]({'options':{..._0x1b6024,..._0x1f9f54},'args':_0xda1a56[_0x562109(0x386)](0x1),'tdx':_0x3e08bb}));return;}const _0x1795d0=new ChatCommand(),_0x45bf0f=await _0x1795d0[_0x562109(0x317)]({'options':{..._0x1b6024,..._0x1f9f54},'args':_0xda1a56,'tdx':_0x3e08bb});gracefulExit(_0x45bf0f);});const apiCmd=program[a2_0x2781a5(0xee)](a2_0x2781a5(0x2a6))['summary'](a2_0x2781a5(0x318))['addHelpText'](a2_0x2781a5(0x18f),a2_0x2781a5(0x248))[a2_0x2781a5(0x106)](a2_0x2781a5(0xf2),a2_0x2781a5(0x19a),a2_0x2781a5(0x267))[a2_0x2781a5(0x106)](a2_0x2781a5(0x290),'Request\x20body\x20as\x20JSON\x20string')[a2_0x2781a5(0x106)](a2_0x2781a5(0x14a),a2_0x2781a5(0x1d7))[a2_0x2781a5(0x106)](a2_0x2781a5(0x10e),'Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x32c7b0,_0x2d0314)=>{return _0x2d0314?[..._0x2d0314,_0x32c7b0]:[_0x32c7b0];})[a2_0x2781a5(0x106)](a2_0x2781a5(0xd1),a2_0x2781a5(0x35b),'td')['action'](async(_0xb49ad6,_0x3a7f7b)=>{const _0x2f6cb5=a2_0x2781a5;if(!_0xb49ad6){apiCmd[_0x2f6cb5(0x235)]();return;}const _0x146e25=new ApiCommand(),_0x2eedba=program[_0x2f6cb5(0x34f)](),_0x5d1840=await createTDXInstance(_0x2eedba),_0x49461a=await _0x146e25[_0x2f6cb5(0x317)]({'options':{..._0x2eedba,..._0x3a7f7b},'args':[_0xb49ad6],'tdx':_0x5d1840});gracefulExit(_0x49461a);});program[a2_0x2781a5(0xee)]('mcp')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x2f4))[a2_0x2781a5(0x2c0)](a2_0x2781a5(0x18f),'\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a')['action'](async _0x43e5b8=>{const _0x3b8a85=a2_0x2781a5,_0x286030=new MCPCommand(),_0x44a025=program[_0x3b8a85(0x34f)](),_0x11c107=await createTDXInstance(_0x44a025),_0x26a441=await _0x286030[_0x3b8a85(0x317)]({'options':{..._0x44a025,..._0x43e5b8},'args':[],'tdx':_0x11c107});gracefulExit(_0x26a441);});const tableCmd=program['command'](a2_0x2781a5(0x1c9))['description']('Table\x20management\x20commands'),tableListAction=async(_0x29f540,_0xa311aa)=>{const _0x19dc85=a2_0x2781a5,_0x43799f=new TablesCommand(),_0x44baa3=program[_0x19dc85(0x34f)](),_0x4d59ba=await createTDXInstance(_0x44baa3);_0xa311aa['in']&&(_0xa311aa[_0x19dc85(0x97)]=_0xa311aa['in']);const _0x3e2484=await _0x43799f[_0x19dc85(0x317)]({'options':{..._0x44baa3,..._0xa311aa},'args':_0x29f540?[_0x29f540]:[],'tdx':_0x4d59ba});gracefulExit(_0x3e2484);};tableCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x292))['description'](a2_0x2781a5(0x326))[a2_0x2781a5(0x106)]('-d,\x20--database\x20<database>',a2_0x2781a5(0xdb))[a2_0x2781a5(0x106)]('--in\x20<database>',a2_0x2781a5(0x2db))[a2_0x2781a5(0x2d5)](tableListAction),program[a2_0x2781a5(0xee)]('tables\x20[pattern]',{'hidden':!![]})[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x209))[a2_0x2781a5(0x106)]('-d,\x20--database\x20<database>',a2_0x2781a5(0xdb))['option'](a2_0x2781a5(0x302),a2_0x2781a5(0x2db))[a2_0x2781a5(0x2d5)](tableListAction),program[a2_0x2781a5(0xee)](a2_0x2781a5(0xa9))['description'](a2_0x2781a5(0x158))['option']('-d,\x20--database\x20<database>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x2781a5(0x106)](a2_0x2781a5(0x302),a2_0x2781a5(0x2db))[a2_0x2781a5(0x2d5)](async(_0x3a2fea,_0x4a361e)=>{const _0x24a6bb=a2_0x2781a5,_0x5b6f3f=new ShowCommand(),_0x410de9=program[_0x24a6bb(0x34f)](),_0x2705d7=await createTDXInstance(_0x410de9);_0x4a361e['in']&&(_0x4a361e['database']=_0x4a361e['in']);const _0x4ef6ed=await _0x5b6f3f['run']({'options':{..._0x410de9,..._0x4a361e},'args':_0x3a2fea?[_0x3a2fea]:[],'tdx':_0x2705d7});gracefulExit(_0x4ef6ed);}),program[a2_0x2781a5(0xee)](a2_0x2781a5(0x1f6))[a2_0x2781a5(0x228)]('desc')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x2e1))[a2_0x2781a5(0x106)](a2_0x2781a5(0xda),a2_0x2781a5(0x2a0))[a2_0x2781a5(0x106)](a2_0x2781a5(0x302),a2_0x2781a5(0x2db))[a2_0x2781a5(0x2d5)](async(_0x1e717b,_0x46540a)=>{const _0x4f5928=a2_0x2781a5,_0x50b1ac=new DescribeCommand(),_0xbf7ff=program[_0x4f5928(0x34f)](),_0x2f7781=await createTDXInstance(_0xbf7ff);_0x46540a['in']&&(_0x46540a['database']=_0x46540a['in']);const _0x34dd3c=await _0x50b1ac[_0x4f5928(0x317)]({'options':{..._0xbf7ff,..._0x46540a},'args':_0x1e717b?[_0x1e717b]:[],'tdx':_0x2f7781});gracefulExit(_0x34dd3c);}),program['command'](a2_0x2781a5(0x214))['description']('Run\x20Trino\x20query\x20with\x20streaming\x20results')[a2_0x2781a5(0x106)](a2_0x2781a5(0xda),'Database\x20to\x20query\x20(default:\x20information_schema)')[a2_0x2781a5(0x106)](a2_0x2781a5(0x302),a2_0x2781a5(0x2db))[a2_0x2781a5(0x106)](a2_0x2781a5(0xff),'Trino\x20catalog\x20(default:\x20td)')[a2_0x2781a5(0x106)](a2_0x2781a5(0x14a),a2_0x2781a5(0x2d8))[a2_0x2781a5(0x106)](a2_0x2781a5(0x341),a2_0x2781a5(0x151))[a2_0x2781a5(0x2d5)](async(_0xb9a52,_0x2fbf3b)=>{const _0x520499=a2_0x2781a5,_0x250d81=new QueryCommand(),_0x2e6cb1=program[_0x520499(0x34f)](),_0x596541=await createTDXInstance(_0x2e6cb1);_0x2fbf3b['in']&&(_0x2fbf3b['database']=_0x2fbf3b['in']);const _0x2f08ba=await _0x250d81[_0x520499(0x317)]({'options':mergeCommandOptions(_0x2e6cb1,_0x2fbf3b),'args':_0xb9a52?[_0xb9a52]:[],'tdx':_0x596541});gracefulExit(_0x2f08ba);});const segmentCmd=program['command']('segment')[a2_0x2781a5(0x228)]('sg')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x255)),segmentListAction=async(_0x2cbc75,_0x1063d5)=>{const _0x27e4da=new SegmentsCommand(),_0x47c566=program['opts'](),_0xb6c18d=await createTDXInstance(_0x47c566),_0xa8763e=await _0x27e4da['run']({'options':{..._0x47c566,..._0x1063d5},'args':_0x2cbc75?[_0x2cbc75]:[],'tdx':_0xb6c18d});gracefulExit(_0xa8763e);};segmentCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x340))[a2_0x2781a5(0x1a0)]('List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context')['option'](a2_0x2781a5(0x6a),a2_0x2781a5(0x39d))[a2_0x2781a5(0x106)](a2_0x2781a5(0x2b8),a2_0x2781a5(0x194),'10')[a2_0x2781a5(0x2d5)](segmentListAction),program[a2_0x2781a5(0xee)]('segments\x20[path]',{'hidden':!![]})[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x391))[a2_0x2781a5(0x106)](a2_0x2781a5(0x6a),a2_0x2781a5(0x39d))['option'](a2_0x2781a5(0x2b8),a2_0x2781a5(0x194),'10')[a2_0x2781a5(0x2d5)](segmentListAction),segmentCmd['command']('use\x20<path>',{'hidden':!![]})['description']('[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)')['action'](async(_0x504554,_0x3449c8)=>{const _0x889114=a2_0x2781a5,_0x3569e7=new SegmentUseCommand(),_0x370601=program[_0x889114(0x34f)](),_0xd0f53d=await createTDXInstance(_0x370601),_0x2e48a7=await _0x3569e7[_0x889114(0x317)]({'options':{..._0x370601,..._0x3449c8},'args':[_0x504554],'tdx':_0xd0f53d});gracefulExit(_0x2e48a7);});const segmentViewAction=async(_0x28bf76,_0x34ce4a)=>{const _0x3860b1=a2_0x2781a5,_0x323ce=new SegmentViewCommand(),_0x3807a8=program[_0x3860b1(0x34f)](),_0x2d6774=await createTDXInstance(_0x3807a8),_0x315153=await _0x323ce[_0x3860b1(0x317)]({'options':{..._0x3807a8,..._0x34ce4a},'args':_0x28bf76?[_0x28bf76]:[],'tdx':_0x2d6774});gracefulExit(_0x315153);};function a2_0x159d(_0xdb1d83,_0x3152b3){_0xdb1d83=_0xdb1d83-0x68;const _0x290c55=a2_0x290c();let _0x159dd1=_0x290c55[_0xdb1d83];return _0x159dd1;}segmentCmd['command'](a2_0x2781a5(0x2ce))[a2_0x2781a5(0x1a0)]('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x2781a5(0x106)]('-w,\x20--web',a2_0x2781a5(0x2fd))[a2_0x2781a5(0x2d5)](segmentViewAction),segmentCmd[a2_0x2781a5(0xee)]('info\x20[segment_name]',{'hidden':!![]})[a2_0x2781a5(0x228)]('describe')['option']('-w,\x20--web',a2_0x2781a5(0x2fd))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x31b))[a2_0x2781a5(0x2d5)](segmentViewAction),segmentCmd['command'](a2_0x2781a5(0x375))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x207))[a2_0x2781a5(0x2d5)](async(_0x343ec4,_0x41b02a)=>{const _0x52b0e8=a2_0x2781a5,_0x5dcb18=new SegmentDescCommand(),_0x1d8d8c=program[_0x52b0e8(0x34f)](),_0x534f49=await createTDXInstance(_0x1d8d8c),_0x5ef3b4=await _0x5dcb18[_0x52b0e8(0x317)]({'options':{..._0x1d8d8c,..._0x41b02a},'args':_0x343ec4?[_0x343ec4]:[],'tdx':_0x534f49});gracefulExit(_0x5ef3b4);}),segmentCmd[a2_0x2781a5(0xee)]('show\x20[segment_name]')['description']('Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x2781a5(0x2d5)](async(_0x32974d,_0x191c1a)=>{const _0x54e836=a2_0x2781a5,_0x68399b=new SegmentShowCommand(),_0x33ee52=program[_0x54e836(0x34f)](),_0x5af0f3=await createTDXInstance(_0x33ee52),_0x5e1aaf=await _0x68399b['run']({'options':{..._0x33ee52,..._0x191c1a},'args':_0x32974d?[_0x32974d]:[],'tdx':_0x5af0f3});gracefulExit(_0x5e1aaf);}),segmentCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x78),{'hidden':!![]})[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x27e))[a2_0x2781a5(0x2d5)](async(_0x41abf5,_0xda14e3)=>{const _0x21455c=a2_0x2781a5,_0x1ffd3f=new SegmentFolderListCommand(),_0x51844f=program['opts'](),_0x24fd17=await createTDXInstance(_0x51844f),_0x3aaec2=await _0x1ffd3f[_0x21455c(0x317)]({'options':{..._0x51844f,..._0xda14e3},'args':[_0x41abf5],'tdx':_0x24fd17});gracefulExit(_0x3aaec2);});const folderCmd=segmentCmd[a2_0x2781a5(0xee)]('folder',{'hidden':!![]})[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x37f));folderCmd['command'](a2_0x2781a5(0x218))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x221))[a2_0x2781a5(0x2d5)](async(_0x40c51c,_0x15d4d7)=>{const _0x1ad77b=a2_0x2781a5,_0x2dccac=new SegmentFolderShowCommand(),_0x322ba2=program[_0x1ad77b(0x34f)](),_0x2adaa2=await createTDXInstance(_0x322ba2),_0x1c18e7=await _0x2dccac['run']({'options':{..._0x322ba2,..._0x15d4d7},'args':[_0x40c51c],'tdx':_0x2adaa2});gracefulExit(_0x1c18e7);}),segmentCmd['command'](a2_0x2781a5(0x149))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x203))['option'](a2_0x2781a5(0x171),'YAML\x20file\x20path\x20for\x20unpushed\x20segment')[a2_0x2781a5(0x2d5)](async(_0x3ca993,_0x865f4a)=>{const _0x287740=a2_0x2781a5,_0x39d710=new SegmentSQLCommand(),_0x32e37a=program[_0x287740(0x34f)](),_0x127d3d=await createTDXInstance(_0x32e37a),_0x1ad041=await _0x39d710[_0x287740(0x317)]({'options':{..._0x32e37a,..._0x865f4a},'args':_0x3ca993?[_0x3ca993]:[],'tdx':_0x127d3d});gracefulExit(_0x1ad041);}),segmentCmd[a2_0x2781a5(0xee)]('fields\x20[parent_name]')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x291))[a2_0x2781a5(0x2d5)](async(_0x326eb8,_0x35d1b2)=>{const _0xcdde57=a2_0x2781a5,_0x40baae=new SegmentFieldsCommand(),_0x3434e1=program['opts'](),_0x1dae8c=await createTDXInstance(_0x3434e1),_0x524c32=await _0x40baae[_0xcdde57(0x317)]({'options':{..._0x3434e1,..._0x35d1b2},'args':_0x326eb8?[_0x326eb8]:[],'tdx':_0x1dae8c});gracefulExit(_0x524c32);}),segmentCmd[a2_0x2781a5(0xee)]('pull\x20[parent_or_file]')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x9e))[a2_0x2781a5(0x106)](a2_0x2781a5(0x1f1),a2_0x2781a5(0x29a))[a2_0x2781a5(0x2d5)](async(_0x411140,_0x17c8c4)=>{const _0x1b6600=a2_0x2781a5,_0x2848cb=new SegmentPullCommand(),_0x2cc11f=program[_0x1b6600(0x34f)](),_0x33ca84=await createTDXInstance(_0x2cc11f),_0x11aed6=await _0x2848cb[_0x1b6600(0x317)]({'options':{..._0x2cc11f,..._0x17c8c4},'args':_0x411140?[_0x411140]:[],'tdx':_0x33ca84});gracefulExit(_0x11aed6);}),segmentCmd['command'](a2_0x2781a5(0x187))['description'](a2_0x2781a5(0x1fc))['option'](a2_0x2781a5(0x1f1),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x2781a5(0x106)](a2_0x2781a5(0x157),a2_0x2781a5(0xcc))[a2_0x2781a5(0x2d5)](async(_0x2b915a,_0x125e40)=>{const _0x3729df=a2_0x2781a5,_0x5d25da=new SegmentPushCommand(),_0x1bfbe8=program[_0x3729df(0x34f)](),_0x3b7a2f=await createTDXInstance(_0x1bfbe8),_0xe773fc=await _0x5d25da[_0x3729df(0x317)]({'options':{..._0x1bfbe8,..._0x125e40},'args':_0x2b915a?[_0x2b915a]:[],'tdx':_0x3b7a2f});gracefulExit(_0xe773fc);}),segmentCmd['command'](a2_0x2781a5(0x117))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x86))['action'](async(_0x170213,_0x299253)=>{const _0x5b9dd7=a2_0x2781a5,_0x3c6066=new SegmentValidateCommand(),_0x24fa3a=program[_0x5b9dd7(0x34f)](),_0x165428=await createTDXInstance(_0x24fa3a),_0x547eaa=await _0x3c6066[_0x5b9dd7(0x317)]({'options':{..._0x24fa3a,..._0x299253},'args':_0x170213?[_0x170213]:[],'tdx':_0x165428});gracefulExit(_0x547eaa);}),segmentCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x2ae),{'hidden':!![]})[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x37c))[a2_0x2781a5(0x106)](a2_0x2781a5(0x168),a2_0x2781a5(0x1c2))[a2_0x2781a5(0x106)](a2_0x2781a5(0x1a1),a2_0x2781a5(0x342))[a2_0x2781a5(0x106)](a2_0x2781a5(0x355),a2_0x2781a5(0x374))[a2_0x2781a5(0x106)](a2_0x2781a5(0x224),a2_0x2781a5(0x1ac))[a2_0x2781a5(0x106)](a2_0x2781a5(0x389),a2_0x2781a5(0x29f))[a2_0x2781a5(0x106)](a2_0x2781a5(0x144),a2_0x2781a5(0x1a5))[a2_0x2781a5(0x106)](a2_0x2781a5(0x25f),a2_0x2781a5(0x118))[a2_0x2781a5(0x2d5)](async(_0xbefff7,_0x1d938f)=>{const _0x3c46b4=a2_0x2781a5,_0x4ccd87=new SegmentCreateCommand(),_0x49c717=program[_0x3c46b4(0x34f)](),_0x594824=await createTDXInstance(_0x49c717),_0x5e7538=await _0x4ccd87['run']({'options':{..._0x49c717,..._0x1d938f},'args':[_0xbefff7],'tdx':_0x594824});gracefulExit(_0x5e7538);}),segmentCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x1b6),{'hidden':!![]})['description']('[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x2781a5(0x106)]('--name\x20<new_name>',a2_0x2781a5(0x31a))[a2_0x2781a5(0x106)](a2_0x2781a5(0x168),a2_0x2781a5(0x337))[a2_0x2781a5(0x106)]('--rule\x20<json>',a2_0x2781a5(0x8b))['option'](a2_0x2781a5(0x355),a2_0x2781a5(0xfc))[a2_0x2781a5(0x106)](a2_0x2781a5(0x224),a2_0x2781a5(0x29e))[a2_0x2781a5(0x106)](a2_0x2781a5(0x389),a2_0x2781a5(0x29f))[a2_0x2781a5(0x2d5)](async(_0x2e4f03,_0x5258cc)=>{const _0x266366=new SegmentUpdateCommand(),_0x5ecaab=program['opts'](),_0x2ef372=await createTDXInstance(_0x5ecaab),_0x626849=await _0x266366['run']({'options':{..._0x5ecaab,..._0x5258cc},'args':[_0x2e4f03],'tdx':_0x2ef372});gracefulExit(_0x626849);});const parentCmd=segmentCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x329),{'hidden':!![]})[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x129)),parentListAction=async(_0x12d80c,_0x4980cc)=>{const _0x49c0f7=a2_0x2781a5,_0x566727=new ParentSegmentListCommand(),_0x345966=program[_0x49c0f7(0x34f)](),_0x482319=await createTDXInstance(_0x345966),_0x2e6d67=await _0x566727['run']({'options':{..._0x345966,..._0x4980cc},'args':_0x12d80c?[_0x12d80c]:[],'tdx':_0x482319});gracefulExit(_0x2e6d67);};parentCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x292))['description'](a2_0x2781a5(0x2b6))['action'](parentListAction),segmentCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x13a),{'hidden':!![]})[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x2ea))[a2_0x2781a5(0x2d5)](parentListAction),parentCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x2a5))[a2_0x2781a5(0x1a0)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file')[a2_0x2781a5(0x106)](a2_0x2781a5(0xf8),a2_0x2781a5(0x15f))['action'](async(_0x382640,_0x5ea65d)=>{const _0x4f2cb0=a2_0x2781a5,_0x3edd19=new ParentSegmentPullCommand(),_0x193951=program[_0x4f2cb0(0x34f)](),_0x5183e5=await createTDXInstance(_0x193951),_0x4940b6=await _0x3edd19[_0x4f2cb0(0x317)]({'options':{..._0x193951,..._0x5ea65d},'args':_0x382640?[_0x382640]:[],'tdx':_0x5183e5});gracefulExit(_0x4940b6);}),parentCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x170))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x2de))[a2_0x2781a5(0x2d5)](async(_0x534893,_0x523f02)=>{const _0x1924e5=a2_0x2781a5,_0x3bfdbc=new ParentSegmentPushCommand(),_0x5c8b83=program[_0x1924e5(0x34f)](),_0x437e15=await createTDXInstance(_0x5c8b83),_0x32053f=await _0x3bfdbc[_0x1924e5(0x317)]({'options':{..._0x5c8b83,..._0x523f02},'args':_0x534893?[_0x534893]:[],'tdx':_0x437e15});gracefulExit(_0x32053f);}),parentCmd[a2_0x2781a5(0xee)]('validate\x20[file]')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x108))['option'](a2_0x2781a5(0x1d0),a2_0x2781a5(0x1bb))[a2_0x2781a5(0x106)](a2_0x2781a5(0x381),a2_0x2781a5(0x1ea))['option'](a2_0x2781a5(0x2d6),a2_0x2781a5(0x2b7))[a2_0x2781a5(0x106)](a2_0x2781a5(0x102),a2_0x2781a5(0x1e9))[a2_0x2781a5(0x106)](a2_0x2781a5(0x2c3),a2_0x2781a5(0x1e2),a2_0x2781a5(0x85))[a2_0x2781a5(0x2d5)](async(_0x28b7a9,_0x512717)=>{const _0x7a189a=a2_0x2781a5,_0x12f577=new ParentSegmentValidateCommand(),_0x48d183=program[_0x7a189a(0x34f)](),_0x365421=await createTDXInstance(_0x48d183),_0x13af89=await _0x12f577[_0x7a189a(0x317)]({'options':{..._0x48d183,..._0x512717},'args':_0x28b7a9?[_0x28b7a9]:[],'tdx':_0x365421});gracefulExit(_0x13af89);}),parentCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0xd3))['description'](a2_0x2781a5(0x18c))[a2_0x2781a5(0x106)](a2_0x2781a5(0x1d0),a2_0x2781a5(0x23f))[a2_0x2781a5(0x106)](a2_0x2781a5(0x381),a2_0x2781a5(0x1f9))[a2_0x2781a5(0x106)]('--behavior\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x2781a5(0x106)](a2_0x2781a5(0x102),a2_0x2781a5(0x2eb))[a2_0x2781a5(0x106)]('--interval\x20<range>',a2_0x2781a5(0x1e2),a2_0x2781a5(0x85))['action'](async(_0x2b3f25,_0x7c8290)=>{const _0x1d58e8=a2_0x2781a5,_0x3cef8d=new ParentSegmentPreviewCommand(),_0x2c6d5a=program[_0x1d58e8(0x34f)](),_0x1e4b4d=await createTDXInstance(_0x2c6d5a),_0x406546=await _0x3cef8d['run']({'options':{..._0x2c6d5a,..._0x7c8290},'args':_0x2b3f25?[_0x2b3f25]:[],'tdx':_0x1e4b4d});gracefulExit(_0x406546);}),parentCmd[a2_0x2781a5(0xee)]('run\x20[name]')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x6b))['action'](async(_0x1dc685,_0x148b03)=>{const _0x278dbb=a2_0x2781a5,_0x55cde6=new ParentSegmentRunCommand(),_0x315db9=program[_0x278dbb(0x34f)](),_0x26ffcc=await createTDXInstance(_0x315db9),_0x33d9ba=await _0x55cde6['run']({'options':{..._0x315db9,..._0x148b03},'args':_0x1dc685?[_0x1dc685]:[],'tdx':_0x26ffcc});gracefulExit(_0x33d9ba);});const parentSegmentCmd=program['command'](a2_0x2781a5(0x311))['alias']('ps')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x70));parentSegmentCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x292))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x2b6))[a2_0x2781a5(0x2d5)](parentListAction),parentSegmentCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x2a5))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x246))[a2_0x2781a5(0x106)](a2_0x2781a5(0xf8),a2_0x2781a5(0x1d4))[a2_0x2781a5(0x106)]('-u,\x20--use',a2_0x2781a5(0x8f))[a2_0x2781a5(0x2d5)](async(_0x354427,_0x5a646e)=>{const _0x43f6d0=a2_0x2781a5,_0x45c091=new ParentSegmentPullCommand(),_0x3bbd5a=program[_0x43f6d0(0x34f)](),_0x3a233f=await createTDXInstance(_0x3bbd5a),_0x4d69eb=await _0x45c091[_0x43f6d0(0x317)]({'options':{..._0x3bbd5a,..._0x5a646e},'args':_0x354427?[_0x354427]:[],'tdx':_0x3a233f});gracefulExit(_0x4d69eb);}),parentSegmentCmd[a2_0x2781a5(0xee)]('push\x20[name]')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x33a))[a2_0x2781a5(0x2d5)](async(_0x305ee3,_0x2f9477)=>{const _0x224b52=a2_0x2781a5,_0x25dc8c=new ParentSegmentPushCommand(),_0x15101f=program['opts'](),_0x49e11b=await createTDXInstance(_0x15101f),_0x6460c9=await _0x25dc8c[_0x224b52(0x317)]({'options':{..._0x15101f,..._0x2f9477},'args':_0x305ee3?[_0x305ee3]:[],'tdx':_0x49e11b});gracefulExit(_0x6460c9);}),parentSegmentCmd['command']('validate\x20[name]')[a2_0x2781a5(0x1a0)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x2781a5(0x106)](a2_0x2781a5(0x1d0),a2_0x2781a5(0x1bb))[a2_0x2781a5(0x106)](a2_0x2781a5(0x381),a2_0x2781a5(0x1ea))[a2_0x2781a5(0x106)]('--behavior\x20[name]',a2_0x2781a5(0x2b7))[a2_0x2781a5(0x106)](a2_0x2781a5(0x102),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x2781a5(0x106)](a2_0x2781a5(0x2c3),a2_0x2781a5(0x1e2),'-1d')['action'](async(_0x2000a5,_0x2b74fc)=>{const _0x5ec00e=a2_0x2781a5,_0x139d45=new ParentSegmentValidateCommand(),_0x3524c1=program[_0x5ec00e(0x34f)](),_0x454f2f=await createTDXInstance(_0x3524c1),_0x46ebf6=await _0x139d45[_0x5ec00e(0x317)]({'options':{..._0x3524c1,..._0x2b74fc},'args':_0x2000a5?[_0x2000a5]:[],'tdx':_0x454f2f});gracefulExit(_0x46ebf6);}),parentSegmentCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x2f5))[a2_0x2781a5(0x1a0)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x2781a5(0x106)](a2_0x2781a5(0x1d0),a2_0x2781a5(0x23f))['option']('--attribute\x20[name]',a2_0x2781a5(0x1f9))[a2_0x2781a5(0x106)]('--behavior\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x2781a5(0x106)](a2_0x2781a5(0x102),a2_0x2781a5(0x2eb))[a2_0x2781a5(0x106)](a2_0x2781a5(0x2c3),a2_0x2781a5(0x1e2),a2_0x2781a5(0x85))['action'](async(_0x207942,_0x183195)=>{const _0x8b1036=a2_0x2781a5,_0x2ecdef=new ParentSegmentPreviewCommand(),_0x33f704=program[_0x8b1036(0x34f)](),_0x281339=await createTDXInstance(_0x33f704),_0x5dd198=await _0x2ecdef[_0x8b1036(0x317)]({'options':{..._0x33f704,..._0x183195},'args':_0x207942?[_0x207942]:[],'tdx':_0x281339});gracefulExit(_0x5dd198);}),parentSegmentCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0xd7))['description'](a2_0x2781a5(0x6b))[a2_0x2781a5(0x2d5)](async(_0xaf7637,_0x2cbeb6)=>{const _0x116810=a2_0x2781a5,_0x2322fe=new ParentSegmentRunCommand(),_0xbfa28a=program[_0x116810(0x34f)](),_0x24bdcf=await createTDXInstance(_0xbfa28a),_0x346775=await _0x2322fe['run']({'options':{..._0xbfa28a,..._0x2cbeb6},'args':_0xaf7637?[_0xaf7637]:[],'tdx':_0x24bdcf});gracefulExit(_0x346775);}),parentSegmentCmd['command'](a2_0x2781a5(0x1c5))[a2_0x2781a5(0x1a0)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x2781a5(0x106)](a2_0x2781a5(0x2aa),'Output\x20as\x20JSON')['option'](a2_0x2781a5(0x1b7),a2_0x2781a5(0x192))['action'](async(_0x4c07ab,_0xde511c)=>{const _0x215109=a2_0x2781a5,_0x14ba65=new ParentSegmentFieldsCommand(),_0x1b6634=program[_0x215109(0x34f)](),_0x2483e=await createTDXInstance(_0x1b6634),_0x9f8008=await _0x14ba65['run']({'options':{..._0x1b6634,..._0xde511c},'args':_0x4c07ab?[_0x4c07ab]:[],'tdx':_0x2483e});gracefulExit(_0x9f8008);}),parentSegmentCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x33b))[a2_0x2781a5(0x1a0)]('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x2781a5(0x106)](a2_0x2781a5(0x2fb),a2_0x2781a5(0x2da))['option'](a2_0x2781a5(0x2aa),a2_0x2781a5(0x333))[a2_0x2781a5(0x106)]('--jsonl',a2_0x2781a5(0x192))[a2_0x2781a5(0x2d5)](async(_0x759c53,_0x414498)=>{const _0x26d057=a2_0x2781a5,_0x8ef56f=new ParentSegmentViewCommand(),_0x4a4ede=program[_0x26d057(0x34f)](),_0x417f2a=await createTDXInstance(_0x4a4ede),_0x1112c0=await _0x8ef56f[_0x26d057(0x317)]({'options':{..._0x4a4ede,..._0x414498},'args':_0x759c53?[_0x759c53]:[],'tdx':_0x417f2a});gracefulExit(_0x1112c0);}),parentSegmentCmd[a2_0x2781a5(0xee)]('desc\x20[name]')['description']('Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x2781a5(0x106)](a2_0x2781a5(0xf8),a2_0x2781a5(0x1d4))['option'](a2_0x2781a5(0x2aa),'Output\x20as\x20JSON')[a2_0x2781a5(0x106)](a2_0x2781a5(0x1b7),a2_0x2781a5(0x192))['action'](async(_0x5864fb,_0x1d9c45)=>{const _0x4669ac=a2_0x2781a5,_0x47e4c4=new ParentSegmentDescCommand(),_0xaf6c43=program[_0x4669ac(0x34f)](),_0x43d9df=await createTDXInstance(_0xaf6c43),_0x516317=await _0x47e4c4['run']({'options':{..._0xaf6c43,..._0x1d9c45},'args':_0x5864fb?[_0x5864fb]:[],'tdx':_0x43d9df});gracefulExit(_0x516317);}),parentSegmentCmd['command'](a2_0x2781a5(0x320))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x140))[a2_0x2781a5(0x106)](a2_0x2781a5(0x2aa),a2_0x2781a5(0x333))[a2_0x2781a5(0x106)](a2_0x2781a5(0x1b7),a2_0x2781a5(0x192))[a2_0x2781a5(0x2d5)](async(_0x50e34a,_0x48d650)=>{const _0x5a6927=a2_0x2781a5,_0x5591ff=new ParentSegmentSQLCommand(),_0x36b220=program[_0x5a6927(0x34f)](),_0x24f541=await createTDXInstance(_0x36b220),_0x487acc=await _0x5591ff[_0x5a6927(0x317)]({'options':{..._0x36b220,..._0x48d650},'args':_0x50e34a?[_0x50e34a]:[],'tdx':_0x24f541});gracefulExit(_0x487acc);}),parentSegmentCmd['command'](a2_0x2781a5(0x32f))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x23d))[a2_0x2781a5(0x106)](a2_0x2781a5(0x294),'Limit\x20number\x20of\x20rows')[a2_0x2781a5(0x106)](a2_0x2781a5(0x2aa),a2_0x2781a5(0x333))['option']('--jsonl',a2_0x2781a5(0x192))[a2_0x2781a5(0x2d5)](async(_0x38c6a2,_0x168697)=>{const _0x2ca024=a2_0x2781a5,_0x3624df=new ParentSegmentShowCommand(),_0x45291d=program[_0x2ca024(0x34f)](),_0xfd02fd=await createTDXInstance(_0x45291d),_0x366ae0=await _0x3624df[_0x2ca024(0x317)]({'options':{..._0x45291d,..._0x168697},'args':_0x38c6a2?[_0x38c6a2]:[],'tdx':_0xfd02fd});gracefulExit(_0x366ae0);}),parentSegmentCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x146))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x12d))[a2_0x2781a5(0x2d5)](async(_0x1386e5,_0x49370d)=>{const _0x1b8611=a2_0x2781a5,_0x1ca5eb=new UseCommand(),_0x1151ff=program[_0x1b8611(0x34f)](),_0x4b5353=_0x1386e5?[_0x1b8611(0x304),_0x1386e5]:[],_0x56fc91=await _0x1ca5eb[_0x1b8611(0x317)]({'options':{..._0x1151ff,..._0x49370d},'args':_0x4b5353,'tdx':null});gracefulExit(_0x56fc91);});const psRtCmd=parentSegmentCmd[a2_0x2781a5(0xee)]('rt')['description']('RT\x202.0\x20configuration\x20management');psRtCmd[a2_0x2781a5(0xee)]('list\x20[pattern]')[a2_0x2781a5(0x1a0)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')['action'](async(_0x34c40d,_0x2148a5)=>{const _0x27a174=a2_0x2781a5,_0x161269=new PSRtListCommand(),_0x2587ae=program[_0x27a174(0x34f)](),_0x12979a=await createTDXInstance(_0x2587ae),_0x2ff305=await _0x161269[_0x27a174(0x317)]({'options':{..._0x2587ae,..._0x2148a5},'args':_0x34c40d?[_0x34c40d]:[],'tdx':_0x12979a});gracefulExit(_0x2ff305);}),psRtCmd[a2_0x2781a5(0xee)]('validate\x20[name]')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x135))[a2_0x2781a5(0x2d5)](async(_0x2adb6c,_0xffdf7b)=>{const _0x4adbbf=a2_0x2781a5,_0x27e5e1=new PSRtValidateCommand(),_0x534607=program[_0x4adbbf(0x34f)](),_0x47ee00=await createTDXInstance(_0x534607),_0x4789be=await _0x27e5e1['run']({'options':{..._0x534607,..._0xffdf7b},'args':_0x2adb6c?[_0x2adb6c]:[],'tdx':_0x47ee00});gracefulExit(_0x4789be);}),psRtCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x32a))['description'](a2_0x2781a5(0x81))[a2_0x2781a5(0x2d5)](async(_0x2ba174,_0x3a254b)=>{const _0x10be83=a2_0x2781a5,_0x5a052d=new PSRtConfigVersionCommand(),_0x3e1800=program['opts'](),_0x6b0fbe=await createTDXInstance(_0x3e1800),_0x4f97b4=await _0x5a052d[_0x10be83(0x317)]({'options':{..._0x3e1800,..._0x3a254b},'args':_0x2ba174?[_0x2ba174]:[],'tdx':_0x6b0fbe});gracefulExit(_0x4f97b4);});const psRtJnCmd=psRtCmd[a2_0x2781a5(0xee)]('jn')['description'](a2_0x2781a5(0x30e));psRtJnCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x37e))['description'](a2_0x2781a5(0x2e0))[a2_0x2781a5(0x2d5)](async(_0x3b47f0,_0x2087df)=>{const _0x314bc0=a2_0x2781a5,_0x513c59=new PSRtJnListCommand(),_0x4a71e2=program[_0x314bc0(0x34f)](),_0x2016c3=await createTDXInstance(_0x4a71e2),_0x44c91b=await _0x513c59[_0x314bc0(0x317)]({'options':{..._0x4a71e2,..._0x2087df},'args':_0x3b47f0?[_0x3b47f0]:[],'tdx':_0x2016c3});gracefulExit(_0x44c91b);}),psRtJnCmd['command'](a2_0x2781a5(0x276))['description'](a2_0x2781a5(0x77))[a2_0x2781a5(0x2d5)](async(_0x26238c,_0x4423c9)=>{const _0xf4ed23=a2_0x2781a5,_0x236509=new PSRtJnPauseCommand(),_0xd23367=program[_0xf4ed23(0x34f)](),_0x5b08f2=await createTDXInstance(_0xd23367),_0x42060f=await _0x236509[_0xf4ed23(0x317)]({'options':{..._0xd23367,..._0x4423c9},'args':[_0x26238c],'tdx':_0x5b08f2});gracefulExit(_0x42060f);}),psRtJnCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x1b9))['description'](a2_0x2781a5(0x356))[a2_0x2781a5(0x2d5)](async(_0x442377,_0x53c9b7)=>{const _0x2d805c=a2_0x2781a5,_0x3586ea=new PSRtJnResumeCommand(),_0x2400eb=program[_0x2d805c(0x34f)](),_0x3802ce=await createTDXInstance(_0x2400eb),_0x2f3147=await _0x3586ea['run']({'options':{..._0x2400eb,..._0x53c9b7},'args':[_0x442377],'tdx':_0x3802ce});gracefulExit(_0x2f3147);});const parentRtCmd=parentCmd[a2_0x2781a5(0xee)]('rt',{'hidden':!![]})[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x138));parentRtCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x292))['description']('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0x2781a5(0x2d5)](async(_0x515793,_0x5139a3)=>{const _0x281873=a2_0x2781a5,_0x4bd285=new PSRtListCommand(),_0x542402=program[_0x281873(0x34f)](),_0x20fbcd=await createTDXInstance(_0x542402),_0x1c7634=await _0x4bd285[_0x281873(0x317)]({'options':{..._0x542402,..._0x5139a3},'args':_0x515793?[_0x515793]:[],'tdx':_0x20fbcd});gracefulExit(_0x1c7634);}),parentRtCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x19c))['description'](a2_0x2781a5(0x135))[a2_0x2781a5(0x2d5)](async(_0x5ac10a,_0x76a3be)=>{const _0x23fd82=a2_0x2781a5,_0x51e0c5=new PSRtValidateCommand(),_0x2ac1be=program[_0x23fd82(0x34f)](),_0x23e1f5=await createTDXInstance(_0x2ac1be),_0x16d2ea=await _0x51e0c5[_0x23fd82(0x317)]({'options':{..._0x2ac1be,..._0x76a3be},'args':_0x5ac10a?[_0x5ac10a]:[],'tdx':_0x23e1f5});gracefulExit(_0x16d2ea);});const psPzCmd=parentSegmentCmd[a2_0x2781a5(0xee)]('pz')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x14d));psPzCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x37e))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x6e))[a2_0x2781a5(0x2d5)](async(_0x4c30cb,_0x3a40bc)=>{const _0x4208d1=a2_0x2781a5,_0x40cc62=new PSPzListCommand(),_0x4ae18d=program[_0x4208d1(0x34f)](),_0x6941c3=await createTDXInstance(_0x4ae18d),_0x3c2498=await _0x40cc62[_0x4208d1(0x317)]({'options':{..._0x4ae18d,..._0x3a40bc},'args':_0x4c30cb?[_0x4c30cb]:[],'tdx':_0x6941c3});gracefulExit(_0x3c2498);}),psPzCmd['command'](a2_0x2781a5(0x243))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x92))[a2_0x2781a5(0x2d5)](async(_0xc456be,_0x203540)=>{const _0x11968b=a2_0x2781a5,_0x2199f0=new PSPzShowCommand(),_0x2f1e45=program[_0x11968b(0x34f)](),_0x290615=await createTDXInstance(_0x2f1e45),_0x197b11=await _0x2199f0[_0x11968b(0x317)]({'options':{..._0x2f1e45,..._0x203540},'args':[_0xc456be],'tdx':_0x290615});gracefulExit(_0x197b11);}),psPzCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x33d))['description']('Delete\x20a\x20realtime\x20personalization')['action'](async(_0x5e38f3,_0x54f9af)=>{const _0x2d46a4=a2_0x2781a5,_0x415be3=new PSPzDeleteCommand(),_0x1841d9=program[_0x2d46a4(0x34f)](),_0x5706d8=await createTDXInstance(_0x1841d9),_0x376dd1=await _0x415be3[_0x2d46a4(0x317)]({'options':{..._0x1841d9,..._0x54f9af},'args':[_0x5e38f3],'tdx':_0x5706d8});gracefulExit(_0x376dd1);}),psPzCmd['command']('create')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x1d3))[a2_0x2781a5(0x106)](a2_0x2781a5(0x219),a2_0x2781a5(0x1e3))['option'](a2_0x2781a5(0x168),'Personalization\x20description')[a2_0x2781a5(0x106)](a2_0x2781a5(0x1d9),a2_0x2781a5(0x19b))[a2_0x2781a5(0x106)](a2_0x2781a5(0xb9),'Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)')[a2_0x2781a5(0x106)](a2_0x2781a5(0x154),a2_0x2781a5(0xca))[a2_0x2781a5(0x106)](a2_0x2781a5(0x379),a2_0x2781a5(0x180))[a2_0x2781a5(0x2d5)](async _0x5502ad=>{const _0x15745f=a2_0x2781a5,_0x368829=new PSPzCreateCommand(),_0x38a6c4=program['opts'](),_0xe21906=await createTDXInstance(_0x38a6c4),_0x3ae1ee=await _0x368829[_0x15745f(0x317)]({'options':{..._0x38a6c4,..._0x5502ad},'args':[],'tdx':_0xe21906});gracefulExit(_0x3ae1ee);}),psPzCmd['command']('patch\x20<personalization_id>')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x380))[a2_0x2781a5(0x106)](a2_0x2781a5(0x219),a2_0x2781a5(0x1e3))['option'](a2_0x2781a5(0x168),a2_0x2781a5(0x382))[a2_0x2781a5(0x106)](a2_0x2781a5(0x154),a2_0x2781a5(0xca))[a2_0x2781a5(0x106)](a2_0x2781a5(0x379),'Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)')[a2_0x2781a5(0x2d5)](async(_0x1e4271,_0xe5ee45)=>{const _0x498c56=a2_0x2781a5,_0x1230c3=new PSPzPatchCommand(),_0x533592=program[_0x498c56(0x34f)](),_0x4a7e08=await createTDXInstance(_0x533592),_0x2889e1=await _0x1230c3['run']({'options':{..._0x533592,..._0xe5ee45},'args':[_0x1e4271],'tdx':_0x4a7e08});gracefulExit(_0x2889e1);});const psPzServiceCmd=psPzCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x343))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x39f));psPzServiceCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x37e))[a2_0x2781a5(0x1a0)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x2781a5(0x2d5)](async(_0xf97568,_0x2e9b54)=>{const _0x4802d2=new PSPzServiceListCommand(),_0x7683cc=program['opts'](),_0x1d001d=await createTDXInstance(_0x7683cc),_0x235e14=await _0x4802d2['run']({'options':{..._0x7683cc,..._0x2e9b54},'args':_0xf97568?[_0xf97568]:[],'tdx':_0x1d001d});gracefulExit(_0x235e14);}),psPzServiceCmd['command'](a2_0x2781a5(0x89))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x2a8))[a2_0x2781a5(0x106)](a2_0x2781a5(0x168),a2_0x2781a5(0x1f4))['option'](a2_0x2781a5(0x1ad),'Make\x20service\x20public\x20(default:\x20private)')['action'](async(_0x450a89,_0x435ff6,_0x33602c)=>{const _0xa00719=a2_0x2781a5,_0x2a3f04=new PSPzServiceCreateCommand(),_0x299c75=program['opts'](),_0x15ebf7=await createTDXInstance(_0x299c75),_0x123471=await _0x2a3f04[_0xa00719(0x317)]({'options':{..._0x299c75,..._0x33602c},'args':_0x435ff6?[_0x450a89,_0x435ff6]:[_0x450a89],'tdx':_0x15ebf7});gracefulExit(_0x123471);}),psPzServiceCmd[a2_0x2781a5(0xee)]('show\x20<service_id>\x20[parent_segment]')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x303))['action'](async(_0x3c2d71,_0x40faf3,_0x3ae813)=>{const _0x104cab=a2_0x2781a5,_0x3c67e2=new PSPzServiceShowCommand(),_0x393afe=program['opts'](),_0x544485=await createTDXInstance(_0x393afe),_0x1facf8=await _0x3c67e2[_0x104cab(0x317)]({'options':{..._0x393afe,..._0x3ae813},'args':_0x40faf3?[_0x3c2d71,_0x40faf3]:[_0x3c2d71],'tdx':_0x544485});gracefulExit(_0x1facf8);}),psPzServiceCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x2f2))['description'](a2_0x2781a5(0x213))[a2_0x2781a5(0x2d5)](async(_0x5981cb,_0x270dff,_0x4a34dd)=>{const _0x24e4ed=a2_0x2781a5,_0x5bb52a=new PSPzServiceDeleteCommand(),_0x267eec=program[_0x24e4ed(0x34f)](),_0x579d54=await createTDXInstance(_0x267eec),_0x51669b=await _0x5bb52a[_0x24e4ed(0x317)]({'options':{..._0x267eec,..._0x4a34dd},'args':_0x270dff?[_0x5981cb,_0x270dff]:[_0x5981cb],'tdx':_0x579d54});gracefulExit(_0x51669b);}),psPzServiceCmd['command'](a2_0x2781a5(0x11d))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x393))[a2_0x2781a5(0xcd)](a2_0x2781a5(0x2c2),'New\x20service\x20name')[a2_0x2781a5(0x106)]('--description\x20<text>',a2_0x2781a5(0x7e))['action'](async(_0x225764,_0xb481f9,_0x2df2c3)=>{const _0xcdd326=a2_0x2781a5,_0x14a6a5=new PSPzServiceUpdateCommand(),_0x260402=program[_0xcdd326(0x34f)](),_0x43a337=await createTDXInstance(_0x260402),_0x455e59=await _0x14a6a5[_0xcdd326(0x317)]({'options':{..._0x260402,..._0x2df2c3},'args':_0xb481f9?[_0x225764,_0xb481f9]:[_0x225764],'tdx':_0x43a337});gracefulExit(_0x455e59);}),psPzServiceCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0xed))[a2_0x2781a5(0x1a0)]('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x85de2b,_0x26ac20)=>{const _0x11f721=a2_0x2781a5,_0x3a2969=new PSPzInitCommand(),_0x2bf2db=program[_0x11f721(0x34f)](),_0x373b0e=await createTDXInstance(_0x2bf2db),_0x4d4efe=await _0x3a2969[_0x11f721(0x317)]({'options':{..._0x2bf2db,..._0x26ac20},'args':_0x85de2b?[_0x85de2b]:[],'tdx':_0x373b0e});gracefulExit(_0x4d4efe);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x2ef))['description']('Personalization\x20service\x20token\x20management');psPzServiceTokenCmd['command']('create\x20<name>\x20<service_id>\x20[parent_segment]')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x2a3))[a2_0x2781a5(0x106)](a2_0x2781a5(0x17d),a2_0x2781a5(0x38d))[a2_0x2781a5(0x106)](a2_0x2781a5(0x168),a2_0x2781a5(0x319))[a2_0x2781a5(0x2d5)](async(_0x5e608f,_0x3a24ca,_0x4fe780,_0x5222e3)=>{const _0x14b8f0=a2_0x2781a5,_0xbe2634=new PSPzServiceTokenCreateCommand(),_0x3a1a9a=program[_0x14b8f0(0x34f)](),_0x4f936b=await createTDXInstance(_0x3a1a9a),_0x185d45=await _0xbe2634[_0x14b8f0(0x317)]({'options':{..._0x3a1a9a,..._0x5222e3},'args':_0x4fe780?[_0x5e608f,_0x3a24ca,_0x4fe780]:[_0x5e608f,_0x3a24ca],'tdx':_0x4f936b});gracefulExit(_0x185d45);}),psPzServiceTokenCmd[a2_0x2781a5(0xee)]('delete\x20<token_id>\x20[parent_segment]')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0xa1))[a2_0x2781a5(0x2d5)](async(_0x2d7ff2,_0x4c2edb,_0x5c98ea)=>{const _0x9f9c18=a2_0x2781a5,_0x1c4a60=new PSPzServiceTokenDeleteCommand(),_0x400fd9=program[_0x9f9c18(0x34f)](),_0x2c22d5=await createTDXInstance(_0x400fd9),_0x321600=await _0x1c4a60['run']({'options':{..._0x400fd9,..._0x5c98ea},'args':_0x4c2edb?[_0x2d7ff2,_0x4c2edb]:[_0x2d7ff2],'tdx':_0x2c22d5});gracefulExit(_0x321600);}),parentCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x195))[a2_0x2781a5(0x1a0)]('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x2781a5(0xcd)](a2_0x2781a5(0x233),'Master\x20database\x20name')[a2_0x2781a5(0xcd)](a2_0x2781a5(0x11b),'Master\x20table\x20name')[a2_0x2781a5(0x106)](a2_0x2781a5(0x168),a2_0x2781a5(0x1b5))[a2_0x2781a5(0x106)](a2_0x2781a5(0x1e7),a2_0x2781a5(0x76))['option'](a2_0x2781a5(0x1a7),'Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)')[a2_0x2781a5(0x106)](a2_0x2781a5(0xb8),a2_0x2781a5(0x38b))['option']('--attributes\x20<json>',a2_0x2781a5(0x161))['option'](a2_0x2781a5(0x33c),a2_0x2781a5(0x20f))[a2_0x2781a5(0x106)](a2_0x2781a5(0x127),a2_0x2781a5(0x39c))[a2_0x2781a5(0x106)](a2_0x2781a5(0x332),a2_0x2781a5(0x2e9))['option'](a2_0x2781a5(0x93),a2_0x2781a5(0x147))[a2_0x2781a5(0x106)]('--customer-group-file\x20<file>','Customer\x20group\x20from\x20JSON\x20file')[a2_0x2781a5(0x2d5)](async(_0xafad46,_0x391a63)=>{const _0x5e79fb=a2_0x2781a5,_0x5a0d37=new ParentSegmentCreateCommand(),_0x30bc3c=program[_0x5e79fb(0x34f)](),_0x4b0a38=await createTDXInstance(_0x30bc3c),_0x1e5c22=await _0x5a0d37[_0x5e79fb(0x317)]({'options':{..._0x30bc3c,..._0x391a63},'args':[_0xafad46],'tdx':_0x4b0a38});gracefulExit(_0x1e5c22);}),parentCmd[a2_0x2781a5(0xee)]('update\x20<name>')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x39b))[a2_0x2781a5(0x106)](a2_0x2781a5(0x168),a2_0x2781a5(0x337))[a2_0x2781a5(0x106)](a2_0x2781a5(0x1e7),'Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x2781a5(0x106)](a2_0x2781a5(0x1a7),a2_0x2781a5(0x28f))[a2_0x2781a5(0x106)](a2_0x2781a5(0xb8),a2_0x2781a5(0x162))['option'](a2_0x2781a5(0x14c),a2_0x2781a5(0x324))[a2_0x2781a5(0x106)](a2_0x2781a5(0x1db),a2_0x2781a5(0x103))[a2_0x2781a5(0x106)]('--add-behaviors\x20<json>','Add\x20behaviors\x20as\x20JSON\x20string')[a2_0x2781a5(0x106)](a2_0x2781a5(0x1bd),a2_0x2781a5(0x71))[a2_0x2781a5(0x2d5)](async(_0x314b66,_0xae2f0f)=>{const _0x414eac=a2_0x2781a5,_0x3df67b=new ParentSegmentUpdateCommand(),_0x2f3b36=program[_0x414eac(0x34f)](),_0x4125a2=await createTDXInstance(_0x2f3b36),_0x4ba252=await _0x3df67b[_0x414eac(0x317)]({'options':{..._0x2f3b36,..._0xae2f0f},'args':[_0x314b66],'tdx':_0x4125a2});gracefulExit(_0x4ba252);}),folderCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x1b8))['description'](a2_0x2781a5(0x107))['option'](a2_0x2781a5(0x168),'Folder\x20description')[a2_0x2781a5(0x106)]('--parent-folder\x20<name>','Parent\x20folder\x20name\x20for\x20nested\x20folders')['action'](async(_0xdc0741,_0x17d39f,_0x345f84)=>{const _0x1262c9=a2_0x2781a5,_0x191bbe=new SegmentFolderCreateCommand(),_0x385469=program[_0x1262c9(0x34f)](),_0x1cc9a6=await createTDXInstance(_0x385469),_0x561c75=await _0x191bbe[_0x1262c9(0x317)]({'options':{..._0x385469,..._0x345f84},'args':[_0xdc0741,_0x17d39f],'tdx':_0x1cc9a6});gracefulExit(_0x561c75);}),program[a2_0x2781a5(0xee)](a2_0x2781a5(0xb4))['description'](a2_0x2781a5(0x136))[a2_0x2781a5(0x2d5)](async(_0x24b4f2,_0x3be79e)=>{const _0x2c7b5f=a2_0x2781a5,_0x1a0384=new ActivationsCommand(),_0x4ac091=program[_0x2c7b5f(0x34f)](),_0x1fcdc6=await createTDXInstance(_0x4ac091),_0x19fa38=await _0x1a0384[_0x2c7b5f(0x317)]({'options':{..._0x4ac091,..._0x3be79e},'args':[_0x24b4f2],'tdx':_0x1fcdc6});gracefulExit(_0x19fa38);});const workflowCmd=program[a2_0x2781a5(0xee)](a2_0x2781a5(0x225))[a2_0x2781a5(0x228)]('wf')['description'](a2_0x2781a5(0x2f8)),wfProjectCmd=workflowCmd[a2_0x2781a5(0xee)]('project')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x156)),wfProjectListAction=async(_0x2d0bfe,_0x21a8a4)=>{const _0x2db375=a2_0x2781a5,_0x2fce22=new WorkflowProjectsCommand(),_0x5ecf36=program[_0x2db375(0x34f)](),_0x2f70df=await createTDXInstance(_0x5ecf36),_0x198bd4=await _0x2fce22[_0x2db375(0x317)]({'options':{..._0x5ecf36,..._0x21a8a4},'args':_0x2d0bfe?[_0x2d0bfe]:[],'tdx':_0x2f70df});gracefulExit(_0x198bd4);};wfProjectCmd['command'](a2_0x2781a5(0x292))['description'](a2_0x2781a5(0x7d))[a2_0x2781a5(0x2d5)](wfProjectListAction),workflowCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x1aa))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x36e))[a2_0x2781a5(0x2d5)](wfProjectListAction);const wfWorkflowListAction=async(_0x363992,_0x325aef)=>{const _0x1a163d=a2_0x2781a5,_0xa599d5=new WorkflowWorkflowsCommand(),_0x3a49d2=program['opts'](),_0xacdda8=await createTDXInstance(_0x3a49d2),_0x41aaaf=await _0xa599d5[_0x1a163d(0x317)]({'options':{..._0x3a49d2,..._0x325aef},'args':_0x363992?[_0x363992]:[],'tdx':_0xacdda8});gracefulExit(_0x41aaaf);};workflowCmd['command'](a2_0x2781a5(0x155))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x133))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x30a))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0xc2)),wfSessionListAction=async(_0x2e1ef4,_0x281b96)=>{const _0x29f9f2=a2_0x2781a5,_0x463ca4=new WorkflowSessionsCommand(),_0x1422ce=program[_0x29f9f2(0x34f)](),_0x299c56=await createTDXInstance(_0x1422ce),_0x2ee813=await _0x463ca4['run']({'options':{..._0x1422ce,..._0x281b96},'args':_0x2e1ef4?[_0x2e1ef4]:[],'tdx':_0x299c56});gracefulExit(_0x2ee813);};wfSessionCmd[a2_0x2781a5(0xee)]('list\x20[project]')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x38a))['option'](a2_0x2781a5(0x36d),a2_0x2781a5(0x175))[a2_0x2781a5(0x106)](a2_0x2781a5(0x15c),a2_0x2781a5(0x20a))[a2_0x2781a5(0x106)](a2_0x2781a5(0xf3),a2_0x2781a5(0xd8))[a2_0x2781a5(0x2d5)](wfSessionListAction),workflowCmd['command'](a2_0x2781a5(0x10d))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x182))[a2_0x2781a5(0x106)]('--status\x20<status>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x2781a5(0x106)](a2_0x2781a5(0x15c),a2_0x2781a5(0x20a))[a2_0x2781a5(0x106)](a2_0x2781a5(0xf3),a2_0x2781a5(0xd8))['action'](wfSessionListAction);const wfAttemptListAction=async(_0x39d1ee,_0x4acb0f)=>{const _0x1e609c=new WorkflowAttemptsCommand(),_0xdc6c58=program['opts'](),_0x35fac2=await createTDXInstance(_0xdc6c58),_0x13ebd5=await _0x1e609c['run']({'options':{..._0xdc6c58,..._0x4acb0f},'args':_0x39d1ee?[_0x39d1ee]:[],'tdx':_0x35fac2});gracefulExit(_0x13ebd5);},attemptCmd=workflowCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x12b))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x293))['argument'](a2_0x2781a5(0x15e),'Attempt\x20ID')[a2_0x2781a5(0x16f)](a2_0x2781a5(0xaf),a2_0x2781a5(0x28b))[a2_0x2781a5(0x16f)](a2_0x2781a5(0x17b),a2_0x2781a5(0x164))['option'](a2_0x2781a5(0x181),a2_0x2781a5(0x273))[a2_0x2781a5(0x106)]('--reason\x20<text>',a2_0x2781a5(0x112))[a2_0x2781a5(0x106)]('--resume-from\x20<task>',a2_0x2781a5(0x20c))['option'](a2_0x2781a5(0x32c),a2_0x2781a5(0x188))[a2_0x2781a5(0x106)](a2_0x2781a5(0x148),'Force\x20retry\x20even\x20if\x20not\x20failed')[a2_0x2781a5(0x106)](a2_0x2781a5(0xdd),a2_0x2781a5(0x142))[a2_0x2781a5(0x2d5)](async(_0x3a39e6,_0x5418fe,_0x3c5e60,_0x53f7b2)=>{const _0x26094a=a2_0x2781a5;if(_0x3a39e6==='list'){await wfAttemptListAction(_0x5418fe,_0x53f7b2);return;}if(!_0x3a39e6){attemptCmd['help']();return;}const _0x1880b3=program['opts'](),_0x321a09=await createTDXInstance(_0x1880b3);let _0x198050=0x0;if(!_0x5418fe){const _0x677d6f=new WorkflowAttemptCommand();_0x198050=await _0x677d6f['run']({'options':{..._0x1880b3,..._0x53f7b2},'args':[_0x3a39e6],'tdx':_0x321a09});}else{if(_0x5418fe===_0x26094a(0x270)){const _0xd10ab0=new WorkflowLogsCommand();_0x198050=await _0xd10ab0[_0x26094a(0x317)]({'options':{..._0x1880b3,..._0x53f7b2},'args':_0x3c5e60?[_0x3a39e6,_0x3c5e60]:[_0x3a39e6],'tdx':_0x321a09});}else{if(_0x5418fe===_0x26094a(0x21c)){const _0x53a4b9=new WorkflowTasksCommand();_0x198050=await _0x53a4b9[_0x26094a(0x317)]({'options':{..._0x1880b3,..._0x53f7b2},'args':[_0x3a39e6],'tdx':_0x321a09});}else{if(_0x5418fe==='kill'){const _0x5c3325=new WorkflowKillCommand();_0x198050=await _0x5c3325[_0x26094a(0x317)]({'options':{..._0x1880b3,..._0x53f7b2},'args':[_0x3a39e6],'tdx':_0x321a09});}else{if(_0x5418fe===_0x26094a(0x295)){const _0x46847c=new WorkflowRetryCommand();_0x198050=await _0x46847c[_0x26094a(0x317)]({'options':{..._0x1880b3,..._0x53f7b2},'args':[_0x26094a(0x35d)+_0x3a39e6],'tdx':_0x321a09});}else console['error']('Unknown\x20action:\x20'+_0x5418fe),console[_0x26094a(0x299)](_0x26094a(0x137)),_0x198050=0x1;}}}}gracefulExit(_0x198050);});attemptCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x21b))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x33f))[a2_0x2781a5(0x106)]('--include-retried','Include\x20retried\x20attempts')['action'](wfAttemptListAction),workflowCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x7f))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x24c))[a2_0x2781a5(0x106)](a2_0x2781a5(0xdd),a2_0x2781a5(0x27c))[a2_0x2781a5(0x2d5)](wfAttemptListAction),workflowCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x2b9))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x1ff))[a2_0x2781a5(0x106)]('--follow',a2_0x2781a5(0x2c6))['option'](a2_0x2781a5(0x316),a2_0x2781a5(0x260))[a2_0x2781a5(0x106)](a2_0x2781a5(0x2ab),a2_0x2781a5(0x1d5))[a2_0x2781a5(0x2d5)](async(_0xe41547,_0x555dd6)=>{const _0x3fb588=a2_0x2781a5,_0x2c61a5=new WorkflowTimelineCommand(),_0x3b7d65=program[_0x3fb588(0x34f)](),_0x3990bd=await createTDXInstance(_0x3b7d65),_0x5c5702=await _0x2c61a5[_0x3fb588(0x317)]({'options':{..._0x3b7d65,..._0x555dd6},'args':_0xe41547?[_0xe41547]:[],'tdx':_0x3990bd});gracefulExit(_0x5c5702);}),workflowCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0xec))['description'](a2_0x2781a5(0x297))[a2_0x2781a5(0x106)](a2_0x2781a5(0x365),a2_0x2781a5(0xbc))[a2_0x2781a5(0x106)](a2_0x2781a5(0x32c),'Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')['action'](async(_0x4ce677,_0x9abdc6)=>{const _0x595bc7=a2_0x2781a5,_0x289637=new WorkflowRetryCommand(),_0x11eefc=program[_0x595bc7(0x34f)](),_0x2db17e=await createTDXInstance(_0x11eefc),_0x3a9744=await _0x289637[_0x595bc7(0x317)]({'options':{..._0x11eefc,..._0x9abdc6},'args':[_0x4ce677],'tdx':_0x2db17e});gracefulExit(_0x3a9744);}),workflowCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x9b))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x206))[a2_0x2781a5(0x106)](a2_0x2781a5(0x177),a2_0x2781a5(0x2a4),(_0x4e4fe7,_0x2ba522=[])=>[..._0x2ba522,_0x4e4fe7],[])[a2_0x2781a5(0x106)](a2_0x2781a5(0x376),a2_0x2781a5(0x39e))[a2_0x2781a5(0x2d5)](async(_0x58dded,_0x18f54c)=>{const _0x47ae02=a2_0x2781a5,_0x1d8bcf=new WorkflowRunCommand(),_0x5a4aff=program[_0x47ae02(0x34f)](),_0x39b950=await createTDXInstance(_0x5a4aff),_0x356de9=await _0x1d8bcf[_0x47ae02(0x317)]({'options':{..._0x5a4aff,..._0x18f54c},'args':_0x58dded?[_0x58dded]:[],'tdx':_0x39b950});gracefulExit(_0x356de9);}),workflowCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x6f))['description'](a2_0x2781a5(0x250))[a2_0x2781a5(0x106)](a2_0x2781a5(0x1f8),a2_0x2781a5(0x14b))[a2_0x2781a5(0x2d5)](async(_0x1e5e6a,_0x513bfd,_0x51346e)=>{const _0x2e54db=new WorkflowDownloadCommand(),_0x410e00=program['opts'](),_0x3c1676=await createTDXInstance(_0x410e00),_0x2ef253=await _0x2e54db['run']({'options':{..._0x410e00,..._0x51346e},'args':[_0x1e5e6a,_0x513bfd||'.'],'tdx':_0x3c1676});gracefulExit(_0x2ef253);}),workflowCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0xaa))[a2_0x2781a5(0x1a0)]('Pull\x20workflow\x20project\x20to\x20local\x20folder')[a2_0x2781a5(0x106)](a2_0x2781a5(0x1f8),'Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0x2781a5(0x106)]('--dry-run','Preview\x20changes\x20without\x20writing\x20files')['action'](async(_0x52aa1c,_0x4b3654,_0x20eb79)=>{const _0x80b28a=a2_0x2781a5,_0x462c83=new WorkflowPullCommand(),_0x544722=program[_0x80b28a(0x34f)](),_0x1cce47=await createTDXInstance(_0x544722),_0x35cc6f=await _0x462c83[_0x80b28a(0x317)]({'options':{..._0x544722,..._0x20eb79},'args':_0x4b3654?[_0x52aa1c,_0x4b3654]:[_0x52aa1c],'tdx':_0x1cce47});gracefulExit(_0x35cc6f);}),workflowCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x300))['description'](a2_0x2781a5(0x1e1))[a2_0x2781a5(0x106)](a2_0x2781a5(0x1f8),a2_0x2781a5(0x1ce))['option'](a2_0x2781a5(0x1f1),a2_0x2781a5(0x23b))['option'](a2_0x2781a5(0x2d3),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x2781a5(0x2d5)](async(_0x50c65b,_0x31823a)=>{const _0x3e0b0f=a2_0x2781a5,_0x38ef69=new WorkflowPushCommand(),_0x26f973=program[_0x3e0b0f(0x34f)](),_0xa29e09=await createTDXInstance(_0x26f973),_0x106a6d=await _0x38ef69[_0x3e0b0f(0x317)]({'options':{..._0x26f973,..._0x31823a},'args':_0x50c65b?[_0x50c65b]:[],'tdx':_0xa29e09});gracefulExit(_0x106a6d);}),workflowCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x82))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x36c))[a2_0x2781a5(0x106)](a2_0x2781a5(0x2c2),'Override\x20project\x20name')[a2_0x2781a5(0x106)](a2_0x2781a5(0x1f8),'Revision\x20name\x20(default:\x20timestamp)')['option'](a2_0x2781a5(0x2d3),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x2781a5(0x2d5)](async(_0x54e249,_0x54f1c2)=>{const _0x28d7f0=a2_0x2781a5,_0x1b8bd6=new WorkflowUploadCommand(),_0x2d080c=program[_0x28d7f0(0x34f)](),_0x1666f4=await createTDXInstance(_0x2d080c),_0x46e454=await _0x1b8bd6[_0x28d7f0(0x317)]({'options':{..._0x2d080c,..._0x54f1c2},'args':_0x54e249?[_0x54e249]:[],'tdx':_0x1666f4});gracefulExit(_0x46e454);}),workflowCmd[a2_0x2781a5(0xee)]('clone\x20[source-dir]')[a2_0x2781a5(0x1a0)]('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')[a2_0x2781a5(0x106)]('--name\x20<name>',a2_0x2781a5(0x32b))[a2_0x2781a5(0x106)](a2_0x2781a5(0x1f8),a2_0x2781a5(0x1ce))[a2_0x2781a5(0x106)](a2_0x2781a5(0x1f1),a2_0x2781a5(0x94))['option'](a2_0x2781a5(0x2d3),a2_0x2781a5(0x339))['action'](async(_0x147569,_0x3aa3dd)=>{const _0x3a8013=a2_0x2781a5,_0x2585c1=new WorkflowCloneCommand(),_0x4bed50=program[_0x3a8013(0x34f)](),_0x5567da=await createTDXInstance(_0x4bed50),_0x6c2b69=await _0x2585c1[_0x3a8013(0x317)]({'options':{..._0x4bed50,..._0x3aa3dd},'args':_0x147569?[_0x147569]:[],'tdx':_0x5567da});gracefulExit(_0x6c2b69);}),workflowCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x2a9))['description'](a2_0x2781a5(0x26c))['action'](async(_0x4c054f,_0x2bc618)=>{const _0x4920cb=a2_0x2781a5,_0x5e50e2=new WorkflowDeleteCommand(),_0x87efb8=program[_0x4920cb(0x34f)](),_0x3c389d=await createTDXInstance(_0x87efb8),_0x1219d0=await _0x5e50e2[_0x4920cb(0x317)]({'options':{..._0x87efb8,..._0x2bc618},'args':[_0x4c054f],'tdx':_0x3c389d});gracefulExit(_0x1219d0);}),workflowCmd['command'](a2_0x2781a5(0x32e))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x13b))[a2_0x2781a5(0x106)](a2_0x2781a5(0x185),a2_0x2781a5(0xc5))[a2_0x2781a5(0x2d5)](async(_0x242bfd,_0x316729)=>{const _0x4e25b5=a2_0x2781a5,_0x2682a8=new WorkflowUseCommand(),_0x1b22d0=program['opts'](),_0x1eedf0=await createTDXInstance(_0x1b22d0),_0x307891=await _0x2682a8[_0x4e25b5(0x317)]({'options':{..._0x1b22d0,..._0x316729},'args':_0x242bfd?[_0x242bfd]:[],'tdx':_0x1eedf0});gracefulExit(_0x307891);});const wfSecretsCmd=workflowCmd['command'](a2_0x2781a5(0xc1))[a2_0x2781a5(0x1a0)]('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x2781a5(0xee)]('list\x20[project]')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x1f2))['action'](async(_0x592ae4,_0x8c7196)=>{const _0x3f3498=a2_0x2781a5,_0x27495d=new WorkflowSecretsListCommand(),_0x16db84=program[_0x3f3498(0x34f)](),_0x1deb9d=await createTDXInstance(_0x16db84),_0x44678e=await _0x27495d['run']({'options':{..._0x16db84,..._0x8c7196},'args':_0x592ae4?[_0x592ae4]:[],'tdx':_0x1deb9d});gracefulExit(_0x44678e);}),wfSecretsCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x265))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x310))[a2_0x2781a5(0x2d5)](async(_0x49fd5f,_0x47f62b)=>{const _0x2b7a93=a2_0x2781a5,_0x1ad797=new WorkflowSecretsSetCommand(),_0x225b75=program[_0x2b7a93(0x34f)](),_0x56002b=await createTDXInstance(_0x225b75),_0x3f961c=await _0x1ad797[_0x2b7a93(0x317)]({'options':{..._0x225b75,..._0x47f62b},'args':_0x49fd5f,'tdx':_0x56002b});gracefulExit(_0x3f961c);}),wfSecretsCmd['command'](a2_0x2781a5(0x165))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x74))[a2_0x2781a5(0x2d5)](async(_0x2d8fc6,_0x15f833)=>{const _0x4b835e=a2_0x2781a5,_0x4b7cee=new WorkflowSecretsDeleteCommand(),_0x8121dd=program[_0x4b835e(0x34f)](),_0x5f562c=await createTDXInstance(_0x8121dd),_0x243825=await _0x4b7cee[_0x4b835e(0x317)]({'options':{..._0x8121dd,..._0x15f833},'args':_0x2d8fc6,'tdx':_0x5f562c});gracefulExit(_0x243825);});const wfScheduleCmd=workflowCmd[a2_0x2781a5(0xee)]('schedule')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0xf9));wfScheduleCmd['command'](a2_0x2781a5(0x2d0))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0xc3))[a2_0x2781a5(0x2d5)](async(_0x8e9425,_0x4726d8)=>{const _0x1ad1ae=a2_0x2781a5,_0xea2c7b=new WorkflowScheduleEnableCommand(),_0x39e21f=program['opts'](),_0x217d03=await createTDXInstance(_0x39e21f),_0x5a3067=await _0xea2c7b[_0x1ad1ae(0x317)]({'options':{..._0x39e21f,..._0x4726d8},'args':[_0x8e9425],'tdx':_0x217d03});gracefulExit(_0x5a3067);}),wfScheduleCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x307))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x25c))[a2_0x2781a5(0x2d5)](async(_0x576d26,_0x2a9f34)=>{const _0x2fca7f=a2_0x2781a5,_0x3c8d05=new WorkflowScheduleDisableCommand(),_0x420450=program[_0x2fca7f(0x34f)](),_0x224761=await createTDXInstance(_0x420450),_0x45410f=await _0x3c8d05[_0x2fca7f(0x317)]({'options':{..._0x420450,..._0x2a9f34},'args':[_0x576d26],'tdx':_0x224761});gracefulExit(_0x45410f);}),workflowCmd[a2_0x2781a5(0xee)]('schedules')['description'](a2_0x2781a5(0x2be))[a2_0x2781a5(0x2d5)](async _0x5ef665=>{const _0x4c9935=a2_0x2781a5,_0x2e13a1=new WorkflowSchedulesCommand(),_0x46dca4=program[_0x4c9935(0x34f)](),_0x49aeda=await createTDXInstance(_0x46dca4),_0x4af8a4=await _0x2e13a1[_0x4c9935(0x317)]({'options':{..._0x46dca4,..._0x5ef665},'args':[],'tdx':_0x49aeda});gracefulExit(_0x4af8a4);});const jobCmd=program[a2_0x2781a5(0xee)](a2_0x2781a5(0x352))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x36a)),jobListAction=async _0x5f1211=>{const _0x1b6fe0=a2_0x2781a5,_0x3b9248=new JobListCommand(),_0x4c32ba=program[_0x1b6fe0(0x34f)](),_0x219f0e=await createTDXInstance(_0x4c32ba),_0x28b70f=await _0x3b9248[_0x1b6fe0(0x317)]({'options':{..._0x4c32ba,..._0x5f1211},'args':[],'tdx':_0x219f0e});gracefulExit(_0x28b70f);};jobCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x229))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x395))[a2_0x2781a5(0x106)](a2_0x2781a5(0x36d),a2_0x2781a5(0x83))[a2_0x2781a5(0x2d5)](jobListAction),program[a2_0x2781a5(0xee)]('jobs',{'hidden':!![]})['description'](a2_0x2781a5(0x73))['option'](a2_0x2781a5(0x36d),a2_0x2781a5(0x83))[a2_0x2781a5(0x2d5)](jobListAction),jobCmd['command'](a2_0x2781a5(0x28e))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0xfe))[a2_0x2781a5(0x2d5)](async(_0x3ec07d,_0x1fa4c9)=>{const _0x19bdf2=a2_0x2781a5,_0xbe084b=new JobShowCommand(),_0x352571=program[_0x19bdf2(0x34f)](),_0x5edcac=await createTDXInstance(_0x352571),_0x3810f3=await _0xbe084b[_0x19bdf2(0x317)]({'options':{..._0x352571,..._0x1fa4c9},'args':[_0x3ec07d],'tdx':_0x5edcac});gracefulExit(_0x3810f3);}),jobCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x256))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x174))[a2_0x2781a5(0x2d5)](async(_0x4f0c42,_0x3f0f73)=>{const _0x5cfd82=a2_0x2781a5,_0x5176d0=new JobKillCommand(),_0x2a6da9=program[_0x5cfd82(0x34f)](),_0x1a0a76=await createTDXInstance(_0x2a6da9),_0x5c8108=await _0x5176d0[_0x5cfd82(0x317)]({'options':{..._0x2a6da9,..._0x3f0f73},'args':[_0x4f0c42],'tdx':_0x1a0a76});gracefulExit(_0x5c8108);}),jobCmd[a2_0x2781a5(0xee)]('submit\x20[query]')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x1fd))['option'](a2_0x2781a5(0x30c),a2_0x2781a5(0x169),'trino')[a2_0x2781a5(0x106)](a2_0x2781a5(0x14a),a2_0x2781a5(0x35e))[a2_0x2781a5(0x106)](a2_0x2781a5(0x8a),a2_0x2781a5(0x1d2),'information_schema')[a2_0x2781a5(0x106)](a2_0x2781a5(0x1b2),a2_0x2781a5(0x18e))['action'](async(_0x55de38,_0x19dd80)=>{const _0x4f300a=a2_0x2781a5,_0x1d05ce=new JobSubmitCommand(),_0x1f957a=program['opts'](),_0x3481e6=await createTDXInstance(_0x1f957a),_0x10db21=await _0x1d05ce[_0x4f300a(0x317)]({'options':{..._0x1f957a,..._0x19dd80},'args':_0x55de38?[_0x55de38]:[],'tdx':_0x3481e6});gracefulExit(_0x10db21);}),jobCmd[a2_0x2781a5(0xee)]('result\x20<job-id>')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x1ed))['action'](async(_0x237a20,_0x415f7)=>{const _0x3fd00d=a2_0x2781a5,_0x4f4a6c=new JobResultCommand(),_0x3aeac3=program[_0x3fd00d(0x34f)](),_0x18c1d1=await createTDXInstance(_0x3aeac3),_0x4f69a1=await _0x4f4a6c[_0x3fd00d(0x317)]({'options':{..._0x3aeac3,..._0x415f7},'args':[_0x237a20],'tdx':_0x18c1d1});gracefulExit(_0x4f69a1);});const scheduleCmd=jobCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x17f))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x122));scheduleCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x292))[a2_0x2781a5(0x1a0)]('List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)')[a2_0x2781a5(0x2d5)](async(_0x52bef3,_0x3e0faa)=>{const _0x20ebcd=a2_0x2781a5,_0x2f5f0e=new ScheduleListCommand(),_0x16ab86=program[_0x20ebcd(0x34f)](),_0x451224=await createTDXInstance(_0x16ab86),_0x25ea52=await _0x2f5f0e['run']({'options':{..._0x16ab86,..._0x3e0faa},'args':_0x52bef3?[_0x52bef3]:[],'tdx':_0x451224});gracefulExit(_0x25ea52);}),scheduleCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x264))[a2_0x2781a5(0x1a0)]('Show\x20schedule\x20details')[a2_0x2781a5(0x2d5)](async(_0x341cb9,_0x177d8e)=>{const _0x511de2=a2_0x2781a5,_0x5af903=new ScheduleShowCommand(),_0x4b7d3a=program[_0x511de2(0x34f)](),_0x47371b=await createTDXInstance(_0x4b7d3a),_0x54835c=await _0x5af903[_0x511de2(0x317)]({'options':{..._0x4b7d3a,..._0x177d8e},'args':[_0x341cb9],'tdx':_0x47371b});gracefulExit(_0x54835c);}),scheduleCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x195))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x1c7))[a2_0x2781a5(0x106)]('-d,\x20--database\x20<db>','Database\x20name\x20(required)')[a2_0x2781a5(0x106)](a2_0x2781a5(0xe9),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x2781a5(0xcd)](a2_0x2781a5(0x14a),'Read\x20query\x20from\x20file')[a2_0x2781a5(0x106)](a2_0x2781a5(0x396),a2_0x2781a5(0x2c8),a2_0x2781a5(0xa7))[a2_0x2781a5(0x106)]('--cron\x20<expression>','Cron\x20expression\x20for\x20scheduling')[a2_0x2781a5(0x106)](a2_0x2781a5(0xb8),'Timezone\x20for\x20cron\x20(default:\x20UTC)')[a2_0x2781a5(0x106)](a2_0x2781a5(0x25d),a2_0x2781a5(0x101))['option'](a2_0x2781a5(0xad),a2_0x2781a5(0x16d))[a2_0x2781a5(0x106)](a2_0x2781a5(0x281),'Retry\x20limit\x20(0\x20to\x2032)')[a2_0x2781a5(0x106)](a2_0x2781a5(0x286),a2_0x2781a5(0x2fe))[a2_0x2781a5(0x106)](a2_0x2781a5(0x10b),a2_0x2781a5(0x14e))[a2_0x2781a5(0x2d5)](async(_0x3d1384,_0x3fd133)=>{const _0x2c98a5=a2_0x2781a5,_0x6ff718=new ScheduleCreateCommand(),_0x3b90ed=program[_0x2c98a5(0x34f)](),_0x554411=await createTDXInstance(_0x3b90ed);_0x3fd133['in']&&(_0x3fd133[_0x2c98a5(0x97)]=_0x3fd133['in']);const _0x42c4e6=await _0x6ff718[_0x2c98a5(0x317)]({'options':{..._0x3b90ed,..._0x3fd133},'args':[_0x3d1384],'tdx':_0x554411});gracefulExit(_0x42c4e6);}),scheduleCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x323))[a2_0x2781a5(0x1a0)]('Update\x20a\x20scheduled\x20query')['option'](a2_0x2781a5(0x1a2),a2_0x2781a5(0x15a))[a2_0x2781a5(0x106)](a2_0x2781a5(0xe9),a2_0x2781a5(0x2db))['option'](a2_0x2781a5(0x14a),'Read\x20query\x20from\x20file')['option'](a2_0x2781a5(0x396),a2_0x2781a5(0x2c8))[a2_0x2781a5(0x106)](a2_0x2781a5(0x2b4),a2_0x2781a5(0x2ff))[a2_0x2781a5(0x106)](a2_0x2781a5(0xb8),a2_0x2781a5(0x1e4))[a2_0x2781a5(0x106)]('--delay\x20<seconds>',a2_0x2781a5(0x101))[a2_0x2781a5(0x106)](a2_0x2781a5(0xad),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x2781a5(0x106)](a2_0x2781a5(0x281),a2_0x2781a5(0x367))[a2_0x2781a5(0x106)](a2_0x2781a5(0x286),a2_0x2781a5(0x2fe))[a2_0x2781a5(0x106)](a2_0x2781a5(0x10b),a2_0x2781a5(0x14e))[a2_0x2781a5(0x2d5)](async(_0x5b38ba,_0x15c272)=>{const _0x3639fd=a2_0x2781a5,_0x5caaa3=new ScheduleUpdateCommand(),_0x32ea8c=program[_0x3639fd(0x34f)](),_0x2574e8=await createTDXInstance(_0x32ea8c);_0x15c272['in']&&(_0x15c272[_0x3639fd(0x97)]=_0x15c272['in']);const _0x2f639a=await _0x5caaa3['run']({'options':{..._0x32ea8c,..._0x15c272},'args':[_0x5b38ba],'tdx':_0x2574e8});gracefulExit(_0x2f639a);}),scheduleCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x366))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x334))[a2_0x2781a5(0x2d5)](async(_0x293e81,_0x19a10c)=>{const _0x1e2ce9=a2_0x2781a5,_0x1602ee=new ScheduleDeleteCommand(),_0xa4be72=program[_0x1e2ce9(0x34f)](),_0x4be88f=await createTDXInstance(_0xa4be72),_0x8d2634=await _0x1602ee['run']({'options':{..._0xa4be72,..._0x19a10c},'args':[_0x293e81],'tdx':_0x4be88f});gracefulExit(_0x8d2634);}),scheduleCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x17a))[a2_0x2781a5(0x1a0)]('Run\x20a\x20scheduled\x20query\x20immediately')[a2_0x2781a5(0x106)](a2_0x2781a5(0x22b),'Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)')[a2_0x2781a5(0x106)](a2_0x2781a5(0x2e6),a2_0x2781a5(0x216))['action'](async(_0x325e6b,_0xa24d94)=>{const _0x2e77c1=a2_0x2781a5,_0x11bd8d=new ScheduleRunCommand(),_0x47fef7=program[_0x2e77c1(0x34f)](),_0xe31a83=await createTDXInstance(_0x47fef7),_0x3b0f18=await _0x11bd8d[_0x2e77c1(0x317)]({'options':{..._0x47fef7,..._0xa24d94},'args':[_0x325e6b],'tdx':_0xe31a83});gracefulExit(_0x3b0f18);}),scheduleCmd[a2_0x2781a5(0xee)]('history\x20<name>')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x211))[a2_0x2781a5(0x106)](a2_0x2781a5(0x279),'Starting\x20offset\x20(default:\x200)')['option'](a2_0x2781a5(0x28c),a2_0x2781a5(0x205))['action'](async(_0x227aa7,_0x4edae9)=>{const _0x454828=a2_0x2781a5,_0x3a4e48=new ScheduleHistoryCommand(),_0x98f6e9=program[_0x454828(0x34f)](),_0x37912e=await createTDXInstance(_0x98f6e9),_0xec0cdf=await _0x3a4e48[_0x454828(0x317)]({'options':{..._0x98f6e9,..._0x4edae9},'args':[_0x227aa7],'tdx':_0x37912e});gracefulExit(_0xec0cdf);});const llmCmd=program['command'](a2_0x2781a5(0x238))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x34b));llmCmd[a2_0x2781a5(0xee)]('use\x20<project-name>')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0xe2))['action'](async(_0x19af73,_0x23a56a)=>{const _0x6c001c=a2_0x2781a5,_0x39485f=new LLMUseCommand(),_0x7bbed4=program[_0x6c001c(0x34f)](),_0x4ba6f6=await createTDXInstance(_0x7bbed4),_0x450fe3=await _0x39485f[_0x6c001c(0x317)]({'options':{..._0x7bbed4,..._0x23a56a},'args':[_0x19af73],'tdx':_0x4ba6f6});gracefulExit(_0x450fe3);}),llmCmd['command'](a2_0x2781a5(0x19f))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x327))[a2_0x2781a5(0x2d5)](async _0x508518=>{const _0xc810db=a2_0x2781a5,_0x5d72c4=new LLMModelsCommand(),_0x2b80de=program[_0xc810db(0x34f)](),_0x446ec8=await createTDXInstance(_0x2b80de),_0x26b26a=await _0x5d72c4[_0xc810db(0x317)]({'options':{..._0x2b80de,..._0x508518},'args':[],'tdx':_0x446ec8});gracefulExit(_0x26b26a);});const projectCmd=llmCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0xe4))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0xc7)),llmProjectListAction=async(_0x5e09fb,_0x447eae)=>{const _0xe42b09=a2_0x2781a5,_0x1dbaf8=new LLMProjectsCommand(),_0x271cf4=program[_0xe42b09(0x34f)](),_0x5cd9c7=await createTDXInstance(_0x271cf4),_0x3480dd=await _0x1dbaf8['run']({'options':{..._0x271cf4,..._0x447eae},'args':_0x5e09fb?[_0x5e09fb]:[],'tdx':_0x5cd9c7});gracefulExit(_0x3480dd);};projectCmd[a2_0x2781a5(0xee)]('list\x20[pattern]')[a2_0x2781a5(0x1a0)]('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x2781a5(0x2d5)](llmProjectListAction),llmCmd[a2_0x2781a5(0xee)]('projects\x20[pattern]')[a2_0x2781a5(0x1a0)]('List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0x2781a5(0x2d5)](llmProjectListAction),projectCmd['command'](a2_0x2781a5(0x195))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x378))[a2_0x2781a5(0x106)](a2_0x2781a5(0x168),'Project\x20description')['action'](async(_0x6a1152,_0x5ca3ae)=>{const _0x5a3d49=a2_0x2781a5,_0x1b1de8=new LLMProjectCreateCommand(),_0x1dccf1=program[_0x5a3d49(0x34f)](),_0x2a0eaf=await createTDXInstance(_0x1dccf1),_0x378cc4=await _0x1b1de8['run']({'options':{..._0x1dccf1,..._0x5ca3ae},'args':[_0x6a1152],'tdx':_0x2a0eaf});gracefulExit(_0x378cc4);}),projectCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x366))[a2_0x2781a5(0x1a0)]('Delete\x20an\x20LLM\x20project')[a2_0x2781a5(0x2d5)](async(_0x7c9005,_0x48a292)=>{const _0xf1bc0b=a2_0x2781a5,_0x149994=new LLMProjectDeleteCommand(),_0xc155b3=program[_0xf1bc0b(0x34f)](),_0x20fef6=await createTDXInstance(_0xc155b3),_0x58885c=await _0x149994[_0xf1bc0b(0x317)]({'options':{..._0xc155b3,..._0x48a292},'args':[_0x7c9005],'tdx':_0x20fef6});gracefulExit(_0x58885c);}),projectCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0xcf))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x167))[a2_0x2781a5(0x106)](a2_0x2781a5(0x344),a2_0x2781a5(0x25e))[a2_0x2781a5(0x106)](a2_0x2781a5(0x1f1),a2_0x2781a5(0x120))[a2_0x2781a5(0x2d5)](async(_0x2e3b88,_0x4146b4)=>{const _0x474f0a=a2_0x2781a5,_0x5a04ca=new LLMProjectBackupCommand(),_0xe853ab=program[_0x474f0a(0x34f)](),_0x53abf2=await createTDXInstance(_0xe853ab),_0x226c26=await _0x5a04ca[_0x474f0a(0x317)]({'options':{..._0xe853ab,..._0x4146b4},'args':[_0x2e3b88],'tdx':_0x53abf2});gracefulExit(_0x226c26);}),projectCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x361))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x261))[a2_0x2781a5(0x106)](a2_0x2781a5(0x2ca),a2_0x2781a5(0x29b))['option']('--dry-run',a2_0x2781a5(0x245))['action'](async(_0x33d136,_0x53990a)=>{const _0x24008f=a2_0x2781a5,_0x4a0439=new LLMProjectRestoreCommand(),_0x464717=program[_0x24008f(0x34f)](),_0x4877b0=await createTDXInstance(_0x464717),_0x1ab47f=await _0x4a0439[_0x24008f(0x317)]({'options':{..._0x464717,..._0x53990a},'args':[_0x33d136],'tdx':_0x4877b0});gracefulExit(_0x1ab47f);});const llmAgentListAction=async(_0xdb2fb0,_0x3b1663)=>{const _0x2377e1=a2_0x2781a5,_0x312276=new LLMAgentsCommand(),_0x2437ba=program[_0x2377e1(0x34f)](),_0x28a74e=await createTDXInstance(_0x2437ba),_0x233d12=await _0x312276[_0x2377e1(0x317)]({'options':{..._0x2437ba,..._0x3b1663},'args':_0xdb2fb0?[_0xdb2fb0]:[],'tdx':_0x28a74e});gracefulExit(_0x233d12);};llmCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x69))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x2a7))['action'](llmAgentListAction),program[a2_0x2781a5(0xee)](a2_0x2781a5(0x69))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x2a7))[a2_0x2781a5(0x2d5)](llmAgentListAction),llmCmd['command']('history\x20[chat-id]')[a2_0x2781a5(0x1a0)]('Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)')[a2_0x2781a5(0x106)](a2_0x2781a5(0xfa),a2_0x2781a5(0x27f))[a2_0x2781a5(0x2d5)](async(_0x1fdfed,_0x18b254)=>{const _0x1acc9d=a2_0x2781a5,_0x5f5303=new LLMHistoryCommand(),_0x1decf0=program[_0x1acc9d(0x34f)](),_0xde90b5=await createTDXInstance(_0x1decf0),_0x793fbd=await _0x5f5303[_0x1acc9d(0x317)]({'options':{..._0x1decf0,..._0x18b254},'args':_0x1fdfed?[_0x1fdfed]:[],'tdx':_0xde90b5});gracefulExit(_0x793fbd);});isExperimentalAvailable()&&llmCmd[a2_0x2781a5(0xee)]('log\x20<chat-id>')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x90))[a2_0x2781a5(0x2d5)](async(_0x205db6,_0x39b40a)=>{const _0x32f6cb=a2_0x2781a5,_0x4ca884=new LLMLogCommand(),_0x30e1b1=program[_0x32f6cb(0x34f)](),_0x4852b7=await createTDXInstance(_0x30e1b1),_0x4d2857=await _0x4ca884[_0x32f6cb(0x317)]({'options':{..._0x30e1b1,..._0x39b40a},'args':[_0x205db6],'tdx':_0x4852b7});gracefulExit(_0x4d2857);});program[a2_0x2781a5(0xee)](a2_0x2781a5(0xa4))[a2_0x2781a5(0x17c)](a2_0x2781a5(0x100))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x202))[a2_0x2781a5(0x106)]('-c,\x20--continue',a2_0x2781a5(0x1f7))['option'](a2_0x2781a5(0x1e0),a2_0x2781a5(0xba))[a2_0x2781a5(0x106)](a2_0x2781a5(0x1f0),'Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')[a2_0x2781a5(0x308)]()[a2_0x2781a5(0x280)](!![])[a2_0x2781a5(0x2c0)](a2_0x2781a5(0x18f),a2_0x2781a5(0x1cf))[a2_0x2781a5(0x2d5)](async(_0x3b9156,_0x4d591c)=>{const _0x5aaac9=a2_0x2781a5,_0x50ae86=program[_0x5aaac9(0x34f)](),_0x17d1c0=Array[_0x5aaac9(0x18d)](_0x3b9156)?_0x3b9156:[];if(_0x17d1c0[0x0]===_0x5aaac9(0x131)){const _0x3557e8=new ClaudeStatuslineCommand(),_0x15c3bd=await _0x3557e8[_0x5aaac9(0x317)]({'options':{..._0x50ae86,..._0x4d591c},'args':_0x17d1c0['slice'](0x1),'tdx':null});gracefulExit(_0x15c3bd);}if(_0x17d1c0[0x0]==='usage'){const _0x1a63ef=new ClaudeUsageCommand(),_0xbd8a12=await _0x1a63ef['run']({'options':{..._0x50ae86,..._0x4d591c},'args':_0x17d1c0['slice'](0x1),'tdx':null});gracefulExit(_0xbd8a12);}const _0x14efac=new ClaudeCommand(),_0x30c21c=await createTDXInstance(_0x50ae86),_0x5d936f=await _0x14efac[_0x5aaac9(0x317)]({'options':{..._0x50ae86,..._0x4d591c},'args':_0x17d1c0,'tdx':_0x30c21c});gracefulExit(_0x5d936f);}),program[a2_0x2781a5(0xee)](a2_0x2781a5(0x2d1))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x2fc))[a2_0x2781a5(0x106)](a2_0x2781a5(0x185),a2_0x2781a5(0x397))[a2_0x2781a5(0x106)](a2_0x2781a5(0xb3),a2_0x2781a5(0x289))[a2_0x2781a5(0x2d5)](async(_0x5cb34a,_0x27406f,_0x35deea)=>{const _0x17dcd1=a2_0x2781a5,_0x2ef7d0=new UseCommand(),_0x40592f=program['opts'](),_0x215372=[];if(_0x5cb34a)_0x215372['push'](_0x5cb34a);if(_0x27406f)_0x215372[_0x17dcd1(0xc0)](_0x27406f);const _0x418660=_0x5cb34a===_0x17dcd1(0x12e),_0x2b2ae1=_0x418660?await createTDXInstance(_0x40592f):null,_0x18dffe=await _0x2ef7d0[_0x17dcd1(0x317)]({'options':{..._0x40592f,..._0x35deea},'args':_0x215372,'tdx':_0x2b2ae1});gracefulExit(_0x18dffe);}),program[a2_0x2781a5(0xee)](a2_0x2781a5(0x259))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x31e))[a2_0x2781a5(0x2d5)](async _0x421b7d=>{const _0x4b9c4b=a2_0x2781a5,_0x140012=new StatusCommand(),_0x5aca12=program[_0x4b9c4b(0x34f)](),_0x2c515b=await createTDXInstance(_0x5aca12),_0x53d05d=await _0x140012[_0x4b9c4b(0x317)]({'options':{..._0x5aca12,..._0x421b7d},'args':[],'tdx':_0x2c515b});gracefulExit(_0x53d05d);}),program[a2_0x2781a5(0xee)](a2_0x2781a5(0x75))['description'](a2_0x2781a5(0x1cb))[a2_0x2781a5(0x106)](a2_0x2781a5(0x1f1),a2_0x2781a5(0x24e))[a2_0x2781a5(0x106)](a2_0x2781a5(0x372),a2_0x2781a5(0x88))[a2_0x2781a5(0x106)](a2_0x2781a5(0x22e),a2_0x2781a5(0x123))[a2_0x2781a5(0x2d5)](async(_0x420fd5,_0x1e34d2)=>{const _0x732c6=a2_0x2781a5,_0x7dd95e=new UpgradeCommand(),_0x2aee09=program[_0x732c6(0x34f)](),_0x4ecdb6=await _0x7dd95e[_0x732c6(0x317)]({'options':{..._0x2aee09,..._0x1e34d2},'args':_0x420fd5?[_0x420fd5]:[],'tdx':null});gracefulExit(_0x4ecdb6);}),program[a2_0x2781a5(0xee)](a2_0x2781a5(0x368))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0xea))['option'](a2_0x2781a5(0xb3),a2_0x2781a5(0x2d2))['action'](async(_0x3b684b,_0x328576)=>{const _0x4e645c=a2_0x2781a5,_0x5d4385=new UnsetCommand(),_0xcaea40=program[_0x4e645c(0x34f)](),_0x28d775=await _0x5d4385['run']({'options':{..._0xcaea40,..._0x328576},'args':[_0x3b684b],'tdx':null});gracefulExit(_0x28d775);}),program[a2_0x2781a5(0xee)]('chats')[a2_0x2781a5(0x1a0)]('Interactive\x20chat\x20selector')[a2_0x2781a5(0x106)](a2_0x2781a5(0xfa),a2_0x2781a5(0x124))['action'](async _0x21f546=>{const _0x1ef42e=a2_0x2781a5,_0x3eb224=new ChatsCommand(),_0x123a3d=program[_0x1ef42e(0x34f)](),_0x336c75=await createTDXInstance(_0x123a3d),_0x9ffafd=await _0x3eb224['run']({'options':{..._0x123a3d,..._0x21f546},'args':[],'tdx':_0x336c75});gracefulExit(_0x9ffafd);});const authCmd=program[a2_0x2781a5(0xee)](a2_0x2781a5(0x72))[a2_0x2781a5(0x1a0)]('Authentication\x20management');async function runAuthStatusCommand(_0x28a6df){const _0x57424f=a2_0x2781a5,_0x23472b=new AuthStatusCommand(),_0x2e7b06=program[_0x57424f(0x34f)](),_0x46b017=await createTDXInstance(_0x2e7b06),_0x12c5df=await _0x23472b[_0x57424f(0x317)]({'options':{..._0x2e7b06,..._0x28a6df},'args':[],'tdx':_0x46b017});gracefulExit(_0x12c5df);}authCmd[a2_0x2781a5(0x2d5)](runAuthStatusCommand),authCmd['command'](a2_0x2781a5(0x259))['description'](a2_0x2781a5(0x32d))['action'](runAuthStatusCommand);async function authSetupAction(_0x449885){const _0x524711=a2_0x2781a5,_0x192c15=new AuthSetupCommand(),_0x705e06=program['opts'](),_0x26231d=await createTDXInstance(_0x705e06),_0x4c3289=await _0x192c15[_0x524711(0x317)]({'options':{..._0x705e06,..._0x449885},'args':[],'tdx':_0x26231d});gracefulExit(_0x4c3289);}authCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x31d))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x362))['option'](a2_0x2781a5(0x18a),a2_0x2781a5(0xd6))[a2_0x2781a5(0x2c0)](a2_0x2781a5(0x18f),a2_0x2781a5(0x237))[a2_0x2781a5(0x2d5)](authSetupAction),authCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x388),{'hidden':!![]})[a2_0x2781a5(0x106)](a2_0x2781a5(0x18a),a2_0x2781a5(0xd6))['action'](authSetupAction),authCmd['command'](a2_0x2781a5(0xde))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x23c))['addHelpText'](a2_0x2781a5(0x18f),a2_0x2781a5(0x15b))[a2_0x2781a5(0x2d5)](async _0x19f703=>{const _0x57afc5=a2_0x2781a5,_0xdd104c=new AuthClearCommand(),_0xc4d964=program[_0x57afc5(0x34f)](),_0x2a3764=await _0xdd104c[_0x57afc5(0x317)]({'options':{..._0xc4d964,..._0x19f703},'args':[],'tdx':null});gracefulExit(_0x2a3764);});const userCmd=program[a2_0x2781a5(0xee)]('user')[a2_0x2781a5(0x1a0)]('User\x20management\x20commands'),userListAction=async _0xa5dc8d=>{const _0xd1a7b2=a2_0x2781a5,_0x2759df=new UserListCommand(),_0x544076=program['opts'](),_0x2364c1=await createTDXInstance(_0x544076),_0x43c331=await _0x2759df[_0xd1a7b2(0x317)]({'options':{..._0x544076,..._0xa5dc8d},'args':[],'tdx':_0x2364c1});gracefulExit(_0x43c331);};userCmd[a2_0x2781a5(0x2d5)](async _0x3b8ef4=>{const _0xf1811d=a2_0x2781a5,_0x56e46d=new UserCommand(),_0x148292=program['opts'](),_0x597e95=await createTDXInstance(_0x148292),_0x4d10a6=await _0x56e46d[_0xf1811d(0x317)]({'options':{..._0x148292,..._0x3b8ef4},'args':[],'tdx':_0x597e95});gracefulExit(_0x4d10a6);}),userCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x229))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x12c))[a2_0x2781a5(0x2d5)](userListAction),program[a2_0x2781a5(0xee)](a2_0x2781a5(0x2fa))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x114))['action'](userListAction);function a2_0x290c(){const _0x5b5a77=['--to\x20<date>','us01','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','Check\x20for\x20updates\x20without\x20installing','new\x20<title>','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','profiles','31637NDuiqX','Workspace\x20description','buildTime','CDP\x20segment\x20management\x20commands','kill\x20<job-id>','--kind\x20<kind>','List\x20email\x20senders','status','Show\x20all\x20files\x20including\x20valid\x20ones','update\x20<name-or-id>','Disable\x20a\x20workflow\x20schedule','--delay\x20<seconds>','Output\x20folder\x20(default:\x20{project_name}.llm)','--no-count-population','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','settings\x20<type>','show\x20<name>','set\x20<args...>','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','GET','Workspace\x20management','Skip\x20confirmation\x20prompt','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','activations\x20<name-or-path>','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','Launch\x20an\x20always-on\x20campaign','Path\x20is\x20not\x20a\x20directory:\x20','7249088QFlvpK','logs','flatMap','preAction','Include\x20subtasks\x20in\x20tasks\x20output','Show\x20workspace\x20details','item','pause_activations\x20<journeyId>','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Email\x20subject\x20template','--from\x20<n>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Show\x20journey\x20table\x20column-to-step\x20mapping','Include\x20retried\x20attempts','Comma-separated\x20tags','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','allowExcessArguments','--retry-limit\x20<0~32>','Update\x20an\x20email\x20template','--priority\x20<priority>','Workspace\x20name','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','--engine-version\x20<version>','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','Email\x20template\x20management','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','subcommandTerm','Action:\x20logs,\x20tasks,\x20kill,\x20retry','--to\x20<n>','campaigns\x20[pattern]','show\x20<job-id>','Updated\x20schedule\x20option','--data\x20<data>','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','list\x20[pattern]','Workflow\x20attempt\x20management','--limit\x20<n>','retry','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','--include-stats','error','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Move\x20to\x20folder','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','--all','Parse\x20and\x20validate\x20without\x20executing','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Workflow\x20parameter\x20(repeatable)','pull\x20[name]','api\x20[endpoint]','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','delete\x20<project-name-or-id>','--json','--attempt-id\x20<id>','Overwrite\x20existing\x20profile','Change\x20to\x20directory\x20before\x20executing\x20command','create\x20<segment_name>','version','apiKey','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','--session\x20<id>','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','--cron\x20<expression>','Pause\x20a\x20running\x20journey','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','--max-depth\x20<depth>','timeline\x20[project.workflow]','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Read\x20HTML\x20template\x20from\x20file','4692iqxivj','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','List\x20all\x20workflow\x20schedules','Output\x20directory','addHelpText','show\x20<agent-name>','--name\x20<name>','--interval\x20<range>','tdx','List\x20all\x20versions\x20of\x20a\x20journey','Follow/watch\x20timeline\x20for\x20running\x20attempts','13130500VNSoRF','Query\x20type:\x20trino\x20or\x20hive','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','--name\x20<new-name>','resume\x20<name-or-id>','chdir','directory','view\x20[segment_name]','Validate\x20template\x20YAML\x20files\x20locally','enable\x20<id>','use\x20[resource]\x20[value]','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','--skip-validation','--plaintext\x20<text>','action','--behavior\x20[name]','Run\x20specific\x20tests\x20(comma-separated)','Read\x20SQL\x20query\x20from\x20file','Priority\x20(critical,\x20high,\x20medium,\x20low)','Open\x20parent\x20segment\x20in\x20web\x20browser','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Show\x20what\x20would\x20be\x20written\x20without\x20writing','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','--limit\x20<number>','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','Describe\x20table\x20schema','Create\x20a\x20new\x20always-on\x20campaign','Delete\x20a\x20workspace','--model\x20<name>','trace','--num\x20<1-10>','stringify','38ZhQEcv','Behaviors\x20from\x20JSON\x20file','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','pause\x20<name-or-path>','show\x20<policy>','Usage:\x20','token','List\x20activations\x20for\x20a\x20journey','columns\x20<name-or-path>','delete\x20<service_id>\x20[parent_segment]','\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','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','preview\x20[name]','board','commands','Workflow\x20(Digdag)\x20management\x20commands','delete\x20<agent-name>','users','-w,\x20--web','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','Open\x20segment\x20in\x20web\x20browser','Query\x20engine\x20version','Cron\x20expression\x20for\x20scheduling','push\x20[source-dir]','--subject\x20<subject>','--in\x20<database>','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','parent_segment','delete\x20<name-or-id>','--json-columns\x20<cols>','disable\x20<id>','allowUnknownOption','senders\x20[pattern]','session','isDirectory','--job-type\x20<type>','List\x20journeys\x20(alias\x20for\x20journey\x20list)','RT\x20Journey\x20management','Database\x20management\x20commands','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','parent-segment','Show\x20email\x20template\x20details','--timeout\x20<seconds>','--email-sender-id\x20<id>','AI-native\x20work\x20management','--session-id\x20<id>','run','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','Token\x20description','New\x20segment\x20name','Show\x20segment\x20details\x20(alias\x20for\x20view)','--debug','setup','Show\x20authentication\x20status\x20and\x20current\x20context','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','sql\x20[name]','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','create','update\x20<name>','Add\x20attributes\x20as\x20JSON\x20string','connections','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','List\x20available\x20LLM\x20models','name','parent','configuration_versions\x20[name]','Name\x20for\x20the\x20new\x20project\x20(required)','--params\x20<json>','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','use\x20[project]','show\x20[name]','_list-commands','map','--behaviors-file\x20<file>','Output\x20as\x20JSON','Delete\x20a\x20scheduled\x20query','json','workspaces\x20[pattern]','Updated\x20description','push\x20[target]','Skip\x20validation\x20of\x20.dig\x20files','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','view\x20[name]','--attributes-file\x20<file>','delete\x20<personalization_id>','--html\x20<html>','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','list\x20[path]','--limit\x20<rows>','Filtering\x20rule\x20as\x20JSON\x20string','service','-o,\x20--output\x20<folder>','1926390KFIznD','Show\x20stats\x20for\x20specific\x20stage','then','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Email\x20sender\x20ID\x20for\x20delivery','Create\x20a\x20new\x20document','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','injectIntoOptions','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','createAsync','opts','Arguments:','--html-file\x20<path>','job','Push\x20YAML\x20files\x20to\x20CAS\x20API','0.7','--rule-file\x20<file>','Resume\x20activations\x20in\x20an\x20RT\x20journey','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','_hidden','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','--format\x20<format>','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','attempt:','Read\x20query\x20from\x20file','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','includes','restore\x20<folder>','Setup\x20API\x20key\x20authentication\x20interactively','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','--audience\x20<name>','--from-task\x20<task>','delete\x20<name>','Retry\x20limit\x20(0\x20to\x2032)','unset\x20<resource>','Plaintext\x20template\x20content','Job\x20management\x20commands','--no-eval','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','--status\x20<status>','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','stderr','registeredArguments','-C,\x20--directory\x20<path>','--next','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','Filtering\x20rule\x20from\x20JSON\x20file','desc\x20[segment_name]','--session-time\x20<time>','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a','Create\x20a\x20new\x20LLM\x20project','--file\x20<path>','Journey\x20version\x20management','--description\x20<desc>','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','\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','list\x20[name]','[DEPRECATED]\x20Segment\x20folder\x20management','Update\x20a\x20realtime\x20personalization\x20entity','--attribute\x20[name]','Personalization\x20description','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Commands:','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','slice','tsv','login','--kind\x20<type>','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Timezone\x20(e.g.,\x20America/Los_Angeles)','move\x20<name>\x20<status>','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','Composable\x20segment\x20commands','JSON\x20columns\x20for\x20connector\x20(comma-separated)','accessToken','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','Update\x20an\x20existing\x20agent','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','INFO','List\x20jobs','--type\x20<type>','Clear\x20session\x20context','Start\x20a\x20new\x20chat\x20session','Initial\x20status','--days\x20<n>','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Behaviors\x20as\x20JSON\x20string','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Personalization\x20service\x20management','--system-prompt\x20<text>','agents\x20[pattern]','-r,\x20--recursive','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','List\x20agents\x20in\x20current\x20project','Duplicate\x20an\x20always-on\x20campaign','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','download\x20<project-name>\x20[output-dir]','Parent\x20segment\x20management','Add\x20behaviors\x20from\x20JSON\x20file','auth','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','upgrade\x20[version]','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Pause\x20activations\x20in\x20an\x20RT\x20journey','folders\x20<parent_name>','duplicate\x20<name-or-id>','Finish\x20an\x20always-on\x20campaign','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','Invalid\x20editor\x20type:\x20','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','New\x20service\x20description','attempts\x20[project]','hidden','Get\x20current\x20RT\x20configuration\x20version\x20status','upload\x20[project-name-or-dir]','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Pull\x20campaigns\x20to\x20YAML\x20files','-1d','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','--github\x20<owner/repo>','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','create\x20<name>\x20[parent_segment]','--database\x20<name>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','length','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','[EXPERIMENTAL]\x20Show\x20chat\x20log','--max-tool-iterations\x20<n>','Show\x20a\x20specific\x20realtime\x20personalization','--customer-group\x20<json>','Preview\x20without\x20creating\x20the\x20project','templates\x20[pattern]','56wQbWhv','database','work','Version\x20number\x20to\x20view','Starter\x20message','run\x20[workflow]','Validate\x20campaign\x20YAML\x20files\x20locally','jsonl','Pull\x20child\x20segments\x20to\x20YAML\x20files','Pull\x20templates\x20to\x20YAML\x20files','--full','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Update\x20a\x20campaign','--enable-utm-tracking','claude\x20[args...]','\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\x20\x20$\x20tdx\x20profile\x20create\x20prod\x20-f\x20\x20\x20\x20\x20\x20#\x20Overwrite\x20existing\x20\x27prod\x27\x20profile\x0a','outputHelp','trino','Maximum\x20number\x20of\x20nodes','show\x20[table]','pull\x20<project>\x20[target-dir]','List\x20all\x20available\x20profiles','--dir\x20<dir>','--priority\x20<-2~2>','--assignee\x20<assignee>','[action]','set','set\x20<key=value>','New\x20workspace\x20name','--default','activations\x20<segment_name>','view\x20<name-or-path>','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','--timezone\x20<tz>','--folder-id\x20<id>','Resume\x20a\x20conversation\x20(shows\x20selector)','argumentDescription','Resume\x20from\x20specific\x20task','Campaign\x20type\x20(email\x20or\x20push)','Link\x20workspace\x20to\x20a\x20GitHub\x20repository','logLevel','push','secrets','Workflow\x20session\x20management','Enable\x20a\x20disabled\x20workflow\x20schedule','--parent-segment\x20<name>','Clear\x20workflow\x20project\x20context','update\x20<agent-name>','LLM\x20project\x20management','Campaign\x20name','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Sections\x20as\x20an\x20inline\x20JSON\x20array','397092ILycfY','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','requiredOption','Invalid\x20--limit\x20value:\x20\x22','backup\x20<name>','Resume\x20a\x20paused\x20always-on\x20campaign','--type\x20<api_type>','Document\x20body\x20text','preview\x20[file]','Template\x20name','Show\x20agent\x20details','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','run\x20[name]','End\x20time\x20filter\x20(ISO\x208601\x20format)','long','-d,\x20--database\x20<database>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','chat\x20[message...]','--include-retried','clear','Delete\x20a\x20campaign','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','CDP\x20Journey\x20Orchestration\x20commands','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','delivery','project','Show\x20connection\x20details\x20by\x20name','--output\x20<file>','901521WOgsZf','-p,\x20--profile\x20<name>','--in\x20<db>','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','\x20-\x20built\x20','retry\x20<session-id>','init\x20[name]','command','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Resume\x20a\x20paused\x20campaign','2070aXzNcK','-X,\x20--method\x20<method>','--to\x20<timestamp>','--stage\x20<name>','--name\x20<names>','Export\x20journey(s)\x20as\x20YAML\x20files','Agent\x20description','-o,\x20--output\x20<file>','Manage\x20workflow\x20schedules\x20(enable/disable)','--last','--color','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','agent','Show\x20job\x20details','--catalog\x20<catalog>','[options]\x20--\x20[claude-code-args...]','Delay\x20in\x20seconds\x20before\x20execution','--enriched','Add\x20attributes\x20from\x20JSON\x20file','--chat-id\x20<id>','New\x20template\x20name','option','Create\x20segment\x20folder','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','padEnd','--starter-message\x20<text>','--result\x20<url>','engage','sessions\x20[project]','-H,\x20--header\x20<header>','campaign','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','--yes','Reason\x20for\x20killing\x20the\x20attempt','\x22.\x20Must\x20be\x20a\x20number.','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','--start-at\x20<datetime>','pull\x20[project]\x20[agent-name]','validate\x20[target]','Skip\x20population\x20counting','--editor-type\x20<type>','Transition\x20a\x20task\x20to\x20a\x20new\x20status','--table\x20<table>','create\x20[name]','update\x20<service_id>\x20[parent_segment]','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Scheduled\x20query\x20management\x20commands','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','Show\x20the\x20most\x20recent\x20chat','Show\x20journey\x20statistics','System\x20prompt/instructions\x20(default:\x20empty)','--behaviors\x20<json>','Include\x20raw\x20history\x20data\x20in\x20output','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','catch','attempt','List\x20all\x20users\x20in\x20the\x20account','Set\x20or\x20show\x20parent\x20segment\x20context','engage_workspace','test\x20[path]','--tags\x20<tags>','statusline','argv','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','Show\x20campaign\x20details','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','RT\x202.0\x20configuration\x20management','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','parents\x20[pattern]','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Set\x20a\x20profile\x20configuration\x20value','--agent\x20<ref>','workspace','required','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','get','Include\x20retried\x20attempts\x20(for\x20list)','--verbose','--invisible','Show\x20Kanban\x20board\x20view\x20of\x20tasks','use\x20[name]','Customer\x20group\x20as\x20JSON\x20string','--force','sql\x20[segment_name]','-f,\x20--file\x20<path>','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','--add-attributes\x20<json>','Personalization\x20management','Result\x20output\x20destination\x20URL','argumentTerm','upgrade','Maximum\x20rows\x20to\x20display','repeat','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','--sections\x20<json>','workflows\x20[project]','Workflow\x20project\x20management','--delete','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','List\x20available\x20connector\x20types','Database\x20name','\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','--from\x20<timestamp>','Create\x20a\x20workspace','[attempt-id]','Output\x20file\x20path\x20(default:\x20<name>.yml)','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Attributes\x20as\x20JSON\x20string','Updated\x20timezone','hook','Task\x20name\x20for\x20logs\x20action','delete\x20<args...>','Skip\x20confirmation\x20prompts','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','--description\x20<text>','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Generate\x20test\x20conversations\x20without\x20evaluation','Pull\x20specific\x20campaign\x20by\x20name','create\x20<name-or-path>','Job\x20priority\x20(-2\x20to\x202)','HTML\x20template\x20content','argument','push\x20[file]','--path\x20<file-path>','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Campaign\x20management','Kill\x20a\x20job','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','entries','--param\x20<key=value>','Delete\x20an\x20agent','Maximum\x20tool\x20iterations\x20(default:\x204)','run\x20<name>','[task-name]','usage','--allowed-ips\x20<ips>','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','schedule','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','--include-subtasks','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','noColor','-y,\x20--yes','--clear','traffic\x20<name-or-path>','push\x20[parent_or_file]','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','variadic','--account-name\x20<name>','exit','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','isArray','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','after','split','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Output\x20as\x20JSON\x20Lines','List\x20composable\x20audiences','Maximum\x20recursion\x20depth\x20(default:\x2010)','create\x20<name>','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','finish\x20<name-or-id>','--workspace\x20<name>','Include\x20all\x20items\x20(no\x20stale\x20filtering)','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','validate\x20[name]','Resume\x20a\x20paused\x20journey','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','models','description','--rule\x20<json>','-d,\x20--database\x20<db>','cas','--site\x20<site>','Make\x20segment\x20invisible\x20(default:\x20visible)','log','--schedule-option\x20<value>','New\x20campaign\x20name','List\x20composable\x20segments\x20for\x20an\x20audience','projects\x20[pattern]','Apply\x20a\x20template','Folder\x20name\x20for\x20organization','--public','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','configureHelp','grapesjs','flags','--result\x20<target>','Enable\x20verbose\x20logging','parse','Parent\x20segment\x20description','update\x20<segment_name>','--jsonl','create\x20<parent_name>\x20<folder_name>','resume_activations\x20<journeyId>','Assignee','Show\x20only\x20master\x20table\x20validation','format','--add-behaviors-file\x20<file>','options','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','-v,\x20--verbose','--include-history','Segment\x20description','stats\x20<name-or-path>','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','fields\x20[name]','types','Create\x20a\x20scheduled\x20query','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','table','Show\x20items\x20updated\x20within\x20N\x20days','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','Update\x20a\x20workspace','join','Custom\x20revision\x20name\x20(default:\x20timestamp)','\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','--master','Duplicate\x20a\x20campaign','Database\x20name\x20(default:\x20information_schema)','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','Output\x20file\x20path','Show\x20timeline\x20for\x20specific\x20attempt','DEBUG','Read\x20request\x20body\x20from\x20file','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','--audience-id\x20<id>','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','--add-attributes-file\x20<file>','--no-color','tdx\x20','Composable\x20audience\x20name','--new','-r,\x20--resume','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Personalization\x20name','Timezone\x20for\x20cron','subcommandDescription','Data\x20connection\x20management\x20(for\x20activations/exports)','--schedule-type\x20<type>','padWidth','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','resume\x20<name-or-path>','--prompt\x20<text>','Get\x20job\x20results','journey','pull\x20[workspace-name]','--no-proxy','--dry-run','List\x20secret\x20keys\x20for\x20a\x20project','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','Service\x20description','audience','describe\x20[table]','Continue\x20most\x20recent\x20conversation','--revision\x20<revision>','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','always-on-campaign','--body\x20<body>','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Submit\x20a\x20job','Push\x20without\x20confirmation','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Launch\x20a\x20campaign','desc\x20[name]','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Ending\x20offset\x20(default:\x2020)','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','Show\x20segment\x20schema\x20(column\x20types)','--stream','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Show\x20document\x20details','Resume\x20from\x20specific\x20task\x20(retry)','--from\x20<date>','Delivery\x20operations\x20(email\x20senders)','Attributes\x20from\x20JSON\x20file','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Show\x20schedule\x20execution\x20history','connection','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','query\x20[sql]','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','filter','show\x20<folder_ref>','--name\x20<text>','show\x20<name-or-id>','list\x20[project]','tasks','Agent\x20name','Campaign\x20description','optionTerm','profile','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','use\x20<name>','--folder\x20<name>','workflow','gitRevision','always-on-campaigns\x20[pattern]','alias','list','Create\x20a\x20new\x20agent\x20in\x20current\x20project','--time\x20<iso8601>','pull\x20[workspace]','Set\x20operation\x20timeout\x20in\x20seconds','--method\x20<pm>','isTTY','--table','Workspace\x20name\x20(required)','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','--database\x20<db>','Show\x20always-on\x20campaign\x20details','help','Show\x20journey\x20details','\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','llm','INVALID_ARGUMENT','TRACE','Preview\x20changes\x20without\x20pushing','Remove\x20API\x20key\x20from\x20system\x20keychain','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','pause\x20<name-or-id>','Show\x20master\x20table\x20sample\x20data','Options:','--segment\x20<path>','preview\x20<segment_name>','show\x20<personalization_id>','Include\x20execution\x20statistics','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','LLM\x20agent\x20management','\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','List\x20all\x20data\x20connections'];a2_0x290c=function(){return _0x5b5a77;};return a2_0x290c();}const policyCmd=program[a2_0x2781a5(0xee)]('policy')[a2_0x2781a5(0x1a0)]('Access\x20control\x20policy\x20commands');policyCmd[a2_0x2781a5(0x2d5)](async _0x5f8215=>{const _0x1a7c85=a2_0x2781a5,_0xdf10fd=new PolicyCommand(),_0x4623f2=program[_0x1a7c85(0x34f)](),_0x37b3a3=await createTDXInstance(_0x4623f2),_0x2b495a=await _0xdf10fd[_0x1a7c85(0x317)]({'options':{..._0x4623f2,..._0x5f8215},'args':[],'tdx':_0x37b3a3});gracefulExit(_0x2b495a);}),policyCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x229))['description'](a2_0x2781a5(0xb6))['action'](async _0x2dcee0=>{const _0x531c13=a2_0x2781a5,_0x4c5406=new PolicyListCommand(),_0x16d54e=program[_0x531c13(0x34f)](),_0x283f14=await createTDXInstance(_0x16d54e),_0x5d7849=await _0x4c5406['run']({'options':{..._0x16d54e,..._0x2dcee0},'args':[],'tdx':_0x283f14});gracefulExit(_0x5d7849);}),policyCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x2ed))['description'](a2_0x2781a5(0x1c4))[a2_0x2781a5(0x2d5)](async(_0x4df791,_0x346a24)=>{const _0x9bfde3=a2_0x2781a5,_0x4f33e4=new PolicyShowCommand(),_0x1420b5=program[_0x9bfde3(0x34f)](),_0xd8ed71=await createTDXInstance(_0x1420b5),_0x246eb3=await _0x4f33e4[_0x9bfde3(0x317)]({'options':{..._0x1420b5,..._0x346a24},'args':[_0x4df791],'tdx':_0xd8ed71});gracefulExit(_0x246eb3);}),program[a2_0x2781a5(0xee)](a2_0x2781a5(0x251))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0xab))['action'](async _0x13d5b1=>{const _0x5edc68=a2_0x2781a5,_0x262148=new ProfilesCommand(),_0x248a92=program[_0x5edc68(0x34f)](),_0x4f0d20=await _0x262148['run']({'options':{..._0x248a92,..._0x13d5b1},'args':[],'tdx':null});gracefulExit(_0x4f0d20);});const profileCmd=program[a2_0x2781a5(0xee)]('profile')[a2_0x2781a5(0x1a0)]('Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)');profileCmd[a2_0x2781a5(0x2d5)](()=>{const _0x1472d5=a2_0x2781a5;profileCmd[_0x1472d5(0xa6)]();});const profileListAction=async _0x1c25a9=>{const _0xc21105=a2_0x2781a5,_0x23e32a=new ProfilesCommand(),_0x3dc4f7=program[_0xc21105(0x34f)](),_0x1de28d=await _0x23e32a[_0xc21105(0x317)]({'options':{..._0x3dc4f7,..._0x1c25a9},'args':[],'tdx':null});gracefulExit(_0x1de28d);};profileCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x229))['description'](a2_0x2781a5(0xab))[a2_0x2781a5(0x2d5)](profileListAction),profileCmd['command'](a2_0x2781a5(0x11c))[a2_0x2781a5(0x1a0)]('Create\x20a\x20new\x20profile')['option'](a2_0x2781a5(0x18a),a2_0x2781a5(0xd6))[a2_0x2781a5(0x106)]('-f,\x20--force',a2_0x2781a5(0x2ac))[a2_0x2781a5(0x2c0)](a2_0x2781a5(0x18f),a2_0x2781a5(0xa5))[a2_0x2781a5(0x2d5)](async(_0x19b461,_0x13f96b)=>{const _0x2ed652=a2_0x2781a5,_0x47778e=new ProfileCreateCommand(),_0x1b11c3=program[_0x2ed652(0x34f)](),_0x14a6ab=await _0x47778e[_0x2ed652(0x317)]({'options':{..._0x1b11c3,..._0x13f96b},'args':_0x19b461?[_0x19b461]:[],'tdx':null});gracefulExit(_0x14a6ab);});async function profileDeleteAction(_0x7e52f2,_0x384452){const _0x3ac00b=a2_0x2781a5,_0x2ac7bd=new ProfileDeleteCommand(),_0xf35d86=program[_0x3ac00b(0x34f)](),_0x50102f=await _0x2ac7bd['run']({'options':{..._0xf35d86,..._0x384452},'args':[_0x7e52f2],'tdx':null});gracefulExit(_0x50102f);}profileCmd['command'](a2_0x2781a5(0x366))['description']('Delete\x20a\x20profile')[a2_0x2781a5(0x2c0)](a2_0x2781a5(0x18f),a2_0x2781a5(0x377))[a2_0x2781a5(0x2d5)](profileDeleteAction),profileCmd[a2_0x2781a5(0xee)]('remove\x20<name>',{'hidden':!![]})[a2_0x2781a5(0x2d5)](profileDeleteAction),profileCmd['command'](a2_0x2781a5(0xb1))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x13c))['addHelpText'](a2_0x2781a5(0x18f),a2_0x2781a5(0x37d))[a2_0x2781a5(0x2d5)](async(_0x5b6a86,_0x22f9af)=>{const _0x248fc4=a2_0x2781a5,_0x10ac1b=new ProfileSetCommand(),_0x252cb5=program[_0x248fc4(0x34f)](),_0x4033b7=await _0x10ac1b[_0x248fc4(0x317)]({'options':{..._0x252cb5,..._0x22f9af},'args':[_0x5b6a86],'tdx':null});gracefulExit(_0x4033b7);}),profileCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x223))[a2_0x2781a5(0x1a0)]('Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)')[a2_0x2781a5(0x106)]('--default','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x2781a5(0x2c0)](a2_0x2781a5(0x18f),a2_0x2781a5(0x2f3))[a2_0x2781a5(0x2d5)](async(_0x3e7236,_0x7722b5)=>{const _0x357455=a2_0x2781a5,_0x1ef1df=new ProfileUseCommand(),_0x3ccb8e=program['opts'](),_0x328f71=await _0x1ef1df[_0x357455(0x317)]({'options':{..._0x3ccb8e,..._0x7722b5},'args':[_0x3e7236],'tdx':null});gracefulExit(_0x328f71);});const engageCmd=program['command'](a2_0x2781a5(0x10c))[a2_0x2781a5(0x1a0)]('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x169b56=>{return async(_0x2f2fce,_0x43babc)=>{const _0x5c8224=a2_0x159d,_0x4aa61e=new _0x169b56(),_0x3a7a7d=program[_0x5c8224(0x34f)](),_0x46cea7=await createTDXInstance(_0x3a7a7d),_0x369ce7=await _0x4aa61e[_0x5c8224(0x317)]({'options':{..._0x3a7a7d,..._0x43babc},'args':[_0x2f2fce],'tdx':_0x46cea7});gracefulExit(_0x369ce7);};},createEngageNoArgAction=_0xb231a=>{return async _0x4525cb=>{const _0x5971ff=a2_0x159d,_0x5e0d1f=new _0xb231a(),_0x36df58=program[_0x5971ff(0x34f)](),_0x10d1cc=await createTDXInstance(_0x36df58),_0x902286=await _0x5e0d1f[_0x5971ff(0x317)]({'options':{..._0x36df58,..._0x4525cb},'args':[],'tdx':_0x10d1cc});gracefulExit(_0x902286);};},createEngageListAction=_0x3bcf38=>{return async(_0x501506,_0x36bf9b)=>{const _0x1a22ee=a2_0x159d,_0x57cc10=new _0x3bcf38(),_0x43c89d=program[_0x1a22ee(0x34f)](),_0x6f2933=await createTDXInstance(_0x43c89d),_0x5138c3=await _0x57cc10[_0x1a22ee(0x317)]({'options':{..._0x43c89d,..._0x36bf9b},'args':_0x501506?[_0x501506]:[],'tdx':_0x6f2933});gracefulExit(_0x5138c3);};},campaignCmd=engageCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x10f))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x173));campaignCmd[a2_0x2781a5(0xee)]('list\x20[pattern]')[a2_0x2781a5(0x1a0)]('List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')['option'](a2_0x2781a5(0x396),a2_0x2781a5(0x232))['option'](a2_0x2781a5(0x36d),a2_0x2781a5(0x34d))[a2_0x2781a5(0x106)](a2_0x2781a5(0x198),a2_0x2781a5(0x284))[a2_0x2781a5(0x2d5)](createEngageListAction(EngageCampaignsCommand)),engageCmd['command'](a2_0x2781a5(0x28d))[a2_0x2781a5(0x1a0)]('List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)')[a2_0x2781a5(0x106)]('--type\x20<type>',a2_0x2781a5(0x232))[a2_0x2781a5(0x106)](a2_0x2781a5(0x36d),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x2781a5(0x106)]('--workspace\x20<name>',a2_0x2781a5(0x284))['action'](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x21a))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x134))[a2_0x2781a5(0x106)]('--workspace\x20<name>',a2_0x2781a5(0x284))[a2_0x2781a5(0x106)](a2_0x2781a5(0xa0),a2_0x2781a5(0x2b1))['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x322))[a2_0x2781a5(0x1a0)]('Create\x20a\x20new\x20campaign')[a2_0x2781a5(0xcd)](a2_0x2781a5(0x2c2),a2_0x2781a5(0xc8))[a2_0x2781a5(0xcd)]('--type\x20<type>',a2_0x2781a5(0xbd))['option'](a2_0x2781a5(0x198),a2_0x2781a5(0x231))[a2_0x2781a5(0x106)](a2_0x2781a5(0x37b),a2_0x2781a5(0x21e))[a2_0x2781a5(0x106)](a2_0x2781a5(0x241),a2_0x2781a5(0x27a))[a2_0x2781a5(0x106)]('--email-sender-id\x20<id>',a2_0x2781a5(0x349))[a2_0x2781a5(0x106)](a2_0x2781a5(0x306),a2_0x2781a5(0x38f))[a2_0x2781a5(0x106)](a2_0x2781a5(0x115),a2_0x2781a5(0xc9))[a2_0x2781a5(0x106)](a2_0x2781a5(0xb8),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x2781a5(0x2d5)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd['command'](a2_0x2781a5(0x25b))['description'](a2_0x2781a5(0xa2))[a2_0x2781a5(0x106)](a2_0x2781a5(0x198),'Workspace\x20name')['option'](a2_0x2781a5(0x2c2),a2_0x2781a5(0x1a8))['option'](a2_0x2781a5(0x37b),a2_0x2781a5(0x21e))[a2_0x2781a5(0x106)]('--segment\x20<path>',a2_0x2781a5(0x27a))[a2_0x2781a5(0x106)](a2_0x2781a5(0x314),a2_0x2781a5(0x349))[a2_0x2781a5(0x106)](a2_0x2781a5(0x306),a2_0x2781a5(0x38f))[a2_0x2781a5(0x106)](a2_0x2781a5(0x115),a2_0x2781a5(0xc9))[a2_0x2781a5(0x106)](a2_0x2781a5(0xb8),a2_0x2781a5(0x1f3))[a2_0x2781a5(0x2d5)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x305))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0xdf))[a2_0x2781a5(0x106)](a2_0x2781a5(0x198),'Workspace\x20name')['option'](a2_0x2781a5(0x111),a2_0x2781a5(0x269))['action'](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command']('launch\x20<name-or-id>')['description'](a2_0x2781a5(0x200))['option'](a2_0x2781a5(0x198),a2_0x2781a5(0x284))['action'](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x23e))[a2_0x2781a5(0x1a0)]('Pause\x20a\x20campaign')[a2_0x2781a5(0x106)](a2_0x2781a5(0x198),'Workspace\x20name')['action'](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x2cb))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0xf0))[a2_0x2781a5(0x106)](a2_0x2781a5(0x198),a2_0x2781a5(0x284))[a2_0x2781a5(0x2d5)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command']('duplicate\x20<name-or-id>')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x1d1))[a2_0x2781a5(0x106)](a2_0x2781a5(0x198),a2_0x2781a5(0x284))[a2_0x2781a5(0x2d5)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x1ef))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x84))[a2_0x2781a5(0x106)](a2_0x2781a5(0x198),a2_0x2781a5(0x284))['option'](a2_0x2781a5(0x2c2),a2_0x2781a5(0x16b))[a2_0x2781a5(0x106)]('--type\x20<type>',a2_0x2781a5(0x232))['option'](a2_0x2781a5(0x1f1),a2_0x2781a5(0x2dc))[a2_0x2781a5(0x2d5)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x338))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x2c9))[a2_0x2781a5(0x106)]('--workspace\x20<name>',a2_0x2781a5(0x284))[a2_0x2781a5(0x106)](a2_0x2781a5(0x1f1),a2_0x2781a5(0x1bf))[a2_0x2781a5(0x2d5)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x117))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x9c))[a2_0x2781a5(0x106)](a2_0x2781a5(0x143),a2_0x2781a5(0x25a))['action'](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x1fa))['description']('Always-on\x20campaign\x20management');alwaysOnCampaignCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x292))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x153))[a2_0x2781a5(0x106)](a2_0x2781a5(0x396),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')['option'](a2_0x2781a5(0x36d),'Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')[a2_0x2781a5(0xcd)](a2_0x2781a5(0x198),'Workspace\x20name\x20(required)')['action'](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x227))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x359))['option']('--type\x20<type>',a2_0x2781a5(0x232))[a2_0x2781a5(0x106)](a2_0x2781a5(0x36d),a2_0x2781a5(0x363))[a2_0x2781a5(0xcd)](a2_0x2781a5(0x198),a2_0x2781a5(0x231))['action'](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x21a))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x234))['requiredOption'](a2_0x2781a5(0x198),'Workspace\x20name\x20(required)')[a2_0x2781a5(0x106)]('--full',a2_0x2781a5(0x2b1))[a2_0x2781a5(0x2d5)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd['command']('create')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x2e2))[a2_0x2781a5(0xcd)](a2_0x2781a5(0x2c2),a2_0x2781a5(0xc8))[a2_0x2781a5(0xcd)](a2_0x2781a5(0x396),'Campaign\x20type\x20(email\x20or\x20push)')['requiredOption'](a2_0x2781a5(0x198),a2_0x2781a5(0x231))[a2_0x2781a5(0x106)](a2_0x2781a5(0x37b),'Campaign\x20description')[a2_0x2781a5(0x106)]('--segment\x20<path>',a2_0x2781a5(0x17e))[a2_0x2781a5(0x106)](a2_0x2781a5(0xa3),'Enable\x20UTM\x20tracking')[a2_0x2781a5(0x2d5)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x25b))[a2_0x2781a5(0x1a0)]('Update\x20an\x20always-on\x20campaign')['requiredOption'](a2_0x2781a5(0x198),a2_0x2781a5(0x231))[a2_0x2781a5(0x106)]('--name\x20<name>',a2_0x2781a5(0x1a8))[a2_0x2781a5(0x106)](a2_0x2781a5(0x37b),'Campaign\x20description')['option']('--segment\x20<path>',a2_0x2781a5(0x17e))[a2_0x2781a5(0x106)](a2_0x2781a5(0xa3),'Enable\x20UTM\x20tracking')[a2_0x2781a5(0x2d5)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x305))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x2b3))[a2_0x2781a5(0xcd)](a2_0x2781a5(0x198),a2_0x2781a5(0x231))[a2_0x2781a5(0x106)](a2_0x2781a5(0x111),a2_0x2781a5(0x269))[a2_0x2781a5(0x2d5)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x2781a5(0xee)]('launch\x20<name-or-id>')['description'](a2_0x2781a5(0x26d))['requiredOption'](a2_0x2781a5(0x198),a2_0x2781a5(0x231))['action'](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x2781a5(0xee)]('pause\x20<name-or-id>')[a2_0x2781a5(0x1a0)]('Pause\x20an\x20always-on\x20campaign')[a2_0x2781a5(0xcd)](a2_0x2781a5(0x198),a2_0x2781a5(0x231))[a2_0x2781a5(0x2d5)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x2cb))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0xd0))[a2_0x2781a5(0xcd)]('--workspace\x20<name>',a2_0x2781a5(0x231))[a2_0x2781a5(0x2d5)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x197))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x7a))[a2_0x2781a5(0xcd)](a2_0x2781a5(0x198),a2_0x2781a5(0x231))[a2_0x2781a5(0x106)](a2_0x2781a5(0x111),a2_0x2781a5(0x269))[a2_0x2781a5(0x2d5)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x79))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x6d))['requiredOption'](a2_0x2781a5(0x198),'Workspace\x20name\x20(required)')[a2_0x2781a5(0xcd)](a2_0x2781a5(0x2c2),'Name\x20for\x20the\x20duplicated\x20campaign')[a2_0x2781a5(0x2d5)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x2781a5(0xee)]('template')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x288));templateCmd['command']('list\x20[pattern]')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x110))[a2_0x2781a5(0x106)](a2_0x2781a5(0x198),a2_0x2781a5(0x284))[a2_0x2781a5(0x2d5)](createEngageListAction(EngageTemplatesCommand)),engageCmd['command'](a2_0x2781a5(0x95))['description'](a2_0x2781a5(0x348))[a2_0x2781a5(0x106)](a2_0x2781a5(0x198),a2_0x2781a5(0x284))[a2_0x2781a5(0x2d5)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x21a))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x312))[a2_0x2781a5(0x106)](a2_0x2781a5(0x198),a2_0x2781a5(0x284))[a2_0x2781a5(0x106)](a2_0x2781a5(0xa0),a2_0x2781a5(0x2b1))['action'](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x322))[a2_0x2781a5(0x1a0)]('Create\x20an\x20email\x20template')[a2_0x2781a5(0xcd)](a2_0x2781a5(0x2c2),a2_0x2781a5(0xd4))[a2_0x2781a5(0xcd)](a2_0x2781a5(0x301),a2_0x2781a5(0x278))['option']('--html\x20<html>',a2_0x2781a5(0x16e))[a2_0x2781a5(0x106)](a2_0x2781a5(0x351),a2_0x2781a5(0x2bb))['option']('--workspace\x20<name>',a2_0x2781a5(0x231))[a2_0x2781a5(0x106)](a2_0x2781a5(0x2d4),a2_0x2781a5(0x369))['option'](a2_0x2781a5(0x119),'Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)',_0x1022a8=>{const _0x42d041=a2_0x2781a5;if(!['beefree',_0x42d041(0x1b0)][_0x42d041(0x360)](_0x1022a8))throw new SDKError(ErrorCode[_0x42d041(0x239)],_0x42d041(0x7c)+_0x1022a8+_0x42d041(0x160));return _0x1022a8;})[a2_0x2781a5(0x2d5)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd['command']('update\x20<name-or-id>')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x282))['option'](a2_0x2781a5(0x198),a2_0x2781a5(0x284))['option'](a2_0x2781a5(0x2c2),a2_0x2781a5(0x105))[a2_0x2781a5(0x106)](a2_0x2781a5(0x301),'Email\x20subject\x20template')[a2_0x2781a5(0x106)](a2_0x2781a5(0x33e),a2_0x2781a5(0x16e))[a2_0x2781a5(0x106)]('--html-file\x20<path>',a2_0x2781a5(0x2bb))[a2_0x2781a5(0x106)](a2_0x2781a5(0x2d4),a2_0x2781a5(0x369))[a2_0x2781a5(0x2d5)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x22c))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x9f))[a2_0x2781a5(0x106)](a2_0x2781a5(0x198),'Workspace\x20name')[a2_0x2781a5(0x106)]('--name\x20<name>','Pull\x20specific\x20template\x20by\x20name')[a2_0x2781a5(0x106)](a2_0x2781a5(0x184),a2_0x2781a5(0x269))['option'](a2_0x2781a5(0x1f1),'Show\x20what\x20would\x20be\x20written\x20without\x20writing')[a2_0x2781a5(0x2d5)](createEngageAction(EngageTemplatePullCommand)),templateCmd['command']('push\x20[target]')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x24d))['option'](a2_0x2781a5(0x198),a2_0x2781a5(0x284))[a2_0x2781a5(0x106)](a2_0x2781a5(0x184),a2_0x2781a5(0x269))['option'](a2_0x2781a5(0x1f1),a2_0x2781a5(0x1bf))[a2_0x2781a5(0x2d5)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x117))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x2cf))[a2_0x2781a5(0x106)](a2_0x2781a5(0x143),a2_0x2781a5(0x25a))[a2_0x2781a5(0x2d5)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x2781a5(0xee)]('delete\x20<name-or-id>')['description']('Delete\x20an\x20email\x20template')['option'](a2_0x2781a5(0x198),a2_0x2781a5(0x284))[a2_0x2781a5(0x106)](a2_0x2781a5(0x111),'Skip\x20confirmation\x20prompt')[a2_0x2781a5(0x2d5)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x13e))['description'](a2_0x2781a5(0x268));workspaceCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x292))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x172))[a2_0x2781a5(0x2d5)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x336))['description'](a2_0x2781a5(0x7b))[a2_0x2781a5(0x2d5)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x2781a5(0xee)]('show\x20<name-or-id>')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x274))['option']('--full',a2_0x2781a5(0x2b1))[a2_0x2781a5(0x2d5)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x322))['description'](a2_0x2781a5(0x15d))['requiredOption']('--name\x20<name>',a2_0x2781a5(0x284))[a2_0x2781a5(0x106)]('--description\x20<desc>','Workspace\x20description')[a2_0x2781a5(0x2d5)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd['command'](a2_0x2781a5(0x25b))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x1cc))[a2_0x2781a5(0x106)](a2_0x2781a5(0x2c2),a2_0x2781a5(0xb2))['option'](a2_0x2781a5(0x37b),a2_0x2781a5(0x253))[a2_0x2781a5(0x2d5)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x2781a5(0xee)]('delete\x20<name-or-id>')['description'](a2_0x2781a5(0x2e3))['option']('--yes',a2_0x2781a5(0x269))[a2_0x2781a5(0x2d5)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x2781a5(0xee)]('use\x20<name>')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x204))[a2_0x2781a5(0x2d5)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x2781a5(0xee)](a2_0x2781a5(0xe3))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x20e));deliveryCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x309))['description'](a2_0x2781a5(0x258))[a2_0x2781a5(0x106)]('--workspace\x20<name>',a2_0x2781a5(0x284))[a2_0x2781a5(0x2d5)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x2781a5(0xee)](a2_0x2781a5(0x212))['description'](a2_0x2781a5(0x1e6)),connectionListAction=async _0x1c7aaf=>{const _0x56de5b=a2_0x2781a5,_0x565fb5=new ConnectionListCommand(),_0x14921c=program['opts'](),_0x36b175=await createTDXInstance(_0x14921c),_0x1381c7=await _0x565fb5[_0x56de5b(0x317)]({'options':{..._0x14921c,..._0x1c7aaf},'args':[],'tdx':_0x36b175});gracefulExit(_0x1381c7);};connectionCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x229))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x249))['action'](connectionListAction),program[a2_0x2781a5(0xee)](a2_0x2781a5(0x325),{'hidden':!![]})[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x266))[a2_0x2781a5(0x2d5)](connectionListAction),connectionCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x264))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0xe5))[a2_0x2781a5(0x2d5)](async(_0x42e8b6,_0x2a1c85)=>{const _0x188734=a2_0x2781a5,_0x58f81c=new ConnectionShowCommand(),_0x40bb37=program[_0x188734(0x34f)](),_0x76e296=await createTDXInstance(_0x40bb37),_0x4d2cf1=await _0x58f81c['run']({'options':{..._0x40bb37,..._0x2a1c85},'args':[_0x42e8b6],'tdx':_0x76e296});gracefulExit(_0x4d2cf1);}),connectionCmd[a2_0x2781a5(0xee)]('schema\x20<type>')['description'](a2_0x2781a5(0x196))['action'](async(_0x367ed6,_0x2718e3)=>{const _0xb72a96=a2_0x2781a5,_0x5c93b9=new ConnectionSchemaCommand(),_0x5af74e=program[_0xb72a96(0x34f)](),_0x4ba65e=await createTDXInstance(_0x5af74e),_0x477ef5=await _0x5c93b9['run']({'options':{..._0x5af74e,..._0x2718e3},'args':[_0x367ed6],'tdx':_0x4ba65e});gracefulExit(_0x477ef5);}),connectionCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x1c6))['description'](a2_0x2781a5(0x159))[a2_0x2781a5(0x2d5)](async _0x1c9a94=>{const _0x3723cc=a2_0x2781a5,_0x77e0c=new ConnectionTypesCommand(),_0x321911=program[_0x3723cc(0x34f)](),_0x47131a=await createTDXInstance(_0x321911),_0x2cea1b=await _0x77e0c[_0x3723cc(0x317)]({'options':{..._0x321911,..._0x1c9a94},'args':[],'tdx':_0x47131a});gracefulExit(_0x2cea1b);}),connectionCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x263))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x2bd))['action'](async(_0x4e5d1a,_0x1a6ff0)=>{const _0x38af1a=a2_0x2781a5,_0x2e7068=new ConnectionSettingsCommand(),_0x23a91a=program['opts'](),_0x503e0c=await createTDXInstance(_0x23a91a),_0x47c148=await _0x2e7068[_0x38af1a(0x317)]({'options':{..._0x23a91a,..._0x1a6ff0},'args':[_0x4e5d1a],'tdx':_0x503e0c});gracefulExit(_0x47c148);});const casCmd=program[a2_0x2781a5(0xee)](a2_0x2781a5(0x1a3))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x139));casCmd['command'](a2_0x2781a5(0x229))['description'](a2_0x2781a5(0x193))['action'](async _0x1858f0=>{const _0x1d4a18=a2_0x2781a5,_0x577ccc=new CASListCommand(),_0x2cee85=program[_0x1d4a18(0x34f)](),_0x8b6a82=await createTDXInstance(_0x2cee85),_0x309b6d=await _0x577ccc[_0x1d4a18(0x317)]({'options':{..._0x2cee85,..._0x1858f0},'args':[],'tdx':_0x8b6a82});gracefulExit(_0x309b6d);}),casCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x201))['description'](a2_0x2781a5(0x29c))[a2_0x2781a5(0x2d5)](async(_0x4c0e14,_0x4b0e24)=>{const _0x42189e=a2_0x2781a5,_0x45df2b=new CASDescCommand(),_0x5c307e=program[_0x42189e(0x34f)](),_0x280b71=await createTDXInstance(_0x5c307e),_0x5f3519=await _0x45df2b[_0x42189e(0x317)]({'options':{..._0x5c307e,..._0x4b0e24},'args':_0x4c0e14?[_0x4c0e14]:[],'tdx':_0x280b71});gracefulExit(_0x5f3519);}),casCmd['command']('pull\x20[name]')['description']('Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x2781a5(0x106)](a2_0x2781a5(0xac),'Target\x20directory\x20for\x20YAML\x20files')[a2_0x2781a5(0x106)](a2_0x2781a5(0x1f1),'Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')[a2_0x2781a5(0x2d5)](async(_0x4b3e57,_0xdde8c4)=>{const _0x4a95f4=a2_0x2781a5,_0x5ca0fe=new CASPullCommand(),_0xf1ae96=program[_0x4a95f4(0x34f)](),_0x278bf8=await createTDXInstance(_0xf1ae96),_0x413155=await _0x5ca0fe[_0x4a95f4(0x317)]({'options':{..._0xf1ae96,..._0xdde8c4},'args':_0x4b3e57?[_0x4b3e57]:[],'tdx':_0x278bf8});gracefulExit(_0x413155);}),casCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x338))['description'](a2_0x2781a5(0x353))[a2_0x2781a5(0x106)](a2_0x2781a5(0x1f1),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')['action'](async(_0x29ad24,_0x4c0fb3)=>{const _0x4cc9cd=a2_0x2781a5,_0x3e4235=new CASPushCommand(),_0x376427=program[_0x4cc9cd(0x34f)](),_0x354c45=await createTDXInstance(_0x376427),_0x4da2ea=await _0x3e4235[_0x4cc9cd(0x317)]({'options':{..._0x376427,..._0x4c0fb3},'args':_0x29ad24?[_0x29ad24]:[],'tdx':_0x354c45});gracefulExit(_0x4da2ea);}),casCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x242))[a2_0x2781a5(0x1a0)]('Preview\x20composable\x20segment\x20query\x20on\x20CDW')['option'](a2_0x2781a5(0x364),a2_0x2781a5(0x1de))[a2_0x2781a5(0x2d5)](async(_0x4a8587,_0xd0e51e)=>{const _0x444f28=a2_0x2781a5,_0x46adbf=new CASPreviewCommand(),_0x491de3=program[_0x444f28(0x34f)](),_0x17f7f8=await createTDXInstance(_0x491de3),_0x54b4e7=await _0x46adbf[_0x444f28(0x317)]({'options':{..._0x491de3,..._0xd0e51e},'args':[_0x4a8587,_0xd0e51e[_0x444f28(0x1f5)]],'tdx':_0x17f7f8});gracefulExit(_0x54b4e7);});const casSgCmd=casCmd[a2_0x2781a5(0xee)]('sg')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x38e));casSgCmd[a2_0x2781a5(0xee)]('list\x20[audience_name]')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x1a9))[a2_0x2781a5(0x2d5)](async(_0x31a92d,_0x486c2a)=>{const _0x1aa6f4=a2_0x2781a5,_0x1b6bae=new CASSegmentListCommand(),_0x5d59e5=program[_0x1aa6f4(0x34f)](),_0x4d5e28=await createTDXInstance(_0x5d59e5),_0x277b84=await _0x1b6bae[_0x1aa6f4(0x317)]({'options':{..._0x5d59e5,..._0x486c2a},'args':_0x31a92d?[_0x31a92d]:[],'tdx':_0x4d5e28});gracefulExit(_0x277b84);});const journeyCmd=program[a2_0x2781a5(0xee)](a2_0x2781a5(0x1ee))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0xe1)),journeyListAction=async(_0x5ab20e,_0x3847c6)=>{const _0x30eb1e=a2_0x2781a5,_0x57349e=new JourneyListCommand(),_0x13f24a=program['opts'](),_0x19a511=await createTDXInstance(_0x13f24a),_0x11b81f=await _0x57349e[_0x30eb1e(0x317)]({'options':{..._0x13f24a,..._0x3847c6},'args':_0x5ab20e?[_0x5ab20e]:[],'tdx':_0x19a511});gracefulExit(_0x11b81f);};journeyCmd[a2_0x2781a5(0xee)]('list\x20[pattern]')[a2_0x2781a5(0x1a0)]('List\x20journeys\x20in\x20current\x20context')[a2_0x2781a5(0x2d5)](journeyListAction),journeyCmd['command'](a2_0x2781a5(0xb5))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x236))[a2_0x2781a5(0x106)](a2_0x2781a5(0x2fb),'Open\x20journey\x20in\x20web\x20browser')[a2_0x2781a5(0x106)](a2_0x2781a5(0x298),a2_0x2781a5(0x244))[a2_0x2781a5(0x2d5)](async(_0xf3d797,_0x20ccc3)=>{const _0x5d87ae=a2_0x2781a5,_0x2f7784=new JourneyViewCommand(),_0x53dd3a=program[_0x5d87ae(0x34f)](),_0xd7a9be=await createTDXInstance(_0x53dd3a),_0x2b0116=await _0x2f7784[_0x5d87ae(0x317)]({'options':{..._0x53dd3a,..._0x20ccc3},'args':[_0xf3d797],'tdx':_0xd7a9be});gracefulExit(_0x2b0116);}),journeyCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x1c3))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x125))[a2_0x2781a5(0x106)](a2_0x2781a5(0xf4),a2_0x2781a5(0x346))[a2_0x2781a5(0x106)](a2_0x2781a5(0x20d),a2_0x2781a5(0x29d))[a2_0x2781a5(0x106)](a2_0x2781a5(0x24a),a2_0x2781a5(0x2dd))[a2_0x2781a5(0x106)](a2_0x2781a5(0x1c1),a2_0x2781a5(0x128))[a2_0x2781a5(0x2d5)](async(_0x25fc93,_0x323f05)=>{const _0x192501=a2_0x2781a5,_0x547208=new JourneyStatsCommand(),_0x27cf64=program[_0x192501(0x34f)](),_0x142807=await createTDXInstance(_0x27cf64),_0x1a8934=await _0x547208[_0x192501(0x317)]({'options':{..._0x27cf64,..._0x323f05},'args':[_0x25fc93],'tdx':_0x142807});gracefulExit(_0x1a8934);}),journeyCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x186))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x373))[a2_0x2781a5(0x106)](a2_0x2781a5(0x396),a2_0x2781a5(0x385))[a2_0x2781a5(0x106)]('--from\x20<date>',a2_0x2781a5(0x29d))['option']('--to\x20<date>',a2_0x2781a5(0x2dd))[a2_0x2781a5(0x106)](a2_0x2781a5(0x2df),a2_0x2781a5(0xa8),_0x5a3541=>{const _0x1c1ec4=a2_0x2781a5,_0x47b474=parseInt(_0x5a3541,0xa);if(isNaN(_0x47b474))throw new Error(_0x1c1ec4(0xce)+_0x5a3541+_0x1c1ec4(0x113));return _0x47b474;})[a2_0x2781a5(0x2d5)](async(_0x4fa711,_0x22afef)=>{const _0x4ea144=a2_0x2781a5,_0x446b55=new JourneyTrafficCommand(),_0x2ebf5d=program['opts'](),_0x196ab5=await createTDXInstance(_0x2ebf5d),_0x20397c=await _0x446b55[_0x4ea144(0x317)]({'options':{..._0x2ebf5d,..._0x22afef},'args':[_0x4fa711],'tdx':_0x196ab5});gracefulExit(_0x20397c);}),journeyCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x2ec))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x2b5))['action'](async(_0x1e16cf,_0x342111)=>{const _0x37735a=a2_0x2781a5,_0x1275bd=new JourneyPauseCommand(),_0x58c5d9=program['opts'](),_0x48f15e=await createTDXInstance(_0x58c5d9),_0x4bbcc1=await _0x1275bd[_0x37735a(0x317)]({'options':{..._0x58c5d9,..._0x342111},'args':[_0x1e16cf],'tdx':_0x48f15e});gracefulExit(_0x4bbcc1);}),journeyCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x1eb))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x19d))[a2_0x2781a5(0x2d5)](async(_0x197197,_0x428904)=>{const _0x4f9296=a2_0x2781a5,_0x1aa8e0=new JourneyResumeCommand(),_0x5432f4=program[_0x4f9296(0x34f)](),_0x3f3ece=await createTDXInstance(_0x5432f4),_0x448393=await _0x1aa8e0[_0x4f9296(0x317)]({'options':{..._0x5432f4,..._0x428904},'args':[_0x197197],'tdx':_0x3f3ece});gracefulExit(_0x448393);}),journeyCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x2a5))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0xf6))[a2_0x2781a5(0x106)]('--dry-run',a2_0x2781a5(0xef))[a2_0x2781a5(0x2d5)](async(_0x69ccdf,_0x3e11b1)=>{const _0x465693=a2_0x2781a5,_0x35880b=new JourneyPullCommand(),_0x4b24c0=program[_0x465693(0x34f)](),_0x5b8c60=await createTDXInstance(_0x4b24c0),_0x251fd3=await _0x35880b[_0x465693(0x317)]({'options':{..._0x4b24c0,..._0x3e11b1},'args':_0x69ccdf?[_0x69ccdf]:[],'tdx':_0x5b8c60});gracefulExit(_0x251fd3);}),journeyCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x338))['description']('Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data')['action'](async(_0x16bab9,_0x20b80e)=>{const _0x4a42c2=a2_0x2781a5,_0x45326f=new JourneyPushCommand(),_0x46c027=program[_0x4a42c2(0x34f)](),_0x411e11=await createTDXInstance(_0x46c027),_0x24e807=await _0x45326f[_0x4a42c2(0x317)]({'options':{..._0x46c027,..._0x20b80e},'args':_0x16bab9?[_0x16bab9]:[],'tdx':_0x411e11});gracefulExit(_0x24e807);}),journeyCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x2f1))['description'](a2_0x2781a5(0x27b))[a2_0x2781a5(0x2d5)](async(_0x3579ac,_0x4a4f25)=>{const _0x4d9975=a2_0x2781a5,_0xf603f4=new JourneyColumnsCommand(),_0x31a591=program[_0x4d9975(0x34f)](),_0x1c52c8=await createTDXInstance(_0x31a591),_0x258ad9=await _0xf603f4[_0x4d9975(0x317)]({'options':{..._0x31a591,..._0x4a4f25},'args':[_0x3579ac],'tdx':_0x1c52c8});gracefulExit(_0x258ad9);}),journeyCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x26b))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x2f0))[a2_0x2781a5(0x2d5)](async(_0x2d7891,_0x566733)=>{const _0x35d9cf=a2_0x2781a5,_0x318448=new JourneyActivationsCommand(),_0x2e96e2=program['opts'](),_0x37a505=await createTDXInstance(_0x2e96e2),_0x68d140=await _0x318448[_0x35d9cf(0x317)]({'options':{..._0x2e96e2,..._0x566733},'args':[_0x2d7891],'tdx':_0x37a505});gracefulExit(_0x68d140);}),journeyCmd['command']('versions\x20<name-or-path>')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x2c5))[a2_0x2781a5(0x2d5)](async(_0x54fca8,_0x5ecf64)=>{const _0x205bc9=a2_0x2781a5,_0x46f684=new JourneyVersionsCommand(),_0x3bfdcc=program[_0x205bc9(0x34f)](),_0x568257=await createTDXInstance(_0x3bfdcc),_0x19d324=await _0x46f684[_0x205bc9(0x317)]({'options':{..._0x3bfdcc,..._0x5ecf64},'args':[_0x54fca8],'tdx':_0x568257});gracefulExit(_0x19d324);});const journeyVersionCmd=journeyCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x2af))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x37a));journeyVersionCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x16c))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x287))[a2_0x2781a5(0x2d5)](async(_0x499599,_0x551310)=>{const _0x3369b9=a2_0x2781a5,_0x7b4080=new JourneyVersionCreateCommand(),_0x2e138f=program['opts'](),_0x531bbc=await createTDXInstance(_0x2e138f),_0x73e5bd=await _0x7b4080[_0x3369b9(0x317)]({'options':{..._0x2e138f,..._0x551310},'args':[_0x499599],'tdx':_0x531bbc});gracefulExit(_0x73e5bd);}),journeyVersionCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0xb5))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x277))[a2_0x2781a5(0xcd)]('--version\x20<number>',a2_0x2781a5(0x99))['action'](async(_0x5f452e,_0x226b0f)=>{const _0x9c8bb3=a2_0x2781a5,_0x418939=new JourneyVersionViewCommand(),_0x2934fd=program['opts'](),_0x23614a=await createTDXInstance(_0x2934fd),_0x374ac9=await _0x418939[_0x9c8bb3(0x317)]({'options':{..._0x2934fd,..._0x226b0f},'args':[_0x5f452e],'tdx':_0x23614a});gracefulExit(_0x374ac9);}),journeyCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x117))[a2_0x2781a5(0x1a0)]('Validate\x20journey\x20YAML\x20files\x20locally')['action'](async(_0x5d0f1a,_0xdcc05)=>{const _0x355dd4=a2_0x2781a5,_0x47a175=new JourneyValidateCommand(),_0x361df1=program[_0x355dd4(0x34f)](),_0x59a81b=await createTDXInstance(_0x361df1),_0x1648bd=await _0x47a175[_0x355dd4(0x317)]({'options':{..._0x361df1,..._0xdcc05},'args':_0x5d0f1a?[_0x5d0f1a]:[],'tdx':_0x59a81b});gracefulExit(_0x1648bd);}),program['command']('journeys\x20[pattern]')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x30d))[a2_0x2781a5(0x2d5)](journeyListAction);const agentSyncCmd=program[a2_0x2781a5(0xee)](a2_0x2781a5(0xfd))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x247));agentSyncCmd['command'](a2_0x2781a5(0x116))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x285))['option']('-o,\x20--output\x20<dir>',a2_0x2781a5(0x2bf))[a2_0x2781a5(0x106)]('-f,\x20--force','Overwrite\x20local\x20changes\x20without\x20confirmation')[a2_0x2781a5(0x106)]('-a,\x20--agent\x20<name>','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)')[a2_0x2781a5(0x2d5)](async(_0x2c3671,_0x5dc3ee,_0x1249a8)=>{const _0x10d0bf=a2_0x2781a5,_0x1bc298=new AgentPullCommand(),_0x15bff7=program[_0x10d0bf(0x34f)](),_0x27b846=await createTDXInstance(_0x15bff7),_0x3971c5=[];if(_0x2c3671)_0x3971c5[_0x10d0bf(0xc0)](_0x2c3671);if(_0x5dc3ee)_0x3971c5[_0x10d0bf(0xc0)](_0x5dc3ee);const _0x2b68fd=await _0x1bc298[_0x10d0bf(0x317)]({'options':{..._0x15bff7,..._0x1249a8},'args':_0x3971c5,'tdx':_0x27b846});gracefulExit(_0x2b68fd);}),agentSyncCmd[a2_0x2781a5(0xee)]('push\x20[path]')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x19e))['option']('-f,\x20--force',a2_0x2781a5(0x1fe))[a2_0x2781a5(0x2d5)](async(_0x53f91c,_0xa4f590)=>{const _0x37240c=a2_0x2781a5,_0x1149b1=new AgentPushCommand(),_0x5cdfde=program[_0x37240c(0x34f)](),_0x32ce51=await createTDXInstance(_0x5cdfde),_0x28e39f=await _0x1149b1[_0x37240c(0x317)]({'options':{..._0x5cdfde,..._0xa4f590},'args':_0x53f91c?[_0x53f91c]:[],'tdx':_0x32ce51});gracefulExit(_0x28e39f);}),agentSyncCmd[a2_0x2781a5(0xee)]('clone\x20[source]')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0xb7))[a2_0x2781a5(0x106)]('-n,\x20--name\x20<name>',a2_0x2781a5(0x32b))[a2_0x2781a5(0x2d5)](async(_0x324619,_0x4c9768)=>{const _0x34d3e2=a2_0x2781a5,_0x10f321=new AgentCloneCommand(),_0x19a8be=program[_0x34d3e2(0x34f)](),_0x17c4ac=await createTDXInstance(_0x19a8be),_0x13d0bf=await _0x10f321[_0x34d3e2(0x317)]({'options':{..._0x19a8be,..._0x4c9768},'args':_0x324619?[_0x324619]:[],'tdx':_0x17c4ac});gracefulExit(_0x13d0bf);}),agentSyncCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x12f))[a2_0x2781a5(0x1a0)]('Run\x20tests\x20for\x20an\x20LLM\x20agent')[a2_0x2781a5(0x106)](a2_0x2781a5(0xf5),a2_0x2781a5(0x2d7))['option'](a2_0x2781a5(0x130),a2_0x2781a5(0x321))[a2_0x2781a5(0x106)]('--dry-run',a2_0x2781a5(0x2a2))[a2_0x2781a5(0x106)](a2_0x2781a5(0x36b),a2_0x2781a5(0x16a))[a2_0x2781a5(0x106)]('--reeval',a2_0x2781a5(0x1d8))[a2_0x2781a5(0x2d5)](async(_0x362015,_0x40bfc4)=>{const _0x417972=a2_0x2781a5,_0x5b955e=new AgentTestCommand(),_0x59b1ea=program[_0x417972(0x34f)](),_0x303d04=await createTDXInstance(_0x59b1ea),_0x4ea95e=await _0x5b955e['run']({'options':{..._0x59b1ea,..._0x40bfc4},'args':_0x362015?[_0x362015]:[],'tdx':_0x303d04});gracefulExit(_0x4ea95e);}),agentSyncCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x292))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x6c))[a2_0x2781a5(0x2d5)](llmAgentListAction),agentSyncCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x2c1))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0xd5))[a2_0x2781a5(0x2d5)](async(_0x59a45c,_0x1fc8b7)=>{const _0x410fd6=a2_0x2781a5,_0x205894=new LLMAgentShowCommand(),_0x2e5a49=program[_0x410fd6(0x34f)](),_0x474a04=await createTDXInstance(_0x2e5a49),_0x47c7dd=await _0x205894[_0x410fd6(0x317)]({'options':{..._0x2e5a49,..._0x1fc8b7},'args':[_0x59a45c],'tdx':_0x474a04});gracefulExit(_0x47c7dd);}),agentSyncCmd[a2_0x2781a5(0xee)]('create\x20<name>')['description'](a2_0x2781a5(0x22a))[a2_0x2781a5(0x106)](a2_0x2781a5(0x68),a2_0x2781a5(0x126))['option'](a2_0x2781a5(0x2e4),'Model\x20type\x20(default:\x20claude-4.5-sonnet)','claude-4.5-sonnet')[a2_0x2781a5(0x106)]('--starter-message\x20<text>',a2_0x2781a5(0x9a))[a2_0x2781a5(0x106)](a2_0x2781a5(0x91),a2_0x2781a5(0x179),'4')[a2_0x2781a5(0x106)]('--temperature\x20<n>',a2_0x2781a5(0x191),a2_0x2781a5(0x354))[a2_0x2781a5(0x2d5)](async(_0xb5009,_0x37dba6)=>{const _0x344f5c=a2_0x2781a5,_0x4ae54b=new LLMAgentCreateCommand(),_0x36a6df=program[_0x344f5c(0x34f)](),_0x53ef1d=await createTDXInstance(_0x36a6df),_0x55350b=await _0x4ae54b[_0x344f5c(0x317)]({'options':{..._0x36a6df,..._0x37dba6},'args':[_0xb5009],'tdx':_0x53ef1d});gracefulExit(_0x55350b);}),agentSyncCmd['command'](a2_0x2781a5(0xc6))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x392))[a2_0x2781a5(0x106)](a2_0x2781a5(0x219),a2_0x2781a5(0x21d))[a2_0x2781a5(0x106)](a2_0x2781a5(0x1ec),'Agent\x20prompt/instructions')['option'](a2_0x2781a5(0x168),a2_0x2781a5(0xf7))['option'](a2_0x2781a5(0x10a),'Starter\x20message')['action'](async(_0x2ce643,_0x38835f)=>{const _0x10c948=a2_0x2781a5,_0x543873=new LLMAgentUpdateCommand(),_0x257560=program[_0x10c948(0x34f)](),_0x4fcb2d=await createTDXInstance(_0x257560),_0x4eb7ab=await _0x543873[_0x10c948(0x317)]({'options':{..._0x257560,..._0x38835f},'args':[_0x2ce643],'tdx':_0x4fcb2d});gracefulExit(_0x4eb7ab);}),agentSyncCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x2f9))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x178))['action'](async(_0x7eed75,_0x206d3d)=>{const _0x50a4ac=a2_0x2781a5,_0x157b0a=new LLMAgentDeleteCommand(),_0x16883e=program[_0x50a4ac(0x34f)](),_0x20559d=await createTDXInstance(_0x16883e),_0x17c2ee=await _0x157b0a[_0x50a4ac(0x317)]({'options':{..._0x16883e,..._0x206d3d},'args':[_0x7eed75],'tdx':_0x20559d});gracefulExit(_0x17c2ee);});const workCmd=program['command'](a2_0x2781a5(0x98))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x315));workCmd[a2_0x2781a5(0x106)](a2_0x2781a5(0x39a),a2_0x2781a5(0x1ca))[a2_0x2781a5(0x106)]('--all',a2_0x2781a5(0x199))[a2_0x2781a5(0x2d5)](workSummaryAction),workCmd[a2_0x2781a5(0xee)]('init\x20[name]')[a2_0x2781a5(0x1a0)]('Initialize\x20a\x20new\x20workspace')[a2_0x2781a5(0x106)](a2_0x2781a5(0x87),a2_0x2781a5(0xbe))['action'](workInitAction),workCmd['command'](a2_0x2781a5(0x24f))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x34a))[a2_0x2781a5(0x106)](a2_0x2781a5(0x257),a2_0x2781a5(0x262),a2_0x2781a5(0x275))[a2_0x2781a5(0x106)]('--tags\x20<tags>',a2_0x2781a5(0x27d))[a2_0x2781a5(0x106)](a2_0x2781a5(0x283),a2_0x2781a5(0x2d9))[a2_0x2781a5(0x106)](a2_0x2781a5(0x1fb),a2_0x2781a5(0xd2))['option']('--template\x20<name>',a2_0x2781a5(0x1ab))[a2_0x2781a5(0x106)]('--status\x20<status>',a2_0x2781a5(0x399))[a2_0x2781a5(0x106)](a2_0x2781a5(0xae),a2_0x2781a5(0x1ba))[a2_0x2781a5(0x2d5)](workNewAction),workCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x38c))['description'](a2_0x2781a5(0x11a))['action'](workMoveAction),workCmd[a2_0x2781a5(0xee)](a2_0x2781a5(0x2f6))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x145))[a2_0x2781a5(0x106)](a2_0x2781a5(0x39a),a2_0x2781a5(0x1ca))[a2_0x2781a5(0x106)](a2_0x2781a5(0x2a1),a2_0x2781a5(0x199))[a2_0x2781a5(0x2d5)](workBoardAction),workCmd['command'](a2_0x2781a5(0x264))[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x20b))['action'](workShowAction),workCmd[a2_0x2781a5(0xee)]('links\x20<name>')[a2_0x2781a5(0x1a0)](a2_0x2781a5(0x357))[a2_0x2781a5(0x2d5)](workLinksAction),workCmd[a2_0x2781a5(0xee)]('open\x20<name>')['description']('Open\x20a\x20document\x20in\x20$EDITOR')[a2_0x2781a5(0x2d5)](workOpenAction),program[a2_0x2781a5(0xee)](a2_0x2781a5(0x330),{'hidden':!![]})['action'](()=>{const _0x2e219a=a2_0x2781a5;function _0x4a4343(_0x2668cd,_0x1ba0d1){const _0x102bfa=a2_0x159d,_0x4c436d=[];for(const _0x5179fd of _0x2668cd[_0x102bfa(0x2f7)]){if(_0x5179fd['_hidden'])continue;const _0x1e412f=_0x1ba0d1?_0x1ba0d1+'\x20'+_0x5179fd[_0x102bfa(0x328)]():_0x5179fd['name'](),_0x4f367f=_0x1e412f[_0x102bfa(0x190)]('\x20')[0x0],_0x45a18e=COMMAND_CATEGORIES['find'](_0x21d387=>_0x21d387[_0x102bfa(0x2f7)][_0x102bfa(0x360)](_0x4f367f)),_0x43c2d8=_0x45a18e?.['name']??'';if(_0x5179fd[_0x102bfa(0x2f7)][_0x102bfa(0x8c)]>0x0)_0x4c436d['push'](..._0x4a4343(_0x5179fd,_0x1e412f));else{const _0xd86688=(_0x5179fd[_0x102bfa(0x370)]||[])[_0x102bfa(0x331)](_0x50509d=>{const _0x6a0f4b=_0x102bfa,_0x318e75=_0x50509d[_0x6a0f4b(0x189)]?_0x50509d['name']()+'...':_0x50509d[_0x6a0f4b(0x328)]();return _0x50509d[_0x6a0f4b(0x13f)]?'<'+_0x318e75+'>':'['+_0x318e75+']';})['join']('\x20'),_0x322a26=_0x5179fd[_0x102bfa(0x1be)][_0x102bfa(0x217)](_0x5327a5=>!_0x5327a5[_0x102bfa(0x80)]&&_0x5327a5[_0x102bfa(0xd9)]!=='--help')[_0x102bfa(0x331)](_0x230a30=>({'flags':_0x230a30[_0x102bfa(0x1b1)],'description':_0x230a30[_0x102bfa(0x1a0)]}));_0x4c436d[_0x102bfa(0xc0)]({'name':_0x1e412f,'description':_0x5179fd[_0x102bfa(0x1a0)](),'group':_0x43c2d8,'usage':_0xd86688,'options':_0x322a26});}}return _0x4c436d;}console[_0x2e219a(0x1a6)](JSON[_0x2e219a(0x2e7)](_0x4a4343(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x2438f7=a2_0x2781a5,_0x4a747d=!process[_0x2438f7(0x132)][_0x2438f7(0x386)](0x2)[_0x2438f7(0x8c)];showBriefHelp=_0x4a747d,program[_0x2438f7(0x1b4)](process[_0x2438f7(0x132)]);_0x4a747d&&program['outputHelp']();const _0x56564f=process[_0x2438f7(0x132)][0x2]===_0x2438f7(0x150);if(process[_0x2438f7(0x36f)][_0x2438f7(0x22f)]&&process[_0x2438f7(0x132)][_0x2438f7(0x8c)]>0x2&&!isDevVersion()&&!_0x56564f){const _0xeabb03=loadReleaseChannel();checkForUpdate(currentVersion,_0xeabb03)[_0x2438f7(0x347)](_0x5d5384=>{_0x5d5384&&displayUpdateNotification(_0x5d5384);})[_0x2438f7(0x12a)](()=>{});}}
|