@treasuredata/tdx 2026.4.14 → 2026.4.16
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_0x43cca1=a2_0x390f;(function(_0x1cc9b4,_0x505dba){const _0x2bddec=a2_0x390f,_0x206373=_0x1cc9b4();while(!![]){try{const _0x19d55e=parseInt(_0x2bddec(0x1a2))/0x1*(-parseInt(_0x2bddec(0x1a1))/0x2)+parseInt(_0x2bddec(0x3ff))/0x3*(parseInt(_0x2bddec(0x2d9))/0x4)+-parseInt(_0x2bddec(0x1c9))/0x5+-parseInt(_0x2bddec(0x401))/0x6*(parseInt(_0x2bddec(0x360))/0x7)+parseInt(_0x2bddec(0x2e6))/0x8*(parseInt(_0x2bddec(0x28b))/0x9)+-parseInt(_0x2bddec(0x380))/0xa*(-parseInt(_0x2bddec(0x184))/0xb)+parseInt(_0x2bddec(0x355))/0xc;if(_0x19d55e===_0x505dba)break;else _0x206373['push'](_0x206373['shift']());}catch(_0xeee58e){_0x206373['push'](_0x206373['shift']());}}}(a2_0x1e14,0xf022b));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_0x43cca1(0x22a)](a2_0x43cca1(0x2e0))){let versionOutput=a2_0x43cca1(0x366)+currentVersion;buildInfo['gitRevision']&&!currentVersion[a2_0x43cca1(0x22a)](buildInfo[a2_0x43cca1(0x31d)])&&(versionOutput+='\x20('+buildInfo[a2_0x43cca1(0x31d)]+')'),buildInfo['buildTime']&&(versionOutput+=a2_0x43cca1(0x1f6)+buildInfo['buildTime']),console[a2_0x43cca1(0x168)](versionOutput),process['exit'](0x0);}const program=new Command();export function mergeCommandOptions(_0x4b2c8d,_0x45ef88){const _0x29f79f={..._0x4b2c8d};for(const [_0xe8a25a,_0x52a259]of Object['entries'](_0x45ef88)){_0x52a259!==undefined&&(_0x29f79f[_0xe8a25a]=_0x52a259);}return _0x29f79f;}let showBriefHelp=![],description=a2_0x43cca1(0x400);buildInfo[a2_0x43cca1(0x31d)]&&!currentVersion[a2_0x43cca1(0x22a)](buildInfo[a2_0x43cca1(0x31d)])?description+=a2_0x43cca1(0x456)+currentVersion+'\x20('+buildInfo[a2_0x43cca1(0x31d)]+')':description+=',\x20version\x20'+currentVersion;program[a2_0x43cca1(0x284)](a2_0x43cca1(0x1d3))[a2_0x43cca1(0x33c)](description),program[a2_0x43cca1(0x149)](a2_0x43cca1(0x2be),a2_0x43cca1(0x3d5))[a2_0x43cca1(0x149)](a2_0x43cca1(0x349),'Profile\x20to\x20use\x20(overrides\x20active\x20profile)')['option'](a2_0x43cca1(0x182),a2_0x43cca1(0x2ce),a2_0x43cca1(0x195))[a2_0x43cca1(0x149)](a2_0x43cca1(0x325),a2_0x43cca1(0x21e))[a2_0x43cca1(0x149)](a2_0x43cca1(0x1fe),a2_0x43cca1(0x3b9))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2ef),a2_0x43cca1(0x2db))[a2_0x43cca1(0x149)]('--jsonl','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')[a2_0x43cca1(0x149)](a2_0x43cca1(0x36e),'Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)')[a2_0x43cca1(0x149)](a2_0x43cca1(0x454),a2_0x43cca1(0x405))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2f0),'Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)')[a2_0x43cca1(0x149)](a2_0x43cca1(0x281),'Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0x43cca1(0x149)](a2_0x43cca1(0x2b0),a2_0x43cca1(0x3db),![])[a2_0x43cca1(0x149)](a2_0x43cca1(0x1b6),a2_0x43cca1(0x2bd),![])[a2_0x43cca1(0x149)](a2_0x43cca1(0x3ec),a2_0x43cca1(0x170))[a2_0x43cca1(0x149)](a2_0x43cca1(0x22e),'Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')[a2_0x43cca1(0x149)](a2_0x43cca1(0x46e),'Set\x20operation\x20timeout\x20in\x20seconds','30')[a2_0x43cca1(0x149)]('--dry-run',a2_0x43cca1(0x1c2),![])[a2_0x43cca1(0x149)](a2_0x43cca1(0x32e),a2_0x43cca1(0x151),![])[a2_0x43cca1(0x149)]('--session\x20<id>',a2_0x43cca1(0x367))['option']('--parent-segment\x20<name>',a2_0x43cca1(0x3ab))['option'](a2_0x43cca1(0x186),a2_0x43cca1(0x14a)),program[a2_0x43cca1(0x447)]({'formatHelp':(_0x223532,_0x4b8d91)=>{const _0x50e90d=a2_0x43cca1,_0x2dcf43=_0x4b8d91[_0x50e90d(0x317)](_0x223532,_0x4b8d91),_0x31179=0x2,_0x238ff0=0x2;function _0x4c2a4e(_0x3379cc){const _0x45dd64=_0x50e90d,_0x2d76a9=_0x3379cc;return!!(_0x2d76a9[_0x45dd64(0x20d)]||_0x2d76a9[_0x45dd64(0x270)]);}function _0x1364c5(_0x3a226d,_0x1f9e72){const _0x3179c0=_0x50e90d;if(_0x1f9e72){const _0x30dd84=''+_0x3a226d[_0x3179c0(0x290)](_0x2dcf43+_0x238ff0)+_0x1f9e72;return _0x30dd84;}return _0x3a226d;}function _0x2873ee(_0x1efce4){const _0x2950ae=_0x50e90d;return _0x1efce4[_0x2950ae(0x3e0)]('\x0a')[_0x2950ae(0x3c7)](/^/gm,'\x20'['repeat'](_0x31179));}const _0x58dcdb=[];_0x58dcdb['push'](_0x50e90d(0x3a8)+_0x4b8d91['commandUsage'](_0x223532));const _0x24e65d=_0x4b8d91[_0x50e90d(0x472)](_0x223532);_0x24e65d&&(_0x58dcdb[_0x50e90d(0x38c)](''),_0x58dcdb[_0x50e90d(0x38c)](_0x24e65d));const _0x283328=_0x223532['commands'][_0x50e90d(0x280)](_0x1ac9da=>!_0x4c2a4e(_0x1ac9da));if(_0x283328['length']>0x0){if(_0x223532[_0x50e90d(0x284)]()===_0x50e90d(0x1d3)){const _0x15cd73=_0x223532[_0x50e90d(0x33d)](),_0x2d39f5=!_0x15cd73[_0x50e90d(0x462)]&&process[_0x50e90d(0x27d)][_0x50e90d(0x231)],_0x450432=COMMAND_CATEGORIES,_0x590fb7=(_0x567401,_0x433aa6)=>_0x2d39f5?_0x433aa6(_0x567401):_0x567401,_0x1d5fac=new Map();_0x283328[_0x50e90d(0x16a)](_0x15bdf5=>{const _0x250b41=_0x50e90d;_0x1d5fac[_0x250b41(0x392)](_0x15bdf5[_0x250b41(0x284)](),_0x15bdf5);}),_0x450432[_0x50e90d(0x16a)](_0x1f23dc=>{const _0x19f3ef=_0x50e90d,_0x293763=_0x1f23dc[_0x19f3ef(0x29d)][_0x19f3ef(0x224)](_0x5c8d71=>_0x1d5fac['get'](_0x5c8d71)??[]);if(_0x293763[_0x19f3ef(0x329)]>0x0){_0x58dcdb[_0x19f3ef(0x38c)](''),_0x58dcdb[_0x19f3ef(0x38c)](_0x590fb7(_0x1f23dc['name']+':',_0x1f23dc[_0x19f3ef(0x2f9)]));const _0x5b8474=_0x293763[_0x19f3ef(0x41f)](_0x4f330a=>{const _0x290652=_0x19f3ef,_0x1fd015=_0x4b8d91[_0x290652(0x2e7)](_0x4f330a),_0x8cc228=_0x4b8d91[_0x290652(0x250)](_0x4f330a);return _0x1364c5(_0x1fd015,_0x8cc228);});_0x58dcdb[_0x19f3ef(0x38c)](_0x2873ee(_0x5b8474));}}),_0x58dcdb['push'](''),_0x58dcdb[_0x50e90d(0x38c)](_0x50e90d(0x1b9));}else{const _0x2c4de6=_0x283328[_0x50e90d(0x41f)](_0x5a9b45=>{const _0x190155=_0x50e90d,_0x164c85=_0x4b8d91[_0x190155(0x2e7)](_0x5a9b45),_0x342df1=_0x4b8d91[_0x190155(0x250)](_0x5a9b45);return _0x1364c5(_0x164c85,_0x342df1);});_0x58dcdb[_0x50e90d(0x38c)](''),_0x58dcdb[_0x50e90d(0x38c)](_0x50e90d(0x232)),_0x58dcdb[_0x50e90d(0x38c)](_0x2873ee(_0x2c4de6));}}if(showBriefHelp&&_0x223532[_0x50e90d(0x284)]()===_0x50e90d(0x1d3))_0x58dcdb['push'](''),_0x58dcdb[_0x50e90d(0x38c)]('Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version');else{const _0x4faf71=_0x223532[_0x50e90d(0x31f)][_0x50e90d(0x280)](_0x4e2a4e=>!_0x4c2a4e(_0x4e2a4e));if(_0x4faf71[_0x50e90d(0x329)]>0x0){const _0x96db77=_0x4faf71[_0x50e90d(0x41f)](_0x2bf76b=>{const _0x19cb5d=_0x50e90d,_0x25bb9f=_0x4b8d91[_0x19cb5d(0x243)](_0x2bf76b),_0x1a6a8e=_0x4b8d91[_0x19cb5d(0x19d)](_0x2bf76b);return _0x1364c5(_0x25bb9f,_0x1a6a8e);});_0x58dcdb[_0x50e90d(0x38c)](''),_0x58dcdb[_0x50e90d(0x38c)]('Options:'),_0x58dcdb['push'](_0x2873ee(_0x96db77));}}const _0x5480de=(_0x223532[_0x50e90d(0x376)]||[])[_0x50e90d(0x280)](_0x2df2d7=>!_0x4c2a4e(_0x2df2d7));if(_0x5480de['length']>0x0){const _0x3817c1=_0x5480de[_0x50e90d(0x41f)](_0x1420c9=>{const _0x5293f4=_0x50e90d,_0x6417e0=_0x4b8d91[_0x5293f4(0x22c)](_0x1420c9),_0x133773=_0x4b8d91[_0x5293f4(0x203)](_0x1420c9);return _0x1364c5(_0x6417e0,_0x133773);});_0x58dcdb[_0x50e90d(0x38c)](''),_0x58dcdb['push'](_0x50e90d(0x175)),_0x58dcdb['push'](_0x2873ee(_0x3817c1));}return _0x58dcdb[_0x50e90d(0x3e0)]('\x0a')+'\x0a';},'subcommandTerm':_0x3d0b27=>{const _0x5b540b=a2_0x43cca1,_0x1fdf98=(_0x3d0b27[_0x5b540b(0x376)]||[])[_0x5b540b(0x41f)](_0x56a129=>_0x56a129[_0x5b540b(0x3cf)]?'<'+_0x56a129[_0x5b540b(0x284)]()+'>':'['+_0x56a129[_0x5b540b(0x284)]()+']')['join']('\x20'),_0x369e36=_0x3d0b27[_0x5b540b(0x46d)](),_0xb3b9b7=_0x369e36[_0x5b540b(0x329)]>0x0?_0x3d0b27[_0x5b540b(0x284)]()+',\x20'+_0x369e36[_0x5b540b(0x3e0)](',\x20'):_0x3d0b27['name']();return _0x1fdf98?_0xb3b9b7+'\x20'+_0x1fdf98:_0xb3b9b7;}}),program['hook'](a2_0x43cca1(0x1e1),_0x4e81e6=>{const _0x48346b=a2_0x43cca1,_0x45a48f=_0x4e81e6[_0x48346b(0x33d)]();if(_0x45a48f['directory']){const _0x2e6594=resolve(_0x45a48f[_0x48346b(0x3b5)]),_0x3ac845=_0x2e6594!==_0x45a48f[_0x48346b(0x3b5)]?_0x48346b(0x2aa)+_0x2e6594+')':'';if(!existsSync(_0x2e6594))throw new SDKError(ErrorCode[_0x48346b(0x2c3)],_0x48346b(0x38e)+_0x45a48f['directory']+_0x3ac845,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0xe863ba=statSync(_0x2e6594);if(!_0xe863ba[_0x48346b(0x299)]())throw new SDKError(ErrorCode[_0x48346b(0x2c3)],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x45a48f[_0x48346b(0x3b5)]+_0x3ac845,undefined,{'helpText':'The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.'});process[_0x48346b(0x315)](_0x2e6594);}if(!_0x45a48f[_0x48346b(0x389)]){if(_0x45a48f[_0x48346b(0x1df)])_0x45a48f[_0x48346b(0x389)]=_0x48346b(0x1df);else{if(_0x45a48f[_0x48346b(0x18a)])_0x45a48f[_0x48346b(0x389)]=_0x48346b(0x18a);else{if(_0x45a48f[_0x48346b(0x311)])_0x45a48f[_0x48346b(0x389)]=_0x48346b(0x311);else _0x45a48f[_0x48346b(0x1e6)]&&(_0x45a48f[_0x48346b(0x389)]=_0x48346b(0x1e6));}}}if(_0x45a48f['trace'])_0x45a48f[_0x48346b(0x188)]=LogLevel[_0x48346b(0x207)];else{if(_0x45a48f[_0x48346b(0x285)])_0x45a48f[_0x48346b(0x188)]=LogLevel[_0x48346b(0x1a7)];else _0x45a48f[_0x48346b(0x188)]===undefined&&(_0x45a48f[_0x48346b(0x188)]=LogLevel['INFO']);}});async function createTDXInstance(_0x5adee1){const _0x42577a=a2_0x43cca1,_0x2077e4=await GlobalContext['createAsync'](_0x5adee1);_0x2077e4[_0x42577a(0x2fd)](_0x5adee1);const _0x15d2b4=Number(_0x5adee1[_0x42577a(0x406)]),_0x48dbf0=!isNaN(_0x15d2b4)&&_0x15d2b4>0x0?_0x15d2b4*0x3e8:undefined;return TDX[_0x42577a(0x322)]({'site':_0x2077e4['site'],'apiKey':_0x2077e4[_0x42577a(0x396)],'accessToken':_0x2077e4[_0x42577a(0x435)],'logLevel':_0x2077e4[_0x42577a(0x188)],'profile':_0x2077e4[_0x42577a(0x385)],'timeout':_0x48dbf0});}const databaseCmd=program[a2_0x43cca1(0x177)](a2_0x43cca1(0x33b))[a2_0x43cca1(0x32f)]('db')['description'](a2_0x43cca1(0x26e)),databaseListAction=async(_0x2058aa,_0x50c253)=>{const _0x169198=new DatabasesCommand(),_0x5af1df=program['opts'](),_0x186a5b=await createTDXInstance(_0x5af1df),_0x19acf8=await _0x169198['run']({'options':{..._0x5af1df,..._0x50c253},'args':_0x2058aa?[_0x2058aa]:[],'tdx':_0x186a5b});gracefulExit(_0x19acf8);};databaseCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2ec))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x2c2))[a2_0x43cca1(0x37b)](databaseListAction),program[a2_0x43cca1(0x177)](a2_0x43cca1(0x1d8),{'hidden':!![]})['description']('List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)')[a2_0x43cca1(0x37b)](databaseListAction),program[a2_0x43cca1(0x177)](a2_0x43cca1(0x403))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x328))[a2_0x43cca1(0x149)]('--agent\x20<ref>','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)')[a2_0x43cca1(0x149)](a2_0x43cca1(0x302),'Start\x20a\x20new\x20chat\x20session')[a2_0x43cca1(0x149)](a2_0x43cca1(0x1c6),a2_0x43cca1(0x16f))[a2_0x43cca1(0x149)]('--stream',a2_0x43cca1(0x469))['action'](async(_0x44c669,_0xd23d11)=>{const _0x4de084=a2_0x43cca1,_0x313de6=program[_0x4de084(0x33d)](),_0x1f5893=await createTDXInstance(_0x313de6);if(_0x44c669[0x0]===_0x4de084(0x322)){const _0x5c2c91=new ChatCreateCommand();gracefulExit(await _0x5c2c91[_0x4de084(0x34d)]({'options':{..._0x313de6,..._0xd23d11},'args':_0x44c669[_0x4de084(0x1e9)](0x1),'tdx':_0x1f5893}));return;}const _0x5c7262=new ChatCommand(),_0x1954d9=await _0x5c7262['run']({'options':{..._0x313de6,..._0xd23d11},'args':_0x44c669,'tdx':_0x1f5893});gracefulExit(_0x1954d9);});const apiCmd=program[a2_0x43cca1(0x177)]('api\x20[endpoint]')[a2_0x43cca1(0x2a9)](a2_0x43cca1(0x2cc))[a2_0x43cca1(0x399)]('after','\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a')['option'](a2_0x43cca1(0x340),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a2_0x43cca1(0x39d))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2ac),a2_0x43cca1(0x35c))['option'](a2_0x43cca1(0x25f),a2_0x43cca1(0x2b5))[a2_0x43cca1(0x149)](a2_0x43cca1(0x46a),'Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x2ab3e4,_0xaab1)=>{return _0xaab1?[..._0xaab1,_0x2ab3e4]:[_0x2ab3e4];})[a2_0x43cca1(0x149)](a2_0x43cca1(0x22f),a2_0x43cca1(0x156),'td')['action'](async(_0x266648,_0xe53366)=>{const _0x2c4c2e=a2_0x43cca1;if(!_0x266648){apiCmd[_0x2c4c2e(0x374)]();return;}const _0x3a83c8=new ApiCommand(),_0x2aff3a=program[_0x2c4c2e(0x33d)](),_0x3e9726=await createTDXInstance(_0x2aff3a),_0x2b3224=await _0x3a83c8[_0x2c4c2e(0x34d)]({'options':{..._0x2aff3a,..._0xe53366},'args':[_0x266648],'tdx':_0x3e9726});gracefulExit(_0x2b3224);});program[a2_0x43cca1(0x177)](a2_0x43cca1(0x301))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x18e))[a2_0x43cca1(0x399)](a2_0x43cca1(0x364),a2_0x43cca1(0x25e))[a2_0x43cca1(0x37b)](async _0x5d703f=>{const _0x1ff686=a2_0x43cca1,_0x24d998=new MCPCommand(),_0x4a1a09=program[_0x1ff686(0x33d)](),_0x24da2a=await createTDXInstance(_0x4a1a09),_0x5512f6=await _0x24d998['run']({'options':{..._0x4a1a09,..._0x5d703f},'args':[],'tdx':_0x24da2a});gracefulExit(_0x5512f6);});const tableCmd=program[a2_0x43cca1(0x177)](a2_0x43cca1(0x1df))['description']('Table\x20management\x20commands'),tableListAction=async(_0x4669e3,_0x3e59bc)=>{const _0xd64c89=a2_0x43cca1,_0x4721b0=new TablesCommand(),_0x1119f9=program[_0xd64c89(0x33d)](),_0xbe377c=await createTDXInstance(_0x1119f9);_0x3e59bc['in']&&(_0x3e59bc[_0xd64c89(0x33b)]=_0x3e59bc['in']);const _0x23ee51=await _0x4721b0[_0xd64c89(0x34d)]({'options':{..._0x1119f9,..._0x3e59bc},'args':_0x4669e3?[_0x4669e3]:[],'tdx':_0xbe377c});gracefulExit(_0x23ee51);};tableCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2ec))[a2_0x43cca1(0x33c)]('List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)')['option'](a2_0x43cca1(0x361),a2_0x43cca1(0x1d4))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2e3),a2_0x43cca1(0x278))[a2_0x43cca1(0x37b)](tableListAction),program[a2_0x43cca1(0x177)]('tables\x20[pattern]',{'hidden':!![]})[a2_0x43cca1(0x33c)](a2_0x43cca1(0x440))[a2_0x43cca1(0x149)](a2_0x43cca1(0x361),a2_0x43cca1(0x1d4))['option'](a2_0x43cca1(0x2e3),a2_0x43cca1(0x278))[a2_0x43cca1(0x37b)](tableListAction),program[a2_0x43cca1(0x177)](a2_0x43cca1(0x3dd))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x2ff))['option']('-d,\x20--database\x20<database>',a2_0x43cca1(0x183))['option'](a2_0x43cca1(0x2e3),a2_0x43cca1(0x278))[a2_0x43cca1(0x37b)](async(_0x135191,_0xa9d9fa)=>{const _0xf90d5d=a2_0x43cca1,_0x648d33=new ShowCommand(),_0x398240=program[_0xf90d5d(0x33d)](),_0x1749ef=await createTDXInstance(_0x398240);_0xa9d9fa['in']&&(_0xa9d9fa[_0xf90d5d(0x33b)]=_0xa9d9fa['in']);const _0x222d11=await _0x648d33[_0xf90d5d(0x34d)]({'options':{..._0x398240,..._0xa9d9fa},'args':_0x135191?[_0x135191]:[],'tdx':_0x1749ef});gracefulExit(_0x222d11);}),program[a2_0x43cca1(0x177)](a2_0x43cca1(0x1a3))[a2_0x43cca1(0x32f)](a2_0x43cca1(0x36b))['description']('Describe\x20table\x20schema')[a2_0x43cca1(0x149)]('-d,\x20--database\x20<database>',a2_0x43cca1(0x183))[a2_0x43cca1(0x149)]('--in\x20<database>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x43cca1(0x37b)](async(_0x43f17a,_0x21e899)=>{const _0x1ab7ed=a2_0x43cca1,_0x58677a=new DescribeCommand(),_0x238557=program[_0x1ab7ed(0x33d)](),_0x43eb94=await createTDXInstance(_0x238557);_0x21e899['in']&&(_0x21e899[_0x1ab7ed(0x33b)]=_0x21e899['in']);const _0x36f53b=await _0x58677a[_0x1ab7ed(0x34d)]({'options':{..._0x238557,..._0x21e899},'args':_0x43f17a?[_0x43f17a]:[],'tdx':_0x43eb94});gracefulExit(_0x36f53b);}),program[a2_0x43cca1(0x177)](a2_0x43cca1(0x304))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x161))['option'](a2_0x43cca1(0x361),a2_0x43cca1(0x289))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2e3),a2_0x43cca1(0x278))[a2_0x43cca1(0x149)](a2_0x43cca1(0x1b4),a2_0x43cca1(0x258))[a2_0x43cca1(0x149)]('-f,\x20--file\x20<path>',a2_0x43cca1(0x20e))[a2_0x43cca1(0x149)](a2_0x43cca1(0x40b),a2_0x43cca1(0x1f5))['action'](async(_0x4c3ece,_0x20fc42)=>{const _0x60058e=a2_0x43cca1,_0x1da546=new QueryCommand(),_0x3c37ff=program['opts'](),_0x4db9da=await createTDXInstance(_0x3c37ff);_0x20fc42['in']&&(_0x20fc42[_0x60058e(0x33b)]=_0x20fc42['in']);const _0x276f15=await _0x1da546[_0x60058e(0x34d)]({'options':mergeCommandOptions(_0x3c37ff,_0x20fc42),'args':_0x4c3ece?[_0x4c3ece]:[],'tdx':_0x4db9da});gracefulExit(_0x276f15);});const segmentCmd=program[a2_0x43cca1(0x177)](a2_0x43cca1(0x208))[a2_0x43cca1(0x32f)]('sg')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x14f)),segmentListAction=async(_0x53ade3,_0x37ceb5)=>{const _0x20f639=a2_0x43cca1,_0x21a67a=new SegmentsCommand(),_0x59f3ad=program[_0x20f639(0x33d)](),_0x281f12=await createTDXInstance(_0x59f3ad),_0x1172e2=await _0x21a67a['run']({'options':{..._0x59f3ad,..._0x37ceb5},'args':_0x53ade3?[_0x53ade3]:[],'tdx':_0x281f12});gracefulExit(_0x1172e2);};segmentCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x159))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x2e4))[a2_0x43cca1(0x149)](a2_0x43cca1(0x3ac),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x43cca1(0x149)]('--max-depth\x20<depth>',a2_0x43cca1(0x3d1),'10')['action'](segmentListAction),program[a2_0x43cca1(0x177)](a2_0x43cca1(0x3bb),{'hidden':!![]})[a2_0x43cca1(0x33c)]('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')[a2_0x43cca1(0x149)](a2_0x43cca1(0x3ac),a2_0x43cca1(0x2ad))[a2_0x43cca1(0x149)](a2_0x43cca1(0x142),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x43cca1(0x37b)](segmentListAction),segmentCmd[a2_0x43cca1(0x177)]('use\x20<path>',{'hidden':!![]})[a2_0x43cca1(0x33c)](a2_0x43cca1(0x1af))[a2_0x43cca1(0x37b)](async(_0xd5def6,_0x1abd55)=>{const _0x94fde=a2_0x43cca1,_0x9482a7=new SegmentUseCommand(),_0x4a6558=program[_0x94fde(0x33d)](),_0x1e0d66=await createTDXInstance(_0x4a6558),_0x10d2ac=await _0x9482a7[_0x94fde(0x34d)]({'options':{..._0x4a6558,..._0x1abd55},'args':[_0xd5def6],'tdx':_0x1e0d66});gracefulExit(_0x10d2ac);});const segmentViewAction=async(_0xc8a0b6,_0x214fe1)=>{const _0x497feb=a2_0x43cca1,_0x2de296=new SegmentViewCommand(),_0x1b6cb5=program['opts'](),_0x2f3204=await createTDXInstance(_0x1b6cb5),_0xa6f380=await _0x2de296[_0x497feb(0x34d)]({'options':{..._0x1b6cb5,..._0x214fe1},'args':_0xc8a0b6?[_0xc8a0b6]:[],'tdx':_0x2f3204});gracefulExit(_0xa6f380);};segmentCmd['command'](a2_0x43cca1(0x331))['description']('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')['option'](a2_0x43cca1(0x38f),a2_0x43cca1(0x327))[a2_0x43cca1(0x37b)](segmentViewAction),segmentCmd[a2_0x43cca1(0x177)]('info\x20[segment_name]',{'hidden':!![]})[a2_0x43cca1(0x32f)](a2_0x43cca1(0x241))['option']('-w,\x20--web',a2_0x43cca1(0x327))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x1be))[a2_0x43cca1(0x37b)](segmentViewAction),segmentCmd[a2_0x43cca1(0x177)]('desc\x20[segment_name]')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x391))[a2_0x43cca1(0x37b)](async(_0x4b91dc,_0x5449df)=>{const _0x150dfc=a2_0x43cca1,_0x302d48=new SegmentDescCommand(),_0x2855cd=program[_0x150dfc(0x33d)](),_0x583e9f=await createTDXInstance(_0x2855cd),_0x276a84=await _0x302d48[_0x150dfc(0x34d)]({'options':{..._0x2855cd,..._0x5449df},'args':_0x4b91dc?[_0x4b91dc]:[],'tdx':_0x583e9f});gracefulExit(_0x276a84);}),segmentCmd['command']('show\x20[segment_name]')['description'](a2_0x43cca1(0x240))['action'](async(_0x3c57c6,_0x2d68e3)=>{const _0x4db58b=a2_0x43cca1,_0x28fa25=new SegmentShowCommand(),_0x592884=program[_0x4db58b(0x33d)](),_0x4b1a03=await createTDXInstance(_0x592884),_0xa0255a=await _0x28fa25[_0x4db58b(0x34d)]({'options':{..._0x592884,..._0x2d68e3},'args':_0x3c57c6?[_0x3c57c6]:[],'tdx':_0x4b1a03});gracefulExit(_0xa0255a);}),segmentCmd['command'](a2_0x43cca1(0x337),{'hidden':!![]})['description'](a2_0x43cca1(0x3fa))[a2_0x43cca1(0x37b)](async(_0x3b5852,_0x54c1f3)=>{const _0x42fce2=a2_0x43cca1,_0x1215d7=new SegmentFolderListCommand(),_0x2d4a9f=program[_0x42fce2(0x33d)](),_0x9bc370=await createTDXInstance(_0x2d4a9f),_0x23fb92=await _0x1215d7[_0x42fce2(0x34d)]({'options':{..._0x2d4a9f,..._0x54c1f3},'args':[_0x3b5852],'tdx':_0x9bc370});gracefulExit(_0x23fb92);});const folderCmd=segmentCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x35d),{'hidden':!![]})[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3ca));function a2_0x390f(_0x291095,_0x2b30af){_0x291095=_0x291095-0x13f;const _0x1e14e2=a2_0x1e14();let _0x390f86=_0x1e14e2[_0x291095];return _0x390f86;}folderCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x448))['description']('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')['action'](async(_0x39bc64,_0x3b21b5)=>{const _0x3c0884=a2_0x43cca1,_0x2be0c9=new SegmentFolderShowCommand(),_0x135563=program['opts'](),_0x2724d9=await createTDXInstance(_0x135563),_0x400ab7=await _0x2be0c9[_0x3c0884(0x34d)]({'options':{..._0x135563,..._0x3b21b5},'args':[_0x39bc64],'tdx':_0x2724d9});gracefulExit(_0x400ab7);}),segmentCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x276))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x213))[a2_0x43cca1(0x149)](a2_0x43cca1(0x26f),'YAML\x20file\x20path\x20for\x20unpushed\x20segment')['action'](async(_0x157838,_0x8afdd1)=>{const _0xdfa39=a2_0x43cca1,_0x959ed5=new SegmentSQLCommand(),_0x4c2463=program[_0xdfa39(0x33d)](),_0x7f2473=await createTDXInstance(_0x4c2463),_0x58d787=await _0x959ed5[_0xdfa39(0x34d)]({'options':{..._0x4c2463,..._0x8afdd1},'args':_0x157838?[_0x157838]:[],'tdx':_0x7f2473});gracefulExit(_0x58d787);}),segmentCmd[a2_0x43cca1(0x177)]('fields\x20[parent_name]')[a2_0x43cca1(0x33c)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)')[a2_0x43cca1(0x37b)](async(_0x1e73b3,_0x368d60)=>{const _0xf33a23=a2_0x43cca1,_0x2068fc=new SegmentFieldsCommand(),_0x14947d=program['opts'](),_0x5e9e8c=await createTDXInstance(_0x14947d),_0x5a4042=await _0x2068fc[_0xf33a23(0x34d)]({'options':{..._0x14947d,..._0x368d60},'args':_0x1e73b3?[_0x1e73b3]:[],'tdx':_0x5e9e8c});gracefulExit(_0x5a4042);}),segmentCmd[a2_0x43cca1(0x177)]('pull\x20[parent_or_file]')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x362))[a2_0x43cca1(0x149)]('--dry-run',a2_0x43cca1(0x1c7))[a2_0x43cca1(0x37b)](async(_0x53c7f1,_0x25a613)=>{const _0x459045=a2_0x43cca1,_0x5ed412=new SegmentPullCommand(),_0x9d1e42=program[_0x459045(0x33d)](),_0x307065=await createTDXInstance(_0x9d1e42),_0x44d968=await _0x5ed412['run']({'options':{..._0x9d1e42,..._0x25a613},'args':_0x53c7f1?[_0x53c7f1]:[],'tdx':_0x307065});gracefulExit(_0x44d968);}),segmentCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x27b))['description'](a2_0x43cca1(0x24d))[a2_0x43cca1(0x149)](a2_0x43cca1(0x45e),a2_0x43cca1(0x1c7))[a2_0x43cca1(0x149)](a2_0x43cca1(0x1f4),'Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)')[a2_0x43cca1(0x37b)](async(_0x2babf2,_0x4a9fba)=>{const _0x396110=a2_0x43cca1,_0x308741=new SegmentPushCommand(),_0x2df778=program[_0x396110(0x33d)](),_0x568fc8=await createTDXInstance(_0x2df778),_0x4bbde1=await _0x308741['run']({'options':{..._0x2df778,..._0x4a9fba},'args':_0x2babf2?[_0x2babf2]:[],'tdx':_0x568fc8});gracefulExit(_0x4bbde1);}),segmentCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x34e))['description'](a2_0x43cca1(0x444))[a2_0x43cca1(0x37b)](async(_0xf9903c,_0x286d7c)=>{const _0x5efec7=a2_0x43cca1,_0x1d9613=new SegmentValidateCommand(),_0x316e9e=program[_0x5efec7(0x33d)](),_0x3d54af=await createTDXInstance(_0x316e9e),_0x5a6c54=await _0x1d9613[_0x5efec7(0x34d)]({'options':{..._0x316e9e,..._0x286d7c},'args':_0xf9903c?[_0xf9903c]:[],'tdx':_0x3d54af});gracefulExit(_0x5a6c54);}),segmentCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x3a4),{'hidden':!![]})[a2_0x43cca1(0x33c)](a2_0x43cca1(0x46b))[a2_0x43cca1(0x149)](a2_0x43cca1(0x286),'Segment\x20description')['option'](a2_0x43cca1(0x261),a2_0x43cca1(0x30b))[a2_0x43cca1(0x149)](a2_0x43cca1(0x196),a2_0x43cca1(0x173))[a2_0x43cca1(0x149)](a2_0x43cca1(0x39a),a2_0x43cca1(0x144))[a2_0x43cca1(0x149)](a2_0x43cca1(0x336),a2_0x43cca1(0x267))[a2_0x43cca1(0x149)](a2_0x43cca1(0x192),a2_0x43cca1(0x2b6))['option'](a2_0x43cca1(0x419),'Skip\x20population\x20counting')['action'](async(_0x5cdb56,_0x330477)=>{const _0x12c148=a2_0x43cca1,_0x596c24=new SegmentCreateCommand(),_0xfa8e9c=program[_0x12c148(0x33d)](),_0x39c19e=await createTDXInstance(_0xfa8e9c),_0x42f4d4=await _0x596c24['run']({'options':{..._0xfa8e9c,..._0x330477},'args':[_0x5cdb56],'tdx':_0x39c19e});gracefulExit(_0x42f4d4);}),segmentCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x283),{'hidden':!![]})[a2_0x43cca1(0x33c)]('[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x43cca1(0x149)](a2_0x43cca1(0x23f),a2_0x43cca1(0x2ea))['option'](a2_0x43cca1(0x286),a2_0x43cca1(0x206))[a2_0x43cca1(0x149)]('--rule\x20<json>',a2_0x43cca1(0x21a))[a2_0x43cca1(0x149)](a2_0x43cca1(0x196),a2_0x43cca1(0x198))['option'](a2_0x43cca1(0x39a),a2_0x43cca1(0x218))[a2_0x43cca1(0x149)](a2_0x43cca1(0x336),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x43cca1(0x37b)](async(_0x4cc2cf,_0x40a9bb)=>{const _0x44bd11=a2_0x43cca1,_0x3a11dc=new SegmentUpdateCommand(),_0x3f0894=program[_0x44bd11(0x33d)](),_0x390a77=await createTDXInstance(_0x3f0894),_0x4aa7a8=await _0x3a11dc[_0x44bd11(0x34d)]({'options':{..._0x3f0894,..._0x40a9bb},'args':[_0x4cc2cf],'tdx':_0x390a77});gracefulExit(_0x4aa7a8);});const parentCmd=segmentCmd[a2_0x43cca1(0x177)]('parent',{'hidden':!![]})['description'](a2_0x43cca1(0x40f)),parentListAction=async(_0x33f53c,_0x44ccee)=>{const _0x2ac9ea=a2_0x43cca1,_0x48af5f=new ParentSegmentListCommand(),_0x316767=program[_0x2ac9ea(0x33d)](),_0x5107c7=await createTDXInstance(_0x316767),_0x49f15c=await _0x48af5f[_0x2ac9ea(0x34d)]({'options':{..._0x316767,..._0x44ccee},'args':_0x33f53c?[_0x33f53c]:[],'tdx':_0x5107c7});gracefulExit(_0x49f15c);};parentCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2ec))[a2_0x43cca1(0x33c)]('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')['action'](parentListAction),segmentCmd[a2_0x43cca1(0x177)]('parents\x20[pattern]',{'hidden':!![]})[a2_0x43cca1(0x33c)](a2_0x43cca1(0x19c))[a2_0x43cca1(0x37b)](parentListAction),parentCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x27c))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x16c))[a2_0x43cca1(0x149)](a2_0x43cca1(0x31a),a2_0x43cca1(0x2b3))['action'](async(_0x4c081d,_0x4d12fa)=>{const _0x2c414e=a2_0x43cca1,_0x3b9e37=new ParentSegmentPullCommand(),_0x29f9fc=program[_0x2c414e(0x33d)](),_0x555080=await createTDXInstance(_0x29f9fc),_0x194c1c=await _0x3b9e37['run']({'options':{..._0x29f9fc,..._0x4d12fa},'args':_0x4c081d?[_0x4c081d]:[],'tdx':_0x555080});gracefulExit(_0x194c1c);}),parentCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x237))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x2c0))[a2_0x43cca1(0x37b)](async(_0x12307a,_0x495ac1)=>{const _0x47e93b=a2_0x43cca1,_0x4db8bb=new ParentSegmentPushCommand(),_0x7f475d=program[_0x47e93b(0x33d)](),_0x4ba457=await createTDXInstance(_0x7f475d),_0x4d67f3=await _0x4db8bb['run']({'options':{..._0x7f475d,..._0x495ac1},'args':_0x12307a?[_0x12307a]:[],'tdx':_0x4ba457});gracefulExit(_0x4d67f3);}),parentCmd['command'](a2_0x43cca1(0x356))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3d6))[a2_0x43cca1(0x149)](a2_0x43cca1(0x225),'Show\x20only\x20master\x20table\x20validation')[a2_0x43cca1(0x149)](a2_0x43cca1(0x409),a2_0x43cca1(0x1e7))['option'](a2_0x43cca1(0x264),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x43cca1(0x149)](a2_0x43cca1(0x457),a2_0x43cca1(0x26d))[a2_0x43cca1(0x149)]('--interval\x20<range>',a2_0x43cca1(0x1f7),'-1d')[a2_0x43cca1(0x37b)](async(_0x580bb6,_0x1eeae6)=>{const _0x203e6f=a2_0x43cca1,_0x36a35c=new ParentSegmentValidateCommand(),_0x55e657=program[_0x203e6f(0x33d)](),_0x215c5f=await createTDXInstance(_0x55e657),_0x24087a=await _0x36a35c[_0x203e6f(0x34d)]({'options':{..._0x55e657,..._0x1eeae6},'args':_0x580bb6?[_0x580bb6]:[],'tdx':_0x215c5f});gracefulExit(_0x24087a);}),parentCmd[a2_0x43cca1(0x177)]('preview\x20[file]')['description']('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x43cca1(0x149)](a2_0x43cca1(0x225),a2_0x43cca1(0x3aa))['option'](a2_0x43cca1(0x409),a2_0x43cca1(0x1c8))[a2_0x43cca1(0x149)](a2_0x43cca1(0x264),a2_0x43cca1(0x34f))['option'](a2_0x43cca1(0x457),a2_0x43cca1(0x39c))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2bf),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x43cca1(0x293))[a2_0x43cca1(0x37b)](async(_0x355de0,_0x44eb2c)=>{const _0x433e75=a2_0x43cca1,_0x1585eb=new ParentSegmentPreviewCommand(),_0x5089ab=program['opts'](),_0xd5b956=await createTDXInstance(_0x5089ab),_0x301cc2=await _0x1585eb[_0x433e75(0x34d)]({'options':{..._0x5089ab,..._0x44eb2c},'args':_0x355de0?[_0x355de0]:[],'tdx':_0xd5b956});gracefulExit(_0x301cc2);}),parentCmd['command'](a2_0x43cca1(0x1ca))['description']('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x43cca1(0x37b)](async(_0x21f5b0,_0x2f5f0d)=>{const _0x313635=a2_0x43cca1,_0xefee8c=new ParentSegmentRunCommand(),_0x188819=program['opts'](),_0x1e756a=await createTDXInstance(_0x188819),_0x5d1e97=await _0xefee8c[_0x313635(0x34d)]({'options':{..._0x188819,..._0x2f5f0d},'args':_0x21f5b0?[_0x21f5b0]:[],'tdx':_0x1e756a});gracefulExit(_0x5d1e97);});const parentSegmentCmd=program[a2_0x43cca1(0x177)](a2_0x43cca1(0x30c))[a2_0x43cca1(0x32f)]('ps')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x434));parentSegmentCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2ec))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3ae))[a2_0x43cca1(0x37b)](parentListAction),parentSegmentCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x27c))['description'](a2_0x43cca1(0x375))[a2_0x43cca1(0x149)]('-o,\x20--output\x20<file>',a2_0x43cca1(0x181))['option'](a2_0x43cca1(0x26a),a2_0x43cca1(0x1fa))[a2_0x43cca1(0x37b)](async(_0x374594,_0xbdbbfc)=>{const _0x22bda0=a2_0x43cca1,_0x6f123b=new ParentSegmentPullCommand(),_0x4e9943=program[_0x22bda0(0x33d)](),_0x43940b=await createTDXInstance(_0x4e9943),_0x50989c=await _0x6f123b[_0x22bda0(0x34d)]({'options':{..._0x4e9943,..._0xbdbbfc},'args':_0x374594?[_0x374594]:[],'tdx':_0x43940b});gracefulExit(_0x50989c);}),parentSegmentCmd['command'](a2_0x43cca1(0x45a))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x2e1))[a2_0x43cca1(0x37b)](async(_0x2accef,_0x4cd6e3)=>{const _0x19c87e=a2_0x43cca1,_0x3c7092=new ParentSegmentPushCommand(),_0x30c8a6=program[_0x19c87e(0x33d)](),_0xb4d40b=await createTDXInstance(_0x30c8a6),_0x59b440=await _0x3c7092[_0x19c87e(0x34d)]({'options':{..._0x30c8a6,..._0x4cd6e3},'args':_0x2accef?[_0x2accef]:[],'tdx':_0xb4d40b});gracefulExit(_0x59b440);}),parentSegmentCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x164))['description']('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')['option'](a2_0x43cca1(0x225),a2_0x43cca1(0x316))['option'](a2_0x43cca1(0x409),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x43cca1(0x149)](a2_0x43cca1(0x264),a2_0x43cca1(0x3d0))[a2_0x43cca1(0x149)](a2_0x43cca1(0x457),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x43cca1(0x149)]('--interval\x20<range>',a2_0x43cca1(0x1f7),'-1d')[a2_0x43cca1(0x37b)](async(_0x3c526d,_0x4aa307)=>{const _0x1f82c2=a2_0x43cca1,_0x37c145=new ParentSegmentValidateCommand(),_0x4059bd=program[_0x1f82c2(0x33d)](),_0x3d09f7=await createTDXInstance(_0x4059bd),_0x1ac8c1=await _0x37c145['run']({'options':{..._0x4059bd,..._0x4aa307},'args':_0x3c526d?[_0x3c526d]:[],'tdx':_0x3d09f7});gracefulExit(_0x1ac8c1);}),parentSegmentCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x249))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x1cc))[a2_0x43cca1(0x149)](a2_0x43cca1(0x225),a2_0x43cca1(0x3aa))[a2_0x43cca1(0x149)](a2_0x43cca1(0x409),a2_0x43cca1(0x1c8))[a2_0x43cca1(0x149)](a2_0x43cca1(0x264),a2_0x43cca1(0x34f))[a2_0x43cca1(0x149)](a2_0x43cca1(0x457),a2_0x43cca1(0x39c))[a2_0x43cca1(0x149)]('--interval\x20<range>',a2_0x43cca1(0x1f7),'-1d')[a2_0x43cca1(0x37b)](async(_0x46a767,_0x23bebf)=>{const _0x293fe6=a2_0x43cca1,_0x3fd656=new ParentSegmentPreviewCommand(),_0x38aa1d=program['opts'](),_0x111331=await createTDXInstance(_0x38aa1d),_0x3904eb=await _0x3fd656[_0x293fe6(0x34d)]({'options':{..._0x38aa1d,..._0x23bebf},'args':_0x46a767?[_0x46a767]:[],'tdx':_0x111331});gracefulExit(_0x3904eb);}),parentSegmentCmd[a2_0x43cca1(0x177)]('run\x20[name]')[a2_0x43cca1(0x33c)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x43cca1(0x37b)](async(_0x1b9f4a,_0x1eb51d)=>{const _0x1a9034=a2_0x43cca1,_0x516ff3=new ParentSegmentRunCommand(),_0xe8f24a=program[_0x1a9034(0x33d)](),_0x122292=await createTDXInstance(_0xe8f24a),_0x4b5c72=await _0x516ff3['run']({'options':{..._0xe8f24a,..._0x1eb51d},'args':_0x1b9f4a?[_0x1b9f4a]:[],'tdx':_0x122292});gracefulExit(_0x4b5c72);}),parentSegmentCmd['command'](a2_0x43cca1(0x2f7))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3cd))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2ef),'Output\x20as\x20JSON')[a2_0x43cca1(0x149)](a2_0x43cca1(0x25d),'Output\x20as\x20JSON\x20Lines')[a2_0x43cca1(0x37b)](async(_0x466c76,_0x55a644)=>{const _0xd23a8b=a2_0x43cca1,_0x33ab18=new ParentSegmentFieldsCommand(),_0x4ea732=program[_0xd23a8b(0x33d)](),_0x1017d9=await createTDXInstance(_0x4ea732),_0x28ae85=await _0x33ab18[_0xd23a8b(0x34d)]({'options':{..._0x4ea732,..._0x55a644},'args':_0x466c76?[_0x466c76]:[],'tdx':_0x1017d9});gracefulExit(_0x28ae85);}),parentSegmentCmd['command'](a2_0x43cca1(0x3ce))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x2a4))[a2_0x43cca1(0x149)]('-w,\x20--web',a2_0x43cca1(0x2de))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2ef),a2_0x43cca1(0x197))['option'](a2_0x43cca1(0x25d),a2_0x43cca1(0x341))['action'](async(_0x3d4a27,_0x15f80f)=>{const _0x526f11=a2_0x43cca1,_0x35ba89=new ParentSegmentViewCommand(),_0xc0d25f=program[_0x526f11(0x33d)](),_0x3ea77b=await createTDXInstance(_0xc0d25f),_0x5df861=await _0x35ba89[_0x526f11(0x34d)]({'options':{..._0xc0d25f,..._0x15f80f},'args':_0x3d4a27?[_0x3d4a27]:[],'tdx':_0x3ea77b});gracefulExit(_0x5df861);}),parentSegmentCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x287))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x306))[a2_0x43cca1(0x149)](a2_0x43cca1(0x31a),'Output\x20file\x20path')[a2_0x43cca1(0x149)]('--json',a2_0x43cca1(0x197))[a2_0x43cca1(0x149)](a2_0x43cca1(0x25d),a2_0x43cca1(0x341))[a2_0x43cca1(0x37b)](async(_0x1d062c,_0x417ff7)=>{const _0x4793bb=a2_0x43cca1,_0x4cc612=new ParentSegmentDescCommand(),_0x5a5047=program['opts'](),_0x494aa9=await createTDXInstance(_0x5a5047),_0x4a0b22=await _0x4cc612[_0x4793bb(0x34d)]({'options':{..._0x5a5047,..._0x417ff7},'args':_0x1d062c?[_0x1d062c]:[],'tdx':_0x494aa9});gracefulExit(_0x4a0b22);}),parentSegmentCmd[a2_0x43cca1(0x177)]('sql\x20[name]')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x2b2))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2ef),a2_0x43cca1(0x197))['option'](a2_0x43cca1(0x25d),a2_0x43cca1(0x341))[a2_0x43cca1(0x37b)](async(_0x15dbca,_0x43e69e)=>{const _0x81190d=a2_0x43cca1,_0x1e4f2a=new ParentSegmentSQLCommand(),_0x10e4cc=program['opts'](),_0x3a9326=await createTDXInstance(_0x10e4cc),_0x2e24e0=await _0x1e4f2a[_0x81190d(0x34d)]({'options':{..._0x10e4cc,..._0x43e69e},'args':_0x15dbca?[_0x15dbca]:[],'tdx':_0x3a9326});gracefulExit(_0x2e24e0);}),parentSegmentCmd[a2_0x43cca1(0x177)]('show\x20[name]')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x39e))[a2_0x43cca1(0x149)](a2_0x43cca1(0x205),'Limit\x20number\x20of\x20rows')[a2_0x43cca1(0x149)](a2_0x43cca1(0x2ef),a2_0x43cca1(0x197))['option'](a2_0x43cca1(0x25d),a2_0x43cca1(0x341))[a2_0x43cca1(0x37b)](async(_0x13aa84,_0x56a3f0)=>{const _0x542294=a2_0x43cca1,_0x4a74d3=new ParentSegmentShowCommand(),_0x4d9dbd=program[_0x542294(0x33d)](),_0x346098=await createTDXInstance(_0x4d9dbd),_0x5e3103=await _0x4a74d3[_0x542294(0x34d)]({'options':{..._0x4d9dbd,..._0x56a3f0},'args':_0x13aa84?[_0x13aa84]:[],'tdx':_0x346098});gracefulExit(_0x5e3103);}),parentSegmentCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x20c))['description'](a2_0x43cca1(0x428))[a2_0x43cca1(0x37b)](async(_0x4a4538,_0x54858e)=>{const _0x2ccacf=a2_0x43cca1,_0xe69268=new UseCommand(),_0x55ba08=program[_0x2ccacf(0x33d)](),_0x39abcd=_0x4a4538?[_0x2ccacf(0x353),_0x4a4538]:[],_0x223fc5=await _0xe69268['run']({'options':{..._0x55ba08,..._0x54858e},'args':_0x39abcd,'tdx':null});gracefulExit(_0x223fc5);});const psRtCmd=parentSegmentCmd[a2_0x43cca1(0x177)]('rt')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x42e));psRtCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2ec))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x2d8))[a2_0x43cca1(0x37b)](async(_0x549227,_0x47d695)=>{const _0x1ab9ee=new PSRtListCommand(),_0x58492b=program['opts'](),_0x26bc54=await createTDXInstance(_0x58492b),_0x5559ba=await _0x1ab9ee['run']({'options':{..._0x58492b,..._0x47d695},'args':_0x549227?[_0x549227]:[],'tdx':_0x26bc54});gracefulExit(_0x5559ba);}),psRtCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x164))[a2_0x43cca1(0x33c)]('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')[a2_0x43cca1(0x37b)](async(_0x97b5b7,_0x17c626)=>{const _0x2a2bc2=a2_0x43cca1,_0xc0376d=new PSRtValidateCommand(),_0x88dceb=program[_0x2a2bc2(0x33d)](),_0x44fbc9=await createTDXInstance(_0x88dceb),_0x21e581=await _0xc0376d[_0x2a2bc2(0x34d)]({'options':{..._0x88dceb,..._0x17c626},'args':_0x97b5b7?[_0x97b5b7]:[],'tdx':_0x44fbc9});gracefulExit(_0x21e581);}),psRtCmd['command'](a2_0x43cca1(0x312))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3f8))['action'](async(_0x536bf6,_0x1f8e68)=>{const _0x565282=a2_0x43cca1,_0x407f0e=new PSRtConfigVersionCommand(),_0xd10997=program['opts'](),_0x54913a=await createTDXInstance(_0xd10997),_0x4f2cb0=await _0x407f0e[_0x565282(0x34d)]({'options':{..._0xd10997,..._0x1f8e68},'args':_0x536bf6?[_0x536bf6]:[],'tdx':_0x54913a});gracefulExit(_0x4f2cb0);});const psRtJnCmd=psRtCmd[a2_0x43cca1(0x177)]('jn')[a2_0x43cca1(0x33c)]('RT\x20Journey\x20management');psRtJnCmd[a2_0x43cca1(0x177)]('list\x20[name]')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3c0))[a2_0x43cca1(0x37b)](async(_0x44e28d,_0x420a4f)=>{const _0x226c2c=a2_0x43cca1,_0x143e4a=new PSRtJnListCommand(),_0xb0b7b3=program['opts'](),_0x4886c3=await createTDXInstance(_0xb0b7b3),_0x9c4074=await _0x143e4a[_0x226c2c(0x34d)]({'options':{..._0xb0b7b3,..._0x420a4f},'args':_0x44e28d?[_0x44e28d]:[],'tdx':_0x4886c3});gracefulExit(_0x9c4074);}),psRtJnCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2a1))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x28e))[a2_0x43cca1(0x37b)](async(_0x5bbfda,_0x594636)=>{const _0x1510f4=a2_0x43cca1,_0x4cb314=new PSRtJnPauseCommand(),_0x460aa9=program['opts'](),_0x370069=await createTDXInstance(_0x460aa9),_0x2edd70=await _0x4cb314[_0x1510f4(0x34d)]({'options':{..._0x460aa9,..._0x594636},'args':[_0x5bbfda],'tdx':_0x370069});gracefulExit(_0x2edd70);}),psRtJnCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x282))[a2_0x43cca1(0x33c)]('Resume\x20activations\x20in\x20an\x20RT\x20journey')[a2_0x43cca1(0x37b)](async(_0x46def3,_0x5f3a0d)=>{const _0x3bdacf=a2_0x43cca1,_0x5b3369=new PSRtJnResumeCommand(),_0x3438b1=program[_0x3bdacf(0x33d)](),_0x151232=await createTDXInstance(_0x3438b1),_0x3c5d4c=await _0x5b3369[_0x3bdacf(0x34d)]({'options':{..._0x3438b1,..._0x5f3a0d},'args':[_0x46def3],'tdx':_0x151232});gracefulExit(_0x3c5d4c);});const parentRtCmd=parentCmd[a2_0x43cca1(0x177)]('rt',{'hidden':!![]})[a2_0x43cca1(0x33c)](a2_0x43cca1(0x42e));parentRtCmd[a2_0x43cca1(0x177)]('list\x20[pattern]')[a2_0x43cca1(0x33c)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0x43cca1(0x37b)](async(_0x4b542a,_0x388b7a)=>{const _0x453419=a2_0x43cca1,_0x499ef6=new PSRtListCommand(),_0x4c77f6=program['opts'](),_0x5e8d60=await createTDXInstance(_0x4c77f6),_0x21cdb9=await _0x499ef6[_0x453419(0x34d)]({'options':{..._0x4c77f6,..._0x388b7a},'args':_0x4b542a?[_0x4b542a]:[],'tdx':_0x5e8d60});gracefulExit(_0x21cdb9);}),parentRtCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x164))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x17f))[a2_0x43cca1(0x37b)](async(_0x31df10,_0x14f565)=>{const _0xc7a86c=a2_0x43cca1,_0x5e5006=new PSRtValidateCommand(),_0x3d19fb=program['opts'](),_0x4156e2=await createTDXInstance(_0x3d19fb),_0x323fed=await _0x5e5006[_0xc7a86c(0x34d)]({'options':{..._0x3d19fb,..._0x14f565},'args':_0x31df10?[_0x31df10]:[],'tdx':_0x4156e2});gracefulExit(_0x323fed);});const psPzCmd=parentSegmentCmd[a2_0x43cca1(0x177)]('pz')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x388));psPzCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x37c))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x471))[a2_0x43cca1(0x37b)](async(_0x3002ed,_0x9db51f)=>{const _0xceb17b=a2_0x43cca1,_0x4bdc73=new PSPzListCommand(),_0x3cc634=program['opts'](),_0x506849=await createTDXInstance(_0x3cc634),_0x110622=await _0x4bdc73[_0xceb17b(0x34d)]({'options':{..._0x3cc634,..._0x9db51f},'args':_0x3002ed?[_0x3002ed]:[],'tdx':_0x506849});gracefulExit(_0x110622);}),psPzCmd[a2_0x43cca1(0x177)]('show\x20<personalization_id>')[a2_0x43cca1(0x33c)]('Show\x20a\x20specific\x20realtime\x20personalization')[a2_0x43cca1(0x37b)](async(_0x3891fd,_0x3dae13)=>{const _0x435036=a2_0x43cca1,_0x3c0fae=new PSPzShowCommand(),_0x274cf3=program[_0x435036(0x33d)](),_0xf116fd=await createTDXInstance(_0x274cf3),_0x267d16=await _0x3c0fae[_0x435036(0x34d)]({'options':{..._0x274cf3,..._0x3dae13},'args':[_0x3891fd],'tdx':_0xf116fd});gracefulExit(_0x267d16);}),psPzCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x441))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x300))['action'](async(_0x160a65,_0x83bb9f)=>{const _0x37e864=a2_0x43cca1,_0x13892b=new PSPzDeleteCommand(),_0x2e55ec=program['opts'](),_0x5333b9=await createTDXInstance(_0x2e55ec),_0x4a9a97=await _0x13892b[_0x37e864(0x34d)]({'options':{..._0x2e55ec,..._0x83bb9f},'args':[_0x160a65],'tdx':_0x5333b9});gracefulExit(_0x4a9a97);}),psPzCmd[a2_0x43cca1(0x177)]('create')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x314))[a2_0x43cca1(0x149)]('--name\x20<text>','Personalization\x20name')[a2_0x43cca1(0x149)]('--description\x20<text>',a2_0x43cca1(0x3ad))['option'](a2_0x43cca1(0x347),a2_0x43cca1(0x408))[a2_0x43cca1(0x149)](a2_0x43cca1(0x369),a2_0x43cca1(0x178))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2c8),a2_0x43cca1(0x146))[a2_0x43cca1(0x149)](a2_0x43cca1(0x395),a2_0x43cca1(0x416))[a2_0x43cca1(0x37b)](async _0x314d9c=>{const _0x11a8dc=a2_0x43cca1,_0xbce76a=new PSPzCreateCommand(),_0x11d2f6=program['opts'](),_0x25ebdd=await createTDXInstance(_0x11d2f6),_0x3a6e44=await _0xbce76a[_0x11a8dc(0x34d)]({'options':{..._0x11d2f6,..._0x314d9c},'args':[],'tdx':_0x25ebdd});gracefulExit(_0x3a6e44);}),psPzCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x3fe))[a2_0x43cca1(0x33c)]('Update\x20a\x20realtime\x20personalization\x20entity')['option'](a2_0x43cca1(0x248),a2_0x43cca1(0x2c7))[a2_0x43cca1(0x149)](a2_0x43cca1(0x286),a2_0x43cca1(0x3ad))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2c8),a2_0x43cca1(0x146))['option']('--file\x20<path>',a2_0x43cca1(0x416))[a2_0x43cca1(0x37b)](async(_0x105f58,_0x50defb)=>{const _0x303e87=a2_0x43cca1,_0x4014b5=new PSPzPatchCommand(),_0x432f41=program['opts'](),_0x14289f=await createTDXInstance(_0x432f41),_0x1e13dd=await _0x4014b5[_0x303e87(0x34d)]({'options':{..._0x432f41,..._0x50defb},'args':[_0x105f58],'tdx':_0x14289f});gracefulExit(_0x1e13dd);});const psPzServiceCmd=psPzCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2a2))['description']('Personalization\x20service\x20management');psPzServiceCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x37c))['description'](a2_0x43cca1(0x363))[a2_0x43cca1(0x37b)](async(_0x5e6771,_0x338b48)=>{const _0x451451=a2_0x43cca1,_0x292a3a=new PSPzServiceListCommand(),_0x266e80=program[_0x451451(0x33d)](),_0x451e45=await createTDXInstance(_0x266e80),_0xa1722e=await _0x292a3a[_0x451451(0x34d)]({'options':{..._0x266e80,..._0x338b48},'args':_0x5e6771?[_0x5e6771]:[],'tdx':_0x451e45});gracefulExit(_0xa1722e);}),psPzServiceCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x418))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x1e3))[a2_0x43cca1(0x149)](a2_0x43cca1(0x286),a2_0x43cca1(0x458))[a2_0x43cca1(0x149)](a2_0x43cca1(0x215),'Make\x20service\x20public\x20(default:\x20private)')['action'](async(_0x193532,_0x2a16e8,_0x23ec52)=>{const _0x32c975=a2_0x43cca1,_0x8fb12b=new PSPzServiceCreateCommand(),_0x22a5b8=program[_0x32c975(0x33d)](),_0x46e12e=await createTDXInstance(_0x22a5b8),_0x1e8da2=await _0x8fb12b[_0x32c975(0x34d)]({'options':{..._0x22a5b8,..._0x23ec52},'args':_0x2a16e8?[_0x193532,_0x2a16e8]:[_0x193532],'tdx':_0x46e12e});gracefulExit(_0x1e8da2);}),psPzServiceCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x1c3))['description']('Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)')['action'](async(_0x2984db,_0x57d7d8,_0x409ae8)=>{const _0x6b1b7a=a2_0x43cca1,_0x33a596=new PSPzServiceShowCommand(),_0xc952b9=program[_0x6b1b7a(0x33d)](),_0x3d76fd=await createTDXInstance(_0xc952b9),_0x130e48=await _0x33a596[_0x6b1b7a(0x34d)]({'options':{..._0xc952b9,..._0x409ae8},'args':_0x57d7d8?[_0x2984db,_0x57d7d8]:[_0x2984db],'tdx':_0x3d76fd});gracefulExit(_0x130e48);}),psPzServiceCmd[a2_0x43cca1(0x177)]('delete\x20<service_id>\x20[parent_segment]')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x255))['action'](async(_0x17c2ce,_0x4299f9,_0xaf5320)=>{const _0x13a95c=new PSPzServiceDeleteCommand(),_0x4a7fba=program['opts'](),_0x12617e=await createTDXInstance(_0x4a7fba),_0x45123d=await _0x13a95c['run']({'options':{..._0x4a7fba,..._0xaf5320},'args':_0x4299f9?[_0x17c2ce,_0x4299f9]:[_0x17c2ce],'tdx':_0x12617e});gracefulExit(_0x45123d);}),psPzServiceCmd[a2_0x43cca1(0x177)]('update\x20<service_id>\x20[parent_segment]')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x443))[a2_0x43cca1(0x43b)](a2_0x43cca1(0x18f),a2_0x43cca1(0x461))[a2_0x43cca1(0x149)](a2_0x43cca1(0x286),a2_0x43cca1(0x1cd))[a2_0x43cca1(0x37b)](async(_0x1f9bfe,_0x1b83be,_0x403249)=>{const _0x282f9a=a2_0x43cca1,_0x280b7f=new PSPzServiceUpdateCommand(),_0x2688b0=program[_0x282f9a(0x33d)](),_0x29ba75=await createTDXInstance(_0x2688b0),_0x558c81=await _0x280b7f[_0x282f9a(0x34d)]({'options':{..._0x2688b0,..._0x403249},'args':_0x1b83be?[_0x1f9bfe,_0x1b83be]:[_0x1f9bfe],'tdx':_0x29ba75});gracefulExit(_0x558c81);}),psPzServiceCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x204))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x19f))[a2_0x43cca1(0x37b)](async(_0x4ef5c0,_0xadeecb)=>{const _0x943403=a2_0x43cca1,_0x2c0ad6=new PSPzInitCommand(),_0x4865f8=program['opts'](),_0x26f486=await createTDXInstance(_0x4865f8),_0x1e1e05=await _0x2c0ad6[_0x943403(0x34d)]({'options':{..._0x4865f8,..._0xadeecb},'args':_0x4ef5c0?[_0x4ef5c0]:[],'tdx':_0x26f486});gracefulExit(_0x1e1e05);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x3ee))['description']('Personalization\x20service\x20token\x20management');psPzServiceTokenCmd['command'](a2_0x43cca1(0x43e))['description'](a2_0x43cca1(0x23a))[a2_0x43cca1(0x149)](a2_0x43cca1(0x379),a2_0x43cca1(0x3b1))[a2_0x43cca1(0x149)](a2_0x43cca1(0x286),a2_0x43cca1(0x14c))['action'](async(_0x1eed29,_0xf74332,_0x8b99bd,_0x27437a)=>{const _0x10bfae=a2_0x43cca1,_0xb98058=new PSPzServiceTokenCreateCommand(),_0x2575a8=program[_0x10bfae(0x33d)](),_0x1cad88=await createTDXInstance(_0x2575a8),_0xf64ec2=await _0xb98058[_0x10bfae(0x34d)]({'options':{..._0x2575a8,..._0x27437a},'args':_0x8b99bd?[_0x1eed29,_0xf74332,_0x8b99bd]:[_0x1eed29,_0xf74332],'tdx':_0x1cad88});gracefulExit(_0xf64ec2);}),psPzServiceTokenCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x235))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x2c4))[a2_0x43cca1(0x37b)](async(_0x3ced35,_0x1484e3,_0x4631c9)=>{const _0x4efaf7=a2_0x43cca1,_0xc23f40=new PSPzServiceTokenDeleteCommand(),_0x2432c7=program['opts'](),_0x292163=await createTDXInstance(_0x2432c7),_0x56c703=await _0xc23f40[_0x4efaf7(0x34d)]({'options':{..._0x2432c7,..._0x4631c9},'args':_0x1484e3?[_0x3ced35,_0x1484e3]:[_0x3ced35],'tdx':_0x292163});gracefulExit(_0x56c703);}),parentCmd[a2_0x43cca1(0x177)]('create\x20<name>')['description']('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x43cca1(0x43b)](a2_0x43cca1(0x30e),a2_0x43cca1(0x3fb))[a2_0x43cca1(0x43b)](a2_0x43cca1(0x460),'Master\x20table\x20name')[a2_0x43cca1(0x149)](a2_0x43cca1(0x286),'Parent\x20segment\x20description')[a2_0x43cca1(0x149)](a2_0x43cca1(0x1b3),a2_0x43cca1(0x1d2))[a2_0x43cca1(0x149)](a2_0x43cca1(0x326),a2_0x43cca1(0x2eb))[a2_0x43cca1(0x149)](a2_0x43cca1(0x24c),a2_0x43cca1(0x212))[a2_0x43cca1(0x149)](a2_0x43cca1(0x185),a2_0x43cca1(0x2fb))['option'](a2_0x43cca1(0x2a6),a2_0x43cca1(0x323))[a2_0x43cca1(0x149)](a2_0x43cca1(0x220),a2_0x43cca1(0x3b7))[a2_0x43cca1(0x149)](a2_0x43cca1(0x25c),a2_0x43cca1(0x3d4))[a2_0x43cca1(0x149)]('--customer-group\x20<json>',a2_0x43cca1(0x3c1))['option'](a2_0x43cca1(0x3a0),a2_0x43cca1(0x468))[a2_0x43cca1(0x37b)](async(_0x306f1c,_0x559047)=>{const _0xb78074=a2_0x43cca1,_0x10d37d=new ParentSegmentCreateCommand(),_0x28e067=program[_0xb78074(0x33d)](),_0x12f04f=await createTDXInstance(_0x28e067),_0x46996e=await _0x10d37d[_0xb78074(0x34d)]({'options':{..._0x28e067,..._0x559047},'args':[_0x306f1c],'tdx':_0x12f04f});gracefulExit(_0x46996e);}),parentCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x257))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x426))[a2_0x43cca1(0x149)](a2_0x43cca1(0x286),a2_0x43cca1(0x206))['option']('--schedule-type\x20<type>','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x43cca1(0x149)]('--schedule-option\x20<value>',a2_0x43cca1(0x38b))[a2_0x43cca1(0x149)](a2_0x43cca1(0x24c),'Updated\x20timezone')[a2_0x43cca1(0x149)](a2_0x43cca1(0x1e8),a2_0x43cca1(0x1d5))[a2_0x43cca1(0x149)](a2_0x43cca1(0x330),a2_0x43cca1(0x35b))['option'](a2_0x43cca1(0x251),'Add\x20behaviors\x20as\x20JSON\x20string')[a2_0x43cca1(0x149)](a2_0x43cca1(0x3f6),a2_0x43cca1(0x34c))['action'](async(_0x3401cd,_0x69b053)=>{const _0x52cf48=a2_0x43cca1,_0x5c9907=new ParentSegmentUpdateCommand(),_0x1340b0=program[_0x52cf48(0x33d)](),_0xb529a3=await createTDXInstance(_0x1340b0),_0x32dbbe=await _0x5c9907[_0x52cf48(0x34d)]({'options':{..._0x1340b0,..._0x69b053},'args':[_0x3401cd],'tdx':_0xb529a3});gracefulExit(_0x32dbbe);}),folderCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x1bb))['description'](a2_0x43cca1(0x3a7))['option'](a2_0x43cca1(0x286),a2_0x43cca1(0x44a))[a2_0x43cca1(0x149)](a2_0x43cca1(0x21b),'Parent\x20folder\x20name\x20for\x20nested\x20folders')['action'](async(_0x501765,_0xd91fb7,_0x3d33ca)=>{const _0x127a94=a2_0x43cca1,_0x199691=new SegmentFolderCreateCommand(),_0x1ee5ff=program['opts'](),_0x23644c=await createTDXInstance(_0x1ee5ff),_0x3a2346=await _0x199691[_0x127a94(0x34d)]({'options':{..._0x1ee5ff,..._0x3d33ca},'args':[_0x501765,_0xd91fb7],'tdx':_0x23644c});gracefulExit(_0x3a2346);}),program[a2_0x43cca1(0x177)]('activations\x20<segment_name>')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x180))['action'](async(_0x123629,_0x12a5aa)=>{const _0x4029de=a2_0x43cca1,_0x13e465=new ActivationsCommand(),_0x26f503=program[_0x4029de(0x33d)](),_0x445180=await createTDXInstance(_0x26f503),_0x5d9ac7=await _0x13e465[_0x4029de(0x34d)]({'options':{..._0x26f503,..._0x12a5aa},'args':[_0x123629],'tdx':_0x445180});gracefulExit(_0x5d9ac7);});const workflowCmd=program[a2_0x43cca1(0x177)](a2_0x43cca1(0x2a7))['alias']('wf')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x21f)),wfProjectCmd=workflowCmd['command'](a2_0x43cca1(0x15b))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x43d)),wfProjectListAction=async(_0x14492c,_0x383a44)=>{const _0x10199a=a2_0x43cca1,_0x20e66e=new WorkflowProjectsCommand(),_0x835573=program[_0x10199a(0x33d)](),_0x358379=await createTDXInstance(_0x835573),_0xf0fc6=await _0x20e66e[_0x10199a(0x34d)]({'options':{..._0x835573,..._0x383a44},'args':_0x14492c?[_0x14492c]:[],'tdx':_0x358379});gracefulExit(_0xf0fc6);};wfProjectCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2ec))[a2_0x43cca1(0x33c)]('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x43cca1(0x37b)](wfProjectListAction),workflowCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x277))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x14d))[a2_0x43cca1(0x37b)](wfProjectListAction);const wfWorkflowListAction=async(_0x4fb6a8,_0x104013)=>{const _0x49e579=a2_0x43cca1,_0x416a60=new WorkflowWorkflowsCommand(),_0x4a943d=program[_0x49e579(0x33d)](),_0x294b03=await createTDXInstance(_0x4a943d),_0x23489f=await _0x416a60[_0x49e579(0x34d)]({'options':{..._0x4a943d,..._0x104013},'args':_0x4fb6a8?[_0x4fb6a8]:[],'tdx':_0x294b03});gracefulExit(_0x23489f);};workflowCmd[a2_0x43cca1(0x177)]('workflows\x20[project]')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x351))[a2_0x43cca1(0x37b)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x446))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x26c)),wfSessionListAction=async(_0x1eb9db,_0x1da928)=>{const _0x5639ee=a2_0x43cca1,_0x485736=new WorkflowSessionsCommand(),_0x551346=program['opts'](),_0x84dc81=await createTDXInstance(_0x551346),_0x46debd=await _0x485736[_0x5639ee(0x34d)]({'options':{..._0x551346,..._0x1da928},'args':_0x1eb9db?[_0x1eb9db]:[],'tdx':_0x84dc81});gracefulExit(_0x46debd);};wfSessionCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x29b))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x1e2))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2fc),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')['option'](a2_0x43cca1(0x174),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option'](a2_0x43cca1(0x16e),a2_0x43cca1(0x318))['action'](wfSessionListAction),workflowCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x172))[a2_0x43cca1(0x33c)]('List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)')['option']('--status\x20<status>',a2_0x43cca1(0x3f2))[a2_0x43cca1(0x149)](a2_0x43cca1(0x174),a2_0x43cca1(0x1f9))['option']('--to\x20<timestamp>',a2_0x43cca1(0x318))[a2_0x43cca1(0x37b)](wfSessionListAction);const wfAttemptListAction=async(_0x59bf91,_0x1958bf)=>{const _0x264b15=a2_0x43cca1,_0x8a3c99=new WorkflowAttemptsCommand(),_0x4530f8=program[_0x264b15(0x33d)](),_0x314b36=await createTDXInstance(_0x4530f8),_0x39213b=await _0x8a3c99[_0x264b15(0x34d)]({'options':{..._0x4530f8,..._0x1958bf},'args':_0x59bf91?[_0x59bf91]:[],'tdx':_0x314b36});gracefulExit(_0x39213b);},attemptCmd=workflowCmd['command'](a2_0x43cca1(0x3e5))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x193))[a2_0x43cca1(0x214)](a2_0x43cca1(0x464),'Attempt\x20ID')['argument']('[action]',a2_0x43cca1(0x1dd))[a2_0x43cca1(0x214)](a2_0x43cca1(0x291),'Task\x20name\x20for\x20logs\x20action')['option']('--include-subtasks','Include\x20subtasks\x20in\x20tasks\x20output')[a2_0x43cca1(0x149)](a2_0x43cca1(0x425),'Reason\x20for\x20killing\x20the\x20attempt')['option'](a2_0x43cca1(0x2d4),'Resume\x20from\x20specific\x20task\x20(retry)')[a2_0x43cca1(0x149)]('--params\x20<json>','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')['option'](a2_0x43cca1(0x266),a2_0x43cca1(0x191))[a2_0x43cca1(0x149)](a2_0x43cca1(0x176),a2_0x43cca1(0x145))[a2_0x43cca1(0x37b)](async(_0x35a2a0,_0x63ed4,_0x31e6d6,_0x2c1927)=>{const _0x224bf3=a2_0x43cca1;if(_0x35a2a0===_0x224bf3(0x1a9)){await wfAttemptListAction(_0x63ed4,_0x2c1927);return;}if(!_0x35a2a0){attemptCmd[_0x224bf3(0x374)]();return;}const _0x44bdbc=program['opts'](),_0x248357=await createTDXInstance(_0x44bdbc);let _0x8ad021=0x0;if(!_0x63ed4){const _0x2385fa=new WorkflowAttemptCommand();_0x8ad021=await _0x2385fa[_0x224bf3(0x34d)]({'options':{..._0x44bdbc,..._0x2c1927},'args':[_0x35a2a0],'tdx':_0x248357});}else{if(_0x63ed4===_0x224bf3(0x1ba)){const _0x34d829=new WorkflowLogsCommand();_0x8ad021=await _0x34d829[_0x224bf3(0x34d)]({'options':{..._0x44bdbc,..._0x2c1927},'args':_0x31e6d6?[_0x35a2a0,_0x31e6d6]:[_0x35a2a0],'tdx':_0x248357});}else{if(_0x63ed4===_0x224bf3(0x2af)){const _0x123b1c=new WorkflowTasksCommand();_0x8ad021=await _0x123b1c['run']({'options':{..._0x44bdbc,..._0x2c1927},'args':[_0x35a2a0],'tdx':_0x248357});}else{if(_0x63ed4===_0x224bf3(0x417)){const _0xd6aa67=new WorkflowKillCommand();_0x8ad021=await _0xd6aa67['run']({'options':{..._0x44bdbc,..._0x2c1927},'args':[_0x35a2a0],'tdx':_0x248357});}else{if(_0x63ed4===_0x224bf3(0x34b)){const _0x214722=new WorkflowRetryCommand();_0x8ad021=await _0x214722[_0x224bf3(0x34d)]({'options':{..._0x44bdbc,..._0x2c1927},'args':[_0x224bf3(0x150)+_0x35a2a0],'tdx':_0x248357});}else console['error'](_0x224bf3(0x31b)+_0x63ed4),console['error'](_0x224bf3(0x28f)),_0x8ad021=0x1;}}}}gracefulExit(_0x8ad021);});attemptCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x29b))['description'](a2_0x43cca1(0x41b))[a2_0x43cca1(0x149)](a2_0x43cca1(0x176),'Include\x20retried\x20attempts')[a2_0x43cca1(0x37b)](wfAttemptListAction),workflowCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x1ae))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x2a5))['option']('--include-retried','Include\x20retried\x20attempts')[a2_0x43cca1(0x37b)](wfAttemptListAction),workflowCmd['command'](a2_0x43cca1(0x429))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x246))[a2_0x43cca1(0x149)]('--follow',a2_0x43cca1(0x319))[a2_0x43cca1(0x149)]('--session-id\x20<id>',a2_0x43cca1(0x17a))['option'](a2_0x43cca1(0x415),a2_0x43cca1(0x1eb))['action'](async(_0x43a979,_0x4d3ae5)=>{const _0x191091=a2_0x43cca1,_0x5bb151=new WorkflowTimelineCommand(),_0xa7c95d=program[_0x191091(0x33d)](),_0x4ddcbc=await createTDXInstance(_0xa7c95d),_0x418a2f=await _0x5bb151[_0x191091(0x34d)]({'options':{..._0xa7c95d,..._0x4d3ae5},'args':_0x43a979?[_0x43a979]:[],'tdx':_0x4ddcbc});gracefulExit(_0x418a2f);}),workflowCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x445))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3c8))[a2_0x43cca1(0x149)]('--from-task\x20<task>',a2_0x43cca1(0x3bf))['option']('--params\x20<json>','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x43cca1(0x37b)](async(_0x51d5ca,_0x55ab49)=>{const _0x317b49=a2_0x43cca1,_0x46e204=new WorkflowRetryCommand(),_0x2ff1f1=program['opts'](),_0x35c37f=await createTDXInstance(_0x2ff1f1),_0x1b6762=await _0x46e204[_0x317b49(0x34d)]({'options':{..._0x2ff1f1,..._0x55ab49},'args':[_0x51d5ca],'tdx':_0x35c37f});gracefulExit(_0x1b6762);}),workflowCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x13f))['description'](a2_0x43cca1(0x166))[a2_0x43cca1(0x149)](a2_0x43cca1(0x29f),a2_0x43cca1(0x332),(_0xb06601,_0x235741=[])=>[..._0x235741,_0xb06601],[])[a2_0x43cca1(0x149)]('--session-time\x20<time>',a2_0x43cca1(0x1cf))['action'](async(_0x49af99,_0x34c299)=>{const _0xb3faa8=a2_0x43cca1,_0x85e262=new WorkflowRunCommand(),_0x4c7f36=program[_0xb3faa8(0x33d)](),_0x21d587=await createTDXInstance(_0x4c7f36),_0x51fa44=await _0x85e262[_0xb3faa8(0x34d)]({'options':{..._0x4c7f36,..._0x34c299},'args':_0x49af99?[_0x49af99]:[],'tdx':_0x21d587});gracefulExit(_0x51fa44);}),workflowCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x377))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x169))[a2_0x43cca1(0x149)](a2_0x43cca1(0x263),a2_0x43cca1(0x378))[a2_0x43cca1(0x37b)](async(_0x186f41,_0x40e6ff,_0x28d4e4)=>{const _0x48326d=a2_0x43cca1,_0xe8df4e=new WorkflowDownloadCommand(),_0x3cf083=program['opts'](),_0x38a010=await createTDXInstance(_0x3cf083),_0x57d7f0=await _0xe8df4e[_0x48326d(0x34d)]({'options':{..._0x3cf083,..._0x28d4e4},'args':[_0x186f41,_0x40e6ff||'.'],'tdx':_0x38a010});gracefulExit(_0x57d7f0);}),workflowCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x313))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x2d0))[a2_0x43cca1(0x149)]('--revision\x20<revision>',a2_0x43cca1(0x44d))[a2_0x43cca1(0x149)](a2_0x43cca1(0x45e),a2_0x43cca1(0x1ed))[a2_0x43cca1(0x37b)](async(_0x565f81,_0x59114a,_0x43b362)=>{const _0x325802=a2_0x43cca1,_0xadc4d4=new WorkflowPullCommand(),_0x167362=program['opts'](),_0x1d0de8=await createTDXInstance(_0x167362),_0x13dc4f=await _0xadc4d4[_0x325802(0x34d)]({'options':{..._0x167362,..._0x43b362},'args':_0x59114a?[_0x565f81,_0x59114a]:[_0x565f81],'tdx':_0x1d0de8});gracefulExit(_0x13dc4f);}),workflowCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x1d7))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x221))[a2_0x43cca1(0x149)](a2_0x43cca1(0x263),'Custom\x20revision\x20name\x20(default:\x20timestamp)')[a2_0x43cca1(0x149)](a2_0x43cca1(0x45e),'Preview\x20changes\x20without\x20pushing')['option'](a2_0x43cca1(0x1ac),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x43cca1(0x37b)](async(_0x4ac13b,_0x11940c)=>{const _0x2df6bd=a2_0x43cca1,_0x256c4d=new WorkflowPushCommand(),_0x3857cb=program['opts'](),_0x3d0566=await createTDXInstance(_0x3857cb),_0x476234=await _0x256c4d[_0x2df6bd(0x34d)]({'options':{..._0x3857cb,..._0x11940c},'args':_0x4ac13b?[_0x4ac13b]:[],'tdx':_0x3d0566});gracefulExit(_0x476234);}),workflowCmd['command']('upload\x20[project-name-or-dir]')[a2_0x43cca1(0x33c)]('Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)')[a2_0x43cca1(0x149)](a2_0x43cca1(0x18f),'Override\x20project\x20name')[a2_0x43cca1(0x149)](a2_0x43cca1(0x263),a2_0x43cca1(0x211))[a2_0x43cca1(0x149)]('--skip-validation',a2_0x43cca1(0x1a0))[a2_0x43cca1(0x37b)](async(_0x54af43,_0x2d45b0)=>{const _0x1392f5=a2_0x43cca1,_0x39b1fe=new WorkflowUploadCommand(),_0x228da3=program[_0x1392f5(0x33d)](),_0x58d586=await createTDXInstance(_0x228da3),_0x498dbe=await _0x39b1fe['run']({'options':{..._0x228da3,..._0x2d45b0},'args':_0x54af43?[_0x54af43]:[],'tdx':_0x58d586});gracefulExit(_0x498dbe);}),workflowCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x34a))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x1fd))[a2_0x43cca1(0x149)](a2_0x43cca1(0x18f),a2_0x43cca1(0x30f))[a2_0x43cca1(0x149)](a2_0x43cca1(0x263),a2_0x43cca1(0x252))[a2_0x43cca1(0x149)](a2_0x43cca1(0x45e),'Preview\x20without\x20creating\x20the\x20project')[a2_0x43cca1(0x149)](a2_0x43cca1(0x1ac),a2_0x43cca1(0x1a0))[a2_0x43cca1(0x37b)](async(_0x390e17,_0x32652a)=>{const _0x2c0c4f=a2_0x43cca1,_0x5f210d=new WorkflowCloneCommand(),_0x21c56d=program[_0x2c0c4f(0x33d)](),_0x3c2490=await createTDXInstance(_0x21c56d),_0x39ecdf=await _0x5f210d[_0x2c0c4f(0x34d)]({'options':{..._0x21c56d,..._0x32652a},'args':_0x390e17?[_0x390e17]:[],'tdx':_0x3c2490});gracefulExit(_0x39ecdf);}),workflowCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x3c9))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x19b))[a2_0x43cca1(0x37b)](async(_0x13df20,_0x219599)=>{const _0x362048=a2_0x43cca1,_0x2da649=new WorkflowDeleteCommand(),_0x428bc1=program[_0x362048(0x33d)](),_0x1117c5=await createTDXInstance(_0x428bc1),_0x1b47b9=await _0x2da649[_0x362048(0x34d)]({'options':{..._0x428bc1,..._0x219599},'args':[_0x13df20],'tdx':_0x1117c5});gracefulExit(_0x1b47b9);}),workflowCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x230))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x2b1))['option'](a2_0x43cca1(0x41e),a2_0x43cca1(0x24e))[a2_0x43cca1(0x37b)](async(_0x10190c,_0x5dc496)=>{const _0x144f19=a2_0x43cca1,_0xe1c2fd=new WorkflowUseCommand(),_0x536710=program[_0x144f19(0x33d)](),_0x1ec5a7=await createTDXInstance(_0x536710),_0x4032e6=await _0xe1c2fd['run']({'options':{..._0x536710,..._0x5dc496},'args':_0x10190c?[_0x10190c]:[],'tdx':_0x1ec5a7});gracefulExit(_0x4032e6);});const wfSecretsCmd=workflowCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x339))[a2_0x43cca1(0x33c)]('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x29b))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x358))['action'](async(_0xc6b21e,_0x999295)=>{const _0x1d3dbe=a2_0x43cca1,_0x33c24f=new WorkflowSecretsListCommand(),_0x158736=program[_0x1d3dbe(0x33d)](),_0x4f3915=await createTDXInstance(_0x158736),_0x7c406e=await _0x33c24f[_0x1d3dbe(0x34d)]({'options':{..._0x158736,..._0x999295},'args':_0xc6b21e?[_0xc6b21e]:[],'tdx':_0x4f3915});gracefulExit(_0x7c406e);}),wfSecretsCmd[a2_0x43cca1(0x177)]('set\x20<args...>')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3b3))[a2_0x43cca1(0x37b)](async(_0x5511fb,_0x29049a)=>{const _0x14f5fb=a2_0x43cca1,_0x531935=new WorkflowSecretsSetCommand(),_0x5f1111=program['opts'](),_0x3e04ce=await createTDXInstance(_0x5f1111),_0x271006=await _0x531935[_0x14f5fb(0x34d)]({'options':{..._0x5f1111,..._0x29049a},'args':_0x5511fb,'tdx':_0x3e04ce});gracefulExit(_0x271006);}),wfSecretsCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2bb))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3a2))[a2_0x43cca1(0x37b)](async(_0x3bd82d,_0x361fe9)=>{const _0x32223c=a2_0x43cca1,_0x13b102=new WorkflowSecretsDeleteCommand(),_0x575be4=program[_0x32223c(0x33d)](),_0x57da81=await createTDXInstance(_0x575be4),_0x1ca9b4=await _0x13b102[_0x32223c(0x34d)]({'options':{..._0x575be4,..._0x361fe9},'args':_0x3bd82d,'tdx':_0x57da81});gracefulExit(_0x1ca9b4);});const wfScheduleCmd=workflowCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2d3))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x37a));wfScheduleCmd[a2_0x43cca1(0x177)]('enable\x20<id>')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x437))[a2_0x43cca1(0x37b)](async(_0x44b771,_0x3a2a34)=>{const _0x47d111=a2_0x43cca1,_0x46d8a0=new WorkflowScheduleEnableCommand(),_0xffb06a=program[_0x47d111(0x33d)](),_0x54d943=await createTDXInstance(_0xffb06a),_0x3d4e3e=await _0x46d8a0[_0x47d111(0x34d)]({'options':{..._0xffb06a,..._0x3a2a34},'args':[_0x44b771],'tdx':_0x54d943});gracefulExit(_0x3d4e3e);}),wfScheduleCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x35a))[a2_0x43cca1(0x33c)]('Disable\x20a\x20workflow\x20schedule')[a2_0x43cca1(0x37b)](async(_0xb3b970,_0x82fca8)=>{const _0x1e0fbf=a2_0x43cca1,_0x4a2f31=new WorkflowScheduleDisableCommand(),_0xe4e08e=program['opts'](),_0x5c2be8=await createTDXInstance(_0xe4e08e),_0x20e1d2=await _0x4a2f31[_0x1e0fbf(0x34d)]({'options':{..._0xe4e08e,..._0x82fca8},'args':[_0xb3b970],'tdx':_0x5c2be8});gracefulExit(_0x20e1d2);}),workflowCmd['command']('schedules')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x41d))[a2_0x43cca1(0x37b)](async _0xc15fbc=>{const _0x1c047f=a2_0x43cca1,_0x24812a=new WorkflowSchedulesCommand(),_0x28ab91=program[_0x1c047f(0x33d)](),_0xd19853=await createTDXInstance(_0x28ab91),_0x2c22f4=await _0x24812a[_0x1c047f(0x34d)]({'options':{..._0x28ab91,..._0xc15fbc},'args':[],'tdx':_0xd19853});gracefulExit(_0x2c22f4);});const jobCmd=program[a2_0x43cca1(0x177)](a2_0x43cca1(0x1fb))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x29c)),jobListAction=async _0x2959ff=>{const _0x140225=a2_0x43cca1,_0x503c2a=new JobListCommand(),_0x503fed=program['opts'](),_0x4397fa=await createTDXInstance(_0x503fed),_0x52e23c=await _0x503c2a[_0x140225(0x34d)]({'options':{..._0x503fed,..._0x2959ff},'args':[],'tdx':_0x4397fa});gracefulExit(_0x52e23c);};jobCmd[a2_0x43cca1(0x177)]('list')['description'](a2_0x43cca1(0x387))[a2_0x43cca1(0x149)]('--status\x20<status>',a2_0x43cca1(0x346))[a2_0x43cca1(0x37b)](jobListAction),program[a2_0x43cca1(0x177)](a2_0x43cca1(0x342),{'hidden':!![]})['description'](a2_0x43cca1(0x1b1))[a2_0x43cca1(0x149)]('--status\x20<status>',a2_0x43cca1(0x346))[a2_0x43cca1(0x37b)](jobListAction),jobCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x1ce))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x2f4))[a2_0x43cca1(0x37b)](async(_0x3c2e1a,_0x421262)=>{const _0x19cbd0=a2_0x43cca1,_0x1d0c30=new JobShowCommand(),_0x46b2e4=program[_0x19cbd0(0x33d)](),_0x2b748a=await createTDXInstance(_0x46b2e4),_0x5c8faf=await _0x1d0c30[_0x19cbd0(0x34d)]({'options':{..._0x46b2e4,..._0x421262},'args':[_0x3c2e1a],'tdx':_0x2b748a});gracefulExit(_0x5c8faf);}),jobCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x1bc))[a2_0x43cca1(0x33c)]('Kill\x20a\x20job')[a2_0x43cca1(0x37b)](async(_0x396168,_0x2f18d0)=>{const _0x2184e4=a2_0x43cca1,_0x328cf5=new JobKillCommand(),_0x466922=program[_0x2184e4(0x33d)](),_0x5ac4d8=await createTDXInstance(_0x466922),_0x4271d6=await _0x328cf5[_0x2184e4(0x34d)]({'options':{..._0x466922,..._0x2f18d0},'args':[_0x396168],'tdx':_0x5ac4d8});gracefulExit(_0x4271d6);}),jobCmd[a2_0x43cca1(0x177)]('submit\x20[query]')['description']('Submit\x20a\x20job')['option'](a2_0x43cca1(0x25b),a2_0x43cca1(0x321),a2_0x43cca1(0x22b))['option'](a2_0x43cca1(0x25f),'Read\x20query\x20from\x20file')[a2_0x43cca1(0x149)](a2_0x43cca1(0x3b4),a2_0x43cca1(0x43f),a2_0x43cca1(0x2a8))['option'](a2_0x43cca1(0x3da),'Result\x20export\x20destination\x20(URL\x20or\x20JSON)')[a2_0x43cca1(0x37b)](async(_0x2cee1f,_0x419b79)=>{const _0x145848=a2_0x43cca1,_0x5b0035=new JobSubmitCommand(),_0x23e423=program[_0x145848(0x33d)](),_0x359365=await createTDXInstance(_0x23e423),_0x2ba7e9=await _0x5b0035['run']({'options':{..._0x23e423,..._0x419b79},'args':_0x2cee1f?[_0x2cee1f]:[],'tdx':_0x359365});gracefulExit(_0x2ba7e9);}),jobCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2f2))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x247))[a2_0x43cca1(0x37b)](async(_0x871d45,_0x18babd)=>{const _0x164910=a2_0x43cca1,_0x468e5a=new JobResultCommand(),_0x57e957=program['opts'](),_0x29effa=await createTDXInstance(_0x57e957),_0x1ac7a0=await _0x468e5a[_0x164910(0x34d)]({'options':{..._0x57e957,..._0x18babd},'args':[_0x871d45],'tdx':_0x29effa});gracefulExit(_0x1ac7a0);});const scheduleCmd=jobCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2d3))[a2_0x43cca1(0x33c)]('Scheduled\x20query\x20management\x20commands');scheduleCmd['command']('list\x20[pattern]')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x430))[a2_0x43cca1(0x37b)](async(_0xc3f78,_0x369b3a)=>{const _0x50cc33=a2_0x43cca1,_0x1759df=new ScheduleListCommand(),_0x143b4f=program[_0x50cc33(0x33d)](),_0x572153=await createTDXInstance(_0x143b4f),_0x53d497=await _0x1759df['run']({'options':{..._0x143b4f,..._0x369b3a},'args':_0xc3f78?[_0xc3f78]:[],'tdx':_0x572153});gracefulExit(_0x53d497);}),scheduleCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x3a6))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x199))[a2_0x43cca1(0x37b)](async(_0xa9443,_0x337507)=>{const _0x11c5c4=a2_0x43cca1,_0x4ad13a=new ScheduleShowCommand(),_0x3ec5a9=program[_0x11c5c4(0x33d)](),_0x284123=await createTDXInstance(_0x3ec5a9),_0x34be7f=await _0x4ad13a['run']({'options':{..._0x3ec5a9,..._0x337507},'args':[_0xa9443],'tdx':_0x284123});gracefulExit(_0x34be7f);}),scheduleCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2c5))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x38a))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2ca),a2_0x43cca1(0x245))[a2_0x43cca1(0x149)](a2_0x43cca1(0x42b),a2_0x43cca1(0x278))['requiredOption']('-f,\x20--file\x20<path>',a2_0x43cca1(0x3a1))[a2_0x43cca1(0x149)]('--type\x20<type>',a2_0x43cca1(0x45d),a2_0x43cca1(0x22b))[a2_0x43cca1(0x149)](a2_0x43cca1(0x463),a2_0x43cca1(0x295))[a2_0x43cca1(0x149)](a2_0x43cca1(0x24c),a2_0x43cca1(0x40c))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2cb),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x43cca1(0x149)](a2_0x43cca1(0x171),'Job\x20priority\x20(-2\x20to\x202)')['option'](a2_0x43cca1(0x1bf),'Retry\x20limit\x20(0\x20to\x2032)')[a2_0x43cca1(0x149)]('--engine-version\x20<version>',a2_0x43cca1(0x320))[a2_0x43cca1(0x149)]('--result\x20<url>',a2_0x43cca1(0x383))[a2_0x43cca1(0x37b)](async(_0x5119a4,_0x4e7213)=>{const _0x5b8780=a2_0x43cca1,_0x4179e8=new ScheduleCreateCommand(),_0x20bfee=program[_0x5b8780(0x33d)](),_0x4f6cda=await createTDXInstance(_0x20bfee);_0x4e7213['in']&&(_0x4e7213[_0x5b8780(0x33b)]=_0x4e7213['in']);const _0x15c832=await _0x4179e8['run']({'options':{..._0x20bfee,..._0x4e7213},'args':[_0x5119a4],'tdx':_0x4f6cda});gracefulExit(_0x15c832);}),scheduleCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x257))['description'](a2_0x43cca1(0x236))['option']('-d,\x20--database\x20<db>',a2_0x43cca1(0x223))[a2_0x43cca1(0x149)](a2_0x43cca1(0x42b),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x43cca1(0x149)]('-f,\x20--file\x20<path>',a2_0x43cca1(0x3a1))['option'](a2_0x43cca1(0x36d),a2_0x43cca1(0x45d))[a2_0x43cca1(0x149)](a2_0x43cca1(0x463),a2_0x43cca1(0x295))[a2_0x43cca1(0x149)](a2_0x43cca1(0x24c),'Timezone\x20for\x20cron')[a2_0x43cca1(0x149)](a2_0x43cca1(0x2cb),a2_0x43cca1(0x18c))['option'](a2_0x43cca1(0x171),a2_0x43cca1(0x260))['option'](a2_0x43cca1(0x1bf),a2_0x43cca1(0x298))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2dc),a2_0x43cca1(0x320))['option'](a2_0x43cca1(0x359),a2_0x43cca1(0x383))['action'](async(_0x4d4c53,_0x1cda90)=>{const _0x47e1fe=a2_0x43cca1,_0x370f2d=new ScheduleUpdateCommand(),_0x35050b=program[_0x47e1fe(0x33d)](),_0x2aeca4=await createTDXInstance(_0x35050b);_0x1cda90['in']&&(_0x1cda90['database']=_0x1cda90['in']);const _0x31a7b2=await _0x370f2d['run']({'options':{..._0x35050b,..._0x1cda90},'args':[_0x4d4c53],'tdx':_0x2aeca4});gracefulExit(_0x31a7b2);}),scheduleCmd['command']('delete\x20<name>')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x23b))[a2_0x43cca1(0x37b)](async(_0x4911c8,_0x1461d5)=>{const _0x2fcd5e=a2_0x43cca1,_0x1b64cf=new ScheduleDeleteCommand(),_0x2a5c97=program[_0x2fcd5e(0x33d)](),_0x525732=await createTDXInstance(_0x2a5c97),_0x3a071e=await _0x1b64cf[_0x2fcd5e(0x34d)]({'options':{..._0x2a5c97,..._0x1461d5},'args':[_0x4911c8],'tdx':_0x525732});gracefulExit(_0x3a071e);}),scheduleCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x210))[a2_0x43cca1(0x33c)]('Run\x20a\x20scheduled\x20query\x20immediately')[a2_0x43cca1(0x149)](a2_0x43cca1(0x1ee),a2_0x43cca1(0x194))[a2_0x43cca1(0x149)](a2_0x43cca1(0x3d3),a2_0x43cca1(0x19a))[a2_0x43cca1(0x37b)](async(_0xcc8e46,_0x3032a2)=>{const _0x16e314=a2_0x43cca1,_0xd8965=new ScheduleRunCommand(),_0x3151af=program[_0x16e314(0x33d)](),_0x2ce269=await createTDXInstance(_0x3151af),_0x4576fd=await _0xd8965[_0x16e314(0x34d)]({'options':{..._0x3151af,..._0x3032a2},'args':[_0xcc8e46],'tdx':_0x2ce269});gracefulExit(_0x4576fd);}),scheduleCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x427))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x384))['option'](a2_0x43cca1(0x18b),'Starting\x20offset\x20(default:\x200)')[a2_0x43cca1(0x149)](a2_0x43cca1(0x423),a2_0x43cca1(0x272))['action'](async(_0x542720,_0x548d34)=>{const _0x527892=new ScheduleHistoryCommand(),_0x7290f1=program['opts'](),_0x2cf2a4=await createTDXInstance(_0x7290f1),_0x3a71cf=await _0x527892['run']({'options':{..._0x7290f1,..._0x548d34},'args':[_0x542720],'tdx':_0x2cf2a4});gracefulExit(_0x3a71cf);});const llmCmd=program[a2_0x43cca1(0x177)](a2_0x43cca1(0x28c))['description'](a2_0x43cca1(0x294));llmCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x1ec))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3bd))[a2_0x43cca1(0x37b)](async(_0x23c824,_0x58a74e)=>{const _0x3e3f1e=a2_0x43cca1,_0x2b78de=new LLMUseCommand(),_0x51d709=program[_0x3e3f1e(0x33d)](),_0x53fcee=await createTDXInstance(_0x51d709),_0xdba987=await _0x2b78de[_0x3e3f1e(0x34d)]({'options':{..._0x51d709,..._0x58a74e},'args':[_0x23c824],'tdx':_0x53fcee});gracefulExit(_0xdba987);}),llmCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x3c4))[a2_0x43cca1(0x33c)]('List\x20available\x20LLM\x20models')[a2_0x43cca1(0x37b)](async _0x35b97a=>{const _0x19ae72=a2_0x43cca1,_0x18f8e7=new LLMModelsCommand(),_0x369f01=program['opts'](),_0x24ab42=await createTDXInstance(_0x369f01),_0x576ee1=await _0x18f8e7[_0x19ae72(0x34d)]({'options':{..._0x369f01,..._0x35b97a},'args':[],'tdx':_0x24ab42});gracefulExit(_0x576ee1);});const projectCmd=llmCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x15b))['description'](a2_0x43cca1(0x413)),llmProjectListAction=async(_0x2aa62a,_0x28056d)=>{const _0x272f2d=a2_0x43cca1,_0x3322a4=new LLMProjectsCommand(),_0x2bf9e3=program[_0x272f2d(0x33d)](),_0xc7817a=await createTDXInstance(_0x2bf9e3),_0x5e4819=await _0x3322a4[_0x272f2d(0x34d)]({'options':{..._0x2bf9e3,..._0x28056d},'args':_0x2aa62a?[_0x2aa62a]:[],'tdx':_0xc7817a});gracefulExit(_0x5e4819);};projectCmd[a2_0x43cca1(0x177)]('list\x20[pattern]')['description'](a2_0x43cca1(0x2bc))[a2_0x43cca1(0x37b)](llmProjectListAction),llmCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x277))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x352))[a2_0x43cca1(0x37b)](llmProjectListAction),projectCmd[a2_0x43cca1(0x177)]('create\x20<name>')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x2e5))[a2_0x43cca1(0x149)](a2_0x43cca1(0x286),'Project\x20description')[a2_0x43cca1(0x37b)](async(_0x183a0b,_0x3fc4af)=>{const _0x489d86=a2_0x43cca1,_0x3c4d3e=new LLMProjectCreateCommand(),_0x2ff688=program[_0x489d86(0x33d)](),_0x64bb73=await createTDXInstance(_0x2ff688),_0x39737b=await _0x3c4d3e[_0x489d86(0x34d)]({'options':{..._0x2ff688,..._0x3fc4af},'args':[_0x183a0b],'tdx':_0x64bb73});gracefulExit(_0x39737b);}),projectCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x1b0))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3ea))[a2_0x43cca1(0x37b)](async(_0x45cb33,_0x121207)=>{const _0x31ad0a=a2_0x43cca1,_0x451e6b=new LLMProjectDeleteCommand(),_0x26b6c7=program[_0x31ad0a(0x33d)](),_0x345ee1=await createTDXInstance(_0x26b6c7),_0xce64ab=await _0x451e6b[_0x31ad0a(0x34d)]({'options':{..._0x26b6c7,..._0x121207},'args':[_0x45cb33],'tdx':_0x345ee1});gracefulExit(_0xce64ab);}),projectCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x254))['description'](a2_0x43cca1(0x3bc))['option'](a2_0x43cca1(0x24a),a2_0x43cca1(0x2ee))[a2_0x43cca1(0x149)](a2_0x43cca1(0x45e),a2_0x43cca1(0x16d))[a2_0x43cca1(0x37b)](async(_0x1ea753,_0x494410)=>{const _0x24de17=a2_0x43cca1,_0x2b83e4=new LLMProjectBackupCommand(),_0x2748c2=program[_0x24de17(0x33d)](),_0x428e46=await createTDXInstance(_0x2748c2),_0x33d726=await _0x2b83e4[_0x24de17(0x34d)]({'options':{..._0x2748c2,..._0x494410},'args':[_0x1ea753],'tdx':_0x428e46});gracefulExit(_0x33d726);}),projectCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x27a))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x452))['option'](a2_0x43cca1(0x2fe),a2_0x43cca1(0x343))[a2_0x43cca1(0x149)](a2_0x43cca1(0x45e),'Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')[a2_0x43cca1(0x37b)](async(_0x4f1c69,_0x58812f)=>{const _0x39c7ab=a2_0x43cca1,_0x5dd88a=new LLMProjectRestoreCommand(),_0x165b26=program[_0x39c7ab(0x33d)](),_0x5a5a36=await createTDXInstance(_0x165b26),_0xd802c7=await _0x5dd88a[_0x39c7ab(0x34d)]({'options':{..._0x165b26,..._0x58812f},'args':[_0x4f1c69],'tdx':_0x5a5a36});gracefulExit(_0xd802c7);});const llmAgentListAction=async(_0x4274d0,_0x40e08c)=>{const _0x50b88d=a2_0x43cca1,_0xcaa863=new LLMAgentsCommand(),_0x10cb89=program[_0x50b88d(0x33d)](),_0x42738d=await createTDXInstance(_0x10cb89),_0x510002=await _0xcaa863[_0x50b88d(0x34d)]({'options':{..._0x10cb89,..._0x40e08c},'args':_0x4274d0?[_0x4274d0]:[],'tdx':_0x42738d});gracefulExit(_0x510002);};llmCmd['command'](a2_0x43cca1(0x2f1))[a2_0x43cca1(0x33c)]('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')[a2_0x43cca1(0x37b)](llmAgentListAction),program[a2_0x43cca1(0x177)]('agents\x20[pattern]')[a2_0x43cca1(0x33c)]('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')['action'](llmAgentListAction),llmCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2ed))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x227))[a2_0x43cca1(0x149)](a2_0x43cca1(0x470),a2_0x43cca1(0x201))[a2_0x43cca1(0x37b)](async(_0x4cbf8c,_0x12d87d)=>{const _0xefa9d6=a2_0x43cca1,_0x565d20=new LLMHistoryCommand(),_0x5f419d=program[_0xefa9d6(0x33d)](),_0x2418b1=await createTDXInstance(_0x5f419d),_0x1d931b=await _0x565d20[_0xefa9d6(0x34d)]({'options':{..._0x5f419d,..._0x12d87d},'args':_0x4cbf8c?[_0x4cbf8c]:[],'tdx':_0x2418b1});gracefulExit(_0x1d931b);});isExperimentalAvailable()&&llmCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x1f0))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x2d6))['action'](async(_0x520f36,_0x465573)=>{const _0xb2f14=a2_0x43cca1,_0x5d05b4=new LLMLogCommand(),_0xe3d25d=program['opts'](),_0x12d53d=await createTDXInstance(_0xe3d25d),_0x33d5b3=await _0x5d05b4[_0xb2f14(0x34d)]({'options':{..._0xe3d25d,..._0x465573},'args':[_0x520f36],'tdx':_0x12d53d});gracefulExit(_0x33d5b3);});program[a2_0x43cca1(0x177)]('claude\x20[args...]')[a2_0x43cca1(0x20b)](a2_0x43cca1(0x305))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x153))[a2_0x43cca1(0x149)](a2_0x43cca1(0x27f),a2_0x43cca1(0x152))[a2_0x43cca1(0x149)](a2_0x43cca1(0x43c),a2_0x43cca1(0x44f))[a2_0x43cca1(0x149)](a2_0x43cca1(0x15d),'Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')[a2_0x43cca1(0x219)]()[a2_0x43cca1(0x2d5)](!![])[a2_0x43cca1(0x399)](a2_0x43cca1(0x364),a2_0x43cca1(0x1d1))[a2_0x43cca1(0x37b)](async(_0x33502f,_0x43801e)=>{const _0x395246=a2_0x43cca1,_0x5edb4c=program[_0x395246(0x33d)](),_0x2537a8=Array[_0x395246(0x2c6)](_0x33502f)?_0x33502f:[];if(_0x2537a8[0x0]===_0x395246(0x2ba)){const _0x2f9a01=new ClaudeStatuslineCommand(),_0x1edc19=await _0x2f9a01[_0x395246(0x34d)]({'options':{..._0x5edb4c,..._0x43801e},'args':_0x2537a8[_0x395246(0x1e9)](0x1),'tdx':null});gracefulExit(_0x1edc19);}if(_0x2537a8[0x0]===_0x395246(0x20b)){const _0x34f2f5=new ClaudeUsageCommand(),_0x8157cc=await _0x34f2f5[_0x395246(0x34d)]({'options':{..._0x5edb4c,..._0x43801e},'args':_0x2537a8[_0x395246(0x1e9)](0x1),'tdx':null});gracefulExit(_0x8157cc);}const _0x5401f7=new ClaudeCommand(),_0x17f7f1=await createTDXInstance(_0x5edb4c),_0x15f8e7=await _0x5401f7[_0x395246(0x34d)]({'options':{..._0x5edb4c,..._0x43801e},'args':_0x2537a8,'tdx':_0x17f7f1});gracefulExit(_0x15f8e7);}),program[a2_0x43cca1(0x177)](a2_0x43cca1(0x17d))['description'](a2_0x43cca1(0x451))[a2_0x43cca1(0x149)]('--clear',a2_0x43cca1(0x2b9))['option']('--default',a2_0x43cca1(0x2dd))[a2_0x43cca1(0x37b)](async(_0x25e4b8,_0x4e58ca,_0x34566c)=>{const _0x1fd7ce=a2_0x43cca1,_0x4b64fa=new UseCommand(),_0x467559=program[_0x1fd7ce(0x33d)](),_0x4e6671=[];if(_0x25e4b8)_0x4e6671[_0x1fd7ce(0x38c)](_0x25e4b8);if(_0x4e58ca)_0x4e6671[_0x1fd7ce(0x38c)](_0x4e58ca);const _0x2ba1fb=_0x25e4b8===_0x1fd7ce(0x157),_0x49dec0=_0x2ba1fb?await createTDXInstance(_0x467559):null,_0x1222a0=await _0x4b64fa[_0x1fd7ce(0x34d)]({'options':{..._0x467559,..._0x34566c},'args':_0x4e6671,'tdx':_0x49dec0});gracefulExit(_0x1222a0);}),program[a2_0x43cca1(0x177)](a2_0x43cca1(0x36a))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x148))[a2_0x43cca1(0x37b)](async _0x1b5bb9=>{const _0x4ff07e=a2_0x43cca1,_0x290208=new StatusCommand(),_0x2c060f=program[_0x4ff07e(0x33d)](),_0x4c3bb3=await createTDXInstance(_0x2c060f),_0x3d07ef=await _0x290208[_0x4ff07e(0x34d)]({'options':{..._0x2c060f,..._0x1b5bb9},'args':[],'tdx':_0x4c3bb3});gracefulExit(_0x3d07ef);}),program[a2_0x43cca1(0x177)](a2_0x43cca1(0x1ff))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3c3))[a2_0x43cca1(0x149)](a2_0x43cca1(0x45e),a2_0x43cca1(0x17e))[a2_0x43cca1(0x149)](a2_0x43cca1(0x1d0),a2_0x43cca1(0x45b))['option']('--method\x20<pm>',a2_0x43cca1(0x2c9))['action'](async(_0x18643d,_0x5406ac)=>{const _0x2aacf6=a2_0x43cca1,_0x28e0aa=new UpgradeCommand(),_0x5f1bdf=program[_0x2aacf6(0x33d)](),_0x3da0e9=await _0x28e0aa['run']({'options':{..._0x5f1bdf,..._0x5406ac},'args':_0x18643d?[_0x18643d]:[],'tdx':null});gracefulExit(_0x3da0e9);}),program[a2_0x43cca1(0x177)](a2_0x43cca1(0x386))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3a9))['option']('--default',a2_0x43cca1(0x402))[a2_0x43cca1(0x37b)](async(_0x47eb9e,_0x528fbe)=>{const _0x1133ca=a2_0x43cca1,_0x4033ec=new UnsetCommand(),_0x238550=program[_0x1133ca(0x33d)](),_0x478cd1=await _0x4033ec['run']({'options':{..._0x238550,..._0x528fbe},'args':[_0x47eb9e],'tdx':null});gracefulExit(_0x478cd1);}),program[a2_0x43cca1(0x177)]('chats')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x1a5))[a2_0x43cca1(0x149)]('--last',a2_0x43cca1(0x200))['action'](async _0x134694=>{const _0x469479=new ChatsCommand(),_0x3f0013=program['opts'](),_0x1acba0=await createTDXInstance(_0x3f0013),_0xd0bfad=await _0x469479['run']({'options':{..._0x3f0013,..._0x134694},'args':[],'tdx':_0x1acba0});gracefulExit(_0xd0bfad);});const authCmd=program[a2_0x43cca1(0x177)](a2_0x43cca1(0x187))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x1f2));async function runAuthStatusCommand(_0x16f5d6){const _0x40c98a=a2_0x43cca1,_0x2c51b0=new AuthStatusCommand(),_0x34f0c5=program['opts'](),_0x10ba76=await createTDXInstance(_0x34f0c5),_0x26139a=await _0x2c51b0[_0x40c98a(0x34d)]({'options':{..._0x34f0c5,..._0x16f5d6},'args':[],'tdx':_0x10ba76});gracefulExit(_0x26139a);}authCmd[a2_0x43cca1(0x37b)](runAuthStatusCommand),authCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x36a))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3f0))[a2_0x43cca1(0x37b)](runAuthStatusCommand);async function authSetupAction(_0x1eb2e1){const _0x1f5dcf=a2_0x43cca1,_0x35f85f=new AuthSetupCommand(),_0x1fdb9e=program[_0x1f5dcf(0x33d)](),_0x7064ed=await createTDXInstance(_0x1fdb9e),_0x4d3990=await _0x35f85f[_0x1f5dcf(0x34d)]({'options':{..._0x1fdb9e,..._0x1eb2e1},'args':[],'tdx':_0x7064ed});gracefulExit(_0x4d3990);}authCmd[a2_0x43cca1(0x177)]('setup')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x1db))[a2_0x43cca1(0x149)](a2_0x43cca1(0x370),'Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login')['addHelpText'](a2_0x43cca1(0x364),a2_0x43cca1(0x45c))[a2_0x43cca1(0x37b)](authSetupAction),authCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x36c),{'hidden':!![]})['option'](a2_0x43cca1(0x370),'Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login')['action'](authSetupAction),authCmd['command']('clear')[a2_0x43cca1(0x33c)]('Remove\x20API\x20key\x20from\x20system\x20keychain')[a2_0x43cca1(0x399)](a2_0x43cca1(0x364),a2_0x43cca1(0x3f7))['action'](async _0x4a5ad5=>{const _0x59cef7=a2_0x43cca1,_0x3d5c08=new AuthClearCommand(),_0x5823b5=program[_0x59cef7(0x33d)](),_0x333604=await _0x3d5c08[_0x59cef7(0x34d)]({'options':{..._0x5823b5,..._0x4a5ad5},'args':[],'tdx':null});gracefulExit(_0x333604);});const userCmd=program['command'](a2_0x43cca1(0x3e4))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3f1)),userListAction=async _0x4eb00e=>{const _0x2d2b90=a2_0x43cca1,_0x1a537b=new UserListCommand(),_0x1ddf84=program['opts'](),_0x1f017c=await createTDXInstance(_0x1ddf84),_0x193af3=await _0x1a537b[_0x2d2b90(0x34d)]({'options':{..._0x1ddf84,..._0x4eb00e},'args':[],'tdx':_0x1f017c});gracefulExit(_0x193af3);};userCmd[a2_0x43cca1(0x37b)](async _0x490c78=>{const _0x1b8217=a2_0x43cca1,_0x45695b=new UserCommand(),_0x41adf3=program[_0x1b8217(0x33d)](),_0x2d6587=await createTDXInstance(_0x41adf3),_0xe0da0c=await _0x45695b['run']({'options':{..._0x41adf3,..._0x490c78},'args':[],'tdx':_0x2d6587});gracefulExit(_0xe0da0c);}),userCmd['command']('list')['description']('List\x20all\x20users\x20in\x20the\x20account')[a2_0x43cca1(0x37b)](userListAction),program['command'](a2_0x43cca1(0x2d1))[a2_0x43cca1(0x33c)]('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')['action'](userListAction);const policyCmd=program[a2_0x43cca1(0x177)]('policy')[a2_0x43cca1(0x33c)]('Access\x20control\x20policy\x20commands');policyCmd[a2_0x43cca1(0x37b)](async _0x451c3e=>{const _0x3c7c37=a2_0x43cca1,_0x31cf3b=new PolicyCommand(),_0x1620d3=program[_0x3c7c37(0x33d)](),_0xd4c05a=await createTDXInstance(_0x1620d3),_0x5f3ea9=await _0x31cf3b[_0x3c7c37(0x34d)]({'options':{..._0x1620d3,..._0x451c3e},'args':[],'tdx':_0xd4c05a});gracefulExit(_0x5f3ea9);}),policyCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x1a9))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x226))['action'](async _0x383925=>{const _0xacca65=a2_0x43cca1,_0xdfda96=new PolicyListCommand(),_0x451c7c=program[_0xacca65(0x33d)](),_0x42b1ce=await createTDXInstance(_0x451c7c),_0x50877b=await _0xdfda96[_0xacca65(0x34d)]({'options':{..._0x451c7c,..._0x383925},'args':[],'tdx':_0x42b1ce});gracefulExit(_0x50877b);}),policyCmd[a2_0x43cca1(0x177)]('show\x20<policy>')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3dc))[a2_0x43cca1(0x37b)](async(_0x463006,_0x31c5ba)=>{const _0x117d80=a2_0x43cca1,_0x971dae=new PolicyShowCommand(),_0x19c946=program[_0x117d80(0x33d)](),_0x4fe3b7=await createTDXInstance(_0x19c946),_0x424b17=await _0x971dae[_0x117d80(0x34d)]({'options':{..._0x19c946,..._0x31c5ba},'args':[_0x463006],'tdx':_0x4fe3b7});gracefulExit(_0x424b17);}),program['command'](a2_0x43cca1(0x31e))[a2_0x43cca1(0x33c)]('List\x20all\x20available\x20profiles')['action'](async _0x27fbb2=>{const _0x33f5e5=a2_0x43cca1,_0x2a4fd1=new ProfilesCommand(),_0x2a30e0=program[_0x33f5e5(0x33d)](),_0x3441bc=await _0x2a4fd1['run']({'options':{..._0x2a30e0,..._0x27fbb2},'args':[],'tdx':null});gracefulExit(_0x3441bc);});const profileCmd=program[a2_0x43cca1(0x177)](a2_0x43cca1(0x385))['description'](a2_0x43cca1(0x3d8));profileCmd[a2_0x43cca1(0x37b)](()=>{const _0x22c846=a2_0x43cca1;profileCmd[_0x22c846(0x3eb)]();});const profileListAction=async _0x3f9e0b=>{const _0x4d21ae=a2_0x43cca1,_0x2ff357=new ProfilesCommand(),_0x454b97=program[_0x4d21ae(0x33d)](),_0x56e270=await _0x2ff357['run']({'options':{..._0x454b97,..._0x3f9e0b},'args':[],'tdx':null});gracefulExit(_0x56e270);};profileCmd['command'](a2_0x43cca1(0x1a9))['description'](a2_0x43cca1(0x46f))[a2_0x43cca1(0x37b)](profileListAction),profileCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x202))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x335))['option'](a2_0x43cca1(0x370),'Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login')['option']('-f,\x20--force','Overwrite\x20existing\x20profile')['addHelpText'](a2_0x43cca1(0x364),a2_0x43cca1(0x163))[a2_0x43cca1(0x37b)](async(_0x3487ac,_0x419ae0)=>{const _0x25cbda=a2_0x43cca1,_0xabeb4f=new ProfileCreateCommand(),_0x340b30=program[_0x25cbda(0x33d)](),_0x548aca=await _0xabeb4f[_0x25cbda(0x34d)]({'options':{..._0x340b30,..._0x419ae0},'args':_0x3487ac?[_0x3487ac]:[],'tdx':null});gracefulExit(_0x548aca);});async function profileDeleteAction(_0x383989,_0x1ac265){const _0x564cd8=a2_0x43cca1,_0x4802eb=new ProfileDeleteCommand(),_0x3788fe=program[_0x564cd8(0x33d)](),_0x2240d0=await _0x4802eb['run']({'options':{..._0x3788fe,..._0x1ac265},'args':[_0x383989],'tdx':null});gracefulExit(_0x2240d0);}profileCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x1b0))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x28d))[a2_0x43cca1(0x399)](a2_0x43cca1(0x364),a2_0x43cca1(0x20f))[a2_0x43cca1(0x37b)](profileDeleteAction),profileCmd[a2_0x43cca1(0x177)]('remove\x20<name>',{'hidden':!![]})[a2_0x43cca1(0x37b)](profileDeleteAction),profileCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x1d6))[a2_0x43cca1(0x33c)]('Set\x20a\x20profile\x20configuration\x20value')[a2_0x43cca1(0x399)](a2_0x43cca1(0x364),a2_0x43cca1(0x2d7))[a2_0x43cca1(0x37b)](async(_0x4e659c,_0x1a86bb)=>{const _0xe7263c=a2_0x43cca1,_0x202135=new ProfileSetCommand(),_0x105d61=program[_0xe7263c(0x33d)](),_0x5ac193=await _0x202135[_0xe7263c(0x34d)]({'options':{..._0x105d61,..._0x1a86bb},'args':[_0x4e659c],'tdx':null});gracefulExit(_0x5ac193);}),profileCmd[a2_0x43cca1(0x177)]('use\x20<name>')['description'](a2_0x43cca1(0x14e))[a2_0x43cca1(0x149)](a2_0x43cca1(0x15f),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x43cca1(0x399)](a2_0x43cca1(0x364),a2_0x43cca1(0x3e2))[a2_0x43cca1(0x37b)](async(_0x5b6dc3,_0x389068)=>{const _0x4f042d=a2_0x43cca1,_0x312b86=new ProfileUseCommand(),_0x25b31a=program[_0x4f042d(0x33d)](),_0x3f2396=await _0x312b86[_0x4f042d(0x34d)]({'options':{..._0x25b31a,..._0x389068},'args':[_0x5b6dc3],'tdx':null});gracefulExit(_0x3f2396);});const engageCmd=program[a2_0x43cca1(0x177)](a2_0x43cca1(0x1dc))['description'](a2_0x43cca1(0x189)),createEngageAction=_0x3aecae=>{return async(_0xb844e0,_0x2ef3d1)=>{const _0x166ff1=a2_0x390f,_0x340c5e=new _0x3aecae(),_0x3a2620=program[_0x166ff1(0x33d)](),_0x3484d4=await createTDXInstance(_0x3a2620),_0x36385d=await _0x340c5e['run']({'options':{..._0x3a2620,..._0x2ef3d1},'args':[_0xb844e0],'tdx':_0x3484d4});gracefulExit(_0x36385d);};},createEngageNoArgAction=_0x443c9e=>{return async _0x59202e=>{const _0x577497=a2_0x390f,_0x209c9b=new _0x443c9e(),_0x13b6aa=program[_0x577497(0x33d)](),_0x18567b=await createTDXInstance(_0x13b6aa),_0x1387cb=await _0x209c9b[_0x577497(0x34d)]({'options':{..._0x13b6aa,..._0x59202e},'args':[],'tdx':_0x18567b});gracefulExit(_0x1387cb);};},createEngageListAction=_0xd4350d=>{return async(_0x3a66a6,_0x1aaf8c)=>{const _0x5bd5dc=a2_0x390f,_0x5dc46e=new _0xd4350d(),_0x3653b9=program[_0x5bd5dc(0x33d)](),_0x6c3890=await createTDXInstance(_0x3653b9),_0x5cfb67=await _0x5dc46e[_0x5bd5dc(0x34d)]({'options':{..._0x3653b9,..._0x1aaf8c},'args':_0x3a66a6?[_0x3a66a6]:[],'tdx':_0x6c3890});gracefulExit(_0x5cfb67);};},campaignCmd=engageCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x32d))['description'](a2_0x43cca1(0x38d));function a2_0x1e14(){const _0x52bb46=['Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Delete\x20a\x20realtime\x20personalization','mcp','--new','Preview\x20composable\x20segment\x20query\x20on\x20CDW','query\x20[sql]','[options]\x20--\x20[claude-code-args...]','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','Create\x20a\x20workspace','Pause\x20a\x20campaign','Filtering\x20rule\x20as\x20JSON\x20string','parent-segment','workspaces\x20[pattern]','--database\x20<db>','Name\x20for\x20the\x20new\x20project\x20(required)','duplicate\x20<name-or-id>','jsonl','configuration_versions\x20[name]','pull\x20<project>\x20[target-dir]','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','chdir','Show\x20only\x20master\x20table\x20validation','padWidth','End\x20time\x20filter\x20(ISO\x208601\x20format)','Follow/watch\x20timeline\x20for\x20running\x20attempts','-o,\x20--output\x20<file>','Unknown\x20action:\x20','stringify','gitRevision','profiles','options','Query\x20engine\x20version','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','create','Attributes\x20from\x20JSON\x20file','-o,\x20--output\x20<dir>','--format\x20<format>','--schedule-option\x20<value>','Open\x20segment\x20in\x20web\x20browser','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','length','--yes','Read\x20HTML\x20template\x20from\x20file','Generate\x20test\x20conversations\x20without\x20evaluation','campaign','-y,\x20--yes','alias','--add-attributes-file\x20<file>','view\x20[segment_name]','Workflow\x20parameter\x20(repeatable)','open\x20<name>','Composable\x20audience\x20name','Create\x20a\x20new\x20profile','--kind\x20<type>','folders\x20<parent_name>','settings\x20<type>','secrets','Model\x20type\x20(default:\x20claude-4.5-sonnet)','database','description','opts','item','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','-X,\x20--method\x20<method>','Output\x20as\x20JSON\x20Lines','jobs','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','board','--plaintext\x20<text>','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','--audience-id\x20<id>','List\x20agents\x20in\x20current\x20project','-p,\x20--profile\x20<name>','clone\x20[source-dir]','retry','Add\x20behaviors\x20from\x20JSON\x20file','run','validate\x20[target]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Delete\x20an\x20agent','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','parent_segment','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','11167176lrUDBS','validate\x20[file]','Resume\x20a\x20paused\x20campaign','List\x20secret\x20keys\x20for\x20a\x20project','--result\x20<url>','disable\x20<id>','Add\x20attributes\x20from\x20JSON\x20file','Request\x20body\x20as\x20JSON\x20string','folder','Email\x20subject\x20template','Campaign\x20name','4431NYAUaA','-d,\x20--database\x20<database>','Pull\x20child\x20segments\x20to\x20YAML\x20files','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','after','...','tdx\x20','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','--stage\x20<name>','--folder-id\x20<id>','status','desc','login','--type\x20<type>','--tsv','finish\x20<name-or-id>','--account-name\x20<name>','Agent\x20description','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Pull\x20campaigns\x20to\x20YAML\x20files','help','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','registeredArguments','download\x20<project-name>\x20[output-dir]','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','--allowed-ips\x20<ips>','Manage\x20workflow\x20schedules\x20(enable/disable)','action','list\x20[name]','Launch\x20a\x20campaign','_list-commands','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','5935110VkofCL','move\x20<name>\x20<status>','Create\x20an\x20email\x20template','Result\x20output\x20destination\x20URL','Show\x20schedule\x20execution\x20history','profile','unset\x20<resource>','List\x20jobs','Personalization\x20management','format','Create\x20a\x20scheduled\x20query','Updated\x20schedule\x20option','push','Campaign\x20management','Directory\x20does\x20not\x20exist:\x20','-w,\x20--web','--github\x20<owner/repo>','Show\x20segment\x20schema\x20(column\x20types)','set','Target\x20directory\x20for\x20YAML\x20files','--body\x20<body>','--file\x20<path>','apiKey','Include\x20all\x20items\x20(no\x20stale\x20filtering)','Plaintext\x20template\x20content','addHelpText','--folder\x20<name>','List\x20composable\x20segments\x20for\x20an\x20audience','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','GET','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','upgrade','--customer-group-file\x20<file>','Read\x20query\x20from\x20file','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','--workspace\x20<name>','create\x20<segment_name>','find','show\x20<name>','Create\x20segment\x20folder','Usage:\x20','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','Show\x20master\x20table\x20sample\x20data','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','-r,\x20--recursive','Personalization\x20description','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Pull\x20templates\x20to\x20YAML\x20files','Update\x20a\x20workspace','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','Skip\x20confirmation\x20prompt','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','--database\x20<name>','directory','Validate\x20campaign\x20YAML\x20files\x20locally','Behaviors\x20as\x20JSON\x20string','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','--tags\x20<tags>','segments\x20[path]','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','CDP\x20Journey\x20Orchestration\x20commands','Resume\x20from\x20specific\x20task','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','Customer\x20group\x20as\x20JSON\x20string','view\x20<name-or-path>','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','models','claude-4.5-sonnet','Run\x20tests\x20for\x20an\x20LLM\x20agent','replace','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','delete\x20<project-name-or-id>','[DEPRECATED]\x20Segment\x20folder\x20management','audience','New\x20workspace\x20name','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','view\x20[name]','required','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Maximum\x20recursion\x20depth\x20(default:\x2010)','Starter\x20message','--num\x20<1-10>','Behaviors\x20from\x20JSON\x20file','Change\x20to\x20directory\x20before\x20executing\x20command','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','--editor-type\x20<type>','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','--result\x20<target>','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','show\x20[table]','update\x20<name-or-id>','Workspace\x20name','join','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','\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','--priority\x20<priority>','user','attempt','Launch\x20an\x20always-on\x20campaign','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Overwrite\x20local\x20changes\x20without\x20confirmation','List\x20available\x20connector\x20types','Delete\x20an\x20LLM\x20project','outputHelp','--debug','Initial\x20status','token','pause\x20<name-or-id>','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','User\x20management\x20commands','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','Show\x20email\x20template\x20details','Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)','--add-behaviors-file\x20<file>','\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','Get\x20current\x20RT\x20configuration\x20version\x20status','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','Master\x20database\x20name','Export\x20journey(s)\x20as\x20YAML\x20files','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','patch\x20<personalization_id>','742707SFjBNH','AI-native\x20CLI\x20for\x20Treasure\x20Data','762RREraT','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','chat\x20[message...]','Validate\x20journey\x20YAML\x20files\x20locally','Save\x20output\x20to\x20file','timeout','test\x20[path]','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','--attribute\x20[name]','--include-history','--limit\x20<rows>','Timezone\x20for\x20cron\x20(default:\x20UTC)','Run\x20specific\x20tests\x20(comma-separated)','--subject\x20<subject>','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Show\x20workspace\x20details','Document\x20body\x20text','push\x20[target]','LLM\x20project\x20management','templates\x20[pattern]','--attempt-id\x20<id>','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','kill','create\x20<name>\x20[parent_segment]','--no-count-population','--description\x20<desc>','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Email\x20sender\x20ID\x20for\x20delivery','List\x20all\x20workflow\x20schedules','--clear','map','Create\x20a\x20new\x20campaign','List\x20all\x20versions\x20of\x20a\x20journey','always-on-campaigns\x20[pattern]','--to\x20<n>','journeys\x20[pattern]','--reason\x20<text>','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','history\x20<name>','Set\x20or\x20show\x20parent\x20segment\x20context','timeline\x20[project.workflow]','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','--in\x20<db>','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','long','RT\x202.0\x20configuration\x20management','Pause\x20a\x20running\x20journey','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Workspace\x20name\x20(required)','argv','--to\x20<date>','Parent\x20segment\x20management','accessToken','Show\x20campaign\x20details','Enable\x20a\x20disabled\x20workflow\x20schedule','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','workspace','--no-eval','requiredOption','-r,\x20--resume','Workflow\x20project\x20management','create\x20<name>\x20<service_id>\x20[parent_segment]','Database\x20name\x20(default:\x20information_schema)','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','delete\x20<personalization_id>','--name\x20<names>','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','retry\x20<session-id>','session','configureHelp','show\x20<folder_ref>','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','Folder\x20description','--enable-utm-tracking','version','Pull\x20specific\x20revision\x20(default:\x20latest)','update\x20<agent-name>','Resume\x20a\x20conversation\x20(shows\x20selector)','connection','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','links\x20<name>','--output\x20<file>','Show\x20all\x20files\x20including\x20valid\x20ones',',\x20version\x20','--enriched','Service\x20description','launch\x20<name-or-id>','push\x20[name]','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','\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','Query\x20type:\x20trino\x20or\x20hive','--dry-run','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','--table\x20<table>','New\x20service\x20name','noColor','--cron\x20<expression>','[attempt-id]','Version\x20number\x20to\x20view','--include-stats','System\x20prompt/instructions\x20(default:\x20empty)','Customer\x20group\x20from\x20JSON\x20file','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','-H,\x20--header\x20<header>','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','pull\x20[workspace]','aliases','--timeout\x20<seconds>','List\x20all\x20available\x20profiles','--last','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','commandDescription','run\x20[workflow]','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','Show\x20Kanban\x20board\x20view\x20of\x20tasks','--max-depth\x20<depth>','Output\x20directory','Folder\x20name\x20for\x20organization','Include\x20retried\x20attempts\x20(for\x20list)','Sections\x20as\x20an\x20inline\x20JSON\x20array','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Show\x20authentication\x20status\x20and\x20current\x20context','option','LLM\x20project\x20to\x20use\x20(overrides\x20context)','grapesjs','Token\x20description','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','CDP\x20segment\x20management\x20commands','attempt:','Skip\x20confirmation\x20prompts','Continue\x20most\x20recent\x20conversation','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','Delete\x20a\x20workspace','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','engage_workspace','then','list\x20[path]','Workspace\x20description','project','Transition\x20a\x20task\x20to\x20a\x20new\x20status','--no-proxy','stats\x20<name-or-path>','--default','--json-columns\x20<cols>','Run\x20Trino\x20query\x20with\x20streaming\x20results','--segment\x20<path>','\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','validate\x20[name]','use\x20<name>','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','--template\x20<name>','log','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','forEach','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','--to\x20<timestamp>','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','--priority\x20<-2~2>','sessions\x20[project]','Filtering\x20rule\x20from\x20JSON\x20file','--from\x20<timestamp>','Arguments:','--include-retried','command','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','Show\x20what\x20would\x20be\x20written\x20without\x20writing','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','--prompt\x20<text>','Open\x20journey\x20in\x20web\x20browser','use\x20[resource]\x20[value]','Check\x20for\x20updates\x20without\x20installing','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Output\x20file\x20path','--site\x20<site>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','11dYuIhd','--attributes\x20<json>','--llm-project\x20<name>','auth','logLevel','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','json','--from\x20<n>','Delay\x20in\x20seconds\x20before\x20execution','New\x20campaign\x20name','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','--name\x20<name>','Assignee','Force\x20retry\x20even\x20if\x20not\x20failed','--invisible','Workflow\x20attempt\x20management','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','us01','--rule-file\x20<file>','Output\x20as\x20JSON','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','Show\x20schedule\x20details','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','optionDescription','List\x20email\x20senders','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Skip\x20validation\x20of\x20.dig\x20files','4vbEKje','161351PWAHzN','describe\x20[table]','delete\x20<name-or-id>','Interactive\x20chat\x20selector','Show\x20items\x20updated\x20within\x20N\x20days','DEBUG','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','list','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','--skip-validation','Journey\x20version\x20management','attempts\x20[project]','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','delete\x20<name>','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','AI-native\x20work\x20management','--schedule-type\x20<type>','--catalog\x20<catalog>','--all','-v,\x20--verbose','Priority\x20(critical,\x20high,\x20medium,\x20low)','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','logs','create\x20<parent_name>\x20<folder_name>','kill\x20<job-id>','Show\x20agent\x20details','Show\x20segment\x20details\x20(alias\x20for\x20view)','--retry-limit\x20<0~32>','--starter-message\x20<text>','--html-file\x20<path>','Preview\x20operation\x20without\x20executing','show\x20<service_id>\x20[parent_segment]','new\x20<title>','Maximum\x20number\x20of\x20nodes','--chat-id\x20<id>','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','7512930eBVNUj','run\x20[name]','List\x20activations\x20for\x20a\x20journey','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','New\x20service\x20description','show\x20<job-id>','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','--next','\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','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','tdx','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Add\x20attributes\x20as\x20JSON\x20string','set\x20<key=value>','push\x20[source-dir]','databases\x20[pattern]','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','--html\x20<html>','Setup\x20API\x20key\x20authentication\x20interactively','engage','Action:\x20logs,\x20tasks,\x20kill,\x20retry','Agent\x20name','table','columns\x20<name-or-path>','preAction','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Show\x20document\x20details','Campaign\x20description','tsv','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','--add-attributes\x20<json>','slice','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Show\x20timeline\x20for\x20specific\x20attempt','use\x20<project-name>','Preview\x20changes\x20without\x20writing\x20files','--time\x20<iso8601>','always-on-campaign','log\x20<chat-id>','Update\x20an\x20email\x20template','Authentication\x20management','Always-on\x20campaign\x20management','--delete','Maximum\x20rows\x20to\x20display','\x20-\x20built\x20','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','job','Validate\x20template\x20YAML\x20files\x20locally','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','--table','upgrade\x20[version]','Show\x20the\x20most\x20recent\x20chat','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','create\x20[name]','argumentDescription','init\x20[name]','--limit\x20<n>','Updated\x20description','TRACE','segment','Invalid\x20--limit\x20value:\x20\x22','Enable\x20UTM\x20tracking','usage','use\x20[name]','_hidden','Read\x20SQL\x20query\x20from\x20file','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a','run\x20<name>','Revision\x20name\x20(default:\x20timestamp)','Timezone\x20(e.g.,\x20America/Los_Angeles)','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','argument','--public','variadic','flags','Move\x20to\x20folder','allowUnknownOption','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','--parent-folder\x20<name>','Include\x20raw\x20history\x20data\x20in\x20output','--email-sender-id\x20<id>','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Workflow\x20(Digdag)\x20management\x20commands','--behaviors\x20<json>','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','Duplicate\x20a\x20campaign','Database\x20name','flatMap','--master','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','includes','trino','argumentTerm','LLM\x20agent\x20management','--trace','--type\x20<api_type>','use\x20[project]','isTTY','Commands:','schema\x20<type>','types','delete\x20<token_id>\x20[parent_segment]','Update\x20a\x20scheduled\x20query','push\x20[file]','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','delivery','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Delete\x20a\x20scheduled\x20query','--start-at\x20<datetime>','\x22.\x20Must\x20be\x20a\x20number.','Email\x20template\x20management','--name\x20<new_name>','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','describe','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','optionTerm','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Database\x20name\x20(required)','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Get\x20job\x20results','--name\x20<text>','preview\x20[name]','-o,\x20--output\x20<folder>','Delete\x20a\x20campaign','--timezone\x20<tz>','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Clear\x20workflow\x20project\x20context','Delivery\x20operations\x20(email\x20senders)','subcommandDescription','--add-behaviors\x20<json>','Custom\x20revision\x20name\x20(default:\x20timestamp)','--reeval','backup\x20<name>','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Create\x20a\x20new\x20always-on\x20campaign','update\x20<name>','Trino\x20catalog\x20(default:\x20td)','pull\x20[workspace-name]','List\x20all\x20data\x20connections','--job-type\x20<type>','--behaviors-file\x20<file>','--jsonl','\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','-f,\x20--file\x20<path>','Job\x20priority\x20(-2\x20to\x202)','--rule\x20<json>','preview\x20<segment_name>','--revision\x20<revision>','--behavior\x20[name]','Include\x20execution\x20statistics','--force','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Maximum\x20tool\x20iterations\x20(default:\x204)','Parse\x20and\x20validate\x20without\x20executing','-u,\x20--use','Open\x20a\x20document\x20in\x20$EDITOR','Workflow\x20session\x20management','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Database\x20management\x20commands','--path\x20<file-path>','hidden','list\x20[audience_name]','Ending\x20offset\x20(default:\x2020)','Template\x20name','Pull\x20specific\x20template\x20by\x20name','--from\x20<date>','sql\x20[segment_name]','projects\x20[pattern]','Alias\x20for\x20--database\x20(natural\x20language\x20style)','--audience\x20<name>','restore\x20<folder>','push\x20[parent_or_file]','pull\x20[name]','stdout','Comma-separated\x20tags','-c,\x20--continue','filter','--color','resume_activations\x20<journeyId>','update\x20<segment_name>','name','debug','--description\x20<text>','desc\x20[name]','connections','Database\x20to\x20query\x20(default:\x20information_schema)','campaigns\x20[pattern]','103743UUTyso','llm','Delete\x20a\x20profile','Pause\x20activations\x20in\x20an\x20RT\x20journey','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','padEnd','[task-name]','0.7','-1d','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Cron\x20expression\x20for\x20scheduling','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','--model\x20<name>','Retry\x20limit\x20(0\x20to\x2032)','isDirectory','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','list\x20[project]','Job\x20management\x20commands','commands','Finish\x20an\x20always-on\x20campaign','--param\x20<key=value>','Show\x20stats\x20for\x20specific\x20stage','pause_activations\x20<journeyId>','service','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','--attributes-file\x20<file>','workflow','information_schema','summary','\x20(resolved\x20to\x20','Push\x20without\x20confirmation','--data\x20<data>','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','show\x20<name-or-id>','tasks','--no-color','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','Output\x20file\x20path\x20(default:\x20<name>.yml)','push\x20[path]','Read\x20request\x20body\x20from\x20file','Make\x20segment\x20invisible\x20(default:\x20visible)','-a,\x20--agent\x20<name>','--days\x20<n>','Clear\x20session\x20context','statusline','delete\x20<args...>','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Enable\x20verbose\x20logging','-C,\x20--directory\x20<path>','--interval\x20<range>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','clone\x20[source]','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','INVALID_ARGUMENT','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','create\x20<name>','isArray','Personalization\x20name','--sections\x20<json>','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','-d,\x20--database\x20<db>','--delay\x20<seconds>','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','Data\x20connection\x20management\x20(for\x20activations/exports)','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','stderr','Pull\x20workflow\x20project\x20to\x20local\x20folder','users','--verbose','schedule','--resume-from\x20<task>','allowExcessArguments','[EXPERIMENTAL]\x20Show\x20chat\x20log','\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\x20parent\x20segments\x20with\x20RT\x202.0\x20status','12RvNVKT','journey','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','--engine-version\x20<version>','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Open\x20parent\x20segment\x20in\x20web\x20browser','--full','--version','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','resume\x20<name-or-id>','--in\x20<database>','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','Create\x20a\x20new\x20LLM\x20project','432rSSqEx','subcommandTerm','activations\x20<name-or-path>','Campaign\x20type\x20(email\x20or\x20push)','New\x20segment\x20name','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','list\x20[pattern]','history\x20[chat-id]','Output\x20folder\x20(default:\x20{project_name}.llm)','--json','--limit\x20<number>','agents\x20[pattern]','result\x20<job-id>','-f,\x20--force','Show\x20job\x20details','catch','Update\x20an\x20always-on\x20campaign','fields\x20[name]','show\x20<agent-name>','colorFn','Composable\x20segment\x20commands','Attributes\x20as\x20JSON\x20string','--status\x20<status>','injectIntoOptions','--name\x20<new-name>'];a2_0x1e14=function(){return _0x52bb46;};return a2_0x1e14();}campaignCmd['command'](a2_0x43cca1(0x2ec))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x296))[a2_0x43cca1(0x149)]('--type\x20<type>',a2_0x43cca1(0x147))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2fc),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x43cca1(0x149)](a2_0x43cca1(0x3a3),'Workspace\x20name')[a2_0x43cca1(0x37b)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x28a))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3e7))['option']('--type\x20<type>',a2_0x43cca1(0x147))['option']('--status\x20<status>','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x43cca1(0x149)](a2_0x43cca1(0x3a3),'Workspace\x20name')['action'](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2ae))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x436))[a2_0x43cca1(0x149)](a2_0x43cca1(0x3a3),a2_0x43cca1(0x3df))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2df),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x322))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x420))['requiredOption'](a2_0x43cca1(0x18f),'Campaign\x20name')[a2_0x43cca1(0x43b)](a2_0x43cca1(0x36d),a2_0x43cca1(0x2e9))['option'](a2_0x43cca1(0x3a3),a2_0x43cca1(0x431))[a2_0x43cca1(0x149)](a2_0x43cca1(0x41a),a2_0x43cca1(0x1e5))[a2_0x43cca1(0x149)](a2_0x43cca1(0x162),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x43cca1(0x149)](a2_0x43cca1(0x21d),a2_0x43cca1(0x41c))[a2_0x43cca1(0x149)](a2_0x43cca1(0x160),a2_0x43cca1(0x2a3))[a2_0x43cca1(0x149)](a2_0x43cca1(0x23c),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x43cca1(0x149)]('--timezone\x20<tz>',a2_0x43cca1(0x1ab))['action'](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x3de))[a2_0x43cca1(0x33c)]('Update\x20a\x20campaign')[a2_0x43cca1(0x149)](a2_0x43cca1(0x3a3),a2_0x43cca1(0x3df))['option'](a2_0x43cca1(0x18f),a2_0x43cca1(0x18d))[a2_0x43cca1(0x149)]('--description\x20<desc>',a2_0x43cca1(0x1e5))['option']('--segment\x20<path>',a2_0x43cca1(0x1ea))[a2_0x43cca1(0x149)](a2_0x43cca1(0x21d),a2_0x43cca1(0x41c))['option'](a2_0x43cca1(0x160),a2_0x43cca1(0x2a3))[a2_0x43cca1(0x149)](a2_0x43cca1(0x23c),a2_0x43cca1(0x45f))['option'](a2_0x43cca1(0x24c),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x43cca1(0x37b)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command'](a2_0x43cca1(0x1a4))['description'](a2_0x43cca1(0x24b))[a2_0x43cca1(0x149)](a2_0x43cca1(0x3a3),a2_0x43cca1(0x3df))[a2_0x43cca1(0x149)](a2_0x43cca1(0x32a),a2_0x43cca1(0x3b2))[a2_0x43cca1(0x37b)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command'](a2_0x43cca1(0x459))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x37d))[a2_0x43cca1(0x149)](a2_0x43cca1(0x3a3),a2_0x43cca1(0x3df))[a2_0x43cca1(0x37b)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x3ef))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x30a))[a2_0x43cca1(0x149)](a2_0x43cca1(0x3a3),a2_0x43cca1(0x3df))[a2_0x43cca1(0x37b)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2e2))['description'](a2_0x43cca1(0x357))[a2_0x43cca1(0x149)](a2_0x43cca1(0x3a3),'Workspace\x20name')['action'](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x43cca1(0x177)]('duplicate\x20<name-or-id>')['description'](a2_0x43cca1(0x222))['option']('--workspace\x20<name>',a2_0x43cca1(0x3df))[a2_0x43cca1(0x37b)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x259))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x373))['option'](a2_0x43cca1(0x3a3),a2_0x43cca1(0x3df))[a2_0x43cca1(0x149)](a2_0x43cca1(0x18f),'Pull\x20specific\x20campaign\x20by\x20name')[a2_0x43cca1(0x149)](a2_0x43cca1(0x36d),a2_0x43cca1(0x147))['option'](a2_0x43cca1(0x45e),'Show\x20what\x20would\x20be\x20written\x20without\x20writing')[a2_0x43cca1(0x37b)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x43cca1(0x177)]('push\x20[target]')['description']('Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns')['option'](a2_0x43cca1(0x3a3),a2_0x43cca1(0x3df))['option'](a2_0x43cca1(0x45e),'Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0x43cca1(0x37b)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x34e))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3b6))['option'](a2_0x43cca1(0x2d2),a2_0x43cca1(0x455))[a2_0x43cca1(0x37b)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x1ef))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x1f3));alwaysOnCampaignCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2ec))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x33f))['option']('--type\x20<type>',a2_0x43cca1(0x147))['option'](a2_0x43cca1(0x2fc),a2_0x43cca1(0x238))[a2_0x43cca1(0x43b)](a2_0x43cca1(0x3a3),a2_0x43cca1(0x431))[a2_0x43cca1(0x37b)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd['command'](a2_0x43cca1(0x422))[a2_0x43cca1(0x33c)]('List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)')[a2_0x43cca1(0x149)](a2_0x43cca1(0x36d),a2_0x43cca1(0x147))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2fc),'Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')[a2_0x43cca1(0x43b)](a2_0x43cca1(0x3a3),a2_0x43cca1(0x431))[a2_0x43cca1(0x37b)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd['command']('show\x20<name-or-id>')[a2_0x43cca1(0x33c)]('Show\x20always-on\x20campaign\x20details')[a2_0x43cca1(0x43b)](a2_0x43cca1(0x3a3),a2_0x43cca1(0x431))['option'](a2_0x43cca1(0x2df),a2_0x43cca1(0x372))[a2_0x43cca1(0x37b)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x322))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x256))[a2_0x43cca1(0x43b)](a2_0x43cca1(0x18f),a2_0x43cca1(0x35f))[a2_0x43cca1(0x43b)](a2_0x43cca1(0x36d),a2_0x43cca1(0x2e9))[a2_0x43cca1(0x43b)](a2_0x43cca1(0x3a3),a2_0x43cca1(0x431))['option']('--description\x20<desc>',a2_0x43cca1(0x1e5))[a2_0x43cca1(0x149)]('--segment\x20<path>','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')[a2_0x43cca1(0x149)](a2_0x43cca1(0x44b),a2_0x43cca1(0x20a))[a2_0x43cca1(0x37b)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x3de))['description'](a2_0x43cca1(0x2f6))[a2_0x43cca1(0x43b)](a2_0x43cca1(0x3a3),a2_0x43cca1(0x431))['option'](a2_0x43cca1(0x18f),a2_0x43cca1(0x18d))[a2_0x43cca1(0x149)](a2_0x43cca1(0x41a),'Campaign\x20description')[a2_0x43cca1(0x149)](a2_0x43cca1(0x162),a2_0x43cca1(0x308))[a2_0x43cca1(0x149)]('--enable-utm-tracking',a2_0x43cca1(0x20a))[a2_0x43cca1(0x37b)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x1a4))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x438))[a2_0x43cca1(0x43b)](a2_0x43cca1(0x3a3),a2_0x43cca1(0x431))['option'](a2_0x43cca1(0x32a),a2_0x43cca1(0x3b2))['action'](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x459))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3e6))[a2_0x43cca1(0x43b)](a2_0x43cca1(0x3a3),a2_0x43cca1(0x431))[a2_0x43cca1(0x37b)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x3ef))[a2_0x43cca1(0x33c)]('Pause\x20an\x20always-on\x20campaign')['requiredOption'](a2_0x43cca1(0x3a3),a2_0x43cca1(0x431))[a2_0x43cca1(0x37b)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd['command'](a2_0x43cca1(0x2e2))['description']('Resume\x20a\x20paused\x20always-on\x20campaign')[a2_0x43cca1(0x43b)](a2_0x43cca1(0x3a3),a2_0x43cca1(0x431))[a2_0x43cca1(0x37b)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x36f))['description'](a2_0x43cca1(0x29e))['requiredOption'](a2_0x43cca1(0x3a3),'Workspace\x20name\x20(required)')[a2_0x43cca1(0x149)](a2_0x43cca1(0x32a),'Skip\x20confirmation\x20prompt')[a2_0x43cca1(0x37b)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd['command'](a2_0x43cca1(0x310))[a2_0x43cca1(0x33c)]('Duplicate\x20an\x20always-on\x20campaign')[a2_0x43cca1(0x43b)](a2_0x43cca1(0x3a3),a2_0x43cca1(0x431))['requiredOption'](a2_0x43cca1(0x18f),'Name\x20for\x20the\x20duplicated\x20campaign')[a2_0x43cca1(0x37b)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x43cca1(0x177)]('template')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x23e));templateCmd['command'](a2_0x43cca1(0x2ec))[a2_0x43cca1(0x33c)]('List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x43cca1(0x149)]('--workspace\x20<name>',a2_0x43cca1(0x3df))[a2_0x43cca1(0x37b)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x414))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x42c))[a2_0x43cca1(0x149)]('--workspace\x20<name>',a2_0x43cca1(0x3df))['action'](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2ae))['description'](a2_0x43cca1(0x3f4))[a2_0x43cca1(0x149)](a2_0x43cca1(0x3a3),a2_0x43cca1(0x3df))[a2_0x43cca1(0x149)]('--full',a2_0x43cca1(0x372))[a2_0x43cca1(0x37b)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x322))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x382))[a2_0x43cca1(0x43b)]('--name\x20<name>',a2_0x43cca1(0x273))[a2_0x43cca1(0x43b)](a2_0x43cca1(0x40e),a2_0x43cca1(0x35e))['option'](a2_0x43cca1(0x1da),'HTML\x20template\x20content')[a2_0x43cca1(0x149)](a2_0x43cca1(0x1c1),a2_0x43cca1(0x32b))[a2_0x43cca1(0x149)](a2_0x43cca1(0x3a3),'Workspace\x20name\x20(required)')[a2_0x43cca1(0x149)](a2_0x43cca1(0x345),a2_0x43cca1(0x398))[a2_0x43cca1(0x149)](a2_0x43cca1(0x3d7),'Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)',_0x47a705=>{const _0x93c804=a2_0x43cca1;if(!['beefree',_0x93c804(0x14b)][_0x93c804(0x22a)](_0x47a705))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Invalid\x20editor\x20type:\x20'+_0x47a705+_0x93c804(0x3fd));return _0x47a705;})[a2_0x43cca1(0x37b)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x3de))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x1f1))[a2_0x43cca1(0x149)]('--workspace\x20<name>',a2_0x43cca1(0x3df))[a2_0x43cca1(0x149)](a2_0x43cca1(0x18f),'New\x20template\x20name')[a2_0x43cca1(0x149)](a2_0x43cca1(0x40e),a2_0x43cca1(0x35e))[a2_0x43cca1(0x149)](a2_0x43cca1(0x1da),'HTML\x20template\x20content')[a2_0x43cca1(0x149)](a2_0x43cca1(0x1c1),a2_0x43cca1(0x32b))[a2_0x43cca1(0x149)](a2_0x43cca1(0x345),a2_0x43cca1(0x398))[a2_0x43cca1(0x37b)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x46c))['description'](a2_0x43cca1(0x3af))[a2_0x43cca1(0x149)](a2_0x43cca1(0x3a3),a2_0x43cca1(0x3df))[a2_0x43cca1(0x149)](a2_0x43cca1(0x18f),a2_0x43cca1(0x274))[a2_0x43cca1(0x149)](a2_0x43cca1(0x32e),a2_0x43cca1(0x3b2))[a2_0x43cca1(0x149)](a2_0x43cca1(0x45e),a2_0x43cca1(0x179))[a2_0x43cca1(0x37b)](createEngageAction(EngageTemplatePullCommand)),templateCmd['command']('push\x20[target]')['description'](a2_0x43cca1(0x3b8))[a2_0x43cca1(0x149)](a2_0x43cca1(0x3a3),a2_0x43cca1(0x3df))[a2_0x43cca1(0x149)](a2_0x43cca1(0x32e),'Skip\x20confirmation\x20prompt')[a2_0x43cca1(0x149)]('--dry-run',a2_0x43cca1(0x16b))[a2_0x43cca1(0x37b)](createEngageAction(EngageTemplatePushCommand)),templateCmd['command'](a2_0x43cca1(0x34e))['description'](a2_0x43cca1(0x1fc))['option']('--verbose',a2_0x43cca1(0x455))[a2_0x43cca1(0x37b)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x1a4))['description']('Delete\x20an\x20email\x20template')[a2_0x43cca1(0x149)]('--workspace\x20<name>',a2_0x43cca1(0x3df))['option'](a2_0x43cca1(0x32a),a2_0x43cca1(0x3b2))[a2_0x43cca1(0x37b)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command'](a2_0x43cca1(0x439))['description']('Workspace\x20management');workspaceCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2ec))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x1d9))['action'](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x30d))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3e1))[a2_0x43cca1(0x37b)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd['command'](a2_0x43cca1(0x2ae))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x410))['option'](a2_0x43cca1(0x2df),a2_0x43cca1(0x372))[a2_0x43cca1(0x37b)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x322))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x309))[a2_0x43cca1(0x43b)](a2_0x43cca1(0x18f),a2_0x43cca1(0x3df))[a2_0x43cca1(0x149)](a2_0x43cca1(0x41a),a2_0x43cca1(0x15a))['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x3de))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3b0))[a2_0x43cca1(0x149)]('--name\x20<name>',a2_0x43cca1(0x3cc))[a2_0x43cca1(0x149)](a2_0x43cca1(0x41a),a2_0x43cca1(0x15a))['action'](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x43cca1(0x177)]('delete\x20<name-or-id>')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x155))[a2_0x43cca1(0x149)](a2_0x43cca1(0x32a),'Skip\x20confirmation\x20prompt')[a2_0x43cca1(0x37b)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x165))['description'](a2_0x43cca1(0x229))[a2_0x43cca1(0x37b)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program['command'](a2_0x43cca1(0x239))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x24f));deliveryCmd[a2_0x43cca1(0x177)]('senders\x20[pattern]')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x19e))[a2_0x43cca1(0x149)](a2_0x43cca1(0x3a3),a2_0x43cca1(0x3df))[a2_0x43cca1(0x37b)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x43cca1(0x177)](a2_0x43cca1(0x450))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x2cd)),connectionListAction=async _0x5aa9b8=>{const _0x1b5789=a2_0x43cca1,_0x4dbc90=new ConnectionListCommand(),_0xbaaff7=program[_0x1b5789(0x33d)](),_0x6510c2=await createTDXInstance(_0xbaaff7),_0x1437c3=await _0x4dbc90[_0x1b5789(0x34d)]({'options':{..._0xbaaff7,..._0x5aa9b8},'args':[],'tdx':_0x6510c2});gracefulExit(_0x1437c3);};connectionCmd['command'](a2_0x43cca1(0x1a9))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x25a))[a2_0x43cca1(0x37b)](connectionListAction),program[a2_0x43cca1(0x177)](a2_0x43cca1(0x288),{'hidden':!![]})[a2_0x43cca1(0x33c)](a2_0x43cca1(0x1f8))[a2_0x43cca1(0x37b)](connectionListAction),connectionCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x3a6))[a2_0x43cca1(0x33c)]('Show\x20connection\x20details\x20by\x20name')['action'](async(_0x3d0ec8,_0x5b9ecd)=>{const _0x264eb0=a2_0x43cca1,_0x4dc090=new ConnectionShowCommand(),_0x73c4b8=program[_0x264eb0(0x33d)](),_0x650712=await createTDXInstance(_0x73c4b8),_0x2f117f=await _0x4dc090[_0x264eb0(0x34d)]({'options':{..._0x73c4b8,..._0x5b9ecd},'args':[_0x3d0ec8],'tdx':_0x650712});gracefulExit(_0x2f117f);}),connectionCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x233))['description'](a2_0x43cca1(0x307))['action'](async(_0x598219,_0x3b7b62)=>{const _0x27be1b=a2_0x43cca1,_0x2d8589=new ConnectionSchemaCommand(),_0x1f6bd9=program[_0x27be1b(0x33d)](),_0x186141=await createTDXInstance(_0x1f6bd9),_0x4c6102=await _0x2d8589[_0x27be1b(0x34d)]({'options':{..._0x1f6bd9,..._0x3b7b62},'args':[_0x598219],'tdx':_0x186141});gracefulExit(_0x4c6102);}),connectionCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x234))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3e9))[a2_0x43cca1(0x37b)](async _0x36bf84=>{const _0x4b4afe=a2_0x43cca1,_0x194de0=new ConnectionTypesCommand(),_0x35c821=program['opts'](),_0x10a850=await createTDXInstance(_0x35c821),_0x167b42=await _0x194de0[_0x4b4afe(0x34d)]({'options':{..._0x35c821,..._0x36bf84},'args':[],'tdx':_0x10a850});gracefulExit(_0x167b42);}),connectionCmd['command'](a2_0x43cca1(0x338))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x1aa))[a2_0x43cca1(0x37b)](async(_0x378399,_0x504e8f)=>{const _0x4aca45=a2_0x43cca1,_0x5d7b88=new ConnectionSettingsCommand(),_0x1f4054=program[_0x4aca45(0x33d)](),_0x74e68f=await createTDXInstance(_0x1f4054),_0x5df680=await _0x5d7b88[_0x4aca45(0x34d)]({'options':{..._0x1f4054,..._0x504e8f},'args':[_0x378399],'tdx':_0x74e68f});gracefulExit(_0x5df680);});const casCmd=program[a2_0x43cca1(0x177)]('cas')[a2_0x43cca1(0x33c)]('Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)');casCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x1a9))['description']('List\x20composable\x20audiences')[a2_0x43cca1(0x37b)](async _0x2e35c2=>{const _0x419a3c=a2_0x43cca1,_0x2c3826=new CASListCommand(),_0x270e1f=program[_0x419a3c(0x33d)](),_0x3129cd=await createTDXInstance(_0x270e1f),_0x353eda=await _0x2c3826[_0x419a3c(0x34d)]({'options':{..._0x270e1f,..._0x2e35c2},'args':[],'tdx':_0x3129cd});gracefulExit(_0x353eda);}),casCmd['command'](a2_0x43cca1(0x287))['description'](a2_0x43cca1(0x3f5))[a2_0x43cca1(0x37b)](async(_0x3078a1,_0x204cf4)=>{const _0x3fac5d=a2_0x43cca1,_0x15876d=new CASDescCommand(),_0x54f41b=program[_0x3fac5d(0x33d)](),_0x5aa6a2=await createTDXInstance(_0x54f41b),_0x47bd2d=await _0x15876d[_0x3fac5d(0x34d)]({'options':{..._0x54f41b,..._0x204cf4},'args':_0x3078a1?[_0x3078a1]:[],'tdx':_0x5aa6a2});gracefulExit(_0x47bd2d);}),casCmd['command']('pull\x20[name]')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x42a))[a2_0x43cca1(0x149)]('--dir\x20<dir>',a2_0x43cca1(0x393))[a2_0x43cca1(0x149)](a2_0x43cca1(0x45e),a2_0x43cca1(0x354))[a2_0x43cca1(0x37b)](async(_0x4354d5,_0x3cbd9c)=>{const _0x548fd4=a2_0x43cca1,_0x3325ae=new CASPullCommand(),_0x12ca16=program[_0x548fd4(0x33d)](),_0x42ca66=await createTDXInstance(_0x12ca16),_0x2d9a97=await _0x3325ae[_0x548fd4(0x34d)]({'options':{..._0x12ca16,..._0x3cbd9c},'args':_0x4354d5?[_0x4354d5]:[],'tdx':_0x42ca66});gracefulExit(_0x2d9a97);}),casCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x412))[a2_0x43cca1(0x33c)]('Push\x20YAML\x20files\x20to\x20CAS\x20API')['option'](a2_0x43cca1(0x45e),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x43cca1(0x37b)](async(_0x41c413,_0x59255b)=>{const _0x91bf6f=a2_0x43cca1,_0x391ea5=new CASPushCommand(),_0x138357=program[_0x91bf6f(0x33d)](),_0x1d293b=await createTDXInstance(_0x138357),_0x35f2f5=await _0x391ea5[_0x91bf6f(0x34d)]({'options':{..._0x138357,..._0x59255b},'args':_0x41c413?[_0x41c413]:[],'tdx':_0x1d293b});gracefulExit(_0x35f2f5);}),casCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x262))['description'](a2_0x43cca1(0x303))['option'](a2_0x43cca1(0x279),a2_0x43cca1(0x334))[a2_0x43cca1(0x37b)](async(_0xdcece3,_0x1ab132)=>{const _0x191e94=a2_0x43cca1,_0x471d0e=new CASPreviewCommand(),_0x3206a6=program[_0x191e94(0x33d)](),_0x550416=await createTDXInstance(_0x3206a6),_0x2a89ba=await _0x471d0e[_0x191e94(0x34d)]({'options':{..._0x3206a6,..._0x1ab132},'args':[_0xdcece3,_0x1ab132[_0x191e94(0x3cb)]],'tdx':_0x550416});gracefulExit(_0x2a89ba);});const casSgCmd=casCmd['command']('sg')['description'](a2_0x43cca1(0x2fa));casSgCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x271))['description'](a2_0x43cca1(0x39b))['action'](async(_0x17530c,_0x423451)=>{const _0x54fb94=a2_0x43cca1,_0x1cd3bb=new CASSegmentListCommand(),_0x4cc8c3=program['opts'](),_0x172f1a=await createTDXInstance(_0x4cc8c3),_0x389924=await _0x1cd3bb[_0x54fb94(0x34d)]({'options':{..._0x4cc8c3,..._0x423451},'args':_0x17530c?[_0x17530c]:[],'tdx':_0x172f1a});gracefulExit(_0x389924);});const journeyCmd=program['command'](a2_0x43cca1(0x2da))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3be)),journeyListAction=async(_0x4b9855,_0x2f7344)=>{const _0x44ae34=a2_0x43cca1,_0x4dc670=new JourneyListCommand(),_0x231c08=program['opts'](),_0x413fb7=await createTDXInstance(_0x231c08),_0x2f558b=await _0x4dc670[_0x44ae34(0x34d)]({'options':{..._0x231c08,..._0x2f7344},'args':_0x4b9855?[_0x4b9855]:[],'tdx':_0x413fb7});gracefulExit(_0x2f558b);};journeyCmd['command'](a2_0x43cca1(0x2ec))[a2_0x43cca1(0x33c)]('List\x20journeys\x20in\x20current\x20context')[a2_0x43cca1(0x37b)](journeyListAction),journeyCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x3c2))[a2_0x43cca1(0x33c)]('Show\x20journey\x20details')[a2_0x43cca1(0x149)](a2_0x43cca1(0x38f),a2_0x43cca1(0x17c))[a2_0x43cca1(0x149)](a2_0x43cca1(0x466),a2_0x43cca1(0x265))[a2_0x43cca1(0x37b)](async(_0xbabf6c,_0x21719b)=>{const _0x5f2419=a2_0x43cca1,_0x5226db=new JourneyViewCommand(),_0x1b6f98=program[_0x5f2419(0x33d)](),_0x53c823=await createTDXInstance(_0x1b6f98),_0x2a9a43=await _0x5226db[_0x5f2419(0x34d)]({'options':{..._0x1b6f98,..._0x21719b},'args':[_0xbabf6c],'tdx':_0x53c823});gracefulExit(_0x2a9a43);}),journeyCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x15e))[a2_0x43cca1(0x33c)]('Show\x20journey\x20statistics')[a2_0x43cca1(0x149)](a2_0x43cca1(0x368),a2_0x43cca1(0x2a0))[a2_0x43cca1(0x149)](a2_0x43cca1(0x275),a2_0x43cca1(0x29a))[a2_0x43cca1(0x149)](a2_0x43cca1(0x433),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x43cca1(0x149)](a2_0x43cca1(0x40a),a2_0x43cca1(0x21c))['action'](async(_0x544b0c,_0x4149bd)=>{const _0x41b6d8=a2_0x43cca1,_0x21302f=new JourneyStatsCommand(),_0x30a2dd=program[_0x41b6d8(0x33d)](),_0x5f2c4b=await createTDXInstance(_0x30a2dd),_0x33fa88=await _0x21302f[_0x41b6d8(0x34d)]({'options':{..._0x30a2dd,..._0x4149bd},'args':[_0x544b0c],'tdx':_0x5f2c4b});gracefulExit(_0x33fa88);}),journeyCmd[a2_0x43cca1(0x177)]('traffic\x20<name-or-path>')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x154))[a2_0x43cca1(0x149)]('--type\x20<type>',a2_0x43cca1(0x37f))[a2_0x43cca1(0x149)]('--from\x20<date>','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')['option'](a2_0x43cca1(0x433),a2_0x43cca1(0x3f9))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2f0),a2_0x43cca1(0x1c5),_0x31cb91=>{const _0x2bd1c8=a2_0x43cca1,_0x31734f=parseInt(_0x31cb91,0xa);if(isNaN(_0x31734f))throw new Error(_0x2bd1c8(0x209)+_0x31cb91+_0x2bd1c8(0x23d));return _0x31734f;})[a2_0x43cca1(0x37b)](async(_0x47446f,_0x3783c2)=>{const _0x2cf4cc=a2_0x43cca1,_0x2a8da2=new JourneyTrafficCommand(),_0x46a32a=program[_0x2cf4cc(0x33d)](),_0x492c24=await createTDXInstance(_0x46a32a),_0x285c5b=await _0x2a8da2[_0x2cf4cc(0x34d)]({'options':{..._0x46a32a,..._0x3783c2},'args':[_0x47446f],'tdx':_0x492c24});gracefulExit(_0x285c5b);}),journeyCmd[a2_0x43cca1(0x177)]('pause\x20<name-or-path>')['description'](a2_0x43cca1(0x42f))[a2_0x43cca1(0x37b)](async(_0x4ec3f2,_0x582348)=>{const _0x1015e9=a2_0x43cca1,_0x430a19=new JourneyPauseCommand(),_0x4bc7c9=program[_0x1015e9(0x33d)](),_0x1d1e28=await createTDXInstance(_0x4bc7c9),_0x142fd5=await _0x430a19['run']({'options':{..._0x4bc7c9,..._0x582348},'args':[_0x4ec3f2],'tdx':_0x1d1e28});gracefulExit(_0x142fd5);}),journeyCmd[a2_0x43cca1(0x177)]('resume\x20<name-or-path>')[a2_0x43cca1(0x33c)]('Resume\x20a\x20paused\x20journey')[a2_0x43cca1(0x37b)](async(_0x33181b,_0x4ad75c)=>{const _0x247417=new JourneyResumeCommand(),_0xf614e7=program['opts'](),_0x2d1873=await createTDXInstance(_0xf614e7),_0x37fe7c=await _0x247417['run']({'options':{..._0xf614e7,..._0x4ad75c},'args':[_0x33181b],'tdx':_0x2d1873});gracefulExit(_0x37fe7c);}),journeyCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x27c))['description'](a2_0x43cca1(0x3fc))[a2_0x43cca1(0x149)](a2_0x43cca1(0x45e),a2_0x43cca1(0x354))[a2_0x43cca1(0x37b)](async(_0x2d6fa2,_0xa12a8d)=>{const _0x5eb40d=a2_0x43cca1,_0x2ff3d1=new JourneyPullCommand(),_0x49ad04=program[_0x5eb40d(0x33d)](),_0x35bc35=await createTDXInstance(_0x49ad04),_0x2a46a5=await _0x2ff3d1[_0x5eb40d(0x34d)]({'options':{..._0x49ad04,..._0xa12a8d},'args':_0x2d6fa2?[_0x2d6fa2]:[],'tdx':_0x35bc35});gracefulExit(_0x2a46a5);}),journeyCmd['command'](a2_0x43cca1(0x412))[a2_0x43cca1(0x33c)]('Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data')['action'](async(_0x10b455,_0x46ebed)=>{const _0x1e1f49=a2_0x43cca1,_0x434fd8=new JourneyPushCommand(),_0x35d93e=program[_0x1e1f49(0x33d)](),_0xe2b822=await createTDXInstance(_0x35d93e),_0x388fd2=await _0x434fd8['run']({'options':{..._0x35d93e,..._0x46ebed},'args':_0x10b455?[_0x10b455]:[],'tdx':_0xe2b822});gracefulExit(_0x388fd2);}),journeyCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x1e0))[a2_0x43cca1(0x33c)]('Show\x20journey\x20table\x20column-to-step\x20mapping')[a2_0x43cca1(0x37b)](async(_0x46c611,_0x54567c)=>{const _0x1d921a=a2_0x43cca1,_0x59577c=new JourneyColumnsCommand(),_0x2cabe2=program['opts'](),_0x20198c=await createTDXInstance(_0x2cabe2),_0x3c162d=await _0x59577c[_0x1d921a(0x34d)]({'options':{..._0x2cabe2,..._0x54567c},'args':[_0x46c611],'tdx':_0x20198c});gracefulExit(_0x3c162d);}),journeyCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2e8))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x1cb))[a2_0x43cca1(0x37b)](async(_0x53209a,_0xd11c4b)=>{const _0x2051d9=a2_0x43cca1,_0x164a6a=new JourneyActivationsCommand(),_0x2ad6ed=program[_0x2051d9(0x33d)](),_0xe48dd3=await createTDXInstance(_0x2ad6ed),_0x559273=await _0x164a6a[_0x2051d9(0x34d)]({'options':{..._0x2ad6ed,..._0xd11c4b},'args':[_0x53209a],'tdx':_0xe48dd3});gracefulExit(_0x559273);}),journeyCmd['command']('versions\x20<name-or-path>')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x421))[a2_0x43cca1(0x37b)](async(_0xcd5d15,_0x228125)=>{const _0x3b0788=new JourneyVersionsCommand(),_0x3ff3f4=program['opts'](),_0x2f85e9=await createTDXInstance(_0x3ff3f4),_0x11b551=await _0x3b0788['run']({'options':{..._0x3ff3f4,..._0x228125},'args':[_0xcd5d15],'tdx':_0x2f85e9});gracefulExit(_0x11b551);});const journeyVersionCmd=journeyCmd['command'](a2_0x43cca1(0x44c))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x1ad));journeyVersionCmd[a2_0x43cca1(0x177)]('create\x20<name-or-path>')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x1a8))[a2_0x43cca1(0x37b)](async(_0x552b14,_0x2f8682)=>{const _0x6eb0e5=a2_0x43cca1,_0x2f2dde=new JourneyVersionCreateCommand(),_0x50783c=program[_0x6eb0e5(0x33d)](),_0x310a75=await createTDXInstance(_0x50783c),_0x19af20=await _0x2f2dde[_0x6eb0e5(0x34d)]({'options':{..._0x50783c,..._0x2f8682},'args':[_0x552b14],'tdx':_0x310a75});gracefulExit(_0x19af20);}),journeyVersionCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x3c2))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x228))['requiredOption']('--version\x20<number>',a2_0x43cca1(0x465))['action'](async(_0x5bb0ae,_0x52ac50)=>{const _0x4fbb0b=a2_0x43cca1,_0x3df738=new JourneyVersionViewCommand(),_0x5303df=program[_0x4fbb0b(0x33d)](),_0x573241=await createTDXInstance(_0x5303df),_0x1cf472=await _0x3df738[_0x4fbb0b(0x34d)]({'options':{..._0x5303df,..._0x52ac50},'args':[_0x5bb0ae],'tdx':_0x573241});gracefulExit(_0x1cf472);}),journeyCmd['command']('validate\x20[target]')['description'](a2_0x43cca1(0x404))[a2_0x43cca1(0x37b)](async(_0x485464,_0x52aba2)=>{const _0x478276=a2_0x43cca1,_0xeebe8=new JourneyValidateCommand(),_0x4e1cde=program[_0x478276(0x33d)](),_0x4b5a25=await createTDXInstance(_0x4e1cde),_0x53d0c0=await _0xeebe8[_0x478276(0x34d)]({'options':{..._0x4e1cde,..._0x52aba2},'args':_0x485464?[_0x485464]:[],'tdx':_0x4b5a25});gracefulExit(_0x53d0c0);}),program[a2_0x43cca1(0x177)](a2_0x43cca1(0x424))[a2_0x43cca1(0x33c)]('List\x20journeys\x20(alias\x20for\x20journey\x20list)')[a2_0x43cca1(0x37b)](journeyListAction);const agentSyncCmd=program[a2_0x43cca1(0x177)]('agent')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x22d));agentSyncCmd[a2_0x43cca1(0x177)]('pull\x20[project]\x20[agent-name]')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x140))[a2_0x43cca1(0x149)](a2_0x43cca1(0x324),a2_0x43cca1(0x143))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2f3),a2_0x43cca1(0x3e8))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2b7),a2_0x43cca1(0x449))['action'](async(_0x34443b,_0xa0655d,_0x15905a)=>{const _0x5cc1db=a2_0x43cca1,_0x18e316=new AgentPullCommand(),_0x4f5f37=program[_0x5cc1db(0x33d)](),_0xe59e1f=await createTDXInstance(_0x4f5f37),_0x1544d0=[];if(_0x34443b)_0x1544d0['push'](_0x34443b);if(_0xa0655d)_0x1544d0[_0x5cc1db(0x38c)](_0xa0655d);const _0x2026ac=await _0x18e316[_0x5cc1db(0x34d)]({'options':{..._0x4f5f37,..._0x15905a},'args':_0x1544d0,'tdx':_0xe59e1f});gracefulExit(_0x2026ac);}),agentSyncCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2b4))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x242))[a2_0x43cca1(0x149)](a2_0x43cca1(0x2f3),a2_0x43cca1(0x2ab))['action'](async(_0x5c9145,_0x104870)=>{const _0x26db10=a2_0x43cca1,_0x16c92f=new AgentPushCommand(),_0xc7a3c4=program[_0x26db10(0x33d)](),_0x773194=await createTDXInstance(_0xc7a3c4),_0x5bad30=await _0x16c92f['run']({'options':{..._0xc7a3c4,..._0x104870},'args':_0x5c9145?[_0x5c9145]:[],'tdx':_0x773194});gracefulExit(_0x5bad30);}),agentSyncCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2c1))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x3f3))[a2_0x43cca1(0x149)]('-n,\x20--name\x20<name>',a2_0x43cca1(0x30f))[a2_0x43cca1(0x37b)](async(_0x4c9d1b,_0x479676)=>{const _0x12f30e=a2_0x43cca1,_0x31c2e4=new AgentCloneCommand(),_0x573b89=program['opts'](),_0x90c1a1=await createTDXInstance(_0x573b89),_0x206192=await _0x31c2e4[_0x12f30e(0x34d)]({'options':{..._0x573b89,..._0x479676},'args':_0x4c9d1b?[_0x4c9d1b]:[],'tdx':_0x90c1a1});gracefulExit(_0x206192);}),agentSyncCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x407))['description'](a2_0x43cca1(0x3c6))['option'](a2_0x43cca1(0x442),a2_0x43cca1(0x40d))[a2_0x43cca1(0x149)](a2_0x43cca1(0x3ba),a2_0x43cca1(0x1b8))[a2_0x43cca1(0x149)](a2_0x43cca1(0x45e),a2_0x43cca1(0x269))[a2_0x43cca1(0x149)](a2_0x43cca1(0x43a),a2_0x43cca1(0x32c))[a2_0x43cca1(0x149)](a2_0x43cca1(0x253),'Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')['action'](async(_0x5e739a,_0x8eb57a)=>{const _0x1ea583=new AgentTestCommand(),_0x18800b=program['opts'](),_0x1182e6=await createTDXInstance(_0x18800b),_0x46cfaa=await _0x1ea583['run']({'options':{..._0x18800b,..._0x8eb57a},'args':_0x5e739a?[_0x5e739a]:[],'tdx':_0x1182e6});gracefulExit(_0x46cfaa);}),agentSyncCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2ec))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x348))[a2_0x43cca1(0x37b)](llmAgentListAction),agentSyncCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2f8))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x1bd))['action'](async(_0xdf161a,_0x5e0173)=>{const _0x4e0ce5=a2_0x43cca1,_0x366e1c=new LLMAgentShowCommand(),_0x3bd3a5=program['opts'](),_0x1d7fd0=await createTDXInstance(_0x3bd3a5),_0x107cda=await _0x366e1c[_0x4e0ce5(0x34d)]({'options':{..._0x3bd3a5,..._0x5e0173},'args':[_0xdf161a],'tdx':_0x1d7fd0});gracefulExit(_0x107cda);}),agentSyncCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x2c5))['description'](a2_0x43cca1(0x244))[a2_0x43cca1(0x149)]('--system-prompt\x20<text>',a2_0x43cca1(0x467))[a2_0x43cca1(0x149)](a2_0x43cca1(0x297),a2_0x43cca1(0x33a),a2_0x43cca1(0x3c5))[a2_0x43cca1(0x149)](a2_0x43cca1(0x1c0),a2_0x43cca1(0x3d2))[a2_0x43cca1(0x149)]('--max-tool-iterations\x20<n>',a2_0x43cca1(0x268),'4')[a2_0x43cca1(0x149)]('--temperature\x20<n>','Temperature\x20(0.0-2.0,\x20default:\x200.7)',a2_0x43cca1(0x292))[a2_0x43cca1(0x37b)](async(_0x1acb32,_0x18cf21)=>{const _0x10d731=a2_0x43cca1,_0x1d5d20=new LLMAgentCreateCommand(),_0x42c94f=program[_0x10d731(0x33d)](),_0x21604b=await createTDXInstance(_0x42c94f),_0x1ed2f0=await _0x1d5d20[_0x10d731(0x34d)]({'options':{..._0x42c94f,..._0x18cf21},'args':[_0x1acb32],'tdx':_0x21604b});gracefulExit(_0x1ed2f0);}),agentSyncCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x44e))[a2_0x43cca1(0x33c)]('Update\x20an\x20existing\x20agent')[a2_0x43cca1(0x149)](a2_0x43cca1(0x248),a2_0x43cca1(0x1de))[a2_0x43cca1(0x149)](a2_0x43cca1(0x17b),'Agent\x20prompt/instructions')['option']('--description\x20<text>',a2_0x43cca1(0x371))['option'](a2_0x43cca1(0x1c0),'Starter\x20message')['action'](async(_0x437d1a,_0x2f4b76)=>{const _0x2fc026=a2_0x43cca1,_0x41047e=new LLMAgentUpdateCommand(),_0x304c23=program[_0x2fc026(0x33d)](),_0x514d5e=await createTDXInstance(_0x304c23),_0x2c5557=await _0x41047e[_0x2fc026(0x34d)]({'options':{..._0x304c23,..._0x2f4b76},'args':[_0x437d1a],'tdx':_0x514d5e});gracefulExit(_0x2c5557);}),agentSyncCmd[a2_0x43cca1(0x177)]('delete\x20<agent-name>')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x350))[a2_0x43cca1(0x37b)](async(_0x439a8c,_0x38e499)=>{const _0x226af5=a2_0x43cca1,_0x3779be=new LLMAgentDeleteCommand(),_0x1ce546=program[_0x226af5(0x33d)](),_0x12ba8a=await createTDXInstance(_0x1ce546),_0x4bbbaf=await _0x3779be[_0x226af5(0x34d)]({'options':{..._0x1ce546,..._0x38e499},'args':[_0x439a8c],'tdx':_0x12ba8a});gracefulExit(_0x4bbbaf);});const workCmd=program[a2_0x43cca1(0x177)]('work')[a2_0x43cca1(0x33c)](a2_0x43cca1(0x1b2));workCmd[a2_0x43cca1(0x149)](a2_0x43cca1(0x2b8),a2_0x43cca1(0x1a6))[a2_0x43cca1(0x149)](a2_0x43cca1(0x1b5),a2_0x43cca1(0x397))['action'](workSummaryAction),workCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x204))['description']('Initialize\x20a\x20new\x20workspace')['option'](a2_0x43cca1(0x390),'Link\x20workspace\x20to\x20a\x20GitHub\x20repository')[a2_0x43cca1(0x37b)](workInitAction),workCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x1c4))[a2_0x43cca1(0x33c)]('Create\x20a\x20new\x20document')[a2_0x43cca1(0x149)]('--kind\x20<kind>',a2_0x43cca1(0x3d9),a2_0x43cca1(0x33e))['option'](a2_0x43cca1(0x3ba),a2_0x43cca1(0x27e))[a2_0x43cca1(0x149)](a2_0x43cca1(0x3e3),a2_0x43cca1(0x1b7))[a2_0x43cca1(0x149)](a2_0x43cca1(0x394),a2_0x43cca1(0x411))[a2_0x43cca1(0x149)](a2_0x43cca1(0x167),'Apply\x20a\x20template')[a2_0x43cca1(0x149)]('--status\x20<status>',a2_0x43cca1(0x3ed))[a2_0x43cca1(0x149)]('--assignee\x20<assignee>',a2_0x43cca1(0x190))[a2_0x43cca1(0x37b)](workNewAction),workCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x381))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x15c))[a2_0x43cca1(0x37b)](workMoveAction),workCmd['command'](a2_0x43cca1(0x344))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x141))[a2_0x43cca1(0x149)]('--days\x20<n>','Show\x20items\x20updated\x20within\x20N\x20days')[a2_0x43cca1(0x149)](a2_0x43cca1(0x1b5),a2_0x43cca1(0x397))[a2_0x43cca1(0x37b)](workBoardAction),workCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x3a6))['description'](a2_0x43cca1(0x1e4))[a2_0x43cca1(0x37b)](workShowAction),workCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x453))[a2_0x43cca1(0x33c)]('Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document')[a2_0x43cca1(0x37b)](workLinksAction),workCmd[a2_0x43cca1(0x177)](a2_0x43cca1(0x333))[a2_0x43cca1(0x33c)](a2_0x43cca1(0x26b))[a2_0x43cca1(0x37b)](workOpenAction),program[a2_0x43cca1(0x177)](a2_0x43cca1(0x37e),{'hidden':!![]})[a2_0x43cca1(0x37b)](()=>{const _0x5c03=a2_0x43cca1;function _0x4cef25(_0x34ae20,_0x4383bc){const _0x14d10a=a2_0x390f,_0x15a979=[];for(const _0x4ba8a8 of _0x34ae20[_0x14d10a(0x29d)]){if(_0x4ba8a8[_0x14d10a(0x20d)])continue;const _0x5737c8=_0x4383bc?_0x4383bc+'\x20'+_0x4ba8a8[_0x14d10a(0x284)]():_0x4ba8a8['name'](),_0x35608b=_0x5737c8['split']('\x20')[0x0],_0x2c5860=COMMAND_CATEGORIES[_0x14d10a(0x3a5)](_0x47d9f2=>_0x47d9f2[_0x14d10a(0x29d)][_0x14d10a(0x22a)](_0x35608b)),_0x3d4171=_0x2c5860?.[_0x14d10a(0x284)]??'';if(_0x4ba8a8[_0x14d10a(0x29d)][_0x14d10a(0x329)]>0x0)_0x15a979[_0x14d10a(0x38c)](..._0x4cef25(_0x4ba8a8,_0x5737c8));else{const _0x761f10=(_0x4ba8a8[_0x14d10a(0x376)]||[])[_0x14d10a(0x41f)](_0xf79403=>{const _0x4d890a=_0x14d10a,_0x1b3e18=_0xf79403[_0x4d890a(0x216)]?_0xf79403[_0x4d890a(0x284)]()+_0x4d890a(0x365):_0xf79403['name']();return _0xf79403[_0x4d890a(0x3cf)]?'<'+_0x1b3e18+'>':'['+_0x1b3e18+']';})[_0x14d10a(0x3e0)]('\x20'),_0x4cd3af=_0x4ba8a8[_0x14d10a(0x31f)][_0x14d10a(0x280)](_0x1a23de=>!_0x1a23de[_0x14d10a(0x270)]&&_0x1a23de[_0x14d10a(0x42d)]!=='--help')[_0x14d10a(0x41f)](_0x45832b=>({'flags':_0x45832b[_0x14d10a(0x217)],'description':_0x45832b[_0x14d10a(0x33c)]}));_0x15a979[_0x14d10a(0x38c)]({'name':_0x5737c8,'description':_0x4ba8a8[_0x14d10a(0x33c)](),'group':_0x3d4171,'usage':_0x761f10,'options':_0x4cd3af});}}return _0x15a979;}console[_0x5c03(0x168)](JSON[_0x5c03(0x31c)](_0x4cef25(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x4d9e53=a2_0x43cca1,_0xc37517=!process[_0x4d9e53(0x432)][_0x4d9e53(0x1e9)](0x2)['length'];showBriefHelp=_0xc37517,program['parse'](process['argv']);_0xc37517&&program[_0x4d9e53(0x3eb)]();const _0x15773e=process[_0x4d9e53(0x432)][0x2]===_0x4d9e53(0x39f);if(process[_0x4d9e53(0x2cf)][_0x4d9e53(0x231)]&&process[_0x4d9e53(0x432)][_0x4d9e53(0x329)]>0x2&&!isDevVersion()&&!_0x15773e){const _0x543383=loadReleaseChannel();checkForUpdate(currentVersion,_0x543383)[_0x4d9e53(0x158)](_0x4e461b=>{_0x4e461b&&displayUpdateNotification(_0x4e461b);})[_0x4d9e53(0x2f5)](()=>{});}}
|