@treasuredata/tdx 2026.4.12 → 2026.4.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +1 -1
- package/dist/build-info.json +3 -3
- package/dist/cli-categories.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/commands/activations.js +1 -1
- package/dist/commands/agent-command.js +1 -1
- package/dist/commands/agent-test-command.js +1 -1
- package/dist/commands/api-command.js +1 -1
- package/dist/commands/auth-command.js +1 -1
- package/dist/commands/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 +1 -1
package/dist/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a2_0x9f465f=a2_0x23b4;(function(_0xe641d2,_0x3677ef){const _0x23c7f0=a2_0x23b4,_0xe03606=_0xe641d2();while(!![]){try{const _0x4309f7=parseInt(_0x23c7f0(0x359))/0x1+parseInt(_0x23c7f0(0x3b3))/0x2+-parseInt(_0x23c7f0(0x24b))/0x3+-parseInt(_0x23c7f0(0x30c))/0x4*(parseInt(_0x23c7f0(0x36a))/0x5)+parseInt(_0x23c7f0(0x2fd))/0x6+-parseInt(_0x23c7f0(0x151))/0x7+parseInt(_0x23c7f0(0x367))/0x8;if(_0x4309f7===_0x3677ef)break;else _0xe03606['push'](_0xe03606['shift']());}catch(_0x1d47e3){_0xe03606['push'](_0xe03606['shift']());}}}(a2_0x3d01,0x43d54));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';function a2_0x23b4(_0xb6b285,_0x2272de){_0xb6b285=_0xb6b285-0xe1;const _0x3d0124=a2_0x3d01();let _0x23b4e2=_0x3d0124[_0xb6b285];return _0x23b4e2;}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';function a2_0x3d01(){const _0x4042c4=['INVALID_ARGUMENT','show\x20<job-id>','opts','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','configureHelp','flags','set','--behaviors\x20<json>','--from\x20<date>','--chat-id\x20<id>','error','update\x20<segment_name>','submit\x20[query]','replace','delete\x20<service_id>\x20[parent_segment]','workflow','Get\x20current\x20RT\x20configuration\x20version\x20status','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Master\x20table\x20name','isDirectory','--limit\x20<number>','RT\x202.0\x20configuration\x20management','Alias\x20for\x20--database\x20(natural\x20language\x20style)','secrets','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','Set\x20a\x20profile\x20configuration\x20value','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','--html\x20<html>','--name\x20<text>','--llm-project\x20<name>','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','show\x20<folder_ref>','delete\x20<personalization_id>','--customer-group\x20<json>','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','--kind\x20<kind>','senders\x20[pattern]','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','--retry-limit\x20<0~32>','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','schedules','models','--timezone\x20<tz>','[action]','Show\x20only\x20master\x20table\x20validation','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Pull\x20workflow\x20project\x20to\x20local\x20folder','Parent\x20folder\x20name\x20for\x20nested\x20folders','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','New\x20segment\x20name','Create\x20a\x20new\x20profile','pull\x20[project]\x20[agent-name]','Job\x20management\x20commands','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','run\x20[workflow]','Manage\x20workflow\x20schedules\x20(enable/disable)','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Update\x20a\x20scheduled\x20query','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Timezone\x20(e.g.,\x20America/Los_Angeles)','Preview\x20changes\x20without\x20writing\x20files','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','Folder\x20name\x20for\x20organization','New\x20workspace\x20name','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','run\x20[name]','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','timeline\x20[project.workflow]','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','1861608nexbfo','New\x20template\x20name','--description\x20<text>','journey','\x20-\x20built\x20','Add\x20attributes\x20as\x20JSON\x20string','--last','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','llm','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','Pause\x20activations\x20in\x20an\x20RT\x20journey','Resume\x20a\x20paused\x20campaign','registeredArguments','tasks','--system-prompt\x20<text>','543428ngjlJd','activations\x20<name-or-path>','--customer-group-file\x20<file>','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','--tags\x20<tags>','remove\x20<name>','profile','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','Invalid\x20--limit\x20value:\x20\x22','Scheduled\x20query\x20management\x20commands','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','pull\x20[workspace]','validate\x20[target]','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','RT\x20Journey\x20management','GET','--public','--dry-run','--dir\x20<dir>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','name','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','Target\x20directory\x20for\x20YAML\x20files','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','template','stats\x20<name-or-path>','Pull\x20specific\x20revision\x20(default:\x20latest)','LLM\x20agent\x20management','Open\x20a\x20document\x20in\x20$EDITOR','pull\x20[workspace-name]','update\x20<service_id>\x20[parent_segment]','argv','-p,\x20--profile\x20<name>','us01','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','launch\x20<name-or-id>','Campaign\x20name','disable\x20<id>','info\x20[segment_name]','Delete\x20a\x20realtime\x20personalization','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','Database\x20name\x20(required)','includes','--name\x20<name>','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','-1d','--parent-segment\x20<name>','tdx\x20','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','isTTY','Version\x20number\x20to\x20view','Delete\x20an\x20agent','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Path\x20is\x20not\x20a\x20directory:\x20','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','--include-stats','board','LLM\x20project\x20to\x20use\x20(overrides\x20context)','activations\x20<segment_name>','Action:\x20logs,\x20tasks,\x20kill,\x20retry','--version\x20<number>','Personalization\x20name','Include\x20subtasks\x20in\x20tasks\x20output','[DEPRECATED]\x20Segment\x20folder\x20management','Interactive\x20chat\x20selector','desc\x20[name]','--force','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','fields\x20[parent_name]','List\x20composable\x20segments\x20for\x20an\x20audience','Access\x20control\x20policy\x20commands','--method\x20<pm>','--session\x20<id>','retry','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','parse','58219ZfzIiP','Parent\x20segment\x20description','Skip\x20confirmation\x20prompt','show\x20<service_id>\x20[parent_segment]','-v,\x20--verbose','Request\x20body\x20as\x20JSON\x20string','Workspace\x20name','User\x20management\x20commands','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Workspace\x20name\x20(required)','Disable\x20a\x20workflow\x20schedule','Parse\x20and\x20validate\x20without\x20executing','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Pull\x20child\x20segments\x20to\x20YAML\x20files','7609312sdcFJP','finish\x20<name-or-id>','create\x20<name>','15ciHEuf','Query\x20type:\x20trino\x20or\x20hive','--add-attributes-file\x20<file>','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','-f,\x20--file\x20<path>','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','List\x20activations\x20for\x20a\x20journey','chat\x20[message...]','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Job\x20priority\x20(-2\x20to\x202)','trace','-c,\x20--continue','--color','-n,\x20--name\x20<name>','cas','journeys\x20[pattern]','AI-native\x20work\x20management','Show\x20always-on\x20campaign\x20details','--next','List\x20agents\x20in\x20current\x20project','Add\x20attributes\x20from\x20JSON\x20file','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','list\x20[pattern]','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','run\x20<name>','create\x20<segment_name>','run','Data\x20connection\x20management\x20(for\x20activations/exports)','database','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','--timeout\x20<seconds>','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','Show\x20campaign\x20details','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','--follow','tsv','TRACE','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','filter','System\x20prompt/instructions\x20(default:\x20empty)','show\x20<name>','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','Create\x20a\x20workspace','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Launch\x20an\x20always-on\x20campaign','--add-behaviors-file\x20<file>','Update\x20a\x20realtime\x20personalization\x20entity','schedule','-a,\x20--agent\x20<name>','Pull\x20specific\x20campaign\x20by\x20name','--table\x20<table>','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','resume\x20<name-or-path>','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','--html-file\x20<path>','-f,\x20--force','Validate\x20journey\x20YAML\x20files\x20locally','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','AI-native\x20CLI\x20for\x20Treasure\x20Data','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','--params\x20<json>','-r,\x20--recursive','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','job','--sections\x20<json>','slice','addHelpText','flatMap','Validate\x20template\x20YAML\x20files\x20locally','--param\x20<key=value>','717624UoEXVR','folder','--include-retried','list','--database\x20<name>','pause_activations\x20<journeyId>','map','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','workspaces\x20[pattern]','--account-name\x20<name>','Update\x20an\x20email\x20template','Maximum\x20rows\x20to\x20display','statusline','-r,\x20--resume','Workflow\x20attempt\x20management','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','help','jobs','Clear\x20session\x20context','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','update\x20<agent-name>','--clear','--reason\x20<text>','types','query\x20[sql]','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','[attempt-id]','Project\x20description','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','buildTime','--attempt-id\x20<id>','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)',',\x20version\x20','Retry\x20limit\x20(0\x20to\x2032)','then','--master','pause\x20<name-or-id>','update\x20<name>','--github\x20<owner/repo>','kill\x20<job-id>','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','List\x20available\x20LLM\x20models','--default','--yes','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','alias','--status\x20<status>','--jsonl','audience','repeat','--max-depth\x20<depth>','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','push','Directory\x20does\x20not\x20exist:\x20','_list-commands','--from\x20<n>','--temperature\x20<n>','use\x20[resource]\x20[value]','Include\x20raw\x20history\x20data\x20in\x20output','Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)','Starter\x20message','[options]\x20--\x20[claude-code-args...]','Query\x20engine\x20version','Workflow\x20session\x20management','--all','upload\x20[project-name-or-dir]','list\x20[name]','-d,\x20--database\x20<database>','Create\x20a\x20new\x20agent\x20in\x20current\x20project','trino','delivery','--no-eval','Pause\x20a\x20running\x20journey','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','table','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','Resume\x20activations\x20in\x20an\x20RT\x20journey','Commands:','Delay\x20in\x20seconds\x20before\x20execution','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Follow/watch\x20timeline\x20for\x20running\x20attempts','--allowed-ips\x20<ips>','Usage:\x20','Database\x20management\x20commands','project','Show\x20a\x20specific\x20realtime\x20personalization','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','summary','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','Set\x20operation\x20timeout\x20in\x20seconds','isArray','auth','--plaintext\x20<text>','INFO','argumentTerm','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Overwrite\x20existing\x20profile','preview\x20[file]','site','Submit\x20a\x20job','--days\x20<n>','--name\x20<names>','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','Change\x20to\x20directory\x20before\x20executing\x20command','--full','Resume\x20from\x20specific\x20task\x20(retry)','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Attributes\x20as\x20JSON\x20string','argumentDescription','Include\x20retried\x20attempts','Always-on\x20campaign\x20management','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','--delete','CDP\x20Journey\x20Orchestration\x20commands','--model\x20<name>','--delay\x20<seconds>','Make\x20segment\x20invisible\x20(default:\x20visible)','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','backup\x20<name>','--engine-version\x20<version>','tdx','exit','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Run\x20a\x20scheduled\x20query\x20immediately','Export\x20journey(s)\x20as\x20YAML\x20files','Timezone\x20for\x20cron','Token\x20description','--editor-type\x20<type>','Show\x20segment\x20schema\x20(column\x20types)','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','status','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Show\x20timeline\x20for\x20specific\x20attempt','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Create\x20a\x20new\x20document','delete\x20<project-name-or-id>','--new','session','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','List\x20secret\x20keys\x20for\x20a\x20project','Update\x20an\x20always-on\x20campaign','--in\x20<database>','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','columns\x20<name-or-path>','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','--description\x20<desc>','delete\x20<name>','describe','\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','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','configuration_versions\x20[name]','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','--job-type\x20<type>','Plaintext\x20template\x20content','result\x20<job-id>','stdout','Skip\x20confirmation\x20prompts','--num\x20<1-10>','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','traffic\x20<name-or-path>','create\x20<name-or-path>','_hidden','--type\x20<type>','--audience-id\x20<id>','Temperature\x20(0.0-2.0,\x20default:\x200.7)','-w,\x20--web','Pull\x20specific\x20template\x20by\x20name','Open\x20segment\x20in\x20web\x20browser','Open\x20journey\x20in\x20web\x20browser','Create\x20a\x20new\x20campaign','format','--add-behaviors\x20<json>','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','--json','-C,\x20--directory\x20<path>','Pause\x20an\x20always-on\x20campaign','use\x20[name]','Behaviors\x20from\x20JSON\x20file','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a','preAction','--invisible','Show\x20document\x20details','Delete\x20a\x20workspace','Show\x20workspace\x20details','Show\x20segment\x20details\x20(alias\x20for\x20view)','Updated\x20timezone','show\x20<policy>','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','Pause\x20a\x20campaign','Agent\x20prompt/instructions','length','--reeval','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','history\x20<name>','Maximum\x20tool\x20iterations\x20(default:\x204)','--parent-folder\x20<name>','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Maximum\x20number\x20of\x20nodes','View\x20a\x20specific\x20version\x20of\x20a\x20journey','3130372LVvBqM','forEach','Ending\x20offset\x20(default:\x2020)','Service\x20description','\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','Personalization\x20service\x20token\x20management','clear','command','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','--help','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','token','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','duplicate\x20<name-or-id>','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Personalization\x20description','Move\x20to\x20folder','--enriched','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Task\x20name\x20for\x20logs\x20action','Personalization\x20management','action','Clear\x20workflow\x20project\x20context','open\x20<name>','commandUsage','--tsv','--output\x20<file>','Preview\x20without\x20creating\x20the\x20project','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','-u,\x20--use','Create\x20a\x20scheduled\x20query','--segment\x20<path>','\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','Email\x20template\x20management','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Reason\x20for\x20killing\x20the\x20attempt','optionDescription','Include\x20execution\x20statistics','Show\x20schedule\x20execution\x20history','Preview\x20composable\x20segment\x20query\x20on\x20CDW','resume\x20<name-or-id>','Show\x20email\x20template\x20details','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','show\x20<personalization_id>','subcommandTerm','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Maximum\x20recursion\x20depth\x20(default:\x2010)','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','Remove\x20API\x20key\x20from\x20system\x20keychain','campaign','End\x20time\x20filter\x20(ISO\x208601\x20format)','Delete\x20a\x20scheduled\x20query','Skip\x20validation\x20of\x20.dig\x20files','use\x20<project-name>','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','\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','hidden','Filtering\x20rule\x20as\x20JSON\x20string','apiKey','JSON\x20columns\x20for\x20connector\x20(comma-separated)','agents\x20[pattern]','--template\x20<name>','--trace','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','enable\x20<id>','--kind\x20<type>','--body\x20<body>','kill','--subject\x20<subject>','Email\x20sender\x20ID\x20for\x20delivery','CDP\x20segment\x20management\x20commands','Database\x20name\x20(default:\x20information_schema)','List\x20jobs','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','Invalid\x20editor\x20type:\x20','schema\x20<type>','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','validate\x20[file]','Cron\x20expression\x20for\x20scheduling','stderr','Segment\x20description','Read\x20query\x20from\x20file','parents\x20[pattern]','commands','--no-count-population','List\x20all\x20users\x20in\x20the\x20account','Show\x20stats\x20for\x20specific\x20stage','Update\x20a\x20workspace','Database\x20name','pull\x20[name]','\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','Resume\x20a\x20paused\x20always-on\x20campaign','Attributes\x20from\x20JSON\x20file','claude-4.5-sonnet','-o,\x20--output\x20<folder>','timeout','--catalog\x20<catalog>','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','Kill\x20a\x20job','engage_workspace','--no-proxy','Authentication\x20management','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','push\x20[parent_or_file]','Agent\x20name','--schedule-type\x20<type>','--priority\x20<-2~2>','service','set\x20<args...>','Options:','Enable\x20verbose\x20logging','Output\x20as\x20JSON\x20Lines','Manage\x20workflow\x20project\x20secrets','--max-tool-iterations\x20<n>','list\x20[path]','noColor','...','Continue\x20most\x20recent\x20conversation','Arguments:','stringify','List\x20journeys\x20in\x20current\x20context','--email-sender-id\x20<id>','use\x20[project]','Customer\x20group\x20from\x20JSON\x20file','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Timezone\x20for\x20cron\x20(default:\x20UTC)','describe\x20[table]','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Campaign\x20management','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','--verbose','Show\x20what\x20would\x20be\x20written\x20without\x20writing','information_schema','Show\x20Kanban\x20board\x20view\x20of\x20tasks','download\x20<project-name>\x20[output-dir]','connections','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','Resume\x20from\x20specific\x20task','beefree','Behaviors\x20as\x20JSON\x20string','Preview\x20operation\x20without\x20executing','Name\x20for\x20the\x20new\x20project\x20(required)','databases\x20[pattern]','Show\x20master\x20table\x20sample\x20data','Read\x20SQL\x20query\x20from\x20file','[EXPERIMENTAL]\x20Show\x20chat\x20log','pull\x20<project>\x20[target-dir]','--limit\x20<n>','workflows\x20[project]','--cron\x20<expression>','Show\x20the\x20most\x20recent\x20chat','--session-id\x20<id>','Document\x20body\x20text','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Workflow\x20parameter\x20(repeatable)','--include-subtasks','fields\x20[name]','--schedule-option\x20<value>','Updated\x20schedule\x20option','Read\x20request\x20body\x20from\x20file','--folder-id\x20<id>','list\x20[project]','work','--json-columns\x20<cols>','required','show\x20<name-or-id>','Campaign\x20type\x20(email\x20or\x20push)','Show\x20job\x20details','version','delete\x20<agent-name>','--site\x20<site>','Overwrite\x20local\x20changes\x20without\x20confirmation','join','projects\x20[pattern]','test\x20[path]','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','--database\x20<db>','padWidth','description','Campaign\x20description','init\x20[name]','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','split','Run\x20specific\x20tests\x20(comma-separated)','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','create','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','folders\x20<parent_name>','--include-history','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','--type\x20<api_type>','Revision\x20name\x20(default:\x20timestamp)','--file\x20<path>','upgrade','Duplicate\x20an\x20always-on\x20campaign','-d,\x20--database\x20<db>','--resume-from\x20<task>','after','--folder\x20<name>','List\x20email\x20senders','unset\x20<resource>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','clone\x20[source-dir]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','--data\x20<data>','--to\x20<date>','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','-o,\x20--output\x20<file>','jsonl','Parent\x20segment\x20management','tables\x20[pattern]','upgrade\x20[version]','--name\x20<new_name>','--behavior\x20[name]','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','show\x20[name]','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','update\x20<name-or-id>','Initial\x20status','Unknown\x20action:\x20','List\x20all\x20available\x20profiles','aliases','allowUnknownOption','long','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','patch\x20<personalization_id>','show\x20[table]','use\x20<path>','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','List\x20composable\x20audiences','option','-y,\x20--yes','accessToken','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Delete\x20a\x20campaign','sql\x20[name]','push\x20[source-dir]','-H,\x20--header\x20<header>','Apply\x20a\x20template','always-on-campaigns\x20[pattern]','item','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','view\x20[segment_name]','1637556mSaTeT','Get\x20job\x20results','resume_activations\x20<journeyId>','HTML\x20template\x20content','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Pull\x20templates\x20to\x20YAML\x20files','directory','preview\x20[name]','Delete\x20an\x20email\x20template','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','--start-at\x20<datetime>','sql\x20[segment_name]','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','--to\x20<timestamp>','Show\x20items\x20updated\x20within\x20N\x20days','Output\x20as\x20JSON','logLevel','Set\x20or\x20show\x20parent\x20segment\x20context','--workspace\x20<name>','Workspace\x20description','use\x20<name>','always-on-campaign','create\x20<name>\x20<service_id>\x20[parent_segment]','debug','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','--rule\x20<json>','LLM\x20project\x20management','options','Delivery\x20operations\x20(email\x20senders)','connection','--name\x20<new-name>','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','desc\x20[segment_name]','outputHelp','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','gitRevision','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','0.7','Delete\x20a\x20profile','grapesjs','--agent\x20<ref>','json','New\x20campaign\x20name','usage','--enable-utm-tracking','Customer\x20group\x20as\x20JSON\x20string','--starter-message\x20<text>','--skip-validation','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','variadic','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','push\x20[target]','--rule-file\x20<file>','Resume\x20a\x20conversation\x20(shows\x20selector)','Show\x20authentication\x20status\x20and\x20current\x20context','\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','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Sections\x20as\x20an\x20inline\x20JSON\x20array','pause\x20<name-or-path>','--revision\x20<revision>','optionTerm','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','-X,\x20--method\x20<method>','push\x20[file]','list\x20[audience_name]','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Agent\x20description','attempt','Attempt\x20ID','Add\x20behaviors\x20as\x20JSON\x20string','--interval\x20<range>','Create\x20an\x20email\x20template','List\x20available\x20connector\x20types','history\x20[chat-id]','segment','view\x20[name]','Model\x20type\x20(default:\x20claude-4.5-sonnet)','hook','versions\x20<name-or-path>','restore\x20<folder>','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','requiredOption','--no-color','log','delete\x20<name-or-id>','Finish\x20an\x20always-on\x20campaign','attempts\x20[project]','argument','New\x20service\x20description','--attribute\x20[name]','--assignee\x20<assignee>','Show\x20schedule\x20details','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','links\x20<name>','parent','api\x20[endpoint]','Resume\x20a\x20paused\x20journey','validate\x20[name]','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','--priority\x20<priority>','--from\x20<timestamp>'];a2_0x3d01=function(){return _0x4042c4;};return a2_0x3d01();}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_0x9f465f(0x337)]('--version')){let versionOutput=a2_0x9f465f(0x33c)+currentVersion;buildInfo[a2_0x9f465f(0x26f)]&&!currentVersion['includes'](buildInfo[a2_0x9f465f(0x26f)])&&(versionOutput+='\x20('+buildInfo[a2_0x9f465f(0x26f)]+')'),buildInfo[a2_0x9f465f(0x3d1)]&&(versionOutput+=a2_0x9f465f(0x301)+buildInfo[a2_0x9f465f(0x3d1)]),console['log'](versionOutput),process[a2_0x9f465f(0x100)](0x0);}const program=new Command();export function mergeCommandOptions(_0x3b1504,_0x5e8cd3){const _0x27b522={..._0x3b1504};for(const [_0xdb12ce,_0x2c79dc]of Object['entries'](_0x5e8cd3)){_0x2c79dc!==undefined&&(_0x27b522[_0xdb12ce]=_0x2c79dc);}return _0x27b522;}let showBriefHelp=![],description=a2_0x9f465f(0x3a6);buildInfo[a2_0x9f465f(0x26f)]&&!currentVersion[a2_0x9f465f(0x337)](buildInfo[a2_0x9f465f(0x26f)])?description+=a2_0x9f465f(0x3d4)+currentVersion+'\x20('+buildInfo[a2_0x9f465f(0x26f)]+')':description+=a2_0x9f465f(0x3d4)+currentVersion;program[a2_0x9f465f(0x321)]('tdx')[a2_0x9f465f(0x207)](description),program[a2_0x9f465f(0x23e)](a2_0x9f465f(0x138),a2_0x9f465f(0xed))['option'](a2_0x9f465f(0x32d),'Profile\x20to\x20use\x20(overrides\x20active\x20profile)')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x1fe),a2_0x9f465f(0x225),a2_0x9f465f(0x32e))['option']('--format\x20<format>',a2_0x9f465f(0x2f7))[a2_0x9f465f(0x23e)]('--table',a2_0x9f465f(0x394))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x137),a2_0x9f465f(0x15d))[a2_0x9f465f(0x23e)]('--jsonl',a2_0x9f465f(0x24f))['option'](a2_0x9f465f(0x16a),a2_0x9f465f(0x3e8))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x16b),'Save\x20output\x20to\x20file')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2c6),a2_0x9f465f(0x2f1))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x376),a2_0x9f465f(0x230),![])['option'](a2_0x9f465f(0x29f),a2_0x9f465f(0x407),![])[a2_0x9f465f(0x23e)](a2_0x9f465f(0x35d),a2_0x9f465f(0x1c2),![])['option']('--debug',a2_0x9f465f(0x3c6))['option'](a2_0x9f465f(0x191),a2_0x9f465f(0x2ee))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x389),a2_0x9f465f(0x413),'30')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x31d),a2_0x9f465f(0x1e0),![])['option'](a2_0x9f465f(0x23f),a2_0x9f465f(0x126),![])['option'](a2_0x9f465f(0x355),'Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x33b),a2_0x9f465f(0x226))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2d1),a2_0x9f465f(0x346)),program[a2_0x9f465f(0x2b6)]({'formatHelp':(_0x33acc3,_0x5b2cbb)=>{const _0x1fd793=a2_0x9f465f,_0x352a23=_0x5b2cbb[_0x1fd793(0x206)](_0x33acc3,_0x5b2cbb),_0x118be9=0x2,_0x55db80=0x2;function _0x1032cc(_0x22d3d9){const _0x451da0=_0x1fd793,_0x8cfa9e=_0x22d3d9;return!!(_0x8cfa9e[_0x451da0(0x12b)]||_0x8cfa9e[_0x451da0(0x18b)]);}function _0x5c7711(_0x3177c3,_0x1d0a0e){if(_0x1d0a0e){const _0x571c89=''+_0x3177c3['padEnd'](_0x352a23+_0x55db80)+_0x1d0a0e;return _0x571c89;}return _0x3177c3;}function _0x3f1091(_0x520500){const _0x46fab0=_0x1fd793;return _0x520500[_0x46fab0(0x200)]('\x0a')[_0x46fab0(0x2bf)](/^/gm,'\x20'[_0x46fab0(0x3e6)](_0x118be9));}const _0x3fa9cc=[];_0x3fa9cc[_0x1fd793(0x3e9)](_0x1fd793(0x40b)+_0x5b2cbb[_0x1fd793(0x169)](_0x33acc3));const _0x3f5cdf=_0x5b2cbb['commandDescription'](_0x33acc3);_0x3f5cdf&&(_0x3fa9cc[_0x1fd793(0x3e9)](''),_0x3fa9cc[_0x1fd793(0x3e9)](_0x3f5cdf));const _0x464d1f=_0x33acc3[_0x1fd793(0x1a6)]['filter'](_0x206349=>!_0x1032cc(_0x206349));if(_0x464d1f['length']>0x0){if(_0x33acc3['name']()===_0x1fd793(0xff)){const _0x16043a=_0x33acc3[_0x1fd793(0x2b4)](),_0x2f6188=!_0x16043a[_0x1fd793(0x1c7)]&&process[_0x1fd793(0x125)][_0x1fd793(0x33e)],_0x207043=COMMAND_CATEGORIES,_0x19ef14=(_0x4181f6,_0x90acd9)=>_0x2f6188?_0x90acd9(_0x4181f6):_0x4181f6,_0x398f79=new Map();_0x464d1f[_0x1fd793(0x152)](_0x5cf7fb=>{const _0x25c2d6=_0x1fd793;_0x398f79[_0x25c2d6(0x2b8)](_0x5cf7fb[_0x25c2d6(0x321)](),_0x5cf7fb);}),_0x207043[_0x1fd793(0x152)](_0x2746b9=>{const _0x44d2c6=_0x1fd793,_0x244dbf=_0x2746b9[_0x44d2c6(0x1a6)][_0x44d2c6(0x3b0)](_0x151b92=>_0x398f79['get'](_0x151b92)??[]);if(_0x244dbf[_0x44d2c6(0x148)]>0x0){_0x3fa9cc['push'](''),_0x3fa9cc[_0x44d2c6(0x3e9)](_0x19ef14(_0x2746b9['name']+':',_0x2746b9['colorFn']));const _0x4f6c98=_0x244dbf['map'](_0x302044=>{const _0x2296da=_0x44d2c6,_0x611440=_0x5b2cbb[_0x2296da(0x17e)](_0x302044),_0xe3418a=_0x5b2cbb['subcommandDescription'](_0x302044);return _0x5c7711(_0x611440,_0xe3418a);});_0x3fa9cc[_0x44d2c6(0x3e9)](_0x3f1091(_0x4f6c98));}}),_0x3fa9cc['push'](''),_0x3fa9cc['push']('Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22');}else{const _0x10d286=_0x464d1f[_0x1fd793(0x3b9)](_0x2d949e=>{const _0x30fd50=_0x5b2cbb['subcommandTerm'](_0x2d949e),_0x423b00=_0x5b2cbb['subcommandDescription'](_0x2d949e);return _0x5c7711(_0x30fd50,_0x423b00);});_0x3fa9cc[_0x1fd793(0x3e9)](''),_0x3fa9cc[_0x1fd793(0x3e9)](_0x1fd793(0x403)),_0x3fa9cc[_0x1fd793(0x3e9)](_0x3f1091(_0x10d286));}}if(showBriefHelp&&_0x33acc3[_0x1fd793(0x321)]()===_0x1fd793(0xff))_0x3fa9cc[_0x1fd793(0x3e9)](''),_0x3fa9cc['push'](_0x1fd793(0x324));else{const _0x1c7c1c=_0x33acc3[_0x1fd793(0x266)][_0x1fd793(0x391)](_0x412af5=>!_0x1032cc(_0x412af5));if(_0x1c7c1c[_0x1fd793(0x148)]>0x0){const _0xe9a38d=_0x1c7c1c[_0x1fd793(0x3b9)](_0x14a0c8=>{const _0x3f2b42=_0x1fd793,_0x2f7c3f=_0x5b2cbb[_0x3f2b42(0x289)](_0x14a0c8),_0x642c08=_0x5b2cbb[_0x3f2b42(0x175)](_0x14a0c8);return _0x5c7711(_0x2f7c3f,_0x642c08);});_0x3fa9cc[_0x1fd793(0x3e9)](''),_0x3fa9cc[_0x1fd793(0x3e9)](_0x1fd793(0x1c1)),_0x3fa9cc[_0x1fd793(0x3e9)](_0x3f1091(_0xe9a38d));}}const _0x23e659=(_0x33acc3[_0x1fd793(0x309)]||[])['filter'](_0x3148ed=>!_0x1032cc(_0x3148ed));if(_0x23e659[_0x1fd793(0x148)]>0x0){const _0x4451b3=_0x23e659[_0x1fd793(0x3b9)](_0x72053c=>{const _0x820735=_0x1fd793,_0x1a5554=_0x5b2cbb[_0x820735(0xe3)](_0x72053c),_0x256501=_0x5b2cbb[_0x820735(0xf2)](_0x72053c);return _0x5c7711(_0x1a5554,_0x256501);});_0x3fa9cc[_0x1fd793(0x3e9)](''),_0x3fa9cc[_0x1fd793(0x3e9)](_0x1fd793(0x1ca)),_0x3fa9cc[_0x1fd793(0x3e9)](_0x3f1091(_0x4451b3));}return _0x3fa9cc[_0x1fd793(0x200)]('\x0a')+'\x0a';},'subcommandTerm':_0x3f636b=>{const _0x2d4002=a2_0x9f465f,_0x9633a8=(_0x3f636b['registeredArguments']||[])[_0x2d4002(0x3b9)](_0x10024b=>_0x10024b[_0x2d4002(0x1f8)]?'<'+_0x10024b[_0x2d4002(0x321)]()+'>':'['+_0x10024b[_0x2d4002(0x321)]()+']')[_0x2d4002(0x200)]('\x20'),_0x265685=_0x3f636b[_0x2d4002(0x235)](),_0x2759c2=_0x265685[_0x2d4002(0x148)]>0x0?_0x3f636b[_0x2d4002(0x321)]()+',\x20'+_0x265685[_0x2d4002(0x200)](',\x20'):_0x3f636b[_0x2d4002(0x321)]();return _0x9633a8?_0x2759c2+'\x20'+_0x9633a8:_0x2759c2;}}),program[a2_0x9f465f(0x29a)](a2_0x9f465f(0x13d),_0x227faf=>{const _0x1f3ea4=a2_0x9f465f,_0x2904e5=_0x227faf['opts']();if(_0x2904e5['directory']){const _0x3ff650=resolve(_0x2904e5[_0x1f3ea4(0x251)]),_0x51bef0=_0x3ff650!==_0x2904e5[_0x1f3ea4(0x251)]?'\x20(resolved\x20to\x20'+_0x3ff650+')':'';if(!existsSync(_0x3ff650))throw new SDKError(ErrorCode[_0x1f3ea4(0x2b2)],_0x1f3ea4(0x3ea)+_0x2904e5['directory']+_0x51bef0,undefined,{'helpText':_0x1f3ea4(0x412)});const _0x111d29=statSync(_0x3ff650);if(!_0x111d29[_0x1f3ea4(0x2c5)]())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x1f3ea4(0x342)+_0x2904e5[_0x1f3ea4(0x251)]+_0x51bef0,undefined,{'helpText':_0x1f3ea4(0x14a)});process['chdir'](_0x3ff650);}if(!_0x2904e5[_0x1f3ea4(0x134)]){if(_0x2904e5[_0x1f3ea4(0x3ff)])_0x2904e5['format']=_0x1f3ea4(0x3ff);else{if(_0x2904e5[_0x1f3ea4(0x275)])_0x2904e5[_0x1f3ea4(0x134)]=_0x1f3ea4(0x275);else{if(_0x2904e5[_0x1f3ea4(0x228)])_0x2904e5[_0x1f3ea4(0x134)]='jsonl';else _0x2904e5[_0x1f3ea4(0x38e)]&&(_0x2904e5['format']=_0x1f3ea4(0x38e));}}}if(_0x2904e5[_0x1f3ea4(0x374)])_0x2904e5[_0x1f3ea4(0x25b)]=LogLevel[_0x1f3ea4(0x38f)];else{if(_0x2904e5[_0x1f3ea4(0x262)])_0x2904e5[_0x1f3ea4(0x25b)]=LogLevel['DEBUG'];else _0x2904e5[_0x1f3ea4(0x25b)]===undefined&&(_0x2904e5[_0x1f3ea4(0x25b)]=LogLevel[_0x1f3ea4(0xe2)]);}});async function createTDXInstance(_0x599f4c){const _0x5c36a1=a2_0x9f465f,_0x3e85fe=await GlobalContext['createAsync'](_0x599f4c);_0x3e85fe['injectIntoOptions'](_0x599f4c);const _0x1e85d2=Number(_0x599f4c[_0x5c36a1(0x1b2)]),_0x468968=!isNaN(_0x1e85d2)&&_0x1e85d2>0x0?_0x1e85d2*0x3e8:undefined;return TDX[_0x5c36a1(0x20f)]({'site':_0x3e85fe[_0x5c36a1(0xe7)],'apiKey':_0x3e85fe[_0x5c36a1(0x18d)],'accessToken':_0x3e85fe[_0x5c36a1(0x240)],'logLevel':_0x3e85fe[_0x5c36a1(0x25b)],'profile':_0x3e85fe[_0x5c36a1(0x312)],'timeout':_0x468968});}const databaseCmd=program['command'](a2_0x9f465f(0x386))[a2_0x9f465f(0x3e2)]('db')['description'](a2_0x9f465f(0x40c)),databaseListAction=async(_0x5670ef,_0x4ee37f)=>{const _0x18d6a0=a2_0x9f465f,_0x1dc76c=new DatabasesCommand(),_0x2b04e7=program[_0x18d6a0(0x2b4)](),_0x37f550=await createTDXInstance(_0x2b04e7),_0x196bf9=await _0x1dc76c[_0x18d6a0(0x384)]({'options':{..._0x2b04e7,..._0x4ee37f},'args':_0x5670ef?[_0x5670ef]:[],'tdx':_0x37f550});gracefulExit(_0x196bf9);};databaseCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x380))['description'](a2_0x9f465f(0x254))[a2_0x9f465f(0x166)](databaseListAction),program[a2_0x9f465f(0x158)](a2_0x9f465f(0x1e2),{'hidden':!![]})['description'](a2_0x9f465f(0x37f))[a2_0x9f465f(0x166)](databaseListAction),program[a2_0x9f465f(0x158)](a2_0x9f465f(0x371))[a2_0x9f465f(0x207)](a2_0x9f465f(0x3a1))['option'](a2_0x9f465f(0x274),a2_0x9f465f(0x33d))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x110),'Start\x20a\x20new\x20chat\x20session')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2bb),a2_0x9f465f(0x2cd))[a2_0x9f465f(0x23e)]('--stream',a2_0x9f465f(0x2d6))[a2_0x9f465f(0x166)](async(_0x46ead3,_0x2b91b7)=>{const _0x16244e=a2_0x9f465f,_0x44fe47=program[_0x16244e(0x2b4)](),_0x4258ea=await createTDXInstance(_0x44fe47);if(_0x46ead3[0x0]===_0x16244e(0x20f)){const _0x28d853=new ChatCreateCommand();gracefulExit(await _0x28d853['run']({'options':{..._0x44fe47,..._0x2b91b7},'args':_0x46ead3[_0x16244e(0x3ae)](0x1),'tdx':_0x4258ea}));return;}const _0x2ffa61=new ChatCommand(),_0x1d66f3=await _0x2ffa61['run']({'options':{..._0x44fe47,..._0x2b91b7},'args':_0x46ead3,'tdx':_0x4258ea});gracefulExit(_0x1d66f3);});const apiCmd=program[a2_0x9f465f(0x158)](a2_0x9f465f(0x2ac))[a2_0x9f465f(0x410)]('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs')['addHelpText']('after','\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x28b),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a2_0x9f465f(0x31b))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x223),a2_0x9f465f(0x35e))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x36e),a2_0x9f465f(0x1f3))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x245),'Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x2e99b8,_0x4d9e5d)=>{return _0x4d9e5d?[..._0x4d9e5d,_0x2e99b8]:[_0x2e99b8];})['option'](a2_0x9f465f(0x215),a2_0x9f465f(0xfc),'td')['action'](async(_0x460892,_0x2a9bc6)=>{const _0x36a6b6=a2_0x9f465f;if(!_0x460892){apiCmd['help']();return;}const _0x5cec7b=new ApiCommand(),_0x1f4159=program[_0x36a6b6(0x2b4)](),_0x56aa15=await createTDXInstance(_0x1f4159),_0x546b15=await _0x5cec7b[_0x36a6b6(0x384)]({'options':{..._0x1f4159,..._0x2a9bc6},'args':[_0x460892],'tdx':_0x56aa15});gracefulExit(_0x546b15);});program[a2_0x9f465f(0x158)]('mcp')[a2_0x9f465f(0x207)](a2_0x9f465f(0x136))[a2_0x9f465f(0x3af)](a2_0x9f465f(0x21c),a2_0x9f465f(0x171))['action'](async _0xf0c410=>{const _0x2da423=a2_0x9f465f,_0x14fb1b=new MCPCommand(),_0x2b9842=program['opts'](),_0x11ebdb=await createTDXInstance(_0x2b9842),_0x5cd5d1=await _0x14fb1b[_0x2da423(0x384)]({'options':{..._0x2b9842,..._0xf0c410},'args':[],'tdx':_0x11ebdb});gracefulExit(_0x5cd5d1);});const tableCmd=program[a2_0x9f465f(0x158)](a2_0x9f465f(0x3ff))['description']('Table\x20management\x20commands'),tableListAction=async(_0x3f7ff9,_0x49216b)=>{const _0x4dfa2e=a2_0x9f465f,_0x2e7b36=new TablesCommand(),_0x4d2d4d=program[_0x4dfa2e(0x2b4)](),_0x2b7ef6=await createTDXInstance(_0x4d2d4d);_0x49216b['in']&&(_0x49216b['database']=_0x49216b['in']);const _0x1c6774=await _0x2e7b36[_0x4dfa2e(0x384)]({'options':{..._0x4d2d4d,..._0x49216b},'args':_0x3f7ff9?[_0x3f7ff9]:[],'tdx':_0x2b7ef6});gracefulExit(_0x1c6774);};tableCmd['command'](a2_0x9f465f(0x380))[a2_0x9f465f(0x207)](a2_0x9f465f(0x263))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3f8),a2_0x9f465f(0x189))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x115),a2_0x9f465f(0x2c8))[a2_0x9f465f(0x166)](tableListAction),program['command'](a2_0x9f465f(0x22a),{'hidden':!![]})['description'](a2_0x9f465f(0x20a))[a2_0x9f465f(0x23e)]('-d,\x20--database\x20<database>',a2_0x9f465f(0x189))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x115),a2_0x9f465f(0x2c8))['action'](tableListAction),program['command'](a2_0x9f465f(0x23a))[a2_0x9f465f(0x207)](a2_0x9f465f(0x2af))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3f8),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x115),a2_0x9f465f(0x2c8))[a2_0x9f465f(0x166)](async(_0x5a9c47,_0x36283b)=>{const _0x215434=a2_0x9f465f,_0x6a2c36=new ShowCommand(),_0x5281ec=program['opts'](),_0x2097d5=await createTDXInstance(_0x5281ec);_0x36283b['in']&&(_0x36283b[_0x215434(0x386)]=_0x36283b['in']);const _0x10bd0c=await _0x6a2c36[_0x215434(0x384)]({'options':{..._0x5281ec,..._0x36283b},'args':_0x5a9c47?[_0x5a9c47]:[],'tdx':_0x2097d5});gracefulExit(_0x10bd0c);}),program[a2_0x9f465f(0x158)](a2_0x9f465f(0x1d2))[a2_0x9f465f(0x3e2)]('desc')[a2_0x9f465f(0x207)]('Describe\x20table\x20schema')['option']('-d,\x20--database\x20<database>',a2_0x9f465f(0x39f))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x115),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](async(_0x2650ae,_0xe02481)=>{const _0x459d91=a2_0x9f465f,_0x1c3e46=new DescribeCommand(),_0x7d6082=program[_0x459d91(0x2b4)](),_0x426f02=await createTDXInstance(_0x7d6082);_0xe02481['in']&&(_0xe02481[_0x459d91(0x386)]=_0xe02481['in']);const _0x3ff8bf=await _0x1c3e46[_0x459d91(0x384)]({'options':{..._0x7d6082,..._0xe02481},'args':_0x2650ae?[_0x2650ae]:[],'tdx':_0x426f02});gracefulExit(_0x3ff8bf);}),program[a2_0x9f465f(0x158)](a2_0x9f465f(0x3cb))[a2_0x9f465f(0x207)]('Run\x20Trino\x20query\x20with\x20streaming\x20results')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3f8),'Database\x20to\x20query\x20(default:\x20information_schema)')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x115),a2_0x9f465f(0x2c8))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x1b3),'Trino\x20catalog\x20(default:\x20td)')['option'](a2_0x9f465f(0x36e),a2_0x9f465f(0x1e4))['option']('--limit\x20<rows>',a2_0x9f465f(0x3be))[a2_0x9f465f(0x166)](async(_0x281258,_0x2005a1)=>{const _0x24312f=a2_0x9f465f,_0xfd1753=new QueryCommand(),_0x5965bf=program[_0x24312f(0x2b4)](),_0xba01c7=await createTDXInstance(_0x5965bf);_0x2005a1['in']&&(_0x2005a1[_0x24312f(0x386)]=_0x2005a1['in']);const _0x543306=await _0xfd1753[_0x24312f(0x384)]({'options':mergeCommandOptions(_0x5965bf,_0x2005a1),'args':_0x281258?[_0x281258]:[],'tdx':_0xba01c7});gracefulExit(_0x543306);});const segmentCmd=program[a2_0x9f465f(0x158)](a2_0x9f465f(0x297))[a2_0x9f465f(0x3e2)]('sg')[a2_0x9f465f(0x207)](a2_0x9f465f(0x199)),segmentListAction=async(_0x1a6700,_0x238bd6)=>{const _0x2d9954=a2_0x9f465f,_0x47a8f4=new SegmentsCommand(),_0x3551ee=program[_0x2d9954(0x2b4)](),_0x5d8a85=await createTDXInstance(_0x3551ee),_0x2b510f=await _0x47a8f4[_0x2d9954(0x384)]({'options':{..._0x3551ee,..._0x238bd6},'args':_0x1a6700?[_0x1a6700]:[],'tdx':_0x5d8a85});gracefulExit(_0x2b510f);};segmentCmd['command'](a2_0x9f465f(0x1c6))['description'](a2_0x9f465f(0x3ba))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3a9),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x9f465f(0x23e)]('--max-depth\x20<depth>',a2_0x9f465f(0x180),'10')[a2_0x9f465f(0x166)](segmentListAction),program[a2_0x9f465f(0x158)]('segments\x20[path]',{'hidden':!![]})[a2_0x9f465f(0x207)](a2_0x9f465f(0x38c))[a2_0x9f465f(0x23e)]('-r,\x20--recursive','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')['option'](a2_0x9f465f(0x3e7),a2_0x9f465f(0x180),'10')[a2_0x9f465f(0x166)](segmentListAction),segmentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x23b),{'hidden':!![]})['description'](a2_0x9f465f(0x335))[a2_0x9f465f(0x166)](async(_0x434e85,_0x489da4)=>{const _0x21eafd=a2_0x9f465f,_0x221864=new SegmentUseCommand(),_0x5711d8=program[_0x21eafd(0x2b4)](),_0x5c1e15=await createTDXInstance(_0x5711d8),_0x57b48b=await _0x221864[_0x21eafd(0x384)]({'options':{..._0x5711d8,..._0x489da4},'args':[_0x434e85],'tdx':_0x5c1e15});gracefulExit(_0x57b48b);});const segmentViewAction=async(_0x5340cc,_0xd08f1a)=>{const _0x312f65=a2_0x9f465f,_0x255764=new SegmentViewCommand(),_0x49f7d8=program['opts'](),_0x422dd3=await createTDXInstance(_0x49f7d8),_0x556fa7=await _0x255764[_0x312f65(0x384)]({'options':{..._0x49f7d8,..._0xd08f1a},'args':_0x5340cc?[_0x5340cc]:[],'tdx':_0x422dd3});gracefulExit(_0x556fa7);};segmentCmd['command'](a2_0x9f465f(0x24a))['description'](a2_0x9f465f(0x26a))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x12f),a2_0x9f465f(0x131))[a2_0x9f465f(0x166)](segmentViewAction),segmentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x333),{'hidden':!![]})['alias'](a2_0x9f465f(0x11b))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x12f),a2_0x9f465f(0x131))['description'](a2_0x9f465f(0x142))[a2_0x9f465f(0x166)](segmentViewAction),segmentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x26b))[a2_0x9f465f(0x207)](a2_0x9f465f(0x107))[a2_0x9f465f(0x166)](async(_0x256f83,_0x4510e2)=>{const _0x5495bf=a2_0x9f465f,_0x16f7c0=new SegmentDescCommand(),_0x26d1c7=program['opts'](),_0x504f1c=await createTDXInstance(_0x26d1c7),_0x27a6c4=await _0x16f7c0[_0x5495bf(0x384)]({'options':{..._0x26d1c7,..._0x4510e2},'args':_0x256f83?[_0x256f83]:[],'tdx':_0x504f1c});gracefulExit(_0x27a6c4);}),segmentCmd[a2_0x9f465f(0x158)]('show\x20[segment_name]')[a2_0x9f465f(0x207)](a2_0x9f465f(0x319))['action'](async(_0x50b7f5,_0x1213cd)=>{const _0xa91187=a2_0x9f465f,_0x4ff48b=new SegmentShowCommand(),_0x466e85=program['opts'](),_0x46e706=await createTDXInstance(_0x466e85),_0x2be251=await _0x4ff48b[_0xa91187(0x384)]({'options':{..._0x466e85,..._0x1213cd},'args':_0x50b7f5?[_0x50b7f5]:[],'tdx':_0x46e706});gracefulExit(_0x2be251);}),segmentCmd['command'](a2_0x9f465f(0x211),{'hidden':!![]})[a2_0x9f465f(0x207)](a2_0x9f465f(0x320))['action'](async(_0x48c492,_0x24cb30)=>{const _0xf85fb7=a2_0x9f465f,_0x14d242=new SegmentFolderListCommand(),_0x4e2f01=program[_0xf85fb7(0x2b4)](),_0x1184ff=await createTDXInstance(_0x4e2f01),_0x59ed10=await _0x14d242['run']({'options':{..._0x4e2f01,..._0x24cb30},'args':[_0x48c492],'tdx':_0x1184ff});gracefulExit(_0x59ed10);});const folderCmd=segmentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x3b4),{'hidden':!![]})[a2_0x9f465f(0x207)](a2_0x9f465f(0x34c));folderCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x2d3))[a2_0x9f465f(0x207)](a2_0x9f465f(0x17c))[a2_0x9f465f(0x166)](async(_0x2f7952,_0x1b47c9)=>{const _0xe08ee3=a2_0x9f465f,_0x3524ca=new SegmentFolderShowCommand(),_0x495ab2=program[_0xe08ee3(0x2b4)](),_0x21495c=await createTDXInstance(_0x495ab2),_0x2b1b09=await _0x3524ca[_0xe08ee3(0x384)]({'options':{..._0x495ab2,..._0x1b47c9},'args':[_0x2f7952],'tdx':_0x21495c});gracefulExit(_0x2b1b09);}),segmentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x256))[a2_0x9f465f(0x207)]('Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)')['option']('--path\x20<file-path>','YAML\x20file\x20path\x20for\x20unpushed\x20segment')[a2_0x9f465f(0x166)](async(_0x17f6f0,_0x3d6fe6)=>{const _0xdc5a08=a2_0x9f465f,_0x5b8ffa=new SegmentSQLCommand(),_0x5e4e0d=program[_0xdc5a08(0x2b4)](),_0x2d2865=await createTDXInstance(_0x5e4e0d),_0x1a7e38=await _0x5b8ffa[_0xdc5a08(0x384)]({'options':{..._0x5e4e0d,..._0x3d6fe6},'args':_0x17f6f0?[_0x17f6f0]:[],'tdx':_0x2d2865});gracefulExit(_0x1a7e38);}),segmentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x351))[a2_0x9f465f(0x207)](a2_0x9f465f(0x257))[a2_0x9f465f(0x166)](async(_0x25754e,_0x47e897)=>{const _0x48899f=a2_0x9f465f,_0x4e7657=new SegmentFieldsCommand(),_0x2608e0=program[_0x48899f(0x2b4)](),_0x55f54a=await createTDXInstance(_0x2608e0),_0x164673=await _0x4e7657[_0x48899f(0x384)]({'options':{..._0x2608e0,..._0x47e897},'args':_0x25754e?[_0x25754e]:[],'tdx':_0x55f54a});gracefulExit(_0x164673);}),segmentCmd[a2_0x9f465f(0x158)]('pull\x20[parent_or_file]')[a2_0x9f465f(0x207)](a2_0x9f465f(0x366))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x31d),a2_0x9f465f(0x3a5))[a2_0x9f465f(0x166)](async(_0x4ab643,_0x43a3b9)=>{const _0x35fb0e=a2_0x9f465f,_0x4d4499=new SegmentPullCommand(),_0x303ff7=program[_0x35fb0e(0x2b4)](),_0x20dc00=await createTDXInstance(_0x303ff7),_0x54f4b1=await _0x4d4499['run']({'options':{..._0x303ff7,..._0x43a3b9},'args':_0x4ab643?[_0x4ab643]:[],'tdx':_0x20dc00});gracefulExit(_0x54f4b1);}),segmentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x1bb))[a2_0x9f465f(0x207)]('Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x31d),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x9f465f(0x23e)](a2_0x9f465f(0xf6),'Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)')[a2_0x9f465f(0x166)](async(_0x3b5dd4,_0xc17bf9)=>{const _0x3a0378=a2_0x9f465f,_0x380846=new SegmentPushCommand(),_0x18bb99=program[_0x3a0378(0x2b4)](),_0xb586d3=await createTDXInstance(_0x18bb99),_0x4a5105=await _0x380846['run']({'options':{..._0x18bb99,..._0xc17bf9},'args':_0x3b5dd4?[_0x3b5dd4]:[],'tdx':_0xb586d3});gracefulExit(_0x4a5105);}),segmentCmd[a2_0x9f465f(0x158)]('validate\x20[target]')[a2_0x9f465f(0x207)](a2_0x9f465f(0x1d0))[a2_0x9f465f(0x166)](async(_0x34e342,_0x25fd18)=>{const _0x1631c2=a2_0x9f465f,_0x271979=new SegmentValidateCommand(),_0x2471bd=program['opts'](),_0x1d52b8=await createTDXInstance(_0x2471bd),_0x5b247b=await _0x271979[_0x1631c2(0x384)]({'options':{..._0x2471bd,..._0x25fd18},'args':_0x34e342?[_0x34e342]:[],'tdx':_0x1d52b8});gracefulExit(_0x5b247b);}),segmentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x383),{'hidden':!![]})['description'](a2_0x9f465f(0x390))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2ff),a2_0x9f465f(0x1a3))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x264),a2_0x9f465f(0x18c))['option']('--rule-file\x20<file>','Filtering\x20rule\x20from\x20JSON\x20file')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x21d),a2_0x9f465f(0x2f5))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x194),a2_0x9f465f(0x406))['option'](a2_0x9f465f(0x13e),a2_0x9f465f(0xfa))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x1a7),'Skip\x20population\x20counting')['action'](async(_0x487b58,_0x1e426b)=>{const _0xe47184=a2_0x9f465f,_0x6168fc=new SegmentCreateCommand(),_0x25fd69=program[_0xe47184(0x2b4)](),_0x45972e=await createTDXInstance(_0x25fd69),_0x2e3ec4=await _0x6168fc[_0xe47184(0x384)]({'options':{..._0x25fd69,..._0x1e426b},'args':[_0x487b58],'tdx':_0x45972e});gracefulExit(_0x2e3ec4);}),segmentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x2bd),{'hidden':!![]})[a2_0x9f465f(0x207)](a2_0x9f465f(0x10b))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x22c),a2_0x9f465f(0x2e5))['option']('--description\x20<text>','Updated\x20description')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x264),a2_0x9f465f(0x31f))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x281),'Updated\x20filtering\x20rule\x20from\x20JSON\x20file')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x21d),a2_0x9f465f(0x161))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x194),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x9f465f(0x166)](async(_0x2f70b7,_0x246f03)=>{const _0x35a53c=a2_0x9f465f,_0x23d04c=new SegmentUpdateCommand(),_0x1fefba=program['opts'](),_0x2ef762=await createTDXInstance(_0x1fefba),_0x430c44=await _0x23d04c[_0x35a53c(0x384)]({'options':{..._0x1fefba,..._0x246f03},'args':[_0x2f70b7],'tdx':_0x2ef762});gracefulExit(_0x430c44);});const parentCmd=segmentCmd['command'](a2_0x9f465f(0x2ab),{'hidden':!![]})[a2_0x9f465f(0x207)](a2_0x9f465f(0x112)),parentListAction=async(_0x5641b4,_0x8f4b7e)=>{const _0x4ecd23=a2_0x9f465f,_0x26c198=new ParentSegmentListCommand(),_0x4ebb9c=program[_0x4ecd23(0x2b4)](),_0x3480b7=await createTDXInstance(_0x4ebb9c),_0x258c31=await _0x26c198[_0x4ecd23(0x384)]({'options':{..._0x4ebb9c,..._0x8f4b7e},'args':_0x5641b4?[_0x5641b4]:[],'tdx':_0x3480b7});gracefulExit(_0x258c31);};parentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x380))[a2_0x9f465f(0x207)](a2_0x9f465f(0x388))[a2_0x9f465f(0x166)](parentListAction),segmentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x1a5),{'hidden':!![]})['description'](a2_0x9f465f(0x23c))[a2_0x9f465f(0x166)](parentListAction),parentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x1ac))[a2_0x9f465f(0x207)](a2_0x9f465f(0x2ef))[a2_0x9f465f(0x23e)]('-o,\x20--output\x20<file>','Output\x20file\x20path\x20(default:\x20<name>.yml)')['action'](async(_0x33124d,_0x22983c)=>{const _0x12fd43=a2_0x9f465f,_0x5daab9=new ParentSegmentPullCommand(),_0x484851=program[_0x12fd43(0x2b4)](),_0x194f73=await createTDXInstance(_0x484851),_0x1b7101=await _0x5daab9['run']({'options':{..._0x484851,..._0x22983c},'args':_0x33124d?[_0x33124d]:[],'tdx':_0x194f73});gracefulExit(_0x1b7101);}),parentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x28c))[a2_0x9f465f(0x207)](a2_0x9f465f(0x121))['action'](async(_0x2b73af,_0x1ff84f)=>{const _0x2c08d6=a2_0x9f465f,_0x3f0062=new ParentSegmentPushCommand(),_0x425cc9=program[_0x2c08d6(0x2b4)](),_0x34b8e9=await createTDXInstance(_0x425cc9),_0x4c24f2=await _0x3f0062[_0x2c08d6(0x384)]({'options':{..._0x425cc9,..._0x1ff84f},'args':_0x2b73af?[_0x2b73af]:[],'tdx':_0x34b8e9});gracefulExit(_0x4c24f2);}),parentCmd['command'](a2_0x9f465f(0x1a0))[a2_0x9f465f(0x207)](a2_0x9f465f(0x39e))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3d7),a2_0x9f465f(0x2e0))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2a6),a2_0x9f465f(0x3e1))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x22d),a2_0x9f465f(0x28a))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x162),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x293),a2_0x9f465f(0x1ba),a2_0x9f465f(0x33a))[a2_0x9f465f(0x166)](async(_0x4582cd,_0x5a7998)=>{const _0x3b2a77=a2_0x9f465f,_0x2cb927=new ParentSegmentValidateCommand(),_0x7bbd22=program[_0x3b2a77(0x2b4)](),_0x54088a=await createTDXInstance(_0x7bbd22),_0x2ff0cf=await _0x2cb927[_0x3b2a77(0x384)]({'options':{..._0x7bbd22,..._0x5a7998},'args':_0x4582cd?[_0x4582cd]:[],'tdx':_0x54088a});gracefulExit(_0x2ff0cf);}),parentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0xe6))['description']('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')['option'](a2_0x9f465f(0x3d7),a2_0x9f465f(0x1e3))['option'](a2_0x9f465f(0x2a6),a2_0x9f465f(0x222))[a2_0x9f465f(0x23e)]('--behavior\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')['option'](a2_0x9f465f(0x162),a2_0x9f465f(0xf0))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x293),a2_0x9f465f(0x1ba),'-1d')[a2_0x9f465f(0x166)](async(_0x5c3731,_0x592482)=>{const _0x5cbf3a=a2_0x9f465f,_0x4cfd5d=new ParentSegmentPreviewCommand(),_0x1c0d9d=program[_0x5cbf3a(0x2b4)](),_0x2cfe4a=await createTDXInstance(_0x1c0d9d),_0x1c72f4=await _0x4cfd5d[_0x5cbf3a(0x384)]({'options':{..._0x1c0d9d,..._0x592482},'args':_0x5c3731?[_0x5c3731]:[],'tdx':_0x2cfe4a});gracefulExit(_0x1c72f4);}),parentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x2f8))[a2_0x9f465f(0x207)](a2_0x9f465f(0x350))[a2_0x9f465f(0x166)](async(_0x6bcae0,_0x4db31a)=>{const _0x5a0873=a2_0x9f465f,_0x29ec4b=new ParentSegmentRunCommand(),_0x2ffafe=program[_0x5a0873(0x2b4)](),_0x24b063=await createTDXInstance(_0x2ffafe),_0x1eec53=await _0x29ec4b['run']({'options':{..._0x2ffafe,..._0x4db31a},'args':_0x6bcae0?[_0x6bcae0]:[],'tdx':_0x24b063});gracefulExit(_0x1eec53);});const parentSegmentCmd=program['command']('parent-segment')[a2_0x9f465f(0x3e2)]('ps')[a2_0x9f465f(0x207)](a2_0x9f465f(0x229));parentSegmentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x380))[a2_0x9f465f(0x207)](a2_0x9f465f(0x388))['action'](parentListAction),parentSegmentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x1ac))[a2_0x9f465f(0x207)](a2_0x9f465f(0x341))[a2_0x9f465f(0x23e)]('-o,\x20--output\x20<file>','Output\x20file\x20path')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x16e),'Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')[a2_0x9f465f(0x166)](async(_0x4d4f1b,_0x54c9f3)=>{const _0x59042b=a2_0x9f465f,_0x30a00a=new ParentSegmentPullCommand(),_0x221a07=program[_0x59042b(0x2b4)](),_0x55d526=await createTDXInstance(_0x221a07),_0x4d94cf=await _0x30a00a[_0x59042b(0x384)]({'options':{..._0x221a07,..._0x54c9f3},'args':_0x4d4f1b?[_0x4d4f1b]:[],'tdx':_0x55d526});gracefulExit(_0x4d94cf);}),parentSegmentCmd[a2_0x9f465f(0x158)]('push\x20[name]')[a2_0x9f465f(0x207)](a2_0x9f465f(0x11f))[a2_0x9f465f(0x166)](async(_0x54876d,_0x532341)=>{const _0x4b3ff1=new ParentSegmentPushCommand(),_0xcf6b2f=program['opts'](),_0x3696e1=await createTDXInstance(_0xcf6b2f),_0x23e8f3=await _0x4b3ff1['run']({'options':{..._0xcf6b2f,..._0x532341},'args':_0x54876d?[_0x54876d]:[],'tdx':_0x3696e1});gracefulExit(_0x23e8f3);}),parentSegmentCmd['command'](a2_0x9f465f(0x2ae))[a2_0x9f465f(0x207)](a2_0x9f465f(0x39e))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3d7),'Show\x20only\x20master\x20table\x20validation')['option'](a2_0x9f465f(0x2a6),a2_0x9f465f(0x3e1))[a2_0x9f465f(0x23e)]('--behavior\x20[name]',a2_0x9f465f(0x28a))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x162),a2_0x9f465f(0x163))['option'](a2_0x9f465f(0x293),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x9f465f(0x33a))[a2_0x9f465f(0x166)](async(_0x44a723,_0xb8590)=>{const _0x4412b5=a2_0x9f465f,_0x29314b=new ParentSegmentValidateCommand(),_0x204a77=program[_0x4412b5(0x2b4)](),_0x2bc22d=await createTDXInstance(_0x204a77),_0xe57512=await _0x29314b['run']({'options':{..._0x204a77,..._0xb8590},'args':_0x44a723?[_0x44a723]:[],'tdx':_0x2bc22d});gracefulExit(_0xe57512);}),parentSegmentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x252))[a2_0x9f465f(0x207)](a2_0x9f465f(0x15b))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3d7),a2_0x9f465f(0x1e3))[a2_0x9f465f(0x23e)]('--attribute\x20[name]',a2_0x9f465f(0x222))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x22d),a2_0x9f465f(0x17f))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x162),a2_0x9f465f(0xf0))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x293),a2_0x9f465f(0x1ba),'-1d')[a2_0x9f465f(0x166)](async(_0x30db1d,_0xd6e8a3)=>{const _0x24029c=a2_0x9f465f,_0x23d790=new ParentSegmentPreviewCommand(),_0xf0a0ed=program[_0x24029c(0x2b4)](),_0x1e1f58=await createTDXInstance(_0xf0a0ed),_0x5aec6b=await _0x23d790[_0x24029c(0x384)]({'options':{..._0xf0a0ed,..._0xd6e8a3},'args':_0x30db1d?[_0x30db1d]:[],'tdx':_0x1e1f58});gracefulExit(_0x5aec6b);}),parentSegmentCmd['command'](a2_0x9f465f(0x2f8))['description'](a2_0x9f465f(0x350))[a2_0x9f465f(0x166)](async(_0x407b7c,_0x3ee26c)=>{const _0x3b2cc8=a2_0x9f465f,_0x4cd4c1=new ParentSegmentRunCommand(),_0x2a6117=program[_0x3b2cc8(0x2b4)](),_0xf5466a=await createTDXInstance(_0x2a6117),_0x20be22=await _0x4cd4c1[_0x3b2cc8(0x384)]({'options':{..._0x2a6117,..._0x3ee26c},'args':_0x407b7c?[_0x407b7c]:[],'tdx':_0xf5466a});gracefulExit(_0x20be22);}),parentSegmentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x1f0))[a2_0x9f465f(0x207)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x137),a2_0x9f465f(0x25a))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3e4),a2_0x9f465f(0x1c3))[a2_0x9f465f(0x166)](async(_0x5c3fc3,_0x2f5124)=>{const _0x1214b2=a2_0x9f465f,_0x6d6991=new ParentSegmentFieldsCommand(),_0x1d617d=program['opts'](),_0x404be0=await createTDXInstance(_0x1d617d),_0x51307e=await _0x6d6991[_0x1214b2(0x384)]({'options':{..._0x1d617d,..._0x2f5124},'args':_0x5c3fc3?[_0x5c3fc3]:[],'tdx':_0x404be0});gracefulExit(_0x51307e);}),parentSegmentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x298))[a2_0x9f465f(0x207)](a2_0x9f465f(0x285))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x12f),'Open\x20parent\x20segment\x20in\x20web\x20browser')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x137),a2_0x9f465f(0x25a))[a2_0x9f465f(0x23e)]('--jsonl',a2_0x9f465f(0x1c3))[a2_0x9f465f(0x166)](async(_0x57044a,_0x3981ec)=>{const _0x1e9ac9=a2_0x9f465f,_0x2c41ff=new ParentSegmentViewCommand(),_0x17356f=program['opts'](),_0x55ad73=await createTDXInstance(_0x17356f),_0xc36e92=await _0x2c41ff[_0x1e9ac9(0x384)]({'options':{..._0x17356f,..._0x3981ec},'args':_0x57044a?[_0x57044a]:[],'tdx':_0x55ad73});gracefulExit(_0xc36e92);}),parentSegmentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x34e))['description']('Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x227),'Output\x20file\x20path')['option'](a2_0x9f465f(0x137),a2_0x9f465f(0x25a))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3e4),'Output\x20as\x20JSON\x20Lines')[a2_0x9f465f(0x166)](async(_0x4d2260,_0x579efe)=>{const _0x382518=a2_0x9f465f,_0x1c5761=new ParentSegmentDescCommand(),_0x58da14=program['opts'](),_0x46a3bc=await createTDXInstance(_0x58da14),_0xacc6bb=await _0x1c5761[_0x382518(0x384)]({'options':{..._0x58da14,..._0x579efe},'args':_0x4d2260?[_0x4d2260]:[],'tdx':_0x46a3bc});gracefulExit(_0xacc6bb);}),parentSegmentCmd['command'](a2_0x9f465f(0x243))['description'](a2_0x9f465f(0x401))['option'](a2_0x9f465f(0x137),a2_0x9f465f(0x25a))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3e4),a2_0x9f465f(0x1c3))[a2_0x9f465f(0x166)](async(_0xab1ac8,_0x3c68c4)=>{const _0x48f86a=a2_0x9f465f,_0x85b52c=new ParentSegmentSQLCommand(),_0x23a603=program[_0x48f86a(0x2b4)](),_0x16b782=await createTDXInstance(_0x23a603),_0x4095fd=await _0x85b52c[_0x48f86a(0x384)]({'options':{..._0x23a603,..._0x3c68c4},'args':_0xab1ac8?[_0xab1ac8]:[],'tdx':_0x16b782});gracefulExit(_0x4095fd);}),parentSegmentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x22f))['description']('Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x1e7),'Limit\x20number\x20of\x20rows')[a2_0x9f465f(0x23e)]('--json',a2_0x9f465f(0x25a))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3e4),'Output\x20as\x20JSON\x20Lines')[a2_0x9f465f(0x166)](async(_0x738d01,_0x51a0fd)=>{const _0x179a45=a2_0x9f465f,_0x3fced0=new ParentSegmentShowCommand(),_0x567292=program[_0x179a45(0x2b4)](),_0x319256=await createTDXInstance(_0x567292),_0x168374=await _0x3fced0['run']({'options':{..._0x567292,..._0x51a0fd},'args':_0x738d01?[_0x738d01]:[],'tdx':_0x319256});gracefulExit(_0x168374);}),parentSegmentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x13a))[a2_0x9f465f(0x207)](a2_0x9f465f(0x25c))['action'](async(_0x208f08,_0x49c521)=>{const _0x1afe18=a2_0x9f465f,_0x1ac4d6=new UseCommand(),_0x490020=program[_0x1afe18(0x2b4)](),_0x356518=_0x208f08?['parent_segment',_0x208f08]:[],_0x2f45f8=await _0x1ac4d6[_0x1afe18(0x384)]({'options':{..._0x490020,..._0x49c521},'args':_0x356518,'tdx':null});gracefulExit(_0x2f45f8);});const psRtCmd=parentSegmentCmd['command']('rt')['description'](a2_0x9f465f(0x2c7));psRtCmd['command'](a2_0x9f465f(0x380))[a2_0x9f465f(0x207)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')['action'](async(_0x31ca40,_0x1526bf)=>{const _0x43e383=a2_0x9f465f,_0x520ca8=new PSRtListCommand(),_0x4551de=program[_0x43e383(0x2b4)](),_0x1d4d76=await createTDXInstance(_0x4551de),_0x2b7b59=await _0x520ca8['run']({'options':{..._0x4551de,..._0x1526bf},'args':_0x31ca40?[_0x31ca40]:[],'tdx':_0x1d4d76});gracefulExit(_0x2b7b59);}),psRtCmd['command'](a2_0x9f465f(0x2ae))[a2_0x9f465f(0x207)](a2_0x9f465f(0x15f))[a2_0x9f465f(0x166)](async(_0x5f17ed,_0x5e030f)=>{const _0x573341=a2_0x9f465f,_0x50c36f=new PSRtValidateCommand(),_0x12943a=program[_0x573341(0x2b4)](),_0x5b1635=await createTDXInstance(_0x12943a),_0x396c47=await _0x50c36f[_0x573341(0x384)]({'options':{..._0x12943a,..._0x5e030f},'args':_0x5f17ed?[_0x5f17ed]:[],'tdx':_0x5b1635});gracefulExit(_0x396c47);}),psRtCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x120))[a2_0x9f465f(0x207)](a2_0x9f465f(0x2c2))['action'](async(_0x19bbea,_0x393d4d)=>{const _0x33e654=a2_0x9f465f,_0x47f2eb=new PSRtConfigVersionCommand(),_0x592509=program[_0x33e654(0x2b4)](),_0x4ac78b=await createTDXInstance(_0x592509),_0x37e16d=await _0x47f2eb[_0x33e654(0x384)]({'options':{..._0x592509,..._0x393d4d},'args':_0x19bbea?[_0x19bbea]:[],'tdx':_0x4ac78b});gracefulExit(_0x37e16d);});const psRtJnCmd=psRtCmd[a2_0x9f465f(0x158)]('jn')['description'](a2_0x9f465f(0x31a));psRtJnCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x3f7))[a2_0x9f465f(0x207)](a2_0x9f465f(0x2ce))[a2_0x9f465f(0x166)](async(_0x165dff,_0x324bba)=>{const _0x3cc7ab=a2_0x9f465f,_0x512330=new PSRtJnListCommand(),_0x504364=program['opts'](),_0x4ba9f5=await createTDXInstance(_0x504364),_0x26e19a=await _0x512330[_0x3cc7ab(0x384)]({'options':{..._0x504364,..._0x324bba},'args':_0x165dff?[_0x165dff]:[],'tdx':_0x4ba9f5});gracefulExit(_0x26e19a);}),psRtJnCmd['command'](a2_0x9f465f(0x3b8))['description'](a2_0x9f465f(0x307))['action'](async(_0x106328,_0x1d219)=>{const _0x1f817a=a2_0x9f465f,_0x32bed2=new PSRtJnPauseCommand(),_0x383cdc=program[_0x1f817a(0x2b4)](),_0x2654cb=await createTDXInstance(_0x383cdc),_0x48f983=await _0x32bed2[_0x1f817a(0x384)]({'options':{..._0x383cdc,..._0x1d219},'args':[_0x106328],'tdx':_0x2654cb});gracefulExit(_0x48f983);}),psRtJnCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x24d))[a2_0x9f465f(0x207)](a2_0x9f465f(0x402))[a2_0x9f465f(0x166)](async(_0x506744,_0x37f5ea)=>{const _0x3c2d9f=a2_0x9f465f,_0x3c3044=new PSRtJnResumeCommand(),_0x466b17=program[_0x3c2d9f(0x2b4)](),_0x200e3f=await createTDXInstance(_0x466b17),_0x4a9e01=await _0x3c3044['run']({'options':{..._0x466b17,..._0x37f5ea},'args':[_0x506744],'tdx':_0x200e3f});gracefulExit(_0x4a9e01);});const parentRtCmd=parentCmd[a2_0x9f465f(0x158)]('rt',{'hidden':!![]})[a2_0x9f465f(0x207)](a2_0x9f465f(0x2c7));parentRtCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x380))[a2_0x9f465f(0x207)](a2_0x9f465f(0x3d0))[a2_0x9f465f(0x166)](async(_0x2b6b03,_0x550433)=>{const _0x4ff0cd=a2_0x9f465f,_0x200133=new PSRtListCommand(),_0x2e77af=program[_0x4ff0cd(0x2b4)](),_0x1f7e73=await createTDXInstance(_0x2e77af),_0x534e01=await _0x200133['run']({'options':{..._0x2e77af,..._0x550433},'args':_0x2b6b03?[_0x2b6b03]:[],'tdx':_0x1f7e73});gracefulExit(_0x534e01);}),parentRtCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x2ae))[a2_0x9f465f(0x207)](a2_0x9f465f(0x15f))[a2_0x9f465f(0x166)](async(_0x38e358,_0x374f7e)=>{const _0x4814b7=a2_0x9f465f,_0x44ddd6=new PSRtValidateCommand(),_0x36a032=program[_0x4814b7(0x2b4)](),_0x28dc1e=await createTDXInstance(_0x36a032),_0x591650=await _0x44ddd6['run']({'options':{..._0x36a032,..._0x374f7e},'args':_0x38e358?[_0x38e358]:[],'tdx':_0x28dc1e});gracefulExit(_0x591650);});const psPzCmd=parentSegmentCmd[a2_0x9f465f(0x158)]('pz')[a2_0x9f465f(0x207)](a2_0x9f465f(0x165));psPzCmd['command'](a2_0x9f465f(0x3f7))[a2_0x9f465f(0x207)](a2_0x9f465f(0x214))[a2_0x9f465f(0x166)](async(_0x2e9c03,_0x48928c)=>{const _0x3ae4e2=a2_0x9f465f,_0x43ec4e=new PSPzListCommand(),_0x32c337=program['opts'](),_0x4760eb=await createTDXInstance(_0x32c337),_0x201fa2=await _0x43ec4e[_0x3ae4e2(0x384)]({'options':{..._0x32c337,..._0x48928c},'args':_0x2e9c03?[_0x2e9c03]:[],'tdx':_0x4760eb});gracefulExit(_0x201fa2);}),psPzCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x17d))[a2_0x9f465f(0x207)](a2_0x9f465f(0x40e))[a2_0x9f465f(0x166)](async(_0x91ff68,_0x2b92af)=>{const _0x5e2782=a2_0x9f465f,_0x2c5bcc=new PSPzShowCommand(),_0x4027db=program[_0x5e2782(0x2b4)](),_0x30199a=await createTDXInstance(_0x4027db),_0x4cd337=await _0x2c5bcc[_0x5e2782(0x384)]({'options':{..._0x4027db,..._0x2b92af},'args':[_0x91ff68],'tdx':_0x30199a});gracefulExit(_0x4cd337);}),psPzCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x2d4))[a2_0x9f465f(0x207)](a2_0x9f465f(0x334))[a2_0x9f465f(0x166)](async(_0x2e0a24,_0x1ed2e4)=>{const _0xfac3a2=a2_0x9f465f,_0x52a009=new PSPzDeleteCommand(),_0x3d2b13=program[_0xfac3a2(0x2b4)](),_0x44a35a=await createTDXInstance(_0x3d2b13),_0x35eb9a=await _0x52a009[_0xfac3a2(0x384)]({'options':{..._0x3d2b13,..._0x1ed2e4},'args':[_0x2e0a24],'tdx':_0x44a35a});gracefulExit(_0x35eb9a);}),psPzCmd['command'](a2_0x9f465f(0x20f))['description'](a2_0x9f465f(0x145))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2d0),a2_0x9f465f(0x34a))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2ff),a2_0x9f465f(0x160))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x12d),'Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x1f4),'Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3ad),a2_0x9f465f(0x286))[a2_0x9f465f(0x23e)]('--file\x20<path>',a2_0x9f465f(0x30f))[a2_0x9f465f(0x166)](async _0xbda5ea=>{const _0x2d0d4c=a2_0x9f465f,_0x1291a0=new PSPzCreateCommand(),_0x3117dd=program[_0x2d0d4c(0x2b4)](),_0x1b20a7=await createTDXInstance(_0x3117dd),_0x4562d2=await _0x1291a0[_0x2d0d4c(0x384)]({'options':{..._0x3117dd,..._0xbda5ea},'args':[],'tdx':_0x1b20a7});gracefulExit(_0x4562d2);}),psPzCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x239))['description'](a2_0x9f465f(0x399))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2d0),a2_0x9f465f(0x34a))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2ff),a2_0x9f465f(0x160))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3ad),a2_0x9f465f(0x286))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x217),a2_0x9f465f(0x30f))[a2_0x9f465f(0x166)](async(_0x18c39c,_0x563667)=>{const _0x48aa03=a2_0x9f465f,_0x24693c=new PSPzPatchCommand(),_0xc713a5=program[_0x48aa03(0x2b4)](),_0x26a989=await createTDXInstance(_0xc713a5),_0x63bbcb=await _0x24693c[_0x48aa03(0x384)]({'options':{..._0xc713a5,..._0x563667},'args':[_0x18c39c],'tdx':_0x26a989});gracefulExit(_0x63bbcb);});const psPzServiceCmd=psPzCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x1bf))[a2_0x9f465f(0x207)]('Personalization\x20service\x20management');psPzServiceCmd[a2_0x9f465f(0x158)]('list\x20[name]')[a2_0x9f465f(0x207)](a2_0x9f465f(0x32f))['action'](async(_0x108d68,_0x2c1944)=>{const _0x2157db=a2_0x9f465f,_0x571cdc=new PSPzServiceListCommand(),_0x3219d1=program[_0x2157db(0x2b4)](),_0x50378b=await createTDXInstance(_0x3219d1),_0x15a1cd=await _0x571cdc[_0x2157db(0x384)]({'options':{..._0x3219d1,..._0x2c1944},'args':_0x108d68?[_0x108d68]:[],'tdx':_0x50378b});gracefulExit(_0x15a1cd);}),psPzServiceCmd['command']('create\x20<name>\x20[parent_segment]')[a2_0x9f465f(0x207)](a2_0x9f465f(0xfb))['option'](a2_0x9f465f(0x2ff),a2_0x9f465f(0x154))['option'](a2_0x9f465f(0x31c),'Make\x20service\x20public\x20(default:\x20private)')['action'](async(_0x46d177,_0x152c40,_0x244637)=>{const _0x506e03=a2_0x9f465f,_0x35a750=new PSPzServiceCreateCommand(),_0xfb2e83=program[_0x506e03(0x2b4)](),_0x29b4d5=await createTDXInstance(_0xfb2e83),_0x1f563a=await _0x35a750[_0x506e03(0x384)]({'options':{..._0xfb2e83,..._0x244637},'args':_0x152c40?[_0x46d177,_0x152c40]:[_0x46d177],'tdx':_0x29b4d5});gracefulExit(_0x1f563a);}),psPzServiceCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x35c))[a2_0x9f465f(0x207)](a2_0x9f465f(0x20d))['action'](async(_0x4319f1,_0x1d8b57,_0x106609)=>{const _0x5e3950=a2_0x9f465f,_0x32cc0f=new PSPzServiceShowCommand(),_0x26aa0c=program[_0x5e3950(0x2b4)](),_0x5086d8=await createTDXInstance(_0x26aa0c),_0x533e35=await _0x32cc0f[_0x5e3950(0x384)]({'options':{..._0x26aa0c,..._0x106609},'args':_0x1d8b57?[_0x4319f1,_0x1d8b57]:[_0x4319f1],'tdx':_0x5086d8});gracefulExit(_0x533e35);}),psPzServiceCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x2c0))[a2_0x9f465f(0x207)](a2_0x9f465f(0x408))['action'](async(_0x543135,_0x2437eb,_0x4184ac)=>{const _0x375030=a2_0x9f465f,_0x3546cc=new PSPzServiceDeleteCommand(),_0x2b844f=program[_0x375030(0x2b4)](),_0x2a4e38=await createTDXInstance(_0x2b844f),_0x3d9854=await _0x3546cc[_0x375030(0x384)]({'options':{..._0x2b844f,..._0x4184ac},'args':_0x2437eb?[_0x543135,_0x2437eb]:[_0x543135],'tdx':_0x2a4e38});gracefulExit(_0x3d9854);}),psPzServiceCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x32b))[a2_0x9f465f(0x207)]('Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x9f465f(0x29e)]('--name\x20<name>','New\x20service\x20name')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2ff),a2_0x9f465f(0x2a5))[a2_0x9f465f(0x166)](async(_0xf50ed8,_0x17a8b0,_0x5ca5bd)=>{const _0x484c45=a2_0x9f465f,_0x296a91=new PSPzServiceUpdateCommand(),_0x32e674=program[_0x484c45(0x2b4)](),_0x34ccdb=await createTDXInstance(_0x32e674),_0x5c1a8e=await _0x296a91['run']({'options':{..._0x32e674,..._0x5ca5bd},'args':_0x17a8b0?[_0xf50ed8,_0x17a8b0]:[_0xf50ed8],'tdx':_0x34ccdb});gracefulExit(_0x5c1a8e);}),psPzServiceCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x209))[a2_0x9f465f(0x207)](a2_0x9f465f(0x27f))[a2_0x9f465f(0x166)](async(_0x3e5443,_0x5731b3)=>{const _0x5e48d9=a2_0x9f465f,_0x5ba906=new PSPzInitCommand(),_0x517f62=program['opts'](),_0x33cb7d=await createTDXInstance(_0x517f62),_0x39438c=await _0x5ba906[_0x5e48d9(0x384)]({'options':{..._0x517f62,..._0x5731b3},'args':_0x3e5443?[_0x3e5443]:[],'tdx':_0x33cb7d});gracefulExit(_0x39438c);});const psPzServiceTokenCmd=psPzServiceCmd['command'](a2_0x9f465f(0x15c))['description'](a2_0x9f465f(0x156));psPzServiceTokenCmd['command'](a2_0x9f465f(0x261))[a2_0x9f465f(0x207)](a2_0x9f465f(0x2ca))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x40a),a2_0x9f465f(0x306))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2ff),a2_0x9f465f(0x105))[a2_0x9f465f(0x166)](async(_0x3acb16,_0xbca431,_0x9742eb,_0x22249b)=>{const _0x17367f=a2_0x9f465f,_0x1b61fe=new PSPzServiceTokenCreateCommand(),_0x3dd555=program['opts'](),_0xda9418=await createTDXInstance(_0x3dd555),_0x3bbd40=await _0x1b61fe[_0x17367f(0x384)]({'options':{..._0x3dd555,..._0x22249b},'args':_0x9742eb?[_0x3acb16,_0xbca431,_0x9742eb]:[_0x3acb16,_0xbca431],'tdx':_0xda9418});gracefulExit(_0x3bbd40);}),psPzServiceTokenCmd[a2_0x9f465f(0x158)]('delete\x20<token_id>\x20[parent_segment]')[a2_0x9f465f(0x207)](a2_0x9f465f(0x3fe))['action'](async(_0x44c85e,_0x1c75d1,_0x399d37)=>{const _0x180994=a2_0x9f465f,_0x5a2240=new PSPzServiceTokenDeleteCommand(),_0x4d0324=program[_0x180994(0x2b4)](),_0x527ebd=await createTDXInstance(_0x4d0324),_0x3bef67=await _0x5a2240[_0x180994(0x384)]({'options':{..._0x4d0324,..._0x399d37},'args':_0x1c75d1?[_0x44c85e,_0x1c75d1]:[_0x44c85e],'tdx':_0x527ebd});gracefulExit(_0x3bef67);}),parentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x369))['description'](a2_0x9f465f(0x2fb))[a2_0x9f465f(0x29e)](a2_0x9f465f(0x205),'Master\x20database\x20name')[a2_0x9f465f(0x29e)](a2_0x9f465f(0x39d),a2_0x9f465f(0x2c4))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2ff),a2_0x9f465f(0x35a))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x1bd),a2_0x9f465f(0x387))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x1f1),'Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)')[a2_0x9f465f(0x23e)]('--timezone\x20<tz>',a2_0x9f465f(0x2f2))[a2_0x9f465f(0x23e)]('--attributes\x20<json>',a2_0x9f465f(0xf1))[a2_0x9f465f(0x23e)]('--attributes-file\x20<file>',a2_0x9f465f(0x1af))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2b9),a2_0x9f465f(0x1df))[a2_0x9f465f(0x23e)]('--behaviors-file\x20<file>',a2_0x9f465f(0x13b))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2d5),a2_0x9f465f(0x279))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x30e),a2_0x9f465f(0x1cf))['action'](async(_0x515925,_0x387dd9)=>{const _0xe843dd=a2_0x9f465f,_0x443a24=new ParentSegmentCreateCommand(),_0x37a98a=program[_0xe843dd(0x2b4)](),_0x25859b=await createTDXInstance(_0x37a98a),_0xa5c38a=await _0x443a24[_0xe843dd(0x384)]({'options':{..._0x37a98a,..._0x387dd9},'args':[_0x515925],'tdx':_0x25859b});gracefulExit(_0xa5c38a);}),parentCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x3d9))[a2_0x9f465f(0x207)](a2_0x9f465f(0x213))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2ff),'Updated\x20description')['option'](a2_0x9f465f(0x1bd),a2_0x9f465f(0x26e))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x1f1),a2_0x9f465f(0x1f2))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2de),a2_0x9f465f(0x143))['option']('--add-attributes\x20<json>',a2_0x9f465f(0x302))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x36c),a2_0x9f465f(0x37e))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x135),a2_0x9f465f(0x292))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x398),'Add\x20behaviors\x20from\x20JSON\x20file')[a2_0x9f465f(0x166)](async(_0x2d21d3,_0x53e1ef)=>{const _0x112781=a2_0x9f465f,_0x38db64=new ParentSegmentUpdateCommand(),_0x453c3f=program[_0x112781(0x2b4)](),_0x387a4e=await createTDXInstance(_0x453c3f),_0x32cc10=await _0x38db64[_0x112781(0x384)]({'options':{..._0x453c3f,..._0x53e1ef},'args':[_0x2d21d3],'tdx':_0x387a4e});gracefulExit(_0x32cc10);}),folderCmd[a2_0x9f465f(0x158)]('create\x20<parent_name>\x20<folder_name>')[a2_0x9f465f(0x207)]('Create\x20segment\x20folder')[a2_0x9f465f(0x23e)]('--description\x20<text>','Folder\x20description')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x14d),a2_0x9f465f(0x2e3))[a2_0x9f465f(0x166)](async(_0x82c14d,_0x5810e9,_0x1fb054)=>{const _0x12148d=a2_0x9f465f,_0x5a32be=new SegmentFolderCreateCommand(),_0x5b4ef9=program[_0x12148d(0x2b4)](),_0x4d1f5c=await createTDXInstance(_0x5b4ef9),_0x59f5df=await _0x5a32be[_0x12148d(0x384)]({'options':{..._0x5b4ef9,..._0x1fb054},'args':[_0x82c14d,_0x5810e9],'tdx':_0x4d1f5c});gracefulExit(_0x59f5df);}),program[a2_0x9f465f(0x158)](a2_0x9f465f(0x347))[a2_0x9f465f(0x207)](a2_0x9f465f(0x304))[a2_0x9f465f(0x166)](async(_0x25672a,_0x4d6fc5)=>{const _0xdfeb08=a2_0x9f465f,_0xbd439b=new ActivationsCommand(),_0x3d2155=program[_0xdfeb08(0x2b4)](),_0x31f44f=await createTDXInstance(_0x3d2155),_0x452487=await _0xbd439b['run']({'options':{..._0x3d2155,..._0x4d6fc5},'args':[_0x25672a],'tdx':_0x31f44f});gracefulExit(_0x452487);});const workflowCmd=program[a2_0x9f465f(0x158)](a2_0x9f465f(0x2c1))[a2_0x9f465f(0x3e2)]('wf')[a2_0x9f465f(0x207)]('Workflow\x20(Digdag)\x20management\x20commands'),wfProjectCmd=workflowCmd['command'](a2_0x9f465f(0x40d))['description']('Workflow\x20project\x20management'),wfProjectListAction=async(_0xddc00,_0x33c343)=>{const _0x42b5f9=a2_0x9f465f,_0x3e894e=new WorkflowProjectsCommand(),_0x4b7611=program[_0x42b5f9(0x2b4)](),_0x1337ac=await createTDXInstance(_0x4b7611),_0x47baa9=await _0x3e894e[_0x42b5f9(0x384)]({'options':{..._0x4b7611,..._0x33c343},'args':_0xddc00?[_0xddc00]:[],'tdx':_0x1337ac});gracefulExit(_0x47baa9);};wfProjectCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x380))[a2_0x9f465f(0x207)](a2_0x9f465f(0x192))[a2_0x9f465f(0x166)](wfProjectListAction),workflowCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x201))[a2_0x9f465f(0x207)](a2_0x9f465f(0x28e))[a2_0x9f465f(0x166)](wfProjectListAction);const wfWorkflowListAction=async(_0x422875,_0x59dc45)=>{const _0x2d0bf3=new WorkflowWorkflowsCommand(),_0x1050b0=program['opts'](),_0x2940be=await createTDXInstance(_0x1050b0),_0x408e51=await _0x2d0bf3['run']({'options':{..._0x1050b0,..._0x59dc45},'args':_0x422875?[_0x422875]:[],'tdx':_0x2940be});gracefulExit(_0x408e51);};workflowCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x1e8))[a2_0x9f465f(0x207)](a2_0x9f465f(0x38a))[a2_0x9f465f(0x166)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x111))[a2_0x9f465f(0x207)](a2_0x9f465f(0x3f4)),wfSessionListAction=async(_0x46076c,_0x288e27)=>{const _0x49f6e3=a2_0x9f465f,_0x48f5a8=new WorkflowSessionsCommand(),_0x1bf01b=program[_0x49f6e3(0x2b4)](),_0x35ba0c=await createTDXInstance(_0x1bf01b),_0x5f5cc3=await _0x48f5a8[_0x49f6e3(0x384)]({'options':{..._0x1bf01b,..._0x288e27},'args':_0x46076c?[_0x46076c]:[],'tdx':_0x35ba0c});gracefulExit(_0x5f5cc3);};wfSessionCmd['command'](a2_0x9f465f(0x1f5))[a2_0x9f465f(0x207)](a2_0x9f465f(0x1b9))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3e3),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')['option'](a2_0x9f465f(0x2b1),a2_0x9f465f(0x396))['option'](a2_0x9f465f(0x258),a2_0x9f465f(0x184))[a2_0x9f465f(0x166)](wfSessionListAction),workflowCmd['command']('sessions\x20[project]')[a2_0x9f465f(0x207)](a2_0x9f465f(0x14e))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3e3),a2_0x9f465f(0x3c2))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2b1),a2_0x9f465f(0x396))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x258),a2_0x9f465f(0x184))[a2_0x9f465f(0x166)](wfSessionListAction);const wfAttemptListAction=async(_0x7bdaf0,_0x4281dd)=>{const _0x915171=a2_0x9f465f,_0x29a3b4=new WorkflowAttemptsCommand(),_0xdf51bf=program['opts'](),_0x49c1cc=await createTDXInstance(_0xdf51bf),_0x57372d=await _0x29a3b4[_0x915171(0x384)]({'options':{..._0xdf51bf,..._0x4281dd},'args':_0x7bdaf0?[_0x7bdaf0]:[],'tdx':_0x49c1cc});gracefulExit(_0x57372d);},attemptCmd=workflowCmd['command'](a2_0x9f465f(0x290))[a2_0x9f465f(0x207)](a2_0x9f465f(0x3c1))[a2_0x9f465f(0x2a4)](a2_0x9f465f(0x3ce),a2_0x9f465f(0x291))[a2_0x9f465f(0x2a4)](a2_0x9f465f(0x2df),a2_0x9f465f(0x348))[a2_0x9f465f(0x2a4)]('[task-name]',a2_0x9f465f(0x164))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x1ef),a2_0x9f465f(0x34b))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3c9),a2_0x9f465f(0x174))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x21b),a2_0x9f465f(0xef))['option'](a2_0x9f465f(0x3a8),a2_0x9f465f(0x1d5))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x34f),'Force\x20retry\x20even\x20if\x20not\x20failed')['option'](a2_0x9f465f(0x3b5),'Include\x20retried\x20attempts\x20(for\x20list)')[a2_0x9f465f(0x166)](async(_0x263007,_0x205d46,_0x492fa1,_0x54e50b)=>{const _0x563fc5=a2_0x9f465f;if(_0x263007===_0x563fc5(0x3b6)){await wfAttemptListAction(_0x205d46,_0x54e50b);return;}if(!_0x263007){attemptCmd[_0x563fc5(0x3c3)]();return;}const _0x5c439b=program['opts'](),_0x2b7a6a=await createTDXInstance(_0x5c439b);let _0x15f81a=0x0;if(!_0x205d46){const _0x228f8b=new WorkflowAttemptCommand();_0x15f81a=await _0x228f8b[_0x563fc5(0x384)]({'options':{..._0x5c439b,..._0x54e50b},'args':[_0x263007],'tdx':_0x2b7a6a});}else{if(_0x205d46==='logs'){const _0xc77b68=new WorkflowLogsCommand();_0x15f81a=await _0xc77b68['run']({'options':{..._0x5c439b,..._0x54e50b},'args':_0x492fa1?[_0x263007,_0x492fa1]:[_0x263007],'tdx':_0x2b7a6a});}else{if(_0x205d46===_0x563fc5(0x30a)){const _0x4378e0=new WorkflowTasksCommand();_0x15f81a=await _0x4378e0[_0x563fc5(0x384)]({'options':{..._0x5c439b,..._0x54e50b},'args':[_0x263007],'tdx':_0x2b7a6a});}else{if(_0x205d46===_0x563fc5(0x196)){const _0x235f0c=new WorkflowKillCommand();_0x15f81a=await _0x235f0c[_0x563fc5(0x384)]({'options':{..._0x5c439b,..._0x54e50b},'args':[_0x263007],'tdx':_0x2b7a6a});}else{if(_0x205d46===_0x563fc5(0x356)){const _0x3af4bf=new WorkflowRetryCommand();_0x15f81a=await _0x3af4bf[_0x563fc5(0x384)]({'options':{..._0x5c439b,..._0x54e50b},'args':['attempt:'+_0x263007],'tdx':_0x2b7a6a});}else console[_0x563fc5(0x2bc)](_0x563fc5(0x233)+_0x205d46),console[_0x563fc5(0x2bc)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x15f81a=0x1;}}}}gracefulExit(_0x15f81a);});attemptCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x1f5))[a2_0x9f465f(0x207)](a2_0x9f465f(0x27c))['option']('--include-retried',a2_0x9f465f(0xf3))['action'](wfAttemptListAction),workflowCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x2a3))[a2_0x9f465f(0x207)]('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')[a2_0x9f465f(0x23e)]('--include-retried','Include\x20retried\x20attempts')['action'](wfAttemptListAction),workflowCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x2fa))[a2_0x9f465f(0x207)](a2_0x9f465f(0x1d3))['option'](a2_0x9f465f(0x38d),a2_0x9f465f(0x409))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x1eb),a2_0x9f465f(0x411))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3d2),a2_0x9f465f(0x10c))[a2_0x9f465f(0x166)](async(_0x36cbdc,_0x445886)=>{const _0x47655c=new WorkflowTimelineCommand(),_0x3af7e1=program['opts'](),_0x20a73a=await createTDXInstance(_0x3af7e1),_0x1ee5bf=await _0x47655c['run']({'options':{..._0x3af7e1,..._0x445886},'args':_0x36cbdc?[_0x36cbdc]:[],'tdx':_0x20a73a});gracefulExit(_0x1ee5bf);}),workflowCmd[a2_0x9f465f(0x158)]('retry\x20<session-id>')['description'](a2_0x9f465f(0x249))[a2_0x9f465f(0x23e)]('--from-task\x20<task>',a2_0x9f465f(0x1dd))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3a8),a2_0x9f465f(0x2a9))[a2_0x9f465f(0x166)](async(_0x53084e,_0x31ead3)=>{const _0x33c854=a2_0x9f465f,_0x59a7fc=new WorkflowRetryCommand(),_0x353875=program[_0x33c854(0x2b4)](),_0x501320=await createTDXInstance(_0x353875),_0x354b49=await _0x59a7fc[_0x33c854(0x384)]({'options':{..._0x353875,..._0x31ead3},'args':[_0x53084e],'tdx':_0x501320});gracefulExit(_0x354b49);}),workflowCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x2eb))[a2_0x9f465f(0x207)](a2_0x9f465f(0x27e))['option'](a2_0x9f465f(0x3b2),a2_0x9f465f(0x1ee),(_0x49914c,_0x426ec0=[])=>[..._0x426ec0,_0x49914c],[])['option']('--session-time\x20<time>',a2_0x9f465f(0x1ed))[a2_0x9f465f(0x166)](async(_0x421f66,_0x2e39ca)=>{const _0x5c3749=a2_0x9f465f,_0x348209=new WorkflowRunCommand(),_0x3dac05=program['opts'](),_0x286718=await createTDXInstance(_0x3dac05),_0x5944fb=await _0x348209[_0x5c3749(0x384)]({'options':{..._0x3dac05,..._0x2e39ca},'args':_0x421f66?[_0x421f66]:[],'tdx':_0x286718});gracefulExit(_0x5944fb);}),workflowCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x1da))[a2_0x9f465f(0x207)](a2_0x9f465f(0x109))['option'](a2_0x9f465f(0x288),a2_0x9f465f(0x40f))[a2_0x9f465f(0x166)](async(_0x19cc87,_0x474d03,_0x25e693)=>{const _0x865ece=a2_0x9f465f,_0x53818a=new WorkflowDownloadCommand(),_0x412e02=program[_0x865ece(0x2b4)](),_0x8ddcd9=await createTDXInstance(_0x412e02),_0xedbbbd=await _0x53818a['run']({'options':{..._0x412e02,..._0x25e693},'args':[_0x19cc87,_0x474d03||'.'],'tdx':_0x8ddcd9});gracefulExit(_0xedbbbd);}),workflowCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x1e6))['description'](a2_0x9f465f(0x2e2))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x288),a2_0x9f465f(0x327))[a2_0x9f465f(0x23e)]('--dry-run',a2_0x9f465f(0x2f3))[a2_0x9f465f(0x166)](async(_0xe0040d,_0x128d5d,_0x5dc8f7)=>{const _0x4d41e5=a2_0x9f465f,_0x3f8439=new WorkflowPullCommand(),_0x4a4650=program[_0x4d41e5(0x2b4)](),_0x4a7fa6=await createTDXInstance(_0x4a4650),_0x4ba49d=await _0x3f8439[_0x4d41e5(0x384)]({'options':{..._0x4a4650,..._0x5dc8f7},'args':_0x128d5d?[_0xe0040d,_0x128d5d]:[_0xe0040d],'tdx':_0x4a7fa6});gracefulExit(_0x4ba49d);}),workflowCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x244))[a2_0x9f465f(0x207)](a2_0x9f465f(0x188))[a2_0x9f465f(0x23e)]('--revision\x20<revision>','Custom\x20revision\x20name\x20(default:\x20timestamp)')['option'](a2_0x9f465f(0x31d),'Preview\x20changes\x20without\x20pushing')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x27b),a2_0x9f465f(0x186))[a2_0x9f465f(0x166)](async(_0x12eb0a,_0xc34be4)=>{const _0x235bf5=a2_0x9f465f,_0xf31c5=new WorkflowPushCommand(),_0x3a54bd=program[_0x235bf5(0x2b4)](),_0x4f95d5=await createTDXInstance(_0x3a54bd),_0x48e8c5=await _0xf31c5[_0x235bf5(0x384)]({'options':{..._0x3a54bd,..._0xc34be4},'args':_0x12eb0a?[_0x12eb0a]:[],'tdx':_0x4f95d5});gracefulExit(_0x48e8c5);}),workflowCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x3f6))[a2_0x9f465f(0x207)](a2_0x9f465f(0x29d))[a2_0x9f465f(0x23e)]('--name\x20<name>','Override\x20project\x20name')[a2_0x9f465f(0x23e)]('--revision\x20<revision>',a2_0x9f465f(0x216))['option'](a2_0x9f465f(0x27b),a2_0x9f465f(0x186))['action'](async(_0x31cb4d,_0x478fb7)=>{const _0x162269=a2_0x9f465f,_0x2e20a7=new WorkflowUploadCommand(),_0x59436b=program[_0x162269(0x2b4)](),_0x284e39=await createTDXInstance(_0x59436b),_0x2aabf0=await _0x2e20a7[_0x162269(0x384)]({'options':{..._0x59436b,..._0x478fb7},'args':_0x31cb4d?[_0x31cb4d]:[],'tdx':_0x284e39});gracefulExit(_0x2aabf0);}),workflowCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x221))['description']('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')['option'](a2_0x9f465f(0x338),a2_0x9f465f(0x1e1))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x288),'Custom\x20revision\x20name\x20(default:\x20timestamp)')[a2_0x9f465f(0x23e)]('--dry-run',a2_0x9f465f(0x16c))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x27b),a2_0x9f465f(0x186))[a2_0x9f465f(0x166)](async(_0x3dc5b1,_0x4a96e7)=>{const _0x5bb7ed=a2_0x9f465f,_0x318c94=new WorkflowCloneCommand(),_0x55bbe4=program[_0x5bb7ed(0x2b4)](),_0xa213e7=await createTDXInstance(_0x55bbe4),_0x1fedb0=await _0x318c94[_0x5bb7ed(0x384)]({'options':{..._0x55bbe4,..._0x4a96e7},'args':_0x3dc5b1?[_0x3dc5b1]:[],'tdx':_0xa213e7});gracefulExit(_0x1fedb0);}),workflowCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x10f))[a2_0x9f465f(0x207)]('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x9f465f(0x166)](async(_0x24c7e3,_0x205345)=>{const _0x304a88=a2_0x9f465f,_0x311305=new WorkflowDeleteCommand(),_0x3c20f0=program[_0x304a88(0x2b4)](),_0x3bedff=await createTDXInstance(_0x3c20f0),_0x3311bf=await _0x311305[_0x304a88(0x384)]({'options':{..._0x3c20f0,..._0x205345},'args':[_0x24c7e3],'tdx':_0x3bedff});gracefulExit(_0x3311bf);}),workflowCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x1ce))[a2_0x9f465f(0x207)](a2_0x9f465f(0x405))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3c8),a2_0x9f465f(0x167))[a2_0x9f465f(0x166)](async(_0x3097fc,_0x563cf9)=>{const _0x53749c=a2_0x9f465f,_0x3957be=new WorkflowUseCommand(),_0x1cbe94=program['opts'](),_0x5a2ea4=await createTDXInstance(_0x1cbe94),_0x41427d=await _0x3957be[_0x53749c(0x384)]({'options':{..._0x1cbe94,..._0x563cf9},'args':_0x3097fc?[_0x3097fc]:[],'tdx':_0x5a2ea4});gracefulExit(_0x41427d);});const wfSecretsCmd=workflowCmd['command'](a2_0x9f465f(0x2c9))['description'](a2_0x9f465f(0x1c4));wfSecretsCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x1f5))[a2_0x9f465f(0x207)](a2_0x9f465f(0x113))[a2_0x9f465f(0x166)](async(_0x3f13ec,_0x2f920e)=>{const _0x1c898d=a2_0x9f465f,_0x5088f3=new WorkflowSecretsListCommand(),_0xb99ff3=program[_0x1c898d(0x2b4)](),_0x2fa2d3=await createTDXInstance(_0xb99ff3),_0x30b7c4=await _0x5088f3[_0x1c898d(0x384)]({'options':{..._0xb99ff3,..._0x2f920e},'args':_0x3f13ec?[_0x3f13ec]:[],'tdx':_0x2fa2d3});gracefulExit(_0x30b7c4);}),wfSecretsCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x1c0))[a2_0x9f465f(0x207)](a2_0x9f465f(0x322))[a2_0x9f465f(0x166)](async(_0x2da09e,_0x4fc5bf)=>{const _0x1745e2=a2_0x9f465f,_0x55d36a=new WorkflowSecretsSetCommand(),_0x6af0ee=program[_0x1745e2(0x2b4)](),_0x46d740=await createTDXInstance(_0x6af0ee),_0x9205e5=await _0x55d36a[_0x1745e2(0x384)]({'options':{..._0x6af0ee,..._0x4fc5bf},'args':_0x2da09e,'tdx':_0x46d740});gracefulExit(_0x9205e5);}),wfSecretsCmd[a2_0x9f465f(0x158)]('delete\x20<args...>')[a2_0x9f465f(0x207)](a2_0x9f465f(0x36d))[a2_0x9f465f(0x166)](async(_0x329666,_0xba9fa9)=>{const _0x368649=new WorkflowSecretsDeleteCommand(),_0x1498b4=program['opts'](),_0x3b0a3f=await createTDXInstance(_0x1498b4),_0x552922=await _0x368649['run']({'options':{..._0x1498b4,..._0xba9fa9},'args':_0x329666,'tdx':_0x3b0a3f});gracefulExit(_0x552922);});const wfScheduleCmd=workflowCmd[a2_0x9f465f(0x158)]('schedule')[a2_0x9f465f(0x207)](a2_0x9f465f(0x2ec));wfScheduleCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x193))[a2_0x9f465f(0x207)]('Enable\x20a\x20disabled\x20workflow\x20schedule')[a2_0x9f465f(0x166)](async(_0x4c8cf8,_0xcccb29)=>{const _0x3dd78c=a2_0x9f465f,_0x487857=new WorkflowScheduleEnableCommand(),_0x2e2e64=program[_0x3dd78c(0x2b4)](),_0x495840=await createTDXInstance(_0x2e2e64),_0x2c390e=await _0x487857[_0x3dd78c(0x384)]({'options':{..._0x2e2e64,..._0xcccb29},'args':[_0x4c8cf8],'tdx':_0x495840});gracefulExit(_0x2c390e);}),wfScheduleCmd['command'](a2_0x9f465f(0x332))[a2_0x9f465f(0x207)](a2_0x9f465f(0x363))['action'](async(_0x114255,_0x2723f7)=>{const _0x1b759a=a2_0x9f465f,_0x1c0775=new WorkflowScheduleDisableCommand(),_0xa9647d=program[_0x1b759a(0x2b4)](),_0x3c7756=await createTDXInstance(_0xa9647d),_0x578afb=await _0x1c0775['run']({'options':{..._0xa9647d,..._0x2723f7},'args':[_0x114255],'tdx':_0x3c7756});gracefulExit(_0x578afb);}),workflowCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x2dc))[a2_0x9f465f(0x207)]('List\x20all\x20workflow\x20schedules')[a2_0x9f465f(0x166)](async _0x11d085=>{const _0x433ae9=new WorkflowSchedulesCommand(),_0x24096d=program['opts'](),_0x5c2af0=await createTDXInstance(_0x24096d),_0x49dccd=await _0x433ae9['run']({'options':{..._0x24096d,..._0x11d085},'args':[],'tdx':_0x5c2af0});gracefulExit(_0x49dccd);});const jobCmd=program[a2_0x9f465f(0x158)](a2_0x9f465f(0x3ac))[a2_0x9f465f(0x207)](a2_0x9f465f(0x2e8)),jobListAction=async _0x361ed4=>{const _0x39de3d=a2_0x9f465f,_0x31d295=new JobListCommand(),_0x1edf9b=program[_0x39de3d(0x2b4)](),_0x476a94=await createTDXInstance(_0x1edf9b),_0xa88dc8=await _0x31d295[_0x39de3d(0x384)]({'options':{..._0x1edf9b,..._0x361ed4},'args':[],'tdx':_0x476a94});gracefulExit(_0xa88dc8);};jobCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x3b6))[a2_0x9f465f(0x207)](a2_0x9f465f(0x19b))[a2_0x9f465f(0x23e)]('--status\x20<status>','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x9f465f(0x166)](jobListAction),program['command'](a2_0x9f465f(0x3c4),{'hidden':!![]})[a2_0x9f465f(0x207)](a2_0x9f465f(0x2fc))[a2_0x9f465f(0x23e)]('--status\x20<status>',a2_0x9f465f(0x381))[a2_0x9f465f(0x166)](jobListAction),jobCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x2b3))[a2_0x9f465f(0x207)](a2_0x9f465f(0x1fb))['action'](async(_0x598318,_0x5ac683)=>{const _0x1c85d0=a2_0x9f465f,_0x5deb1a=new JobShowCommand(),_0x17d885=program[_0x1c85d0(0x2b4)](),_0x2e89cd=await createTDXInstance(_0x17d885),_0x4cf557=await _0x5deb1a[_0x1c85d0(0x384)]({'options':{..._0x17d885,..._0x5ac683},'args':[_0x598318],'tdx':_0x2e89cd});gracefulExit(_0x4cf557);}),jobCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x3db))[a2_0x9f465f(0x207)](a2_0x9f465f(0x1b5))[a2_0x9f465f(0x166)](async(_0x3c86aa,_0x1ef938)=>{const _0x9a15a3=a2_0x9f465f,_0x3288b9=new JobKillCommand(),_0x79eb9c=program[_0x9a15a3(0x2b4)](),_0x2e1377=await createTDXInstance(_0x79eb9c),_0x22c2ab=await _0x3288b9[_0x9a15a3(0x384)]({'options':{..._0x79eb9c,..._0x1ef938},'args':[_0x3c86aa],'tdx':_0x2e1377});gracefulExit(_0x22c2ab);}),jobCmd['command'](a2_0x9f465f(0x2be))[a2_0x9f465f(0x207)](a2_0x9f465f(0xe8))['option'](a2_0x9f465f(0x122),'Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)',a2_0x9f465f(0x3fa))['option']('-f,\x20--file\x20<path>',a2_0x9f465f(0x1a4))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3b7),a2_0x9f465f(0x19a),a2_0x9f465f(0x1d8))[a2_0x9f465f(0x23e)]('--result\x20<target>',a2_0x9f465f(0x3a7))['action'](async(_0x4c927d,_0x22a1e5)=>{const _0x4eac50=a2_0x9f465f,_0x267f43=new JobSubmitCommand(),_0x116144=program[_0x4eac50(0x2b4)](),_0x4a51ca=await createTDXInstance(_0x116144),_0x24b583=await _0x267f43[_0x4eac50(0x384)]({'options':{..._0x116144,..._0x22a1e5},'args':_0x4c927d?[_0x4c927d]:[],'tdx':_0x4a51ca});gracefulExit(_0x24b583);}),jobCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x124))[a2_0x9f465f(0x207)](a2_0x9f465f(0x24c))[a2_0x9f465f(0x166)](async(_0x1b9e35,_0x54d34d)=>{const _0xe2afeb=a2_0x9f465f,_0x19441f=new JobResultCommand(),_0x549167=program['opts'](),_0x26a521=await createTDXInstance(_0x549167),_0x46ee3f=await _0x19441f[_0xe2afeb(0x384)]({'options':{..._0x549167,..._0x54d34d},'args':[_0x1b9e35],'tdx':_0x26a521});gracefulExit(_0x46ee3f);});const scheduleCmd=jobCmd['command'](a2_0x9f465f(0x39a))['description'](a2_0x9f465f(0x315));scheduleCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x380))[a2_0x9f465f(0x207)](a2_0x9f465f(0x372))[a2_0x9f465f(0x166)](async(_0x1c8f0e,_0x23e2fc)=>{const _0x461ad5=a2_0x9f465f,_0x58ff98=new ScheduleListCommand(),_0x10b414=program[_0x461ad5(0x2b4)](),_0x4933cf=await createTDXInstance(_0x10b414),_0x5a7623=await _0x58ff98[_0x461ad5(0x384)]({'options':{..._0x10b414,..._0x23e2fc},'args':_0x1c8f0e?[_0x1c8f0e]:[],'tdx':_0x4933cf});gracefulExit(_0x5a7623);}),scheduleCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x393))['description'](a2_0x9f465f(0x2a8))[a2_0x9f465f(0x166)](async(_0x3c206c,_0x331823)=>{const _0x9c0ad4=a2_0x9f465f,_0x4d0325=new ScheduleShowCommand(),_0xbb8ec3=program['opts'](),_0x129123=await createTDXInstance(_0xbb8ec3),_0x19f6cd=await _0x4d0325[_0x9c0ad4(0x384)]({'options':{..._0xbb8ec3,..._0x331823},'args':[_0x3c206c],'tdx':_0x129123});gracefulExit(_0x19f6cd);}),scheduleCmd[a2_0x9f465f(0x158)]('create\x20<name>')['description'](a2_0x9f465f(0x16f))[a2_0x9f465f(0x23e)]('-d,\x20--database\x20<db>',a2_0x9f465f(0x336))[a2_0x9f465f(0x23e)]('--in\x20<db>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')['requiredOption']('-f,\x20--file\x20<path>','Read\x20query\x20from\x20file')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x12c),a2_0x9f465f(0x36b),a2_0x9f465f(0x3fa))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x1e9),'Cron\x20expression\x20for\x20scheduling')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2de),a2_0x9f465f(0x1d1))[a2_0x9f465f(0x23e)]('--delay\x20<seconds>',a2_0x9f465f(0x404))['option'](a2_0x9f465f(0x1be),a2_0x9f465f(0x373))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2da),a2_0x9f465f(0x3d5))[a2_0x9f465f(0x23e)](a2_0x9f465f(0xfe),'Query\x20engine\x20version')[a2_0x9f465f(0x23e)]('--result\x20<url>','Result\x20output\x20destination\x20URL')['action'](async(_0xd0c223,_0x3641d8)=>{const _0xbb6894=a2_0x9f465f,_0x44ba16=new ScheduleCreateCommand(),_0x58a40a=program['opts'](),_0x2fdc79=await createTDXInstance(_0x58a40a);_0x3641d8['in']&&(_0x3641d8[_0xbb6894(0x386)]=_0x3641d8['in']);const _0x2fef33=await _0x44ba16[_0xbb6894(0x384)]({'options':{..._0x58a40a,..._0x3641d8},'args':[_0xd0c223],'tdx':_0x2fdc79});gracefulExit(_0x2fef33);}),scheduleCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x3d9))[a2_0x9f465f(0x207)](a2_0x9f465f(0x2f0))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x21a),a2_0x9f465f(0x1ab))[a2_0x9f465f(0x23e)]('--in\x20<db>',a2_0x9f465f(0x2c8))[a2_0x9f465f(0x23e)]('-f,\x20--file\x20<path>',a2_0x9f465f(0x1a4))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x12c),a2_0x9f465f(0x36b))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x1e9),a2_0x9f465f(0x1a1))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2de),a2_0x9f465f(0x104))[a2_0x9f465f(0x23e)](a2_0x9f465f(0xf9),a2_0x9f465f(0x404))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x1be),a2_0x9f465f(0x373))['option']('--retry-limit\x20<0~32>',a2_0x9f465f(0x3d5))[a2_0x9f465f(0x23e)](a2_0x9f465f(0xfe),a2_0x9f465f(0x3f3))[a2_0x9f465f(0x23e)]('--result\x20<url>','Result\x20output\x20destination\x20URL')[a2_0x9f465f(0x166)](async(_0x47fa66,_0x5c4b24)=>{const _0x3cda2f=a2_0x9f465f,_0x51d3e9=new ScheduleUpdateCommand(),_0xf5569b=program[_0x3cda2f(0x2b4)](),_0x57c8f9=await createTDXInstance(_0xf5569b);_0x5c4b24['in']&&(_0x5c4b24[_0x3cda2f(0x386)]=_0x5c4b24['in']);const _0x2c67d1=await _0x51d3e9[_0x3cda2f(0x384)]({'options':{..._0xf5569b,..._0x5c4b24},'args':[_0x47fa66],'tdx':_0x57c8f9});gracefulExit(_0x2c67d1);}),scheduleCmd[a2_0x9f465f(0x158)]('delete\x20<name>')[a2_0x9f465f(0x207)](a2_0x9f465f(0x185))[a2_0x9f465f(0x166)](async(_0x59a257,_0x52099a)=>{const _0x259c8f=a2_0x9f465f,_0xeae619=new ScheduleDeleteCommand(),_0x24802f=program[_0x259c8f(0x2b4)](),_0x1aed8e=await createTDXInstance(_0x24802f),_0x5da73b=await _0xeae619[_0x259c8f(0x384)]({'options':{..._0x24802f,..._0x52099a},'args':[_0x59a257],'tdx':_0x1aed8e});gracefulExit(_0x5da73b);}),scheduleCmd['command'](a2_0x9f465f(0x382))[a2_0x9f465f(0x207)](a2_0x9f465f(0x102))['option']('--time\x20<iso8601>',a2_0x9f465f(0x270))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x127),'Number\x20of\x20executions\x20(1-10,\x20default:\x201)')[a2_0x9f465f(0x166)](async(_0x1d912e,_0x3d41fc)=>{const _0x4f3005=a2_0x9f465f,_0x3c2729=new ScheduleRunCommand(),_0x1e8e13=program['opts'](),_0x1f10dc=await createTDXInstance(_0x1e8e13),_0x461a86=await _0x3c2729[_0x4f3005(0x384)]({'options':{..._0x1e8e13,..._0x3d41fc},'args':[_0x1d912e],'tdx':_0x1f10dc});gracefulExit(_0x461a86);}),scheduleCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x14b))['description'](a2_0x9f465f(0x177))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3ec),'Starting\x20offset\x20(default:\x200)')[a2_0x9f465f(0x23e)]('--to\x20<n>',a2_0x9f465f(0x153))['action'](async(_0x5ca09f,_0x32d2af)=>{const _0x169f0f=a2_0x9f465f,_0x5e3ab6=new ScheduleHistoryCommand(),_0xd0acca=program[_0x169f0f(0x2b4)](),_0x5f00d4=await createTDXInstance(_0xd0acca),_0x341761=await _0x5e3ab6[_0x169f0f(0x384)]({'options':{..._0xd0acca,..._0x32d2af},'args':[_0x5ca09f],'tdx':_0x5f00d4});gracefulExit(_0x341761);});const llmCmd=program[a2_0x9f465f(0x158)](a2_0x9f465f(0x305))[a2_0x9f465f(0x207)](a2_0x9f465f(0x2e1));llmCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x187))['description']('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')[a2_0x9f465f(0x166)](async(_0x3301c8,_0x4e6b7e)=>{const _0x5dc4dd=a2_0x9f465f,_0x5e8165=new LLMUseCommand(),_0x10b009=program[_0x5dc4dd(0x2b4)](),_0x4e6be0=await createTDXInstance(_0x10b009),_0xfc2de9=await _0x5e8165[_0x5dc4dd(0x384)]({'options':{..._0x10b009,..._0x4e6b7e},'args':[_0x3301c8],'tdx':_0x4e6be0});gracefulExit(_0xfc2de9);}),llmCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x2dd))[a2_0x9f465f(0x207)](a2_0x9f465f(0x3de))['action'](async _0x1d8edb=>{const _0x3037ae=a2_0x9f465f,_0x3b17b1=new LLMModelsCommand(),_0x5e6082=program[_0x3037ae(0x2b4)](),_0x4b007f=await createTDXInstance(_0x5e6082),_0x4e4736=await _0x3b17b1['run']({'options':{..._0x5e6082,..._0x1d8edb},'args':[],'tdx':_0x4b007f});gracefulExit(_0x4e4736);});const projectCmd=llmCmd['command'](a2_0x9f465f(0x40d))[a2_0x9f465f(0x207)](a2_0x9f465f(0x265)),llmProjectListAction=async(_0x75cfa,_0x382d99)=>{const _0xd2d5af=a2_0x9f465f,_0x1218ad=new LLMProjectsCommand(),_0x1775e6=program['opts'](),_0x5a63be=await createTDXInstance(_0x1775e6),_0x55ae90=await _0x1218ad[_0xd2d5af(0x384)]({'options':{..._0x1775e6,..._0x382d99},'args':_0x75cfa?[_0x75cfa]:[],'tdx':_0x5a63be});gracefulExit(_0x55ae90);};projectCmd['command']('list\x20[pattern]')[a2_0x9f465f(0x207)]('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')['action'](llmProjectListAction),llmCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x201))[a2_0x9f465f(0x207)](a2_0x9f465f(0xe4))[a2_0x9f465f(0x166)](llmProjectListAction),projectCmd['command']('create\x20<name>')[a2_0x9f465f(0x207)]('Create\x20a\x20new\x20LLM\x20project')[a2_0x9f465f(0x23e)]('--description\x20<text>',a2_0x9f465f(0x3cf))[a2_0x9f465f(0x166)](async(_0x564d21,_0x149bad)=>{const _0x4cc2ab=a2_0x9f465f,_0x24b29e=new LLMProjectCreateCommand(),_0x155311=program['opts'](),_0x43a2b5=await createTDXInstance(_0x155311),_0x1a8a20=await _0x24b29e[_0x4cc2ab(0x384)]({'options':{..._0x155311,..._0x149bad},'args':[_0x564d21],'tdx':_0x43a2b5});gracefulExit(_0x1a8a20);}),projectCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x11a))[a2_0x9f465f(0x207)]('Delete\x20an\x20LLM\x20project')['action'](async(_0x137b25,_0x5cbcc0)=>{const _0x4dd15d=a2_0x9f465f,_0x3768a7=new LLMProjectDeleteCommand(),_0x3efa9c=program[_0x4dd15d(0x2b4)](),_0x4f09f4=await createTDXInstance(_0x3efa9c),_0x24c8a3=await _0x3768a7[_0x4dd15d(0x384)]({'options':{..._0x3efa9c,..._0x5cbcc0},'args':[_0x137b25],'tdx':_0x4f09f4});gracefulExit(_0x24c8a3);}),projectCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0xfd))[a2_0x9f465f(0x207)]('[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x1b1),'Output\x20folder\x20(default:\x20{project_name}.llm)')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x31d),a2_0x9f465f(0xf5))[a2_0x9f465f(0x166)](async(_0x27b3d3,_0x86e0d2)=>{const _0x21a688=a2_0x9f465f,_0x2b9272=new LLMProjectBackupCommand(),_0x446dfc=program[_0x21a688(0x2b4)](),_0x1f95ca=await createTDXInstance(_0x446dfc),_0x58c3b9=await _0x2b9272[_0x21a688(0x384)]({'options':{..._0x446dfc,..._0x86e0d2},'args':[_0x27b3d3],'tdx':_0x1f95ca});gracefulExit(_0x58c3b9);}),projectCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x29c))[a2_0x9f465f(0x207)](a2_0x9f465f(0x2d2))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x269),a2_0x9f465f(0x2b5))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x31d),'Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')['action'](async(_0x4b99ea,_0x4ed686)=>{const _0x169801=a2_0x9f465f,_0x2ab1ba=new LLMProjectRestoreCommand(),_0x4b1032=program[_0x169801(0x2b4)](),_0x2e7aaa=await createTDXInstance(_0x4b1032),_0x17b824=await _0x2ab1ba[_0x169801(0x384)]({'options':{..._0x4b1032,..._0x4ed686},'args':[_0x4b99ea],'tdx':_0x2e7aaa});gracefulExit(_0x17b824);});const llmAgentListAction=async(_0x5888ed,_0x471bdb)=>{const _0x676f46=a2_0x9f465f,_0x375411=new LLMAgentsCommand(),_0x312181=program[_0x676f46(0x2b4)](),_0x4c59f1=await createTDXInstance(_0x312181),_0x1f9489=await _0x375411[_0x676f46(0x384)]({'options':{..._0x312181,..._0x471bdb},'args':_0x5888ed?[_0x5888ed]:[],'tdx':_0x4c59f1});gracefulExit(_0x1f9489);};llmCmd['command'](a2_0x9f465f(0x18f))[a2_0x9f465f(0x207)](a2_0x9f465f(0x365))[a2_0x9f465f(0x166)](llmAgentListAction),program[a2_0x9f465f(0x158)](a2_0x9f465f(0x18f))['description']('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')[a2_0x9f465f(0x166)](llmAgentListAction),llmCmd['command'](a2_0x9f465f(0x296))[a2_0x9f465f(0x207)](a2_0x9f465f(0x361))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x303),'Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')['action'](async(_0x3e2779,_0x146982)=>{const _0x130735=a2_0x9f465f,_0x380820=new LLMHistoryCommand(),_0x59dfea=program[_0x130735(0x2b4)](),_0x299a0b=await createTDXInstance(_0x59dfea),_0x317e03=await _0x380820[_0x130735(0x384)]({'options':{..._0x59dfea,..._0x146982},'args':_0x3e2779?[_0x3e2779]:[],'tdx':_0x299a0b});gracefulExit(_0x317e03);});isExperimentalAvailable()&&llmCmd[a2_0x9f465f(0x158)]('log\x20<chat-id>')['description'](a2_0x9f465f(0x1e5))['action'](async(_0x530676,_0x4160a8)=>{const _0x59935b=a2_0x9f465f,_0x3a222a=new LLMLogCommand(),_0x12f0b7=program[_0x59935b(0x2b4)](),_0x38d14a=await createTDXInstance(_0x12f0b7),_0x1811e2=await _0x3a222a[_0x59935b(0x384)]({'options':{..._0x12f0b7,..._0x4160a8},'args':[_0x530676],'tdx':_0x38d14a});gracefulExit(_0x1811e2);});program[a2_0x9f465f(0x158)]('claude\x20[args...]')['usage'](a2_0x9f465f(0x3f2))['description'](a2_0x9f465f(0xeb))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x375),a2_0x9f465f(0x1c9))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3c0),a2_0x9f465f(0x282))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x1b7),a2_0x9f465f(0x400))[a2_0x9f465f(0x236)]()['allowExcessArguments'](!![])[a2_0x9f465f(0x3af)](a2_0x9f465f(0x21c),a2_0x9f465f(0x11c))[a2_0x9f465f(0x166)](async(_0x4efe64,_0x51a76f)=>{const _0x56cfda=a2_0x9f465f,_0x2eface=program[_0x56cfda(0x2b4)](),_0x40ecb3=Array[_0x56cfda(0x414)](_0x4efe64)?_0x4efe64:[];if(_0x40ecb3[0x0]===_0x56cfda(0x3bf)){const _0x1b7256=new ClaudeStatuslineCommand(),_0x31021c=await _0x1b7256[_0x56cfda(0x384)]({'options':{..._0x2eface,..._0x51a76f},'args':_0x40ecb3[_0x56cfda(0x3ae)](0x1),'tdx':null});gracefulExit(_0x31021c);}if(_0x40ecb3[0x0]===_0x56cfda(0x277)){const _0x2e3651=new ClaudeUsageCommand(),_0x1c1888=await _0x2e3651[_0x56cfda(0x384)]({'options':{..._0x2eface,..._0x51a76f},'args':_0x40ecb3[_0x56cfda(0x3ae)](0x1),'tdx':null});gracefulExit(_0x1c1888);}const _0x36ff67=new ClaudeCommand(),_0x57215f=await createTDXInstance(_0x2eface),_0x83a40d=await _0x36ff67[_0x56cfda(0x384)]({'options':{..._0x2eface,..._0x51a76f},'args':_0x40ecb3,'tdx':_0x57215f});gracefulExit(_0x83a40d);}),program[a2_0x9f465f(0x158)](a2_0x9f465f(0x3ee))[a2_0x9f465f(0x207)](a2_0x9f465f(0x2f4))['option'](a2_0x9f465f(0x3c8),a2_0x9f465f(0x3c5))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3df),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x9f465f(0x166)](async(_0x159005,_0x2821ef,_0x472d41)=>{const _0x23be6f=a2_0x9f465f,_0x43b2ab=new UseCommand(),_0x269033=program[_0x23be6f(0x2b4)](),_0x3167aa=[];if(_0x159005)_0x3167aa['push'](_0x159005);if(_0x2821ef)_0x3167aa[_0x23be6f(0x3e9)](_0x2821ef);const _0x32e9d5=_0x159005===_0x23be6f(0x1b6),_0x597070=_0x32e9d5?await createTDXInstance(_0x269033):null,_0x8c8fb=await _0x43b2ab[_0x23be6f(0x384)]({'options':{..._0x269033,..._0x472d41},'args':_0x3167aa,'tdx':_0x597070});gracefulExit(_0x8c8fb);}),program[a2_0x9f465f(0x158)](a2_0x9f465f(0x10a))[a2_0x9f465f(0x207)](a2_0x9f465f(0x283))[a2_0x9f465f(0x166)](async _0x6c4013=>{const _0x56d243=a2_0x9f465f,_0x477be2=new StatusCommand(),_0x9b563c=program[_0x56d243(0x2b4)](),_0x4d58db=await createTDXInstance(_0x9b563c),_0x1ef170=await _0x477be2[_0x56d243(0x384)]({'options':{..._0x9b563c,..._0x6c4013},'args':[],'tdx':_0x4d58db});gracefulExit(_0x1ef170);}),program['command'](a2_0x9f465f(0x22b))[a2_0x9f465f(0x207)](a2_0x9f465f(0x339))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x31d),'Check\x20for\x20updates\x20without\x20installing')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x37c),a2_0x9f465f(0x128))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x354),a2_0x9f465f(0x181))[a2_0x9f465f(0x166)](async(_0x24a0f3,_0x356cb2)=>{const _0x4b349b=a2_0x9f465f,_0x4dee59=new UpgradeCommand(),_0x47334c=program[_0x4b349b(0x2b4)](),_0x833665=await _0x4dee59[_0x4b349b(0x384)]({'options':{..._0x47334c,..._0x356cb2},'args':_0x24a0f3?[_0x24a0f3]:[],'tdx':null});gracefulExit(_0x833665);}),program[a2_0x9f465f(0x158)](a2_0x9f465f(0x21f))[a2_0x9f465f(0x207)](a2_0x9f465f(0x2f9))['option']('--default','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x9f465f(0x166)](async(_0x32c2f0,_0x1eba34)=>{const _0x2d8bfe=a2_0x9f465f,_0x1d2f61=new UnsetCommand(),_0x734d83=program[_0x2d8bfe(0x2b4)](),_0xa8a04e=await _0x1d2f61['run']({'options':{..._0x734d83,..._0x1eba34},'args':[_0x32c2f0],'tdx':null});gracefulExit(_0xa8a04e);}),program[a2_0x9f465f(0x158)]('chats')[a2_0x9f465f(0x207)](a2_0x9f465f(0x34d))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x303),a2_0x9f465f(0x1ea))[a2_0x9f465f(0x166)](async _0x500809=>{const _0x3fd455=a2_0x9f465f,_0x1d170b=new ChatsCommand(),_0x32b03b=program[_0x3fd455(0x2b4)](),_0x3b3086=await createTDXInstance(_0x32b03b),_0x582b9a=await _0x1d170b['run']({'options':{..._0x32b03b,..._0x500809},'args':[],'tdx':_0x3b3086});gracefulExit(_0x582b9a);});const authCmd=program[a2_0x9f465f(0x158)](a2_0x9f465f(0x415))[a2_0x9f465f(0x207)](a2_0x9f465f(0x1b8));async function runAuthStatusCommand(_0x365ff4){const _0x5d4036=a2_0x9f465f,_0x25191c=new AuthStatusCommand(),_0x2f076b=program[_0x5d4036(0x2b4)](),_0x10cdb4=await createTDXInstance(_0x2f076b),_0x36b4b1=await _0x25191c[_0x5d4036(0x384)]({'options':{..._0x2f076b,..._0x365ff4},'args':[],'tdx':_0x10cdb4});gracefulExit(_0x36b4b1);}authCmd[a2_0x9f465f(0x166)](runAuthStatusCommand),authCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x10a))['description']('Show\x20authentication\x20status\x20and\x20validate\x20API\x20key')[a2_0x9f465f(0x166)](runAuthStatusCommand);async function authSetupAction(_0x16d925){const _0x2ec12d=a2_0x9f465f,_0x1826ce=new AuthSetupCommand(),_0x4748a7=program[_0x2ec12d(0x2b4)](),_0x394f03=await createTDXInstance(_0x4748a7),_0x332d15=await _0x1826ce[_0x2ec12d(0x384)]({'options':{..._0x4748a7,..._0x16d925},'args':[],'tdx':_0x394f03});gracefulExit(_0x332d15);}authCmd[a2_0x9f465f(0x158)]('setup')[a2_0x9f465f(0x207)]('Setup\x20API\x20key\x20authentication\x20interactively')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3bc),'Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login')[a2_0x9f465f(0x3af)]('after',a2_0x9f465f(0x18a))['action'](authSetupAction),authCmd[a2_0x9f465f(0x158)]('login',{'hidden':!![]})[a2_0x9f465f(0x23e)]('--account-name\x20<name>',a2_0x9f465f(0x116))[a2_0x9f465f(0x166)](authSetupAction),authCmd['command'](a2_0x9f465f(0x157))[a2_0x9f465f(0x207)](a2_0x9f465f(0x182))['addHelpText']('after',a2_0x9f465f(0x284))['action'](async _0x124b0d=>{const _0x1d56cf=a2_0x9f465f,_0xb0c2bd=new AuthClearCommand(),_0x4db74c=program[_0x1d56cf(0x2b4)](),_0x48ebb2=await _0xb0c2bd['run']({'options':{..._0x4db74c,..._0x124b0d},'args':[],'tdx':null});gracefulExit(_0x48ebb2);});const userCmd=program['command']('user')[a2_0x9f465f(0x207)](a2_0x9f465f(0x360)),userListAction=async _0x2cf6d8=>{const _0x433ab2=a2_0x9f465f,_0x19545a=new UserListCommand(),_0xa76934=program[_0x433ab2(0x2b4)](),_0x1b93a6=await createTDXInstance(_0xa76934),_0x385810=await _0x19545a[_0x433ab2(0x384)]({'options':{..._0xa76934,..._0x2cf6d8},'args':[],'tdx':_0x1b93a6});gracefulExit(_0x385810);};userCmd[a2_0x9f465f(0x166)](async _0x222bc3=>{const _0xbb4078=a2_0x9f465f,_0x2fc85b=new UserCommand(),_0x569e85=program['opts'](),_0x7d2f12=await createTDXInstance(_0x569e85),_0x5ae645=await _0x2fc85b[_0xbb4078(0x384)]({'options':{..._0x569e85,..._0x222bc3},'args':[],'tdx':_0x7d2f12});gracefulExit(_0x5ae645);}),userCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x3b6))[a2_0x9f465f(0x207)](a2_0x9f465f(0x1a8))[a2_0x9f465f(0x166)](userListAction),program[a2_0x9f465f(0x158)]('users')[a2_0x9f465f(0x207)](a2_0x9f465f(0x22e))[a2_0x9f465f(0x166)](userListAction);const policyCmd=program['command']('policy')[a2_0x9f465f(0x207)](a2_0x9f465f(0x353));policyCmd['action'](async _0x57b007=>{const _0x2beb93=a2_0x9f465f,_0x3114e6=new PolicyCommand(),_0x40f34f=program[_0x2beb93(0x2b4)](),_0x261782=await createTDXInstance(_0x40f34f),_0x5e179e=await _0x3114e6[_0x2beb93(0x384)]({'options':{..._0x40f34f,..._0x57b007},'args':[],'tdx':_0x261782});gracefulExit(_0x5e179e);}),policyCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x3b6))['description'](a2_0x9f465f(0x26d))[a2_0x9f465f(0x166)](async _0x3714aa=>{const _0x49fdaf=a2_0x9f465f,_0x3a9135=new PolicyListCommand(),_0x2c243b=program[_0x49fdaf(0x2b4)](),_0x1c7fb4=await createTDXInstance(_0x2c243b),_0x4f2289=await _0x3a9135['run']({'options':{..._0x2c243b,..._0x3714aa},'args':[],'tdx':_0x1c7fb4});gracefulExit(_0x4f2289);}),policyCmd['command'](a2_0x9f465f(0x144))[a2_0x9f465f(0x207)](a2_0x9f465f(0x1b4))[a2_0x9f465f(0x166)](async(_0x59dd7f,_0x8555eb)=>{const _0x57e517=a2_0x9f465f,_0x2be5e9=new PolicyShowCommand(),_0x6728ac=program[_0x57e517(0x2b4)](),_0x3806c9=await createTDXInstance(_0x6728ac),_0x48ed76=await _0x2be5e9[_0x57e517(0x384)]({'options':{..._0x6728ac,..._0x8555eb},'args':[_0x59dd7f],'tdx':_0x3806c9});gracefulExit(_0x48ed76);}),program[a2_0x9f465f(0x158)]('profiles')[a2_0x9f465f(0x207)](a2_0x9f465f(0x234))[a2_0x9f465f(0x166)](async _0xb499c3=>{const _0x3f52f3=a2_0x9f465f,_0x48d871=new ProfilesCommand(),_0x459511=program[_0x3f52f3(0x2b4)](),_0x33d10e=await _0x48d871[_0x3f52f3(0x384)]({'options':{..._0x459511,..._0xb499c3},'args':[],'tdx':null});gracefulExit(_0x33d10e);});const profileCmd=program['command'](a2_0x9f465f(0x312))[a2_0x9f465f(0x207)](a2_0x9f465f(0x16d));profileCmd[a2_0x9f465f(0x166)](()=>{const _0x2a5c7f=a2_0x9f465f;profileCmd[_0x2a5c7f(0x26c)]();});const profileListAction=async _0xa64b7e=>{const _0x5b5bab=a2_0x9f465f,_0x328bfb=new ProfilesCommand(),_0x328e5f=program[_0x5b5bab(0x2b4)](),_0x198b8d=await _0x328bfb[_0x5b5bab(0x384)]({'options':{..._0x328e5f,..._0xa64b7e},'args':[],'tdx':null});gracefulExit(_0x198b8d);};profileCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x3b6))[a2_0x9f465f(0x207)](a2_0x9f465f(0x234))[a2_0x9f465f(0x166)](profileListAction),profileCmd[a2_0x9f465f(0x158)]('create\x20[name]')[a2_0x9f465f(0x207)](a2_0x9f465f(0x2e6))['option']('--account-name\x20<name>','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login')['option'](a2_0x9f465f(0x3a3),a2_0x9f465f(0xe5))['addHelpText']('after','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a\x20\x20$\x20tdx\x20profile\x20create\x20production\x20\x20\x20#\x20Create\x20profile\x20named\x20\x27production\x27\x0a\x20\x20$\x20tdx\x20profile\x20create\x20prod\x20-f\x20\x20\x20\x20\x20\x20#\x20Overwrite\x20existing\x20\x27prod\x27\x20profile\x0a')['action'](async(_0x164ac3,_0x54facd)=>{const _0x2da514=a2_0x9f465f,_0x1967e8=new ProfileCreateCommand(),_0x321c0d=program[_0x2da514(0x2b4)](),_0x1d73e4=await _0x1967e8[_0x2da514(0x384)]({'options':{..._0x321c0d,..._0x54facd},'args':_0x164ac3?[_0x164ac3]:[],'tdx':null});gracefulExit(_0x1d73e4);});async function profileDeleteAction(_0x54ab73,_0x2e6dde){const _0x57a995=a2_0x9f465f,_0x5b9775=new ProfileDeleteCommand(),_0x55e90d=program[_0x57a995(0x2b4)](),_0x35d23=await _0x5b9775[_0x57a995(0x384)]({'options':{..._0x55e90d,..._0x2e6dde},'args':[_0x54ab73],'tdx':null});gracefulExit(_0x35d23);}profileCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x11a))[a2_0x9f465f(0x207)](a2_0x9f465f(0x272))['addHelpText'](a2_0x9f465f(0x21c),a2_0x9f465f(0x13c))[a2_0x9f465f(0x166)](profileDeleteAction),profileCmd['command'](a2_0x9f465f(0x311),{'hidden':!![]})[a2_0x9f465f(0x166)](profileDeleteAction),profileCmd[a2_0x9f465f(0x158)]('set\x20<key=value>')['description'](a2_0x9f465f(0x2cc))['addHelpText'](a2_0x9f465f(0x21c),a2_0x9f465f(0x155))['action'](async(_0x3cfa87,_0x115cab)=>{const _0x620d6a=a2_0x9f465f,_0xcc8ffe=new ProfileSetCommand(),_0x55676a=program[_0x620d6a(0x2b4)](),_0x39858b=await _0xcc8ffe['run']({'options':{..._0x55676a,..._0x115cab},'args':[_0x3cfa87],'tdx':null});gracefulExit(_0x39858b);}),profileCmd[a2_0x9f465f(0x158)]('use\x20<name>')[a2_0x9f465f(0x207)](a2_0x9f465f(0x2e9))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3df),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x9f465f(0x3af)]('after',a2_0x9f465f(0x1ad))[a2_0x9f465f(0x166)](async(_0x84a067,_0xcb7103)=>{const _0x313af8=a2_0x9f465f,_0x4429a1=new ProfileUseCommand(),_0x222f33=program[_0x313af8(0x2b4)](),_0x17bb82=await _0x4429a1['run']({'options':{..._0x222f33,..._0xcb7103},'args':[_0x84a067],'tdx':null});gracefulExit(_0x17bb82);});const engageCmd=program[a2_0x9f465f(0x158)]('engage')[a2_0x9f465f(0x207)](a2_0x9f465f(0x241)),createEngageAction=_0x1cda75=>{return async(_0x46df40,_0xd60cd7)=>{const _0x453cbb=a2_0x23b4,_0x22fb8e=new _0x1cda75(),_0x1e9817=program[_0x453cbb(0x2b4)](),_0x2b8819=await createTDXInstance(_0x1e9817),_0x2e6523=await _0x22fb8e[_0x453cbb(0x384)]({'options':{..._0x1e9817,..._0xd60cd7},'args':[_0x46df40],'tdx':_0x2b8819});gracefulExit(_0x2e6523);};},createEngageNoArgAction=_0x43fe26=>{return async _0xdbbf3b=>{const _0x8dfd4d=a2_0x23b4,_0x21d972=new _0x43fe26(),_0x3d0cab=program[_0x8dfd4d(0x2b4)](),_0x2622c4=await createTDXInstance(_0x3d0cab),_0x57e05a=await _0x21d972[_0x8dfd4d(0x384)]({'options':{..._0x3d0cab,..._0xdbbf3b},'args':[],'tdx':_0x2622c4});gracefulExit(_0x57e05a);};},createEngageListAction=_0x1a9ff5=>{return async(_0x5ce244,_0x5caf5a)=>{const _0x2009a6=a2_0x23b4,_0x311e14=new _0x1a9ff5(),_0xf8ab15=program[_0x2009a6(0x2b4)](),_0x465412=await createTDXInstance(_0xf8ab15),_0x41e9e4=await _0x311e14[_0x2009a6(0x384)]({'options':{..._0xf8ab15,..._0x5caf5a},'args':_0x5ce244?[_0x5ce244]:[],'tdx':_0x465412});gracefulExit(_0x41e9e4);};},campaignCmd=engageCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x183))[a2_0x9f465f(0x207)](a2_0x9f465f(0x1d4));campaignCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x380))[a2_0x9f465f(0x207)]('List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x12c),a2_0x9f465f(0x108))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3e3),a2_0x9f465f(0x343))['option'](a2_0x9f465f(0x25d),a2_0x9f465f(0x35f))[a2_0x9f465f(0x166)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x9f465f(0x158)]('campaigns\x20[pattern]')[a2_0x9f465f(0x207)](a2_0x9f465f(0x17b))[a2_0x9f465f(0x23e)]('--type\x20<type>',a2_0x9f465f(0x108))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3e3),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')['option']('--workspace\x20<name>',a2_0x9f465f(0x35f))[a2_0x9f465f(0x166)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x1f9))[a2_0x9f465f(0x207)](a2_0x9f465f(0x38b))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x25d),'Workspace\x20name')['option'](a2_0x9f465f(0xee),a2_0x9f465f(0x3cc))['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x9f465f(0x158)]('create')['description'](a2_0x9f465f(0x133))[a2_0x9f465f(0x29e)](a2_0x9f465f(0x338),'Campaign\x20name')[a2_0x9f465f(0x29e)](a2_0x9f465f(0x12c),'Campaign\x20type\x20(email\x20or\x20push)')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x25d),a2_0x9f465f(0x362))['option'](a2_0x9f465f(0x119),a2_0x9f465f(0x208))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x170),a2_0x9f465f(0x2ea))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x1cd),a2_0x9f465f(0x198))['option'](a2_0x9f465f(0x1f7),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x255),a2_0x9f465f(0x3dd))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2de),a2_0x9f465f(0x220))[a2_0x9f465f(0x166)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x9f465f(0x158)]('update\x20<name-or-id>')['description']('Update\x20a\x20campaign')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x25d),a2_0x9f465f(0x35f))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x338),a2_0x9f465f(0x276))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x119),a2_0x9f465f(0x208))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x170),a2_0x9f465f(0x2ea))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x1cd),a2_0x9f465f(0x198))['option'](a2_0x9f465f(0x1f7),a2_0x9f465f(0x18e))['option'](a2_0x9f465f(0x255),a2_0x9f465f(0x3dd))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2de),a2_0x9f465f(0x220))['action'](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x9f465f(0x158)]('delete\x20<name-or-id>')['description'](a2_0x9f465f(0x242))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x25d),a2_0x9f465f(0x35f))[a2_0x9f465f(0x23e)]('--yes','Skip\x20confirmation\x20prompt')[a2_0x9f465f(0x166)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x330))[a2_0x9f465f(0x207)]('Launch\x20a\x20campaign')['option']('--workspace\x20<name>',a2_0x9f465f(0x35f))[a2_0x9f465f(0x166)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x3d8))[a2_0x9f465f(0x207)](a2_0x9f465f(0x146))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x25d),a2_0x9f465f(0x35f))['action'](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x9f465f(0x158)]('resume\x20<name-or-id>')[a2_0x9f465f(0x207)](a2_0x9f465f(0x308))['option'](a2_0x9f465f(0x25d),a2_0x9f465f(0x35f))['action'](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x15e))['description']('Duplicate\x20a\x20campaign')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x25d),a2_0x9f465f(0x35f))[a2_0x9f465f(0x166)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x32a))[a2_0x9f465f(0x207)]('Pull\x20campaigns\x20to\x20YAML\x20files')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x25d),a2_0x9f465f(0x35f))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x338),a2_0x9f465f(0x39c))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x12c),a2_0x9f465f(0x108))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x31d),a2_0x9f465f(0x1d7))[a2_0x9f465f(0x166)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x280))[a2_0x9f465f(0x207)](a2_0x9f465f(0x210))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x25d),a2_0x9f465f(0x35f))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x31d),a2_0x9f465f(0x357))[a2_0x9f465f(0x166)](createEngageAction(EngageCampaignPushCommand)),campaignCmd['command'](a2_0x9f465f(0x318))[a2_0x9f465f(0x207)]('Validate\x20campaign\x20YAML\x20files\x20locally')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x1d6),'Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x9f465f(0x166)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x260))['description'](a2_0x9f465f(0xf4));alwaysOnCampaignCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x380))[a2_0x9f465f(0x207)](a2_0x9f465f(0x36f))[a2_0x9f465f(0x23e)]('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3e3),a2_0x9f465f(0x204))[a2_0x9f465f(0x29e)](a2_0x9f465f(0x25d),a2_0x9f465f(0x362))[a2_0x9f465f(0x166)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x247))[a2_0x9f465f(0x207)]('List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x12c),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x9f465f(0x23e)]('--status\x20<status>','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')['requiredOption'](a2_0x9f465f(0x25d),a2_0x9f465f(0x362))[a2_0x9f465f(0x166)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x1f9))[a2_0x9f465f(0x207)](a2_0x9f465f(0x37b))[a2_0x9f465f(0x29e)](a2_0x9f465f(0x25d),a2_0x9f465f(0x362))[a2_0x9f465f(0x23e)]('--full',a2_0x9f465f(0x3cc))['action'](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x9f465f(0x158)]('create')[a2_0x9f465f(0x207)]('Create\x20a\x20new\x20always-on\x20campaign')['requiredOption'](a2_0x9f465f(0x338),a2_0x9f465f(0x331))[a2_0x9f465f(0x29e)](a2_0x9f465f(0x12c),a2_0x9f465f(0x1fa))[a2_0x9f465f(0x29e)]('--workspace\x20<name>',a2_0x9f465f(0x362))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x119),a2_0x9f465f(0x208))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x170),a2_0x9f465f(0x3d3))[a2_0x9f465f(0x23e)]('--enable-utm-tracking','Enable\x20UTM\x20tracking')[a2_0x9f465f(0x166)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x231))['description'](a2_0x9f465f(0x114))['requiredOption'](a2_0x9f465f(0x25d),a2_0x9f465f(0x362))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x338),'New\x20campaign\x20name')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x119),a2_0x9f465f(0x208))['option']('--segment\x20<path>',a2_0x9f465f(0x3d3))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x278),'Enable\x20UTM\x20tracking')[a2_0x9f465f(0x166)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x9f465f(0x158)]('delete\x20<name-or-id>')[a2_0x9f465f(0x207)](a2_0x9f465f(0x3dc))[a2_0x9f465f(0x29e)](a2_0x9f465f(0x25d),a2_0x9f465f(0x362))['option'](a2_0x9f465f(0x3e0),a2_0x9f465f(0x35b))[a2_0x9f465f(0x166)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x330))['description'](a2_0x9f465f(0x397))[a2_0x9f465f(0x29e)](a2_0x9f465f(0x25d),a2_0x9f465f(0x362))[a2_0x9f465f(0x166)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x3d8))[a2_0x9f465f(0x207)](a2_0x9f465f(0x139))[a2_0x9f465f(0x29e)]('--workspace\x20<name>',a2_0x9f465f(0x362))[a2_0x9f465f(0x166)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x179))['description'](a2_0x9f465f(0x1ae))[a2_0x9f465f(0x29e)](a2_0x9f465f(0x25d),a2_0x9f465f(0x362))[a2_0x9f465f(0x166)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x368))['description'](a2_0x9f465f(0x2a2))[a2_0x9f465f(0x29e)]('--workspace\x20<name>',a2_0x9f465f(0x362))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3e0),a2_0x9f465f(0x35b))[a2_0x9f465f(0x166)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x15e))[a2_0x9f465f(0x207)](a2_0x9f465f(0x219))['requiredOption'](a2_0x9f465f(0x25d),a2_0x9f465f(0x362))[a2_0x9f465f(0x29e)]('--name\x20<name>','Name\x20for\x20the\x20duplicated\x20campaign')[a2_0x9f465f(0x166)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd['command'](a2_0x9f465f(0x325))[a2_0x9f465f(0x207)](a2_0x9f465f(0x172));templateCmd['command'](a2_0x9f465f(0x380))['description'](a2_0x9f465f(0x19c))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x25d),a2_0x9f465f(0x35f))['action'](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x9f465f(0x158)]('templates\x20[pattern]')['description'](a2_0x9f465f(0x173))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x25d),a2_0x9f465f(0x35f))[a2_0x9f465f(0x166)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x9f465f(0x158)]('show\x20<name-or-id>')[a2_0x9f465f(0x207)](a2_0x9f465f(0x17a))['option']('--workspace\x20<name>','Workspace\x20name')[a2_0x9f465f(0x23e)](a2_0x9f465f(0xee),a2_0x9f465f(0x3cc))['action'](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x20f))[a2_0x9f465f(0x207)](a2_0x9f465f(0x294))[a2_0x9f465f(0x29e)](a2_0x9f465f(0x338),'Template\x20name')[a2_0x9f465f(0x29e)]('--subject\x20<subject>','Email\x20subject\x20template')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2cf),a2_0x9f465f(0x24e))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3a2),'Read\x20HTML\x20template\x20from\x20file')['option']('--workspace\x20<name>',a2_0x9f465f(0x362))[a2_0x9f465f(0x23e)](a2_0x9f465f(0xe1),a2_0x9f465f(0x123))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x106),a2_0x9f465f(0x19f),_0x127531=>{const _0xb4bd8e=a2_0x9f465f;if(![_0xb4bd8e(0x1de),_0xb4bd8e(0x273)]['includes'](_0x127531))throw new SDKError(ErrorCode[_0xb4bd8e(0x2b2)],_0xb4bd8e(0x19d)+_0x127531+'.\x20Must\x20be\x20beefree\x20or\x20grapesjs');return _0x127531;})[a2_0x9f465f(0x166)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x231))[a2_0x9f465f(0x207)](a2_0x9f465f(0x3bd))[a2_0x9f465f(0x23e)]('--workspace\x20<name>',a2_0x9f465f(0x35f))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x338),a2_0x9f465f(0x2fe))['option'](a2_0x9f465f(0x197),'Email\x20subject\x20template')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2cf),a2_0x9f465f(0x24e))['option'](a2_0x9f465f(0x3a2),'Read\x20HTML\x20template\x20from\x20file')['option'](a2_0x9f465f(0xe1),'Plaintext\x20template\x20content')[a2_0x9f465f(0x166)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x317))[a2_0x9f465f(0x207)](a2_0x9f465f(0x250))[a2_0x9f465f(0x23e)]('--workspace\x20<name>',a2_0x9f465f(0x35f))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x338),a2_0x9f465f(0x130))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x23f),a2_0x9f465f(0x35b))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x31d),'Show\x20what\x20would\x20be\x20written\x20without\x20writing')[a2_0x9f465f(0x166)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x9f465f(0x158)]('push\x20[target]')[a2_0x9f465f(0x207)](a2_0x9f465f(0x3aa))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x25d),a2_0x9f465f(0x35f))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x23f),'Skip\x20confirmation\x20prompt')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x31d),a2_0x9f465f(0x357))[a2_0x9f465f(0x166)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x318))['description'](a2_0x9f465f(0x3b1))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x1d6),'Show\x20all\x20files\x20including\x20valid\x20ones')['action'](createEngageAction(EngageTemplateValidateCommand)),templateCmd['command'](a2_0x9f465f(0x2a1))[a2_0x9f465f(0x207)](a2_0x9f465f(0x253))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x25d),a2_0x9f465f(0x35f))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3e0),a2_0x9f465f(0x35b))[a2_0x9f465f(0x166)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x9f465f(0x158)]('workspace')[a2_0x9f465f(0x207)]('Workspace\x20management');workspaceCmd['command'](a2_0x9f465f(0x380))[a2_0x9f465f(0x207)](a2_0x9f465f(0x2db))[a2_0x9f465f(0x166)](createEngageListAction(EngageWorkspacesCommand)),engageCmd['command'](a2_0x9f465f(0x3bb))[a2_0x9f465f(0x207)](a2_0x9f465f(0x11e))[a2_0x9f465f(0x166)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x1f9))[a2_0x9f465f(0x207)](a2_0x9f465f(0x141))[a2_0x9f465f(0x23e)](a2_0x9f465f(0xee),a2_0x9f465f(0x3cc))['action'](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x20f))['description'](a2_0x9f465f(0x395))[a2_0x9f465f(0x29e)]('--name\x20<name>',a2_0x9f465f(0x35f))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x119),'Workspace\x20description')[a2_0x9f465f(0x166)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x231))[a2_0x9f465f(0x207)](a2_0x9f465f(0x1aa))[a2_0x9f465f(0x23e)]('--name\x20<name>',a2_0x9f465f(0x2f6))[a2_0x9f465f(0x23e)]('--description\x20<desc>',a2_0x9f465f(0x25e))[a2_0x9f465f(0x166)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x2a1))[a2_0x9f465f(0x207)](a2_0x9f465f(0x140))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3e0),a2_0x9f465f(0x35b))[a2_0x9f465f(0x166)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x25f))[a2_0x9f465f(0x207)](a2_0x9f465f(0x2d9))[a2_0x9f465f(0x166)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x9f465f(0x158)](a2_0x9f465f(0x3fb))[a2_0x9f465f(0x207)](a2_0x9f465f(0x267));deliveryCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x2d8))[a2_0x9f465f(0x207)](a2_0x9f465f(0x21e))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x25d),'Workspace\x20name')[a2_0x9f465f(0x166)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x9f465f(0x158)](a2_0x9f465f(0x268))[a2_0x9f465f(0x207)](a2_0x9f465f(0x385)),connectionListAction=async _0x2b6bfa=>{const _0x149121=a2_0x9f465f,_0x51947e=new ConnectionListCommand(),_0x2341c6=program[_0x149121(0x2b4)](),_0x5fae02=await createTDXInstance(_0x2341c6),_0x4b6901=await _0x51947e[_0x149121(0x384)]({'options':{..._0x2341c6,..._0x2b6bfa},'args':[],'tdx':_0x5fae02});gracefulExit(_0x4b6901);};connectionCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x3b6))['description']('List\x20all\x20data\x20connections')['action'](connectionListAction),program[a2_0x9f465f(0x158)](a2_0x9f465f(0x1db),{'hidden':!![]})['description'](a2_0x9f465f(0x101))[a2_0x9f465f(0x166)](connectionListAction),connectionCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x393))['description']('Show\x20connection\x20details\x20by\x20name')[a2_0x9f465f(0x166)](async(_0x4f5321,_0x7584f4)=>{const _0x52e313=a2_0x9f465f,_0x1277bb=new ConnectionShowCommand(),_0x3d4d8c=program[_0x52e313(0x2b4)](),_0x48c56b=await createTDXInstance(_0x3d4d8c),_0x23d4ce=await _0x1277bb[_0x52e313(0x384)]({'options':{..._0x3d4d8c,..._0x7584f4},'args':[_0x4f5321],'tdx':_0x48c56b});gracefulExit(_0x23d4ce);}),connectionCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x19e))[a2_0x9f465f(0x207)](a2_0x9f465f(0x118))[a2_0x9f465f(0x166)](async(_0x38edbe,_0x574dec)=>{const _0x9d726=a2_0x9f465f,_0x119568=new ConnectionSchemaCommand(),_0xfea412=program['opts'](),_0x1a9c8c=await createTDXInstance(_0xfea412),_0x4361c4=await _0x119568[_0x9d726(0x384)]({'options':{..._0xfea412,..._0x574dec},'args':[_0x38edbe],'tdx':_0x1a9c8c});gracefulExit(_0x4361c4);}),connectionCmd['command'](a2_0x9f465f(0x3ca))[a2_0x9f465f(0x207)](a2_0x9f465f(0x295))[a2_0x9f465f(0x166)](async _0x106a17=>{const _0x35cbdb=a2_0x9f465f,_0x5859e9=new ConnectionTypesCommand(),_0x335c39=program[_0x35cbdb(0x2b4)](),_0x2ff440=await createTDXInstance(_0x335c39),_0x430320=await _0x5859e9[_0x35cbdb(0x384)]({'options':{..._0x335c39,..._0x106a17},'args':[],'tdx':_0x2ff440});gracefulExit(_0x430320);}),connectionCmd[a2_0x9f465f(0x158)]('settings\x20<type>')[a2_0x9f465f(0x207)](a2_0x9f465f(0x238))['action'](async(_0xa19088,_0x379d24)=>{const _0x2e5192=a2_0x9f465f,_0x4f5492=new ConnectionSettingsCommand(),_0x29a163=program[_0x2e5192(0x2b4)](),_0x523364=await createTDXInstance(_0x29a163),_0x398609=await _0x4f5492[_0x2e5192(0x384)]({'options':{..._0x29a163,..._0x379d24},'args':[_0xa19088],'tdx':_0x523364});gracefulExit(_0x398609);});const casCmd=program['command'](a2_0x9f465f(0x378))[a2_0x9f465f(0x207)](a2_0x9f465f(0x313));casCmd['command'](a2_0x9f465f(0x3b6))[a2_0x9f465f(0x207)](a2_0x9f465f(0x23d))[a2_0x9f465f(0x166)](async _0x2c1981=>{const _0x3d5ddb=a2_0x9f465f,_0x2dfb50=new CASListCommand(),_0x9cf0a6=program[_0x3d5ddb(0x2b4)](),_0x435e52=await createTDXInstance(_0x9cf0a6),_0x29daa3=await _0x2dfb50[_0x3d5ddb(0x384)]({'options':{..._0x9cf0a6,..._0x2c1981},'args':[],'tdx':_0x435e52});gracefulExit(_0x29daa3);}),casCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x34e))[a2_0x9f465f(0x207)](a2_0x9f465f(0x3f0))[a2_0x9f465f(0x166)](async(_0xafe595,_0x18a925)=>{const _0x2be9a2=a2_0x9f465f,_0x513042=new CASDescCommand(),_0x2f87c4=program[_0x2be9a2(0x2b4)](),_0xe8a32b=await createTDXInstance(_0x2f87c4),_0x2c72ef=await _0x513042['run']({'options':{..._0x2f87c4,..._0x18a925},'args':_0xafe595?[_0xafe595]:[],'tdx':_0xe8a32b});gracefulExit(_0x2c72ef);}),casCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x1ac))[a2_0x9f465f(0x207)](a2_0x9f465f(0x1dc))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x31e),a2_0x9f465f(0x323))[a2_0x9f465f(0x23e)]('--dry-run','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')[a2_0x9f465f(0x166)](async(_0x120b77,_0x28f89a)=>{const _0x1a92ce=a2_0x9f465f,_0xfcbe0a=new CASPullCommand(),_0x2ab6ab=program['opts'](),_0x4305dd=await createTDXInstance(_0x2ab6ab),_0x3e58e0=await _0xfcbe0a[_0x1a92ce(0x384)]({'options':{..._0x2ab6ab,..._0x28f89a},'args':_0x120b77?[_0x120b77]:[],'tdx':_0x4305dd});gracefulExit(_0x3e58e0);}),casCmd[a2_0x9f465f(0x158)]('push\x20[target]')['description']('Push\x20YAML\x20files\x20to\x20CAS\x20API')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x31d),a2_0x9f465f(0x3a5))[a2_0x9f465f(0x166)](async(_0x2249e0,_0x59c8a9)=>{const _0x29fb50=a2_0x9f465f,_0x5b203e=new CASPushCommand(),_0x5f0785=program['opts'](),_0x38cc19=await createTDXInstance(_0x5f0785),_0x3a1bc=await _0x5b203e[_0x29fb50(0x384)]({'options':{..._0x5f0785,..._0x59c8a9},'args':_0x2249e0?[_0x2249e0]:[],'tdx':_0x38cc19});gracefulExit(_0x3a1bc);}),casCmd[a2_0x9f465f(0x158)]('preview\x20<segment_name>')[a2_0x9f465f(0x207)](a2_0x9f465f(0x178))[a2_0x9f465f(0x23e)]('--audience\x20<name>','Composable\x20audience\x20name')[a2_0x9f465f(0x166)](async(_0x427d1d,_0x3e23fd)=>{const _0x1589a9=a2_0x9f465f,_0x9ebb6a=new CASPreviewCommand(),_0x291e2f=program[_0x1589a9(0x2b4)](),_0x176105=await createTDXInstance(_0x291e2f),_0x3cf3aa=await _0x9ebb6a['run']({'options':{..._0x291e2f,..._0x3e23fd},'args':[_0x427d1d,_0x3e23fd[_0x1589a9(0x3e5)]],'tdx':_0x176105});gracefulExit(_0x3cf3aa);});const casSgCmd=casCmd[a2_0x9f465f(0x158)]('sg')[a2_0x9f465f(0x207)]('Composable\x20segment\x20commands');casSgCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x28d))[a2_0x9f465f(0x207)](a2_0x9f465f(0x352))[a2_0x9f465f(0x166)](async(_0x257b02,_0x3f5c9a)=>{const _0x541f61=a2_0x9f465f,_0x4db571=new CASSegmentListCommand(),_0x109c93=program['opts'](),_0x4e75f3=await createTDXInstance(_0x109c93),_0x1ed482=await _0x4db571[_0x541f61(0x384)]({'options':{..._0x109c93,..._0x3f5c9a},'args':_0x257b02?[_0x257b02]:[],'tdx':_0x4e75f3});gracefulExit(_0x1ed482);});const journeyCmd=program[a2_0x9f465f(0x158)](a2_0x9f465f(0x300))['description'](a2_0x9f465f(0xf7)),journeyListAction=async(_0x2f6e6e,_0x54e0a8)=>{const _0x57b316=a2_0x9f465f,_0x53dc76=new JourneyListCommand(),_0x1ecf1e=program['opts'](),_0x4433e4=await createTDXInstance(_0x1ecf1e),_0x4675b4=await _0x53dc76[_0x57b316(0x384)]({'options':{..._0x1ecf1e,..._0x54e0a8},'args':_0x2f6e6e?[_0x2f6e6e]:[],'tdx':_0x4433e4});gracefulExit(_0x4675b4);};journeyCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x380))[a2_0x9f465f(0x207)](a2_0x9f465f(0x1cc))[a2_0x9f465f(0x166)](journeyListAction),journeyCmd[a2_0x9f465f(0x158)]('view\x20<name-or-path>')[a2_0x9f465f(0x207)]('Show\x20journey\x20details')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x12f),a2_0x9f465f(0x132))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x344),a2_0x9f465f(0x176))[a2_0x9f465f(0x166)](async(_0xec3579,_0x25c210)=>{const _0x3a0817=new JourneyViewCommand(),_0x1e54a5=program['opts'](),_0x16ec88=await createTDXInstance(_0x1e54a5),_0x2ba08d=await _0x3a0817['run']({'options':{..._0x1e54a5,..._0x25c210},'args':[_0xec3579],'tdx':_0x16ec88});gracefulExit(_0x2ba08d);}),journeyCmd['command'](a2_0x9f465f(0x326))[a2_0x9f465f(0x207)]('Show\x20journey\x20statistics')[a2_0x9f465f(0x23e)]('--stage\x20<name>',a2_0x9f465f(0x1a9))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2ba),a2_0x9f465f(0x203))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x224),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')['option'](a2_0x9f465f(0x212),a2_0x9f465f(0x3ef))[a2_0x9f465f(0x166)](async(_0x5775a0,_0xa5f890)=>{const _0x3359af=a2_0x9f465f,_0x2dc1ad=new JourneyStatsCommand(),_0x5d2f9d=program[_0x3359af(0x2b4)](),_0x513935=await createTDXInstance(_0x5d2f9d),_0x29dbac=await _0x2dc1ad[_0x3359af(0x384)]({'options':{..._0x5d2f9d,..._0xa5f890},'args':[_0x5775a0],'tdx':_0x513935});gracefulExit(_0x29dbac);}),journeyCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x129))[a2_0x9f465f(0x207)]('Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x12c),a2_0x9f465f(0x11d))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2ba),'Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x224),a2_0x9f465f(0x3ab))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2c6),a2_0x9f465f(0x14f),_0x3c10c9=>{const _0x12fa25=a2_0x9f465f,_0x25a465=parseInt(_0x3c10c9,0xa);if(isNaN(_0x25a465))throw new Error(_0x12fa25(0x314)+_0x3c10c9+'\x22.\x20Must\x20be\x20a\x20number.');return _0x25a465;})[a2_0x9f465f(0x166)](async(_0x33156b,_0x23f3ff)=>{const _0x25a1dd=a2_0x9f465f,_0x49afde=new JourneyTrafficCommand(),_0xce56c=program[_0x25a1dd(0x2b4)](),_0x1b1b1c=await createTDXInstance(_0xce56c),_0x520c25=await _0x49afde[_0x25a1dd(0x384)]({'options':{..._0xce56c,..._0x23f3ff},'args':[_0x33156b],'tdx':_0x1b1b1c});gracefulExit(_0x520c25);}),journeyCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x287))['description'](a2_0x9f465f(0x3fd))[a2_0x9f465f(0x166)](async(_0x262abd,_0x4f257c)=>{const _0x4fa4a4=a2_0x9f465f,_0x2b860a=new JourneyPauseCommand(),_0x28f22a=program[_0x4fa4a4(0x2b4)](),_0x4c9b96=await createTDXInstance(_0x28f22a),_0x9e2719=await _0x2b860a['run']({'options':{..._0x28f22a,..._0x4f257c},'args':[_0x262abd],'tdx':_0x4c9b96});gracefulExit(_0x9e2719);}),journeyCmd['command'](a2_0x9f465f(0x3a0))[a2_0x9f465f(0x207)](a2_0x9f465f(0x2ad))[a2_0x9f465f(0x166)](async(_0x58875d,_0x337f9e)=>{const _0x18a50d=a2_0x9f465f,_0x2fc10d=new JourneyResumeCommand(),_0xf38447=program[_0x18a50d(0x2b4)](),_0x1fbb30=await createTDXInstance(_0xf38447),_0x348f85=await _0x2fc10d[_0x18a50d(0x384)]({'options':{..._0xf38447,..._0x337f9e},'args':[_0x58875d],'tdx':_0x1fbb30});gracefulExit(_0x348f85);}),journeyCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x1ac))[a2_0x9f465f(0x207)](a2_0x9f465f(0x103))['option'](a2_0x9f465f(0x31d),a2_0x9f465f(0x10d))['action'](async(_0x59cf5a,_0x3b6b18)=>{const _0x36b246=a2_0x9f465f,_0x2a9114=new JourneyPullCommand(),_0x59fae3=program[_0x36b246(0x2b4)](),_0x1c5d9b=await createTDXInstance(_0x59fae3),_0x28a030=await _0x2a9114[_0x36b246(0x384)]({'options':{..._0x59fae3,..._0x3b6b18},'args':_0x59cf5a?[_0x59cf5a]:[],'tdx':_0x1c5d9b});gracefulExit(_0x28a030);}),journeyCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x280))[a2_0x9f465f(0x207)](a2_0x9f465f(0x2ed))['action'](async(_0x4bfccd,_0x35830f)=>{const _0x5b0b22=a2_0x9f465f,_0x37705=new JourneyPushCommand(),_0x2f451d=program[_0x5b0b22(0x2b4)](),_0x1eb4f=await createTDXInstance(_0x2f451d),_0x4df043=await _0x37705[_0x5b0b22(0x384)]({'options':{..._0x2f451d,..._0x35830f},'args':_0x4bfccd?[_0x4bfccd]:[],'tdx':_0x1eb4f});gracefulExit(_0x4df043);}),journeyCmd['command'](a2_0x9f465f(0x117))[a2_0x9f465f(0x207)]('Show\x20journey\x20table\x20column-to-step\x20mapping')[a2_0x9f465f(0x166)](async(_0x34c336,_0xd22f33)=>{const _0x3c7da7=a2_0x9f465f,_0x325ace=new JourneyColumnsCommand(),_0x56f75c=program[_0x3c7da7(0x2b4)](),_0x414152=await createTDXInstance(_0x56f75c),_0x47b769=await _0x325ace[_0x3c7da7(0x384)]({'options':{..._0x56f75c,..._0xd22f33},'args':[_0x34c336],'tdx':_0x414152});gracefulExit(_0x47b769);}),journeyCmd['command'](a2_0x9f465f(0x30d))[a2_0x9f465f(0x207)](a2_0x9f465f(0x370))[a2_0x9f465f(0x166)](async(_0x3900bd,_0x43ace9)=>{const _0x24d565=a2_0x9f465f,_0x31b3e0=new JourneyActivationsCommand(),_0x396ede=program[_0x24d565(0x2b4)](),_0x2ed5ea=await createTDXInstance(_0x396ede),_0x51258b=await _0x31b3e0[_0x24d565(0x384)]({'options':{..._0x396ede,..._0x43ace9},'args':[_0x3900bd],'tdx':_0x2ed5ea});gracefulExit(_0x51258b);}),journeyCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x29b))['description']('List\x20all\x20versions\x20of\x20a\x20journey')[a2_0x9f465f(0x166)](async(_0x24b2dc,_0x5010c9)=>{const _0x160aa8=a2_0x9f465f,_0x4c3d20=new JourneyVersionsCommand(),_0x29f8a5=program[_0x160aa8(0x2b4)](),_0x38d099=await createTDXInstance(_0x29f8a5),_0x1445eb=await _0x4c3d20[_0x160aa8(0x384)]({'options':{..._0x29f8a5,..._0x5010c9},'args':[_0x24b2dc],'tdx':_0x38d099});gracefulExit(_0x1445eb);});const journeyVersionCmd=journeyCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x1fc))[a2_0x9f465f(0x207)]('Journey\x20version\x20management');journeyVersionCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x12a))['description'](a2_0x9f465f(0xec))[a2_0x9f465f(0x166)](async(_0x310a28,_0x23e64c)=>{const _0x302c38=a2_0x9f465f,_0x953263=new JourneyVersionCreateCommand(),_0x256d58=program[_0x302c38(0x2b4)](),_0x4dd8ea=await createTDXInstance(_0x256d58),_0x29eb43=await _0x953263[_0x302c38(0x384)]({'options':{..._0x256d58,..._0x23e64c},'args':[_0x310a28],'tdx':_0x4dd8ea});gracefulExit(_0x29eb43);}),journeyVersionCmd[a2_0x9f465f(0x158)]('view\x20<name-or-path>')[a2_0x9f465f(0x207)](a2_0x9f465f(0x150))[a2_0x9f465f(0x29e)](a2_0x9f465f(0x349),a2_0x9f465f(0x33f))[a2_0x9f465f(0x166)](async(_0x5ba31d,_0x156222)=>{const _0x10a29e=a2_0x9f465f,_0x3e7c93=new JourneyVersionViewCommand(),_0x119534=program[_0x10a29e(0x2b4)](),_0x42ed8f=await createTDXInstance(_0x119534),_0x2c03f7=await _0x3e7c93[_0x10a29e(0x384)]({'options':{..._0x119534,..._0x156222},'args':[_0x5ba31d],'tdx':_0x42ed8f});gracefulExit(_0x2c03f7);}),journeyCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x318))[a2_0x9f465f(0x207)](a2_0x9f465f(0x3a4))[a2_0x9f465f(0x166)](async(_0x105a29,_0x1cbe9c)=>{const _0x3615a7=new JourneyValidateCommand(),_0x1478cf=program['opts'](),_0x526e69=await createTDXInstance(_0x1478cf),_0x246acd=await _0x3615a7['run']({'options':{..._0x1478cf,..._0x1cbe9c},'args':_0x105a29?[_0x105a29]:[],'tdx':_0x526e69});gracefulExit(_0x246acd);}),program[a2_0x9f465f(0x158)](a2_0x9f465f(0x379))[a2_0x9f465f(0x207)]('List\x20journeys\x20(alias\x20for\x20journey\x20list)')[a2_0x9f465f(0x166)](journeyListAction);const agentSyncCmd=program[a2_0x9f465f(0x158)]('agent')['description'](a2_0x9f465f(0x328));agentSyncCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x2e7))[a2_0x9f465f(0x207)]('Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files')[a2_0x9f465f(0x23e)]('-o,\x20--output\x20<dir>','Output\x20directory')['option'](a2_0x9f465f(0x3a3),a2_0x9f465f(0x1ff))['option'](a2_0x9f465f(0x39b),a2_0x9f465f(0x2cb))['action'](async(_0x2a75d1,_0x24d4f6,_0x365ff0)=>{const _0xda64f0=a2_0x9f465f,_0x1e4920=new AgentPullCommand(),_0x3dad48=program[_0xda64f0(0x2b4)](),_0x2af5ad=await createTDXInstance(_0x3dad48),_0x169ba6=[];if(_0x2a75d1)_0x169ba6[_0xda64f0(0x3e9)](_0x2a75d1);if(_0x24d4f6)_0x169ba6[_0xda64f0(0x3e9)](_0x24d4f6);const _0x540bc8=await _0x1e4920[_0xda64f0(0x384)]({'options':{..._0x3dad48,..._0x365ff0},'args':_0x169ba6,'tdx':_0x2af5ad});gracefulExit(_0x540bc8);}),agentSyncCmd[a2_0x9f465f(0x158)]('push\x20[path]')[a2_0x9f465f(0x207)](a2_0x9f465f(0x2c3))['option'](a2_0x9f465f(0x3a3),'Push\x20without\x20confirmation')[a2_0x9f465f(0x166)](async(_0xfd3c0a,_0x447481)=>{const _0x127e12=a2_0x9f465f,_0x55ba40=new AgentPushCommand(),_0x10c00d=program[_0x127e12(0x2b4)](),_0x4695f8=await createTDXInstance(_0x10c00d),_0x11956d=await _0x55ba40[_0x127e12(0x384)]({'options':{..._0x10c00d,..._0x447481},'args':_0xfd3c0a?[_0xfd3c0a]:[],'tdx':_0x4695f8});gracefulExit(_0x11956d);}),agentSyncCmd['command']('clone\x20[source]')[a2_0x9f465f(0x207)](a2_0x9f465f(0x20e))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x377),a2_0x9f465f(0x1e1))[a2_0x9f465f(0x166)](async(_0x29e4f4,_0x4b5cb4)=>{const _0x3fd931=a2_0x9f465f,_0x297c25=new AgentCloneCommand(),_0x149bbc=program[_0x3fd931(0x2b4)](),_0xad7924=await createTDXInstance(_0x149bbc),_0x4be8b0=await _0x297c25[_0x3fd931(0x384)]({'options':{..._0x149bbc,..._0x4b5cb4},'args':_0x29e4f4?[_0x29e4f4]:[],'tdx':_0xad7924});gracefulExit(_0x4be8b0);}),agentSyncCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x202))['description']('Run\x20tests\x20for\x20an\x20LLM\x20agent')[a2_0x9f465f(0x23e)](a2_0x9f465f(0xea),a2_0x9f465f(0x20c))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x310),a2_0x9f465f(0x159))['option'](a2_0x9f465f(0x31d),a2_0x9f465f(0x364))['option'](a2_0x9f465f(0x3fc),'Generate\x20test\x20conversations\x20without\x20evaluation')['option'](a2_0x9f465f(0x149),a2_0x9f465f(0x3cd))[a2_0x9f465f(0x166)](async(_0x5379c4,_0x3412b4)=>{const _0x247f7e=a2_0x9f465f,_0x7712d9=new AgentTestCommand(),_0x2723ac=program[_0x247f7e(0x2b4)](),_0x3c1a92=await createTDXInstance(_0x2723ac),_0x38fa44=await _0x7712d9[_0x247f7e(0x384)]({'options':{..._0x2723ac,..._0x3412b4},'args':_0x5379c4?[_0x5379c4]:[],'tdx':_0x3c1a92});gracefulExit(_0x38fa44);}),agentSyncCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x380))['description'](a2_0x9f465f(0x37d))['action'](llmAgentListAction),agentSyncCmd['command']('show\x20<agent-name>')['description']('Show\x20agent\x20details')[a2_0x9f465f(0x166)](async(_0x13512e,_0x271460)=>{const _0x4b9b5b=a2_0x9f465f,_0x459a31=new LLMAgentShowCommand(),_0x8084cc=program[_0x4b9b5b(0x2b4)](),_0x425ed1=await createTDXInstance(_0x8084cc),_0x5eaf7a=await _0x459a31[_0x4b9b5b(0x384)]({'options':{..._0x8084cc,..._0x271460},'args':[_0x13512e],'tdx':_0x425ed1});gracefulExit(_0x5eaf7a);}),agentSyncCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x369))['description'](a2_0x9f465f(0x3f9))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x30b),a2_0x9f465f(0x392))['option'](a2_0x9f465f(0xf8),a2_0x9f465f(0x299),a2_0x9f465f(0x1b0))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x27a),a2_0x9f465f(0x3f1))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x1c5),a2_0x9f465f(0x14c),'4')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3ed),a2_0x9f465f(0x12e),a2_0x9f465f(0x271))[a2_0x9f465f(0x166)](async(_0x6d3d2c,_0x891d05)=>{const _0x2620c4=a2_0x9f465f,_0x59c5d9=new LLMAgentCreateCommand(),_0x509217=program[_0x2620c4(0x2b4)](),_0x2fb88d=await createTDXInstance(_0x509217),_0x251e04=await _0x59c5d9['run']({'options':{..._0x509217,..._0x891d05},'args':[_0x6d3d2c],'tdx':_0x2fb88d});gracefulExit(_0x251e04);}),agentSyncCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x3c7))[a2_0x9f465f(0x207)]('Update\x20an\x20existing\x20agent')['option'](a2_0x9f465f(0x2d0),a2_0x9f465f(0x1bc))['option']('--prompt\x20<text>',a2_0x9f465f(0x147))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2ff),a2_0x9f465f(0x28f))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x27a),a2_0x9f465f(0x3f1))[a2_0x9f465f(0x166)](async(_0x435505,_0x1a7826)=>{const _0x416279=a2_0x9f465f,_0x5a1bac=new LLMAgentUpdateCommand(),_0x18ef44=program[_0x416279(0x2b4)](),_0x218add=await createTDXInstance(_0x18ef44),_0x46e889=await _0x5a1bac[_0x416279(0x384)]({'options':{..._0x18ef44,..._0x1a7826},'args':[_0x435505],'tdx':_0x218add});gracefulExit(_0x46e889);}),agentSyncCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x1fd))[a2_0x9f465f(0x207)](a2_0x9f465f(0x340))[a2_0x9f465f(0x166)](async(_0x23ce7d,_0x2cfc6b)=>{const _0x45eae2=a2_0x9f465f,_0x5f4f02=new LLMAgentDeleteCommand(),_0x3f7004=program[_0x45eae2(0x2b4)](),_0x1e338f=await createTDXInstance(_0x3f7004),_0x2fa35a=await _0x5f4f02[_0x45eae2(0x384)]({'options':{..._0x3f7004,..._0x2cfc6b},'args':[_0x23ce7d],'tdx':_0x1e338f});gracefulExit(_0x2fa35a);});const workCmd=program[a2_0x9f465f(0x158)](a2_0x9f465f(0x1f6))[a2_0x9f465f(0x207)](a2_0x9f465f(0x37a));workCmd[a2_0x9f465f(0x23e)](a2_0x9f465f(0xe9),a2_0x9f465f(0x259))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3f5),'Include\x20all\x20items\x20(no\x20stale\x20filtering)')[a2_0x9f465f(0x166)](workSummaryAction),workCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x209))[a2_0x9f465f(0x207)]('Initialize\x20a\x20new\x20workspace')['option'](a2_0x9f465f(0x3da),'Link\x20workspace\x20to\x20a\x20GitHub\x20repository')[a2_0x9f465f(0x166)](workInitAction),workCmd[a2_0x9f465f(0x158)]('new\x20<title>')[a2_0x9f465f(0x207)](a2_0x9f465f(0x10e))['option'](a2_0x9f465f(0x2d7),a2_0x9f465f(0x2e4),a2_0x9f465f(0x248))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x310),'Comma-separated\x20tags')['option'](a2_0x9f465f(0x2b0),'Priority\x20(critical,\x20high,\x20medium,\x20low)')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x195),a2_0x9f465f(0x1ec))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x190),a2_0x9f465f(0x246))['option']('--status\x20<status>',a2_0x9f465f(0x232))[a2_0x9f465f(0x23e)](a2_0x9f465f(0x2a7),'Assignee')['action'](workNewAction),workCmd[a2_0x9f465f(0x158)]('move\x20<name>\x20<status>')[a2_0x9f465f(0x207)]('Transition\x20a\x20task\x20to\x20a\x20new\x20status')['action'](workMoveAction),workCmd['command'](a2_0x9f465f(0x345))[a2_0x9f465f(0x207)](a2_0x9f465f(0x1d9))[a2_0x9f465f(0x23e)](a2_0x9f465f(0xe9),'Show\x20items\x20updated\x20within\x20N\x20days')[a2_0x9f465f(0x23e)](a2_0x9f465f(0x3f5),'Include\x20all\x20items\x20(no\x20stale\x20filtering)')[a2_0x9f465f(0x166)](workBoardAction),workCmd[a2_0x9f465f(0x158)]('show\x20<name>')[a2_0x9f465f(0x207)](a2_0x9f465f(0x13f))[a2_0x9f465f(0x166)](workShowAction),workCmd['command'](a2_0x9f465f(0x2aa))[a2_0x9f465f(0x207)](a2_0x9f465f(0x316))['action'](workLinksAction),workCmd[a2_0x9f465f(0x158)](a2_0x9f465f(0x168))[a2_0x9f465f(0x207)](a2_0x9f465f(0x329))[a2_0x9f465f(0x166)](workOpenAction),program[a2_0x9f465f(0x158)](a2_0x9f465f(0x3eb),{'hidden':!![]})[a2_0x9f465f(0x166)](()=>{const _0x5e9d47=a2_0x9f465f;function _0x17ff4f(_0xf7bcd8,_0xd89762){const _0x3859c8=a2_0x23b4,_0x2a46b7=[];for(const _0xcbe129 of _0xf7bcd8[_0x3859c8(0x1a6)]){if(_0xcbe129['_hidden'])continue;const _0x479b04=_0xd89762?_0xd89762+'\x20'+_0xcbe129[_0x3859c8(0x321)]():_0xcbe129['name'](),_0xf6e47e=_0x479b04[_0x3859c8(0x20b)]('\x20')[0x0],_0x4f646f=COMMAND_CATEGORIES['find'](_0x4f6147=>_0x4f6147[_0x3859c8(0x1a6)][_0x3859c8(0x337)](_0xf6e47e)),_0x2362a1=_0x4f646f?.['name']??'';if(_0xcbe129[_0x3859c8(0x1a6)][_0x3859c8(0x148)]>0x0)_0x2a46b7[_0x3859c8(0x3e9)](..._0x17ff4f(_0xcbe129,_0x479b04));else{const _0x1b219a=(_0xcbe129[_0x3859c8(0x309)]||[])['map'](_0x519f74=>{const _0x283878=_0x3859c8,_0x554895=_0x519f74[_0x283878(0x27d)]?_0x519f74[_0x283878(0x321)]()+_0x283878(0x1c8):_0x519f74[_0x283878(0x321)]();return _0x519f74[_0x283878(0x1f8)]?'<'+_0x554895+'>':'['+_0x554895+']';})['join']('\x20'),_0x4f43b1=_0xcbe129[_0x3859c8(0x266)][_0x3859c8(0x391)](_0x4f15ee=>!_0x4f15ee['hidden']&&_0x4f15ee[_0x3859c8(0x237)]!==_0x3859c8(0x15a))['map'](_0x4f4fee=>({'flags':_0x4f4fee[_0x3859c8(0x2b7)],'description':_0x4f4fee['description']}));_0x2a46b7['push']({'name':_0x479b04,'description':_0xcbe129[_0x3859c8(0x207)](),'group':_0x2362a1,'usage':_0x1b219a,'options':_0x4f43b1});}}return _0x2a46b7;}console[_0x5e9d47(0x2a0)](JSON[_0x5e9d47(0x1cb)](_0x17ff4f(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x2f69ef=a2_0x9f465f,_0x2f7449=!process[_0x2f69ef(0x32c)][_0x2f69ef(0x3ae)](0x2)[_0x2f69ef(0x148)];showBriefHelp=_0x2f7449,program[_0x2f69ef(0x358)](process['argv']);_0x2f7449&&program[_0x2f69ef(0x26c)]();const _0x290015=process[_0x2f69ef(0x32c)][0x2]===_0x2f69ef(0x218);if(process[_0x2f69ef(0x1a2)][_0x2f69ef(0x33e)]&&process['argv'][_0x2f69ef(0x148)]>0x2&&!isDevVersion()&&!_0x290015){const _0x3bf8ae=loadReleaseChannel();checkForUpdate(currentVersion,_0x3bf8ae)[_0x2f69ef(0x3d6)](_0x16488f=>{_0x16488f&&displayUpdateNotification(_0x16488f);})['catch'](()=>{});}}
|
|
1
|
+
const a2_0x19269a=a2_0x7b5a;(function(_0x337392,_0x33ca35){const _0xc6b52d=a2_0x7b5a,_0x35c301=_0x337392();while(!![]){try{const _0x315cb0=parseInt(_0xc6b52d(0x133))/0x1+parseInt(_0xc6b52d(0x26a))/0x2+parseInt(_0xc6b52d(0x189))/0x3*(-parseInt(_0xc6b52d(0x306))/0x4)+parseInt(_0xc6b52d(0x401))/0x5+-parseInt(_0xc6b52d(0x3c5))/0x6*(-parseInt(_0xc6b52d(0x260))/0x7)+parseInt(_0xc6b52d(0x37b))/0x8+-parseInt(_0xc6b52d(0x3b9))/0x9;if(_0x315cb0===_0x33ca35)break;else _0x35c301['push'](_0x35c301['shift']());}catch(_0x34eeea){_0x35c301['push'](_0x35c301['shift']());}}}(a2_0x12fd,0xb8d92));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[a2_0x19269a(0x20b)][a2_0x19269a(0x21d)]('--version')){let versionOutput=a2_0x19269a(0x2e9)+currentVersion;buildInfo[a2_0x19269a(0x331)]&&!currentVersion[a2_0x19269a(0x21d)](buildInfo[a2_0x19269a(0x331)])&&(versionOutput+='\x20('+buildInfo[a2_0x19269a(0x331)]+')'),buildInfo[a2_0x19269a(0x3d5)]&&(versionOutput+=a2_0x19269a(0x3fe)+buildInfo[a2_0x19269a(0x3d5)]),console['log'](versionOutput),process[a2_0x19269a(0x410)](0x0);}const program=new Command();export function mergeCommandOptions(_0x2df78d,_0x114d2d){const _0x5af692=a2_0x19269a,_0x1b34e4={..._0x2df78d};for(const [_0x3ee3d6,_0x1591af]of Object[_0x5af692(0x24c)](_0x114d2d)){_0x1591af!==undefined&&(_0x1b34e4[_0x3ee3d6]=_0x1591af);}return _0x1b34e4;}let showBriefHelp=![],description=a2_0x19269a(0x16f);buildInfo[a2_0x19269a(0x331)]&&!currentVersion[a2_0x19269a(0x21d)](buildInfo[a2_0x19269a(0x331)])?description+=a2_0x19269a(0x42b)+currentVersion+'\x20('+buildInfo[a2_0x19269a(0x331)]+')':description+=a2_0x19269a(0x42b)+currentVersion;program['name']('tdx')[a2_0x19269a(0xf3)](description),program[a2_0x19269a(0x3db)](a2_0x19269a(0x177),'Change\x20to\x20directory\x20before\x20executing\x20command')['option'](a2_0x19269a(0x1c5),a2_0x19269a(0x109))[a2_0x19269a(0x3db)](a2_0x19269a(0x320),'TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','us01')[a2_0x19269a(0x3db)](a2_0x19269a(0x346),a2_0x19269a(0x249))['option'](a2_0x19269a(0x2af),a2_0x19269a(0x25a))[a2_0x19269a(0x3db)](a2_0x19269a(0x307),a2_0x19269a(0x301))[a2_0x19269a(0x3db)]('--jsonl',a2_0x19269a(0x2b8))['option']('--tsv',a2_0x19269a(0x244))[a2_0x19269a(0x3db)](a2_0x19269a(0x2fa),a2_0x19269a(0x26d))[a2_0x19269a(0x3db)](a2_0x19269a(0x138),a2_0x19269a(0x1f8))[a2_0x19269a(0x3db)](a2_0x19269a(0x2cd),a2_0x19269a(0x22c),![])[a2_0x19269a(0x3db)](a2_0x19269a(0x387),a2_0x19269a(0x233),![])[a2_0x19269a(0x3db)]('-v,\x20--verbose',a2_0x19269a(0x1b3),![])['option'](a2_0x19269a(0x407),'Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)')[a2_0x19269a(0x3db)](a2_0x19269a(0x225),'Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')['option']('--timeout\x20<seconds>',a2_0x19269a(0x2f9),'30')[a2_0x19269a(0x3db)](a2_0x19269a(0x2ca),a2_0x19269a(0x1da),![])[a2_0x19269a(0x3db)]('-y,\x20--yes',a2_0x19269a(0x31b),![])[a2_0x19269a(0x3db)](a2_0x19269a(0x412),a2_0x19269a(0x3e7))[a2_0x19269a(0x3db)]('--parent-segment\x20<name>',a2_0x19269a(0x1d5))['option'](a2_0x19269a(0x2fc),a2_0x19269a(0x326)),program[a2_0x19269a(0x36f)]({'formatHelp':(_0x3e5234,_0x4907ef)=>{const _0x161aee=a2_0x19269a,_0x4e7136=_0x4907ef[_0x161aee(0x2a9)](_0x3e5234,_0x4907ef),_0x328613=0x2,_0x1d2ef7=0x2;function _0x20cf36(_0x35a9a1){const _0xac04d7=_0x161aee,_0x22cbbd=_0x35a9a1;return!!(_0x22cbbd[_0xac04d7(0x359)]||_0x22cbbd[_0xac04d7(0x149)]);}function _0x30bbbb(_0x4de1dd,_0x2c0f60){const _0x14ef88=_0x161aee;if(_0x2c0f60){const _0x166790=''+_0x4de1dd[_0x14ef88(0x17b)](_0x4e7136+_0x1d2ef7)+_0x2c0f60;return _0x166790;}return _0x4de1dd;}function _0x2e00de(_0x46209d){const _0x56144b=_0x161aee;return _0x46209d[_0x56144b(0x315)]('\x0a')[_0x56144b(0x2e7)](/^/gm,'\x20'['repeat'](_0x328613));}const _0x14c54b=[];_0x14c54b[_0x161aee(0x3ee)](_0x161aee(0x141)+_0x4907ef['commandUsage'](_0x3e5234));const _0x7ba198=_0x4907ef['commandDescription'](_0x3e5234);_0x7ba198&&(_0x14c54b['push'](''),_0x14c54b[_0x161aee(0x3ee)](_0x7ba198));const _0x128932=_0x3e5234[_0x161aee(0x3a9)][_0x161aee(0x3bc)](_0x5af633=>!_0x20cf36(_0x5af633));if(_0x128932[_0x161aee(0x314)]>0x0){if(_0x3e5234[_0x161aee(0x2b1)]()===_0x161aee(0x3bb)){const _0x48e360=_0x3e5234[_0x161aee(0x25b)](),_0x4738a8=!_0x48e360[_0x161aee(0x20a)]&&process['stdout'][_0x161aee(0x3d3)],_0x58c452=COMMAND_CATEGORIES,_0x387ec7=(_0x4436d0,_0x5156b1)=>_0x4738a8?_0x5156b1(_0x4436d0):_0x4436d0,_0x5ed07=new Map();_0x128932[_0x161aee(0x209)](_0x4b0c53=>{const _0x55d500=_0x161aee;_0x5ed07['set'](_0x4b0c53[_0x55d500(0x2b1)](),_0x4b0c53);}),_0x58c452[_0x161aee(0x209)](_0x217086=>{const _0x4688d8=_0x161aee,_0x1a3561=_0x217086[_0x4688d8(0x3a9)][_0x4688d8(0x40b)](_0x299769=>_0x5ed07['get'](_0x299769)??[]);if(_0x1a3561['length']>0x0){_0x14c54b[_0x4688d8(0x3ee)](''),_0x14c54b[_0x4688d8(0x3ee)](_0x387ec7(_0x217086[_0x4688d8(0x2b1)]+':',_0x217086[_0x4688d8(0x184)]));const _0x3b90f8=_0x1a3561[_0x4688d8(0x29f)](_0x5f526c=>{const _0x131fb6=_0x4907ef['subcommandTerm'](_0x5f526c),_0x13d71b=_0x4907ef['subcommandDescription'](_0x5f526c);return _0x30bbbb(_0x131fb6,_0x13d71b);});_0x14c54b[_0x4688d8(0x3ee)](_0x2e00de(_0x3b90f8));}}),_0x14c54b[_0x161aee(0x3ee)](''),_0x14c54b[_0x161aee(0x3ee)](_0x161aee(0x1ff));}else{const _0x1f27e0=_0x128932[_0x161aee(0x29f)](_0x4a2b0d=>{const _0xc7fe5e=_0x4907ef['subcommandTerm'](_0x4a2b0d),_0x376b1a=_0x4907ef['subcommandDescription'](_0x4a2b0d);return _0x30bbbb(_0xc7fe5e,_0x376b1a);});_0x14c54b[_0x161aee(0x3ee)](''),_0x14c54b['push'](_0x161aee(0x23f)),_0x14c54b['push'](_0x2e00de(_0x1f27e0));}}if(showBriefHelp&&_0x3e5234[_0x161aee(0x2b1)]()===_0x161aee(0x3bb))_0x14c54b[_0x161aee(0x3ee)](''),_0x14c54b['push'](_0x161aee(0x411));else{const _0x12a092=_0x3e5234['options'][_0x161aee(0x3bc)](_0x99cc40=>!_0x20cf36(_0x99cc40));if(_0x12a092[_0x161aee(0x314)]>0x0){const _0x20116e=_0x12a092[_0x161aee(0x29f)](_0x49d735=>{const _0x4ef4fc=_0x161aee,_0x4a456c=_0x4907ef[_0x4ef4fc(0x16d)](_0x49d735),_0x3af091=_0x4907ef[_0x4ef4fc(0x103)](_0x49d735);return _0x30bbbb(_0x4a456c,_0x3af091);});_0x14c54b[_0x161aee(0x3ee)](''),_0x14c54b['push'](_0x161aee(0x12d)),_0x14c54b['push'](_0x2e00de(_0x20116e));}}const _0x29a756=(_0x3e5234[_0x161aee(0x400)]||[])[_0x161aee(0x3bc)](_0x2cc44d=>!_0x20cf36(_0x2cc44d));if(_0x29a756[_0x161aee(0x314)]>0x0){const _0x62f57d=_0x29a756[_0x161aee(0x29f)](_0x327eb2=>{const _0x527431=_0x161aee,_0x559bf6=_0x4907ef[_0x527431(0x1fb)](_0x327eb2),_0x3b4587=_0x4907ef['argumentDescription'](_0x327eb2);return _0x30bbbb(_0x559bf6,_0x3b4587);});_0x14c54b['push'](''),_0x14c54b[_0x161aee(0x3ee)](_0x161aee(0x37e)),_0x14c54b[_0x161aee(0x3ee)](_0x2e00de(_0x62f57d));}return _0x14c54b[_0x161aee(0x315)]('\x0a')+'\x0a';},'subcommandTerm':_0x484b9d=>{const _0x6f1aa6=a2_0x19269a,_0x51453c=(_0x484b9d[_0x6f1aa6(0x400)]||[])[_0x6f1aa6(0x29f)](_0xd74f07=>_0xd74f07[_0x6f1aa6(0x1d4)]?'<'+_0xd74f07['name']()+'>':'['+_0xd74f07[_0x6f1aa6(0x2b1)]()+']')[_0x6f1aa6(0x315)]('\x20'),_0x3494aa=_0x484b9d[_0x6f1aa6(0x2f1)](),_0x58592f=_0x3494aa[_0x6f1aa6(0x314)]>0x0?_0x484b9d[_0x6f1aa6(0x2b1)]()+',\x20'+_0x3494aa[_0x6f1aa6(0x315)](',\x20'):_0x484b9d[_0x6f1aa6(0x2b1)]();return _0x51453c?_0x58592f+'\x20'+_0x51453c:_0x58592f;}}),program[a2_0x19269a(0x136)]('preAction',_0x3fb118=>{const _0x202333=a2_0x19269a,_0x3ba4e6=_0x3fb118[_0x202333(0x25b)]();if(_0x3ba4e6[_0x202333(0x27b)]){const _0xa0e727=resolve(_0x3ba4e6[_0x202333(0x27b)]),_0x5b5766=_0xa0e727!==_0x3ba4e6['directory']?_0x202333(0xf8)+_0xa0e727+')':'';if(!existsSync(_0xa0e727))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x202333(0x1ab)+_0x3ba4e6[_0x202333(0x27b)]+_0x5b5766,undefined,{'helpText':_0x202333(0x16e)});const _0x1962a1=statSync(_0xa0e727);if(!_0x1962a1[_0x202333(0x427)]())throw new SDKError(ErrorCode[_0x202333(0x218)],_0x202333(0x2dc)+_0x3ba4e6[_0x202333(0x27b)]+_0x5b5766,undefined,{'helpText':'The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.'});process[_0x202333(0x12f)](_0xa0e727);}if(!_0x3ba4e6['format']){if(_0x3ba4e6['table'])_0x3ba4e6[_0x202333(0x1c4)]=_0x202333(0x2ec);else{if(_0x3ba4e6[_0x202333(0x35c)])_0x3ba4e6[_0x202333(0x1c4)]=_0x202333(0x35c);else{if(_0x3ba4e6[_0x202333(0x165)])_0x3ba4e6[_0x202333(0x1c4)]=_0x202333(0x165);else _0x3ba4e6['tsv']&&(_0x3ba4e6[_0x202333(0x1c4)]='tsv');}}}if(_0x3ba4e6[_0x202333(0x2f0)])_0x3ba4e6['logLevel']=LogLevel[_0x202333(0x276)];else{if(_0x3ba4e6[_0x202333(0x31c)])_0x3ba4e6[_0x202333(0x1b7)]=LogLevel[_0x202333(0x2a3)];else _0x3ba4e6['logLevel']===undefined&&(_0x3ba4e6[_0x202333(0x1b7)]=LogLevel[_0x202333(0x10f)]);}});async function createTDXInstance(_0x31e0d8){const _0x45f865=a2_0x19269a,_0x3df10e=await GlobalContext['createAsync'](_0x31e0d8);_0x3df10e[_0x45f865(0x214)](_0x31e0d8);const _0x551489=Number(_0x31e0d8[_0x45f865(0x376)]),_0x5192a7=!isNaN(_0x551489)&&_0x551489>0x0?_0x551489*0x3e8:undefined;return TDX['create']({'site':_0x3df10e[_0x45f865(0x12b)],'apiKey':_0x3df10e[_0x45f865(0x2df)],'accessToken':_0x3df10e['accessToken'],'logLevel':_0x3df10e[_0x45f865(0x1b7)],'profile':_0x3df10e[_0x45f865(0x265)],'timeout':_0x5192a7});}const databaseCmd=program[a2_0x19269a(0x2f5)](a2_0x19269a(0x309))[a2_0x19269a(0x356)]('db')[a2_0x19269a(0xf3)](a2_0x19269a(0x171)),databaseListAction=async(_0x447048,_0x3bcd85)=>{const _0x13f7f0=a2_0x19269a,_0xc3704=new DatabasesCommand(),_0x334536=program['opts'](),_0x3a6fcf=await createTDXInstance(_0x334536),_0x3dc57d=await _0xc3704[_0x13f7f0(0x396)]({'options':{..._0x334536,..._0x3bcd85},'args':_0x447048?[_0x447048]:[],'tdx':_0x3a6fcf});gracefulExit(_0x3dc57d);};function a2_0x7b5a(_0x49c3f0,_0x45a6ce){_0x49c3f0=_0x49c3f0-0xf3;const _0x12fd0f=a2_0x12fd();let _0x7b5aa4=_0x12fd0f[_0x49c3f0];return _0x7b5aa4;}databaseCmd['command'](a2_0x19269a(0xf9))[a2_0x19269a(0xf3)](a2_0x19269a(0x358))['action'](databaseListAction),program[a2_0x19269a(0x2f5)](a2_0x19269a(0x379),{'hidden':!![]})[a2_0x19269a(0xf3)](a2_0x19269a(0x178))['action'](databaseListAction),program[a2_0x19269a(0x2f5)](a2_0x19269a(0x2ae))[a2_0x19269a(0xf3)](a2_0x19269a(0x151))[a2_0x19269a(0x3db)]('--agent\x20<ref>',a2_0x19269a(0x229))[a2_0x19269a(0x3db)](a2_0x19269a(0x1b1),a2_0x19269a(0x1d1))[a2_0x19269a(0x3db)](a2_0x19269a(0x3dc),a2_0x19269a(0x2e5))[a2_0x19269a(0x3db)](a2_0x19269a(0x2b0),a2_0x19269a(0x1d7))[a2_0x19269a(0xf5)](async(_0x540dbb,_0x20800c)=>{const _0x57da63=a2_0x19269a,_0x5c8250=program[_0x57da63(0x25b)](),_0x555e31=await createTDXInstance(_0x5c8250);if(_0x540dbb[0x0]===_0x57da63(0x254)){const _0x124783=new ChatCreateCommand();gracefulExit(await _0x124783[_0x57da63(0x396)]({'options':{..._0x5c8250,..._0x20800c},'args':_0x540dbb[_0x57da63(0x234)](0x1),'tdx':_0x555e31}));return;}const _0x7f6bf7=new ChatCommand(),_0x444f08=await _0x7f6bf7[_0x57da63(0x396)]({'options':{..._0x5c8250,..._0x20800c},'args':_0x540dbb,'tdx':_0x555e31});gracefulExit(_0x444f08);});const apiCmd=program[a2_0x19269a(0x2f5)](a2_0x19269a(0x1d9))[a2_0x19269a(0x147)](a2_0x19269a(0x18f))['addHelpText'](a2_0x19269a(0x3ec),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a')[a2_0x19269a(0x3db)](a2_0x19269a(0x1b5),a2_0x19269a(0x27d),a2_0x19269a(0x3ad))[a2_0x19269a(0x3db)]('--data\x20<data>',a2_0x19269a(0x341))[a2_0x19269a(0x3db)](a2_0x19269a(0x414),a2_0x19269a(0x18b))[a2_0x19269a(0x3db)](a2_0x19269a(0x1ee),a2_0x19269a(0x2be),(_0x2528c0,_0x434c72)=>{return _0x434c72?[..._0x434c72,_0x2528c0]:[_0x2528c0];})['option'](a2_0x19269a(0x41b),'API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')[a2_0x19269a(0xf5)](async(_0x792850,_0x349337)=>{const _0x3c8174=a2_0x19269a;if(!_0x792850){apiCmd[_0x3c8174(0x391)]();return;}const _0x4b0751=new ApiCommand(),_0x34bda9=program[_0x3c8174(0x25b)](),_0x429cee=await createTDXInstance(_0x34bda9),_0x490fbb=await _0x4b0751[_0x3c8174(0x396)]({'options':{..._0x34bda9,..._0x349337},'args':[_0x792850],'tdx':_0x429cee});gracefulExit(_0x490fbb);});program[a2_0x19269a(0x2f5)]('mcp')['description'](a2_0x19269a(0x3cb))['addHelpText']('after','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a')[a2_0x19269a(0xf5)](async _0x305e03=>{const _0x2febbc=a2_0x19269a,_0x5db5d1=new MCPCommand(),_0x3c1715=program['opts'](),_0x31bcd9=await createTDXInstance(_0x3c1715),_0xb1b155=await _0x5db5d1[_0x2febbc(0x396)]({'options':{..._0x3c1715,..._0x305e03},'args':[],'tdx':_0x31bcd9});gracefulExit(_0xb1b155);});const tableCmd=program[a2_0x19269a(0x2f5)](a2_0x19269a(0x2ec))[a2_0x19269a(0xf3)](a2_0x19269a(0x11f)),tableListAction=async(_0x38faed,_0x2c3693)=>{const _0x46081f=a2_0x19269a,_0x89ce0=new TablesCommand(),_0x272c21=program[_0x46081f(0x25b)](),_0x9f0239=await createTDXInstance(_0x272c21);_0x2c3693['in']&&(_0x2c3693[_0x46081f(0x309)]=_0x2c3693['in']);const _0x26b221=await _0x89ce0[_0x46081f(0x396)]({'options':{..._0x272c21,..._0x2c3693},'args':_0x38faed?[_0x38faed]:[],'tdx':_0x9f0239});gracefulExit(_0x26b221);};tableCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0xf9))[a2_0x19269a(0xf3)](a2_0x19269a(0x3a5))[a2_0x19269a(0x3db)](a2_0x19269a(0x170),a2_0x19269a(0x282))['option'](a2_0x19269a(0x392),a2_0x19269a(0x1ac))[a2_0x19269a(0xf5)](tableListAction),program[a2_0x19269a(0x2f5)](a2_0x19269a(0x100),{'hidden':!![]})[a2_0x19269a(0xf3)]('List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)')[a2_0x19269a(0x3db)]('-d,\x20--database\x20<database>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x19269a(0x3db)]('--in\x20<database>',a2_0x19269a(0x1ac))['action'](tableListAction),program[a2_0x19269a(0x2f5)]('show\x20[table]')[a2_0x19269a(0xf3)](a2_0x19269a(0x145))[a2_0x19269a(0x3db)]('-d,\x20--database\x20<database>',a2_0x19269a(0x3be))['option'](a2_0x19269a(0x392),a2_0x19269a(0x1ac))['action'](async(_0x369904,_0x2d6394)=>{const _0x4e51d9=a2_0x19269a,_0x5c406c=new ShowCommand(),_0x49e69c=program[_0x4e51d9(0x25b)](),_0xb11733=await createTDXInstance(_0x49e69c);_0x2d6394['in']&&(_0x2d6394['database']=_0x2d6394['in']);const _0xbed607=await _0x5c406c['run']({'options':{..._0x49e69c,..._0x2d6394},'args':_0x369904?[_0x369904]:[],'tdx':_0xb11733});gracefulExit(_0xbed607);}),program[a2_0x19269a(0x2f5)](a2_0x19269a(0x139))[a2_0x19269a(0x356)]('desc')[a2_0x19269a(0xf3)](a2_0x19269a(0x361))[a2_0x19269a(0x3db)]('-d,\x20--database\x20<database>',a2_0x19269a(0x3be))[a2_0x19269a(0x3db)](a2_0x19269a(0x392),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x19269a(0xf5)](async(_0x197709,_0x530a71)=>{const _0x35f330=a2_0x19269a,_0x48372e=new DescribeCommand(),_0xdd69bc=program[_0x35f330(0x25b)](),_0x27b502=await createTDXInstance(_0xdd69bc);_0x530a71['in']&&(_0x530a71[_0x35f330(0x309)]=_0x530a71['in']);const _0x8734a5=await _0x48372e[_0x35f330(0x396)]({'options':{..._0xdd69bc,..._0x530a71},'args':_0x197709?[_0x197709]:[],'tdx':_0x27b502});gracefulExit(_0x8734a5);}),program[a2_0x19269a(0x2f5)](a2_0x19269a(0x2fd))[a2_0x19269a(0xf3)](a2_0x19269a(0x129))[a2_0x19269a(0x3db)]('-d,\x20--database\x20<database>',a2_0x19269a(0x250))['option']('--in\x20<database>',a2_0x19269a(0x1ac))[a2_0x19269a(0x3db)](a2_0x19269a(0x2e2),a2_0x19269a(0x110))[a2_0x19269a(0x3db)]('-f,\x20--file\x20<path>',a2_0x19269a(0x2aa))[a2_0x19269a(0x3db)]('--limit\x20<rows>',a2_0x19269a(0x425))[a2_0x19269a(0xf5)](async(_0x2b717a,_0x541d7c)=>{const _0x32d474=a2_0x19269a,_0x54ea25=new QueryCommand(),_0xc9dee9=program[_0x32d474(0x25b)](),_0x29d625=await createTDXInstance(_0xc9dee9);_0x541d7c['in']&&(_0x541d7c['database']=_0x541d7c['in']);const _0x1001d3=await _0x54ea25['run']({'options':mergeCommandOptions(_0xc9dee9,_0x541d7c),'args':_0x2b717a?[_0x2b717a]:[],'tdx':_0x29d625});gracefulExit(_0x1001d3);});const segmentCmd=program[a2_0x19269a(0x2f5)](a2_0x19269a(0x19d))[a2_0x19269a(0x356)]('sg')['description'](a2_0x19269a(0x137)),segmentListAction=async(_0x3601bf,_0x454789)=>{const _0x22d33a=a2_0x19269a,_0x16988a=new SegmentsCommand(),_0x5d123b=program['opts'](),_0x3377bb=await createTDXInstance(_0x5d123b),_0x17084c=await _0x16988a[_0x22d33a(0x396)]({'options':{..._0x5d123b,..._0x454789},'args':_0x3601bf?[_0x3601bf]:[],'tdx':_0x3377bb});gracefulExit(_0x17084c);};function a2_0x12fd(){const _0x548335=['--customer-group\x20<json>','--revision\x20<revision>','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Enable\x20a\x20disabled\x20workflow\x20schedule','secrets','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Action:\x20logs,\x20tasks,\x20kill,\x20retry','alias','[task-name]','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','_hidden','Include\x20retried\x20attempts\x20(for\x20list)','Pull\x20specific\x20campaign\x20by\x20name','json','Resume\x20a\x20paused\x20journey','Updated\x20description','information_schema','--time\x20<iso8601>','Describe\x20table\x20schema','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','create\x20<name>','Version\x20number\x20to\x20view','use\x20[name]','Project\x20description','Template\x20name','Run\x20a\x20scheduled\x20query\x20immediately','delete\x20<args...>','Create\x20a\x20new\x20profile','parent','show\x20<name-or-id>','attempts\x20[project]','configureHelp','Delete\x20a\x20realtime\x20personalization','--type\x20<type>','parent-segment','--dir\x20<dir>','show\x20[segment_name]','set\x20<args...>','timeout','show\x20<policy>','resume\x20<name-or-path>','databases\x20[pattern]','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','10634208opqoBU','--plaintext\x20<text>','Initial\x20status','Arguments:','trino','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','finish\x20<name-or-id>','always-on-campaign','Delay\x20in\x20seconds\x20before\x20execution','grapesjs','parents\x20[pattern]','--attempt-id\x20<id>','--no-color','RT\x20Journey\x20management','version','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','[attempt-id]','activations\x20<segment_name>','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Plaintext\x20template\x20content','Show\x20journey\x20details','help','--in\x20<database>','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Create\x20a\x20new\x20agent\x20in\x20current\x20project','-r,\x20--resume','run','--version\x20<number>','[options]\x20--\x20[claude-code-args...]','-o,\x20--output\x20<folder>','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','workspaces\x20[pattern]','Custom\x20revision\x20name\x20(default:\x20timestamp)','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','--add-behaviors\x20<json>','upload\x20[project-name-or-dir]','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','--folder\x20<name>','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','show\x20<personalization_id>','validate\x20[name]','Show\x20what\x20would\x20be\x20written\x20without\x20writing','commands','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','cas','End\x20time\x20filter\x20(ISO\x208601\x20format)','GET','pause\x20<name-or-path>','Initialize\x20a\x20new\x20workspace','use\x20[resource]\x20[value]','Target\x20directory\x20for\x20YAML\x20files','pull\x20[workspace]','--yes','--skip-validation','catch','workspace','Master\x20table\x20name','Get\x20current\x20RT\x20configuration\x20version\x20status','18550305ModAml','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','tdx','filter','--stage\x20<name>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','--from\x20<date>','Composable\x20segment\x20commands','journey','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','Email\x20sender\x20ID\x20for\x20delivery','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','5373534OvHEcJ','Create\x20an\x20email\x20template','--editor-type\x20<type>','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','--delete','journeys\x20[pattern]','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','service','setup','\x22.\x20Must\x20be\x20a\x20number.','history\x20<name>','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','List\x20available\x20LLM\x20models','--engine-version\x20<version>','isTTY','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','buildTime','Delete\x20a\x20profile','retry\x20<session-id>','New\x20service\x20name','Parent\x20segment\x20management','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','option','--chat-id\x20<id>','Set\x20a\x20profile\x20configuration\x20value','Create\x20segment\x20folder','split','List\x20jobs','Disable\x20a\x20workflow\x20schedule','--default','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','view\x20[name]','Enable\x20UTM\x20tracking','Preview\x20changes\x20without\x20writing\x20files','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','delivery','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','parse','Open\x20segment\x20in\x20web\x20browser','after','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','push','schema\x20<type>','Timezone\x20for\x20cron\x20(default:\x20UTC)','campaigns\x20[pattern]','Delete\x20an\x20LLM\x20project','\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','stderr','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','Push\x20without\x20confirmation','--attribute\x20[name]','Authentication\x20management','\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','Move\x20to\x20folder','Folder\x20description','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','validate\x20[file]','\x20-\x20built\x20','--include-stats','registeredArguments','310375WRRXEG','Update\x20a\x20realtime\x20personalization\x20entity','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','--start-at\x20<datetime>','attempt','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','--debug','--no-proxy','Query\x20engine\x20version','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','flatMap','--name\x20<names>','0.7','pull\x20[parent_or_file]','--subject\x20<subject>','exit','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','--session\x20<id>','update\x20<name>','-f,\x20--file\x20<path>','Show\x20email\x20template\x20details','Update\x20a\x20campaign','isArray','--to\x20<n>','set\x20<key=value>','Pull\x20campaigns\x20to\x20YAML\x20files','--type\x20<api_type>','Document\x20body\x20text','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Pull\x20templates\x20to\x20YAML\x20files','--html-file\x20<path>','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','projects\x20[pattern]','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','--path\x20<file-path>','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Maximum\x20rows\x20to\x20display','Validate\x20template\x20YAML\x20files\x20locally','isDirectory','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','Workflow\x20parameter\x20(repeatable)','backup\x20<name>',',\x20version\x20','policy','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','description','Override\x20project\x20name','action','Preview\x20without\x20creating\x20the\x20project','result\x20<job-id>','\x20(resolved\x20to\x20','list\x20[pattern]','--body\x20<body>','Open\x20parent\x20segment\x20in\x20web\x20browser','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','launch\x20<name-or-id>','Task\x20name\x20for\x20logs\x20action','Unknown\x20action:\x20','tables\x20[pattern]','Update\x20a\x20workspace','view\x20[segment_name]','optionDescription','--limit\x20<n>','Workflow\x20attempt\x20management','show\x20<agent-name>','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','--reeval','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','--behavior\x20[name]','Agent\x20prompt/instructions','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','submit\x20[query]','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','INFO','Trino\x20catalog\x20(default:\x20td)','[EXPERIMENTAL]\x20Show\x20chat\x20log','Parent\x20segment\x20description','preview\x20[file]','workflow','allowUnknownOption','--no-count-population','Output\x20directory','Master\x20database\x20name','init\x20[name]','--temperature\x20<n>','JSON\x20columns\x20for\x20connector\x20(comma-separated)','test\x20[path]','Output\x20as\x20JSON','--params\x20<json>','Table\x20management\x20commands','view\x20<name-or-path>','Maximum\x20recursion\x20depth\x20(default:\x2010)','Maximum\x20number\x20of\x20nodes','--include-subtasks','-o,\x20--output\x20<file>','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','-c,\x20--continue','push\x20[name]','Run\x20Trino\x20query\x20with\x20streaming\x20results','--description\x20<text>','site','create\x20<name>\x20[parent_segment]','Options:','Updated\x20schedule\x20option','chdir','Scheduled\x20query\x20management\x20commands','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','LLM\x20agent\x20management','974317LLwPRG','update\x20<service_id>\x20[parent_segment]','Setup\x20API\x20key\x20authentication\x20interactively','hook','CDP\x20segment\x20management\x20commands','--limit\x20<number>','describe\x20[table]','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','--rule-file\x20<file>','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','delete\x20<agent-name>','--jsonl','Show\x20workspace\x20details','list\x20[audience_name]','Usage:\x20','--from\x20<timestamp>','--enable-utm-tracking','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','summary','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','hidden','work','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Skip\x20validation\x20of\x20.dig\x20files','create\x20<name>\x20<service_id>\x20[parent_segment]','Add\x20attributes\x20as\x20JSON\x20string','find','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','[DEPRECATED]\x20Segment\x20folder\x20management','--enriched','update\x20<name-or-id>','Personalization\x20description','push\x20[target]','--segment\x20<path>','Launch\x20an\x20always-on\x20campaign','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','Workspace\x20management','desc\x20[segment_name]','Show\x20master\x20table\x20sample\x20data','Run\x20specific\x20tests\x20(comma-separated)','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','delete\x20<name-or-id>','schedule','--template\x20<name>','Add\x20attributes\x20from\x20JSON\x20file','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','jsonl','-a,\x20--agent\x20<name>','Email\x20template\x20management','-r,\x20--recursive','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','log','Reason\x20for\x20killing\x20the\x20attempt','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','optionTerm','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','AI-native\x20CLI\x20for\x20Treasure\x20Data','-d,\x20--database\x20<database>','Database\x20management\x20commands','--account-name\x20<name>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Personalization\x20service\x20token\x20management','Agent\x20description','--name\x20<new-name>','-C,\x20--directory\x20<path>','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','List\x20all\x20available\x20profiles','padEnd','--kind\x20<type>','-n,\x20--name\x20<name>','--sections\x20<json>','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','run\x20<name>','show\x20<folder_ref>','Delete\x20a\x20campaign','Run\x20tests\x20for\x20an\x20LLM\x20agent','colorFn','Duplicate\x20an\x20always-on\x20campaign','--job-type\x20<type>','Launch\x20a\x20campaign','--file\x20<path>','3TAICfi','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Read\x20request\x20body\x20from\x20file','status','\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','Show\x20a\x20specific\x20realtime\x20personalization','Filtering\x20rule\x20from\x20JSON\x20file','-f,\x20--force','argument','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','token','Manage\x20workflow\x20schedules\x20(enable/disable)','--attributes\x20<json>','--folder-id\x20<id>','patch\x20<personalization_id>','Duplicate\x20a\x20campaign','Invalid\x20editor\x20type:\x20','Preview\x20composable\x20segment\x20query\x20on\x20CDW','segment','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','Pause\x20activations\x20in\x20an\x20RT\x20journey','Segment\x20description','Add\x20behaviors\x20as\x20JSON\x20string','--param\x20<key=value>','Campaign\x20type\x20(email\x20or\x20push)','List\x20composable\x20segments\x20for\x20an\x20audience','HTML\x20template\x20content','Force\x20retry\x20even\x20if\x20not\x20failed','Pull\x20child\x20segments\x20to\x20YAML\x20files','--delay\x20<seconds>','Directory\x20does\x20not\x20exist:\x20','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Resume\x20from\x20specific\x20task','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','remove\x20<name>','engage','--new','sessions\x20[project]','Enable\x20verbose\x20logging','Personalization\x20service\x20management','-X,\x20--method\x20<method>','Ending\x20offset\x20(default:\x2020)','logLevel','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','Resume\x20a\x20paused\x20always-on\x20campaign','Delete\x20an\x20email\x20template','--interval\x20<range>','--cron\x20<expression>','show\x20<name>','project','--last','New\x20campaign\x20name','delete\x20<personalization_id>','Composable\x20audience\x20name','Customer\x20group\x20from\x20JSON\x20file','format','-p,\x20--profile\x20<name>','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','--attributes-file\x20<file>','outputHelp','unset\x20<resource>','--assignee\x20<assignee>','sql\x20[name]','--all','delete\x20<service_id>\x20[parent_segment]','variadic','List\x20composable\x20audiences','--retry-limit\x20<0~32>','Start\x20a\x20new\x20chat\x20session','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','required','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','--description\x20<desc>','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','parent_segment','api\x20[endpoint]','Preview\x20operation\x20without\x20executing','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','Workspace\x20name\x20(required)','show\x20<job-id>','desc\x20[name]','Workspace\x20description','Skip\x20population\x20counting','--timezone\x20<tz>','user','use\x20<name>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Show\x20campaign\x20details','--include-retried','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a','statusline','AI-native\x20work\x20management','New\x20segment\x20name','Token\x20description','create\x20<parent_name>\x20<folder_name>','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','-H,\x20--header\x20<header>','agent','Show\x20schedule\x20details','--no-eval','list\x20[project]','--html\x20<html>','Delete\x20a\x20workspace','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Query\x20type:\x20trino\x20or\x20hive','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','Agent\x20name','argumentTerm','stringify','Show\x20always-on\x20campaign\x20details','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','auth','--verbose','Preview\x20changes\x20without\x20pushing','preview\x20[name]','--json-columns\x20<cols>','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','-y,\x20--yes','forEach','noColor','argv','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','Campaign\x20name','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','Show\x20all\x20files\x20including\x20valid\x20ones','validate\x20[target]','Attributes\x20from\x20JSON\x20file','--max-tool-iterations\x20<n>','injectIntoOptions','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Push\x20YAML\x20files\x20to\x20CAS\x20API','pause\x20<name-or-id>','INVALID_ARGUMENT','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','--starter-message\x20<text>','Resume\x20activations\x20in\x20an\x20RT\x20journey','Validate\x20campaign\x20YAML\x20files\x20locally','includes','_list-commands','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','create\x20<name-or-path>','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','--public','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','--trace','Clear\x20session\x20context','--status\x20<status>','Priority\x20(critical,\x20high,\x20medium,\x20low)','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Invalid\x20--limit\x20value:\x20\x22','disable\x20<id>','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Open\x20journey\x20in\x20web\x20browser','use\x20[project]','types','clear','Always-on\x20campaign\x20management','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','slice','duplicate\x20<name-or-id>','agents\x20[pattern]','--priority\x20<priority>','--workspace\x20<name>','Create\x20a\x20new\x20LLM\x20project','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','Assignee','timeline\x20[project.workflow]','--system-prompt\x20<text>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Commands:','Show\x20Kanban\x20board\x20view\x20of\x20tasks','--result\x20<url>','item','pull\x20[project]\x20[agent-name]','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Parse\x20and\x20validate\x20without\x20executing','Pause\x20a\x20running\x20journey','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Name\x20for\x20the\x20new\x20project\x20(required)','List\x20available\x20connector\x20types','entries','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','Include\x20execution\x20statistics','Database\x20to\x20query\x20(default:\x20information_schema)','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','-w,\x20--web','schedules','create','resume\x20<name-or-id>','push\x20[file]','Show\x20journey\x20statistics','--schedule-option\x20<value>','Include\x20all\x20items\x20(no\x20stale\x20filtering)','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','opts','--clear','Behaviors\x20from\x20JSON\x20file','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Output\x20as\x20JSON\x20Lines','7GITRQE','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Retry\x20limit\x20(0\x20to\x2032)','clone\x20[source]','settings\x20<type>','profile','logs','--email-sender-id\x20<id>','--days\x20<n>','job','714676SjulpX','flags','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Save\x20output\x20to\x20file','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','Pull\x20specific\x20template\x20by\x20name','segments\x20[path]','Check\x20for\x20updates\x20without\x20installing','options','--next','Update\x20a\x20scheduled\x20query','TRACE','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','--reason\x20<text>','Comma-separated\x20tags','Customer\x20group\x20as\x20JSON\x20string','directory','--help','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','long','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Campaign\x20description','--max-depth\x20<depth>','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','LLM\x20project\x20management','addHelpText','Resume\x20a\x20conversation\x20(shows\x20selector)','Overwrite\x20local\x20changes\x20without\x20confirmation','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','--in\x20<db>','Create\x20a\x20scheduled\x20query','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','--database\x20<db>','New\x20template\x20name','--result\x20<target>','List\x20all\x20data\x20connections','run\x20[name]','Campaign\x20management','Pause\x20a\x20campaign','--from-task\x20<task>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Behaviors\x20as\x20JSON\x20string','Database\x20name\x20(default:\x20information_schema)','versions\x20<name-or-path>','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','pull\x20[workspace-name]','audience','map','Output\x20file\x20path\x20(default:\x20<name>.yml)','clone\x20[source-dir]','--session-time\x20<time>','DEBUG','pull\x20[name]','List\x20secret\x20keys\x20for\x20a\x20project','jobs','--name\x20<text>','open\x20<name>','padWidth','Read\x20SQL\x20query\x20from\x20file','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','push\x20[path]','--name\x20<name>','chat\x20[message...]','--table','--stream','name','tasks','Skip\x20confirmation\x20prompt','Limit\x20number\x20of\x20rows','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','error','push\x20[parent_or_file]','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','--audience\x20<name>','Timezone\x20for\x20cron','--kind\x20<kind>','Email\x20subject\x20template','Sections\x20as\x20an\x20inline\x20JSON\x20array','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Database\x20name','-d,\x20--database\x20<db>','--table\x20<table>','Temperature\x20(0.0-2.0,\x20default:\x200.7)','[action]','connections','models','Cron\x20expression\x20for\x20scheduling','describe','--behaviors-file\x20<file>','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','--dry-run','retry','resume_activations\x20<journeyId>','--color','templates\x20[pattern]','New\x20workspace\x20name','traffic\x20<name-or-path>','Show\x20timeline\x20for\x20specific\x20attempt','delete\x20<token_id>\x20[parent_segment]','campaign','folders\x20<parent_name>','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','Transition\x20a\x20task\x20to\x20a\x20new\x20status','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','--session-id\x20<id>','list','Read\x20HTML\x20template\x20from\x20file','Parent\x20folder\x20name\x20for\x20nested\x20folders','Path\x20is\x20not\x20a\x20directory:\x20','--master','Show\x20job\x20details','apiKey','usage','use\x20<project-name>','--catalog\x20<catalog>','Include\x20subtasks\x20in\x20tasks\x20output','Personalization\x20name','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','folder','replace','Starter\x20message','tdx\x20','Access\x20control\x20policy\x20commands','--rule\x20<json>','table','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Delete\x20an\x20agent','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','trace','aliases','Set\x20or\x20show\x20parent\x20segment\x20context','Job\x20priority\x20(-2\x20to\x202)','Make\x20segment\x20invisible\x20(default:\x20visible)','command','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','--tags\x20<tags>','Pull\x20workflow\x20project\x20to\x20local\x20folder','Set\x20operation\x20timeout\x20in\x20seconds','--output\x20<file>','--to\x20<timestamp>','--llm-project\x20<name>','query\x20[sql]','--behaviors\x20<json>','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','links\x20<name>','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','Create\x20a\x20workspace','fields\x20[parent_name]','list\x20[name]','Validate\x20journey\x20YAML\x20files\x20locally','3201248JxZDkC','--json','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','database','YAML\x20file\x20path\x20for\x20unpushed\x20segment','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','--invisible','--full','RT\x202.0\x20configuration\x20management','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','Workspace\x20name','Show\x20segment\x20details\x20(alias\x20for\x20view)','length','join','preview\x20<segment_name>','Add\x20behaviors\x20from\x20JSON\x20file','--model\x20<name>','attempt:','update\x20<agent-name>','Skip\x20confirmation\x20prompts','debug','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','--priority\x20<-2~2>','Read\x20query\x20from\x20file','--site\x20<site>','\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','Follow/watch\x20timeline\x20for\x20running\x20attempts','Pull\x20specific\x20revision\x20(default:\x20latest)','--include-history','pause_activations\x20<journeyId>','LLM\x20project\x20to\x20use\x20(overrides\x20context)','Show\x20items\x20updated\x20within\x20N\x20days','Create\x20a\x20new\x20always-on\x20campaign','--add-attributes-file\x20<file>','requiredOption','list\x20[path]','Open\x20a\x20document\x20in\x20$EDITOR','Maximum\x20tool\x20iterations\x20(default:\x204)','Database\x20name\x20(required)','Workflow\x20session\x20management','Show\x20journey\x20table\x20column-to-step\x20mapping','gitRevision','restore\x20<folder>','Update\x20an\x20existing\x20agent','Show\x20stats\x20for\x20specific\x20stage','List\x20journeys\x20(alias\x20for\x20journey\x20list)','upgrade','Show\x20connection\x20details\x20by\x20name','Include\x20retried\x20attempts','claude\x20[args...]','Output\x20file\x20path','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','Workflow\x20(Digdag)\x20management\x20commands','move\x20<name>\x20<status>','download\x20<project-name>\x20[output-dir]','Kill\x20a\x20job','Show\x20authentication\x20status\x20and\x20current\x20context','Request\x20body\x20as\x20JSON\x20string','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Start\x20time\x20filter\x20(ISO\x208601\x20format)','--resume-from\x20<task>','Link\x20workspace\x20to\x20a\x20GitHub\x20repository','--format\x20<format>','-1d','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20activations\x20for\x20a\x20journey','Finish\x20an\x20always-on\x20campaign','...'];a2_0x12fd=function(){return _0x548335;};return a2_0x12fd();}segmentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x32b))[a2_0x19269a(0xf3)](a2_0x19269a(0x2ab))[a2_0x19269a(0x3db)]('-r,\x20--recursive',a2_0x19269a(0x354))['option'](a2_0x19269a(0x284),a2_0x19269a(0x121),'10')[a2_0x19269a(0xf5)](segmentListAction),program['command'](a2_0x19269a(0x271),{'hidden':!![]})[a2_0x19269a(0xf3)]('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')[a2_0x19269a(0x3db)](a2_0x19269a(0x168),a2_0x19269a(0x354))[a2_0x19269a(0x3db)](a2_0x19269a(0x284),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x19269a(0xf5)](segmentListAction),segmentCmd[a2_0x19269a(0x2f5)]('use\x20<path>',{'hidden':!![]})[a2_0x19269a(0xf3)](a2_0x19269a(0x34e))[a2_0x19269a(0xf5)](async(_0x10b196,_0x917c3f)=>{const _0x2474e7=a2_0x19269a,_0xa8a404=new SegmentUseCommand(),_0x3640f4=program[_0x2474e7(0x25b)](),_0xe9fb23=await createTDXInstance(_0x3640f4),_0x38c21e=await _0xa8a404['run']({'options':{..._0x3640f4,..._0x917c3f},'args':[_0x10b196],'tdx':_0xe9fb23});gracefulExit(_0x38c21e);});const segmentViewAction=async(_0xfaa8df,_0x22c3b2)=>{const _0x2c80a1=a2_0x19269a,_0x2e4f80=new SegmentViewCommand(),_0x5f4ecd=program[_0x2c80a1(0x25b)](),_0x1e4304=await createTDXInstance(_0x5f4ecd),_0x280bcb=await _0x2e4f80[_0x2c80a1(0x396)]({'options':{..._0x5f4ecd,..._0x22c3b2},'args':_0xfaa8df?[_0xfaa8df]:[],'tdx':_0x1e4304});gracefulExit(_0x280bcb);};segmentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x102))[a2_0x19269a(0xf3)]('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x19269a(0x3db)](a2_0x19269a(0x252),'Open\x20segment\x20in\x20web\x20browser')[a2_0x19269a(0xf5)](segmentViewAction),segmentCmd['command']('info\x20[segment_name]',{'hidden':!![]})[a2_0x19269a(0x356)](a2_0x19269a(0x2c7))[a2_0x19269a(0x3db)](a2_0x19269a(0x252),a2_0x19269a(0x3eb))[a2_0x19269a(0xf3)](a2_0x19269a(0x313))[a2_0x19269a(0xf5)](segmentViewAction),segmentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x15c))[a2_0x19269a(0xf3)]('Show\x20segment\x20schema\x20(column\x20types)')['action'](async(_0x2afb84,_0x3d15f7)=>{const _0x4ea369=a2_0x19269a,_0x203197=new SegmentDescCommand(),_0x3a9ee9=program[_0x4ea369(0x25b)](),_0x385621=await createTDXInstance(_0x3a9ee9),_0x389ded=await _0x203197[_0x4ea369(0x396)]({'options':{..._0x3a9ee9,..._0x3d15f7},'args':_0x2afb84?[_0x2afb84]:[],'tdx':_0x385621});gracefulExit(_0x389ded);}),segmentCmd['command'](a2_0x19269a(0x374))[a2_0x19269a(0xf3)](a2_0x19269a(0x23a))[a2_0x19269a(0xf5)](async(_0x4aa27f,_0xdf8c48)=>{const _0x2a01c0=new SegmentShowCommand(),_0x5d5e80=program['opts'](),_0x3908f7=await createTDXInstance(_0x5d5e80),_0x2776c4=await _0x2a01c0['run']({'options':{..._0x5d5e80,..._0xdf8c48},'args':_0x4aa27f?[_0x4aa27f]:[],'tdx':_0x3908f7});gracefulExit(_0x2776c4);}),segmentCmd['command'](a2_0x19269a(0x2d4),{'hidden':!![]})['description']('[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)')['action'](async(_0x4a5f5f,_0x5abf80)=>{const _0x1cf566=a2_0x19269a,_0x87fdec=new SegmentFolderListCommand(),_0x16f2c1=program['opts'](),_0x5a1acd=await createTDXInstance(_0x16f2c1),_0x47d39d=await _0x87fdec[_0x1cf566(0x396)]({'options':{..._0x16f2c1,..._0x5abf80},'args':[_0x4a5f5f],'tdx':_0x5a1acd});gracefulExit(_0x47d39d);});const folderCmd=segmentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x2e6),{'hidden':!![]})[a2_0x19269a(0xf3)](a2_0x19269a(0x152));folderCmd['command'](a2_0x19269a(0x181))[a2_0x19269a(0xf3)](a2_0x19269a(0x19f))['action'](async(_0x563d3a,_0x2bd91e)=>{const _0x3edef7=a2_0x19269a,_0x299c4d=new SegmentFolderShowCommand(),_0x3ea1e5=program[_0x3edef7(0x25b)](),_0x4c4d1e=await createTDXInstance(_0x3ea1e5),_0x5dccb9=await _0x299c4d[_0x3edef7(0x396)]({'options':{..._0x3ea1e5,..._0x2bd91e},'args':[_0x563d3a],'tdx':_0x4c4d1e});gracefulExit(_0x5dccb9);}),segmentCmd[a2_0x19269a(0x2f5)]('sql\x20[segment_name]')[a2_0x19269a(0xf3)](a2_0x19269a(0x1db))['option'](a2_0x19269a(0x423),a2_0x19269a(0x30a))[a2_0x19269a(0xf5)](async(_0x51fcaf,_0x4eef9f)=>{const _0x4de1da=a2_0x19269a,_0x50f7b5=new SegmentSQLCommand(),_0x433001=program[_0x4de1da(0x25b)](),_0x4ea46c=await createTDXInstance(_0x433001),_0x5a5983=await _0x50f7b5[_0x4de1da(0x396)]({'options':{..._0x433001,..._0x4eef9f},'args':_0x51fcaf?[_0x51fcaf]:[],'tdx':_0x4ea46c});gracefulExit(_0x5a5983);}),segmentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x303))[a2_0x19269a(0xf3)](a2_0x19269a(0x3e9))[a2_0x19269a(0xf5)](async(_0x178c60,_0x1e18f2)=>{const _0x2c3f4d=new SegmentFieldsCommand(),_0x58da31=program['opts'](),_0x2bdd1a=await createTDXInstance(_0x58da31),_0x151e0c=await _0x2c3f4d['run']({'options':{..._0x58da31,..._0x1e18f2},'args':_0x178c60?[_0x178c60]:[],'tdx':_0x2bdd1a});gracefulExit(_0x151e0c);}),segmentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x40e))[a2_0x19269a(0xf3)](a2_0x19269a(0x1a9))['option'](a2_0x19269a(0x2ca),a2_0x19269a(0x363))[a2_0x19269a(0xf5)](async(_0x4a2092,_0x43809f)=>{const _0x4988fd=a2_0x19269a,_0x41eb0c=new SegmentPullCommand(),_0x847778=program[_0x4988fd(0x25b)](),_0x47f07b=await createTDXInstance(_0x847778),_0xbb0304=await _0x41eb0c[_0x4988fd(0x396)]({'options':{..._0x847778,..._0x43809f},'args':_0x4a2092?[_0x4a2092]:[],'tdx':_0x47f07b});gracefulExit(_0xbb0304);}),segmentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x2b7))[a2_0x19269a(0xf3)](a2_0x19269a(0x3e3))['option'](a2_0x19269a(0x2ca),a2_0x19269a(0x363))[a2_0x19269a(0x3db)](a2_0x19269a(0x3c9),a2_0x19269a(0x224))[a2_0x19269a(0xf5)](async(_0x5cb4bd,_0x278dd6)=>{const _0xd0af6a=new SegmentPushCommand(),_0x5c17cf=program['opts'](),_0x5ac62f=await createTDXInstance(_0x5c17cf),_0x4eae90=await _0xd0af6a['run']({'options':{..._0x5c17cf,..._0x278dd6},'args':_0x5cb4bd?[_0x5cb4bd]:[],'tdx':_0x5ac62f});gracefulExit(_0x4eae90);}),segmentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x211))[a2_0x19269a(0xf3)](a2_0x19269a(0x246))[a2_0x19269a(0xf5)](async(_0x3a3f62,_0x4049ad)=>{const _0x5c423c=a2_0x19269a,_0x3a0641=new SegmentValidateCommand(),_0xa375b=program['opts'](),_0x2e2767=await createTDXInstance(_0xa375b),_0x5bc29a=await _0x3a0641[_0x5c423c(0x396)]({'options':{..._0xa375b,..._0x4049ad},'args':_0x3a3f62?[_0x3a3f62]:[],'tdx':_0x2e2767});gracefulExit(_0x5bc29a);}),segmentCmd[a2_0x19269a(0x2f5)]('create\x20<segment_name>',{'hidden':!![]})[a2_0x19269a(0xf3)](a2_0x19269a(0x21f))[a2_0x19269a(0x3db)](a2_0x19269a(0x12a),a2_0x19269a(0x1a2))['option'](a2_0x19269a(0x2eb),'Filtering\x20rule\x20as\x20JSON\x20string')[a2_0x19269a(0x3db)](a2_0x19269a(0x13b),a2_0x19269a(0x191))['option'](a2_0x19269a(0x3a4),'Folder\x20name\x20for\x20organization')['option'](a2_0x19269a(0x17c),a2_0x19269a(0x14b))[a2_0x19269a(0x3db)](a2_0x19269a(0x30e),a2_0x19269a(0x2f4))[a2_0x19269a(0x3db)](a2_0x19269a(0x116),a2_0x19269a(0x1e0))[a2_0x19269a(0xf5)](async(_0x41d74b,_0x25c8a7)=>{const _0x2a1887=a2_0x19269a,_0x36744f=new SegmentCreateCommand(),_0x45625d=program[_0x2a1887(0x25b)](),_0x308efe=await createTDXInstance(_0x45625d),_0x258cb9=await _0x36744f['run']({'options':{..._0x45625d,..._0x25c8a7},'args':[_0x41d74b],'tdx':_0x308efe});gracefulExit(_0x258cb9);}),segmentCmd[a2_0x19269a(0x2f5)]('update\x20<segment_name>',{'hidden':!![]})[a2_0x19269a(0xf3)](a2_0x19269a(0x15f))['option']('--name\x20<new_name>',a2_0x19269a(0x1ea))[a2_0x19269a(0x3db)](a2_0x19269a(0x12a),a2_0x19269a(0x35e))[a2_0x19269a(0x3db)]('--rule\x20<json>',a2_0x19269a(0x298))[a2_0x19269a(0x3db)](a2_0x19269a(0x13b),a2_0x19269a(0x19e))[a2_0x19269a(0x3db)](a2_0x19269a(0x3a4),a2_0x19269a(0x3fa))[a2_0x19269a(0x3db)]('--kind\x20<type>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x19269a(0xf5)](async(_0x644bb1,_0x459252)=>{const _0x40a309=a2_0x19269a,_0x17c3ae=new SegmentUpdateCommand(),_0x8e733c=program[_0x40a309(0x25b)](),_0x25e402=await createTDXInstance(_0x8e733c),_0x5d1914=await _0x17c3ae['run']({'options':{..._0x8e733c,..._0x459252},'args':[_0x644bb1],'tdx':_0x25e402});gracefulExit(_0x5d1914);});const parentCmd=segmentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x36c),{'hidden':!![]})[a2_0x19269a(0xf3)](a2_0x19269a(0x222)),parentListAction=async(_0x352d1d,_0x4ef4b9)=>{const _0x378b67=a2_0x19269a,_0x1bfdeb=new ParentSegmentListCommand(),_0x24099b=program[_0x378b67(0x25b)](),_0x505ac5=await createTDXInstance(_0x24099b),_0x1038b7=await _0x1bfdeb[_0x378b67(0x396)]({'options':{..._0x24099b,..._0x4ef4b9},'args':_0x352d1d?[_0x352d1d]:[],'tdx':_0x505ac5});gracefulExit(_0x1038b7);};parentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0xf9))[a2_0x19269a(0xf3)](a2_0x19269a(0x39c))[a2_0x19269a(0xf5)](parentListAction),segmentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x385),{'hidden':!![]})['description'](a2_0x19269a(0x286))[a2_0x19269a(0xf5)](parentListAction),parentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x2a4))[a2_0x19269a(0xf3)](a2_0x19269a(0x18e))[a2_0x19269a(0x3db)](a2_0x19269a(0x124),a2_0x19269a(0x2a0))[a2_0x19269a(0xf5)](async(_0x5c4efc,_0x10cef0)=>{const _0x40f118=a2_0x19269a,_0x379d1a=new ParentSegmentPullCommand(),_0x277b1e=program[_0x40f118(0x25b)](),_0x2fa901=await createTDXInstance(_0x277b1e),_0xa03143=await _0x379d1a[_0x40f118(0x396)]({'options':{..._0x277b1e,..._0x10cef0},'args':_0x5c4efc?[_0x5c4efc]:[],'tdx':_0x2fa901});gracefulExit(_0xa03143);}),parentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x256))[a2_0x19269a(0xf3)](a2_0x19269a(0x280))['action'](async(_0x522997,_0x5e4370)=>{const _0x32cb6a=a2_0x19269a,_0x5a4393=new ParentSegmentPushCommand(),_0x114957=program[_0x32cb6a(0x25b)](),_0x409e35=await createTDXInstance(_0x114957),_0x521f6a=await _0x5a4393[_0x32cb6a(0x396)]({'options':{..._0x114957,..._0x5e4370},'args':_0x522997?[_0x522997]:[],'tdx':_0x409e35});gracefulExit(_0x521f6a);}),parentCmd['command'](a2_0x19269a(0x3fd))[a2_0x19269a(0xf3)](a2_0x19269a(0x2d7))[a2_0x19269a(0x3db)](a2_0x19269a(0x2dd),'Show\x20only\x20master\x20table\x20validation')['option'](a2_0x19269a(0x3f7),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x19269a(0x3db)]('--behavior\x20[name]','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x19269a(0x3db)](a2_0x19269a(0x153),a2_0x19269a(0x207))[a2_0x19269a(0x3db)](a2_0x19269a(0x1bb),a2_0x19269a(0x164),a2_0x19269a(0x347))[a2_0x19269a(0xf5)](async(_0x3052af,_0x38e84a)=>{const _0x815000=a2_0x19269a,_0xa449e0=new ParentSegmentValidateCommand(),_0x577e66=program['opts'](),_0x26c22d=await createTDXInstance(_0x577e66),_0x7373bf=await _0xa449e0[_0x815000(0x396)]({'options':{..._0x577e66,..._0x38e84a},'args':_0x3052af?[_0x3052af]:[],'tdx':_0x26c22d});gracefulExit(_0x7373bf);}),parentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x113))[a2_0x19269a(0xf3)](a2_0x19269a(0x38e))[a2_0x19269a(0x3db)]('--master','Show\x20master\x20table\x20sample\x20data')[a2_0x19269a(0x3db)](a2_0x19269a(0x3f7),a2_0x19269a(0x26c))[a2_0x19269a(0x3db)]('--behavior\x20[name]',a2_0x19269a(0x30d))['option'](a2_0x19269a(0x153),a2_0x19269a(0x27f))[a2_0x19269a(0x3db)]('--interval\x20<range>',a2_0x19269a(0x164),a2_0x19269a(0x347))[a2_0x19269a(0xf5)](async(_0x43068d,_0xec2cea)=>{const _0x3ffc3b=a2_0x19269a,_0x493359=new ParentSegmentPreviewCommand(),_0x5493fb=program['opts'](),_0x2e1db3=await createTDXInstance(_0x5493fb),_0x24cdca=await _0x493359[_0x3ffc3b(0x396)]({'options':{..._0x5493fb,..._0xec2cea},'args':_0x43068d?[_0x43068d]:[],'tdx':_0x2e1db3});gracefulExit(_0x24cdca);}),parentCmd['command'](a2_0x19269a(0x294))[a2_0x19269a(0xf3)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x19269a(0xf5)](async(_0x40732f,_0x5ce5a)=>{const _0x28d536=a2_0x19269a,_0x529034=new ParentSegmentRunCommand(),_0xb72a57=program[_0x28d536(0x25b)](),_0xaf0595=await createTDXInstance(_0xb72a57),_0x32470b=await _0x529034[_0x28d536(0x396)]({'options':{..._0xb72a57,..._0x5ce5a},'args':_0x40732f?[_0x40732f]:[],'tdx':_0xaf0595});gracefulExit(_0x32470b);});const parentSegmentCmd=program['command'](a2_0x19269a(0x372))[a2_0x19269a(0x356)]('ps')[a2_0x19269a(0xf3)](a2_0x19269a(0x3d9));parentSegmentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0xf9))['description'](a2_0x19269a(0x39c))[a2_0x19269a(0xf5)](parentListAction),parentSegmentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x2a4))[a2_0x19269a(0xf3)](a2_0x19269a(0x173))[a2_0x19269a(0x3db)](a2_0x19269a(0x124),a2_0x19269a(0x33a))['option']('-u,\x20--use',a2_0x19269a(0x10e))['action'](async(_0xc8521c,_0x4522f3)=>{const _0x3a11f3=a2_0x19269a,_0x453b40=new ParentSegmentPullCommand(),_0x19e5f2=program[_0x3a11f3(0x25b)](),_0x8b0c61=await createTDXInstance(_0x19e5f2),_0x4c9961=await _0x453b40[_0x3a11f3(0x396)]({'options':{..._0x19e5f2,..._0x4522f3},'args':_0xc8521c?[_0xc8521c]:[],'tdx':_0x8b0c61});gracefulExit(_0x4c9961);}),parentSegmentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x128))[a2_0x19269a(0xf3)](a2_0x19269a(0x232))['action'](async(_0x3780a1,_0x736ba9)=>{const _0x229eb9=a2_0x19269a,_0x4e77d7=new ParentSegmentPushCommand(),_0x16b57b=program[_0x229eb9(0x25b)](),_0x1b3311=await createTDXInstance(_0x16b57b),_0x1329bd=await _0x4e77d7[_0x229eb9(0x396)]({'options':{..._0x16b57b,..._0x736ba9},'args':_0x3780a1?[_0x3780a1]:[],'tdx':_0x1b3311});gracefulExit(_0x1329bd);}),parentSegmentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x3a7))[a2_0x19269a(0xf3)](a2_0x19269a(0x2d7))[a2_0x19269a(0x3db)]('--master','Show\x20only\x20master\x20table\x20validation')[a2_0x19269a(0x3db)](a2_0x19269a(0x3f7),a2_0x19269a(0x169))[a2_0x19269a(0x3db)](a2_0x19269a(0x10a),a2_0x19269a(0x2ef))[a2_0x19269a(0x3db)](a2_0x19269a(0x153),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')['option'](a2_0x19269a(0x1bb),a2_0x19269a(0x164),a2_0x19269a(0x347))[a2_0x19269a(0xf5)](async(_0x639b6f,_0x14636b)=>{const _0x244c8e=a2_0x19269a,_0x1261e0=new ParentSegmentValidateCommand(),_0x22099a=program[_0x244c8e(0x25b)](),_0x4ddda8=await createTDXInstance(_0x22099a),_0x17370b=await _0x1261e0[_0x244c8e(0x396)]({'options':{..._0x22099a,..._0x14636b},'args':_0x639b6f?[_0x639b6f]:[],'tdx':_0x4ddda8});gracefulExit(_0x17370b);}),parentSegmentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x203))['description'](a2_0x19269a(0x38e))[a2_0x19269a(0x3db)](a2_0x19269a(0x2dd),a2_0x19269a(0x15d))[a2_0x19269a(0x3db)](a2_0x19269a(0x3f7),a2_0x19269a(0x26c))[a2_0x19269a(0x3db)](a2_0x19269a(0x10a),a2_0x19269a(0x30d))[a2_0x19269a(0x3db)](a2_0x19269a(0x153),a2_0x19269a(0x27f))[a2_0x19269a(0x3db)](a2_0x19269a(0x1bb),a2_0x19269a(0x164),a2_0x19269a(0x347))[a2_0x19269a(0xf5)](async(_0x2006f0,_0x12a636)=>{const _0x2ae4cf=a2_0x19269a,_0x3ed9f4=new ParentSegmentPreviewCommand(),_0x1a04c6=program[_0x2ae4cf(0x25b)](),_0x4830fc=await createTDXInstance(_0x1a04c6),_0x3981d4=await _0x3ed9f4[_0x2ae4cf(0x396)]({'options':{..._0x1a04c6,..._0x12a636},'args':_0x2006f0?[_0x2006f0]:[],'tdx':_0x4830fc});gracefulExit(_0x3981d4);}),parentSegmentCmd['command'](a2_0x19269a(0x294))[a2_0x19269a(0xf3)](a2_0x19269a(0x1ed))[a2_0x19269a(0xf5)](async(_0xb36014,_0x1b9b94)=>{const _0x465aa7=a2_0x19269a,_0x27afca=new ParentSegmentRunCommand(),_0x553e9f=program['opts'](),_0x56c3a6=await createTDXInstance(_0x553e9f),_0x2c1cd7=await _0x27afca[_0x465aa7(0x396)]({'options':{..._0x553e9f,..._0x1b9b94},'args':_0xb36014?[_0xb36014]:[],'tdx':_0x56c3a6});gracefulExit(_0x2c1cd7);}),parentSegmentCmd[a2_0x19269a(0x2f5)]('fields\x20[name]')['description'](a2_0x19269a(0x42d))[a2_0x19269a(0x3db)](a2_0x19269a(0x307),'Output\x20as\x20JSON')[a2_0x19269a(0x3db)](a2_0x19269a(0x13e),'Output\x20as\x20JSON\x20Lines')[a2_0x19269a(0xf5)](async(_0x4a6af2,_0x3271aa)=>{const _0x5ada56=a2_0x19269a,_0x102ac1=new ParentSegmentFieldsCommand(),_0x512da7=program[_0x5ada56(0x25b)](),_0x222629=await createTDXInstance(_0x512da7),_0x470258=await _0x102ac1['run']({'options':{..._0x512da7,..._0x3271aa},'args':_0x4a6af2?[_0x4a6af2]:[],'tdx':_0x222629});gracefulExit(_0x470258);}),parentSegmentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x3e4))[a2_0x19269a(0xf3)](a2_0x19269a(0x41d))[a2_0x19269a(0x3db)]('-w,\x20--web',a2_0x19269a(0xfb))[a2_0x19269a(0x3db)](a2_0x19269a(0x307),a2_0x19269a(0x11d))['option']('--jsonl',a2_0x19269a(0x25f))[a2_0x19269a(0xf5)](async(_0x4a4f3f,_0x311955)=>{const _0x45c500=a2_0x19269a,_0x218206=new ParentSegmentViewCommand(),_0x4b1c6c=program[_0x45c500(0x25b)](),_0x10bc04=await createTDXInstance(_0x4b1c6c),_0x59d789=await _0x218206[_0x45c500(0x396)]({'options':{..._0x4b1c6c,..._0x311955},'args':_0x4a4f3f?[_0x4a4f3f]:[],'tdx':_0x10bc04});gracefulExit(_0x59d789);}),parentSegmentCmd['command'](a2_0x19269a(0x1de))['description']('Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x19269a(0x3db)](a2_0x19269a(0x124),a2_0x19269a(0x33a))[a2_0x19269a(0x3db)]('--json','Output\x20as\x20JSON')[a2_0x19269a(0x3db)](a2_0x19269a(0x13e),a2_0x19269a(0x25f))[a2_0x19269a(0xf5)](async(_0x591e6a,_0x74302)=>{const _0xc37c97=a2_0x19269a,_0x6f2b3e=new ParentSegmentDescCommand(),_0x3fad01=program[_0xc37c97(0x25b)](),_0x1c9bb5=await createTDXInstance(_0x3fad01),_0x144f6b=await _0x6f2b3e[_0xc37c97(0x396)]({'options':{..._0x3fad01,..._0x74302},'args':_0x591e6a?[_0x591e6a]:[],'tdx':_0x1c9bb5});gracefulExit(_0x144f6b);}),parentSegmentCmd['command'](a2_0x19269a(0x1cb))['description'](a2_0x19269a(0x20d))['option'](a2_0x19269a(0x307),'Output\x20as\x20JSON')[a2_0x19269a(0x3db)](a2_0x19269a(0x13e),'Output\x20as\x20JSON\x20Lines')[a2_0x19269a(0xf5)](async(_0x5d3079,_0xc24a34)=>{const _0x34b7e2=a2_0x19269a,_0x38196a=new ParentSegmentSQLCommand(),_0x25617f=program[_0x34b7e2(0x25b)](),_0x171c1b=await createTDXInstance(_0x25617f),_0x472d25=await _0x38196a[_0x34b7e2(0x396)]({'options':{..._0x25617f,..._0xc24a34},'args':_0x5d3079?[_0x5d3079]:[],'tdx':_0x171c1b});gracefulExit(_0x472d25);}),parentSegmentCmd[a2_0x19269a(0x2f5)]('show\x20[name]')[a2_0x19269a(0xf3)]('Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x19269a(0x104),a2_0x19269a(0x2b4))[a2_0x19269a(0x3db)](a2_0x19269a(0x307),'Output\x20as\x20JSON')[a2_0x19269a(0x3db)]('--jsonl',a2_0x19269a(0x25f))['action'](async(_0x1aeaa8,_0x52dcb8)=>{const _0x139a86=a2_0x19269a,_0x41cdba=new ParentSegmentShowCommand(),_0x4829bc=program[_0x139a86(0x25b)](),_0x185009=await createTDXInstance(_0x4829bc),_0x5b6fc9=await _0x41cdba[_0x139a86(0x396)]({'options':{..._0x4829bc,..._0x52dcb8},'args':_0x1aeaa8?[_0x1aeaa8]:[],'tdx':_0x185009});gracefulExit(_0x5b6fc9);}),parentSegmentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x366))['description'](a2_0x19269a(0x2f2))[a2_0x19269a(0xf5)](async(_0x326098,_0x43c2f9)=>{const _0x1c5c23=a2_0x19269a,_0x102485=new UseCommand(),_0x4c0110=program['opts'](),_0x514a3a=_0x326098?[_0x1c5c23(0x1d8),_0x326098]:[],_0x4090b0=await _0x102485[_0x1c5c23(0x396)]({'options':{..._0x4c0110,..._0x43c2f9},'args':_0x514a3a,'tdx':null});gracefulExit(_0x4090b0);});const psRtCmd=parentSegmentCmd[a2_0x19269a(0x2f5)]('rt')[a2_0x19269a(0xf3)](a2_0x19269a(0x310));psRtCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0xf9))[a2_0x19269a(0xf3)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0x19269a(0xf5)](async(_0x594439,_0x3d3c2a)=>{const _0x3ec329=a2_0x19269a,_0x53252b=new PSRtListCommand(),_0x372b10=program[_0x3ec329(0x25b)](),_0x32d1c9=await createTDXInstance(_0x372b10),_0xd4286f=await _0x53252b[_0x3ec329(0x396)]({'options':{..._0x372b10,..._0x3d3c2a},'args':_0x594439?[_0x594439]:[],'tdx':_0x32d1c9});gracefulExit(_0xd4286f);}),psRtCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x3a7))['description'](a2_0x19269a(0x277))[a2_0x19269a(0xf5)](async(_0x521a41,_0x3ba600)=>{const _0x49e4c2=a2_0x19269a,_0x3bb4d2=new PSRtValidateCommand(),_0x28588c=program[_0x49e4c2(0x25b)](),_0x37310a=await createTDXInstance(_0x28588c),_0x4861aa=await _0x3bb4d2['run']({'options':{..._0x28588c,..._0x3ba600},'args':_0x521a41?[_0x521a41]:[],'tdx':_0x37310a});gracefulExit(_0x4861aa);}),psRtCmd[a2_0x19269a(0x2f5)]('configuration_versions\x20[name]')[a2_0x19269a(0xf3)](a2_0x19269a(0x3b8))[a2_0x19269a(0xf5)](async(_0x15d755,_0x26463c)=>{const _0x5d7c48=new PSRtConfigVersionCommand(),_0x573c89=program['opts'](),_0x5acf89=await createTDXInstance(_0x573c89),_0x1d66ce=await _0x5d7c48['run']({'options':{..._0x573c89,..._0x26463c},'args':_0x15d755?[_0x15d755]:[],'tdx':_0x5acf89});gracefulExit(_0x1d66ce);});const psRtJnCmd=psRtCmd[a2_0x19269a(0x2f5)]('jn')[a2_0x19269a(0xf3)](a2_0x19269a(0x388));psRtJnCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x304))[a2_0x19269a(0xf3)](a2_0x19269a(0x13c))['action'](async(_0xa7e785,_0x635281)=>{const _0x4cb393=a2_0x19269a,_0x2d0df9=new PSRtJnListCommand(),_0x637a9=program[_0x4cb393(0x25b)](),_0x284b13=await createTDXInstance(_0x637a9),_0x34de22=await _0x2d0df9['run']({'options':{..._0x637a9,..._0x635281},'args':_0xa7e785?[_0xa7e785]:[],'tdx':_0x284b13});gracefulExit(_0x34de22);}),psRtJnCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x325))['description'](a2_0x19269a(0x1a1))[a2_0x19269a(0xf5)](async(_0x493d50,_0x5a78c4)=>{const _0x95da3d=a2_0x19269a,_0x10a791=new PSRtJnPauseCommand(),_0x49aafc=program[_0x95da3d(0x25b)](),_0x5e74ef=await createTDXInstance(_0x49aafc),_0x1fd5de=await _0x10a791[_0x95da3d(0x396)]({'options':{..._0x49aafc,..._0x5a78c4},'args':[_0x493d50],'tdx':_0x5e74ef});gracefulExit(_0x1fd5de);}),psRtJnCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x2cc))['description'](a2_0x19269a(0x21b))[a2_0x19269a(0xf5)](async(_0x2054e8,_0x35ea5d)=>{const _0x5e7edc=a2_0x19269a,_0x362b1a=new PSRtJnResumeCommand(),_0x3016df=program[_0x5e7edc(0x25b)](),_0x4b00cd=await createTDXInstance(_0x3016df),_0x4defa1=await _0x362b1a[_0x5e7edc(0x396)]({'options':{..._0x3016df,..._0x35ea5d},'args':[_0x2054e8],'tdx':_0x4b00cd});gracefulExit(_0x4defa1);});const parentRtCmd=parentCmd[a2_0x19269a(0x2f5)]('rt',{'hidden':!![]})[a2_0x19269a(0xf3)]('RT\x202.0\x20configuration\x20management');parentRtCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0xf9))[a2_0x19269a(0xf3)](a2_0x19269a(0x3c8))['action'](async(_0x5df06f,_0x507639)=>{const _0xe61433=new PSRtListCommand(),_0x3479aa=program['opts'](),_0x5be7f5=await createTDXInstance(_0x3479aa),_0x2ae538=await _0xe61433['run']({'options':{..._0x3479aa,..._0x507639},'args':_0x5df06f?[_0x5df06f]:[],'tdx':_0x5be7f5});gracefulExit(_0x2ae538);}),parentRtCmd['command'](a2_0x19269a(0x3a7))['description'](a2_0x19269a(0x277))['action'](async(_0x245538,_0xc00ad3)=>{const _0x3c6f53=a2_0x19269a,_0x2562d9=new PSRtValidateCommand(),_0x288402=program[_0x3c6f53(0x25b)](),_0x329b6a=await createTDXInstance(_0x288402),_0x52fccf=await _0x2562d9[_0x3c6f53(0x396)]({'options':{..._0x288402,..._0xc00ad3},'args':_0x245538?[_0x245538]:[],'tdx':_0x329b6a});gracefulExit(_0x52fccf);});const psPzCmd=parentSegmentCmd['command']('pz')['description']('Personalization\x20management');psPzCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x304))[a2_0x19269a(0xf3)](a2_0x19269a(0x348))['action'](async(_0x1540fc,_0x399248)=>{const _0x229707=a2_0x19269a,_0x13a533=new PSPzListCommand(),_0x3a94d4=program[_0x229707(0x25b)](),_0x246097=await createTDXInstance(_0x3a94d4),_0x53f984=await _0x13a533[_0x229707(0x396)]({'options':{..._0x3a94d4,..._0x399248},'args':_0x1540fc?[_0x1540fc]:[],'tdx':_0x246097});gracefulExit(_0x53f984);}),psPzCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x3a6))[a2_0x19269a(0xf3)](a2_0x19269a(0x190))[a2_0x19269a(0xf5)](async(_0x3770a0,_0x1a87f0)=>{const _0x4956da=a2_0x19269a,_0x26666c=new PSPzShowCommand(),_0x438ed0=program['opts'](),_0x28de9e=await createTDXInstance(_0x438ed0),_0x4b6313=await _0x26666c[_0x4956da(0x396)]({'options':{..._0x438ed0,..._0x1a87f0},'args':[_0x3770a0],'tdx':_0x28de9e});gracefulExit(_0x4b6313);}),psPzCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x1c1))[a2_0x19269a(0xf3)](a2_0x19269a(0x370))[a2_0x19269a(0xf5)](async(_0x1232eb,_0x49986d)=>{const _0x6fffc2=a2_0x19269a,_0x2e9dc3=new PSPzDeleteCommand(),_0x9f1bb0=program[_0x6fffc2(0x25b)](),_0x3c2f3a=await createTDXInstance(_0x9f1bb0),_0x302d8e=await _0x2e9dc3['run']({'options':{..._0x9f1bb0,..._0x49986d},'args':[_0x1232eb],'tdx':_0x3c2f3a});gracefulExit(_0x302d8e);}),psPzCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x254))[a2_0x19269a(0xf3)]('Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)')[a2_0x19269a(0x3db)](a2_0x19269a(0x2a7),a2_0x19269a(0x2e4))[a2_0x19269a(0x3db)](a2_0x19269a(0x12a),a2_0x19269a(0x155))[a2_0x19269a(0x3db)]('--audience-id\x20<id>',a2_0x19269a(0x1d3))[a2_0x19269a(0x3db)](a2_0x19269a(0x198),a2_0x19269a(0x125))[a2_0x19269a(0x3db)](a2_0x19269a(0x17e),a2_0x19269a(0x2bd))['option'](a2_0x19269a(0x188),a2_0x19269a(0x146))[a2_0x19269a(0xf5)](async _0x48c3a8=>{const _0x28ad41=a2_0x19269a,_0x65f87a=new PSPzCreateCommand(),_0x47dc04=program[_0x28ad41(0x25b)](),_0x397954=await createTDXInstance(_0x47dc04),_0x5416b3=await _0x65f87a[_0x28ad41(0x396)]({'options':{..._0x47dc04,..._0x48c3a8},'args':[],'tdx':_0x397954});gracefulExit(_0x5416b3);}),psPzCmd['command'](a2_0x19269a(0x199))[a2_0x19269a(0xf3)](a2_0x19269a(0x402))['option'](a2_0x19269a(0x2a7),a2_0x19269a(0x2e4))[a2_0x19269a(0x3db)](a2_0x19269a(0x12a),a2_0x19269a(0x155))['option'](a2_0x19269a(0x17e),'Sections\x20as\x20an\x20inline\x20JSON\x20array')[a2_0x19269a(0x3db)](a2_0x19269a(0x188),a2_0x19269a(0x146))[a2_0x19269a(0xf5)](async(_0x30fd97,_0x332233)=>{const _0x36026b=a2_0x19269a,_0x51b046=new PSPzPatchCommand(),_0x1c4e2b=program[_0x36026b(0x25b)](),_0x2c5bcd=await createTDXInstance(_0x1c4e2b),_0x4d8827=await _0x51b046[_0x36026b(0x396)]({'options':{..._0x1c4e2b,..._0x332233},'args':[_0x30fd97],'tdx':_0x2c5bcd});gracefulExit(_0x4d8827);});const psPzServiceCmd=psPzCmd['command'](a2_0x19269a(0x3cc))[a2_0x19269a(0xf3)](a2_0x19269a(0x1b4));psPzServiceCmd[a2_0x19269a(0x2f5)]('list\x20[name]')[a2_0x19269a(0xf3)](a2_0x19269a(0x34f))['action'](async(_0x2de81e,_0x4d38b4)=>{const _0x59b508=a2_0x19269a,_0x1982e6=new PSPzServiceListCommand(),_0xaa3309=program['opts'](),_0x49fe07=await createTDXInstance(_0xaa3309),_0x229760=await _0x1982e6[_0x59b508(0x396)]({'options':{..._0xaa3309,..._0x4d38b4},'args':_0x2de81e?[_0x2de81e]:[],'tdx':_0x49fe07});gracefulExit(_0x229760);}),psPzServiceCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x12c))[a2_0x19269a(0xf3)](a2_0x19269a(0x16c))[a2_0x19269a(0x3db)](a2_0x19269a(0x12a),'Service\x20description')['option'](a2_0x19269a(0x223),'Make\x20service\x20public\x20(default:\x20private)')[a2_0x19269a(0xf5)](async(_0x236a0c,_0x191cf5,_0x4bbb9e)=>{const _0x4bb3ff=a2_0x19269a,_0x3bc0a0=new PSPzServiceCreateCommand(),_0x4bc614=program[_0x4bb3ff(0x25b)](),_0x2e772a=await createTDXInstance(_0x4bc614),_0x2959f9=await _0x3bc0a0[_0x4bb3ff(0x396)]({'options':{..._0x4bc614,..._0x4bbb9e},'args':_0x191cf5?[_0x236a0c,_0x191cf5]:[_0x236a0c],'tdx':_0x2e772a});gracefulExit(_0x2959f9);}),psPzServiceCmd[a2_0x19269a(0x2f5)]('show\x20<service_id>\x20[parent_segment]')[a2_0x19269a(0xf3)](a2_0x19269a(0x20f))[a2_0x19269a(0xf5)](async(_0x3cefab,_0x4ad8d5,_0x4699fc)=>{const _0x25304d=a2_0x19269a,_0x21757d=new PSPzServiceShowCommand(),_0x29c4c0=program[_0x25304d(0x25b)](),_0x12cc1c=await createTDXInstance(_0x29c4c0),_0x2f9bbd=await _0x21757d['run']({'options':{..._0x29c4c0,..._0x4699fc},'args':_0x4ad8d5?[_0x3cefab,_0x4ad8d5]:[_0x3cefab],'tdx':_0x12cc1c});gracefulExit(_0x2f9bbd);}),psPzServiceCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x1cd))['description']('Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x19269a(0xf5)](async(_0x461ecd,_0x13775d,_0xf57b6f)=>{const _0x189428=a2_0x19269a,_0x5434e3=new PSPzServiceDeleteCommand(),_0x23c172=program[_0x189428(0x25b)](),_0x5e979c=await createTDXInstance(_0x23c172),_0x54e67a=await _0x5434e3[_0x189428(0x396)]({'options':{..._0x23c172,..._0xf57b6f},'args':_0x13775d?[_0x461ecd,_0x13775d]:[_0x461ecd],'tdx':_0x5e979c});gracefulExit(_0x54e67a);}),psPzServiceCmd['command'](a2_0x19269a(0x134))[a2_0x19269a(0xf3)](a2_0x19269a(0x1b8))[a2_0x19269a(0x32a)](a2_0x19269a(0x2ad),a2_0x19269a(0x3d8))[a2_0x19269a(0x3db)](a2_0x19269a(0x12a),'New\x20service\x20description')[a2_0x19269a(0xf5)](async(_0x55b1b0,_0x4924eb,_0x30de9a)=>{const _0x49385e=a2_0x19269a,_0x309e5b=new PSPzServiceUpdateCommand(),_0x11cd67=program[_0x49385e(0x25b)](),_0x4528a4=await createTDXInstance(_0x11cd67),_0x3e1e33=await _0x309e5b[_0x49385e(0x396)]({'options':{..._0x11cd67,..._0x30de9a},'args':_0x4924eb?[_0x55b1b0,_0x4924eb]:[_0x55b1b0],'tdx':_0x4528a4});gracefulExit(_0x3e1e33);}),psPzServiceCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x119))[a2_0x19269a(0xf3)](a2_0x19269a(0x3ba))[a2_0x19269a(0xf5)](async(_0x4acfb4,_0x46bdd8)=>{const _0x4425a9=a2_0x19269a,_0x3c4c81=new PSPzInitCommand(),_0x5727af=program[_0x4425a9(0x25b)](),_0x2c957c=await createTDXInstance(_0x5727af),_0x4a4d36=await _0x3c4c81[_0x4425a9(0x396)]({'options':{..._0x5727af,..._0x46bdd8},'args':_0x4acfb4?[_0x4acfb4]:[],'tdx':_0x2c957c});gracefulExit(_0x4a4d36);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x195))[a2_0x19269a(0xf3)](a2_0x19269a(0x174));psPzServiceTokenCmd['command'](a2_0x19269a(0x14e))[a2_0x19269a(0xf3)](a2_0x19269a(0x3d0))[a2_0x19269a(0x3db)]('--allowed-ips\x20<ips>',a2_0x19269a(0x352))[a2_0x19269a(0x3db)]('--description\x20<text>',a2_0x19269a(0x1eb))[a2_0x19269a(0xf5)](async(_0x536145,_0x14eb95,_0xa265c9,_0x5d8a17)=>{const _0x5564e7=a2_0x19269a,_0x17987b=new PSPzServiceTokenCreateCommand(),_0x4c4120=program[_0x5564e7(0x25b)](),_0xac24d6=await createTDXInstance(_0x4c4120),_0xf01992=await _0x17987b[_0x5564e7(0x396)]({'options':{..._0x4c4120,..._0x5d8a17},'args':_0xa265c9?[_0x536145,_0x14eb95,_0xa265c9]:[_0x536145,_0x14eb95],'tdx':_0xac24d6});gracefulExit(_0xf01992);}),psPzServiceTokenCmd['command'](a2_0x19269a(0x2d2))[a2_0x19269a(0xf3)](a2_0x19269a(0x261))['action'](async(_0x50c2d0,_0x165385,_0x4d9a38)=>{const _0x2411f2=a2_0x19269a,_0x2c9fa4=new PSPzServiceTokenDeleteCommand(),_0x1d38e9=program[_0x2411f2(0x25b)](),_0x2f409d=await createTDXInstance(_0x1d38e9),_0xffcaa4=await _0x2c9fa4[_0x2411f2(0x396)]({'options':{..._0x1d38e9,..._0x4d9a38},'args':_0x165385?[_0x50c2d0,_0x165385]:[_0x50c2d0],'tdx':_0x2f409d});gracefulExit(_0xffcaa4);}),parentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x364))[a2_0x19269a(0xf3)](a2_0x19269a(0x39f))[a2_0x19269a(0x32a)](a2_0x19269a(0x290),a2_0x19269a(0x118))['requiredOption'](a2_0x19269a(0x2c1),a2_0x19269a(0x3b7))[a2_0x19269a(0x3db)](a2_0x19269a(0x12a),a2_0x19269a(0x112))[a2_0x19269a(0x3db)]('--schedule-type\x20<type>','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x19269a(0x3db)](a2_0x19269a(0x258),a2_0x19269a(0x424))[a2_0x19269a(0x3db)](a2_0x19269a(0x1e1),'Timezone\x20(e.g.,\x20America/Los_Angeles)')[a2_0x19269a(0x3db)](a2_0x19269a(0x197),'Attributes\x20as\x20JSON\x20string')[a2_0x19269a(0x3db)](a2_0x19269a(0x1c7),a2_0x19269a(0x212))[a2_0x19269a(0x3db)](a2_0x19269a(0x2fe),a2_0x19269a(0x299))[a2_0x19269a(0x3db)](a2_0x19269a(0x2c8),a2_0x19269a(0x25d))[a2_0x19269a(0x3db)](a2_0x19269a(0x34c),a2_0x19269a(0x27a))['option']('--customer-group-file\x20<file>',a2_0x19269a(0x1c3))[a2_0x19269a(0xf5)](async(_0x2ed1d9,_0x1eff0b)=>{const _0x5d59cc=a2_0x19269a,_0x1d55d7=new ParentSegmentCreateCommand(),_0x513e16=program[_0x5d59cc(0x25b)](),_0x52db00=await createTDXInstance(_0x513e16),_0x5396ff=await _0x1d55d7['run']({'options':{..._0x513e16,..._0x1eff0b},'args':[_0x2ed1d9],'tdx':_0x52db00});gracefulExit(_0x5396ff);}),parentCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x413))['description'](a2_0x19269a(0x220))[a2_0x19269a(0x3db)](a2_0x19269a(0x12a),'Updated\x20description')[a2_0x19269a(0x3db)]('--schedule-type\x20<type>',a2_0x19269a(0x2ed))[a2_0x19269a(0x3db)](a2_0x19269a(0x258),a2_0x19269a(0x12e))[a2_0x19269a(0x3db)](a2_0x19269a(0x1e1),'Updated\x20timezone')[a2_0x19269a(0x3db)]('--add-attributes\x20<json>',a2_0x19269a(0x14f))[a2_0x19269a(0x3db)](a2_0x19269a(0x329),a2_0x19269a(0x163))[a2_0x19269a(0x3db)](a2_0x19269a(0x3a0),a2_0x19269a(0x1a3))[a2_0x19269a(0x3db)]('--add-behaviors-file\x20<file>',a2_0x19269a(0x317))[a2_0x19269a(0xf5)](async(_0x4181cb,_0x5747e4)=>{const _0x15b418=a2_0x19269a,_0x2eeb5e=new ParentSegmentUpdateCommand(),_0x5c5658=program[_0x15b418(0x25b)](),_0x466006=await createTDXInstance(_0x5c5658),_0x2bc5ae=await _0x2eeb5e[_0x15b418(0x396)]({'options':{..._0x5c5658,..._0x5747e4},'args':[_0x4181cb],'tdx':_0x466006});gracefulExit(_0x2bc5ae);}),folderCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x1ec))[a2_0x19269a(0xf3)](a2_0x19269a(0x3de))[a2_0x19269a(0x3db)](a2_0x19269a(0x12a),a2_0x19269a(0x3fb))[a2_0x19269a(0x3db)]('--parent-folder\x20<name>',a2_0x19269a(0x2db))['action'](async(_0x4f8fda,_0x2bfe31,_0x481761)=>{const _0x36f082=a2_0x19269a,_0x13b4f5=new SegmentFolderCreateCommand(),_0x2e3376=program[_0x36f082(0x25b)](),_0x3f1d4c=await createTDXInstance(_0x2e3376),_0x21c0c3=await _0x13b4f5['run']({'options':{..._0x2e3376,..._0x481761},'args':[_0x4f8fda,_0x2bfe31],'tdx':_0x3f1d4c});gracefulExit(_0x21c0c3);}),program[a2_0x19269a(0x2f5)](a2_0x19269a(0x38d))[a2_0x19269a(0xf3)](a2_0x19269a(0x1ae))[a2_0x19269a(0xf5)](async(_0xe3830c,_0x50710c)=>{const _0x25c167=a2_0x19269a,_0x5a6e36=new ActivationsCommand(),_0x5a585f=program[_0x25c167(0x25b)](),_0x106df2=await createTDXInstance(_0x5a585f),_0x29e8b9=await _0x5a6e36[_0x25c167(0x396)]({'options':{..._0x5a585f,..._0x50710c},'args':[_0xe3830c],'tdx':_0x106df2});gracefulExit(_0x29e8b9);});const workflowCmd=program[a2_0x19269a(0x2f5)](a2_0x19269a(0x114))[a2_0x19269a(0x356)]('wf')[a2_0x19269a(0xf3)](a2_0x19269a(0x33c)),wfProjectCmd=workflowCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x1be))['description']('Workflow\x20project\x20management'),wfProjectListAction=async(_0x29a4b3,_0x18263d)=>{const _0x1af8a2=a2_0x19269a,_0x113dd=new WorkflowProjectsCommand(),_0x53dd16=program[_0x1af8a2(0x25b)](),_0x105ee4=await createTDXInstance(_0x53dd16),_0x51a626=await _0x113dd['run']({'options':{..._0x53dd16,..._0x18263d},'args':_0x29a4b3?[_0x29a4b3]:[],'tdx':_0x105ee4});gracefulExit(_0x51a626);};wfProjectCmd['command'](a2_0x19269a(0xf9))[a2_0x19269a(0xf3)]('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x19269a(0xf5)](wfProjectListAction),workflowCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x421))[a2_0x19269a(0xf3)]('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x39e1e3,_0x2250c3)=>{const _0x54a370=a2_0x19269a,_0x219262=new WorkflowWorkflowsCommand(),_0x51a293=program[_0x54a370(0x25b)](),_0x32d120=await createTDXInstance(_0x51a293),_0x2750ea=await _0x219262[_0x54a370(0x396)]({'options':{..._0x51a293,..._0x2250c3},'args':_0x39e1e3?[_0x39e1e3]:[],'tdx':_0x32d120});gracefulExit(_0x2750ea);};workflowCmd['command']('workflows\x20[project]')['description']('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x19269a(0x2f5)]('session')['description'](a2_0x19269a(0x32f)),wfSessionListAction=async(_0x4a5915,_0x130b5c)=>{const _0x29ee89=a2_0x19269a,_0x2ca779=new WorkflowSessionsCommand(),_0x152284=program[_0x29ee89(0x25b)](),_0x36aadb=await createTDXInstance(_0x152284),_0x2f8e58=await _0x2ca779['run']({'options':{..._0x152284,..._0x130b5c},'args':_0x4a5915?[_0x4a5915]:[],'tdx':_0x36aadb});gracefulExit(_0x2f8e58);};wfSessionCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x1f2))['description']('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x19269a(0x3db)](a2_0x19269a(0x227),a2_0x19269a(0x23e))[a2_0x19269a(0x3db)](a2_0x19269a(0x142),a2_0x19269a(0x343))[a2_0x19269a(0x3db)](a2_0x19269a(0x2fb),a2_0x19269a(0x3ac))[a2_0x19269a(0xf5)](wfSessionListAction),workflowCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x1b2))[a2_0x19269a(0xf3)]('List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)')[a2_0x19269a(0x3db)]('--status\x20<status>',a2_0x19269a(0x23e))['option'](a2_0x19269a(0x142),a2_0x19269a(0x343))['option'](a2_0x19269a(0x2fb),'End\x20time\x20filter\x20(ISO\x208601\x20format)')['action'](wfSessionListAction);const wfAttemptListAction=async(_0x4bb4df,_0x410fc6)=>{const _0x2b5d78=a2_0x19269a,_0x4a44e4=new WorkflowAttemptsCommand(),_0x3dd2b6=program[_0x2b5d78(0x25b)](),_0x50f0da=await createTDXInstance(_0x3dd2b6),_0x17fc26=await _0x4a44e4[_0x2b5d78(0x396)]({'options':{..._0x3dd2b6,..._0x410fc6},'args':_0x4bb4df?[_0x4bb4df]:[],'tdx':_0x50f0da});gracefulExit(_0x17fc26);},attemptCmd=workflowCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x405))[a2_0x19269a(0xf3)](a2_0x19269a(0x105))[a2_0x19269a(0x193)](a2_0x19269a(0x38c),'Attempt\x20ID')[a2_0x19269a(0x193)](a2_0x19269a(0x2c3),a2_0x19269a(0x355))[a2_0x19269a(0x193)](a2_0x19269a(0x357),a2_0x19269a(0xfe))[a2_0x19269a(0x3db)](a2_0x19269a(0x123),a2_0x19269a(0x2e3))[a2_0x19269a(0x3db)](a2_0x19269a(0x278),a2_0x19269a(0x16b))[a2_0x19269a(0x3db)](a2_0x19269a(0x344),'Resume\x20from\x20specific\x20task\x20(retry)')['option'](a2_0x19269a(0x11e),a2_0x19269a(0x428))[a2_0x19269a(0x3db)]('--force',a2_0x19269a(0x1a8))['option'](a2_0x19269a(0x1e6),a2_0x19269a(0x35a))['action'](async(_0x3f2207,_0xa538d5,_0x55a979,_0x50611a)=>{const _0x2c1b8d=a2_0x19269a;if(_0x3f2207===_0x2c1b8d(0x2d9)){await wfAttemptListAction(_0xa538d5,_0x50611a);return;}if(!_0x3f2207){attemptCmd['help']();return;}const _0x24db78=program['opts'](),_0x4b3cdc=await createTDXInstance(_0x24db78);let _0x1a208a=0x0;if(!_0xa538d5){const _0x1733f2=new WorkflowAttemptCommand();_0x1a208a=await _0x1733f2[_0x2c1b8d(0x396)]({'options':{..._0x24db78,..._0x50611a},'args':[_0x3f2207],'tdx':_0x4b3cdc});}else{if(_0xa538d5===_0x2c1b8d(0x266)){const _0x4cf327=new WorkflowLogsCommand();_0x1a208a=await _0x4cf327['run']({'options':{..._0x24db78,..._0x50611a},'args':_0x55a979?[_0x3f2207,_0x55a979]:[_0x3f2207],'tdx':_0x4b3cdc});}else{if(_0xa538d5===_0x2c1b8d(0x2b2)){const _0x1dad09=new WorkflowTasksCommand();_0x1a208a=await _0x1dad09[_0x2c1b8d(0x396)]({'options':{..._0x24db78,..._0x50611a},'args':[_0x3f2207],'tdx':_0x4b3cdc});}else{if(_0xa538d5==='kill'){const _0x11a024=new WorkflowKillCommand();_0x1a208a=await _0x11a024[_0x2c1b8d(0x396)]({'options':{..._0x24db78,..._0x50611a},'args':[_0x3f2207],'tdx':_0x4b3cdc});}else{if(_0xa538d5===_0x2c1b8d(0x2cb)){const _0x4be514=new WorkflowRetryCommand();_0x1a208a=await _0x4be514[_0x2c1b8d(0x396)]({'options':{..._0x24db78,..._0x50611a},'args':[_0x2c1b8d(0x319)+_0x3f2207],'tdx':_0x4b3cdc});}else console['error'](_0x2c1b8d(0xff)+_0xa538d5),console[_0x2c1b8d(0x2b6)](_0x2c1b8d(0x3ed)),_0x1a208a=0x1;}}}}gracefulExit(_0x1a208a);});attemptCmd['command'](a2_0x19269a(0x1f2))['description'](a2_0x19269a(0x3a2))[a2_0x19269a(0x3db)](a2_0x19269a(0x1e6),a2_0x19269a(0x338))[a2_0x19269a(0xf5)](wfAttemptListAction),workflowCmd['command'](a2_0x19269a(0x36e))['description'](a2_0x19269a(0xfc))[a2_0x19269a(0x3db)]('--include-retried','Include\x20retried\x20attempts')[a2_0x19269a(0xf5)](wfAttemptListAction),workflowCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x23c))[a2_0x19269a(0xf3)](a2_0x19269a(0x245))[a2_0x19269a(0x3db)]('--follow',a2_0x19269a(0x322))[a2_0x19269a(0x3db)](a2_0x19269a(0x2d8),a2_0x19269a(0x14c))[a2_0x19269a(0x3db)](a2_0x19269a(0x386),a2_0x19269a(0x2d1))['action'](async(_0x40331a,_0x9c7424)=>{const _0x3e7938=a2_0x19269a,_0x4b0741=new WorkflowTimelineCommand(),_0x39b57c=program[_0x3e7938(0x25b)](),_0x5c6665=await createTDXInstance(_0x39b57c),_0x5bd4dc=await _0x4b0741[_0x3e7938(0x396)]({'options':{..._0x39b57c,..._0x9c7424},'args':_0x40331a?[_0x40331a]:[],'tdx':_0x5c6665});gracefulExit(_0x5bd4dc);}),workflowCmd['command'](a2_0x19269a(0x3d7))['description']('Retry\x20a\x20session\x20(prefix\x20with\x20session:)')[a2_0x19269a(0x3db)](a2_0x19269a(0x297),a2_0x19269a(0x1ad))['option'](a2_0x19269a(0x11e),a2_0x19269a(0x206))['action'](async(_0x1a6f94,_0x35aa11)=>{const _0x4773df=a2_0x19269a,_0x3d6730=new WorkflowRetryCommand(),_0x5ed8b5=program[_0x4773df(0x25b)](),_0x2d2a3d=await createTDXInstance(_0x5ed8b5),_0x1e55f1=await _0x3d6730[_0x4773df(0x396)]({'options':{..._0x5ed8b5,..._0x35aa11},'args':[_0x1a6f94],'tdx':_0x2d2a3d});gracefulExit(_0x1e55f1);}),workflowCmd[a2_0x19269a(0x2f5)]('run\x20[workflow]')['description'](a2_0x19269a(0x3f5))[a2_0x19269a(0x3db)](a2_0x19269a(0x1a4),a2_0x19269a(0x429),(_0xdd2585,_0xdf46a2=[])=>[..._0xdf46a2,_0xdd2585],[])[a2_0x19269a(0x3db)](a2_0x19269a(0x2a2),a2_0x19269a(0x2ff))['action'](async(_0x1969da,_0x9bde1d)=>{const _0x2f5b3a=a2_0x19269a,_0x16b3a6=new WorkflowRunCommand(),_0x202179=program[_0x2f5b3a(0x25b)](),_0x330a3d=await createTDXInstance(_0x202179),_0x5a5053=await _0x16b3a6['run']({'options':{..._0x202179,..._0x9bde1d},'args':_0x1969da?[_0x1969da]:[],'tdx':_0x330a3d});gracefulExit(_0x5a5053);}),workflowCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x33e))['description']('Download\x20workflow\x20project\x20from\x20Treasure\x20Data')['option'](a2_0x19269a(0x34d),'Specific\x20revision\x20to\x20download\x20(default:\x20latest)')[a2_0x19269a(0xf5)](async(_0x471749,_0x545ffd,_0x511ecb)=>{const _0x3a531d=a2_0x19269a,_0x58e063=new WorkflowDownloadCommand(),_0x40754b=program[_0x3a531d(0x25b)](),_0x8e61c9=await createTDXInstance(_0x40754b),_0x5a8fb8=await _0x58e063[_0x3a531d(0x396)]({'options':{..._0x40754b,..._0x511ecb},'args':[_0x471749,_0x545ffd||'.'],'tdx':_0x8e61c9});gracefulExit(_0x5a8fb8);}),workflowCmd[a2_0x19269a(0x2f5)]('pull\x20<project>\x20[target-dir]')[a2_0x19269a(0xf3)](a2_0x19269a(0x2f8))[a2_0x19269a(0x3db)]('--revision\x20<revision>',a2_0x19269a(0x323))[a2_0x19269a(0x3db)]('--dry-run',a2_0x19269a(0x3e6))['action'](async(_0x5f4526,_0x56ac6d,_0x45436e)=>{const _0x4b3fc1=a2_0x19269a,_0x4a92e1=new WorkflowPullCommand(),_0x312538=program[_0x4b3fc1(0x25b)](),_0x34f8d0=await createTDXInstance(_0x312538),_0x1349cf=await _0x4a92e1['run']({'options':{..._0x312538,..._0x45436e},'args':_0x56ac6d?[_0x5f4526,_0x56ac6d]:[_0x5f4526],'tdx':_0x34f8d0});gracefulExit(_0x1349cf);}),workflowCmd[a2_0x19269a(0x2f5)]('push\x20[source-dir]')[a2_0x19269a(0xf3)](a2_0x19269a(0x24d))[a2_0x19269a(0x3db)](a2_0x19269a(0x34d),'Custom\x20revision\x20name\x20(default:\x20timestamp)')[a2_0x19269a(0x3db)](a2_0x19269a(0x2ca),a2_0x19269a(0x202))[a2_0x19269a(0x3db)](a2_0x19269a(0x3b4),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x19269a(0xf5)](async(_0x6239ff,_0x2f47e5)=>{const _0x2a68c8=a2_0x19269a,_0x195493=new WorkflowPushCommand(),_0x11e2bb=program[_0x2a68c8(0x25b)](),_0x242f41=await createTDXInstance(_0x11e2bb),_0x4de124=await _0x195493[_0x2a68c8(0x396)]({'options':{..._0x11e2bb,..._0x2f47e5},'args':_0x6239ff?[_0x6239ff]:[],'tdx':_0x242f41});gracefulExit(_0x4de124);}),workflowCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x3a1))[a2_0x19269a(0xf3)](a2_0x19269a(0x311))[a2_0x19269a(0x3db)](a2_0x19269a(0x2ad),a2_0x19269a(0xf4))[a2_0x19269a(0x3db)](a2_0x19269a(0x34d),'Revision\x20name\x20(default:\x20timestamp)')[a2_0x19269a(0x3db)]('--skip-validation','Skip\x20validation\x20of\x20.dig\x20files')['action'](async(_0xb958ed,_0x2b2efc)=>{const _0x1406bf=a2_0x19269a,_0x415783=new WorkflowUploadCommand(),_0x37f306=program['opts'](),_0xcae358=await createTDXInstance(_0x37f306),_0x3d520f=await _0x415783[_0x1406bf(0x396)]({'options':{..._0x37f306,..._0x2b2efc},'args':_0xb958ed?[_0xb958ed]:[],'tdx':_0xcae358});gracefulExit(_0x3d520f);}),workflowCmd['command'](a2_0x19269a(0x2a1))[a2_0x19269a(0xf3)]('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')[a2_0x19269a(0x3db)](a2_0x19269a(0x2ad),a2_0x19269a(0x24a))[a2_0x19269a(0x3db)](a2_0x19269a(0x34d),a2_0x19269a(0x39e))[a2_0x19269a(0x3db)](a2_0x19269a(0x2ca),a2_0x19269a(0xf6))[a2_0x19269a(0x3db)](a2_0x19269a(0x3b4),a2_0x19269a(0x14d))[a2_0x19269a(0xf5)](async(_0x27abeb,_0x21479d)=>{const _0x2c4d8b=a2_0x19269a,_0x24586d=new WorkflowCloneCommand(),_0x51349c=program[_0x2c4d8b(0x25b)](),_0x549527=await createTDXInstance(_0x51349c),_0x1c5a48=await _0x24586d[_0x2c4d8b(0x396)]({'options':{..._0x51349c,..._0x21479d},'args':_0x27abeb?[_0x27abeb]:[],'tdx':_0x549527});gracefulExit(_0x1c5a48);}),workflowCmd[a2_0x19269a(0x2f5)]('delete\x20<project-name-or-id>')[a2_0x19269a(0xf3)]('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x19269a(0xf5)](async(_0x1b256e,_0x5052bc)=>{const _0x3b6ff7=a2_0x19269a,_0x103dfa=new WorkflowDeleteCommand(),_0x344a04=program[_0x3b6ff7(0x25b)](),_0x5413f9=await createTDXInstance(_0x344a04),_0x507b3=await _0x103dfa[_0x3b6ff7(0x396)]({'options':{..._0x344a04,..._0x5052bc},'args':[_0x1b256e],'tdx':_0x5413f9});gracefulExit(_0x507b3);}),workflowCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x22e))['description'](a2_0x19269a(0x342))[a2_0x19269a(0x3db)](a2_0x19269a(0x25c),'Clear\x20workflow\x20project\x20context')[a2_0x19269a(0xf5)](async(_0x224b65,_0x478382)=>{const _0x279772=a2_0x19269a,_0x2a6fed=new WorkflowUseCommand(),_0x356030=program['opts'](),_0x4a862b=await createTDXInstance(_0x356030),_0x43c514=await _0x2a6fed[_0x279772(0x396)]({'options':{..._0x356030,..._0x478382},'args':_0x224b65?[_0x224b65]:[],'tdx':_0x4a862b});gracefulExit(_0x43c514);});const wfSecretsCmd=workflowCmd['command'](a2_0x19269a(0x351))[a2_0x19269a(0xf3)]('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd['command']('list\x20[project]')['description'](a2_0x19269a(0x2a5))[a2_0x19269a(0xf5)](async(_0x1894f2,_0x491e31)=>{const _0x5cfc6d=a2_0x19269a,_0x5930d0=new WorkflowSecretsListCommand(),_0x2a2091=program[_0x5cfc6d(0x25b)](),_0x2a343f=await createTDXInstance(_0x2a2091),_0x616a9f=await _0x5930d0[_0x5cfc6d(0x396)]({'options':{..._0x2a2091,..._0x491e31},'args':_0x1894f2?[_0x1894f2]:[],'tdx':_0x2a343f});gracefulExit(_0x616a9f);}),wfSecretsCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x375))[a2_0x19269a(0xf3)](a2_0x19269a(0x2f6))[a2_0x19269a(0xf5)](async(_0x527bb4,_0x543dd8)=>{const _0x27da15=a2_0x19269a,_0x56d9b9=new WorkflowSecretsSetCommand(),_0x2dda91=program[_0x27da15(0x25b)](),_0x7577c7=await createTDXInstance(_0x2dda91),_0x22d284=await _0x56d9b9[_0x27da15(0x396)]({'options':{..._0x2dda91,..._0x543dd8},'args':_0x527bb4,'tdx':_0x7577c7});gracefulExit(_0x22d284);}),wfSecretsCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x36a))[a2_0x19269a(0xf3)](a2_0x19269a(0x3d4))[a2_0x19269a(0xf5)](async(_0x253d45,_0x59df55)=>{const _0x17f833=a2_0x19269a,_0x24c594=new WorkflowSecretsDeleteCommand(),_0xa58710=program['opts'](),_0x3c48a2=await createTDXInstance(_0xa58710),_0x202c78=await _0x24c594[_0x17f833(0x396)]({'options':{..._0xa58710,..._0x59df55},'args':_0x253d45,'tdx':_0x3c48a2});gracefulExit(_0x202c78);});const wfScheduleCmd=workflowCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x161))['description'](a2_0x19269a(0x196));wfScheduleCmd[a2_0x19269a(0x2f5)]('enable\x20<id>')['description'](a2_0x19269a(0x350))['action'](async(_0x2e16e7,_0x5c8926)=>{const _0x5a79ee=a2_0x19269a,_0x5b6e94=new WorkflowScheduleEnableCommand(),_0x202813=program[_0x5a79ee(0x25b)](),_0x4395be=await createTDXInstance(_0x202813),_0x2f2a59=await _0x5b6e94[_0x5a79ee(0x396)]({'options':{..._0x202813,..._0x5c8926},'args':[_0x2e16e7],'tdx':_0x4395be});gracefulExit(_0x2f2a59);}),wfScheduleCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x22b))[a2_0x19269a(0xf3)](a2_0x19269a(0x3e1))[a2_0x19269a(0xf5)](async(_0x282853,_0x4b69ff)=>{const _0x3224f3=a2_0x19269a,_0x52641c=new WorkflowScheduleDisableCommand(),_0x1ff0ca=program['opts'](),_0x3c2c87=await createTDXInstance(_0x1ff0ca),_0x500f31=await _0x52641c[_0x3224f3(0x396)]({'options':{..._0x1ff0ca,..._0x4b69ff},'args':[_0x282853],'tdx':_0x3c2c87});gracefulExit(_0x500f31);}),workflowCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x253))[a2_0x19269a(0xf3)]('List\x20all\x20workflow\x20schedules')[a2_0x19269a(0xf5)](async _0x1d12ee=>{const _0x4fcf08=a2_0x19269a,_0x381f1d=new WorkflowSchedulesCommand(),_0x434331=program[_0x4fcf08(0x25b)](),_0x1338eb=await createTDXInstance(_0x434331),_0x3a7e20=await _0x381f1d['run']({'options':{..._0x434331,..._0x1d12ee},'args':[],'tdx':_0x1338eb});gracefulExit(_0x3a7e20);});const jobCmd=program[a2_0x19269a(0x2f5)](a2_0x19269a(0x269))[a2_0x19269a(0xf3)]('Job\x20management\x20commands'),jobListAction=async _0x491044=>{const _0x1c9926=a2_0x19269a,_0x23e8ab=new JobListCommand(),_0x12c106=program[_0x1c9926(0x25b)](),_0xb2d550=await createTDXInstance(_0x12c106),_0x2d695d=await _0x23e8ab[_0x1c9926(0x396)]({'options':{..._0x12c106,..._0x491044},'args':[],'tdx':_0xb2d550});gracefulExit(_0x2d695d);};jobCmd[a2_0x19269a(0x2f5)]('list')['description'](a2_0x19269a(0x3e0))[a2_0x19269a(0x3db)](a2_0x19269a(0x227),a2_0x19269a(0x285))[a2_0x19269a(0xf5)](jobListAction),program[a2_0x19269a(0x2f5)](a2_0x19269a(0x2a6),{'hidden':!![]})[a2_0x19269a(0xf3)](a2_0x19269a(0x2c9))[a2_0x19269a(0x3db)](a2_0x19269a(0x227),a2_0x19269a(0x285))[a2_0x19269a(0xf5)](jobListAction),jobCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x1dd))[a2_0x19269a(0xf3)](a2_0x19269a(0x2de))[a2_0x19269a(0xf5)](async(_0x3ba022,_0x28a567)=>{const _0x253079=new JobShowCommand(),_0x16f353=program['opts'](),_0x5ca0cd=await createTDXInstance(_0x16f353),_0x1cee3e=await _0x253079['run']({'options':{..._0x16f353,..._0x28a567},'args':[_0x3ba022],'tdx':_0x5ca0cd});gracefulExit(_0x1cee3e);}),jobCmd[a2_0x19269a(0x2f5)]('kill\x20<job-id>')['description'](a2_0x19269a(0x33f))['action'](async(_0x60472c,_0x28c567)=>{const _0x3ed2af=a2_0x19269a,_0x1616f8=new JobKillCommand(),_0x14967d=program[_0x3ed2af(0x25b)](),_0x5893b4=await createTDXInstance(_0x14967d),_0x38d3d4=await _0x1616f8[_0x3ed2af(0x396)]({'options':{..._0x14967d,..._0x28c567},'args':[_0x60472c],'tdx':_0x5893b4});gracefulExit(_0x38d3d4);}),jobCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x10d))[a2_0x19269a(0xf3)]('Submit\x20a\x20job')[a2_0x19269a(0x3db)](a2_0x19269a(0x186),'Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)',a2_0x19269a(0x37f))[a2_0x19269a(0x3db)](a2_0x19269a(0x414),'Read\x20query\x20from\x20file')[a2_0x19269a(0x3db)]('--database\x20<name>',a2_0x19269a(0x29a),a2_0x19269a(0x35f))[a2_0x19269a(0x3db)](a2_0x19269a(0x292),a2_0x19269a(0x29c))[a2_0x19269a(0xf5)](async(_0x2b4129,_0x504219)=>{const _0x5ba3e6=a2_0x19269a,_0x34dfdb=new JobSubmitCommand(),_0x15833b=program[_0x5ba3e6(0x25b)](),_0x46fe0d=await createTDXInstance(_0x15833b),_0x4def2d=await _0x34dfdb[_0x5ba3e6(0x396)]({'options':{..._0x15833b,..._0x504219},'args':_0x2b4129?[_0x2b4129]:[],'tdx':_0x46fe0d});gracefulExit(_0x4def2d);}),jobCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0xf7))[a2_0x19269a(0xf3)]('Get\x20job\x20results')[a2_0x19269a(0xf5)](async(_0x57eda7,_0x7cbb4b)=>{const _0x29210b=a2_0x19269a,_0x212015=new JobResultCommand(),_0x554a57=program[_0x29210b(0x25b)](),_0x15ec0b=await createTDXInstance(_0x554a57),_0x8ab862=await _0x212015[_0x29210b(0x396)]({'options':{..._0x554a57,..._0x7cbb4b},'args':[_0x57eda7],'tdx':_0x15ec0b});gracefulExit(_0x8ab862);});const scheduleCmd=jobCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x161))[a2_0x19269a(0xf3)](a2_0x19269a(0x130));scheduleCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0xf9))[a2_0x19269a(0xf3)]('List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)')[a2_0x19269a(0xf5)](async(_0x2bbb61,_0x4e8fc8)=>{const _0x40adeb=a2_0x19269a,_0x2a6397=new ScheduleListCommand(),_0x47484c=program[_0x40adeb(0x25b)](),_0x325367=await createTDXInstance(_0x47484c),_0x3934bf=await _0x2a6397[_0x40adeb(0x396)]({'options':{..._0x47484c,..._0x4e8fc8},'args':_0x2bbb61?[_0x2bbb61]:[],'tdx':_0x325367});gracefulExit(_0x3934bf);}),scheduleCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x1bd))['description'](a2_0x19269a(0x1f0))[a2_0x19269a(0xf5)](async(_0xe2111b,_0x3174bd)=>{const _0x175eda=a2_0x19269a,_0x299d62=new ScheduleShowCommand(),_0x47bf3f=program[_0x175eda(0x25b)](),_0x4d8fc8=await createTDXInstance(_0x47bf3f),_0x138126=await _0x299d62['run']({'options':{..._0x47bf3f,..._0x3174bd},'args':[_0xe2111b],'tdx':_0x4d8fc8});gracefulExit(_0x138126);}),scheduleCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x364))[a2_0x19269a(0xf3)](a2_0x19269a(0x28e))[a2_0x19269a(0x3db)](a2_0x19269a(0x2c0),a2_0x19269a(0x32e))['option']('--in\x20<db>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')['requiredOption'](a2_0x19269a(0x414),a2_0x19269a(0x31f))[a2_0x19269a(0x3db)](a2_0x19269a(0x371),a2_0x19269a(0x1f6),a2_0x19269a(0x37f))[a2_0x19269a(0x3db)]('--cron\x20<expression>',a2_0x19269a(0x2c6))[a2_0x19269a(0x3db)]('--timezone\x20<tz>',a2_0x19269a(0x3f0))[a2_0x19269a(0x3db)]('--delay\x20<seconds>',a2_0x19269a(0x383))['option'](a2_0x19269a(0x31e),a2_0x19269a(0x2f3))['option'](a2_0x19269a(0x1d0),a2_0x19269a(0x262))[a2_0x19269a(0x3db)]('--engine-version\x20<version>',a2_0x19269a(0x409))[a2_0x19269a(0x3db)](a2_0x19269a(0x241),'Result\x20output\x20destination\x20URL')[a2_0x19269a(0xf5)](async(_0x353e2e,_0x1ec7b0)=>{const _0x4050f6=a2_0x19269a,_0x1bceda=new ScheduleCreateCommand(),_0xbcd221=program[_0x4050f6(0x25b)](),_0x4b6f38=await createTDXInstance(_0xbcd221);_0x1ec7b0['in']&&(_0x1ec7b0[_0x4050f6(0x309)]=_0x1ec7b0['in']);const _0x245557=await _0x1bceda[_0x4050f6(0x396)]({'options':{..._0xbcd221,..._0x1ec7b0},'args':[_0x353e2e],'tdx':_0x4b6f38});gracefulExit(_0x245557);}),scheduleCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x413))[a2_0x19269a(0xf3)](a2_0x19269a(0x275))[a2_0x19269a(0x3db)](a2_0x19269a(0x2c0),a2_0x19269a(0x2bf))[a2_0x19269a(0x3db)](a2_0x19269a(0x28d),a2_0x19269a(0x1ac))[a2_0x19269a(0x3db)]('-f,\x20--file\x20<path>',a2_0x19269a(0x31f))[a2_0x19269a(0x3db)](a2_0x19269a(0x371),'Query\x20type:\x20trino\x20or\x20hive')[a2_0x19269a(0x3db)](a2_0x19269a(0x1bc),a2_0x19269a(0x2c6))[a2_0x19269a(0x3db)]('--timezone\x20<tz>',a2_0x19269a(0x2ba))[a2_0x19269a(0x3db)](a2_0x19269a(0x1aa),a2_0x19269a(0x383))[a2_0x19269a(0x3db)](a2_0x19269a(0x31e),a2_0x19269a(0x2f3))['option'](a2_0x19269a(0x1d0),a2_0x19269a(0x262))['option'](a2_0x19269a(0x3d2),'Query\x20engine\x20version')[a2_0x19269a(0x3db)]('--result\x20<url>','Result\x20output\x20destination\x20URL')[a2_0x19269a(0xf5)](async(_0x233f7f,_0x44bb46)=>{const _0x46776f=a2_0x19269a,_0x30c4ba=new ScheduleUpdateCommand(),_0x203608=program[_0x46776f(0x25b)](),_0x294f2d=await createTDXInstance(_0x203608);_0x44bb46['in']&&(_0x44bb46[_0x46776f(0x309)]=_0x44bb46['in']);const _0x103a50=await _0x30c4ba[_0x46776f(0x396)]({'options':{..._0x203608,..._0x44bb46},'args':[_0x233f7f],'tdx':_0x294f2d});gracefulExit(_0x103a50);}),scheduleCmd[a2_0x19269a(0x2f5)]('delete\x20<name>')[a2_0x19269a(0xf3)]('Delete\x20a\x20scheduled\x20query')[a2_0x19269a(0xf5)](async(_0x356283,_0x45c214)=>{const _0x42abba=a2_0x19269a,_0x44dc21=new ScheduleDeleteCommand(),_0x32d1c7=program[_0x42abba(0x25b)](),_0x3ac8cc=await createTDXInstance(_0x32d1c7),_0x2cbdd3=await _0x44dc21[_0x42abba(0x396)]({'options':{..._0x32d1c7,..._0x45c214},'args':[_0x356283],'tdx':_0x3ac8cc});gracefulExit(_0x2cbdd3);}),scheduleCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x180))[a2_0x19269a(0xf3)](a2_0x19269a(0x369))[a2_0x19269a(0x3db)](a2_0x19269a(0x360),'Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)')[a2_0x19269a(0x3db)]('--num\x20<1-10>',a2_0x19269a(0x1a0))[a2_0x19269a(0xf5)](async(_0x21395a,_0x5aa88d)=>{const _0x550ac1=a2_0x19269a,_0x17fa65=new ScheduleRunCommand(),_0x2ae19c=program[_0x550ac1(0x25b)](),_0x4ee59a=await createTDXInstance(_0x2ae19c),_0x268869=await _0x17fa65[_0x550ac1(0x396)]({'options':{..._0x2ae19c,..._0x5aa88d},'args':[_0x21395a],'tdx':_0x4ee59a});gracefulExit(_0x268869);}),scheduleCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x3cf))['description']('Show\x20schedule\x20execution\x20history')[a2_0x19269a(0x3db)]('--from\x20<n>','Starting\x20offset\x20(default:\x200)')[a2_0x19269a(0x3db)](a2_0x19269a(0x418),a2_0x19269a(0x1b6))['action'](async(_0x1ad008,_0x326d12)=>{const _0x5cf458=a2_0x19269a,_0x42752e=new ScheduleHistoryCommand(),_0x2d349f=program[_0x5cf458(0x25b)](),_0x472d2a=await createTDXInstance(_0x2d349f),_0x50dba6=await _0x42752e[_0x5cf458(0x396)]({'options':{..._0x2d349f,..._0x326d12},'args':[_0x1ad008],'tdx':_0x472d2a});gracefulExit(_0x50dba6);});const llmCmd=program[a2_0x19269a(0x2f5)]('llm')[a2_0x19269a(0xf3)](a2_0x19269a(0x353));llmCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x2e1))['description']('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')[a2_0x19269a(0xf5)](async(_0x8ad62a,_0x17534b)=>{const _0x3b06ee=a2_0x19269a,_0x128bf9=new LLMUseCommand(),_0x5c8814=program[_0x3b06ee(0x25b)](),_0x5a51ca=await createTDXInstance(_0x5c8814),_0x4ff4ca=await _0x128bf9[_0x3b06ee(0x396)]({'options':{..._0x5c8814,..._0x17534b},'args':[_0x8ad62a],'tdx':_0x5a51ca});gracefulExit(_0x4ff4ca);}),llmCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x2c5))[a2_0x19269a(0xf3)](a2_0x19269a(0x3d1))[a2_0x19269a(0xf5)](async _0x5dd672=>{const _0x230503=a2_0x19269a,_0x3f28ac=new LLMModelsCommand(),_0x140d10=program[_0x230503(0x25b)](),_0x4003bb=await createTDXInstance(_0x140d10),_0x518cff=await _0x3f28ac['run']({'options':{..._0x140d10,..._0x5dd672},'args':[],'tdx':_0x4003bb});gracefulExit(_0x518cff);});const projectCmd=llmCmd['command'](a2_0x19269a(0x1be))[a2_0x19269a(0xf3)](a2_0x19269a(0x287)),llmProjectListAction=async(_0x2d0a11,_0x3bfb53)=>{const _0x134b5a=a2_0x19269a,_0x16f976=new LLMProjectsCommand(),_0x9a712d=program['opts'](),_0xcb2afb=await createTDXInstance(_0x9a712d),_0x2901e3=await _0x16f976[_0x134b5a(0x396)]({'options':{..._0x9a712d,..._0x3bfb53},'args':_0x2d0a11?[_0x2d0a11]:[],'tdx':_0xcb2afb});gracefulExit(_0x2901e3);};projectCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0xf9))[a2_0x19269a(0xf3)]('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x19269a(0xf5)](llmProjectListAction),llmCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x421))[a2_0x19269a(0xf3)]('List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')['action'](llmProjectListAction),projectCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x364))['description'](a2_0x19269a(0x239))['option']('--description\x20<text>',a2_0x19269a(0x367))[a2_0x19269a(0xf5)](async(_0xb13483,_0xa64577)=>{const _0x5d4142=a2_0x19269a,_0x3964ac=new LLMProjectCreateCommand(),_0x3c6ca9=program[_0x5d4142(0x25b)](),_0x3a5528=await createTDXInstance(_0x3c6ca9),_0x2ee523=await _0x3964ac[_0x5d4142(0x396)]({'options':{..._0x3c6ca9,..._0xa64577},'args':[_0xb13483],'tdx':_0x3a5528});gracefulExit(_0x2ee523);}),projectCmd[a2_0x19269a(0x2f5)]('delete\x20<name>')['description'](a2_0x19269a(0x3f2))['action'](async(_0x27eb65,_0x5aab4f)=>{const _0x4789f9=a2_0x19269a,_0xdc3232=new LLMProjectDeleteCommand(),_0x448ab4=program[_0x4789f9(0x25b)](),_0xb75f40=await createTDXInstance(_0x448ab4),_0x618a94=await _0xdc3232[_0x4789f9(0x396)]({'options':{..._0x448ab4,..._0x5aab4f},'args':[_0x27eb65],'tdx':_0xb75f40});gracefulExit(_0x618a94);}),projectCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x42a))[a2_0x19269a(0xf3)](a2_0x19269a(0x2b5))['option'](a2_0x19269a(0x399),'Output\x20folder\x20(default:\x20{project_name}.llm)')[a2_0x19269a(0x3db)]('--dry-run',a2_0x19269a(0x1fe))[a2_0x19269a(0xf5)](async(_0x1aff31,_0xa53251)=>{const _0x2affad=a2_0x19269a,_0x456828=new LLMProjectBackupCommand(),_0xd7166d=program[_0x2affad(0x25b)](),_0x306171=await createTDXInstance(_0xd7166d),_0x6ec4e9=await _0x456828['run']({'options':{..._0xd7166d,..._0xa53251},'args':[_0x1aff31],'tdx':_0x306171});gracefulExit(_0x6ec4e9);}),projectCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x332))['description'](a2_0x19269a(0x37a))[a2_0x19269a(0x3db)](a2_0x19269a(0x176),a2_0x19269a(0x1f9))[a2_0x19269a(0x3db)](a2_0x19269a(0x2ca),'Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')[a2_0x19269a(0xf5)](async(_0x28f3b7,_0x5f053b)=>{const _0x354b13=a2_0x19269a,_0x374100=new LLMProjectRestoreCommand(),_0xd82b61=program[_0x354b13(0x25b)](),_0x152a72=await createTDXInstance(_0xd82b61),_0x350f7f=await _0x374100['run']({'options':{..._0xd82b61,..._0x5f053b},'args':[_0x28f3b7],'tdx':_0x152a72});gracefulExit(_0x350f7f);});const llmAgentListAction=async(_0x23db5a,_0x58f092)=>{const _0x37c347=new LLMAgentsCommand(),_0x34a5ff=program['opts'](),_0x3b87af=await createTDXInstance(_0x34a5ff),_0x822d6b=await _0x37c347['run']({'options':{..._0x34a5ff,..._0x58f092},'args':_0x23db5a?[_0x23db5a]:[],'tdx':_0x3b87af});gracefulExit(_0x822d6b);};llmCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x236))['description'](a2_0x19269a(0x40a))[a2_0x19269a(0xf5)](llmAgentListAction),program['command'](a2_0x19269a(0x236))['description'](a2_0x19269a(0x40a))[a2_0x19269a(0xf5)](llmAgentListAction),llmCmd[a2_0x19269a(0x2f5)]('history\x20[chat-id]')[a2_0x19269a(0xf3)](a2_0x19269a(0x31d))[a2_0x19269a(0x3db)](a2_0x19269a(0x1bf),'Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')[a2_0x19269a(0xf5)](async(_0x887c1c,_0x1bf709)=>{const _0x3d2de7=a2_0x19269a,_0xa2e642=new LLMHistoryCommand(),_0x2ad045=program[_0x3d2de7(0x25b)](),_0xfc9cbb=await createTDXInstance(_0x2ad045),_0x342633=await _0xa2e642['run']({'options':{..._0x2ad045,..._0x1bf709},'args':_0x887c1c?[_0x887c1c]:[],'tdx':_0xfc9cbb});gracefulExit(_0x342633);});isExperimentalAvailable()&&llmCmd['command']('log\x20<chat-id>')[a2_0x19269a(0xf3)](a2_0x19269a(0x111))['action'](async(_0x28ba06,_0x4f6e53)=>{const _0x4dfb83=a2_0x19269a,_0x3d9b9b=new LLMLogCommand(),_0x4fc054=program[_0x4dfb83(0x25b)](),_0x106419=await createTDXInstance(_0x4fc054),_0xee44f2=await _0x3d9b9b['run']({'options':{..._0x4fc054,..._0x4f6e53},'args':[_0x28ba06],'tdx':_0x106419});gracefulExit(_0xee44f2);});program[a2_0x19269a(0x2f5)](a2_0x19269a(0x339))[a2_0x19269a(0x2e0)](a2_0x19269a(0x398))[a2_0x19269a(0xf3)](a2_0x19269a(0x251))[a2_0x19269a(0x3db)](a2_0x19269a(0x127),'Continue\x20most\x20recent\x20conversation')[a2_0x19269a(0x3db)](a2_0x19269a(0x395),a2_0x19269a(0x289))[a2_0x19269a(0x3db)](a2_0x19269a(0x408),a2_0x19269a(0x393))[a2_0x19269a(0x115)]()['allowExcessArguments'](!![])[a2_0x19269a(0x288)](a2_0x19269a(0x3ec),a2_0x19269a(0x18d))[a2_0x19269a(0xf5)](async(_0x39d494,_0x296523)=>{const _0x4f7fd1=a2_0x19269a,_0x1adbe9=program[_0x4f7fd1(0x25b)](),_0x4f0854=Array[_0x4f7fd1(0x417)](_0x39d494)?_0x39d494:[];if(_0x4f0854[0x0]===_0x4f7fd1(0x1e8)){const _0x5b03e6=new ClaudeStatuslineCommand(),_0x1efe13=await _0x5b03e6[_0x4f7fd1(0x396)]({'options':{..._0x1adbe9,..._0x296523},'args':_0x4f0854[_0x4f7fd1(0x234)](0x1),'tdx':null});gracefulExit(_0x1efe13);}if(_0x4f0854[0x0]===_0x4f7fd1(0x2e0)){const _0x2eb32b=new ClaudeUsageCommand(),_0x2c1b0c=await _0x2eb32b[_0x4f7fd1(0x396)]({'options':{..._0x1adbe9,..._0x296523},'args':_0x4f0854['slice'](0x1),'tdx':null});gracefulExit(_0x2c1b0c);}const _0x3e295f=new ClaudeCommand(),_0x2094dd=await createTDXInstance(_0x1adbe9),_0x4028c3=await _0x3e295f[_0x4f7fd1(0x396)]({'options':{..._0x1adbe9,..._0x296523},'args':_0x4f0854,'tdx':_0x2094dd});gracefulExit(_0x4028c3);}),program[a2_0x19269a(0x2f5)](a2_0x19269a(0x3b0))[a2_0x19269a(0xf3)](a2_0x19269a(0x2d5))[a2_0x19269a(0x3db)]('--clear',a2_0x19269a(0x226))[a2_0x19269a(0x3db)](a2_0x19269a(0x3e2),a2_0x19269a(0x148))['action'](async(_0x396861,_0x4733ef,_0x1c2eee)=>{const _0x3b81f0=a2_0x19269a,_0x7fb99a=new UseCommand(),_0x229927=program[_0x3b81f0(0x25b)](),_0x52203c=[];if(_0x396861)_0x52203c[_0x3b81f0(0x3ee)](_0x396861);if(_0x4733ef)_0x52203c[_0x3b81f0(0x3ee)](_0x4733ef);const _0x2fd3c8=_0x396861==='engage_workspace',_0x452071=_0x2fd3c8?await createTDXInstance(_0x229927):null,_0xf4f797=await _0x7fb99a[_0x3b81f0(0x396)]({'options':{..._0x229927,..._0x1c2eee},'args':_0x52203c,'tdx':_0x452071});gracefulExit(_0xf4f797);}),program[a2_0x19269a(0x2f5)]('status')[a2_0x19269a(0xf3)](a2_0x19269a(0x340))[a2_0x19269a(0xf5)](async _0xd93e56=>{const _0x18ccf7=a2_0x19269a,_0x30301e=new StatusCommand(),_0x1578cb=program['opts'](),_0x74f251=await createTDXInstance(_0x1578cb),_0x288020=await _0x30301e[_0x18ccf7(0x396)]({'options':{..._0x1578cb,..._0xd93e56},'args':[],'tdx':_0x74f251});gracefulExit(_0x288020);}),program[a2_0x19269a(0x2f5)]('upgrade\x20[version]')[a2_0x19269a(0xf3)](a2_0x19269a(0x33b))['option']('--dry-run',a2_0x19269a(0x272))[a2_0x19269a(0x3db)](a2_0x19269a(0x274),a2_0x19269a(0x1c6))['option']('--method\x20<pm>',a2_0x19269a(0x30c))[a2_0x19269a(0xf5)](async(_0x19d698,_0xd53c36)=>{const _0x3d7610=a2_0x19269a,_0x1ee302=new UpgradeCommand(),_0x62a718=program[_0x3d7610(0x25b)](),_0x5d024b=await _0x1ee302[_0x3d7610(0x396)]({'options':{..._0x62a718,..._0xd53c36},'args':_0x19d698?[_0x19d698]:[],'tdx':null});gracefulExit(_0x5d024b);}),program['command'](a2_0x19269a(0x1c9))['description'](a2_0x19269a(0x13a))[a2_0x19269a(0x3db)](a2_0x19269a(0x3e2),a2_0x19269a(0x3aa))[a2_0x19269a(0xf5)](async(_0x224aeb,_0x5bfa47)=>{const _0x4ed11a=a2_0x19269a,_0x5c4c16=new UnsetCommand(),_0x5bd1ad=program[_0x4ed11a(0x25b)](),_0x3b0d4c=await _0x5c4c16['run']({'options':{..._0x5bd1ad,..._0x5bfa47},'args':[_0x224aeb],'tdx':null});gracefulExit(_0x3b0d4c);}),program['command']('chats')[a2_0x19269a(0xf3)]('Interactive\x20chat\x20selector')['option'](a2_0x19269a(0x1bf),'Show\x20the\x20most\x20recent\x20chat')[a2_0x19269a(0xf5)](async _0x58175e=>{const _0x28577e=a2_0x19269a,_0x5cf4f2=new ChatsCommand(),_0x45603c=program['opts'](),_0x59494d=await createTDXInstance(_0x45603c),_0x250407=await _0x5cf4f2[_0x28577e(0x396)]({'options':{..._0x45603c,..._0x58175e},'args':[],'tdx':_0x59494d});gracefulExit(_0x250407);});const authCmd=program[a2_0x19269a(0x2f5)](a2_0x19269a(0x200))['description'](a2_0x19269a(0x3f8));async function runAuthStatusCommand(_0x11ebfa){const _0x115e04=a2_0x19269a,_0x490a34=new AuthStatusCommand(),_0x55f71e=program[_0x115e04(0x25b)](),_0x347d86=await createTDXInstance(_0x55f71e),_0x3259c6=await _0x490a34['run']({'options':{..._0x55f71e,..._0x11ebfa},'args':[],'tdx':_0x347d86});gracefulExit(_0x3259c6);}authCmd['action'](runAuthStatusCommand),authCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x18c))['description'](a2_0x19269a(0x107))[a2_0x19269a(0xf5)](runAuthStatusCommand);async function authSetupAction(_0x1c8317){const _0x3e20ba=a2_0x19269a,_0x57f062=new AuthSetupCommand(),_0x1f844d=program[_0x3e20ba(0x25b)](),_0xe425cc=await createTDXInstance(_0x1f844d),_0x17fdcb=await _0x57f062[_0x3e20ba(0x396)]({'options':{..._0x1f844d,..._0x1c8317},'args':[],'tdx':_0xe425cc});gracefulExit(_0x17fdcb);}authCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x3cd))[a2_0x19269a(0xf3)](a2_0x19269a(0x135))[a2_0x19269a(0x3db)](a2_0x19269a(0x172),a2_0x19269a(0x26f))[a2_0x19269a(0x288)](a2_0x19269a(0x3ec),'\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')['action'](authSetupAction),authCmd[a2_0x19269a(0x2f5)]('login',{'hidden':!![]})[a2_0x19269a(0x3db)](a2_0x19269a(0x172),'Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login')[a2_0x19269a(0xf5)](authSetupAction),authCmd['command'](a2_0x19269a(0x230))[a2_0x19269a(0xf3)]('Remove\x20API\x20key\x20from\x20system\x20keychain')['addHelpText'](a2_0x19269a(0x3ec),'\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')[a2_0x19269a(0xf5)](async _0x5b0ee2=>{const _0x32ff49=a2_0x19269a,_0x4053ef=new AuthClearCommand(),_0x373277=program[_0x32ff49(0x25b)](),_0x45132c=await _0x4053ef[_0x32ff49(0x396)]({'options':{..._0x373277,..._0x5b0ee2},'args':[],'tdx':null});gracefulExit(_0x45132c);});const userCmd=program[a2_0x19269a(0x2f5)](a2_0x19269a(0x1e2))[a2_0x19269a(0xf3)]('User\x20management\x20commands'),userListAction=async _0x4efe8c=>{const _0x3a9a81=a2_0x19269a,_0x174c85=new UserListCommand(),_0x4e42a0=program[_0x3a9a81(0x25b)](),_0x1a28be=await createTDXInstance(_0x4e42a0),_0xcb0fa0=await _0x174c85[_0x3a9a81(0x396)]({'options':{..._0x4e42a0,..._0x4efe8c},'args':[],'tdx':_0x1a28be});gracefulExit(_0xcb0fa0);};userCmd['action'](async _0x368342=>{const _0x429e41=a2_0x19269a,_0x58dc82=new UserCommand(),_0xac86f0=program[_0x429e41(0x25b)](),_0x8715b7=await createTDXInstance(_0xac86f0),_0xeafb45=await _0x58dc82['run']({'options':{..._0xac86f0,..._0x368342},'args':[],'tdx':_0x8715b7});gracefulExit(_0xeafb45);}),userCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x2d9))['description']('List\x20all\x20users\x20in\x20the\x20account')[a2_0x19269a(0xf5)](userListAction),program[a2_0x19269a(0x2f5)]('users')['description'](a2_0x19269a(0x420))['action'](userListAction);const policyCmd=program[a2_0x19269a(0x2f5)](a2_0x19269a(0x42c))['description'](a2_0x19269a(0x2ea));policyCmd['action'](async _0x4c4bc8=>{const _0x3f8e20=a2_0x19269a,_0x25f142=new PolicyCommand(),_0x34087b=program[_0x3f8e20(0x25b)](),_0x15dfcf=await createTDXInstance(_0x34087b),_0x116d37=await _0x25f142[_0x3f8e20(0x396)]({'options':{..._0x34087b,..._0x4c4bc8},'args':[],'tdx':_0x15dfcf});gracefulExit(_0x116d37);}),policyCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x2d9))[a2_0x19269a(0xf3)](a2_0x19269a(0x380))[a2_0x19269a(0xf5)](async _0x1a4358=>{const _0x41c173=a2_0x19269a,_0x253fb5=new PolicyListCommand(),_0x1c8778=program['opts'](),_0x16c36d=await createTDXInstance(_0x1c8778),_0x4d0d3f=await _0x253fb5[_0x41c173(0x396)]({'options':{..._0x1c8778,..._0x1a4358},'args':[],'tdx':_0x16c36d});gracefulExit(_0x4d0d3f);}),policyCmd['command'](a2_0x19269a(0x377))['description'](a2_0x19269a(0x308))[a2_0x19269a(0xf5)](async(_0x204a1d,_0x51d0bf)=>{const _0x133fe1=a2_0x19269a,_0x49ab4f=new PolicyShowCommand(),_0x54d9d8=program['opts'](),_0x2f1938=await createTDXInstance(_0x54d9d8),_0x1c158b=await _0x49ab4f[_0x133fe1(0x396)]({'options':{..._0x54d9d8,..._0x51d0bf},'args':[_0x204a1d],'tdx':_0x2f1938});gracefulExit(_0x1c158b);}),program[a2_0x19269a(0x2f5)]('profiles')[a2_0x19269a(0xf3)](a2_0x19269a(0x17a))[a2_0x19269a(0xf5)](async _0x2cab96=>{const _0x4392fc=a2_0x19269a,_0x3aae2a=new ProfilesCommand(),_0x28d0e9=program[_0x4392fc(0x25b)](),_0x1049fe=await _0x3aae2a['run']({'options':{..._0x28d0e9,..._0x2cab96},'args':[],'tdx':null});gracefulExit(_0x1049fe);});const profileCmd=program[a2_0x19269a(0x2f5)](a2_0x19269a(0x265))[a2_0x19269a(0xf3)](a2_0x19269a(0x18a));profileCmd[a2_0x19269a(0xf5)](()=>{const _0x5f511f=a2_0x19269a;profileCmd[_0x5f511f(0x1c8)]();});const profileListAction=async _0xf3e6ff=>{const _0xf1e5b5=a2_0x19269a,_0xe7ef9=new ProfilesCommand(),_0x51ddd1=program[_0xf1e5b5(0x25b)](),_0xb96038=await _0xe7ef9[_0xf1e5b5(0x396)]({'options':{..._0x51ddd1,..._0xf3e6ff},'args':[],'tdx':null});gracefulExit(_0xb96038);};profileCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x2d9))[a2_0x19269a(0xf3)](a2_0x19269a(0x17a))[a2_0x19269a(0xf5)](profileListAction),profileCmd[a2_0x19269a(0x2f5)]('create\x20[name]')[a2_0x19269a(0xf3)](a2_0x19269a(0x36b))[a2_0x19269a(0x3db)](a2_0x19269a(0x172),'Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login')[a2_0x19269a(0x3db)](a2_0x19269a(0x192),'Overwrite\x20existing\x20profile')['addHelpText']('after',a2_0x19269a(0x321))[a2_0x19269a(0xf5)](async(_0x441e3a,_0x4cf646)=>{const _0x164fea=a2_0x19269a,_0x25a8b3=new ProfileCreateCommand(),_0x5ae0e7=program[_0x164fea(0x25b)](),_0x3d0d39=await _0x25a8b3[_0x164fea(0x396)]({'options':{..._0x5ae0e7,..._0x4cf646},'args':_0x441e3a?[_0x441e3a]:[],'tdx':null});gracefulExit(_0x3d0d39);});async function profileDeleteAction(_0x10a5ec,_0x3e27a9){const _0x284275=a2_0x19269a,_0x4ba88f=new ProfileDeleteCommand(),_0x9e09b4=program[_0x284275(0x25b)](),_0x451648=await _0x4ba88f[_0x284275(0x396)]({'options':{..._0x9e09b4,..._0x3e27a9},'args':[_0x10a5ec],'tdx':null});gracefulExit(_0x451648);}profileCmd[a2_0x19269a(0x2f5)]('delete\x20<name>')['description'](a2_0x19269a(0x3d6))[a2_0x19269a(0x288)](a2_0x19269a(0x3ec),a2_0x19269a(0x1e7))[a2_0x19269a(0xf5)](profileDeleteAction),profileCmd['command'](a2_0x19269a(0x1af),{'hidden':!![]})[a2_0x19269a(0xf5)](profileDeleteAction),profileCmd['command'](a2_0x19269a(0x419))[a2_0x19269a(0xf3)](a2_0x19269a(0x3dd))[a2_0x19269a(0x288)](a2_0x19269a(0x3ec),a2_0x19269a(0x3f9))[a2_0x19269a(0xf5)](async(_0x5b5975,_0x2b3184)=>{const _0x147d0a=a2_0x19269a,_0x248e1d=new ProfileSetCommand(),_0x539c77=program[_0x147d0a(0x25b)](),_0x31514f=await _0x248e1d[_0x147d0a(0x396)]({'options':{..._0x539c77,..._0x2b3184},'args':[_0x5b5975],'tdx':null});gracefulExit(_0x31514f);}),profileCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x1e3))[a2_0x19269a(0xf3)](a2_0x19269a(0x215))[a2_0x19269a(0x3db)](a2_0x19269a(0x3e2),a2_0x19269a(0x148))[a2_0x19269a(0x288)]('after',a2_0x19269a(0x3f3))[a2_0x19269a(0xf5)](async(_0x110296,_0x5a1b97)=>{const _0x39665a=a2_0x19269a,_0x1a5d73=new ProfileUseCommand(),_0x56e01e=program[_0x39665a(0x25b)](),_0x2a5c47=await _0x1a5d73[_0x39665a(0x396)]({'options':{..._0x56e01e,..._0x5a1b97},'args':[_0x110296],'tdx':null});gracefulExit(_0x2a5c47);});const engageCmd=program[a2_0x19269a(0x2f5)](a2_0x19269a(0x1b0))[a2_0x19269a(0xf3)]('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x4eb582=>{return async(_0x3b84e0,_0x447230)=>{const _0x5e5e0f=a2_0x7b5a,_0x1ac62e=new _0x4eb582(),_0x102133=program[_0x5e5e0f(0x25b)](),_0x257f88=await createTDXInstance(_0x102133),_0x4c1e0c=await _0x1ac62e['run']({'options':{..._0x102133,..._0x447230},'args':[_0x3b84e0],'tdx':_0x257f88});gracefulExit(_0x4c1e0c);};},createEngageNoArgAction=_0x4b7597=>{return async _0x797427=>{const _0xb84178=a2_0x7b5a,_0x1a912a=new _0x4b7597(),_0x25f4d7=program[_0xb84178(0x25b)](),_0x54f067=await createTDXInstance(_0x25f4d7),_0x213a73=await _0x1a912a[_0xb84178(0x396)]({'options':{..._0x25f4d7,..._0x797427},'args':[],'tdx':_0x54f067});gracefulExit(_0x213a73);};},createEngageListAction=_0x71a65b=>{return async(_0x3cf114,_0x4d0984)=>{const _0x52d49a=a2_0x7b5a,_0x52faf8=new _0x71a65b(),_0x19b0fe=program['opts'](),_0x430043=await createTDXInstance(_0x19b0fe),_0x2aba89=await _0x52faf8[_0x52d49a(0x396)]({'options':{..._0x19b0fe,..._0x4d0984},'args':_0x3cf114?[_0x3cf114]:[],'tdx':_0x430043});gracefulExit(_0x2aba89);};},campaignCmd=engageCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x2d3))[a2_0x19269a(0xf3)](a2_0x19269a(0x295));campaignCmd[a2_0x19269a(0x2f5)]('list\x20[pattern]')[a2_0x19269a(0xf3)](a2_0x19269a(0x406))['option'](a2_0x19269a(0x371),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x19269a(0x3db)]('--status\x20<status>','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x19269a(0x3db)](a2_0x19269a(0x238),a2_0x19269a(0x312))[a2_0x19269a(0xf5)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x3f1))['description'](a2_0x19269a(0x1d2))[a2_0x19269a(0x3db)](a2_0x19269a(0x371),a2_0x19269a(0x1f5))[a2_0x19269a(0x3db)](a2_0x19269a(0x227),a2_0x19269a(0x10c))[a2_0x19269a(0x3db)](a2_0x19269a(0x238),'Workspace\x20name')[a2_0x19269a(0xf5)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x19269a(0x2f5)]('show\x20<name-or-id>')[a2_0x19269a(0xf3)](a2_0x19269a(0x1e5))[a2_0x19269a(0x3db)](a2_0x19269a(0x238),'Workspace\x20name')[a2_0x19269a(0x3db)](a2_0x19269a(0x30f),a2_0x19269a(0x159))[a2_0x19269a(0xf5)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x254))[a2_0x19269a(0xf3)]('Create\x20a\x20new\x20campaign')['requiredOption'](a2_0x19269a(0x2ad),a2_0x19269a(0x20e))[a2_0x19269a(0x32a)]('--type\x20<type>',a2_0x19269a(0x1a5))[a2_0x19269a(0x3db)]('--workspace\x20<name>',a2_0x19269a(0x1dc))[a2_0x19269a(0x3db)](a2_0x19269a(0x1d6),a2_0x19269a(0x283))['option'](a2_0x19269a(0x157),a2_0x19269a(0x1e4))[a2_0x19269a(0x3db)](a2_0x19269a(0x267),a2_0x19269a(0x3c3))[a2_0x19269a(0x3db)]('--json-columns\x20<cols>',a2_0x19269a(0x11b))[a2_0x19269a(0x3db)]('--start-at\x20<datetime>',a2_0x19269a(0x3c4))[a2_0x19269a(0x3db)](a2_0x19269a(0x1e1),a2_0x19269a(0x38a))[a2_0x19269a(0xf5)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x154))[a2_0x19269a(0xf3)](a2_0x19269a(0x416))[a2_0x19269a(0x3db)](a2_0x19269a(0x238),a2_0x19269a(0x312))['option'](a2_0x19269a(0x2ad),'New\x20campaign\x20name')[a2_0x19269a(0x3db)]('--description\x20<desc>',a2_0x19269a(0x283))[a2_0x19269a(0x3db)](a2_0x19269a(0x157),a2_0x19269a(0x1e4))[a2_0x19269a(0x3db)](a2_0x19269a(0x267),'Email\x20sender\x20ID\x20for\x20delivery')['option'](a2_0x19269a(0x204),a2_0x19269a(0x11b))['option'](a2_0x19269a(0x404),a2_0x19269a(0x3c4))[a2_0x19269a(0x3db)]('--timezone\x20<tz>',a2_0x19269a(0x38a))[a2_0x19269a(0xf5)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x19269a(0x2f5)]('delete\x20<name-or-id>')['description'](a2_0x19269a(0x182))[a2_0x19269a(0x3db)](a2_0x19269a(0x238),a2_0x19269a(0x312))[a2_0x19269a(0x3db)]('--yes',a2_0x19269a(0x2b3))[a2_0x19269a(0xf5)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command']('launch\x20<name-or-id>')[a2_0x19269a(0xf3)](a2_0x19269a(0x187))[a2_0x19269a(0x3db)]('--workspace\x20<name>',a2_0x19269a(0x312))[a2_0x19269a(0xf5)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x217))[a2_0x19269a(0xf3)](a2_0x19269a(0x296))[a2_0x19269a(0x3db)](a2_0x19269a(0x238),'Workspace\x20name')['action'](createEngageAction(EngageCampaignPauseCommand)),campaignCmd['command'](a2_0x19269a(0x255))[a2_0x19269a(0xf3)]('Resume\x20a\x20paused\x20campaign')['option'](a2_0x19269a(0x238),'Workspace\x20name')[a2_0x19269a(0xf5)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x19269a(0x2f5)]('duplicate\x20<name-or-id>')['description'](a2_0x19269a(0x19a))[a2_0x19269a(0x3db)](a2_0x19269a(0x238),a2_0x19269a(0x312))['action'](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x29d))[a2_0x19269a(0xf3)](a2_0x19269a(0x41a))[a2_0x19269a(0x3db)](a2_0x19269a(0x238),a2_0x19269a(0x312))[a2_0x19269a(0x3db)](a2_0x19269a(0x2ad),a2_0x19269a(0x35b))[a2_0x19269a(0x3db)](a2_0x19269a(0x371),a2_0x19269a(0x1f5))['option'](a2_0x19269a(0x2ca),a2_0x19269a(0x3a8))['action'](createEngageAction(EngageCampaignPullCommand)),campaignCmd['command'](a2_0x19269a(0x156))[a2_0x19269a(0xf3)](a2_0x19269a(0x219))[a2_0x19269a(0x3db)](a2_0x19269a(0x238),a2_0x19269a(0x312))[a2_0x19269a(0x3db)](a2_0x19269a(0x2ca),a2_0x19269a(0x42e))[a2_0x19269a(0xf5)](createEngageAction(EngageCampaignPushCommand)),campaignCmd['command'](a2_0x19269a(0x211))['description'](a2_0x19269a(0x21c))[a2_0x19269a(0x3db)](a2_0x19269a(0x201),a2_0x19269a(0x210))[a2_0x19269a(0xf5)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x382))[a2_0x19269a(0xf3)](a2_0x19269a(0x231));alwaysOnCampaignCmd['command'](a2_0x19269a(0xf9))['description']('List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x19269a(0x3db)](a2_0x19269a(0x371),a2_0x19269a(0x1f5))[a2_0x19269a(0x3db)](a2_0x19269a(0x227),a2_0x19269a(0x205))[a2_0x19269a(0x32a)](a2_0x19269a(0x238),a2_0x19269a(0x1dc))[a2_0x19269a(0xf5)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x19269a(0x2f5)]('always-on-campaigns\x20[pattern]')[a2_0x19269a(0xf3)]('List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)')['option'](a2_0x19269a(0x371),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x19269a(0x3db)](a2_0x19269a(0x227),a2_0x19269a(0x205))[a2_0x19269a(0x32a)]('--workspace\x20<name>',a2_0x19269a(0x1dc))[a2_0x19269a(0xf5)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x36d))['description'](a2_0x19269a(0x1fd))[a2_0x19269a(0x32a)]('--workspace\x20<name>',a2_0x19269a(0x1dc))[a2_0x19269a(0x3db)]('--full','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')['action'](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x254))[a2_0x19269a(0xf3)](a2_0x19269a(0x328))['requiredOption'](a2_0x19269a(0x2ad),a2_0x19269a(0x20e))[a2_0x19269a(0x32a)](a2_0x19269a(0x371),a2_0x19269a(0x1a5))['requiredOption'](a2_0x19269a(0x238),'Workspace\x20name\x20(required)')[a2_0x19269a(0x3db)](a2_0x19269a(0x1d6),a2_0x19269a(0x283))[a2_0x19269a(0x3db)](a2_0x19269a(0x157),a2_0x19269a(0x3fc))[a2_0x19269a(0x3db)](a2_0x19269a(0x143),a2_0x19269a(0x3e5))[a2_0x19269a(0xf5)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x154))[a2_0x19269a(0xf3)]('Update\x20an\x20always-on\x20campaign')[a2_0x19269a(0x32a)](a2_0x19269a(0x238),a2_0x19269a(0x1dc))[a2_0x19269a(0x3db)]('--name\x20<name>',a2_0x19269a(0x1c0))['option']('--description\x20<desc>',a2_0x19269a(0x283))['option'](a2_0x19269a(0x157),'Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')[a2_0x19269a(0x3db)](a2_0x19269a(0x143),a2_0x19269a(0x3e5))[a2_0x19269a(0xf5)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x160))[a2_0x19269a(0xf3)](a2_0x19269a(0x28f))[a2_0x19269a(0x32a)](a2_0x19269a(0x238),'Workspace\x20name\x20(required)')[a2_0x19269a(0x3db)](a2_0x19269a(0x3b3),'Skip\x20confirmation\x20prompt')['action'](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0xfd))[a2_0x19269a(0xf3)](a2_0x19269a(0x158))[a2_0x19269a(0x32a)](a2_0x19269a(0x238),a2_0x19269a(0x1dc))[a2_0x19269a(0xf5)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x217))[a2_0x19269a(0xf3)]('Pause\x20an\x20always-on\x20campaign')[a2_0x19269a(0x32a)](a2_0x19269a(0x238),'Workspace\x20name\x20(required)')['action'](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x19269a(0x2f5)]('resume\x20<name-or-id>')[a2_0x19269a(0xf3)](a2_0x19269a(0x1b9))[a2_0x19269a(0x32a)](a2_0x19269a(0x238),a2_0x19269a(0x1dc))[a2_0x19269a(0xf5)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x381))[a2_0x19269a(0xf3)](a2_0x19269a(0x34a))[a2_0x19269a(0x32a)](a2_0x19269a(0x238),a2_0x19269a(0x1dc))[a2_0x19269a(0x3db)]('--yes',a2_0x19269a(0x2b3))[a2_0x19269a(0xf5)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x235))[a2_0x19269a(0xf3)](a2_0x19269a(0x185))['requiredOption']('--workspace\x20<name>',a2_0x19269a(0x1dc))['requiredOption'](a2_0x19269a(0x2ad),'Name\x20for\x20the\x20duplicated\x20campaign')[a2_0x19269a(0xf5)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd['command']('template')[a2_0x19269a(0xf3)](a2_0x19269a(0x167));templateCmd['command'](a2_0x19269a(0xf9))[a2_0x19269a(0xf3)](a2_0x19269a(0x3da))['option'](a2_0x19269a(0x238),'Workspace\x20name')[a2_0x19269a(0xf5)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x2ce))[a2_0x19269a(0xf3)]('List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)')['option'](a2_0x19269a(0x238),a2_0x19269a(0x312))[a2_0x19269a(0xf5)](createEngageListAction(EngageTemplatesCommand)),templateCmd['command'](a2_0x19269a(0x36d))['description'](a2_0x19269a(0x415))[a2_0x19269a(0x3db)](a2_0x19269a(0x238),a2_0x19269a(0x312))[a2_0x19269a(0x3db)](a2_0x19269a(0x30f),a2_0x19269a(0x159))[a2_0x19269a(0xf5)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x254))[a2_0x19269a(0xf3)](a2_0x19269a(0x3c6))[a2_0x19269a(0x32a)](a2_0x19269a(0x2ad),a2_0x19269a(0x368))[a2_0x19269a(0x32a)](a2_0x19269a(0x40f),'Email\x20subject\x20template')[a2_0x19269a(0x3db)](a2_0x19269a(0x1f3),a2_0x19269a(0x1a7))[a2_0x19269a(0x3db)](a2_0x19269a(0x41f),a2_0x19269a(0x2da))[a2_0x19269a(0x3db)](a2_0x19269a(0x238),a2_0x19269a(0x1dc))['option'](a2_0x19269a(0x37c),a2_0x19269a(0x38f))[a2_0x19269a(0x3db)](a2_0x19269a(0x3c7),a2_0x19269a(0x3c2),_0x53859b=>{const _0xa13424=a2_0x19269a;if(!['beefree',_0xa13424(0x384)][_0xa13424(0x21d)](_0x53859b))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0xa13424(0x19b)+_0x53859b+_0xa13424(0x126));return _0x53859b;})[a2_0x19269a(0xf5)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x154))[a2_0x19269a(0xf3)]('Update\x20an\x20email\x20template')[a2_0x19269a(0x3db)]('--workspace\x20<name>','Workspace\x20name')['option'](a2_0x19269a(0x2ad),a2_0x19269a(0x291))[a2_0x19269a(0x3db)]('--subject\x20<subject>',a2_0x19269a(0x2bc))[a2_0x19269a(0x3db)]('--html\x20<html>',a2_0x19269a(0x1a7))[a2_0x19269a(0x3db)](a2_0x19269a(0x41f),'Read\x20HTML\x20template\x20from\x20file')[a2_0x19269a(0x3db)](a2_0x19269a(0x37c),a2_0x19269a(0x38f))[a2_0x19269a(0xf5)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x3b2))[a2_0x19269a(0xf3)](a2_0x19269a(0x41e))['option']('--workspace\x20<name>','Workspace\x20name')['option']('--name\x20<name>',a2_0x19269a(0x270))['option']('-y,\x20--yes',a2_0x19269a(0x2b3))[a2_0x19269a(0x3db)](a2_0x19269a(0x2ca),'Show\x20what\x20would\x20be\x20written\x20without\x20writing')[a2_0x19269a(0xf5)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x156))['description'](a2_0x19269a(0x15a))[a2_0x19269a(0x3db)]('--workspace\x20<name>',a2_0x19269a(0x312))[a2_0x19269a(0x3db)](a2_0x19269a(0x208),a2_0x19269a(0x2b3))['option'](a2_0x19269a(0x2ca),'Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0x19269a(0xf5)](createEngageAction(EngageTemplatePushCommand)),templateCmd['command'](a2_0x19269a(0x211))['description'](a2_0x19269a(0x426))[a2_0x19269a(0x3db)](a2_0x19269a(0x201),'Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x19269a(0xf5)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x160))['description'](a2_0x19269a(0x1ba))[a2_0x19269a(0x3db)](a2_0x19269a(0x238),'Workspace\x20name')[a2_0x19269a(0x3db)]('--yes','Skip\x20confirmation\x20prompt')[a2_0x19269a(0xf5)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x3b6))[a2_0x19269a(0xf3)](a2_0x19269a(0x15b));workspaceCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0xf9))[a2_0x19269a(0xf3)](a2_0x19269a(0x39a))['action'](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x39d))[a2_0x19269a(0xf3)](a2_0x19269a(0x30b))[a2_0x19269a(0xf5)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd['command'](a2_0x19269a(0x36d))[a2_0x19269a(0xf3)](a2_0x19269a(0x13f))['option'](a2_0x19269a(0x30f),a2_0x19269a(0x159))[a2_0x19269a(0xf5)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x254))[a2_0x19269a(0xf3)](a2_0x19269a(0x302))['requiredOption'](a2_0x19269a(0x2ad),a2_0x19269a(0x312))[a2_0x19269a(0x3db)](a2_0x19269a(0x1d6),a2_0x19269a(0x1df))[a2_0x19269a(0xf5)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x154))['description'](a2_0x19269a(0x101))['option']('--name\x20<name>',a2_0x19269a(0x2cf))[a2_0x19269a(0x3db)]('--description\x20<desc>',a2_0x19269a(0x1df))[a2_0x19269a(0xf5)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x160))['description'](a2_0x19269a(0x1f4))[a2_0x19269a(0x3db)]('--yes',a2_0x19269a(0x2b3))['action'](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x19269a(0x2f5)]('use\x20<name>')[a2_0x19269a(0xf3)](a2_0x19269a(0x179))[a2_0x19269a(0xf5)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x19269a(0x2f5)](a2_0x19269a(0x3e8))['description']('Delivery\x20operations\x20(email\x20senders)');deliveryCmd[a2_0x19269a(0x2f5)]('senders\x20[pattern]')[a2_0x19269a(0xf3)]('List\x20email\x20senders')['option'](a2_0x19269a(0x238),a2_0x19269a(0x312))[a2_0x19269a(0xf5)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x19269a(0x2f5)]('connection')['description']('Data\x20connection\x20management\x20(for\x20activations/exports)'),connectionListAction=async _0x48c5ba=>{const _0x2abf47=a2_0x19269a,_0x3bad46=new ConnectionListCommand(),_0x58bb86=program[_0x2abf47(0x25b)](),_0x21d811=await createTDXInstance(_0x58bb86),_0x3f2103=await _0x3bad46[_0x2abf47(0x396)]({'options':{..._0x58bb86,..._0x48c5ba},'args':[],'tdx':_0x21d811});gracefulExit(_0x3f2103);};connectionCmd['command'](a2_0x19269a(0x2d9))[a2_0x19269a(0xf3)](a2_0x19269a(0x293))[a2_0x19269a(0xf5)](connectionListAction),program[a2_0x19269a(0x2f5)](a2_0x19269a(0x2c4),{'hidden':!![]})['description'](a2_0x19269a(0x144))[a2_0x19269a(0xf5)](connectionListAction),connectionCmd[a2_0x19269a(0x2f5)]('show\x20<name>')[a2_0x19269a(0xf3)](a2_0x19269a(0x337))[a2_0x19269a(0xf5)](async(_0x373968,_0x35d706)=>{const _0x36ef9b=new ConnectionShowCommand(),_0x324843=program['opts'](),_0x540fcb=await createTDXInstance(_0x324843),_0x5f7905=await _0x36ef9b['run']({'options':{..._0x324843,..._0x35d706},'args':[_0x373968],'tdx':_0x540fcb});gracefulExit(_0x5f7905);}),connectionCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x3ef))[a2_0x19269a(0xf3)](a2_0x19269a(0x20c))[a2_0x19269a(0xf5)](async(_0x1cde13,_0x12877d)=>{const _0x402412=new ConnectionSchemaCommand(),_0x4f6920=program['opts'](),_0x2b03c5=await createTDXInstance(_0x4f6920),_0xa5cd4e=await _0x402412['run']({'options':{..._0x4f6920,..._0x12877d},'args':[_0x1cde13],'tdx':_0x2b03c5});gracefulExit(_0xa5cd4e);}),connectionCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x22f))[a2_0x19269a(0xf3)](a2_0x19269a(0x24b))[a2_0x19269a(0xf5)](async _0x59ba8e=>{const _0x2da89=a2_0x19269a,_0x16d843=new ConnectionTypesCommand(),_0x5dbd55=program[_0x2da89(0x25b)](),_0x489f54=await createTDXInstance(_0x5dbd55),_0x397096=await _0x16d843['run']({'options':{..._0x5dbd55,..._0x59ba8e},'args':[],'tdx':_0x489f54});gracefulExit(_0x397096);}),connectionCmd['command'](a2_0x19269a(0x264))[a2_0x19269a(0xf3)]('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x19269a(0xf5)](async(_0x510451,_0x44a3bb)=>{const _0x3abd0e=a2_0x19269a,_0x5a4421=new ConnectionSettingsCommand(),_0x3f21c8=program[_0x3abd0e(0x25b)](),_0x3cb804=await createTDXInstance(_0x3f21c8),_0x246091=await _0x5a4421[_0x3abd0e(0x396)]({'options':{..._0x3f21c8,..._0x44a3bb},'args':[_0x510451],'tdx':_0x3cb804});gracefulExit(_0x246091);});const casCmd=program['command'](a2_0x19269a(0x3ab))['description'](a2_0x19269a(0x403));casCmd['command'](a2_0x19269a(0x2d9))[a2_0x19269a(0xf3)](a2_0x19269a(0x1cf))[a2_0x19269a(0xf5)](async _0x2cd711=>{const _0x58eb26=a2_0x19269a,_0x74a7b6=new CASListCommand(),_0x257369=program[_0x58eb26(0x25b)](),_0x4c37c5=await createTDXInstance(_0x257369),_0x6d917d=await _0x74a7b6[_0x58eb26(0x396)]({'options':{..._0x257369,..._0x2cd711},'args':[],'tdx':_0x4c37c5});gracefulExit(_0x6d917d);}),casCmd['command'](a2_0x19269a(0x1de))[a2_0x19269a(0xf3)](a2_0x19269a(0x39b))[a2_0x19269a(0xf5)](async(_0x31e3a0,_0x49f5d7)=>{const _0x42e977=a2_0x19269a,_0x11ce72=new CASDescCommand(),_0x11ef7d=program[_0x42e977(0x25b)](),_0x5af868=await createTDXInstance(_0x11ef7d),_0x183d5d=await _0x11ce72['run']({'options':{..._0x11ef7d,..._0x49f5d7},'args':_0x31e3a0?[_0x31e3a0]:[],'tdx':_0x5af868});gracefulExit(_0x183d5d);}),casCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x2a4))['description'](a2_0x19269a(0x17f))[a2_0x19269a(0x3db)](a2_0x19269a(0x373),a2_0x19269a(0x3b1))[a2_0x19269a(0x3db)]('--dry-run',a2_0x19269a(0x3a3))[a2_0x19269a(0xf5)](async(_0x42f0bb,_0x58cfda)=>{const _0x3d798f=a2_0x19269a,_0x3437dd=new CASPullCommand(),_0x115746=program[_0x3d798f(0x25b)](),_0x1de0e3=await createTDXInstance(_0x115746),_0x46ca4c=await _0x3437dd[_0x3d798f(0x396)]({'options':{..._0x115746,..._0x58cfda},'args':_0x42f0bb?[_0x42f0bb]:[],'tdx':_0x1de0e3});gracefulExit(_0x46ca4c);}),casCmd['command'](a2_0x19269a(0x156))[a2_0x19269a(0xf3)](a2_0x19269a(0x216))[a2_0x19269a(0x3db)](a2_0x19269a(0x2ca),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x19269a(0xf5)](async(_0x2739e3,_0x2fa079)=>{const _0x26619d=a2_0x19269a,_0x46b1a3=new CASPushCommand(),_0x5748ca=program[_0x26619d(0x25b)](),_0x5ea69c=await createTDXInstance(_0x5748ca),_0x58b49d=await _0x46b1a3[_0x26619d(0x396)]({'options':{..._0x5748ca,..._0x2fa079},'args':_0x2739e3?[_0x2739e3]:[],'tdx':_0x5ea69c});gracefulExit(_0x58b49d);}),casCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x316))['description'](a2_0x19269a(0x19c))[a2_0x19269a(0x3db)](a2_0x19269a(0x2b9),a2_0x19269a(0x1c2))[a2_0x19269a(0xf5)](async(_0x1e1591,_0x394a06)=>{const _0x4c6bbb=a2_0x19269a,_0xe3f355=new CASPreviewCommand(),_0x132f83=program[_0x4c6bbb(0x25b)](),_0x4202e4=await createTDXInstance(_0x132f83),_0x1fdb09=await _0xe3f355[_0x4c6bbb(0x396)]({'options':{..._0x132f83,..._0x394a06},'args':[_0x1e1591,_0x394a06[_0x4c6bbb(0x29e)]],'tdx':_0x4202e4});gracefulExit(_0x1fdb09);});const casSgCmd=casCmd[a2_0x19269a(0x2f5)]('sg')[a2_0x19269a(0xf3)](a2_0x19269a(0x3c0));casSgCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x140))[a2_0x19269a(0xf3)](a2_0x19269a(0x1a6))[a2_0x19269a(0xf5)](async(_0x1e9be3,_0x10aed6)=>{const _0x882ebc=a2_0x19269a,_0x262929=new CASSegmentListCommand(),_0x2d790f=program['opts'](),_0x1e1010=await createTDXInstance(_0x2d790f),_0x32b006=await _0x262929[_0x882ebc(0x396)]({'options':{..._0x2d790f,..._0x10aed6},'args':_0x1e9be3?[_0x1e9be3]:[],'tdx':_0x1e1010});gracefulExit(_0x32b006);});const journeyCmd=program[a2_0x19269a(0x2f5)](a2_0x19269a(0x3c1))[a2_0x19269a(0xf3)]('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0xd71480,_0x551d8b)=>{const _0x56162a=a2_0x19269a,_0x208358=new JourneyListCommand(),_0x1808c1=program[_0x56162a(0x25b)](),_0x49e8df=await createTDXInstance(_0x1808c1),_0x1e38bf=await _0x208358['run']({'options':{..._0x1808c1,..._0x551d8b},'args':_0xd71480?[_0xd71480]:[],'tdx':_0x49e8df});gracefulExit(_0x1e38bf);};journeyCmd['command']('list\x20[pattern]')[a2_0x19269a(0xf3)]('List\x20journeys\x20in\x20current\x20context')[a2_0x19269a(0xf5)](journeyListAction),journeyCmd['command'](a2_0x19269a(0x120))['description'](a2_0x19269a(0x390))[a2_0x19269a(0x3db)](a2_0x19269a(0x252),a2_0x19269a(0x22d))['option'](a2_0x19269a(0x3ff),a2_0x19269a(0x24f))['action'](async(_0x474f40,_0x33427d)=>{const _0x1a03cc=a2_0x19269a,_0x2c4043=new JourneyViewCommand(),_0x3a360f=program['opts'](),_0x5bb943=await createTDXInstance(_0x3a360f),_0x2bfb33=await _0x2c4043[_0x1a03cc(0x396)]({'options':{..._0x3a360f,..._0x33427d},'args':[_0x474f40],'tdx':_0x5bb943});gracefulExit(_0x2bfb33);}),journeyCmd['command']('stats\x20<name-or-path>')[a2_0x19269a(0xf3)](a2_0x19269a(0x257))[a2_0x19269a(0x3db)](a2_0x19269a(0x3bd),a2_0x19269a(0x334))['option'](a2_0x19269a(0x3bf),a2_0x19269a(0x194))[a2_0x19269a(0x3db)]('--to\x20<date>',a2_0x19269a(0x28b))[a2_0x19269a(0x3db)](a2_0x19269a(0x324),'Include\x20raw\x20history\x20data\x20in\x20output')['action'](async(_0x295d56,_0xba4326)=>{const _0x567ae7=a2_0x19269a,_0x54ffff=new JourneyStatsCommand(),_0x334dcb=program['opts'](),_0x5f508b=await createTDXInstance(_0x334dcb),_0x4eeb90=await _0x54ffff[_0x567ae7(0x396)]({'options':{..._0x334dcb,..._0xba4326},'args':[_0x295d56],'tdx':_0x5f508b});gracefulExit(_0x4eeb90);}),journeyCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x2d0))['description']('Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)')['option']('--type\x20<type>',a2_0x19269a(0x1f7))[a2_0x19269a(0x3db)](a2_0x19269a(0x3bf),a2_0x19269a(0x194))[a2_0x19269a(0x3db)]('--to\x20<date>',a2_0x19269a(0x28b))[a2_0x19269a(0x3db)](a2_0x19269a(0x138),a2_0x19269a(0x122),_0x42397f=>{const _0x209181=a2_0x19269a,_0x1b4e4e=parseInt(_0x42397f,0xa);if(isNaN(_0x1b4e4e))throw new Error(_0x209181(0x22a)+_0x42397f+_0x209181(0x3ce));return _0x1b4e4e;})[a2_0x19269a(0xf5)](async(_0x3b1408,_0x4cf4b3)=>{const _0x482bc1=a2_0x19269a,_0x1c635b=new JourneyTrafficCommand(),_0x254260=program['opts'](),_0x5d1419=await createTDXInstance(_0x254260),_0x2bd5f7=await _0x1c635b[_0x482bc1(0x396)]({'options':{..._0x254260,..._0x4cf4b3},'args':[_0x3b1408],'tdx':_0x5d1419});gracefulExit(_0x2bd5f7);}),journeyCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x3ae))[a2_0x19269a(0xf3)](a2_0x19269a(0x248))[a2_0x19269a(0xf5)](async(_0x3e6bb7,_0x39809b)=>{const _0xe76d3c=a2_0x19269a,_0x2355be=new JourneyPauseCommand(),_0x5c64af=program['opts'](),_0x401fde=await createTDXInstance(_0x5c64af),_0x181794=await _0x2355be[_0xe76d3c(0x396)]({'options':{..._0x5c64af,..._0x39809b},'args':[_0x3e6bb7],'tdx':_0x401fde});gracefulExit(_0x181794);}),journeyCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x378))[a2_0x19269a(0xf3)](a2_0x19269a(0x35d))[a2_0x19269a(0xf5)](async(_0x426f42,_0x3bc9c7)=>{const _0x190943=a2_0x19269a,_0x525253=new JourneyResumeCommand(),_0x58e09b=program[_0x190943(0x25b)](),_0x56ba51=await createTDXInstance(_0x58e09b),_0x2a94a3=await _0x525253[_0x190943(0x396)]({'options':{..._0x58e09b,..._0x3bc9c7},'args':[_0x426f42],'tdx':_0x56ba51});gracefulExit(_0x2a94a3);}),journeyCmd[a2_0x19269a(0x2f5)]('pull\x20[name]')[a2_0x19269a(0xf3)]('Export\x20journey(s)\x20as\x20YAML\x20files')['option']('--dry-run',a2_0x19269a(0x3a3))[a2_0x19269a(0xf5)](async(_0x4b5135,_0x5af14b)=>{const _0x5d98f9=a2_0x19269a,_0x524799=new JourneyPullCommand(),_0xa8dd89=program['opts'](),_0x1d306d=await createTDXInstance(_0xa8dd89),_0x5e8f78=await _0x524799[_0x5d98f9(0x396)]({'options':{..._0xa8dd89,..._0x5af14b},'args':_0x4b5135?[_0x4b5135]:[],'tdx':_0x1d306d});gracefulExit(_0x5e8f78);}),journeyCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x156))[a2_0x19269a(0xf3)]('Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data')[a2_0x19269a(0xf5)](async(_0xd65b49,_0x28d143)=>{const _0x2e25ad=a2_0x19269a,_0xfd5cff=new JourneyPushCommand(),_0x53ded7=program[_0x2e25ad(0x25b)](),_0x17a2f0=await createTDXInstance(_0x53ded7),_0x3bc5c6=await _0xfd5cff[_0x2e25ad(0x396)]({'options':{..._0x53ded7,..._0x28d143},'args':_0xd65b49?[_0xd65b49]:[],'tdx':_0x17a2f0});gracefulExit(_0x3bc5c6);}),journeyCmd[a2_0x19269a(0x2f5)]('columns\x20<name-or-path>')['description'](a2_0x19269a(0x330))[a2_0x19269a(0xf5)](async(_0xaa6005,_0x2c2ac7)=>{const _0x51bb40=a2_0x19269a,_0xbedb28=new JourneyColumnsCommand(),_0x14beaf=program[_0x51bb40(0x25b)](),_0x130520=await createTDXInstance(_0x14beaf),_0x59b760=await _0xbedb28['run']({'options':{..._0x14beaf,..._0x2c2ac7},'args':[_0xaa6005],'tdx':_0x130520});gracefulExit(_0x59b760);}),journeyCmd[a2_0x19269a(0x2f5)]('activations\x20<name-or-path>')[a2_0x19269a(0xf3)](a2_0x19269a(0x349))[a2_0x19269a(0xf5)](async(_0x3ff012,_0x352254)=>{const _0x1f04a1=a2_0x19269a,_0x34dc62=new JourneyActivationsCommand(),_0xf0497d=program[_0x1f04a1(0x25b)](),_0x2c6ec9=await createTDXInstance(_0xf0497d),_0x213dd0=await _0x34dc62[_0x1f04a1(0x396)]({'options':{..._0xf0497d,..._0x352254},'args':[_0x3ff012],'tdx':_0x2c6ec9});gracefulExit(_0x213dd0);}),journeyCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x29b))[a2_0x19269a(0xf3)]('List\x20all\x20versions\x20of\x20a\x20journey')[a2_0x19269a(0xf5)](async(_0x2e5a6c,_0xc30101)=>{const _0x57fcd8=a2_0x19269a,_0x4ef082=new JourneyVersionsCommand(),_0x165e42=program[_0x57fcd8(0x25b)](),_0x2c3775=await createTDXInstance(_0x165e42),_0x476422=await _0x4ef082[_0x57fcd8(0x396)]({'options':{..._0x165e42,..._0xc30101},'args':[_0x2e5a6c],'tdx':_0x2c3775});gracefulExit(_0x476422);});const journeyVersionCmd=journeyCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x389))[a2_0x19269a(0xf3)]('Journey\x20version\x20management');journeyVersionCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x221))[a2_0x19269a(0xf3)](a2_0x19269a(0x422))['action'](async(_0x4a8086,_0x25b497)=>{const _0x214074=a2_0x19269a,_0x13e9bd=new JourneyVersionCreateCommand(),_0x1b1c76=program['opts'](),_0x120261=await createTDXInstance(_0x1b1c76),_0x31988f=await _0x13e9bd[_0x214074(0x396)]({'options':{..._0x1b1c76,..._0x25b497},'args':[_0x4a8086],'tdx':_0x120261});gracefulExit(_0x31988f);}),journeyVersionCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x120))[a2_0x19269a(0xf3)](a2_0x19269a(0x25e))[a2_0x19269a(0x32a)](a2_0x19269a(0x397),a2_0x19269a(0x365))[a2_0x19269a(0xf5)](async(_0x3c1eaa,_0x3fa7e5)=>{const _0x324825=a2_0x19269a,_0x4a5f91=new JourneyVersionViewCommand(),_0xafae5f=program[_0x324825(0x25b)](),_0x48c795=await createTDXInstance(_0xafae5f),_0x375700=await _0x4a5f91[_0x324825(0x396)]({'options':{..._0xafae5f,..._0x3fa7e5},'args':[_0x3c1eaa],'tdx':_0x48c795});gracefulExit(_0x375700);}),journeyCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x211))['description'](a2_0x19269a(0x305))['action'](async(_0x890259,_0x114eb9)=>{const _0xaa8f9e=a2_0x19269a,_0x14ca84=new JourneyValidateCommand(),_0x27ecf8=program[_0xaa8f9e(0x25b)](),_0x5ee368=await createTDXInstance(_0x27ecf8),_0x22967f=await _0x14ca84[_0xaa8f9e(0x396)]({'options':{..._0x27ecf8,..._0x114eb9},'args':_0x890259?[_0x890259]:[],'tdx':_0x5ee368});gracefulExit(_0x22967f);}),program['command'](a2_0x19269a(0x3ca))[a2_0x19269a(0xf3)](a2_0x19269a(0x335))[a2_0x19269a(0xf5)](journeyListAction);const agentSyncCmd=program[a2_0x19269a(0x2f5)](a2_0x19269a(0x1ef))[a2_0x19269a(0xf3)](a2_0x19269a(0x132));agentSyncCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x243))[a2_0x19269a(0xf3)](a2_0x19269a(0x28c))[a2_0x19269a(0x3db)]('-o,\x20--output\x20<dir>',a2_0x19269a(0x117))[a2_0x19269a(0x3db)](a2_0x19269a(0x192),a2_0x19269a(0x28a))[a2_0x19269a(0x3db)](a2_0x19269a(0x166),a2_0x19269a(0x362))[a2_0x19269a(0xf5)](async(_0x3cb4b8,_0x4230e9,_0x58f4d5)=>{const _0x19d24a=a2_0x19269a,_0x36e6db=new AgentPullCommand(),_0x2fbde8=program[_0x19d24a(0x25b)](),_0x1ad8d8=await createTDXInstance(_0x2fbde8),_0x2d340e=[];if(_0x3cb4b8)_0x2d340e[_0x19d24a(0x3ee)](_0x3cb4b8);if(_0x4230e9)_0x2d340e[_0x19d24a(0x3ee)](_0x4230e9);const _0x493efc=await _0x36e6db[_0x19d24a(0x396)]({'options':{..._0x2fbde8,..._0x58f4d5},'args':_0x2d340e,'tdx':_0x1ad8d8});gracefulExit(_0x493efc);}),agentSyncCmd['command'](a2_0x19269a(0x2ac))[a2_0x19269a(0xf3)](a2_0x19269a(0x131))['option'](a2_0x19269a(0x192),a2_0x19269a(0x3f6))['action'](async(_0x369fbd,_0x32b90a)=>{const _0x3b6fc4=new AgentPushCommand(),_0xf40a3f=program['opts'](),_0x4d253c=await createTDXInstance(_0xf40a3f),_0x4afdf0=await _0x3b6fc4['run']({'options':{..._0xf40a3f,..._0x32b90a},'args':_0x369fbd?[_0x369fbd]:[],'tdx':_0x4d253c});gracefulExit(_0x4afdf0);}),agentSyncCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x263))[a2_0x19269a(0xf3)](a2_0x19269a(0x26e))[a2_0x19269a(0x3db)](a2_0x19269a(0x17d),'Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x19269a(0xf5)](async(_0x2b197b,_0xdc5265)=>{const _0x515d7e=a2_0x19269a,_0x5218d7=new AgentCloneCommand(),_0x3fae7e=program[_0x515d7e(0x25b)](),_0x5662f4=await createTDXInstance(_0x3fae7e),_0x490e00=await _0x5218d7[_0x515d7e(0x396)]({'options':{..._0x3fae7e,..._0xdc5265},'args':_0x2b197b?[_0x2b197b]:[],'tdx':_0x5662f4});gracefulExit(_0x490e00);}),agentSyncCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x11c))[a2_0x19269a(0xf3)](a2_0x19269a(0x183))[a2_0x19269a(0x3db)](a2_0x19269a(0x40c),a2_0x19269a(0x15e))[a2_0x19269a(0x3db)](a2_0x19269a(0x2f7),'Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)')[a2_0x19269a(0x3db)](a2_0x19269a(0x2ca),a2_0x19269a(0x247))[a2_0x19269a(0x3db)](a2_0x19269a(0x1f1),'Generate\x20test\x20conversations\x20without\x20evaluation')['option'](a2_0x19269a(0x108),a2_0x19269a(0x24e))[a2_0x19269a(0xf5)](async(_0x4b6afe,_0x39a1a9)=>{const _0x31aac1=a2_0x19269a,_0x10105b=new AgentTestCommand(),_0x5b2b16=program[_0x31aac1(0x25b)](),_0x2ce4b5=await createTDXInstance(_0x5b2b16),_0x234bdf=await _0x10105b[_0x31aac1(0x396)]({'options':{..._0x5b2b16,..._0x39a1a9},'args':_0x4b6afe?[_0x4b6afe]:[],'tdx':_0x2ce4b5});gracefulExit(_0x234bdf);}),agentSyncCmd[a2_0x19269a(0x2f5)]('list\x20[pattern]')[a2_0x19269a(0xf3)]('List\x20agents\x20in\x20current\x20project')['action'](llmAgentListAction),agentSyncCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x106))[a2_0x19269a(0xf3)]('Show\x20agent\x20details')[a2_0x19269a(0xf5)](async(_0x5847aa,_0x506959)=>{const _0x47a1b5=a2_0x19269a,_0x264cde=new LLMAgentShowCommand(),_0x3ba987=program[_0x47a1b5(0x25b)](),_0x4ad00d=await createTDXInstance(_0x3ba987),_0x3006b5=await _0x264cde['run']({'options':{..._0x3ba987,..._0x506959},'args':[_0x5847aa],'tdx':_0x4ad00d});gracefulExit(_0x3006b5);}),agentSyncCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x364))['description'](a2_0x19269a(0x394))[a2_0x19269a(0x3db)](a2_0x19269a(0x23d),'System\x20prompt/instructions\x20(default:\x20empty)')['option'](a2_0x19269a(0x318),'Model\x20type\x20(default:\x20claude-4.5-sonnet)','claude-4.5-sonnet')[a2_0x19269a(0x3db)](a2_0x19269a(0x21a),a2_0x19269a(0x2e8))[a2_0x19269a(0x3db)](a2_0x19269a(0x213),a2_0x19269a(0x32d),'4')[a2_0x19269a(0x3db)](a2_0x19269a(0x11a),a2_0x19269a(0x2c2),a2_0x19269a(0x40d))[a2_0x19269a(0xf5)](async(_0x39e3ed,_0x56972f)=>{const _0x57fc36=a2_0x19269a,_0x335f9a=new LLMAgentCreateCommand(),_0x359f25=program[_0x57fc36(0x25b)](),_0x501498=await createTDXInstance(_0x359f25),_0x5ae6c9=await _0x335f9a['run']({'options':{..._0x359f25,..._0x56972f},'args':[_0x39e3ed],'tdx':_0x501498});gracefulExit(_0x5ae6c9);}),agentSyncCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x31a))[a2_0x19269a(0xf3)](a2_0x19269a(0x333))[a2_0x19269a(0x3db)](a2_0x19269a(0x2a7),a2_0x19269a(0x1fa))[a2_0x19269a(0x3db)]('--prompt\x20<text>',a2_0x19269a(0x10b))[a2_0x19269a(0x3db)](a2_0x19269a(0x12a),a2_0x19269a(0x175))['option'](a2_0x19269a(0x21a),a2_0x19269a(0x2e8))[a2_0x19269a(0xf5)](async(_0x3ac344,_0x27fa28)=>{const _0x5356a3=a2_0x19269a,_0x4494b6=new LLMAgentUpdateCommand(),_0x453a4e=program[_0x5356a3(0x25b)](),_0x58df4b=await createTDXInstance(_0x453a4e),_0x225292=await _0x4494b6[_0x5356a3(0x396)]({'options':{..._0x453a4e,..._0x27fa28},'args':[_0x3ac344],'tdx':_0x58df4b});gracefulExit(_0x225292);}),agentSyncCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x13d))[a2_0x19269a(0xf3)](a2_0x19269a(0x2ee))[a2_0x19269a(0xf5)](async(_0x445226,_0x28040d)=>{const _0x10a753=a2_0x19269a,_0x1e13a7=new LLMAgentDeleteCommand(),_0x5b8701=program[_0x10a753(0x25b)](),_0x194e5b=await createTDXInstance(_0x5b8701),_0x4c8d08=await _0x1e13a7[_0x10a753(0x396)]({'options':{..._0x5b8701,..._0x28040d},'args':[_0x445226],'tdx':_0x194e5b});gracefulExit(_0x4c8d08);});const workCmd=program['command'](a2_0x19269a(0x14a))[a2_0x19269a(0xf3)](a2_0x19269a(0x1e9));workCmd[a2_0x19269a(0x3db)](a2_0x19269a(0x268),a2_0x19269a(0x327))['option'](a2_0x19269a(0x1cc),a2_0x19269a(0x259))[a2_0x19269a(0xf5)](workSummaryAction),workCmd['command']('init\x20[name]')[a2_0x19269a(0xf3)](a2_0x19269a(0x3af))[a2_0x19269a(0x3db)]('--github\x20<owner/repo>',a2_0x19269a(0x345))['action'](workInitAction),workCmd[a2_0x19269a(0x2f5)]('new\x20<title>')[a2_0x19269a(0xf3)]('Create\x20a\x20new\x20document')[a2_0x19269a(0x3db)](a2_0x19269a(0x2bb),a2_0x19269a(0x281),a2_0x19269a(0x242))[a2_0x19269a(0x3db)](a2_0x19269a(0x2f7),a2_0x19269a(0x279))[a2_0x19269a(0x3db)](a2_0x19269a(0x237),a2_0x19269a(0x228))[a2_0x19269a(0x3db)](a2_0x19269a(0xfa),a2_0x19269a(0x41c))[a2_0x19269a(0x3db)](a2_0x19269a(0x162),'Apply\x20a\x20template')[a2_0x19269a(0x3db)]('--status\x20<status>',a2_0x19269a(0x37d))['option'](a2_0x19269a(0x1ca),a2_0x19269a(0x23b))['action'](workNewAction),workCmd['command'](a2_0x19269a(0x33d))[a2_0x19269a(0xf3)](a2_0x19269a(0x2d6))[a2_0x19269a(0xf5)](workMoveAction),workCmd['command']('board')['description'](a2_0x19269a(0x240))[a2_0x19269a(0x3db)](a2_0x19269a(0x268),a2_0x19269a(0x327))[a2_0x19269a(0x3db)](a2_0x19269a(0x1cc),a2_0x19269a(0x259))['action'](workBoardAction),workCmd['command'](a2_0x19269a(0x1bd))[a2_0x19269a(0xf3)]('Show\x20document\x20details')['action'](workShowAction),workCmd[a2_0x19269a(0x2f5)](a2_0x19269a(0x300))[a2_0x19269a(0xf3)](a2_0x19269a(0x38b))['action'](workLinksAction),workCmd['command'](a2_0x19269a(0x2a8))[a2_0x19269a(0xf3)](a2_0x19269a(0x32c))[a2_0x19269a(0xf5)](workOpenAction),program[a2_0x19269a(0x2f5)](a2_0x19269a(0x21e),{'hidden':!![]})[a2_0x19269a(0xf5)](()=>{const _0x560ea7=a2_0x19269a;function _0x1bfcee(_0x4852c8,_0x32e289){const _0x2a7cb4=a2_0x7b5a,_0x5e4528=[];for(const _0x1b46de of _0x4852c8[_0x2a7cb4(0x3a9)]){if(_0x1b46de[_0x2a7cb4(0x359)])continue;const _0x389257=_0x32e289?_0x32e289+'\x20'+_0x1b46de[_0x2a7cb4(0x2b1)]():_0x1b46de[_0x2a7cb4(0x2b1)](),_0x32f121=_0x389257[_0x2a7cb4(0x3df)]('\x20')[0x0],_0x2a6db6=COMMAND_CATEGORIES[_0x2a7cb4(0x150)](_0x4411b2=>_0x4411b2[_0x2a7cb4(0x3a9)]['includes'](_0x32f121)),_0x1a4305=_0x2a6db6?.[_0x2a7cb4(0x2b1)]??'';if(_0x1b46de[_0x2a7cb4(0x3a9)][_0x2a7cb4(0x314)]>0x0)_0x5e4528['push'](..._0x1bfcee(_0x1b46de,_0x389257));else{const _0x1a0692=(_0x1b46de[_0x2a7cb4(0x400)]||[])[_0x2a7cb4(0x29f)](_0x196d04=>{const _0x390c0b=_0x2a7cb4,_0x2c8534=_0x196d04[_0x390c0b(0x1ce)]?_0x196d04[_0x390c0b(0x2b1)]()+_0x390c0b(0x34b):_0x196d04[_0x390c0b(0x2b1)]();return _0x196d04[_0x390c0b(0x1d4)]?'<'+_0x2c8534+'>':'['+_0x2c8534+']';})[_0x2a7cb4(0x315)]('\x20'),_0x1f28cd=_0x1b46de[_0x2a7cb4(0x273)][_0x2a7cb4(0x3bc)](_0x27defd=>!_0x27defd[_0x2a7cb4(0x149)]&&_0x27defd[_0x2a7cb4(0x27e)]!==_0x2a7cb4(0x27c))['map'](_0x5f6f1f=>({'flags':_0x5f6f1f[_0x2a7cb4(0x26b)],'description':_0x5f6f1f[_0x2a7cb4(0xf3)]}));_0x5e4528[_0x2a7cb4(0x3ee)]({'name':_0x389257,'description':_0x1b46de[_0x2a7cb4(0xf3)](),'group':_0x1a4305,'usage':_0x1a0692,'options':_0x1f28cd});}}return _0x5e4528;}console[_0x560ea7(0x16a)](JSON[_0x560ea7(0x1fc)](_0x1bfcee(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x30b4ee=a2_0x19269a,_0x359684=!process[_0x30b4ee(0x20b)][_0x30b4ee(0x234)](0x2)[_0x30b4ee(0x314)];showBriefHelp=_0x359684,program[_0x30b4ee(0x3ea)](process[_0x30b4ee(0x20b)]);_0x359684&&program['outputHelp']();const _0x55fb19=process['argv'][0x2]===_0x30b4ee(0x336);if(process[_0x30b4ee(0x3f4)][_0x30b4ee(0x3d3)]&&process[_0x30b4ee(0x20b)][_0x30b4ee(0x314)]>0x2&&!isDevVersion()&&!_0x55fb19){const _0x38eec8=loadReleaseChannel();checkForUpdate(currentVersion,_0x38eec8)['then'](_0x3e54e1=>{_0x3e54e1&&displayUpdateNotification(_0x3e54e1);})[_0x30b4ee(0x3b5)](()=>{});}}
|