@treasuredata/tdx 2026.7.4 → 2026.7.5
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.d.ts.map +1 -1
- package/dist/commands/cas-command.js +1 -1
- package/dist/commands/cas-command.js.map +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-move-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/table-deleted.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-schema.d.ts +15 -3
- package/dist/sdk/cas/cas-audience-schema.d.ts.map +1 -1
- package/dist/sdk/cas/cas-audience-schema.js +1 -1
- package/dist/sdk/cas/cas-audience-schema.js.map +1 -1
- package/dist/sdk/cas/cas-audience-validator.js +1 -1
- package/dist/sdk/cas/cas-audience-validator.js.map +1 -1
- package/dist/sdk/cas/cas-audience-yaml.d.ts +8 -0
- package/dist/sdk/cas/cas-audience-yaml.d.ts.map +1 -1
- package/dist/sdk/cas/cas-audience-yaml.js +1 -1
- package/dist/sdk/cas/cas-audience-yaml.js.map +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.d.ts +47 -1
- package/dist/sdk/cas/push-workflow.d.ts.map +1 -1
- package/dist/sdk/cas/push-workflow.js +1 -1
- package/dist/sdk/cas/push-workflow.js.map +1 -1
- package/dist/sdk/cas/validate-files.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.d.ts +6 -6
- package/dist/sdk/client/engage-api-client.js +1 -1
- package/dist/sdk/client/engage-api-client.js.map +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/llm/user-settings.js +1 -1
- package/dist/sdk/personalization.js +1 -1
- package/dist/sdk/policy.js +1 -1
- package/dist/sdk/query/deleted-table-validation.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/cas.d.ts +5 -0
- package/dist/sdk/types/cas.d.ts.map +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/util/tree-search.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/task-graph.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/claude-code-state.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/proxy-fetch.js +1 -1
- package/dist/utils/proxy-fetch.js.map +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_0x46ad5e=a2_0x59dd;(function(_0x2cd56e,_0x348eb5){const _0x460e49=a2_0x59dd,_0x1dc287=_0x2cd56e();while(!![]){try{const _0xf6edc6=-parseInt(_0x460e49(0x249))/0x1+-parseInt(_0x460e49(0x1c0))/0x2*(-parseInt(_0x460e49(0x2ac))/0x3)+parseInt(_0x460e49(0xbd))/0x4+parseInt(_0x460e49(0x314))/0x5+parseInt(_0x460e49(0x227))/0x6*(parseInt(_0x460e49(0x210))/0x7)+-parseInt(_0x460e49(0x25b))/0x8+-parseInt(_0x460e49(0xe4))/0x9*(parseInt(_0x460e49(0x2b9))/0xa);if(_0xf6edc6===_0x348eb5)break;else _0x1dc287['push'](_0x1dc287['shift']());}catch(_0x2c8a16){_0x1dc287['push'](_0x1dc287['shift']());}}}(a2_0x2ee5,0xaee07));import a2_0x327578 from'chalk';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{TableDeletedCommand,TableRecoverCommand}from'./commands/table-deleted.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{SegmentMoveCommand}from'./commands/segment-move-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,JourneyRunCommand,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,EngageLineSenderAccountsCommand,EngageLineSenderAccountShowCommand,EngageLineImagemapImageUploadCommand,EngageMediaUploadCommand,EngageMediaLsCommand,EngageMediaMkdirCommand,EngageMediaRmCommand,EngageMediaRmdirCommand}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';function a2_0x59dd(_0x127ec8,_0xa03f2b){_0x127ec8=_0x127ec8-0xb6;const _0x2ee520=a2_0x2ee5();let _0x59dde2=_0x2ee520[_0x127ec8];return _0x59dde2;}import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{CASListCommand,CASDescCommand,CASPullCommand,CASPushCommand,CASValidateCommand,CASPreviewCommand}from'./commands/cas-command.js';import{CASSegmentListCommand,CASSegmentPushCommand}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{isApiCommandEnabled,isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x46ad5e(0x2be)][a2_0x46ad5e(0x260)]('--version')){let versionOutput='tdx\x20'+currentVersion;buildInfo[a2_0x46ad5e(0x3bf)]&&!currentVersion['includes'](buildInfo['gitRevision'])&&(versionOutput+='\x20('+buildInfo[a2_0x46ad5e(0x3bf)]+')'),buildInfo['buildTime']&&(versionOutput+=a2_0x46ad5e(0x348)+buildInfo[a2_0x46ad5e(0x31e)]),console[a2_0x46ad5e(0x239)](versionOutput),process[a2_0x46ad5e(0xba)](0x0);}const program=new Command();export function mergeCommandOptions(_0xd7d5a6,_0x55b8de){const _0x3cf2c2=a2_0x46ad5e,_0x6a947f={..._0xd7d5a6};for(const [_0x36ec45,_0x557236]of Object[_0x3cf2c2(0x35b)](_0x55b8de)){_0x557236!==undefined&&(_0x6a947f[_0x36ec45]=_0x557236);}return _0x6a947f;}let showBriefHelp=![],description='AI-native\x20CLI\x20for\x20Treasure\x20AI';buildInfo[a2_0x46ad5e(0x3bf)]&&!currentVersion[a2_0x46ad5e(0x260)](buildInfo[a2_0x46ad5e(0x3bf)])?description+=',\x20version\x20'+currentVersion+'\x20('+buildInfo[a2_0x46ad5e(0x3bf)]+')':description+=a2_0x46ad5e(0x1f2)+currentVersion;program[a2_0x46ad5e(0x2fa)](a2_0x46ad5e(0x32f))[a2_0x46ad5e(0x278)](description),program['option'](a2_0x46ad5e(0x26f),a2_0x46ad5e(0xd5))['option']('-p,\x20--profile\x20<name>',a2_0x46ad5e(0x408))['option'](a2_0x46ad5e(0x1d7),a2_0x46ad5e(0xd7),a2_0x46ad5e(0x309))['option'](a2_0x46ad5e(0x2ed),'Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x14c),a2_0x46ad5e(0x120))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x159),a2_0x46ad5e(0x28a))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x10e),a2_0x46ad5e(0x301))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x241),a2_0x46ad5e(0x2f4))[a2_0x46ad5e(0x132)]('--output\x20<file>',a2_0x46ad5e(0x1eb))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1b9),a2_0x46ad5e(0x15e))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x37b),a2_0x46ad5e(0x292),![])[a2_0x46ad5e(0x132)]('--no-color','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)',![])['option'](a2_0x46ad5e(0x40d),'Enable\x20verbose\x20logging',![])[a2_0x46ad5e(0x132)]('--debug',a2_0x46ad5e(0x1b2))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x24b),a2_0x46ad5e(0x20f))['option'](a2_0x46ad5e(0x18a),a2_0x46ad5e(0x12b),'30')[a2_0x46ad5e(0x132)]('--dry-run',a2_0x46ad5e(0x228),![])[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3d6),a2_0x46ad5e(0x154),![])[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x130),a2_0x46ad5e(0x2ec))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x293),'Parent\x20segment\x20to\x20use\x20(overrides\x20context)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x311),'LLM\x20project\x20to\x20use\x20(overrides\x20context)'),program[a2_0x46ad5e(0x3ae)]({'formatHelp':(_0x52e3b2,_0x37c057)=>{const _0x367e32=a2_0x46ad5e,_0x378258=_0x37c057[_0x367e32(0x106)](_0x52e3b2,_0x37c057),_0x1f1afc=0x2,_0x3a820d=0x2;function _0x189ed3(_0x553789){const _0x173604=_0x367e32,_0x2f32d6=_0x553789;return!!(_0x2f32d6[_0x173604(0x149)]||_0x2f32d6[_0x173604(0x3fe)]);}function _0x5e25bb(_0x5335aa,_0x355680){const _0x241f9e=_0x367e32;if(_0x355680){const _0x6eb31a=''+_0x5335aa[_0x241f9e(0x221)](_0x378258+_0x3a820d)+_0x355680;return _0x6eb31a;}return _0x5335aa;}function _0x1d7e27(_0x50884a){const _0x19d910=_0x367e32;return _0x50884a['join']('\x0a')['replace'](/^/gm,'\x20'[_0x19d910(0x320)](_0x1f1afc));}const _0x32aeca=[];_0x32aeca[_0x367e32(0x3c2)](_0x367e32(0x186)+_0x37c057[_0x367e32(0x10b)](_0x52e3b2));const _0x32a7a6=_0x37c057['commandDescription'](_0x52e3b2);_0x32a7a6&&(_0x32aeca[_0x367e32(0x3c2)](''),_0x32aeca[_0x367e32(0x3c2)](_0x32a7a6));const _0x576932=_0x52e3b2[_0x367e32(0x1fa)]['filter'](_0xc4aaeb=>!_0x189ed3(_0xc4aaeb));if(_0x576932['length']>0x0){if(_0x52e3b2[_0x367e32(0x2fa)]()==='tdx'){const _0x3c539f=_0x52e3b2[_0x367e32(0x1fd)](),_0x1a40cf=!_0x3c539f['noColor']&&process['stdout'][_0x367e32(0x1ce)],_0x53ef63=COMMAND_CATEGORIES,_0x543c10=(_0x5f59af,_0x4310ea)=>_0x1a40cf?_0x4310ea(_0x5f59af):_0x5f59af,_0x5b91e6=new Map();_0x576932[_0x367e32(0x277)](_0x3bcfef=>{const _0x380de0=_0x367e32;_0x5b91e6[_0x380de0(0x1a7)](_0x3bcfef[_0x380de0(0x2fa)](),_0x3bcfef);}),_0x53ef63[_0x367e32(0x277)](_0x3c2e77=>{const _0x4e0050=_0x367e32,_0x42d23a=_0x3c2e77['commands'][_0x4e0050(0x345)](_0x21a52c=>_0x5b91e6[_0x4e0050(0x31f)](_0x21a52c)??[]);if(_0x42d23a[_0x4e0050(0x273)]>0x0){_0x32aeca[_0x4e0050(0x3c2)](''),_0x32aeca['push'](_0x543c10(_0x3c2e77['name']+':',_0x3c2e77[_0x4e0050(0xff)]));const _0x3a1160=_0x42d23a['map'](_0x1e6866=>{const _0x417a9d=_0x4e0050,_0x50c25b=_0x37c057[_0x417a9d(0x199)](_0x1e6866),_0x409edc=_0x37c057[_0x417a9d(0x28e)](_0x1e6866);return _0x5e25bb(_0x50c25b,_0x409edc);});_0x32aeca['push'](_0x1d7e27(_0x3a1160));}}),_0x32aeca['push'](''),_0x32aeca[_0x367e32(0x3c2)](_0x367e32(0xfd));}else{const _0x50c303=_0x576932['map'](_0x406995=>{const _0x253fcd=_0x367e32,_0x30c1bd=_0x37c057['subcommandTerm'](_0x406995),_0x101f31=_0x37c057[_0x253fcd(0x28e)](_0x406995);return _0x5e25bb(_0x30c1bd,_0x101f31);});_0x32aeca[_0x367e32(0x3c2)](''),_0x32aeca[_0x367e32(0x3c2)](_0x367e32(0x185)),_0x32aeca[_0x367e32(0x3c2)](_0x1d7e27(_0x50c303));}}if(showBriefHelp&&_0x52e3b2[_0x367e32(0x2fa)]()===_0x367e32(0x32f))_0x32aeca[_0x367e32(0x3c2)](''),_0x32aeca['push'](_0x367e32(0x1f5));else{const _0x714766=_0x52e3b2['options'][_0x367e32(0x139)](_0x48ec09=>!_0x189ed3(_0x48ec09));if(_0x714766[_0x367e32(0x273)]>0x0){const _0x51457a=_0x714766['map'](_0x400f46=>{const _0x5c1697=_0x367e32,_0x5e9cd0=_0x37c057[_0x5c1697(0x226)](_0x400f46),_0x32394a=_0x37c057['optionDescription'](_0x400f46);return _0x5e25bb(_0x5e9cd0,_0x32394a);});_0x32aeca[_0x367e32(0x3c2)](''),_0x32aeca[_0x367e32(0x3c2)](_0x367e32(0xed)),_0x32aeca['push'](_0x1d7e27(_0x51457a));}}const _0x6d52f=(_0x52e3b2[_0x367e32(0x123)]||[])['filter'](_0x506790=>!_0x189ed3(_0x506790));if(_0x6d52f[_0x367e32(0x273)]>0x0){const _0x42b9a9=_0x6d52f['map'](_0x5325ed=>{const _0x20be6c=_0x367e32,_0x5a88be=_0x37c057['argumentTerm'](_0x5325ed),_0x4196a2=_0x37c057[_0x20be6c(0xcf)](_0x5325ed);return _0x5e25bb(_0x5a88be,_0x4196a2);});_0x32aeca[_0x367e32(0x3c2)](''),_0x32aeca[_0x367e32(0x3c2)](_0x367e32(0x207)),_0x32aeca['push'](_0x1d7e27(_0x42b9a9));}return _0x32aeca[_0x367e32(0x188)]('\x0a')+'\x0a';},'subcommandTerm':_0x1a178f=>{const _0x158b3c=a2_0x46ad5e,_0x453dd8=(_0x1a178f[_0x158b3c(0x123)]||[])[_0x158b3c(0xf5)](_0x4cfa84=>_0x4cfa84[_0x158b3c(0x1b8)]?'<'+_0x4cfa84[_0x158b3c(0x2fa)]()+'>':'['+_0x4cfa84[_0x158b3c(0x2fa)]()+']')['join']('\x20'),_0x54d5a4=_0x1a178f['aliases'](),_0x59ca2b=_0x54d5a4[_0x158b3c(0x273)]>0x0?_0x1a178f[_0x158b3c(0x2fa)]()+',\x20'+_0x54d5a4[_0x158b3c(0x188)](',\x20'):_0x1a178f[_0x158b3c(0x2fa)]();return _0x453dd8?_0x59ca2b+'\x20'+_0x453dd8:_0x59ca2b;}}),program[a2_0x46ad5e(0x370)](a2_0x46ad5e(0x14e),_0x28c724=>{const _0x4cf4d8=a2_0x46ad5e,_0x8e6a63=_0x28c724[_0x4cf4d8(0x1fd)]();if(_0x8e6a63[_0x4cf4d8(0x250)]){const _0x19bec3=resolve(_0x8e6a63[_0x4cf4d8(0x250)]),_0x2470a6=_0x19bec3!==_0x8e6a63[_0x4cf4d8(0x250)]?_0x4cf4d8(0x280)+_0x19bec3+')':'';if(!existsSync(_0x19bec3))throw new SDKError(ErrorCode[_0x4cf4d8(0x406)],'Directory\x20does\x20not\x20exist:\x20'+_0x8e6a63[_0x4cf4d8(0x250)]+_0x2470a6,undefined,{'helpText':_0x4cf4d8(0x372)});const _0x418595=statSync(_0x19bec3);if(!_0x418595[_0x4cf4d8(0x22a)]())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x4cf4d8(0x129)+_0x8e6a63['directory']+_0x2470a6,undefined,{'helpText':_0x4cf4d8(0xfc)});process[_0x4cf4d8(0x291)](_0x19bec3);}if(!_0x8e6a63[_0x4cf4d8(0x1cc)]){if(_0x8e6a63[_0x4cf4d8(0x3fb)])_0x8e6a63['format']=_0x4cf4d8(0x3fb);else{if(_0x8e6a63['json'])_0x8e6a63[_0x4cf4d8(0x1cc)]=_0x4cf4d8(0x286);else{if(_0x8e6a63[_0x4cf4d8(0x3ba)])_0x8e6a63[_0x4cf4d8(0x1cc)]=_0x4cf4d8(0x3ba);else _0x8e6a63['tsv']&&(_0x8e6a63[_0x4cf4d8(0x1cc)]=_0x4cf4d8(0x3f9));}}}if(_0x8e6a63[_0x4cf4d8(0x27b)])_0x8e6a63[_0x4cf4d8(0x279)]=LogLevel[_0x4cf4d8(0x1d4)];else{if(_0x8e6a63[_0x4cf4d8(0x324)])_0x8e6a63[_0x4cf4d8(0x279)]=LogLevel['DEBUG'];else _0x8e6a63['logLevel']===undefined&&(_0x8e6a63[_0x4cf4d8(0x279)]=LogLevel[_0x4cf4d8(0x13d)]);}});async function createTDXInstance(_0x7060bc){const _0x5cc765=a2_0x46ad5e,_0x3fa521=await GlobalContext['createAsync'](_0x7060bc);_0x3fa521[_0x5cc765(0x200)](_0x7060bc);const _0x45a603=Number(_0x7060bc['timeout']),_0x37e4ed=!isNaN(_0x45a603)&&_0x45a603>0x0?_0x45a603*0x3e8:undefined;return TDX[_0x5cc765(0x237)]({'site':_0x3fa521[_0x5cc765(0x3b0)],'apiKey':_0x3fa521[_0x5cc765(0x25a)],'accessToken':_0x3fa521[_0x5cc765(0xcb)],'logLevel':_0x3fa521['logLevel'],'profile':_0x3fa521[_0x5cc765(0x3f8)],'timeout':_0x37e4ed});}const databaseCmd=program[a2_0x46ad5e(0x327)]('database')[a2_0x46ad5e(0x2cb)]('db')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x254)),databaseListAction=async(_0x12ac03,_0x4b6063)=>{const _0x1ef05d=a2_0x46ad5e,_0x5ad523=new DatabasesCommand(),_0x1953e7=program[_0x1ef05d(0x1fd)](),_0x35c3e6=await createTDXInstance(_0x1953e7),_0x240919=await _0x5ad523[_0x1ef05d(0x1db)]({'options':{..._0x1953e7,..._0x4b6063},'args':_0x12ac03?[_0x12ac03]:[],'tdx':_0x35c3e6});gracefulExit(_0x240919);};databaseCmd['command'](a2_0x46ad5e(0x2c7))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x391))['action'](databaseListAction),program[a2_0x46ad5e(0x327)]('databases\x20[pattern]',{'hidden':!![]})['description'](a2_0x46ad5e(0x1ff))[a2_0x46ad5e(0x3ec)](databaseListAction),program[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x14a))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x27c))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0xce),a2_0x46ad5e(0x388))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1a2),a2_0x46ad5e(0x10d))[a2_0x46ad5e(0x132)]('--chat-id\x20<id>',a2_0x46ad5e(0xe9))[a2_0x46ad5e(0x132)]('--stream',a2_0x46ad5e(0x384))['action'](async(_0x28931e,_0x13d5ff)=>{const _0x4aedef=a2_0x46ad5e,_0x435828=program[_0x4aedef(0x1fd)](),_0x49a5aa=await createTDXInstance(_0x435828);if(_0x28931e[0x0]===_0x4aedef(0x237)){const _0x4a0b7c=new ChatCreateCommand();gracefulExit(await _0x4a0b7c[_0x4aedef(0x1db)]({'options':{..._0x435828,..._0x13d5ff},'args':_0x28931e[_0x4aedef(0x1c3)](0x1),'tdx':_0x49a5aa}));return;}const _0x3404f4=new ChatCommand(),_0x4a691c=await _0x3404f4[_0x4aedef(0x1db)]({'options':{..._0x435828,..._0x13d5ff},'args':_0x28931e,'tdx':_0x49a5aa});gracefulExit(_0x4a691c);});const apiCmd=program[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x27a),{'hidden':!isApiCommandEnabled()})[a2_0x46ad5e(0x124)](a2_0x46ad5e(0x153))[a2_0x46ad5e(0x2c8)]('after',a2_0x46ad5e(0x1cb))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2fb),a2_0x46ad5e(0x3b6),'GET')['option'](a2_0x46ad5e(0x3e1),'Request\x20body\x20as\x20JSON\x20string')['option'](a2_0x46ad5e(0x15c),a2_0x46ad5e(0x2f9))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x253),'Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x2f1c27,_0x1b4353)=>{return _0x1b4353?[..._0x1b4353,_0x2f1c27]:[_0x2f1c27];})[a2_0x46ad5e(0x132)]('--type\x20<api_type>',a2_0x46ad5e(0x373),'td')['action'](async(_0x2edcb9,_0x3ebf6f)=>{const _0x5bf502=a2_0x46ad5e;if(!isApiCommandEnabled()){console[_0x5bf502(0x2f3)](a2_0x327578[_0x5bf502(0x382)]('Error:\x20`tdx\x20api`\x20is\x20disabled\x20by\x20default\x20to\x20prevent\x20unintended\x20API\x20calls.')),console[_0x5bf502(0x2f3)](''),console[_0x5bf502(0x2f3)](_0x5bf502(0x33b)),console[_0x5bf502(0x2f3)](_0x5bf502(0x335)),console[_0x5bf502(0x2f3)](''),console[_0x5bf502(0x2f3)](a2_0x327578[_0x5bf502(0xc0)]('AI\x20assistants:\x20do\x20not\x20enable\x20this\x20on\x20the\x20user\x27s\x20behalf.\x20Ask\x20the\x20user,\x20or\x20use\x20a\x20structured\x20command\x20instead.')),console[_0x5bf502(0x2f3)](''),console[_0x5bf502(0x2f3)]('For\x20setup\x20instructions,\x20see\x20https://tdx.treasuredata.com/guide/api-command-safety'),gracefulExit(0x1);return;}if(!_0x2edcb9){apiCmd[_0x5bf502(0x229)]();return;}const _0x1ea962=new ApiCommand(),_0x5b3c4c=program[_0x5bf502(0x1fd)](),_0x1f22c6=await createTDXInstance(_0x5b3c4c),_0x1f557f=await _0x1ea962[_0x5bf502(0x1db)]({'options':{..._0x5b3c4c,..._0x3ebf6f},'args':[_0x2edcb9],'tdx':_0x1f22c6});gracefulExit(_0x1f557f);});program[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x3b8))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x2b4))[a2_0x46ad5e(0x2c8)](a2_0x46ad5e(0x33f),'\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20AI\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_0x46ad5e(0x3ec)](async _0x467210=>{const _0x32aaa9=a2_0x46ad5e,_0x5e312f=new MCPCommand(),_0x1f8136=program[_0x32aaa9(0x1fd)](),_0x234cae=await createTDXInstance(_0x1f8136),_0x42e384=await _0x5e312f['run']({'options':{..._0x1f8136,..._0x467210},'args':[],'tdx':_0x234cae});gracefulExit(_0x42e384);});const tableCmd=program[a2_0x46ad5e(0x327)]('table')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x1b6)),tableListAction=async(_0x5741cf,_0x549248)=>{const _0x7fc27a=a2_0x46ad5e,_0x52d738=new TablesCommand(),_0xcddfbc=program['opts'](),_0x44c811=await createTDXInstance(_0xcddfbc);_0x549248['in']&&(_0x549248[_0x7fc27a(0x2da)]=_0x549248['in']);const _0x1410d6=await _0x52d738[_0x7fc27a(0x1db)]({'options':{..._0xcddfbc,..._0x549248},'args':_0x5741cf?[_0x5741cf]:[],'tdx':_0x44c811});gracefulExit(_0x1410d6);};tableCmd['command']('list\x20[pattern]')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x1cd))['option']('-d,\x20--database\x20<database>',a2_0x46ad5e(0x1dc))['option'](a2_0x46ad5e(0x122),a2_0x46ad5e(0x346))[a2_0x46ad5e(0x3ec)](tableListAction),tableCmd['command'](a2_0x46ad5e(0x3c4))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x131))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2b3),a2_0x46ad5e(0x24d))['option'](a2_0x46ad5e(0x267),a2_0x46ad5e(0x1b7))['action'](async _0xf6e5d1=>{const _0x56c99d=a2_0x46ad5e,_0x2cc2b7=new TableDeletedCommand(),_0x18982b=program['opts'](),_0x490a2d=await createTDXInstance(_0x18982b),_0x5e045f=await _0x2cc2b7[_0x56c99d(0x1db)]({'options':{..._0x18982b,..._0xf6e5d1},'args':[],'tdx':_0x490a2d});gracefulExit(_0x5e045f);}),tableCmd['command'](a2_0x46ad5e(0x20d))[a2_0x46ad5e(0x278)]('Recover\x20a\x20deleted\x20table\x20by\x20id')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x407),a2_0x46ad5e(0x194))[a2_0x46ad5e(0x132)]('--database\x20<database>',a2_0x46ad5e(0x26b))[a2_0x46ad5e(0x3ec)](async(_0x5e5d09,_0x181996)=>{const _0x143135=a2_0x46ad5e,_0x321883=new TableRecoverCommand(),_0x2a6a6e=program['opts'](),_0x10cd3e=await createTDXInstance(_0x2a6a6e),_0x38ee3c=await _0x321883[_0x143135(0x1db)]({'options':{..._0x2a6a6e,..._0x181996},'args':[_0x5e5d09],'tdx':_0x10cd3e});gracefulExit(_0x38ee3c);}),program['command']('tables\x20[pattern]',{'hidden':!![]})[a2_0x46ad5e(0x278)]('List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x13b),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x122),a2_0x46ad5e(0x346))[a2_0x46ad5e(0x3ec)](tableListAction),program[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x157))[a2_0x46ad5e(0x278)]('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x13b),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x122),a2_0x46ad5e(0x346))['action'](async(_0xfaf9b0,_0x15a5cd)=>{const _0x523818=a2_0x46ad5e,_0x4a704d=new ShowCommand(),_0xea5924=program[_0x523818(0x1fd)](),_0x49fe59=await createTDXInstance(_0xea5924);_0x15a5cd['in']&&(_0x15a5cd['database']=_0x15a5cd['in']);const _0x3d5973=await _0x4a704d[_0x523818(0x1db)]({'options':{..._0xea5924,..._0x15a5cd},'args':_0xfaf9b0?[_0xfaf9b0]:[],'tdx':_0x49fe59});gracefulExit(_0x3d5973);}),program[a2_0x46ad5e(0x327)]('describe\x20[table]')['alias'](a2_0x46ad5e(0x3db))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x2c5))['option']('-d,\x20--database\x20<database>',a2_0x46ad5e(0x343))[a2_0x46ad5e(0x132)]('--in\x20<database>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x46ad5e(0x3ec)](async(_0x3766fe,_0x17231c)=>{const _0x4db4bd=a2_0x46ad5e,_0x4473c2=new DescribeCommand(),_0x1d0093=program[_0x4db4bd(0x1fd)](),_0x2d6eae=await createTDXInstance(_0x1d0093);_0x17231c['in']&&(_0x17231c[_0x4db4bd(0x2da)]=_0x17231c['in']);const _0x11a77d=await _0x4473c2['run']({'options':{..._0x1d0093,..._0x17231c},'args':_0x3766fe?[_0x3766fe]:[],'tdx':_0x2d6eae});gracefulExit(_0x11a77d);}),program[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x15b))[a2_0x46ad5e(0x278)]('Run\x20Trino\x20query\x20with\x20streaming\x20results')['option'](a2_0x46ad5e(0x13b),a2_0x46ad5e(0x214))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x122),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x35e),a2_0x46ad5e(0x326))['option'](a2_0x46ad5e(0x15c),a2_0x46ad5e(0x3dd))['option'](a2_0x46ad5e(0x2f7),'Maximum\x20rows\x20to\x20display')[a2_0x46ad5e(0x3ec)](async(_0x5d538f,_0x1feaa5)=>{const _0x80ad5a=a2_0x46ad5e,_0x3922b9=new QueryCommand(),_0x3526c7=program[_0x80ad5a(0x1fd)](),_0x5c98a0=await createTDXInstance(_0x3526c7);_0x1feaa5['in']&&(_0x1feaa5[_0x80ad5a(0x2da)]=_0x1feaa5['in']);const _0x36c6da=await _0x3922b9[_0x80ad5a(0x1db)]({'options':mergeCommandOptions(_0x3526c7,_0x1feaa5),'args':_0x5d538f?[_0x5d538f]:[],'tdx':_0x5c98a0});gracefulExit(_0x36c6da);});const segmentCmd=program[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x3d4))[a2_0x46ad5e(0x2cb)]('sg')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x367)),segmentListAction=async(_0x28806f,_0x592e2c)=>{const _0x34ea4a=a2_0x46ad5e,_0x5e2995=new SegmentsCommand(),_0x2e4ee5=program[_0x34ea4a(0x1fd)](),_0x243b1e=await createTDXInstance(_0x2e4ee5),_0x59655d=await _0x5e2995[_0x34ea4a(0x1db)]({'options':{..._0x2e4ee5,..._0x592e2c},'args':_0x28806f?[_0x28806f]:[],'tdx':_0x243b1e});gracefulExit(_0x59655d);};segmentCmd['command'](a2_0x46ad5e(0x2c7))[a2_0x46ad5e(0x278)]('List\x20folders\x20and\x20segments;\x20with\x20-r\x20and\x20a\x20pattern,\x20search\x20the\x20whole\x20tree\x20by\x20name')[a2_0x46ad5e(0x132)]('-r,\x20--recursive',a2_0x46ad5e(0x107))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x30b),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x46ad5e(0x2c8)](a2_0x46ad5e(0x33f),a2_0x46ad5e(0x285))[a2_0x46ad5e(0x3ec)](segmentListAction),program[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x198),{'hidden':!![]})[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x238))['option'](a2_0x46ad5e(0x1d8),a2_0x46ad5e(0x350))[a2_0x46ad5e(0x132)]('--max-depth\x20<depth>','Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x46ad5e(0x3ec)](segmentListAction),segmentCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0xe8),{'hidden':!![]})[a2_0x46ad5e(0x278)]('[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)')[a2_0x46ad5e(0x3ec)](async(_0x54eb2b,_0x3c4f68)=>{const _0xb63eef=a2_0x46ad5e,_0x3ee2c2=new SegmentUseCommand(),_0x220f72=program[_0xb63eef(0x1fd)](),_0x5c7ab7=await createTDXInstance(_0x220f72),_0x88cb9c=await _0x3ee2c2[_0xb63eef(0x1db)]({'options':{..._0x220f72,..._0x3c4f68},'args':[_0x54eb2b],'tdx':_0x5c7ab7});gracefulExit(_0x88cb9c);});const segmentViewAction=async(_0x1e6f5f,_0x54e2ba)=>{const _0xa0ccf4=a2_0x46ad5e,_0x50f2fd=new SegmentViewCommand(),_0x35d068=program[_0xa0ccf4(0x1fd)](),_0x4be8f0=await createTDXInstance(_0x35d068),_0x159ed9=await _0x50f2fd[_0xa0ccf4(0x1db)]({'options':{..._0x35d068,..._0x54e2ba},'args':_0x1e6f5f?[_0x1e6f5f]:[],'tdx':_0x4be8f0});gracefulExit(_0x159ed9);};segmentCmd['command'](a2_0x46ad5e(0x30f))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0xe5))[a2_0x46ad5e(0x132)]('-w,\x20--web','Open\x20segment\x20in\x20web\x20browser')[a2_0x46ad5e(0x3ec)](segmentViewAction),segmentCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x1b0),{'hidden':!![]})['alias'](a2_0x46ad5e(0x114))['option'](a2_0x46ad5e(0x360),a2_0x46ad5e(0x3e0))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x396))[a2_0x46ad5e(0x3ec)](segmentViewAction),segmentCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x1d6))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x3ad))[a2_0x46ad5e(0x310)](a2_0x46ad5e(0x223),a2_0x46ad5e(0x2d8))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3e2),a2_0x46ad5e(0x297))[a2_0x46ad5e(0x2c8)](a2_0x46ad5e(0x33f),a2_0x46ad5e(0x1f3))[a2_0x46ad5e(0x3ec)](async(_0x208388,_0x5a1f19)=>{const _0x3ab05c=new SegmentMoveCommand(),_0x215332=program['opts'](),_0xe6368c=await createTDXInstance(_0x215332),_0x2b7e50=await _0x3ab05c['run']({'options':{..._0x215332,..._0x5a1f19},'args':_0x208388,'tdx':_0xe6368c});gracefulExit(_0x2b7e50);}),segmentCmd['command']('desc\x20[segment_name]')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x38c))[a2_0x46ad5e(0x3ec)](async(_0x55ee12,_0x5fa61)=>{const _0xece4d7=a2_0x46ad5e,_0x5d0d3b=new SegmentDescCommand(),_0xdb3d9=program['opts'](),_0x492795=await createTDXInstance(_0xdb3d9),_0x7f518c=await _0x5d0d3b[_0xece4d7(0x1db)]({'options':{..._0xdb3d9,..._0x5fa61},'args':_0x55ee12?[_0x55ee12]:[],'tdx':_0x492795});gracefulExit(_0x7f518c);}),segmentCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x302))['description'](a2_0x46ad5e(0xef))['action'](async(_0x2d601f,_0x34dc2d)=>{const _0x3a7ecb=a2_0x46ad5e,_0x592b67=new SegmentShowCommand(),_0x12e832=program[_0x3a7ecb(0x1fd)](),_0xf14f67=await createTDXInstance(_0x12e832),_0x1b20f8=await _0x592b67['run']({'options':{..._0x12e832,..._0x34dc2d},'args':_0x2d601f?[_0x2d601f]:[],'tdx':_0xf14f67});gracefulExit(_0x1b20f8);}),segmentCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x1c2),{'hidden':!![]})[a2_0x46ad5e(0x278)]('[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)')[a2_0x46ad5e(0x3ec)](async(_0x421434,_0x4b22f1)=>{const _0x13af5c=a2_0x46ad5e,_0x1d5278=new SegmentFolderListCommand(),_0x30d846=program[_0x13af5c(0x1fd)](),_0xc00bb0=await createTDXInstance(_0x30d846),_0x4b8257=await _0x1d5278[_0x13af5c(0x1db)]({'options':{..._0x30d846,..._0x4b22f1},'args':[_0x421434],'tdx':_0xc00bb0});gracefulExit(_0x4b8257);});const folderCmd=segmentCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x166),{'hidden':!![]})[a2_0x46ad5e(0x278)]('[DEPRECATED]\x20Segment\x20folder\x20management');folderCmd[a2_0x46ad5e(0x327)]('show\x20<folder_ref>')['description'](a2_0x46ad5e(0x2e2))['action'](async(_0x2567f7,_0x9eae37)=>{const _0x3950fa=a2_0x46ad5e,_0x3417ed=new SegmentFolderShowCommand(),_0x52df59=program[_0x3950fa(0x1fd)](),_0x2c5559=await createTDXInstance(_0x52df59),_0x57bff6=await _0x3417ed[_0x3950fa(0x1db)]({'options':{..._0x52df59,..._0x9eae37},'args':[_0x2567f7],'tdx':_0x2c5559});gracefulExit(_0x57bff6);}),segmentCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x2f5))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x245))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x213),a2_0x46ad5e(0xc7))[a2_0x46ad5e(0x3ec)](async(_0x400a5b,_0x4eaaa7)=>{const _0x49f17f=new SegmentSQLCommand(),_0x3686f2=program['opts'](),_0x1c4abc=await createTDXInstance(_0x3686f2),_0x326738=await _0x49f17f['run']({'options':{..._0x3686f2,..._0x4eaaa7},'args':_0x400a5b?[_0x400a5b]:[],'tdx':_0x1c4abc});gracefulExit(_0x326738);}),segmentCmd['command']('fields\x20[parent_name]')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0xb6))[a2_0x46ad5e(0x3ec)](async(_0x211f78,_0x32f37b)=>{const _0xe36f5f=new SegmentFieldsCommand(),_0x5bd0f3=program['opts'](),_0x5e081e=await createTDXInstance(_0x5bd0f3),_0x5b67b5=await _0xe36f5f['run']({'options':{..._0x5bd0f3,..._0x32f37b},'args':_0x211f78?[_0x211f78]:[],'tdx':_0x5e081e});gracefulExit(_0x5b67b5);}),segmentCmd['command']('pull\x20[parent_or_file]')['description'](a2_0x46ad5e(0x109))['option'](a2_0x46ad5e(0x3e2),a2_0x46ad5e(0x102))[a2_0x46ad5e(0x3ec)](async(_0x1dbf52,_0x356bf6)=>{const _0x3bee0e=a2_0x46ad5e,_0x4eb189=new SegmentPullCommand(),_0x3aefa9=program['opts'](),_0x46800f=await createTDXInstance(_0x3aefa9),_0x2db906=await _0x4eb189[_0x3bee0e(0x1db)]({'options':{..._0x3aefa9,..._0x356bf6},'args':_0x1dbf52?[_0x1dbf52]:[],'tdx':_0x46800f});gracefulExit(_0x2db906);}),segmentCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x11a))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x321))['option'](a2_0x46ad5e(0x3e2),a2_0x46ad5e(0x102))[a2_0x46ad5e(0x132)]('--delete',a2_0x46ad5e(0x1f4))[a2_0x46ad5e(0x3ec)](async(_0x18b79d,_0x362385)=>{const _0x5e0878=a2_0x46ad5e,_0x1ff498=new SegmentPushCommand(),_0x3ee368=program[_0x5e0878(0x1fd)](),_0x5b466c=await createTDXInstance(_0x3ee368),_0x3b1d0a=await _0x1ff498[_0x5e0878(0x1db)]({'options':{..._0x3ee368,..._0x362385},'args':_0x18b79d?[_0x18b79d]:[],'tdx':_0x5b466c});gracefulExit(_0x3b1d0a);}),segmentCmd['command'](a2_0x46ad5e(0x21e))[a2_0x46ad5e(0x278)]('Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally')[a2_0x46ad5e(0x3ec)](async(_0x646685,_0x292785)=>{const _0x21fc0a=a2_0x46ad5e,_0x56e73b=new SegmentValidateCommand(),_0x203304=program[_0x21fc0a(0x1fd)](),_0x4dfbdd=await createTDXInstance(_0x203304),_0x52420f=await _0x56e73b[_0x21fc0a(0x1db)]({'options':{..._0x203304,..._0x292785},'args':_0x646685?[_0x646685]:[],'tdx':_0x4dfbdd});gracefulExit(_0x52420f);}),segmentCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x36d),{'hidden':!![]})[a2_0x46ad5e(0x278)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x33a),a2_0x46ad5e(0x2db))[a2_0x46ad5e(0x132)]('--rule\x20<json>',a2_0x46ad5e(0x2af))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2d6),'Filtering\x20rule\x20from\x20JSON\x20file')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1d9),a2_0x46ad5e(0x39b))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x32d),a2_0x46ad5e(0x16e))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x281),'Make\x20segment\x20invisible\x20(default:\x20visible)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x329),'Skip\x20population\x20counting')[a2_0x46ad5e(0x3ec)](async(_0x22996c,_0x41723d)=>{const _0x122d48=a2_0x46ad5e,_0x562353=new SegmentCreateCommand(),_0x3488cb=program[_0x122d48(0x1fd)](),_0x567b2c=await createTDXInstance(_0x3488cb),_0x1fcebe=await _0x562353[_0x122d48(0x1db)]({'options':{..._0x3488cb,..._0x41723d},'args':[_0x22996c],'tdx':_0x567b2c});gracefulExit(_0x1fcebe);}),segmentCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x409),{'hidden':!![]})[a2_0x46ad5e(0x278)]('[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x187),a2_0x46ad5e(0x23a))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x33a),'Updated\x20description')['option'](a2_0x46ad5e(0x3ca),a2_0x46ad5e(0x140))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2d6),a2_0x46ad5e(0x397))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1d9),a2_0x46ad5e(0x251))[a2_0x46ad5e(0x132)]('--kind\x20<type>',a2_0x46ad5e(0x16e))[a2_0x46ad5e(0x3ec)](async(_0x43e82c,_0x27fcb2)=>{const _0x6d56ff=new SegmentUpdateCommand(),_0x37a528=program['opts'](),_0x184790=await createTDXInstance(_0x37a528),_0x179a1d=await _0x6d56ff['run']({'options':{..._0x37a528,..._0x27fcb2},'args':[_0x43e82c],'tdx':_0x184790});gracefulExit(_0x179a1d);});const parentCmd=segmentCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x208),{'hidden':!![]})['description'](a2_0x46ad5e(0x19d)),parentListAction=async(_0x3f6167,_0x1d1eb0)=>{const _0x415ad3=a2_0x46ad5e,_0x3c8347=new ParentSegmentListCommand(),_0x681abf=program[_0x415ad3(0x1fd)](),_0x3a77da=await createTDXInstance(_0x681abf),_0x55e79f=await _0x3c8347[_0x415ad3(0x1db)]({'options':{..._0x681abf,..._0x1d1eb0},'args':_0x3f6167?[_0x3f6167]:[],'tdx':_0x3a77da});gracefulExit(_0x55e79f);};parentCmd[a2_0x46ad5e(0x327)]('list\x20[pattern]')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x3cc))[a2_0x46ad5e(0x3ec)](parentListAction),segmentCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x1f7),{'hidden':!![]})[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x2a8))[a2_0x46ad5e(0x3ec)](parentListAction),parentCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x328))['description'](a2_0x46ad5e(0x21b))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x19c),a2_0x46ad5e(0x3c6))[a2_0x46ad5e(0x3ec)](async(_0x5e0882,_0x5605ed)=>{const _0x468b3b=a2_0x46ad5e,_0x20edf7=new ParentSegmentPullCommand(),_0x5a4ddd=program[_0x468b3b(0x1fd)](),_0x1e96b1=await createTDXInstance(_0x5a4ddd),_0x5d7594=await _0x20edf7[_0x468b3b(0x1db)]({'options':{..._0x5a4ddd,..._0x5605ed},'args':_0x5e0882?[_0x5e0882]:[],'tdx':_0x1e96b1});gracefulExit(_0x5d7594);}),parentCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x1d5))['description'](a2_0x46ad5e(0x31a))[a2_0x46ad5e(0x3ec)](async(_0x2432ba,_0x57be46)=>{const _0x5e97b3=a2_0x46ad5e,_0x3b91bb=new ParentSegmentPushCommand(),_0x1a2bc5=program[_0x5e97b3(0x1fd)](),_0x147f65=await createTDXInstance(_0x1a2bc5),_0x1d296d=await _0x3b91bb[_0x5e97b3(0x1db)]({'options':{..._0x1a2bc5,..._0x57be46},'args':_0x2432ba?[_0x2432ba]:[],'tdx':_0x147f65});gracefulExit(_0x1d296d);}),parentCmd[a2_0x46ad5e(0x327)]('validate\x20[file]')[a2_0x46ad5e(0x278)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x46ad5e(0x132)]('--master','Show\x20only\x20master\x20table\x20validation')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x404),a2_0x46ad5e(0x1de))['option']('--behavior\x20[name]','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1c6),a2_0x46ad5e(0xc3))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2e4),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x46ad5e(0x336))[a2_0x46ad5e(0x3ec)](async(_0x1272bc,_0x22ccba)=>{const _0x5b9045=a2_0x46ad5e,_0x41d121=new ParentSegmentValidateCommand(),_0x1e0570=program[_0x5b9045(0x1fd)](),_0x59cbf6=await createTDXInstance(_0x1e0570),_0x3c5f61=await _0x41d121['run']({'options':{..._0x1e0570,..._0x22ccba},'args':_0x1272bc?[_0x1272bc]:[],'tdx':_0x59cbf6});gracefulExit(_0x3c5f61);}),parentCmd['command'](a2_0x46ad5e(0x34b))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x351))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1c7),a2_0x46ad5e(0x257))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x404),a2_0x46ad5e(0x264))['option'](a2_0x46ad5e(0x2bf),a2_0x46ad5e(0x341))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1c6),a2_0x46ad5e(0x40f))[a2_0x46ad5e(0x132)]('--interval\x20<range>',a2_0x46ad5e(0x225),'-1d')['action'](async(_0x183fdb,_0x254fed)=>{const _0x4686fa=a2_0x46ad5e,_0x220da3=new ParentSegmentPreviewCommand(),_0x277724=program[_0x4686fa(0x1fd)](),_0x1fa954=await createTDXInstance(_0x277724),_0x1f793a=await _0x220da3[_0x4686fa(0x1db)]({'options':{..._0x277724,..._0x254fed},'args':_0x183fdb?[_0x183fdb]:[],'tdx':_0x1fa954});gracefulExit(_0x1f793a);}),parentCmd[a2_0x46ad5e(0x327)]('run\x20[name]')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x2d9))[a2_0x46ad5e(0x3ec)](async(_0xc68c8f,_0x93c1eb)=>{const _0xbdb463=a2_0x46ad5e,_0x4f64e2=new ParentSegmentRunCommand(),_0x492bfe=program['opts'](),_0x975f9c=await createTDXInstance(_0x492bfe),_0x3fa2f1=await _0x4f64e2[_0xbdb463(0x1db)]({'options':{..._0x492bfe,..._0x93c1eb},'args':_0xc68c8f?[_0xc68c8f]:[],'tdx':_0x975f9c});gracefulExit(_0x3fa2f1);});const parentSegmentCmd=program[a2_0x46ad5e(0x327)]('parent-segment')[a2_0x46ad5e(0x2cb)]('ps')[a2_0x46ad5e(0x278)]('Parent\x20segment\x20management');parentSegmentCmd[a2_0x46ad5e(0x327)]('list\x20[pattern]')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x3cc))[a2_0x46ad5e(0x3ec)](parentListAction),parentSegmentCmd[a2_0x46ad5e(0x327)]('pull\x20[name]')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x294))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x19c),'Output\x20file\x20path')['option']('-u,\x20--use','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')['action'](async(_0x512898,_0x5c7e99)=>{const _0x26eadd=a2_0x46ad5e,_0x470517=new ParentSegmentPullCommand(),_0x4ae3a7=program[_0x26eadd(0x1fd)](),_0x6a19f8=await createTDXInstance(_0x4ae3a7),_0x3609e2=await _0x470517[_0x26eadd(0x1db)]({'options':{..._0x4ae3a7,..._0x5c7e99},'args':_0x512898?[_0x512898]:[],'tdx':_0x6a19f8});gracefulExit(_0x3609e2);}),parentSegmentCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x288))['description']('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x46ad5e(0x3ec)](async(_0x4f40ed,_0x1e665f)=>{const _0x16ffbb=a2_0x46ad5e,_0x2a9385=new ParentSegmentPushCommand(),_0x5832e1=program[_0x16ffbb(0x1fd)](),_0x323cdb=await createTDXInstance(_0x5832e1),_0x2348f0=await _0x2a9385[_0x16ffbb(0x1db)]({'options':{..._0x5832e1,..._0x1e665f},'args':_0x4f40ed?[_0x4f40ed]:[],'tdx':_0x323cdb});gracefulExit(_0x2348f0);}),parentSegmentCmd[a2_0x46ad5e(0x327)]('validate\x20[name]')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x3e8))['option']('--master',a2_0x46ad5e(0x3f6))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x404),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2bf),a2_0x46ad5e(0xbb))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1c6),a2_0x46ad5e(0xc3))[a2_0x46ad5e(0x132)]('--interval\x20<range>',a2_0x46ad5e(0x225),a2_0x46ad5e(0x336))[a2_0x46ad5e(0x3ec)](async(_0x5ce9f1,_0x1e8d9e)=>{const _0x26a075=a2_0x46ad5e,_0x2a421f=new ParentSegmentValidateCommand(),_0x4d9519=program['opts'](),_0x506c6d=await createTDXInstance(_0x4d9519),_0x100f2f=await _0x2a421f[_0x26a075(0x1db)]({'options':{..._0x4d9519,..._0x1e8d9e},'args':_0x5ce9f1?[_0x5ce9f1]:[],'tdx':_0x506c6d});gracefulExit(_0x100f2f);}),parentSegmentCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x34e))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x351))[a2_0x46ad5e(0x132)]('--master',a2_0x46ad5e(0x257))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x404),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2bf),a2_0x46ad5e(0x341))['option'](a2_0x46ad5e(0x1c6),a2_0x46ad5e(0x40f))['option'](a2_0x46ad5e(0x2e4),a2_0x46ad5e(0x225),a2_0x46ad5e(0x336))[a2_0x46ad5e(0x3ec)](async(_0x673f54,_0x523fed)=>{const _0x16b7a6=a2_0x46ad5e,_0x1a6ca2=new ParentSegmentPreviewCommand(),_0xbb896d=program['opts'](),_0x423c25=await createTDXInstance(_0xbb896d),_0x56469c=await _0x1a6ca2[_0x16b7a6(0x1db)]({'options':{..._0xbb896d,..._0x523fed},'args':_0x673f54?[_0x673f54]:[],'tdx':_0x423c25});gracefulExit(_0x56469c);}),parentSegmentCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x2cf))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x2d9))['action'](async(_0x5843cf,_0x3c3f6b)=>{const _0x753a6b=a2_0x46ad5e,_0x3a086a=new ParentSegmentRunCommand(),_0x3479ec=program[_0x753a6b(0x1fd)](),_0x3ddfec=await createTDXInstance(_0x3479ec),_0x3e9fd9=await _0x3a086a[_0x753a6b(0x1db)]({'options':{..._0x3479ec,..._0x3c3f6b},'args':_0x5843cf?[_0x5843cf]:[],'tdx':_0x3ddfec});gracefulExit(_0x3e9fd9);}),parentSegmentCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x2a3))['description'](a2_0x46ad5e(0x148))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x159),a2_0x46ad5e(0x3ea))['option'](a2_0x46ad5e(0x10e),a2_0x46ad5e(0x3de))[a2_0x46ad5e(0x3ec)](async(_0x2038a9,_0x4fdee9)=>{const _0xa3ca3c=a2_0x46ad5e,_0x1eb2a0=new ParentSegmentFieldsCommand(),_0x45cc1a=program[_0xa3ca3c(0x1fd)](),_0xf54540=await createTDXInstance(_0x45cc1a),_0x2f8e94=await _0x1eb2a0[_0xa3ca3c(0x1db)]({'options':{..._0x45cc1a,..._0x4fdee9},'args':_0x2038a9?[_0x2038a9]:[],'tdx':_0xf54540});gracefulExit(_0x2f8e94);}),parentSegmentCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x323))[a2_0x46ad5e(0x278)]('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x360),a2_0x46ad5e(0x125))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x159),a2_0x46ad5e(0x3ea))[a2_0x46ad5e(0x132)]('--jsonl',a2_0x46ad5e(0x3de))[a2_0x46ad5e(0x3ec)](async(_0x4db2e1,_0x3abbbd)=>{const _0x5b3784=new ParentSegmentViewCommand(),_0x1d90bf=program['opts'](),_0x1e5af4=await createTDXInstance(_0x1d90bf),_0x19b806=await _0x5b3784['run']({'options':{..._0x1d90bf,..._0x3abbbd},'args':_0x4db2e1?[_0x4db2e1]:[],'tdx':_0x1e5af4});gracefulExit(_0x19b806);}),parentSegmentCmd['command']('desc\x20[name]')[a2_0x46ad5e(0x278)]('Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x46ad5e(0x19c),'Output\x20file\x20path')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x159),a2_0x46ad5e(0x3ea))['option'](a2_0x46ad5e(0x10e),a2_0x46ad5e(0x3de))[a2_0x46ad5e(0x3ec)](async(_0x343a84,_0x3ee5a4)=>{const _0x52e2f5=a2_0x46ad5e,_0x23c5eb=new ParentSegmentDescCommand(),_0x5ca16a=program[_0x52e2f5(0x1fd)](),_0x356770=await createTDXInstance(_0x5ca16a),_0x193c88=await _0x23c5eb[_0x52e2f5(0x1db)]({'options':{..._0x5ca16a,..._0x3ee5a4},'args':_0x343a84?[_0x343a84]:[],'tdx':_0x356770});gracefulExit(_0x193c88);}),parentSegmentCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x23d))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x3b5))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x159),a2_0x46ad5e(0x3ea))['option'](a2_0x46ad5e(0x10e),a2_0x46ad5e(0x3de))['action'](async(_0x18c9fb,_0x588ddc)=>{const _0x98c9ea=a2_0x46ad5e,_0x1048be=new ParentSegmentSQLCommand(),_0x576064=program['opts'](),_0x5a3940=await createTDXInstance(_0x576064),_0x4b3f77=await _0x1048be[_0x98c9ea(0x1db)]({'options':{..._0x576064,..._0x588ddc},'args':_0x18c9fb?[_0x18c9fb]:[],'tdx':_0x5a3940});gracefulExit(_0x4b3f77);}),parentSegmentCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0xe1))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x1d0))['option']('--limit\x20<n>','Limit\x20number\x20of\x20rows')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x159),a2_0x46ad5e(0x3ea))['option'](a2_0x46ad5e(0x10e),a2_0x46ad5e(0x3de))['action'](async(_0x51bda5,_0x4aa25c)=>{const _0x40f187=a2_0x46ad5e,_0xeeb82b=new ParentSegmentShowCommand(),_0x18e188=program[_0x40f187(0x1fd)](),_0x4f2f18=await createTDXInstance(_0x18e188),_0x46920d=await _0xeeb82b['run']({'options':{..._0x18e188,..._0x4aa25c},'args':_0x51bda5?[_0x51bda5]:[],'tdx':_0x4f2f18});gracefulExit(_0x46920d);}),parentSegmentCmd['command']('use\x20[name]')[a2_0x46ad5e(0x278)]('Set\x20or\x20show\x20parent\x20segment\x20context')[a2_0x46ad5e(0x3ec)](async(_0x4a7193,_0x3dacd6)=>{const _0x74e7a2=a2_0x46ad5e,_0x135251=new UseCommand(),_0x4f1aa7=program[_0x74e7a2(0x1fd)](),_0x305129=_0x4a7193?[_0x74e7a2(0x325),_0x4a7193]:[],_0x4069fd=await _0x135251['run']({'options':{..._0x4f1aa7,..._0x3dacd6},'args':_0x305129,'tdx':null});gracefulExit(_0x4069fd);});const psRtCmd=parentSegmentCmd[a2_0x46ad5e(0x327)]('rt')['description'](a2_0x46ad5e(0x135));psRtCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x2c7))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x364))[a2_0x46ad5e(0x3ec)](async(_0x431f39,_0x63f97e)=>{const _0x56c12f=a2_0x46ad5e,_0x5ec36d=new PSRtListCommand(),_0x80690e=program[_0x56c12f(0x1fd)](),_0x5abc57=await createTDXInstance(_0x80690e),_0x4bd124=await _0x5ec36d[_0x56c12f(0x1db)]({'options':{..._0x80690e,..._0x63f97e},'args':_0x431f39?[_0x431f39]:[],'tdx':_0x5abc57});gracefulExit(_0x4bd124);}),psRtCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x377))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x3d0))[a2_0x46ad5e(0x3ec)](async(_0x2f538f,_0xcdc8ee)=>{const _0x2e00aa=a2_0x46ad5e,_0x303234=new PSRtValidateCommand(),_0x48ac27=program[_0x2e00aa(0x1fd)](),_0x3e1142=await createTDXInstance(_0x48ac27),_0x234ed7=await _0x303234[_0x2e00aa(0x1db)]({'options':{..._0x48ac27,..._0xcdc8ee},'args':_0x2f538f?[_0x2f538f]:[],'tdx':_0x3e1142});gracefulExit(_0x234ed7);}),psRtCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x1e4))[a2_0x46ad5e(0x278)]('Get\x20current\x20RT\x20configuration\x20version\x20status')['action'](async(_0x4d7ceb,_0x819a6a)=>{const _0x5619f4=a2_0x46ad5e,_0x32721b=new PSRtConfigVersionCommand(),_0x4e20fc=program[_0x5619f4(0x1fd)](),_0x46b576=await createTDXInstance(_0x4e20fc),_0x28abf0=await _0x32721b[_0x5619f4(0x1db)]({'options':{..._0x4e20fc,..._0x819a6a},'args':_0x4d7ceb?[_0x4d7ceb]:[],'tdx':_0x46b576});gracefulExit(_0x28abf0);});const psRtJnCmd=psRtCmd['command']('jn')['description'](a2_0x46ad5e(0x2bb));psRtJnCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x34d))['description']('List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x46ad5e(0x3ec)](async(_0x368c6e,_0x2235ee)=>{const _0x1c9591=a2_0x46ad5e,_0x5130f1=new PSRtJnListCommand(),_0x3c0443=program[_0x1c9591(0x1fd)](),_0x148752=await createTDXInstance(_0x3c0443),_0x2af660=await _0x5130f1['run']({'options':{..._0x3c0443,..._0x2235ee},'args':_0x368c6e?[_0x368c6e]:[],'tdx':_0x148752});gracefulExit(_0x2af660);}),psRtJnCmd['command'](a2_0x46ad5e(0xdc))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x315))[a2_0x46ad5e(0x3ec)](async(_0xfeb3c9,_0x2d7aa6)=>{const _0x238bd3=a2_0x46ad5e,_0xfa32cf=new PSRtJnPauseCommand(),_0x24fa14=program[_0x238bd3(0x1fd)](),_0x25ee89=await createTDXInstance(_0x24fa14),_0xcd8842=await _0xfa32cf['run']({'options':{..._0x24fa14,..._0x2d7aa6},'args':[_0xfeb3c9],'tdx':_0x25ee89});gracefulExit(_0xcd8842);}),psRtJnCmd[a2_0x46ad5e(0x327)]('resume_activations\x20<journeyId>')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x28d))[a2_0x46ad5e(0x3ec)](async(_0x5c8518,_0x1dee6b)=>{const _0x1cb817=a2_0x46ad5e,_0x44bcd9=new PSRtJnResumeCommand(),_0x635284=program['opts'](),_0x1ea958=await createTDXInstance(_0x635284),_0x2f11a2=await _0x44bcd9[_0x1cb817(0x1db)]({'options':{..._0x635284,..._0x1dee6b},'args':[_0x5c8518],'tdx':_0x1ea958});gracefulExit(_0x2f11a2);});const parentRtCmd=parentCmd[a2_0x46ad5e(0x327)]('rt',{'hidden':!![]})['description'](a2_0x46ad5e(0x135));parentRtCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x2c7))['description'](a2_0x46ad5e(0x364))[a2_0x46ad5e(0x3ec)](async(_0x4c3216,_0x12078e)=>{const _0x349210=a2_0x46ad5e,_0x239537=new PSRtListCommand(),_0x4ffea7=program[_0x349210(0x1fd)](),_0x33c90b=await createTDXInstance(_0x4ffea7),_0x2a7632=await _0x239537[_0x349210(0x1db)]({'options':{..._0x4ffea7,..._0x12078e},'args':_0x4c3216?[_0x4c3216]:[],'tdx':_0x33c90b});gracefulExit(_0x2a7632);}),parentRtCmd[a2_0x46ad5e(0x327)]('validate\x20[name]')[a2_0x46ad5e(0x278)]('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')[a2_0x46ad5e(0x3ec)](async(_0x4ee8e3,_0x469793)=>{const _0x2a4bb0=a2_0x46ad5e,_0x88a137=new PSRtValidateCommand(),_0x1d7d5b=program['opts'](),_0x3c2930=await createTDXInstance(_0x1d7d5b),_0x267c74=await _0x88a137[_0x2a4bb0(0x1db)]({'options':{..._0x1d7d5b,..._0x469793},'args':_0x4ee8e3?[_0x4ee8e3]:[],'tdx':_0x3c2930});gracefulExit(_0x267c74);});const psPzCmd=parentSegmentCmd[a2_0x46ad5e(0x327)]('pz')[a2_0x46ad5e(0x278)]('Personalization\x20management');psPzCmd['command'](a2_0x46ad5e(0x34d))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x15f))[a2_0x46ad5e(0x3ec)](async(_0x43493a,_0x941c58)=>{const _0x252e98=a2_0x46ad5e,_0x401ba8=new PSPzListCommand(),_0x493fc9=program[_0x252e98(0x1fd)](),_0x51fb53=await createTDXInstance(_0x493fc9),_0x2ef65b=await _0x401ba8[_0x252e98(0x1db)]({'options':{..._0x493fc9,..._0x941c58},'args':_0x43493a?[_0x43493a]:[],'tdx':_0x51fb53});gracefulExit(_0x2ef65b);}),psPzCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x16f))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x312))[a2_0x46ad5e(0x3ec)](async(_0x5da6a2,_0xbeb95a)=>{const _0xaa040d=a2_0x46ad5e,_0x445c79=new PSPzShowCommand(),_0x5c21dd=program[_0xaa040d(0x1fd)](),_0xebf717=await createTDXInstance(_0x5c21dd),_0x17109f=await _0x445c79[_0xaa040d(0x1db)]({'options':{..._0x5c21dd,..._0xbeb95a},'args':[_0x5da6a2],'tdx':_0xebf717});gracefulExit(_0x17109f);}),psPzCmd[a2_0x46ad5e(0x327)]('delete\x20<personalization_id>')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x412))[a2_0x46ad5e(0x3ec)](async(_0x53df1e,_0x20e3ac)=>{const _0x13c377=a2_0x46ad5e,_0x1c2874=new PSPzDeleteCommand(),_0x1ac5e2=program['opts'](),_0x59c5da=await createTDXInstance(_0x1ac5e2),_0x1bd4c8=await _0x1c2874[_0x13c377(0x1db)]({'options':{..._0x1ac5e2,..._0x20e3ac},'args':[_0x53df1e],'tdx':_0x59c5da});gracefulExit(_0x1bd4c8);}),psPzCmd[a2_0x46ad5e(0x327)]('create')['description'](a2_0x46ad5e(0x29c))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x15d),a2_0x46ad5e(0x1fc))['option'](a2_0x46ad5e(0x33a),a2_0x46ad5e(0x37f))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x266),a2_0x46ad5e(0x386))['option']('--folder-id\x20<id>',a2_0x46ad5e(0x3e7))['option']('--sections\x20<json>',a2_0x46ad5e(0x3c0))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x233),a2_0x46ad5e(0x401))[a2_0x46ad5e(0x3ec)](async _0xb3942a=>{const _0x4eb033=a2_0x46ad5e,_0x375b15=new PSPzCreateCommand(),_0x1ff143=program['opts'](),_0x488735=await createTDXInstance(_0x1ff143),_0x9e01ba=await _0x375b15[_0x4eb033(0x1db)]({'options':{..._0x1ff143,..._0xb3942a},'args':[],'tdx':_0x488735});gracefulExit(_0x9e01ba);}),psPzCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x16a))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x356))[a2_0x46ad5e(0x132)]('--name\x20<text>',a2_0x46ad5e(0x1fc))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x33a),a2_0x46ad5e(0x37f))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x14d),a2_0x46ad5e(0x3c0))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x233),a2_0x46ad5e(0x401))[a2_0x46ad5e(0x3ec)](async(_0x268101,_0x107919)=>{const _0x40a173=a2_0x46ad5e,_0xf914ab=new PSPzPatchCommand(),_0x537b98=program[_0x40a173(0x1fd)](),_0x13f4f3=await createTDXInstance(_0x537b98),_0x72c7a0=await _0xf914ab[_0x40a173(0x1db)]({'options':{..._0x537b98,..._0x107919},'args':[_0x268101],'tdx':_0x13f4f3});gracefulExit(_0x72c7a0);});const psPzServiceCmd=psPzCmd[a2_0x46ad5e(0x327)]('service')['description'](a2_0x46ad5e(0x2c9));psPzServiceCmd[a2_0x46ad5e(0x327)]('list\x20[name]')['description'](a2_0x46ad5e(0x3a2))[a2_0x46ad5e(0x3ec)](async(_0x35d241,_0xa8e7f5)=>{const _0x5a8b35=a2_0x46ad5e,_0x37da6=new PSPzServiceListCommand(),_0x52e9bb=program[_0x5a8b35(0x1fd)](),_0x2ec5d2=await createTDXInstance(_0x52e9bb),_0x56b271=await _0x37da6['run']({'options':{..._0x52e9bb,..._0xa8e7f5},'args':_0x35d241?[_0x35d241]:[],'tdx':_0x2ec5d2});gracefulExit(_0x56b271);}),psPzServiceCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x2ca))['description'](a2_0x46ad5e(0x220))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x33a),'Service\x20description')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2e9),a2_0x46ad5e(0x369))[a2_0x46ad5e(0x3ec)](async(_0xb864c4,_0x21bb38,_0x4bb75a)=>{const _0x53b1ff=a2_0x46ad5e,_0x16b7c9=new PSPzServiceCreateCommand(),_0x589f39=program[_0x53b1ff(0x1fd)](),_0x2d775=await createTDXInstance(_0x589f39),_0x42cb89=await _0x16b7c9[_0x53b1ff(0x1db)]({'options':{..._0x589f39,..._0x4bb75a},'args':_0x21bb38?[_0xb864c4,_0x21bb38]:[_0xb864c4],'tdx':_0x2d775});gracefulExit(_0x42cb89);}),psPzServiceCmd['command'](a2_0x46ad5e(0x170))[a2_0x46ad5e(0x278)]('Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x46ad5e(0x3ec)](async(_0x2eaff8,_0x5b9340,_0x63b39a)=>{const _0x30ed3b=a2_0x46ad5e,_0x3edb87=new PSPzServiceShowCommand(),_0x3b99e1=program['opts'](),_0x46721e=await createTDXInstance(_0x3b99e1),_0x870d0b=await _0x3edb87[_0x30ed3b(0x1db)]({'options':{..._0x3b99e1,..._0x63b39a},'args':_0x5b9340?[_0x2eaff8,_0x5b9340]:[_0x2eaff8],'tdx':_0x46721e});gracefulExit(_0x870d0b);}),psPzServiceCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x352))[a2_0x46ad5e(0x278)]('Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x46ad5e(0x3ec)](async(_0x52bfa5,_0x408f3d,_0x3277c5)=>{const _0x1ceec8=a2_0x46ad5e,_0x5bdd72=new PSPzServiceDeleteCommand(),_0x30a4df=program[_0x1ceec8(0x1fd)](),_0x59ae45=await createTDXInstance(_0x30a4df),_0x33e83b=await _0x5bdd72[_0x1ceec8(0x1db)]({'options':{..._0x30a4df,..._0x3277c5},'args':_0x408f3d?[_0x52bfa5,_0x408f3d]:[_0x52bfa5],'tdx':_0x59ae45});gracefulExit(_0x33e83b);}),psPzServiceCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x393))['description'](a2_0x46ad5e(0x144))['requiredOption'](a2_0x46ad5e(0x407),a2_0x46ad5e(0x1ed))['option'](a2_0x46ad5e(0x33a),'New\x20service\x20description')[a2_0x46ad5e(0x3ec)](async(_0x2a47fd,_0x3795b1,_0x4a578f)=>{const _0x53c440=a2_0x46ad5e,_0x1cbcf3=new PSPzServiceUpdateCommand(),_0x56e0e9=program[_0x53c440(0x1fd)](),_0xb4f0b6=await createTDXInstance(_0x56e0e9),_0x23b157=await _0x1cbcf3[_0x53c440(0x1db)]({'options':{..._0x56e0e9,..._0x4a578f},'args':_0x3795b1?[_0x2a47fd,_0x3795b1]:[_0x2a47fd],'tdx':_0xb4f0b6});gracefulExit(_0x23b157);}),psPzServiceCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x218))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x127))['action'](async(_0x2bd9a8,_0x24be26)=>{const _0x5cc69f=a2_0x46ad5e,_0x28bb69=new PSPzInitCommand(),_0x2fde26=program[_0x5cc69f(0x1fd)](),_0x21724e=await createTDXInstance(_0x2fde26),_0x267b21=await _0x28bb69[_0x5cc69f(0x1db)]({'options':{..._0x2fde26,..._0x24be26},'args':_0x2bd9a8?[_0x2bd9a8]:[],'tdx':_0x21724e});gracefulExit(_0x267b21);});const psPzServiceTokenCmd=psPzServiceCmd['command']('token')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x20c));psPzServiceTokenCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x29d))['description']('Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x46ad5e(0x132)]('--allowed-ips\x20<ips>',a2_0x46ad5e(0x22d))[a2_0x46ad5e(0x132)]('--description\x20<text>','Token\x20description')[a2_0x46ad5e(0x3ec)](async(_0x4bfdec,_0x2e0343,_0x391d82,_0x41ea34)=>{const _0x2a3797=a2_0x46ad5e,_0xc39ab=new PSPzServiceTokenCreateCommand(),_0x153769=program[_0x2a3797(0x1fd)](),_0x281bef=await createTDXInstance(_0x153769),_0x4641b9=await _0xc39ab[_0x2a3797(0x1db)]({'options':{..._0x153769,..._0x41ea34},'args':_0x391d82?[_0x4bfdec,_0x2e0343,_0x391d82]:[_0x4bfdec,_0x2e0343],'tdx':_0x281bef});gracefulExit(_0x4641b9);}),psPzServiceTokenCmd[a2_0x46ad5e(0x327)]('delete\x20<token_id>\x20[parent_segment]')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x1af))[a2_0x46ad5e(0x3ec)](async(_0x3dfc58,_0x396bb9,_0x54e34b)=>{const _0x463d0f=a2_0x46ad5e,_0xf9db24=new PSPzServiceTokenDeleteCommand(),_0xa05297=program[_0x463d0f(0x1fd)](),_0x376754=await createTDXInstance(_0xa05297),_0x3d07b3=await _0xf9db24[_0x463d0f(0x1db)]({'options':{..._0xa05297,..._0x54e34b},'args':_0x396bb9?[_0x3dfc58,_0x396bb9]:[_0x3dfc58],'tdx':_0x376754});gracefulExit(_0x3d07b3);}),parentCmd['command']('create\x20<name>')['description'](a2_0x46ad5e(0xe0))[a2_0x46ad5e(0x310)](a2_0x46ad5e(0x180),a2_0x46ad5e(0xbc))[a2_0x46ad5e(0x310)](a2_0x46ad5e(0x10c),a2_0x46ad5e(0x146))['option'](a2_0x46ad5e(0x33a),a2_0x46ad5e(0x300))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x21a),a2_0x46ad5e(0xc2))['option'](a2_0x46ad5e(0x410),a2_0x46ad5e(0xf0))[a2_0x46ad5e(0x132)]('--timezone\x20<tz>',a2_0x46ad5e(0xfa))[a2_0x46ad5e(0x132)]('--attributes\x20<json>','Attributes\x20as\x20JSON\x20string')[a2_0x46ad5e(0x132)]('--attributes-file\x20<file>',a2_0x46ad5e(0x177))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2f8),'Behaviors\x20as\x20JSON\x20string')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x332),a2_0x46ad5e(0x37d))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x182),a2_0x46ad5e(0x1dd))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x14f),a2_0x46ad5e(0x38b))[a2_0x46ad5e(0x3ec)](async(_0x211e94,_0x474186)=>{const _0x5a2831=a2_0x46ad5e,_0x1e1fa2=new ParentSegmentCreateCommand(),_0x36f660=program[_0x5a2831(0x1fd)](),_0x34ec3e=await createTDXInstance(_0x36f660),_0x17f9c3=await _0x1e1fa2[_0x5a2831(0x1db)]({'options':{..._0x36f660,..._0x474186},'args':[_0x211e94],'tdx':_0x34ec3e});gracefulExit(_0x17f9c3);}),parentCmd['command'](a2_0x46ad5e(0x3c9))[a2_0x46ad5e(0x278)]('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x33a),'Updated\x20description')['option'](a2_0x46ad5e(0x21a),'Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x410),a2_0x46ad5e(0x2b8))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x282),a2_0x46ad5e(0x3f2))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2f0),'Add\x20attributes\x20as\x20JSON\x20string')[a2_0x46ad5e(0x132)]('--add-attributes-file\x20<file>','Add\x20attributes\x20from\x20JSON\x20file')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x230),'Add\x20behaviors\x20as\x20JSON\x20string')[a2_0x46ad5e(0x132)]('--add-behaviors-file\x20<file>',a2_0x46ad5e(0x317))[a2_0x46ad5e(0x3ec)](async(_0x2ce658,_0x21a029)=>{const _0x333e00=a2_0x46ad5e,_0x2e33e3=new ParentSegmentUpdateCommand(),_0x4f8b4c=program['opts'](),_0x383995=await createTDXInstance(_0x4f8b4c),_0x36bf48=await _0x2e33e3[_0x333e00(0x1db)]({'options':{..._0x4f8b4c,..._0x21a029},'args':[_0x2ce658],'tdx':_0x383995});gracefulExit(_0x36bf48);}),folderCmd[a2_0x46ad5e(0x327)]('create\x20<parent_name>\x20<folder_name>')[a2_0x46ad5e(0x278)]('Create\x20segment\x20folder')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x33a),a2_0x46ad5e(0x28b))[a2_0x46ad5e(0x132)]('--parent-folder\x20<name>',a2_0x46ad5e(0x1f0))['action'](async(_0x1d6470,_0x5797ad,_0x2ec3a1)=>{const _0x70516c=a2_0x46ad5e,_0x3007b1=new SegmentFolderCreateCommand(),_0x326a8a=program[_0x70516c(0x1fd)](),_0x3125c8=await createTDXInstance(_0x326a8a),_0x55b0ce=await _0x3007b1[_0x70516c(0x1db)]({'options':{..._0x326a8a,..._0x2ec3a1},'args':[_0x1d6470,_0x5797ad],'tdx':_0x3125c8});gracefulExit(_0x55b0ce);}),program[a2_0x46ad5e(0x327)]('activations\x20<segment_name>')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x18e))[a2_0x46ad5e(0x3ec)](async(_0x1a5544,_0xf00893)=>{const _0x2ea72e=a2_0x46ad5e,_0x52cc6b=new ActivationsCommand(),_0x312bc5=program[_0x2ea72e(0x1fd)](),_0x3adf51=await createTDXInstance(_0x312bc5),_0x326e08=await _0x52cc6b[_0x2ea72e(0x1db)]({'options':{..._0x312bc5,..._0xf00893},'args':[_0x1a5544],'tdx':_0x3adf51});gracefulExit(_0x326e08);});const workflowCmd=program['command'](a2_0x46ad5e(0x339))[a2_0x46ad5e(0x2cb)]('wf')['description']('Workflow\x20(Digdag)\x20management\x20commands'),wfProjectCmd=workflowCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x21c))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x3c8)),wfProjectListAction=async(_0x534907,_0x92fb5)=>{const _0x1b93f2=a2_0x46ad5e,_0x18cff3=new WorkflowProjectsCommand(),_0x212f1f=program[_0x1b93f2(0x1fd)](),_0x320b86=await createTDXInstance(_0x212f1f),_0xf25e8f=await _0x18cff3[_0x1b93f2(0x1db)]({'options':{..._0x212f1f,..._0x92fb5},'args':_0x534907?[_0x534907]:[],'tdx':_0x320b86});gracefulExit(_0xf25e8f);};wfProjectCmd[a2_0x46ad5e(0x327)]('list\x20[pattern]')['description'](a2_0x46ad5e(0x3eb))['action'](wfProjectListAction),workflowCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x3cf))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x319))[a2_0x46ad5e(0x3ec)](wfProjectListAction);const wfWorkflowListAction=async(_0x64cc6b,_0x10571c)=>{const _0xdbbe20=new WorkflowWorkflowsCommand(),_0x10c2d1=program['opts'](),_0x18959c=await createTDXInstance(_0x10c2d1),_0x2025b7=await _0xdbbe20['run']({'options':{..._0x10c2d1,..._0x10571c},'args':_0x64cc6b?[_0x64cc6b]:[],'tdx':_0x18959c});gracefulExit(_0x2025b7);};workflowCmd['command'](a2_0x46ad5e(0x405))['description']('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')[a2_0x46ad5e(0x3ec)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0xc4))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x1a0)),wfSessionListAction=async(_0x3757fa,_0x425604)=>{const _0x25c207=a2_0x46ad5e,_0x36c77a=new WorkflowSessionsCommand(),_0x1bcaa0=program['opts'](),_0x3e422b=await createTDXInstance(_0x1bcaa0),_0x57b259=await _0x36c77a[_0x25c207(0x1db)]({'options':{..._0x1bcaa0,..._0x425604},'args':_0x3757fa?[_0x3757fa]:[],'tdx':_0x3e422b});gracefulExit(_0x57b259);};wfSessionCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x133))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x38d))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0xea),a2_0x46ad5e(0x3c7))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0xd1),a2_0x46ad5e(0x2e5))['option'](a2_0x46ad5e(0x368),a2_0x46ad5e(0x1b3))[a2_0x46ad5e(0x3ec)](wfSessionListAction),workflowCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x3a7))['description']('List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)')['option']('--status\x20<status>',a2_0x46ad5e(0x3c7))['option']('--from\x20<timestamp>',a2_0x46ad5e(0x2e5))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x368),a2_0x46ad5e(0x1b3))['action'](wfSessionListAction);const wfAttemptListAction=async(_0x4d59e6,_0x4ed4f3)=>{const _0x427be0=a2_0x46ad5e,_0x426c3d=new WorkflowAttemptsCommand(),_0x44301f=program[_0x427be0(0x1fd)](),_0x5605d7=await createTDXInstance(_0x44301f),_0x6b276d=await _0x426c3d[_0x427be0(0x1db)]({'options':{..._0x44301f,..._0x4ed4f3},'args':_0x4d59e6?[_0x4d59e6]:[],'tdx':_0x5605d7});gracefulExit(_0x6b276d);},attemptCmd=workflowCmd[a2_0x46ad5e(0x327)]('attempt')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x29b))['argument'](a2_0x46ad5e(0x15a),a2_0x46ad5e(0x2dd))[a2_0x46ad5e(0xeb)](a2_0x46ad5e(0x1da),a2_0x46ad5e(0x203))[a2_0x46ad5e(0xeb)]('[task-name]','Task\x20name\x20for\x20logs\x20action')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x205),a2_0x46ad5e(0x2c3))['option'](a2_0x46ad5e(0x290),a2_0x46ad5e(0x17f))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x196),'Resume\x20from\x20specific\x20task\x20(retry)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2b5),'Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1c5),a2_0x46ad5e(0x1a1))[a2_0x46ad5e(0x132)]('--include-retried','Include\x20retried\x20attempts\x20(for\x20list)')[a2_0x46ad5e(0x3ec)](async(_0x5caaa8,_0x4e0720,_0x3a9425,_0x28288e)=>{const _0x15a830=a2_0x46ad5e;if(_0x5caaa8==='list'){await wfAttemptListAction(_0x4e0720,_0x28288e);return;}if(!_0x5caaa8){attemptCmd['help']();return;}const _0x2d5741=program[_0x15a830(0x1fd)](),_0x4f6885=await createTDXInstance(_0x2d5741);let _0x52165c=0x0;if(!_0x4e0720){const _0x1e42c1=new WorkflowAttemptCommand();_0x52165c=await _0x1e42c1[_0x15a830(0x1db)]({'options':{..._0x2d5741,..._0x28288e},'args':[_0x5caaa8],'tdx':_0x4f6885});}else{if(_0x4e0720===_0x15a830(0x240)){const _0x12aaec=new WorkflowLogsCommand();_0x52165c=await _0x12aaec['run']({'options':{..._0x2d5741,..._0x28288e},'args':_0x3a9425?[_0x5caaa8,_0x3a9425]:[_0x5caaa8],'tdx':_0x4f6885});}else{if(_0x4e0720===_0x15a830(0x36b)){const _0x310f43=new WorkflowTasksCommand();_0x52165c=await _0x310f43['run']({'options':{..._0x2d5741,..._0x28288e},'args':[_0x5caaa8],'tdx':_0x4f6885});}else{if(_0x4e0720==='kill'){const _0x37cceb=new WorkflowKillCommand();_0x52165c=await _0x37cceb[_0x15a830(0x1db)]({'options':{..._0x2d5741,..._0x28288e},'args':[_0x5caaa8],'tdx':_0x4f6885});}else{if(_0x4e0720===_0x15a830(0x244)){const _0x4b4abe=new WorkflowRetryCommand();_0x52165c=await _0x4b4abe['run']({'options':{..._0x2d5741,..._0x28288e},'args':[_0x15a830(0x287)+_0x5caaa8],'tdx':_0x4f6885});}else console['error'](_0x15a830(0x378)+_0x4e0720),console[_0x15a830(0x2f3)](_0x15a830(0x385)),_0x52165c=0x1;}}}}gracefulExit(_0x52165c);});attemptCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x133))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x17e))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x299),a2_0x46ad5e(0x1a8))[a2_0x46ad5e(0x3ec)](wfAttemptListAction),workflowCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x1f9))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x165))['option']('--include-retried',a2_0x46ad5e(0x1a8))[a2_0x46ad5e(0x3ec)](wfAttemptListAction),workflowCmd['command']('timeline\x20[project.workflow]')['description'](a2_0x46ad5e(0x2b0))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2ff),a2_0x46ad5e(0x31c))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1a6),a2_0x46ad5e(0x192))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2fc),a2_0x46ad5e(0x1c4))[a2_0x46ad5e(0x3ec)](async(_0x5f2a41,_0xdd4ff1)=>{const _0x1c57c8=a2_0x46ad5e,_0x283aec=new WorkflowTimelineCommand(),_0x2fd9a2=program[_0x1c57c8(0x1fd)](),_0x3bc189=await createTDXInstance(_0x2fd9a2),_0x4b9661=await _0x283aec['run']({'options':{..._0x2fd9a2,..._0xdd4ff1},'args':_0x5f2a41?[_0x5f2a41]:[],'tdx':_0x3bc189});gracefulExit(_0x4b9661);}),workflowCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x197))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x151))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x361),a2_0x46ad5e(0x13f))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2b5),a2_0x46ad5e(0x3af))[a2_0x46ad5e(0x3ec)](async(_0x412baa,_0x33e34b)=>{const _0x53143d=a2_0x46ad5e,_0x35a34a=new WorkflowRetryCommand(),_0x2f1143=program[_0x53143d(0x1fd)](),_0x1e2e7b=await createTDXInstance(_0x2f1143),_0x3502fc=await _0x35a34a[_0x53143d(0x1db)]({'options':{..._0x2f1143,..._0x33e34b},'args':[_0x412baa],'tdx':_0x1e2e7b});gracefulExit(_0x3502fc);}),workflowCmd[a2_0x46ad5e(0x327)]('run\x20[workflow]')['description']('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1bf),a2_0x46ad5e(0x252),(_0x2b7a02,_0x17d441=[])=>[..._0x17d441,_0x2b7a02],[])[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2cd),a2_0x46ad5e(0x256))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3e2),a2_0x46ad5e(0x17d))['action'](async(_0x505887,_0x1008c3)=>{const _0x55a8ee=a2_0x46ad5e,_0x14a4f4=new WorkflowRunCommand(),_0x451437=program[_0x55a8ee(0x1fd)](),_0x31c2a6=await createTDXInstance(_0x451437),_0x2000fe=await _0x14a4f4['run']({'options':{..._0x451437,..._0x1008c3},'args':_0x505887?[_0x505887]:[],'tdx':_0x31c2a6});gracefulExit(_0x2000fe);}),workflowCmd[a2_0x46ad5e(0x327)]('download\x20<project-name>\x20[output-dir]')[a2_0x46ad5e(0x278)]('Download\x20workflow\x20project\x20from\x20Treasure\x20AI')['option'](a2_0x46ad5e(0x2c6),a2_0x46ad5e(0x340))[a2_0x46ad5e(0x3ec)](async(_0x33a23d,_0x218300,_0x4cda76)=>{const _0x443465=a2_0x46ad5e,_0x4ca144=new WorkflowDownloadCommand(),_0x41cff9=program[_0x443465(0x1fd)](),_0x307e81=await createTDXInstance(_0x41cff9),_0x12c85e=await _0x4ca144['run']({'options':{..._0x41cff9,..._0x4cda76},'args':[_0x33a23d,_0x218300||'.'],'tdx':_0x307e81});gracefulExit(_0x12c85e);}),workflowCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x1d3))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x258))['option'](a2_0x46ad5e(0x2c6),a2_0x46ad5e(0x398))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3e2),a2_0x46ad5e(0x1ba))[a2_0x46ad5e(0x3ec)](async(_0x2ee785,_0x18c2c2,_0x24d7a5)=>{const _0x2211b9=a2_0x46ad5e,_0x13d500=new WorkflowPullCommand(),_0xe27ee3=program[_0x2211b9(0x1fd)](),_0x432ae7=await createTDXInstance(_0xe27ee3),_0x20b71c=await _0x13d500['run']({'options':{..._0xe27ee3,..._0x24d7a5},'args':_0x18c2c2?[_0x2ee785,_0x18c2c2]:[_0x2ee785],'tdx':_0x432ae7});gracefulExit(_0x20b71c);}),workflowCmd[a2_0x46ad5e(0x327)]('push\x20[source-dir]')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x235))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2c6),a2_0x46ad5e(0x1f6))['option'](a2_0x46ad5e(0x3e2),a2_0x46ad5e(0x395))[a2_0x46ad5e(0x132)]('--skip-validation',a2_0x46ad5e(0x3f3))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x11f),'Run\x20backfill\x20sessions\x20for\x20the\x20gap\x20while\x20the\x20schedule\x20was\x20disabled\x20(off\x20by\x20default)')[a2_0x46ad5e(0x3ec)](async(_0x418731,_0xebe86e)=>{const _0x17a6e5=a2_0x46ad5e,_0x28a66b=new WorkflowPushCommand(),_0x16c8df=program[_0x17a6e5(0x1fd)](),_0x2cef1d=await createTDXInstance(_0x16c8df),_0x154d7e=await _0x28a66b[_0x17a6e5(0x1db)]({'options':{..._0x16c8df,..._0xebe86e},'args':_0x418731?[_0x418731]:[],'tdx':_0x2cef1d});gracefulExit(_0x154d7e);}),workflowCmd[a2_0x46ad5e(0x327)]('upload\x20[project-name-or-dir]')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0xda))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x407),a2_0x46ad5e(0x3d8))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2c6),a2_0x46ad5e(0x222))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2a5),a2_0x46ad5e(0x3f3))[a2_0x46ad5e(0x3ec)](async(_0x4f34bf,_0xa8f757)=>{const _0x48ab21=a2_0x46ad5e,_0x409faa=new WorkflowUploadCommand(),_0x1a6e34=program[_0x48ab21(0x1fd)](),_0x19ac98=await createTDXInstance(_0x1a6e34),_0xb1894a=await _0x409faa[_0x48ab21(0x1db)]({'options':{..._0x1a6e34,..._0xa8f757},'args':_0x4f34bf?[_0x4f34bf]:[],'tdx':_0x19ac98});gracefulExit(_0xb1894a);}),workflowCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x2a4))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x3ed))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x407),a2_0x46ad5e(0x1aa))['option'](a2_0x46ad5e(0x2c6),a2_0x46ad5e(0x1f6))['option']('--dry-run','Preview\x20without\x20creating\x20the\x20project')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2a5),a2_0x46ad5e(0x3f3))['action'](async(_0x2e5c72,_0x125370)=>{const _0x47f74d=a2_0x46ad5e,_0x2cced5=new WorkflowCloneCommand(),_0x241a3b=program['opts'](),_0xd74158=await createTDXInstance(_0x241a3b),_0x3b00a2=await _0x2cced5[_0x47f74d(0x1db)]({'options':{..._0x241a3b,..._0x125370},'args':_0x2e5c72?[_0x2e5c72]:[],'tdx':_0xd74158});gracefulExit(_0x3b00a2);}),workflowCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x2b6))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x1e5))[a2_0x46ad5e(0x3ec)](async(_0x8dcb4,_0x122c90)=>{const _0x5320a6=a2_0x46ad5e,_0x318c8f=new WorkflowDeleteCommand(),_0x55be60=program[_0x5320a6(0x1fd)](),_0xc9acca=await createTDXInstance(_0x55be60),_0x137747=await _0x318c8f[_0x5320a6(0x1db)]({'options':{..._0x55be60,..._0x122c90},'args':[_0x8dcb4],'tdx':_0xc9acca});gracefulExit(_0x137747);}),workflowCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x1a3))[a2_0x46ad5e(0x278)]('Set\x20default\x20workflow\x20project\x20for\x20this\x20session')[a2_0x46ad5e(0x132)]('--clear',a2_0x46ad5e(0x136))[a2_0x46ad5e(0x3ec)](async(_0x5dd658,_0x11ab9f)=>{const _0x29b1d0=a2_0x46ad5e,_0x319b7f=new WorkflowUseCommand(),_0x588ed8=program[_0x29b1d0(0x1fd)](),_0x21762b=await createTDXInstance(_0x588ed8),_0x2b1c9e=await _0x319b7f['run']({'options':{..._0x588ed8,..._0x11ab9f},'args':_0x5dd658?[_0x5dd658]:[],'tdx':_0x21762b});gracefulExit(_0x2b1c9e);});const wfSecretsCmd=workflowCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x30e))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x38f));wfSecretsCmd[a2_0x46ad5e(0x327)]('list\x20[project]')[a2_0x46ad5e(0x278)]('List\x20secret\x20keys\x20for\x20a\x20project')[a2_0x46ad5e(0x3ec)](async(_0x1555bf,_0x46581e)=>{const _0x431194=a2_0x46ad5e,_0x4e4d4=new WorkflowSecretsListCommand(),_0x19d82c=program[_0x431194(0x1fd)](),_0x265634=await createTDXInstance(_0x19d82c),_0x716781=await _0x4e4d4[_0x431194(0x1db)]({'options':{..._0x19d82c,..._0x46581e},'args':_0x1555bf?[_0x1555bf]:[],'tdx':_0x265634});gracefulExit(_0x716781);}),wfSecretsCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x383))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x347))[a2_0x46ad5e(0x3ec)](async(_0x4961b1,_0x4cc9ee)=>{const _0x2f7df7=a2_0x46ad5e,_0x508883=new WorkflowSecretsSetCommand(),_0x1bfabd=program[_0x2f7df7(0x1fd)](),_0x1b130f=await createTDXInstance(_0x1bfabd),_0x215dd2=await _0x508883['run']({'options':{..._0x1bfabd,..._0x4cc9ee},'args':_0x4961b1,'tdx':_0x1b130f});gracefulExit(_0x215dd2);}),wfSecretsCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x40a))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x1f1))[a2_0x46ad5e(0x3ec)](async(_0x3c7fb5,_0x119e7b)=>{const _0x3d2e4b=a2_0x46ad5e,_0x2811eb=new WorkflowSecretsDeleteCommand(),_0x41b84b=program['opts'](),_0x5b2b9e=await createTDXInstance(_0x41b84b),_0x1f4e1d=await _0x2811eb[_0x3d2e4b(0x1db)]({'options':{..._0x41b84b,..._0x119e7b},'args':_0x3c7fb5,'tdx':_0x5b2b9e});gracefulExit(_0x1f4e1d);});const wfScheduleCmd=workflowCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0xc6))['description'](a2_0x46ad5e(0x1e3));wfScheduleCmd['command']('enable\x20<id>')[a2_0x46ad5e(0x278)]('Enable\x20a\x20disabled\x20workflow\x20schedule')['option']('--backfill',a2_0x46ad5e(0x262))['option'](a2_0x46ad5e(0x269),a2_0x46ad5e(0x3a9))['action'](async(_0x20fd83,_0x3daf8d)=>{const _0xffcb5a=a2_0x46ad5e,_0x57f3ad=new WorkflowScheduleEnableCommand(),_0x15ec36=program['opts'](),_0x20ebb8=await createTDXInstance(_0x15ec36),_0x247022=await _0x57f3ad[_0xffcb5a(0x1db)]({'options':{..._0x15ec36,..._0x3daf8d},'args':[_0x20fd83],'tdx':_0x20ebb8});gracefulExit(_0x247022);}),wfScheduleCmd['command'](a2_0x46ad5e(0x181))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x2bd))[a2_0x46ad5e(0x3ec)](async(_0x3209a7,_0x547c48)=>{const _0x13db72=a2_0x46ad5e,_0x3ddcaf=new WorkflowScheduleDisableCommand(),_0x1bf13d=program[_0x13db72(0x1fd)](),_0x40d332=await createTDXInstance(_0x1bf13d),_0x1a3ad9=await _0x3ddcaf[_0x13db72(0x1db)]({'options':{..._0x1bf13d,..._0x547c48},'args':[_0x3209a7],'tdx':_0x40d332});gracefulExit(_0x1a3ad9);});const wfSchedulesListAction=async(_0x14d681,_0x1953bc)=>{const _0x33ec51=a2_0x46ad5e,_0x494cca=new WorkflowSchedulesCommand(),_0x58bda2=program[_0x33ec51(0x1fd)](),_0x20c624=await createTDXInstance(_0x58bda2),_0x4bef52=await _0x494cca['run']({'options':{..._0x58bda2,..._0x1953bc},'args':_0x14d681?[_0x14d681]:[],'tdx':_0x20c624});gracefulExit(_0x4bef52);};wfScheduleCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x12e))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x2e3))['option'](a2_0x46ad5e(0x17b),a2_0x46ad5e(0x175))[a2_0x46ad5e(0x3ec)](wfSchedulesListAction),workflowCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x402))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x3da))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x17b),a2_0x46ad5e(0x175))['action'](wfSchedulesListAction);const jobCmd=program['command'](a2_0x46ad5e(0x3d5))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x30d)),jobListAction=async _0xb47749=>{const _0x4667d4=a2_0x46ad5e,_0x562d79=new JobListCommand(),_0x2882af=program[_0x4667d4(0x1fd)](),_0x51e5e8=await createTDXInstance(_0x2882af),_0x31b19b=await _0x562d79['run']({'options':{..._0x2882af,..._0xb47749},'args':[],'tdx':_0x51e5e8});gracefulExit(_0x31b19b);};jobCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x112))['description'](a2_0x46ad5e(0x202))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0xea),a2_0x46ad5e(0x19e))[a2_0x46ad5e(0x3ec)](jobListAction),program['command']('jobs',{'hidden':!![]})[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x1ae))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0xea),a2_0x46ad5e(0x19e))[a2_0x46ad5e(0x3ec)](jobListAction),jobCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x374))['description'](a2_0x46ad5e(0x12d))['action'](async(_0x1272d5,_0x5349ed)=>{const _0x13b261=a2_0x46ad5e,_0x3f48b3=new JobShowCommand(),_0x2e44fb=program[_0x13b261(0x1fd)](),_0x4ec55f=await createTDXInstance(_0x2e44fb),_0x81cf7d=await _0x3f48b3[_0x13b261(0x1db)]({'options':{..._0x2e44fb,..._0x5349ed},'args':[_0x1272d5],'tdx':_0x4ec55f});gracefulExit(_0x81cf7d);}),jobCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x387))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x1a4))[a2_0x46ad5e(0x3ec)](async(_0x108b77,_0xfbba09)=>{const _0x31b970=a2_0x46ad5e,_0x8a67f1=new JobKillCommand(),_0x4542ad=program['opts'](),_0x4ba8c7=await createTDXInstance(_0x4542ad),_0x5d9d7e=await _0x8a67f1[_0x31b970(0x1db)]({'options':{..._0x4542ad,..._0xfbba09},'args':[_0x108b77],'tdx':_0x4ba8c7});gracefulExit(_0x5d9d7e);}),jobCmd[a2_0x46ad5e(0x327)]('submit\x20[query]')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x381))['option'](a2_0x46ad5e(0x306),a2_0x46ad5e(0x3ac),a2_0x46ad5e(0x174))['option'](a2_0x46ad5e(0x15c),'Read\x20query\x20from\x20file')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0xc1),a2_0x46ad5e(0x3ff),a2_0x46ad5e(0x1ad))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3fa),a2_0x46ad5e(0x118))[a2_0x46ad5e(0x3ec)](async(_0x256dc1,_0x570898)=>{const _0x1b72b2=a2_0x46ad5e,_0x1a6d75=new JobSubmitCommand(),_0x109445=program[_0x1b72b2(0x1fd)](),_0x13a958=await createTDXInstance(_0x109445),_0x15bb07=await _0x1a6d75[_0x1b72b2(0x1db)]({'options':{..._0x109445,..._0x570898},'args':_0x256dc1?[_0x256dc1]:[],'tdx':_0x13a958});gracefulExit(_0x15bb07);}),jobCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x362))['description'](a2_0x46ad5e(0x10a))['action'](async(_0x5f4ba1,_0x2c9234)=>{const _0x16fdb0=a2_0x46ad5e,_0x4c63b6=new JobResultCommand(),_0x34cb0d=program[_0x16fdb0(0x1fd)](),_0x5e26ce=await createTDXInstance(_0x34cb0d),_0x563b33=await _0x4c63b6[_0x16fdb0(0x1db)]({'options':{..._0x34cb0d,..._0x2c9234},'args':[_0x5f4ba1],'tdx':_0x5e26ce});gracefulExit(_0x563b33);});const scheduleCmd=jobCmd['command']('schedule')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x2eb));scheduleCmd['command'](a2_0x46ad5e(0x2c7))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x31d))[a2_0x46ad5e(0x3ec)](async(_0x384de9,_0x330ace)=>{const _0x5b9f04=a2_0x46ad5e,_0x4cdb8a=new ScheduleListCommand(),_0x36441c=program[_0x5b9f04(0x1fd)](),_0x3cfd65=await createTDXInstance(_0x36441c),_0x2dda31=await _0x4cdb8a[_0x5b9f04(0x1db)]({'options':{..._0x36441c,..._0x330ace},'args':_0x384de9?[_0x384de9]:[],'tdx':_0x3cfd65});gracefulExit(_0x2dda31);}),scheduleCmd[a2_0x46ad5e(0x327)]('show\x20<name>')['description'](a2_0x46ad5e(0x145))[a2_0x46ad5e(0x3ec)](async(_0x54167a,_0x3fb48c)=>{const _0x55830f=a2_0x46ad5e,_0x5738a9=new ScheduleShowCommand(),_0x5ad5f7=program[_0x55830f(0x1fd)](),_0x44bca4=await createTDXInstance(_0x5ad5f7),_0x591410=await _0x5738a9[_0x55830f(0x1db)]({'options':{..._0x5ad5f7,..._0x3fb48c},'args':[_0x54167a],'tdx':_0x44bca4});gracefulExit(_0x591410);}),scheduleCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x103))['description'](a2_0x46ad5e(0x2a9))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x216),a2_0x46ad5e(0x2df))[a2_0x46ad5e(0x132)]('--in\x20<db>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x46ad5e(0x310)]('-f,\x20--file\x20<path>',a2_0x46ad5e(0x318))['option'](a2_0x46ad5e(0x178),a2_0x46ad5e(0xe3),a2_0x46ad5e(0x174))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3c3),'Cron\x20expression\x20for\x20scheduling')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x282),a2_0x46ad5e(0x1ac))['option']('--delay\x20<seconds>',a2_0x46ad5e(0x380))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x331),'Job\x20priority\x20(-2\x20to\x202)')['option'](a2_0x46ad5e(0x271),'Retry\x20limit\x20(0\x20to\x2032)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2de),'Query\x20engine\x20version')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x33d),a2_0x46ad5e(0x2d7))['action'](async(_0x497b33,_0x51eee1)=>{const _0x44ec61=a2_0x46ad5e,_0x433eaf=new ScheduleCreateCommand(),_0x2663ac=program[_0x44ec61(0x1fd)](),_0x54fa7a=await createTDXInstance(_0x2663ac);_0x51eee1['in']&&(_0x51eee1[_0x44ec61(0x2da)]=_0x51eee1['in']);const _0x260314=await _0x433eaf[_0x44ec61(0x1db)]({'options':{..._0x2663ac,..._0x51eee1},'args':[_0x497b33],'tdx':_0x54fa7a});gracefulExit(_0x260314);}),scheduleCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x3c9))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x303))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x216),a2_0x46ad5e(0x3be))[a2_0x46ad5e(0x132)]('--in\x20<db>',a2_0x46ad5e(0x346))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x15c),a2_0x46ad5e(0x318))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x178),'Query\x20type:\x20trino\x20or\x20hive')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3c3),a2_0x46ad5e(0xd6))[a2_0x46ad5e(0x132)]('--timezone\x20<tz>',a2_0x46ad5e(0x34f))['option']('--delay\x20<seconds>',a2_0x46ad5e(0x380))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x331),a2_0x46ad5e(0x2e6))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x271),a2_0x46ad5e(0x3a4))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2de),a2_0x46ad5e(0x1c1))['option'](a2_0x46ad5e(0x33d),'Result\x20output\x20destination\x20URL')[a2_0x46ad5e(0x3ec)](async(_0x104749,_0x411214)=>{const _0x177a99=a2_0x46ad5e,_0x36c552=new ScheduleUpdateCommand(),_0x4efa0a=program[_0x177a99(0x1fd)](),_0x333d1d=await createTDXInstance(_0x4efa0a);_0x411214['in']&&(_0x411214[_0x177a99(0x2da)]=_0x411214['in']);const _0x1dd5fe=await _0x36c552[_0x177a99(0x1db)]({'options':{..._0x4efa0a,..._0x411214},'args':[_0x104749],'tdx':_0x333d1d});gracefulExit(_0x1dd5fe);}),scheduleCmd[a2_0x46ad5e(0x327)]('delete\x20<name>')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x261))[a2_0x46ad5e(0x3ec)](async(_0x50dd6b,_0x5d977d)=>{const _0xabf9f=a2_0x46ad5e,_0x5ed31c=new ScheduleDeleteCommand(),_0x1402f6=program[_0xabf9f(0x1fd)](),_0x59fdcd=await createTDXInstance(_0x1402f6),_0x9ec0e0=await _0x5ed31c[_0xabf9f(0x1db)]({'options':{..._0x1402f6,..._0x5d977d},'args':[_0x50dd6b],'tdx':_0x59fdcd});gracefulExit(_0x9ec0e0);}),scheduleCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x231))['description']('Run\x20a\x20scheduled\x20query\x20immediately')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x142),'Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)')['option'](a2_0x46ad5e(0xb7),a2_0x46ad5e(0x2ef))[a2_0x46ad5e(0x3ec)](async(_0x20cf86,_0x4cde2c)=>{const _0x46f597=a2_0x46ad5e,_0x4f40a8=new ScheduleRunCommand(),_0x2ba1f4=program['opts'](),_0x3de3f9=await createTDXInstance(_0x2ba1f4),_0x9fdf2=await _0x4f40a8[_0x46f597(0x1db)]({'options':{..._0x2ba1f4,..._0x4cde2c},'args':[_0x20cf86],'tdx':_0x3de3f9});gracefulExit(_0x9fdf2);}),scheduleCmd['command'](a2_0x46ad5e(0x30a))[a2_0x46ad5e(0x278)]('Show\x20schedule\x20execution\x20history')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0xe2),a2_0x46ad5e(0x115))[a2_0x46ad5e(0x132)]('--to\x20<n>',a2_0x46ad5e(0x29a))[a2_0x46ad5e(0x3ec)](async(_0x3af007,_0x5f5bfb)=>{const _0xedd1ba=a2_0x46ad5e,_0x183629=new ScheduleHistoryCommand(),_0x47150a=program[_0xedd1ba(0x1fd)](),_0x3bd173=await createTDXInstance(_0x47150a),_0x2f7ae5=await _0x183629[_0xedd1ba(0x1db)]({'options':{..._0x47150a,..._0x5f5bfb},'args':[_0x3af007],'tdx':_0x3bd173});gracefulExit(_0x2f7ae5);});const llmCmd=program[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x35a))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x37e));llmCmd['command'](a2_0x46ad5e(0x3c1))['description'](a2_0x46ad5e(0x179))[a2_0x46ad5e(0x3ec)](async(_0x13cb82,_0x4bfdd5)=>{const _0x43f7c6=a2_0x46ad5e,_0x2509b3=new LLMUseCommand(),_0x27634a=program[_0x43f7c6(0x1fd)](),_0x534356=await createTDXInstance(_0x27634a),_0x1c9d75=await _0x2509b3[_0x43f7c6(0x1db)]({'options':{..._0x27634a,..._0x4bfdd5},'args':[_0x13cb82],'tdx':_0x534356});gracefulExit(_0x1c9d75);}),llmCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x201))['description'](a2_0x46ad5e(0x11b))[a2_0x46ad5e(0x3ec)](async _0x1b155c=>{const _0x5053ed=a2_0x46ad5e,_0x405942=new LLMModelsCommand(),_0x12f9c9=program[_0x5053ed(0x1fd)](),_0x4698da=await createTDXInstance(_0x12f9c9),_0x49f878=await _0x405942['run']({'options':{..._0x12f9c9,..._0x1b155c},'args':[],'tdx':_0x4698da});gracefulExit(_0x49f878);});const projectCmd=llmCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x21c))[a2_0x46ad5e(0x278)]('LLM\x20project\x20management'),llmProjectListAction=async(_0x3c4a6b,_0x46f031)=>{const _0xafff52=a2_0x46ad5e,_0x26dcc0=new LLMProjectsCommand(),_0x2c6113=program[_0xafff52(0x1fd)](),_0x37db62=await createTDXInstance(_0x2c6113),_0x17ffde=await _0x26dcc0[_0xafff52(0x1db)]({'options':{..._0x2c6113,..._0x46f031},'args':_0x3c4a6b?[_0x3c4a6b]:[],'tdx':_0x37db62});gracefulExit(_0x17ffde);};projectCmd['command']('list\x20[pattern]')[a2_0x46ad5e(0x278)]('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x46ad5e(0x3ec)](llmProjectListAction),llmCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x3cf))['description']('List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0x46ad5e(0x3ec)](llmProjectListAction),projectCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x103))[a2_0x46ad5e(0x278)]('Create\x20a\x20new\x20LLM\x20project')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x33a),a2_0x46ad5e(0x1e7))[a2_0x46ad5e(0x3ec)](async(_0xa077bc,_0x828e6d)=>{const _0x3aaaee=a2_0x46ad5e,_0x3258c6=new LLMProjectCreateCommand(),_0x218458=program['opts'](),_0x2fe75e=await createTDXInstance(_0x218458),_0x483393=await _0x3258c6[_0x3aaaee(0x1db)]({'options':{..._0x218458,..._0x828e6d},'args':[_0xa077bc],'tdx':_0x2fe75e});gracefulExit(_0x483393);}),projectCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x366))['description'](a2_0x46ad5e(0x242))['action'](async(_0x40da8b,_0x1705c7)=>{const _0x6a4f5f=a2_0x46ad5e,_0xab9d2c=new LLMProjectDeleteCommand(),_0x10b060=program[_0x6a4f5f(0x1fd)](),_0x360ddf=await createTDXInstance(_0x10b060),_0x31d9e8=await _0xab9d2c[_0x6a4f5f(0x1db)]({'options':{..._0x10b060,..._0x1705c7},'args':[_0x40da8b],'tdx':_0x360ddf});gracefulExit(_0x31d9e8);}),projectCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x234))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0xdf))[a2_0x46ad5e(0x132)]('-o,\x20--output\x20<folder>',a2_0x46ad5e(0x1fb))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3e2),a2_0x46ad5e(0x17c))['action'](async(_0x11eba6,_0x39da48)=>{const _0x1745b6=a2_0x46ad5e,_0xc19ab9=new LLMProjectBackupCommand(),_0x27dc20=program['opts'](),_0x4a8d4b=await createTDXInstance(_0x27dc20),_0x53b92e=await _0xc19ab9[_0x1745b6(0x1db)]({'options':{..._0x27dc20,..._0x39da48},'args':[_0x11eba6],'tdx':_0x4a8d4b});gracefulExit(_0x53b92e);}),projectCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x3b3))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x18f))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x263),a2_0x46ad5e(0x24f))[a2_0x46ad5e(0x132)]('--dry-run',a2_0x46ad5e(0x3bc))[a2_0x46ad5e(0x3ec)](async(_0x1fa8d1,_0x15b293)=>{const _0x57358d=a2_0x46ad5e,_0x240504=new LLMProjectRestoreCommand(),_0x11883e=program[_0x57358d(0x1fd)](),_0x3d2176=await createTDXInstance(_0x11883e),_0x183aaf=await _0x240504['run']({'options':{..._0x11883e,..._0x15b293},'args':[_0x1fa8d1],'tdx':_0x3d2176});gracefulExit(_0x183aaf);});const llmAgentListAction=async(_0x23e495,_0x45bfc5)=>{const _0x2542e2=a2_0x46ad5e,_0x372a53=new LLMAgentsCommand(),_0x1ab5f0=program[_0x2542e2(0x1fd)](),_0x754e7b=await createTDXInstance(_0x1ab5f0),_0x2317d2=await _0x372a53[_0x2542e2(0x1db)]({'options':{..._0x1ab5f0,..._0x45bfc5},'args':_0x23e495?[_0x23e495]:[],'tdx':_0x754e7b});gracefulExit(_0x2317d2);};llmCmd[a2_0x46ad5e(0x327)]('agents\x20[pattern]')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x2d3))[a2_0x46ad5e(0x3ec)](llmAgentListAction),program[a2_0x46ad5e(0x327)]('agents\x20[pattern]')['description'](a2_0x46ad5e(0x2d3))[a2_0x46ad5e(0x3ec)](llmAgentListAction),llmCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x19b))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x161))[a2_0x46ad5e(0x132)]('--last',a2_0x46ad5e(0x150))[a2_0x46ad5e(0x3ec)](async(_0x3cae43,_0x424130)=>{const _0x2671a5=a2_0x46ad5e,_0x21698f=new LLMHistoryCommand(),_0x2ddb04=program['opts'](),_0x3671e7=await createTDXInstance(_0x2ddb04),_0x43ec17=await _0x21698f[_0x2671a5(0x1db)]({'options':{..._0x2ddb04,..._0x424130},'args':_0x3cae43?[_0x3cae43]:[],'tdx':_0x3671e7});gracefulExit(_0x43ec17);});isExperimentalAvailable()&&llmCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x105))['description']('[EXPERIMENTAL]\x20Show\x20chat\x20log')[a2_0x46ad5e(0x3ec)](async(_0x4d178f,_0x440698)=>{const _0xab2972=a2_0x46ad5e,_0x5799b6=new LLMLogCommand(),_0x446337=program['opts'](),_0x49b189=await createTDXInstance(_0x446337),_0x2171b2=await _0x5799b6[_0xab2972(0x1db)]({'options':{..._0x446337,..._0x440698},'args':[_0x4d178f],'tdx':_0x49b189});gracefulExit(_0x2171b2);});program[a2_0x46ad5e(0x327)]('claude\x20[args...]')['usage'](a2_0x46ad5e(0x16d))['description']('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')['option'](a2_0x46ad5e(0xca),a2_0x46ad5e(0x1ee))['option'](a2_0x46ad5e(0x3a8),a2_0x46ad5e(0xd2))['option'](a2_0x46ad5e(0x19a),'Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x134),'Force\x20an\x20MCP\x20server\x20and\x20TD\x20skills\x20refresh\x20(normally\x20automatic)')[a2_0x46ad5e(0x296)]()[a2_0x46ad5e(0x414)](!![])['addHelpText'](a2_0x46ad5e(0x33f),a2_0x46ad5e(0x3e9))[a2_0x46ad5e(0x3ec)](async(_0x5c2cda,_0x47213e)=>{const _0x566aa8=a2_0x46ad5e,_0xde6f83=program[_0x566aa8(0x1fd)](),_0x174e96=Array['isArray'](_0x5c2cda)?_0x5c2cda:[];if(_0x174e96[0x0]===_0x566aa8(0x337)){const _0x54cf57=new ClaudeStatuslineCommand(),_0x8f689c=await _0x54cf57['run']({'options':{..._0xde6f83,..._0x47213e},'args':_0x174e96[_0x566aa8(0x1c3)](0x1),'tdx':null});gracefulExit(_0x8f689c);}if(_0x174e96[0x0]===_0x566aa8(0x3f7)){const _0x181361=new ClaudeUsageCommand(),_0x89c764=await _0x181361['run']({'options':{..._0xde6f83,..._0x47213e},'args':_0x174e96[_0x566aa8(0x1c3)](0x1),'tdx':null});gracefulExit(_0x89c764);}const _0x18d7e9=new ClaudeCommand(),_0x465221=await createTDXInstance(_0xde6f83),_0x1b7379=await _0x18d7e9[_0x566aa8(0x1db)]({'options':{..._0xde6f83,..._0x47213e},'args':_0x174e96,'tdx':_0x465221});gracefulExit(_0x1b7379);}),program[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x31b))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x173))[a2_0x46ad5e(0x132)]('--clear',a2_0x46ad5e(0x160))[a2_0x46ad5e(0x132)]('--default',a2_0x46ad5e(0x22b))['action'](async(_0x215bc1,_0x4e3e57,_0x4e175c)=>{const _0x43e391=a2_0x46ad5e,_0x45ca60=new UseCommand(),_0x4f5cc7=program[_0x43e391(0x1fd)](),_0x5b67d0=[];if(_0x215bc1)_0x5b67d0[_0x43e391(0x3c2)](_0x215bc1);if(_0x4e3e57)_0x5b67d0[_0x43e391(0x3c2)](_0x4e3e57);const _0xf51afc=_0x215bc1===_0x43e391(0x162),_0x54e0c4=_0xf51afc?await createTDXInstance(_0x4f5cc7):null,_0x519b82=await _0x45ca60[_0x43e391(0x1db)]({'options':{..._0x4f5cc7,..._0x4e175c},'args':_0x5b67d0,'tdx':_0x54e0c4});gracefulExit(_0x519b82);}),program['command'](a2_0x46ad5e(0xdb))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x392))[a2_0x46ad5e(0x3ec)](async _0x5c8218=>{const _0x5644a5=a2_0x46ad5e,_0x17ede3=new StatusCommand(),_0x594040=program['opts'](),_0x9386fa=await createTDXInstance(_0x594040),_0x54f849=await _0x17ede3[_0x5644a5(0x1db)]({'options':{..._0x594040,..._0x5c8218},'args':[],'tdx':_0x9386fa});gracefulExit(_0x54f849);}),program['command'](a2_0x46ad5e(0xc8))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x2ad))[a2_0x46ad5e(0x132)]('--dry-run','Check\x20for\x20updates\x20without\x20installing')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x169),a2_0x46ad5e(0x119))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3e6),a2_0x46ad5e(0x35f))[a2_0x46ad5e(0x3ec)](async(_0x507652,_0x299f55)=>{const _0x538153=a2_0x46ad5e,_0x23e01b=new UpgradeCommand(),_0x180b7b=program[_0x538153(0x1fd)](),_0x674f13=await _0x23e01b['run']({'options':{..._0x180b7b,..._0x299f55},'args':_0x507652?[_0x507652]:[],'tdx':null});gracefulExit(_0x674f13);}),program['command'](a2_0x46ad5e(0x215))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x209))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x219),a2_0x46ad5e(0x3dc))['action'](async(_0x3f5dec,_0x44f747)=>{const _0x13d525=a2_0x46ad5e,_0x35ca06=new UnsetCommand(),_0x12e2af=program[_0x13d525(0x1fd)](),_0x420df2=await _0x35ca06[_0x13d525(0x1db)]({'options':{..._0x12e2af,..._0x44f747},'args':[_0x3f5dec],'tdx':null});gracefulExit(_0x420df2);}),program['command'](a2_0x46ad5e(0x1c8))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x152))[a2_0x46ad5e(0x132)]('--last',a2_0x46ad5e(0x1c9))[a2_0x46ad5e(0x3ec)](async _0x5cc646=>{const _0xf1c5f7=a2_0x46ad5e,_0x18b4a7=new ChatsCommand(),_0x47f3a8=program['opts'](),_0x5ebdeb=await createTDXInstance(_0x47f3a8),_0x26f01d=await _0x18b4a7[_0xf1c5f7(0x1db)]({'options':{..._0x47f3a8,..._0x5cc646},'args':[],'tdx':_0x5ebdeb});gracefulExit(_0x26f01d);});const authCmd=program['command'](a2_0x46ad5e(0x2d1))[a2_0x46ad5e(0x278)]('Authentication\x20management');async function runAuthStatusCommand(_0x1dbba3){const _0x151f79=a2_0x46ad5e,_0x4b7969=new AuthStatusCommand(),_0x3094c7=program[_0x151f79(0x1fd)](),_0x54e0e4=await createTDXInstance(_0x3094c7),_0x57d8f0=await _0x4b7969[_0x151f79(0x1db)]({'options':{..._0x3094c7,..._0x1dbba3},'args':[],'tdx':_0x54e0e4});gracefulExit(_0x57d8f0);}authCmd[a2_0x46ad5e(0x3ec)](runAuthStatusCommand),authCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0xdb))['description']('Show\x20authentication\x20status\x20and\x20validate\x20API\x20key')[a2_0x46ad5e(0x3ec)](runAuthStatusCommand);async function authSetupAction(_0x10ac41){const _0x347089=a2_0x46ad5e,_0x57576b=new AuthSetupCommand(),_0x161d48=program[_0x347089(0x1fd)](),_0x5e19d3=await createTDXInstance(_0x161d48),_0x5e93a8=await _0x57576b['run']({'options':{..._0x161d48,..._0x10ac41},'args':[],'tdx':_0x5e19d3});gracefulExit(_0x5e93a8);}authCmd[a2_0x46ad5e(0x327)]('setup')['description'](a2_0x46ad5e(0x100))['option'](a2_0x46ad5e(0x276),'Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login')['addHelpText'](a2_0x46ad5e(0x33f),'\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20ap01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a')[a2_0x46ad5e(0x3ec)](authSetupAction),authCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x3f4),{'hidden':!![]})[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x276),a2_0x46ad5e(0x1ec))[a2_0x46ad5e(0x3ec)](authSetupAction),authCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x36a))[a2_0x46ad5e(0x278)]('Remove\x20API\x20key\x20from\x20system\x20keychain')[a2_0x46ad5e(0x2c8)](a2_0x46ad5e(0x33f),a2_0x46ad5e(0x357))[a2_0x46ad5e(0x3ec)](async _0x23cd3c=>{const _0x17f097=a2_0x46ad5e,_0xf95069=new AuthClearCommand(),_0xd4a874=program[_0x17f097(0x1fd)](),_0x3e3a14=await _0xf95069[_0x17f097(0x1db)]({'options':{..._0xd4a874,..._0x23cd3c},'args':[],'tdx':null});gracefulExit(_0x3e3a14);});const userCmd=program[a2_0x46ad5e(0x327)]('user')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x23c)),userListAction=async _0x502ce5=>{const _0x312dbe=a2_0x46ad5e,_0x178de5=new UserListCommand(),_0x218390=program[_0x312dbe(0x1fd)](),_0x3d9044=await createTDXInstance(_0x218390),_0x2e2863=await _0x178de5[_0x312dbe(0x1db)]({'options':{..._0x218390,..._0x502ce5},'args':[],'tdx':_0x3d9044});gracefulExit(_0x2e2863);};userCmd[a2_0x46ad5e(0x3ec)](async _0x5d7588=>{const _0x3d2fe1=a2_0x46ad5e,_0x35a666=new UserCommand(),_0x4851d7=program['opts'](),_0x2d7de2=await createTDXInstance(_0x4851d7),_0x2bb4bc=await _0x35a666[_0x3d2fe1(0x1db)]({'options':{..._0x4851d7,..._0x5d7588},'args':[],'tdx':_0x2d7de2});gracefulExit(_0x2bb4bc);}),userCmd['command'](a2_0x46ad5e(0x112))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x2c1))[a2_0x46ad5e(0x3ec)](userListAction),program[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x2f1))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x1e6))[a2_0x46ad5e(0x3ec)](userListAction);const policyCmd=program[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x3d3))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x1e9));policyCmd[a2_0x46ad5e(0x3ec)](async _0x1b2164=>{const _0x5770ec=a2_0x46ad5e,_0x496b69=new PolicyCommand(),_0x357074=program[_0x5770ec(0x1fd)](),_0x4982d5=await createTDXInstance(_0x357074),_0x48a185=await _0x496b69[_0x5770ec(0x1db)]({'options':{..._0x357074,..._0x1b2164},'args':[],'tdx':_0x4982d5});gracefulExit(_0x48a185);}),policyCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x112))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x411))[a2_0x46ad5e(0x3ec)](async _0x79750f=>{const _0x58a5fe=a2_0x46ad5e,_0x3a302f=new PolicyListCommand(),_0x528573=program[_0x58a5fe(0x1fd)](),_0x222b98=await createTDXInstance(_0x528573),_0x3f330f=await _0x3a302f['run']({'options':{..._0x528573,..._0x79750f},'args':[],'tdx':_0x222b98});gracefulExit(_0x3f330f);}),policyCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0xd8))['description'](a2_0x46ad5e(0x358))[a2_0x46ad5e(0x3ec)](async(_0x33fc0c,_0x467a7a)=>{const _0x589a85=a2_0x46ad5e,_0x2af113=new PolicyShowCommand(),_0xb59394=program[_0x589a85(0x1fd)](),_0x4bcede=await createTDXInstance(_0xb59394),_0x4ef2e8=await _0x2af113[_0x589a85(0x1db)]({'options':{..._0xb59394,..._0x467a7a},'args':[_0x33fc0c],'tdx':_0x4bcede});gracefulExit(_0x4ef2e8);}),program[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x2dc))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x27e))[a2_0x46ad5e(0x3ec)](async _0x58ed99=>{const _0x425b97=a2_0x46ad5e,_0x4d8bd0=new ProfilesCommand(),_0x5d04eb=program[_0x425b97(0x1fd)](),_0x1cb113=await _0x4d8bd0[_0x425b97(0x1db)]({'options':{..._0x5d04eb,..._0x58ed99},'args':[],'tdx':null});gracefulExit(_0x1cb113);});const profileCmd=program[a2_0x46ad5e(0x327)]('profile')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x304));profileCmd[a2_0x46ad5e(0x3ec)](()=>{const _0x570d26=a2_0x46ad5e;profileCmd[_0x570d26(0xd3)]();});const profileListAction=async _0x384f1a=>{const _0xaf4686=a2_0x46ad5e,_0x2e1b9d=new ProfilesCommand(),_0xdd2136=program[_0xaf4686(0x1fd)](),_0x63bcec=await _0x2e1b9d['run']({'options':{..._0xdd2136,..._0x384f1a},'args':[],'tdx':null});gracefulExit(_0x63bcec);};profileCmd[a2_0x46ad5e(0x327)]('list')[a2_0x46ad5e(0x278)]('List\x20all\x20available\x20profiles')['action'](profileListAction),profileCmd[a2_0x46ad5e(0x327)]('create\x20[name]')[a2_0x46ad5e(0x278)]('Create\x20a\x20new\x20profile')['option'](a2_0x46ad5e(0x276),a2_0x46ad5e(0x1ec))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x232),'Overwrite\x20existing\x20profile')[a2_0x46ad5e(0x2c8)]('after',a2_0x46ad5e(0x24a))[a2_0x46ad5e(0x3ec)](async(_0xb76e2a,_0x43d414)=>{const _0x3f2e81=a2_0x46ad5e,_0x11c8aa=new ProfileCreateCommand(),_0x2876a6=program[_0x3f2e81(0x1fd)](),_0x33b508=await _0x11c8aa[_0x3f2e81(0x1db)]({'options':{..._0x2876a6,..._0x43d414},'args':_0xb76e2a?[_0xb76e2a]:[],'tdx':null});gracefulExit(_0x33b508);});async function profileDeleteAction(_0x260802,_0x1c6ab3){const _0x5ee6e9=a2_0x46ad5e,_0x16b857=new ProfileDeleteCommand(),_0x4747ce=program[_0x5ee6e9(0x1fd)](),_0x130c98=await _0x16b857['run']({'options':{..._0x4747ce,..._0x1c6ab3},'args':[_0x260802],'tdx':null});gracefulExit(_0x130c98);}profileCmd[a2_0x46ad5e(0x327)]('delete\x20<name>')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x39f))[a2_0x46ad5e(0x2c8)]('after',a2_0x46ad5e(0x25f))[a2_0x46ad5e(0x3ec)](profileDeleteAction),profileCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0xf1),{'hidden':!![]})[a2_0x46ad5e(0x3ec)](profileDeleteAction),profileCmd['command'](a2_0x46ad5e(0x191))['description'](a2_0x46ad5e(0x38a))[a2_0x46ad5e(0x2c8)]('after',a2_0x46ad5e(0x34c))[a2_0x46ad5e(0x3ec)](async(_0x3a73c9,_0x1854ed)=>{const _0x53e3e1=a2_0x46ad5e,_0x5ed175=new ProfileSetCommand(),_0x4e60e8=program[_0x53e3e1(0x1fd)](),_0x114a83=await _0x5ed175[_0x53e3e1(0x1db)]({'options':{..._0x4e60e8,..._0x1854ed},'args':[_0x3a73c9],'tdx':null});gracefulExit(_0x114a83);}),profileCmd['command'](a2_0x46ad5e(0x333))['description'](a2_0x46ad5e(0x3a5))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x219),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x46ad5e(0x2c8)]('after',a2_0x46ad5e(0x2e8))['action'](async(_0x25e42b,_0x9d2636)=>{const _0xc9bc02=a2_0x46ad5e,_0xc8e411=new ProfileUseCommand(),_0x2a12d0=program['opts'](),_0x9b9757=await _0xc8e411[_0xc9bc02(0x1db)]({'options':{..._0x2a12d0,..._0x9d2636},'args':[_0x25e42b],'tdx':null});gracefulExit(_0x9b9757);});const engageCmd=program[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x217))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x3ef)),createEngageAction=_0x1d9279=>{return async(_0x3fe277,_0x1d390d)=>{const _0x3a130e=a2_0x59dd,_0x48b98b=new _0x1d9279(),_0x18610e=program[_0x3a130e(0x1fd)](),_0x144efb=await createTDXInstance(_0x18610e),_0x1f2314=await _0x48b98b[_0x3a130e(0x1db)]({'options':{..._0x18610e,..._0x1d390d},'args':[_0x3fe277],'tdx':_0x144efb});gracefulExit(_0x1f2314);};},createEngageNoArgAction=_0x39aead=>{return async _0x5f37fa=>{const _0x74f9e0=a2_0x59dd,_0x3cd07d=new _0x39aead(),_0x359df2=program[_0x74f9e0(0x1fd)](),_0x452ce2=await createTDXInstance(_0x359df2),_0x3f11d2=await _0x3cd07d['run']({'options':{..._0x359df2,..._0x5f37fa},'args':[],'tdx':_0x452ce2});gracefulExit(_0x3f11d2);};},createEngageListAction=_0x3f0622=>{return async(_0x4921a1,_0x234f1c)=>{const _0x180fe5=a2_0x59dd,_0x4aa2bf=new _0x3f0622(),_0x3c576b=program[_0x180fe5(0x1fd)](),_0x5a148f=await createTDXInstance(_0x3c576b),_0xa7e222=await _0x4aa2bf['run']({'options':{..._0x3c576b,..._0x234f1c},'args':_0x4921a1?[_0x4921a1]:[],'tdx':_0x5a148f});gracefulExit(_0xa7e222);};},campaignCmd=engageCmd[a2_0x46ad5e(0x327)]('campaign')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x399));campaignCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x2c7))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x3bd))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x178),a2_0x46ad5e(0x33c))['option'](a2_0x46ad5e(0xea),a2_0x46ad5e(0x1be))['option'](a2_0x46ad5e(0x1ca),a2_0x46ad5e(0x3fd))['action'](createEngageListAction(EngageCampaignsCommand)),engageCmd['command'](a2_0x46ad5e(0x248))[a2_0x46ad5e(0x278)]('List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x178),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0xea),a2_0x46ad5e(0x1be))['option'](a2_0x46ad5e(0x1ca),a2_0x46ad5e(0x3fd))[a2_0x46ad5e(0x3ec)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x3b9))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x113))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1ca),a2_0x46ad5e(0x3fd))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2d5),a2_0x46ad5e(0x295))[a2_0x46ad5e(0x3ec)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x237))[a2_0x46ad5e(0x278)]('Create\x20a\x20new\x20campaign')[a2_0x46ad5e(0x310)]('--name\x20<name>',a2_0x46ad5e(0x1e2))[a2_0x46ad5e(0x310)](a2_0x46ad5e(0x178),a2_0x46ad5e(0x1bd))[a2_0x46ad5e(0x132)]('--workspace\x20<name>',a2_0x46ad5e(0x355))[a2_0x46ad5e(0x132)]('--description\x20<desc>',a2_0x46ad5e(0xfe))[a2_0x46ad5e(0x132)]('--segment\x20<path>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')['option'](a2_0x46ad5e(0x2c2),a2_0x46ad5e(0x403))['option'](a2_0x46ad5e(0x36f),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x22c),a2_0x46ad5e(0x39a))['option']('--timezone\x20<tz>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x46ad5e(0x3ec)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x46ad5e(0x327)]('update\x20<name-or-id>')['description']('Update\x20a\x20campaign')['option'](a2_0x46ad5e(0x1ca),a2_0x46ad5e(0x3fd))[a2_0x46ad5e(0x132)]('--name\x20<name>',a2_0x46ad5e(0x3fc))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x39c),a2_0x46ad5e(0xfe))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x19f),a2_0x46ad5e(0x3e3))[a2_0x46ad5e(0x132)]('--email-sender-id\x20<id>',a2_0x46ad5e(0x403))['option'](a2_0x46ad5e(0x36f),a2_0x46ad5e(0x26c))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x22c),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')['option'](a2_0x46ad5e(0x282),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x46ad5e(0x3ec)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command'](a2_0x46ad5e(0x108))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x1e0))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1ca),a2_0x46ad5e(0x3fd))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x12f),'Skip\x20confirmation\x20prompt')['action'](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command'](a2_0x46ad5e(0x37c))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x3aa))['option']('--workspace\x20<name>',a2_0x46ad5e(0x3fd))[a2_0x46ad5e(0x3ec)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x46ad5e(0x327)]('pause\x20<name-or-id>')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x24e))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1ca),a2_0x46ad5e(0x3fd))[a2_0x46ad5e(0x3ec)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0xf9))[a2_0x46ad5e(0x278)]('Resume\x20a\x20paused\x20campaign')[a2_0x46ad5e(0x132)]('--workspace\x20<name>',a2_0x46ad5e(0x3fd))[a2_0x46ad5e(0x3ec)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command'](a2_0x46ad5e(0x184))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x22e))['option'](a2_0x46ad5e(0x1ca),a2_0x46ad5e(0x3fd))['action'](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x164))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x1df))[a2_0x46ad5e(0x132)]('--workspace\x20<name>',a2_0x46ad5e(0x3fd))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x407),a2_0x46ad5e(0x20a))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x178),a2_0x46ad5e(0x33c))[a2_0x46ad5e(0x132)]('--dry-run',a2_0x46ad5e(0x243))[a2_0x46ad5e(0x3ec)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x3d7))['description'](a2_0x46ad5e(0x2ab))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1ca),'Workspace\x20name')['option'](a2_0x46ad5e(0x3e2),'Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0x46ad5e(0x3ec)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x46ad5e(0x327)]('validate\x20[target]')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x2d4))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x305),a2_0x46ad5e(0x2f6))[a2_0x46ad5e(0x3ec)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x126))['description'](a2_0x46ad5e(0x204));alwaysOnCampaignCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x2c7))[a2_0x46ad5e(0x278)]('List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x46ad5e(0x132)]('--type\x20<type>',a2_0x46ad5e(0x33c))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0xea),a2_0x46ad5e(0x316))[a2_0x46ad5e(0x310)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x46ad5e(0x3ec)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd['command']('always-on-campaigns\x20[pattern]')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x27d))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x178),a2_0x46ad5e(0x33c))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0xea),a2_0x46ad5e(0x316))[a2_0x46ad5e(0x310)](a2_0x46ad5e(0x1ca),'Workspace\x20name\x20(required)')[a2_0x46ad5e(0x3ec)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x46ad5e(0x327)]('show\x20<name-or-id>')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x1bc))[a2_0x46ad5e(0x310)](a2_0x46ad5e(0x1ca),a2_0x46ad5e(0x355))['option']('--full',a2_0x46ad5e(0x295))[a2_0x46ad5e(0x3ec)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd['command']('create')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x298))['requiredOption'](a2_0x46ad5e(0x407),a2_0x46ad5e(0x1e2))['requiredOption']('--type\x20<type>',a2_0x46ad5e(0x1bd))[a2_0x46ad5e(0x310)](a2_0x46ad5e(0x1ca),a2_0x46ad5e(0x355))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x39c),a2_0x46ad5e(0xfe))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x19f),a2_0x46ad5e(0x342))['option'](a2_0x46ad5e(0xe7),'Enable\x20UTM\x20tracking')[a2_0x46ad5e(0x3ec)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x2bc))[a2_0x46ad5e(0x278)]('Update\x20an\x20always-on\x20campaign')[a2_0x46ad5e(0x310)](a2_0x46ad5e(0x1ca),a2_0x46ad5e(0x355))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x407),a2_0x46ad5e(0x3fc))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x39c),'Campaign\x20description')['option'](a2_0x46ad5e(0x19f),'Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')['option'](a2_0x46ad5e(0xe7),a2_0x46ad5e(0x379))['action'](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd['command'](a2_0x46ad5e(0x108))['description']('Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)')[a2_0x46ad5e(0x310)]('--workspace\x20<name>',a2_0x46ad5e(0x355))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x12f),a2_0x46ad5e(0x176))[a2_0x46ad5e(0x3ec)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x37c))['description'](a2_0x46ad5e(0x28c))[a2_0x46ad5e(0x310)](a2_0x46ad5e(0x1ca),a2_0x46ad5e(0x355))[a2_0x46ad5e(0x3ec)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x236))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x2a2))[a2_0x46ad5e(0x310)](a2_0x46ad5e(0x1ca),a2_0x46ad5e(0x355))['action'](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0xf9))['description'](a2_0x46ad5e(0xb8))['requiredOption'](a2_0x46ad5e(0x1ca),a2_0x46ad5e(0x355))['action'](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x3cd))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0xec))[a2_0x46ad5e(0x310)]('--workspace\x20<name>',a2_0x46ad5e(0x355))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x12f),'Skip\x20confirmation\x20prompt')[a2_0x46ad5e(0x3ec)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd['command'](a2_0x46ad5e(0x184))['description'](a2_0x46ad5e(0x32e))[a2_0x46ad5e(0x310)]('--workspace\x20<name>','Workspace\x20name\x20(required)')['requiredOption'](a2_0x46ad5e(0x407),a2_0x46ad5e(0x1fe))[a2_0x46ad5e(0x3ec)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd['command'](a2_0x46ad5e(0x37a))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x3b7));templateCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x2c7))[a2_0x46ad5e(0x278)]('List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1ca),'Workspace\x20name')['action'](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x13c))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x3df))['option'](a2_0x46ad5e(0x1ca),a2_0x46ad5e(0x3fd))[a2_0x46ad5e(0x3ec)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x3b9))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x2e0))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1ca),a2_0x46ad5e(0x3fd))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2d5),a2_0x46ad5e(0x295))[a2_0x46ad5e(0x3ec)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x237))['description'](a2_0x46ad5e(0x2cc))[a2_0x46ad5e(0x310)]('--name\x20<name>',a2_0x46ad5e(0x2a6))[a2_0x46ad5e(0x310)](a2_0x46ad5e(0xd0),a2_0x46ad5e(0x2fd))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3b1),a2_0x46ad5e(0x40c))['option'](a2_0x46ad5e(0x26d),'Read\x20HTML\x20template\x20from\x20file')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1ca),'Workspace\x20name\x20(required)')['option'](a2_0x46ad5e(0x2b7),a2_0x46ad5e(0x1ef))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x389),'Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)',_0x4ecb63=>{const _0x2a4b16=a2_0x46ad5e;if(![_0x2a4b16(0x27f),_0x2a4b16(0x3c5)]['includes'](_0x4ecb63))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x2a4b16(0xe6)+_0x4ecb63+_0x2a4b16(0x3f5));return _0x4ecb63;})['action'](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x2bc))[a2_0x46ad5e(0x278)]('Update\x20an\x20email\x20template')[a2_0x46ad5e(0x132)]('--workspace\x20<name>','Workspace\x20name')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x407),a2_0x46ad5e(0x1a5))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0xd0),a2_0x46ad5e(0x2fd))['option'](a2_0x46ad5e(0x3b1),a2_0x46ad5e(0x40c))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x26d),a2_0x46ad5e(0x156))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2b7),'Plaintext\x20template\x20content')[a2_0x46ad5e(0x3ec)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x46ad5e(0x327)]('pull\x20[workspace]')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0xcd))['option']('--workspace\x20<name>','Workspace\x20name')['option']('--name\x20<name>',a2_0x46ad5e(0x39d))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3d6),a2_0x46ad5e(0x176))['option']('--dry-run',a2_0x46ad5e(0x243))[a2_0x46ad5e(0x3ec)](createEngageAction(EngageTemplatePullCommand)),templateCmd['command']('push\x20[target]')['description'](a2_0x46ad5e(0x20b))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1ca),a2_0x46ad5e(0x3fd))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3d6),'Skip\x20confirmation\x20prompt')[a2_0x46ad5e(0x132)]('--dry-run',a2_0x46ad5e(0x224))['action'](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x21e))['description'](a2_0x46ad5e(0x2ea))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x305),a2_0x46ad5e(0x2f6))[a2_0x46ad5e(0x3ec)](createEngageAction(EngageTemplateValidateCommand)),templateCmd['command'](a2_0x46ad5e(0x108))['description'](a2_0x46ad5e(0x2d0))[a2_0x46ad5e(0x132)]('--workspace\x20<name>',a2_0x46ad5e(0x3fd))[a2_0x46ad5e(0x132)]('--yes',a2_0x46ad5e(0x176))[a2_0x46ad5e(0x3ec)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command']('workspace')['description']('Workspace\x20management');workspaceCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x2c7))[a2_0x46ad5e(0x278)]('List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x46ad5e(0x3ec)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x116))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x28f))[a2_0x46ad5e(0x3ec)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x46ad5e(0x327)]('show\x20<name-or-id>')[a2_0x46ad5e(0x278)]('Show\x20workspace\x20details')['option']('--full',a2_0x46ad5e(0x295))[a2_0x46ad5e(0x3ec)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x237))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x313))[a2_0x46ad5e(0x310)]('--name\x20<name>',a2_0x46ad5e(0x3fd))['option'](a2_0x46ad5e(0x39c),'Workspace\x20description')['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x2bc))['description']('Update\x20a\x20workspace')['option'](a2_0x46ad5e(0x407),a2_0x46ad5e(0xd9))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x39c),'Workspace\x20description')['action'](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x108))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x158))[a2_0x46ad5e(0x132)]('--yes','Skip\x20confirmation\x20prompt')[a2_0x46ad5e(0x3ec)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x333))[a2_0x46ad5e(0x278)]('Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)')[a2_0x46ad5e(0x3ec)](createEngageAction(EngageWorkspaceUseCommand));const lineSenderAccountCmd=engageCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x23b))[a2_0x46ad5e(0x278)]('LINE\x20sender\x20account\x20management');lineSenderAccountCmd['command'](a2_0x46ad5e(0x2c7))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x330))['option'](a2_0x46ad5e(0x1ca),a2_0x46ad5e(0x3fd))[a2_0x46ad5e(0x3ec)](createEngageListAction(EngageLineSenderAccountsCommand)),lineSenderAccountCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x3b9))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0xde))['option'](a2_0x46ad5e(0x1ca),'Workspace\x20name')[a2_0x46ad5e(0x3ec)](createEngageAction(EngageLineSenderAccountShowCommand));const lineImagemapImageCmd=engageCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x29f))[a2_0x46ad5e(0x278)]('LINE\x20imagemap\x20image\x20management');lineImagemapImageCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x394))['description'](a2_0x46ad5e(0x2b2))[a2_0x46ad5e(0x3ec)](createEngageAction(EngageLineImagemapImageUploadCommand));const engageMediaCmd=engageCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x1cf))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x211));engageMediaCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x11e))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x246))['action'](createEngageAction(EngageMediaLsCommand)),engageMediaCmd[a2_0x46ad5e(0x327)]('upload\x20<file>')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x284))['option'](a2_0x46ad5e(0x289),a2_0x46ad5e(0x26a))[a2_0x46ad5e(0x132)]('--conflict\x20<strategy>',a2_0x46ad5e(0x32b))[a2_0x46ad5e(0x3ec)](createEngageAction(EngageMediaUploadCommand)),engageMediaCmd['command'](a2_0x46ad5e(0x1ab))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x137))['action'](createEngageAction(EngageMediaMkdirCommand)),engageMediaCmd['command'](a2_0x46ad5e(0x353))[a2_0x46ad5e(0x278)]('Delete\x20a\x20file\x20from\x20Engage\x20DAM')[a2_0x46ad5e(0x3ec)](createEngageAction(EngageMediaRmCommand)),engageMediaCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x3a3))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x104))['action'](createEngageAction(EngageMediaRmdirCommand));const deliveryCmd=program['command'](a2_0x46ad5e(0x3ab))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x101));deliveryCmd['command']('senders\x20[pattern]')['description'](a2_0x46ad5e(0x359))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1ca),a2_0x46ad5e(0x3fd))['action'](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program['command'](a2_0x46ad5e(0x268))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x18c)),connectionListAction=async _0x29923a=>{const _0x30597f=a2_0x46ad5e,_0x5cf414=new ConnectionListCommand(),_0x26d1ce=program[_0x30597f(0x1fd)](),_0x5ea583=await createTDXInstance(_0x26d1ce),_0x473bb0=await _0x5cf414[_0x30597f(0x1db)]({'options':{..._0x26d1ce,..._0x29923a},'args':[],'tdx':_0x5ea583});gracefulExit(_0x473bb0);};connectionCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x112))['description'](a2_0x46ad5e(0x183))['action'](connectionListAction),program['command']('connections',{'hidden':!![]})[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x16b))[a2_0x46ad5e(0x3ec)](connectionListAction),connectionCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x212))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x3b2))[a2_0x46ad5e(0x3ec)](async(_0x577699,_0x386b25)=>{const _0x435692=a2_0x46ad5e,_0x38f1da=new ConnectionShowCommand(),_0x119cb2=program['opts'](),_0x54c532=await createTDXInstance(_0x119cb2),_0x5c281a=await _0x38f1da[_0x435692(0x1db)]({'options':{..._0x119cb2,..._0x386b25},'args':[_0x577699],'tdx':_0x54c532});gracefulExit(_0x5c281a);}),connectionCmd[a2_0x46ad5e(0x327)]('schema\x20<type>')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x371))[a2_0x46ad5e(0x3ec)](async(_0x19095e,_0x5710f6)=>{const _0x488721=a2_0x46ad5e,_0x153f97=new ConnectionSchemaCommand(),_0x4125b6=program[_0x488721(0x1fd)](),_0xdc7c77=await createTDXInstance(_0x4125b6),_0xaa8591=await _0x153f97['run']({'options':{..._0x4125b6,..._0x5710f6},'args':[_0x19095e],'tdx':_0xdc7c77});gracefulExit(_0xaa8591);}),connectionCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x354))['description']('List\x20available\x20connector\x20types')[a2_0x46ad5e(0x3ec)](async _0x39ab79=>{const _0x4e3dee=a2_0x46ad5e,_0x2f15ad=new ConnectionTypesCommand(),_0xe9a837=program['opts'](),_0x3e2123=await createTDXInstance(_0xe9a837),_0x36a488=await _0x2f15ad[_0x4e3dee(0x1db)]({'options':{..._0xe9a837,..._0x39ab79},'args':[],'tdx':_0x3e2123});gracefulExit(_0x36a488);}),connectionCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x3ce))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x128))[a2_0x46ad5e(0x3ec)](async(_0x4d08c0,_0x4f429a)=>{const _0x21eb38=a2_0x46ad5e,_0x298b70=new ConnectionSettingsCommand(),_0x341fce=program[_0x21eb38(0x1fd)](),_0x5fa53a=await createTDXInstance(_0x341fce),_0x14835a=await _0x298b70[_0x21eb38(0x1db)]({'options':{..._0x341fce,..._0x4f429a},'args':[_0x4d08c0],'tdx':_0x5fa53a});gracefulExit(_0x14835a);});const casCmd=program['command'](a2_0x46ad5e(0x2c0))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x18b));casCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x112))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x2ae))['action'](async _0x2c8d70=>{const _0x253dd2=a2_0x46ad5e,_0x302eda=new CASListCommand(),_0x4d589d=program['opts'](),_0x4251e6=await createTDXInstance(_0x4d589d),_0x945cf4=await _0x302eda[_0x253dd2(0x1db)]({'options':{..._0x4d589d,..._0x2c8d70},'args':[],'tdx':_0x4251e6});gracefulExit(_0x945cf4);}),casCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x38e))[a2_0x46ad5e(0x278)]('Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x5217ef,_0x5bd84d)=>{const _0x593930=a2_0x46ad5e,_0x433d86=new CASDescCommand(),_0x5030f8=program[_0x593930(0x1fd)](),_0x8effce=await createTDXInstance(_0x5030f8),_0x45c094=await _0x433d86['run']({'options':{..._0x5030f8,..._0x5bd84d},'args':_0x5217ef?[_0x5217ef]:[],'tdx':_0x8effce});gracefulExit(_0x45c094);}),casCmd[a2_0x46ad5e(0x327)]('pull\x20[name]')['description'](a2_0x46ad5e(0x2f2))['option']('--dir\x20<dir>',a2_0x46ad5e(0x275))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3e2),a2_0x46ad5e(0x10f))[a2_0x46ad5e(0x3ec)](async(_0x5b683a,_0x13c206)=>{const _0x5b282e=a2_0x46ad5e,_0x12c02c=new CASPullCommand(),_0xc3c911=program['opts'](),_0xb2ddbf=await createTDXInstance(_0xc3c911),_0x569f19=await _0x12c02c[_0x5b282e(0x1db)]({'options':{..._0xc3c911,..._0x13c206},'args':_0x5b683a?[_0x5b683a]:[],'tdx':_0xb2ddbf});gracefulExit(_0x569f19);}),casCmd[a2_0x46ad5e(0x327)]('push\x20[target]')['description'](a2_0x46ad5e(0x375))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3e2),a2_0x46ad5e(0x102))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3d6),'Skip\x20confirmation\x20prompt')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x265),a2_0x46ad5e(0x2c4))[a2_0x46ad5e(0x3ec)](async(_0x366b01,_0x4dfb08)=>{const _0x27efea=a2_0x46ad5e,_0x276bb9=new CASPushCommand(),_0x56d003=program[_0x27efea(0x1fd)](),_0x261643=await createTDXInstance(_0x56d003),_0x240e49=await _0x276bb9['run']({'options':{..._0x56d003,..._0x4dfb08},'args':_0x366b01?[_0x366b01]:[],'tdx':_0x261643});gracefulExit(_0x240e49);}),casCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x21e))['description']('Validate\x20composable\x20audience\x20YAML\x20files\x20locally')[a2_0x46ad5e(0x3ec)](async(_0x1f4d6a,_0x120a02)=>{const _0x349191=a2_0x46ad5e,_0x498354=new CASValidateCommand(),_0x570c20=program[_0x349191(0x1fd)](),_0x22a138=await createTDXInstance(_0x570c20),_0x80cf3f=await _0x498354[_0x349191(0x1db)]({'options':{..._0x570c20,..._0x120a02},'args':_0x1f4d6a?[_0x1f4d6a]:[],'tdx':_0x22a138});gracefulExit(_0x80cf3f);}),casCmd[a2_0x46ad5e(0x327)]('preview\x20<segment_name>')[a2_0x46ad5e(0x278)]('Preview\x20composable\x20segment\x20query\x20on\x20CDW')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2b1),'Composable\x20audience\x20name')[a2_0x46ad5e(0x3ec)](async(_0x3698f4,_0x658667)=>{const _0x164531=a2_0x46ad5e,_0x224f25=new CASPreviewCommand(),_0xca7774=program['opts'](),_0x48a7ff=await createTDXInstance(_0xca7774),_0x27dd1c=await _0x224f25['run']({'options':{..._0xca7774,..._0x658667},'args':[_0x3698f4,_0x658667[_0x164531(0x26e)]],'tdx':_0x48a7ff});gracefulExit(_0x27dd1c);});const casSgCmd=casCmd['command']('sg')['description'](a2_0x46ad5e(0x1a9));casSgCmd[a2_0x46ad5e(0x327)]('list\x20[audience_name]')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0xf3))[a2_0x46ad5e(0x3ec)](async(_0x339aa0,_0x510492)=>{const _0x282c8a=a2_0x46ad5e,_0x57a014=new CASSegmentListCommand(),_0x552d12=program[_0x282c8a(0x1fd)](),_0x1999cf=await createTDXInstance(_0x552d12),_0x183840=await _0x57a014['run']({'options':{..._0x552d12,..._0x510492},'args':_0x339aa0?[_0x339aa0]:[],'tdx':_0x1999cf});gracefulExit(_0x183840);}),casSgCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x189))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x1d2))[a2_0x46ad5e(0x132)]('--audience\x20<name>',a2_0x46ad5e(0x35d))['option'](a2_0x46ad5e(0x3e2),a2_0x46ad5e(0x102))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3d6),a2_0x46ad5e(0x176))[a2_0x46ad5e(0x132)]('--delete',a2_0x46ad5e(0xfb))[a2_0x46ad5e(0x3ec)](async(_0x3c9266,_0x24cc77)=>{const _0x57beea=a2_0x46ad5e,_0x58eff9=new CASSegmentPushCommand(),_0x35e9a9=program[_0x57beea(0x1fd)](),_0x15bcd3=await createTDXInstance(_0x35e9a9),_0x5c285a=await _0x58eff9['run']({'options':{..._0x35e9a9,..._0x24cc77},'args':[_0x3c9266],'tdx':_0x15bcd3});gracefulExit(_0x5c285a);});const journeyCmd=program[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x39e))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x400)),journeyListAction=async(_0x32e9c5,_0x6fc640)=>{const _0x4565e8=a2_0x46ad5e,_0x40c422=new JourneyListCommand(),_0x1bb323=program[_0x4565e8(0x1fd)](),_0x26c3ab=await createTDXInstance(_0x1bb323),_0x5e24b4=await _0x40c422[_0x4565e8(0x1db)]({'options':{..._0x1bb323,..._0x6fc640},'args':_0x32e9c5?[_0x32e9c5]:[],'tdx':_0x26c3ab});gracefulExit(_0x5e24b4);};journeyCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x2c7))['description']('List\x20journeys\x20in\x20current\x20context')['action'](journeyListAction),journeyCmd['command'](a2_0x46ad5e(0x40b))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x110))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x360),a2_0x46ad5e(0x1b5))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3d1),'Include\x20execution\x20statistics')[a2_0x46ad5e(0x3ec)](async(_0x5d108c,_0x154880)=>{const _0x330273=a2_0x46ad5e,_0x24a3f9=new JourneyViewCommand(),_0x31668d=program[_0x330273(0x1fd)](),_0x57287d=await createTDXInstance(_0x31668d),_0x4d5cc6=await _0x24a3f9[_0x330273(0x1db)]({'options':{..._0x31668d,..._0x154880},'args':[_0x5d108c],'tdx':_0x57287d});gracefulExit(_0x4d5cc6);}),journeyCmd['command'](a2_0x46ad5e(0x2a1))['description'](a2_0x46ad5e(0xf6))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x29e),a2_0x46ad5e(0x18d))[a2_0x46ad5e(0x132)]('--from\x20<date>','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1d1),a2_0x46ad5e(0x32a))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x17a),a2_0x46ad5e(0x147))['action'](async(_0x39ccc7,_0x57e3ca)=>{const _0x16e48c=a2_0x46ad5e,_0x3ea42b=new JourneyStatsCommand(),_0x302368=program[_0x16e48c(0x1fd)](),_0x663d0f=await createTDXInstance(_0x302368),_0x13c9b3=await _0x3ea42b['run']({'options':{..._0x302368,..._0x57e3ca},'args':[_0x39ccc7],'tdx':_0x663d0f});gracefulExit(_0x13c9b3);}),journeyCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x195))[a2_0x46ad5e(0x278)]('Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)')[a2_0x46ad5e(0x132)]('--type\x20<type>','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x14b),a2_0x46ad5e(0x143))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1d1),a2_0x46ad5e(0x32a))[a2_0x46ad5e(0x132)]('--limit\x20<number>',a2_0x46ad5e(0x322),_0x2af470=>{const _0x10f6ed=a2_0x46ad5e,_0x278a24=parseInt(_0x2af470,0xa);if(isNaN(_0x278a24))throw new Error(_0x10f6ed(0x272)+_0x2af470+_0x10f6ed(0x1bb));return _0x278a24;})[a2_0x46ad5e(0x3ec)](async(_0x38e623,_0x5811a5)=>{const _0x1a2678=a2_0x46ad5e,_0x21eab7=new JourneyTrafficCommand(),_0x15e62f=program['opts'](),_0x50d751=await createTDXInstance(_0x15e62f),_0x2f9545=await _0x21eab7[_0x1a2678(0x1db)]({'options':{..._0x15e62f,..._0x5811a5},'args':[_0x38e623],'tdx':_0x50d751});gracefulExit(_0x2f9545);}),journeyCmd[a2_0x46ad5e(0x327)]('pause\x20<name-or-path>')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x13a))[a2_0x46ad5e(0x3ec)](async(_0x48e398,_0x251b82)=>{const _0x32c605=a2_0x46ad5e,_0xc25516=new JourneyPauseCommand(),_0x14a5ea=program[_0x32c605(0x1fd)](),_0x26a633=await createTDXInstance(_0x14a5ea),_0xdbca3c=await _0xc25516[_0x32c605(0x1db)]({'options':{..._0x14a5ea,..._0x251b82},'args':[_0x48e398],'tdx':_0x26a633});gracefulExit(_0xdbca3c);}),journeyCmd['command'](a2_0x46ad5e(0x1b1))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x2ba))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3e2),a2_0x46ad5e(0x111))[a2_0x46ad5e(0x3ec)](async(_0x313248,_0x38a537)=>{const _0x4b7cc7=a2_0x46ad5e,_0x57abbb=new JourneyRunCommand(),_0x4add69=program['opts'](),_0x15d1fc=await createTDXInstance(_0x4add69),_0x42c17d=await _0x57abbb[_0x4b7cc7(0x1db)]({'options':{..._0x4add69,..._0x38a537},'args':[_0x313248],'tdx':_0x15d1fc});gracefulExit(_0x42c17d);}),journeyCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x35c))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x413))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3e2),'Show\x20journey\x20details\x20and\x20activation\x20targets\x20without\x20resuming')[a2_0x46ad5e(0x3ec)](async(_0x56154a,_0x4b3355)=>{const _0x2e020e=a2_0x46ad5e,_0x2d2727=new JourneyResumeCommand(),_0x1e0e7b=program['opts'](),_0x255dbe=await createTDXInstance(_0x1e0e7b),_0x58d6dc=await _0x2d2727[_0x2e020e(0x1db)]({'options':{..._0x1e0e7b,..._0x4b3355},'args':[_0x56154a],'tdx':_0x255dbe});gracefulExit(_0x58d6dc);}),journeyCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x328))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x365))[a2_0x46ad5e(0x132)]('--dry-run','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')[a2_0x46ad5e(0x3ec)](async(_0x5d4726,_0xa799a1)=>{const _0x184002=a2_0x46ad5e,_0x2d6914=new JourneyPullCommand(),_0x4a7404=program[_0x184002(0x1fd)](),_0x422062=await createTDXInstance(_0x4a7404),_0x5be77b=await _0x2d6914[_0x184002(0x1db)]({'options':{..._0x4a7404,..._0xa799a1},'args':_0x5d4726?[_0x5d4726]:[],'tdx':_0x422062});gracefulExit(_0x5be77b);}),journeyCmd['command'](a2_0x46ad5e(0x3d7))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x12c))[a2_0x46ad5e(0x3ec)](async(_0x44104e,_0x370caa)=>{const _0x222b1e=a2_0x46ad5e,_0x185ce1=new JourneyPushCommand(),_0x10754c=program['opts'](),_0xc5e680=await createTDXInstance(_0x10754c),_0x1c737c=await _0x185ce1[_0x222b1e(0x1db)]({'options':{..._0x10754c,..._0x370caa},'args':_0x44104e?[_0x44104e]:[],'tdx':_0xc5e680});gracefulExit(_0x1c737c);}),journeyCmd[a2_0x46ad5e(0x327)]('columns\x20<name-or-path>')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x270))[a2_0x46ad5e(0x3ec)](async(_0x498bca,_0x2e384b)=>{const _0x2eab8a=a2_0x46ad5e,_0x41e78c=new JourneyColumnsCommand(),_0x407806=program[_0x2eab8a(0x1fd)](),_0x5e5eab=await createTDXInstance(_0x407806),_0x3be43d=await _0x41e78c[_0x2eab8a(0x1db)]({'options':{..._0x407806,..._0x2e384b},'args':[_0x498bca],'tdx':_0x5e5eab});gracefulExit(_0x3be43d);}),journeyCmd['command']('activations\x20<name-or-path>')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x1b4))['action'](async(_0x359c0b,_0x5cf03f)=>{const _0x237b5d=new JourneyActivationsCommand(),_0x2a11ea=program['opts'](),_0x1165f8=await createTDXInstance(_0x2a11ea),_0xe6aa51=await _0x237b5d['run']({'options':{..._0x2a11ea,..._0x5cf03f},'args':[_0x359c0b],'tdx':_0x1165f8});gracefulExit(_0xe6aa51);}),journeyCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0xbe))['description']('List\x20all\x20versions\x20of\x20a\x20journey')[a2_0x46ad5e(0x3ec)](async(_0x5262c0,_0x46f53b)=>{const _0x5f05c5=a2_0x46ad5e,_0x3a3320=new JourneyVersionsCommand(),_0x4d5fcf=program[_0x5f05c5(0x1fd)](),_0x1f9bef=await createTDXInstance(_0x4d5fcf),_0x3fa5bb=await _0x3a3320['run']({'options':{..._0x4d5fcf,..._0x46f53b},'args':[_0x5262c0],'tdx':_0x1f9bef});gracefulExit(_0x3fa5bb);});const journeyVersionCmd=journeyCmd['command'](a2_0x46ad5e(0x3b4))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x121));function a2_0x2ee5(){const _0x2c0f9a=['update\x20<service_id>\x20[parent_segment]','upload\x20<file>','Preview\x20changes\x20without\x20pushing','Show\x20segment\x20details\x20(alias\x20for\x20view)','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','Pull\x20specific\x20revision\x20(default:\x20latest)','Campaign\x20management','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Folder\x20name\x20for\x20organization','--description\x20<desc>','Pull\x20specific\x20template\x20by\x20name','journey','Delete\x20a\x20profile','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','rmdir\x20<path>','Retry\x20limit\x20(0\x20to\x2032)','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','--system-prompt\x20<text>','sessions\x20[project]','-r,\x20--resume','Resume\x20scheduling\x20from\x20this\x20time\x20instead\x20of\x20the\x20schedule\x20definition\x20(ISO-8601,\x20e.g.\x202026-12-31T23:59:00+00:00)','Launch\x20a\x20campaign','delivery','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Safely\x20move\x20one\x20or\x20more\x20segments\x20(by\x20ID\x20or\x20name)\x20to\x20a\x20folder\x20—\x20preserves\x20rules','configureHelp','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','site','--html\x20<html>','Show\x20connection\x20details\x20by\x20name','restore\x20<folder>','version','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','Email\x20template\x20management','mcp','show\x20<name-or-id>','jsonl','--assignee\x20<assignee>','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Database\x20name','gitRevision','Sections\x20as\x20an\x20inline\x20JSON\x20array','use\x20<project-name>','push','--cron\x20<expression>','deleted','grapesjs','Output\x20file\x20path\x20(default:\x20<name>.yml)','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Workflow\x20project\x20management','update\x20<name>','--rule\x20<json>','Version\x20number\x20to\x20view','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','finish\x20<name-or-id>','settings\x20<type>','projects\x20[pattern]','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','--include-stats','new\x20<title>','policy','segment','job','-y,\x20--yes','push\x20[target]','Override\x20project\x20name','long','List\x20workflow\x20schedules\x20(alias\x20for\x20`schedule\x20list`)','desc','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Read\x20SQL\x20query\x20from\x20file','Output\x20as\x20JSON\x20Lines','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Open\x20segment\x20in\x20web\x20browser','--data\x20<data>','--dry-run','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Apply\x20a\x20template','-o,\x20--output\x20<dir>','--method\x20<pm>','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','\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\x20--refresh\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Force-refresh\x20MCP\x20servers\x20and\x20TD\x20skills\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\x0a\x0aTD\x20skills\x20and\x20the\x20td-docs\x20MCP\x20server\x20are\x20set\x20up\x20automatically,\x20skipping\x20whatever\x20is\x0aalready\x20in\x20place.\x20Skills\x20refresh\x20on\x20every\x20tdx\x20upgrade,\x20and\x20at\x20least\x20every\x20two\x20weeks.','Output\x20as\x20JSON','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','action','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','--model\x20<name>','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','--tags\x20<tags>','delete\x20<agent-name>','Updated\x20timezone','Skip\x20validation\x20of\x20.dig\x20files','login','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Show\x20only\x20master\x20table\x20validation','usage','profile','tsv','--result\x20<target>','table','New\x20campaign\x20name','Workspace\x20name','hidden','Database\x20name\x20(default:\x20information_schema)','CDP\x20Journey\x20Orchestration\x20commands','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','schedules\x20[project.workflow]','Email\x20sender\x20ID\x20for\x20delivery','--attribute\x20[name]','workflows\x20[project]','INVALID_ARGUMENT','--name\x20<name>','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','update\x20<segment_name>','delete\x20<args...>','view\x20<name-or-path>','HTML\x20template\x20content','-v,\x20--verbose','System\x20prompt/instructions\x20(default:\x20empty)','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','--schedule-option\x20<value>','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','Delete\x20a\x20realtime\x20personalization','Resume\x20a\x20paused\x20journey','allowExcessArguments','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','--num\x20<1-10>','Resume\x20a\x20paused\x20always-on\x20campaign','find','exit','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Master\x20database\x20name','5624156SetkwS','versions\x20<name-or-path>','Link\x20workspace\x20to\x20a\x20GitHub\x20repository','yellow','--database\x20<name>','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','session','test\x20[path]','schedule','YAML\x20file\x20path\x20for\x20unpushed\x20segment','upgrade\x20[version]','Run\x20tests\x20for\x20an\x20LLM\x20agent','-c,\x20--continue','accessToken','_list-commands','Pull\x20templates\x20to\x20YAML\x20files','--agent\x20<ref>','argumentDescription','--subject\x20<subject>','--from\x20<timestamp>','Resume\x20a\x20conversation\x20(shows\x20selector)','outputHelp','Validate\x20journey\x20YAML\x20files\x20locally','Change\x20to\x20directory\x20before\x20executing\x20command','Cron\x20expression\x20for\x20scheduling','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','show\x20<policy>','New\x20workspace\x20name','Upload\x20workflow\x20project\x20to\x20Treasure\x20AI\x20(digdag-style)','status','pause_activations\x20<journeyId>','Run\x20specific\x20tests\x20(comma-separated)','Show\x20LINE\x20sender\x20account\x20details','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','show\x20[name]','--from\x20<n>','Query\x20type:\x20trino\x20or\x20hive','171pLpWqs','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','Invalid\x20editor\x20type:\x20','--enable-utm-tracking','use\x20<path>','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','--status\x20<status>','argument','Finish\x20an\x20always-on\x20campaign','Options:','Agent\x20prompt/instructions','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','remove\x20<name>','stringify','List\x20composable\x20segments\x20for\x20an\x20audience','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','map','Show\x20journey\x20statistics','Show\x20document\x20details','-a,\x20--agent\x20<name>','resume\x20<name-or-id>','Timezone\x20(e.g.,\x20America/Los_Angeles)','Delete\x20the\x20named\x20segment\x20instead\x20of\x20creating/updating\x20it\x20(single\x20segment\x20only,\x20not\x20a\x20directory\x20prune\x20—\x20disabled\x20by\x20default)','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Campaign\x20description','colorFn','Setup\x20API\x20key\x20authentication\x20interactively','Delivery\x20operations\x20(email\x20senders)','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','create\x20<name>','Delete\x20a\x20directory\x20from\x20Engage\x20DAM\x20(must\x20be\x20empty)','log\x20<chat-id>','padWidth','Recurse.\x20Alone:\x20show\x20the\x20full\x20tree.\x20With\x20a\x20<pattern>:\x20search\x20the\x20whole\x20tree\x20by\x20name\x20(case-insensitive;\x20a\x20plain\x20string\x20matches\x20as\x20a\x20substring,\x20`*`\x20and\x20`?`\x20are\x20wildcards)\x20and\x20print\x20each\x20match\x20with\x20its\x20full\x20folder\x20path\x20for\x20use\x20with\x20`sg\x20move`','delete\x20<name-or-id>','Pull\x20child\x20segments\x20to\x20YAML\x20files','Get\x20job\x20results','commandUsage','--table\x20<table>','Start\x20a\x20new\x20chat\x20session','--jsonl','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Show\x20journey\x20details','Show\x20journey\x20details\x20and\x20activation\x20targets\x20without\x20triggering','list','Show\x20campaign\x20details','describe','Starting\x20offset\x20(default:\x200)','workspaces\x20[pattern]','List\x20agents\x20in\x20current\x20project','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','push\x20[parent_or_file]','List\x20available\x20LLM\x20models','work','--all','ls\x20[path]','--backfill','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','Journey\x20version\x20management','--in\x20<database>','registeredArguments','summary','Open\x20parent\x20segment\x20in\x20web\x20browser','always-on-campaign','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','Path\x20is\x20not\x20a\x20directory:\x20','stderr','Set\x20operation\x20timeout\x20in\x20seconds','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20AI','Show\x20job\x20details','list\x20[project.workflow]','--yes','--session\x20<id>','List\x20recoverable\x20deleted\x20tables\x20(last\x207\x20days)','option','list\x20[project]','--refresh','RT\x202.0\x20configuration\x20management','Clear\x20workflow\x20project\x20context','Create\x20a\x20directory\x20in\x20Engage\x20DAM','--no-eval','filter','Pause\x20a\x20running\x20journey','-d,\x20--database\x20<database>','templates\x20[pattern]','INFO','options','Resume\x20from\x20specific\x20task','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Create\x20a\x20new\x20document','--time\x20<iso8601>','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','Show\x20schedule\x20details','Master\x20table\x20name','Include\x20raw\x20history\x20data\x20in\x20output','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','_hidden','chat\x20[message...]','--from\x20<date>','--table','--sections\x20<json>','preAction','--customer-group-file\x20<file>','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','Interactive\x20chat\x20selector','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs\x20(opt-in)','Skip\x20confirmation\x20prompts','Maximum\x20tool\x20iterations\x20(default:\x204)','Read\x20HTML\x20template\x20from\x20file','show\x20[table]','Delete\x20a\x20workspace','--json','[attempt-id]','query\x20[sql]','-f,\x20--file\x20<path>','--name\x20<text>','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','Clear\x20session\x20context','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','engage_workspace','Show\x20items\x20updated\x20within\x20N\x20days','pull\x20[workspace-name]','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','folder','--version\x20<number>','--reeval','--next','patch\x20<personalization_id>','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','--kind\x20<kind>','[options]\x20--\x20[claude-code-args...]','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','show\x20<personalization_id>','show\x20<service_id>\x20[parent_segment]','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','item','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','trino','Show\x20a\x20single\x20schedule\x20by\x20its\x20ID','Skip\x20confirmation\x20prompt','Attributes\x20from\x20JSON\x20file','--type\x20<type>','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','--include-history','--schedule-id\x20<id>','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Show\x20the\x20task\x20graph\x20and\x20side-effect\x20warnings\x20without\x20executing','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Reason\x20for\x20killing\x20the\x20attempt','--database\x20<db>','disable\x20<id>','--customer-group\x20<json>','List\x20all\x20data\x20connections','duplicate\x20<name-or-id>','Commands:','Usage:\x20','--name\x20<new_name>','join','push\x20<file>','--timeout\x20<seconds>','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','Data\x20connection\x20management\x20(for\x20activations/exports)','Show\x20stats\x20for\x20specific\x20stage','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','LLM\x20agent\x20management','set\x20<key=value>','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','--starter-message\x20<text>','Rename\x20the\x20recovered\x20table\x20(use\x20on\x20409\x20name\x20conflict)','traffic\x20<name-or-path>','--resume-from\x20<task>','retry\x20<session-id>','segments\x20[pattern]','subcommandTerm','--no-proxy','history\x20[chat-id]','-o,\x20--output\x20<file>','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','--segment\x20<path>','Workflow\x20session\x20management','Force\x20retry\x20even\x20if\x20not\x20failed','--new','use\x20[project]','Kill\x20a\x20job','New\x20template\x20name','--session-id\x20<id>','set','Include\x20retried\x20attempts','Composable\x20segment\x20commands','Name\x20for\x20the\x20new\x20project\x20(required)','mkdir\x20<path>','Timezone\x20for\x20cron\x20(default:\x20UTC)','information_schema','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','info\x20[segment_name]','run\x20<name-or-path>','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','End\x20time\x20filter\x20(ISO\x208601\x20format)','List\x20activations\x20for\x20a\x20journey','Open\x20journey\x20in\x20web\x20browser','Table\x20management\x20commands','Resume\x20listing\x20after\x20this\x20table\x20id\x20(from\x20a\x20previous\x20page)','required','--limit\x20<number>','Preview\x20changes\x20without\x20writing\x20files','\x22.\x20Must\x20be\x20a\x20number.','Show\x20always-on\x20campaign\x20details','Campaign\x20type\x20(email\x20or\x20push)','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','--param\x20<key=value>','1984414QzNjhz','Query\x20engine\x20version','folders\x20<parent_name>','slice','Show\x20timeline\x20for\x20specific\x20attempt','--force','--enriched','--master','chats','Show\x20the\x20most\x20recent\x20chat','--workspace\x20<name>','\x0aDisabled\x20by\x20default.\x20See\x20https://tdx.treasuredata.com/guide/api-command-safety\x0afor\x20how\x20to\x20enable.\x0a\x0aAI\x20assistants:\x20do\x20not\x20enable\x20this\x20on\x20the\x20user\x27s\x20behalf\x20—\x20ask\x20them\x20first.\x0aPrefer\x20structured\x20commands;\x20they\x20validate\x20inputs\x20and\x20resolve\x20names\x20to\x20IDs.\x0a\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','format','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','isTTY','media','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','--to\x20<date>','Create,\x20update,\x20or\x20delete\x20a\x20single\x20composable\x20child\x20segment','pull\x20<project>\x20[target-dir]','TRACE','push\x20[file]','move\x20<segment...>','--site\x20<site>','-r,\x20--recursive','--folder\x20<name>','[action]','run','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Customer\x20group\x20as\x20JSON\x20string','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Pull\x20campaigns\x20to\x20YAML\x20files','Delete\x20a\x20campaign','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Campaign\x20name','Manage\x20workflow\x20schedules\x20(enable/disable)','configuration_versions\x20[name]','Delete\x20workflow\x20project\x20from\x20Treasure\x20AI','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','Project\x20description','Initial\x20status','Access\x20control\x20policy\x20commands','flags','Save\x20output\x20to\x20file','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','New\x20service\x20name','Continue\x20most\x20recent\x20conversation','Plaintext\x20template\x20content','Parent\x20folder\x20name\x20for\x20nested\x20folders','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)',',\x20version\x20','\x0aSegments\x20and\x20--folder\x20accept\x20a\x20numeric\x20ID\x20or\x20a\x20name/path,\x20resolved\x20(case-insensitive)\x0awithin\x20the\x20current\x20parent\x20segment.\x20Names\x20need\x20a\x20parent\x20context\x20(tdx\x20sg\x20use\x20/\x20--parent-segment).\x0a\x0aExamples:\x0a\x20\x20tdx\x20sg\x20move\x201603887\x20--folder\x208299501\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20move\x20by\x20ID\x0a\x20\x20tdx\x20sg\x20move\x20\x22VIP\x20Customers\x22\x20--folder\x20\x22Archive\x22\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20move\x20by\x20name\x0a\x20\x20tdx\x20sg\x20move\x20\x22Marketing/VIP\x20Customers\x22\x20--folder\x20\x22Marketing/Archive\x22\x20\x20\x20nested\x20path\x0a\x20\x20tdx\x20sg\x20move\x201603887\x20--folder\x208299501\x20--dry-run\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20preview,\x20no\x20changes\x0a\x0aDon\x27t\x20know\x20where\x20a\x20segment\x20lives\x20(or\x20the\x20name\x20is\x20nested)?\x20Find\x20it\x20first,\x20then\x20move\x20by\x20the\x20printed\x20path:\x0a\x20\x20tdx\x20sg\x20list\x20\x22<name>\x22\x20-r\x0aIf\x20a\x20bare\x20name\x20matches\x20several\x20segments,\x20the\x20move\x20refuses\x20and\x20lists\x20them\x20—\x20pass\x20the\x20intended\x20full\x20path\x20or\x20id.','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','Custom\x20revision\x20name\x20(default:\x20timestamp)','parents\x20[pattern]','--priority\x20<priority>','attempts\x20[project]','commands','Output\x20folder\x20(default:\x20{project_name}.llm)','Personalization\x20name','opts','Name\x20for\x20the\x20duplicated\x20campaign','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','injectIntoOptions','models','List\x20jobs','Action:\x20logs,\x20tasks,\x20kill,\x20retry','Always-on\x20campaign\x20management','--include-subtasks','Initialize\x20a\x20new\x20workspace','Arguments:','parent','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','Pull\x20specific\x20campaign\x20by\x20name','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','Personalization\x20service\x20token\x20management','recover\x20<id>','catch','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','95039xvwqRj','Engage\x20DAM\x20media\x20management','show\x20<name>','--path\x20<file-path>','Database\x20to\x20query\x20(default:\x20information_schema)','unset\x20<resource>','-d,\x20--database\x20<db>','engage','init\x20[name]','--default','--schedule-type\x20<type>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','project','--template\x20<name>','validate\x20[target]','Agent\x20description','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','padEnd','Revision\x20name\x20(default:\x20timestamp)','--folder\x20<folder>','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','optionTerm','354cdKHBQ','Preview\x20operation\x20without\x20executing','help','isDirectory','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','--start-at\x20<datetime>','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','Duplicate\x20a\x20campaign','variadic','--add-behaviors\x20<json>','run\x20<name>','-f,\x20--force','--file\x20<path>','backup\x20<name>','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20AI','pause\x20<name-or-id>','create','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','log','New\x20segment\x20name','line-sender-account','User\x20management\x20commands','sql\x20[name]','show\x20<agent-name>','Open\x20a\x20document\x20in\x20$EDITOR','logs','--tsv','Delete\x20an\x20LLM\x20project','Show\x20what\x20would\x20be\x20written\x20without\x20writing','retry','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','List\x20Engage\x20DAM\x20directory\x20contents','Assignee','campaigns\x20[pattern]','274724ntEygm','\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','--trace','Show\x20agent\x20details','Page\x20size\x201-100\x20(default\x2025)','Pause\x20a\x20campaign','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','directory','Move\x20to\x20folder','Workflow\x20parameter\x20(repeatable)','-H,\x20--header\x20<header>','Database\x20management\x20commands','create\x20<name-or-path>','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Show\x20master\x20table\x20sample\x20data','Pull\x20workflow\x20project\x20to\x20local\x20folder','pull\x20[project]\x20[agent-name]','apiKey','5033784wvBtup','push\x20[path]','parse','Priority\x20(critical,\x20high,\x20medium,\x20low)','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a','includes','Delete\x20a\x20scheduled\x20query','Run\x20backfill\x20sessions\x20for\x20the\x20gap\x20while\x20the\x20schedule\x20was\x20disabled\x20(off\x20by\x20default)','--name\x20<new-name>','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','--delete','--audience-id\x20<id>','--cursor-id\x20<id>','connection','--next-time\x20<time>','Destination\x20folder\x20in\x20DAM\x20(default:\x20root)','Restore\x20into\x20a\x20different\x20database\x20(use\x20on\x20409\x20db\x20conflict)','JSON\x20columns\x20for\x20connector\x20(comma-separated)','--html-file\x20<path>','audience','-C,\x20--directory\x20<path>','Show\x20journey\x20table\x20column-to-step\x20mapping','--retry-limit\x20<0~32>','Invalid\x20--limit\x20value:\x20\x22','length','Push\x20without\x20confirmation','Target\x20directory\x20for\x20YAML\x20files','--account-name\x20<name>','forEach','description','logLevel','api\x20[endpoint]','trace','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','List\x20all\x20available\x20profiles','beefree','\x20(resolved\x20to\x20','--invisible','--timezone\x20<tz>','upgrade','Upload\x20an\x20image\x20to\x20Engage\x20DAM\x20(JPEG/PNG/GIF/SVG)','\x0aNeeds\x20a\x20parent\x20segment\x20context\x20(tdx\x20sg\x20use\x20/\x20--parent-segment).\x20Add\x20--format\x20json\x20for\x20machine\x20output.\x0a\x0aExamples:\x0a\x20\x20tdx\x20sg\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20list\x20the\x20current\x20context\x20(folders\x20+\x20segments)\x0a\x20\x20tdx\x20sg\x20list\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20full\x20tree\x0a\x20\x20tdx\x20sg\x20list\x20\x22VIP\x22\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20find\x20every\x20segment/folder\x20whose\x20name\x20contains\x20\x22VIP\x22\x20(with\x20its\x20path)\x0a\x20\x20tdx\x20sg\x20list\x20\x22Q1\x20*\x22\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wildcard\x20search\x0a\x20\x20tdx\x20sg\x20list\x20\x22VIP\x22\x20-r\x20--format\x20json\x20\x20\x20\x20same,\x20as\x20JSON\x20for\x20jq/grep\x0a\x0aUse\x20a\x20printed\x20path\x20with\x20`tdx\x20sg\x20move`.','json','attempt:','push\x20[name]','--path\x20<folder>','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','Folder\x20description','Launch\x20an\x20always-on\x20campaign','Resume\x20activations\x20in\x20an\x20RT\x20journey','subcommandDescription','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','--reason\x20<text>','chdir','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','--parent-segment\x20<name>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','allowUnknownOption','Preview\x20the\x20move\x20without\x20changing\x20anything\x20(no\x20data\x20is\x20modified)','Create\x20a\x20new\x20always-on\x20campaign','--include-retried','Ending\x20offset\x20(default:\x2020)','Workflow\x20attempt\x20management','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','create\x20<name>\x20<service_id>\x20[parent_segment]','--stage\x20<name>','line-imagemap-image','claude-4.5-sonnet','stats\x20<name-or-path>','Pause\x20an\x20always-on\x20campaign','fields\x20[name]','clone\x20[source-dir]','--skip-validation','Template\x20name','Transition\x20a\x20task\x20to\x20a\x20new\x20status','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Create\x20a\x20scheduled\x20query','Show\x20Kanban\x20board\x20view\x20of\x20tasks','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','3vsPGEI','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','List\x20composable\x20audiences','Filtering\x20rule\x20as\x20JSON\x20string','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','--audience\x20<name>','Upload\x20an\x20image\x20for\x20LINE\x20imagemap\x20(JPEG/PNG,\x20min\x201040px,\x20max\x2010MB)','--page-size\x20<n>','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','--params\x20<json>','delete\x20<project-name-or-id>','--plaintext\x20<text>','Updated\x20schedule\x20option','833800BDrRQZ','Trigger\x20on-demand\x20journey\x20workflow\x20execution','RT\x20Journey\x20management','update\x20<name-or-id>','Disable\x20a\x20workflow\x20schedule','argv','--behavior\x20[name]','cas','List\x20all\x20users\x20in\x20the\x20account','--email-sender-id\x20<id>','Include\x20subtasks\x20in\x20tasks\x20output','Allow\x20removing\x20audience\x20attributes/behaviors\x20not\x20in\x20local\x20YAML\x20(disabled\x20by\x20default)','Describe\x20table\x20schema','--revision\x20<revision>','list\x20[pattern]','addHelpText','Personalization\x20service\x20management','create\x20<name>\x20[parent_segment]','alias','Create\x20an\x20email\x20template','--session-time\x20<time>','Document\x20body\x20text','run\x20[name]','Delete\x20an\x20email\x20template','auth','move\x20<name>\x20<status>','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Validate\x20campaign\x20YAML\x20files\x20locally','--full','--rule-file\x20<file>','Result\x20output\x20destination\x20URL','Target\x20folder\x20(destination)\x20—\x20numeric\x20ID\x20or\x20name/path','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','database','Segment\x20description','profiles','Attempt\x20ID','--engine-version\x20<version>','Database\x20name\x20(required)','Show\x20email\x20template\x20details','--days\x20<n>','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','List\x20workflow\x20schedules\x20(filter\x20by\x20project\x20or\x20project.workflow)','--interval\x20<range>','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Job\x20priority\x20(-2\x20to\x202)','Overwrite\x20local\x20changes\x20without\x20confirmation','\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','--public','Validate\x20template\x20YAML\x20files\x20locally','Scheduled\x20query\x20management\x20commands','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','--format\x20<format>','Agent\x20name','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','--add-attributes\x20<json>','users','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','error','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','sql\x20[segment_name]','Show\x20all\x20files\x20including\x20valid\x20ones','--limit\x20<rows>','--behaviors\x20<json>','Read\x20request\x20body\x20from\x20file','name','-X,\x20--method\x20<method>','--attempt-id\x20<id>','Email\x20subject\x20template','Include\x20all\x20items\x20(no\x20stale\x20filtering)','--follow','Parent\x20segment\x20description','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','show\x20[segment_name]','Update\x20a\x20scheduled\x20query','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','--verbose','--job-type\x20<type>','update\x20<agent-name>','--body\x20<body>','us01','history\x20<name>','--max-depth\x20<depth>','Update\x20an\x20existing\x20agent','Job\x20management\x20commands','secrets','view\x20[segment_name]','requiredOption','--llm-project\x20<name>','Show\x20a\x20specific\x20realtime\x20personalization','Create\x20a\x20workspace','25865zwJPAq','Pause\x20activations\x20in\x20an\x20RT\x20journey','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','Add\x20behaviors\x20from\x20JSON\x20file','Read\x20query\x20from\x20file','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','use\x20[resource]\x20[value]','Follow/watch\x20timeline\x20for\x20running\x20attempts','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','buildTime','get','repeat','Push\x20YAML\x20files\x20to\x20Treasure\x20AI\x20as\x20child\x20segments','Maximum\x20number\x20of\x20nodes','view\x20[name]','debug','parent_segment','Trino\x20catalog\x20(default:\x20td)','command','pull\x20[name]','--no-count-population','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Conflict\x20strategy:\x20ask\x20(default),\x20replace,\x20keep','List\x20journeys\x20(alias\x20for\x20journey\x20list)','--kind\x20<type>','Duplicate\x20an\x20always-on\x20campaign','tdx','List\x20LINE\x20sender\x20accounts','--priority\x20<-2~2>','--behaviors-file\x20<file>','use\x20<name>','--prompt\x20<text>','Prefer\x20typed\x20commands\x20—\x20run\x20`tdx\x20--help`\x20to\x20see\x20them.','-1d','statusline','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','workflow','--description\x20<text>','Raw\x20API\x20requests\x20bypass\x20tdx\x27s\x20structured\x20commands\x20and\x20safety\x20checks.','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','--result\x20<url>','then','after','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','--max-tool-iterations\x20<n>','flatMap','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','\x20-\x20built\x20','--name\x20<names>','Output\x20directory','preview\x20[file]','\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=ap01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a','list\x20[name]','preview\x20[name]','Timezone\x20for\x20cron','Recurse.\x20Alone:\x20show\x20the\x20full\x20tree.\x20With\x20a\x20<pattern>:\x20search\x20the\x20whole\x20tree\x20by\x20name\x20(case-insensitive;\x20substring,\x20with\x20`*`/`?`\x20wildcards)','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','delete\x20<service_id>\x20[parent_segment]','rm\x20<path>','types','Workspace\x20name\x20(required)','Update\x20a\x20realtime\x20personalization\x20entity','\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\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','List\x20email\x20senders','llm','entries','resume\x20<name-or-path>','Composable\x20audience\x20name','--catalog\x20<catalog>','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','-w,\x20--web','--from-task\x20<task>','result\x20<job-id>','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Export\x20journey(s)\x20as\x20YAML\x20files','delete\x20<name>','CDP\x20segment\x20management\x20commands','--to\x20<timestamp>','Make\x20service\x20public\x20(default:\x20private)','clear','tasks','AI-native\x20work\x20management','create\x20<segment_name>','0.7','--json-columns\x20<cols>','hook','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','show\x20<job-id>','Push\x20YAML\x20files\x20to\x20CAS\x20API','split','validate\x20[name]','Unknown\x20action:\x20','Enable\x20UTM\x20tracking','template','--color','launch\x20<name-or-id>','Behaviors\x20from\x20JSON\x20file','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Personalization\x20description','Delay\x20in\x20seconds\x20before\x20execution','Submit\x20a\x20job','red','set\x20<args...>','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','kill\x20<job-id>','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','--editor-type\x20<type>','Set\x20a\x20profile\x20configuration\x20value','Customer\x20group\x20from\x20JSON\x20file','Show\x20segment\x20schema\x20(column\x20types)','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','desc\x20[name]','Manage\x20workflow\x20project\x20secrets','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Show\x20authentication\x20status\x20and\x20current\x20context'];a2_0x2ee5=function(){return _0x2c0f9a;};return a2_0x2ee5();}journeyVersionCmd['command'](a2_0x46ad5e(0x255))['description']('Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey')[a2_0x46ad5e(0x3ec)](async(_0x258665,_0x470393)=>{const _0x332f14=a2_0x46ad5e,_0x56bf1c=new JourneyVersionCreateCommand(),_0x2c9ea4=program[_0x332f14(0x1fd)](),_0x56dd6b=await createTDXInstance(_0x2c9ea4),_0x1e90db=await _0x56bf1c[_0x332f14(0x1db)]({'options':{..._0x2c9ea4,..._0x470393},'args':[_0x258665],'tdx':_0x56dd6b});gracefulExit(_0x1e90db);}),journeyVersionCmd['command'](a2_0x46ad5e(0x40b))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x1e1))[a2_0x46ad5e(0x310)](a2_0x46ad5e(0x167),a2_0x46ad5e(0x3cb))[a2_0x46ad5e(0x3ec)](async(_0x566513,_0x5bee1a)=>{const _0x4579ed=a2_0x46ad5e,_0x368e92=new JourneyVersionViewCommand(),_0x1a64f8=program[_0x4579ed(0x1fd)](),_0x49eaee=await createTDXInstance(_0x1a64f8),_0xf6db10=await _0x368e92[_0x4579ed(0x1db)]({'options':{..._0x1a64f8,..._0x5bee1a},'args':[_0x566513],'tdx':_0x49eaee});gracefulExit(_0xf6db10);}),journeyCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x21e))['description'](a2_0x46ad5e(0xd4))[a2_0x46ad5e(0x3ec)](async(_0x10b719,_0x512791)=>{const _0x47188e=a2_0x46ad5e,_0x5bec5b=new JourneyValidateCommand(),_0x26679b=program[_0x47188e(0x1fd)](),_0x2bbe77=await createTDXInstance(_0x26679b),_0x14c337=await _0x5bec5b[_0x47188e(0x1db)]({'options':{..._0x26679b,..._0x512791},'args':_0x10b719?[_0x10b719]:[],'tdx':_0x2bbe77});gracefulExit(_0x14c337);}),program[a2_0x46ad5e(0x327)]('journeys\x20[pattern]')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x32c))[a2_0x46ad5e(0x3ec)](journeyListAction);const agentSyncCmd=program[a2_0x46ad5e(0x327)]('agent')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x190));agentSyncCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x259))['description'](a2_0x46ad5e(0x390))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3e5),a2_0x46ad5e(0x34a))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x232),a2_0x46ad5e(0x2e7))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0xf8),'Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)')['action'](async(_0x5c6769,_0x21b1b5,_0x1bfa72)=>{const _0x9f0007=a2_0x46ad5e,_0x48b714=new AgentPullCommand(),_0x198f93=program['opts'](),_0x5bd8d5=await createTDXInstance(_0x198f93),_0x3de21f=[];if(_0x5c6769)_0x3de21f[_0x9f0007(0x3c2)](_0x5c6769);if(_0x21b1b5)_0x3de21f[_0x9f0007(0x3c2)](_0x21b1b5);const _0xccfa41=await _0x48b714[_0x9f0007(0x1db)]({'options':{..._0x198f93,..._0x1bfa72},'args':_0x3de21f,'tdx':_0x5bd8d5});gracefulExit(_0xccfa41);}),agentSyncCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x25c))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x3a1))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x232),a2_0x46ad5e(0x274))[a2_0x46ad5e(0x3ec)](async(_0x19ff16,_0x26fdf0)=>{const _0x407ed1=a2_0x46ad5e,_0x568ee2=new AgentPushCommand(),_0x235e5a=program['opts'](),_0x195bb5=await createTDXInstance(_0x235e5a),_0x1951c0=await _0x568ee2[_0x407ed1(0x1db)]({'options':{..._0x235e5a,..._0x26fdf0},'args':_0x19ff16?[_0x19ff16]:[],'tdx':_0x195bb5});gracefulExit(_0x1951c0);}),agentSyncCmd[a2_0x46ad5e(0x327)]('clone\x20[source]')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x171))['option']('-n,\x20--name\x20<name>',a2_0x46ad5e(0x1aa))[a2_0x46ad5e(0x3ec)](async(_0xe42380,_0x4839c0)=>{const _0x5d2528=a2_0x46ad5e,_0x16abba=new AgentCloneCommand(),_0x297fc1=program[_0x5d2528(0x1fd)](),_0x5db2c0=await createTDXInstance(_0x297fc1),_0x5761e5=await _0x16abba['run']({'options':{..._0x297fc1,..._0x4839c0},'args':_0xe42380?[_0xe42380]:[],'tdx':_0x5db2c0});gracefulExit(_0x5761e5);}),agentSyncCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0xc5))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0xc9))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x349),a2_0x46ad5e(0xdd))['option'](a2_0x46ad5e(0x3f0),a2_0x46ad5e(0x3a0))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3e2),'Parse\x20and\x20validate\x20without\x20executing')['option'](a2_0x46ad5e(0x138),'Generate\x20test\x20conversations\x20without\x20evaluation')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x168),a2_0x46ad5e(0xf4))[a2_0x46ad5e(0x3ec)](async(_0x6facff,_0x14edf1)=>{const _0x5c9f04=a2_0x46ad5e,_0x50a4b8=new AgentTestCommand(),_0x3e8e58=program[_0x5c9f04(0x1fd)](),_0x3848f7=await createTDXInstance(_0x3e8e58),_0x5321f9=await _0x50a4b8[_0x5c9f04(0x1db)]({'options':{..._0x3e8e58,..._0x14edf1},'args':_0x6facff?[_0x6facff]:[],'tdx':_0x3848f7});gracefulExit(_0x5321f9);}),agentSyncCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x2c7))['description'](a2_0x46ad5e(0x117))['action'](llmAgentListAction),agentSyncCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x23e))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x24c))['action'](async(_0x32f1bb,_0x4b3ada)=>{const _0x3b368f=a2_0x46ad5e,_0x2406d6=new LLMAgentShowCommand(),_0x54ed16=program[_0x3b368f(0x1fd)](),_0x41f117=await createTDXInstance(_0x54ed16),_0x223635=await _0x2406d6[_0x3b368f(0x1db)]({'options':{..._0x54ed16,..._0x4b3ada},'args':[_0x32f1bb],'tdx':_0x41f117});gracefulExit(_0x223635);}),agentSyncCmd[a2_0x46ad5e(0x327)]('create\x20<name>')[a2_0x46ad5e(0x278)]('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x3a6),a2_0x46ad5e(0x40e))['option'](a2_0x46ad5e(0x3ee),'Model\x20type\x20(default:\x20claude-4.5-sonnet)',a2_0x46ad5e(0x2a0))[a2_0x46ad5e(0x132)]('--starter-message\x20<text>','Starter\x20message')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x344),a2_0x46ad5e(0x155),'4')['option']('--temperature\x20<n>','Temperature\x20(0.0-2.0,\x20default:\x200.7)',a2_0x46ad5e(0x36e))['action'](async(_0x574655,_0x5b5698)=>{const _0x46b90e=a2_0x46ad5e,_0x29560b=new LLMAgentCreateCommand(),_0x2f5968=program[_0x46b90e(0x1fd)](),_0x18c347=await createTDXInstance(_0x2f5968),_0x18e8a5=await _0x29560b[_0x46b90e(0x1db)]({'options':{..._0x2f5968,..._0x5b5698},'args':[_0x574655],'tdx':_0x18c347});gracefulExit(_0x18e8a5);}),agentSyncCmd['command'](a2_0x46ad5e(0x307))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x30c))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x15d),a2_0x46ad5e(0x2ee))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x334),a2_0x46ad5e(0xee))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x33a),a2_0x46ad5e(0x21f))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x193),'Starter\x20message')[a2_0x46ad5e(0x3ec)](async(_0x2b0fad,_0x47731e)=>{const _0x5d2a4e=a2_0x46ad5e,_0x561565=new LLMAgentUpdateCommand(),_0x44b3a1=program[_0x5d2a4e(0x1fd)](),_0x18ecbe=await createTDXInstance(_0x44b3a1),_0x4cc07e=await _0x561565[_0x5d2a4e(0x1db)]({'options':{..._0x44b3a1,..._0x47731e},'args':[_0x2b0fad],'tdx':_0x18ecbe});gracefulExit(_0x4cc07e);}),agentSyncCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x3f1))[a2_0x46ad5e(0x278)]('Delete\x20an\x20agent')['action'](async(_0x58a490,_0x438923)=>{const _0x286e78=a2_0x46ad5e,_0x51fd61=new LLMAgentDeleteCommand(),_0x29ae39=program[_0x286e78(0x1fd)](),_0x57c7d6=await createTDXInstance(_0x29ae39),_0x4bb0f6=await _0x51fd61[_0x286e78(0x1db)]({'options':{..._0x29ae39,..._0x438923},'args':[_0x58a490],'tdx':_0x57c7d6});gracefulExit(_0x4bb0f6);});const workCmd=program[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x11c))['description'](a2_0x46ad5e(0x36c));workCmd['option'](a2_0x46ad5e(0x2e1),a2_0x46ad5e(0x163))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x11d),a2_0x46ad5e(0x2fe))[a2_0x46ad5e(0x3ec)](workSummaryAction),workCmd[a2_0x46ad5e(0x327)]('init\x20[name]')['description'](a2_0x46ad5e(0x206))['option']('--github\x20<owner/repo>',a2_0x46ad5e(0xbf))['action'](workInitAction),workCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x3d2))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x141))['option'](a2_0x46ad5e(0x16c),a2_0x46ad5e(0x363),a2_0x46ad5e(0x172))['option'](a2_0x46ad5e(0x3f0),'Comma-separated\x20tags')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x1f8),a2_0x46ad5e(0x25e))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x308),a2_0x46ad5e(0x2ce))['option'](a2_0x46ad5e(0x21d),a2_0x46ad5e(0x3e4))['option'](a2_0x46ad5e(0xea),a2_0x46ad5e(0x1e8))['option'](a2_0x46ad5e(0x3bb),a2_0x46ad5e(0x247))['action'](workNewAction),workCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x2d2))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x2a7))[a2_0x46ad5e(0x3ec)](workMoveAction),workCmd[a2_0x46ad5e(0x327)]('board')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x2aa))[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x2e1),'Show\x20items\x20updated\x20within\x20N\x20days')[a2_0x46ad5e(0x132)](a2_0x46ad5e(0x11d),'Include\x20all\x20items\x20(no\x20stale\x20filtering)')['action'](workBoardAction),workCmd[a2_0x46ad5e(0x327)](a2_0x46ad5e(0x212))[a2_0x46ad5e(0x278)](a2_0x46ad5e(0xf7))['action'](workShowAction),workCmd[a2_0x46ad5e(0x327)]('links\x20<name>')[a2_0x46ad5e(0x278)](a2_0x46ad5e(0x338))[a2_0x46ad5e(0x3ec)](workLinksAction),workCmd[a2_0x46ad5e(0x327)]('open\x20<name>')['description'](a2_0x46ad5e(0x23f))[a2_0x46ad5e(0x3ec)](workOpenAction),program[a2_0x46ad5e(0x327)](a2_0x46ad5e(0xcc),{'hidden':!![]})[a2_0x46ad5e(0x3ec)](()=>{const _0x1ccb52=a2_0x46ad5e;function _0x25ecb9(_0x28bb13,_0x516609){const _0x5128ca=a2_0x59dd,_0x49c447=[];for(const _0x4e5aea of _0x28bb13['commands']){if(_0x4e5aea[_0x5128ca(0x149)])continue;const _0x5a8a1c=_0x516609?_0x516609+'\x20'+_0x4e5aea['name']():_0x4e5aea[_0x5128ca(0x2fa)](),_0x2798dc=_0x5a8a1c[_0x5128ca(0x376)]('\x20')[0x0],_0x129298=COMMAND_CATEGORIES[_0x5128ca(0xb9)](_0x3c6207=>_0x3c6207[_0x5128ca(0x1fa)][_0x5128ca(0x260)](_0x2798dc)),_0x3e2bad=_0x129298?.[_0x5128ca(0x2fa)]??'';if(_0x4e5aea[_0x5128ca(0x1fa)][_0x5128ca(0x273)]>0x0)_0x49c447[_0x5128ca(0x3c2)](..._0x25ecb9(_0x4e5aea,_0x5a8a1c));else{const _0x3bd837=(_0x4e5aea[_0x5128ca(0x123)]||[])[_0x5128ca(0xf5)](_0x5d4b14=>{const _0x4747af=_0x5128ca,_0x418640=_0x5d4b14[_0x4747af(0x22f)]?_0x5d4b14[_0x4747af(0x2fa)]()+'...':_0x5d4b14['name']();return _0x5d4b14['required']?'<'+_0x418640+'>':'['+_0x418640+']';})[_0x5128ca(0x188)]('\x20'),_0x10bcaf=_0x4e5aea[_0x5128ca(0x13e)][_0x5128ca(0x139)](_0x2c0227=>!_0x2c0227[_0x5128ca(0x3fe)]&&_0x2c0227[_0x5128ca(0x3d9)]!=='--help')[_0x5128ca(0xf5)](_0x28888b=>({'flags':_0x28888b[_0x5128ca(0x1ea)],'description':_0x28888b[_0x5128ca(0x278)]}));_0x49c447['push']({'name':_0x5a8a1c,'description':_0x4e5aea[_0x5128ca(0x278)](),'group':_0x3e2bad,'usage':_0x3bd837,'options':_0x10bcaf});}}return _0x49c447;}console[_0x1ccb52(0x239)](JSON[_0x1ccb52(0xf2)](_0x25ecb9(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x183db2=a2_0x46ad5e,_0x146578=!process['argv'][_0x183db2(0x1c3)](0x2)[_0x183db2(0x273)];showBriefHelp=_0x146578,program[_0x183db2(0x25d)](process[_0x183db2(0x2be)]);_0x146578&&program[_0x183db2(0xd3)]();const _0x4a39af=process[_0x183db2(0x2be)][0x2]===_0x183db2(0x283);if(process[_0x183db2(0x12a)][_0x183db2(0x1ce)]&&process[_0x183db2(0x2be)][_0x183db2(0x273)]>0x2&&!isDevVersion()&&!_0x4a39af){const _0x53455f=loadReleaseChannel();checkForUpdate(currentVersion,_0x53455f)[_0x183db2(0x33e)](_0x10f25e=>{_0x10f25e&&displayUpdateNotification(_0x10f25e);})[_0x183db2(0x20e)](()=>{});}}
|
|
1
|
+
const a2_0x59f6ff=a2_0x4649;(function(_0x172c2c,_0x186c96){const _0x2aba91=a2_0x4649,_0x3ca9a7=_0x172c2c();while(!![]){try{const _0x237a58=-parseInt(_0x2aba91(0x1b8))/0x1*(parseInt(_0x2aba91(0x4a1))/0x2)+-parseInt(_0x2aba91(0x18d))/0x3*(parseInt(_0x2aba91(0x1a8))/0x4)+parseInt(_0x2aba91(0x258))/0x5+parseInt(_0x2aba91(0x1cb))/0x6*(-parseInt(_0x2aba91(0x1f2))/0x7)+parseInt(_0x2aba91(0x270))/0x8*(parseInt(_0x2aba91(0x1f1))/0x9)+-parseInt(_0x2aba91(0x364))/0xa*(-parseInt(_0x2aba91(0x47f))/0xb)+-parseInt(_0x2aba91(0x198))/0xc;if(_0x237a58===_0x186c96)break;else _0x3ca9a7['push'](_0x3ca9a7['shift']());}catch(_0x2778da){_0x3ca9a7['push'](_0x3ca9a7['shift']());}}}(a2_0x2dd2,0x8963e));import a2_0x58bec2 from'chalk';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{TableDeletedCommand,TableRecoverCommand}from'./commands/table-deleted.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{SegmentMoveCommand}from'./commands/segment-move-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,JourneyRunCommand,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,EngageLineSenderAccountsCommand,EngageLineSenderAccountShowCommand,EngageLineImagemapImageUploadCommand,EngageMediaUploadCommand,EngageMediaLsCommand,EngageMediaMkdirCommand,EngageMediaRmCommand,EngageMediaRmdirCommand}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,CASValidateCommand,CASPreviewCommand}from'./commands/cas-command.js';import{CASSegmentListCommand,CASSegmentPushCommand}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{isApiCommandEnabled,isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process['argv']['includes']('--version')){let versionOutput=a2_0x59f6ff(0x19f)+currentVersion;buildInfo[a2_0x59f6ff(0x422)]&&!currentVersion[a2_0x59f6ff(0x29b)](buildInfo['gitRevision'])&&(versionOutput+='\x20('+buildInfo[a2_0x59f6ff(0x422)]+')'),buildInfo[a2_0x59f6ff(0x453)]&&(versionOutput+=a2_0x59f6ff(0x2b7)+buildInfo[a2_0x59f6ff(0x453)]),console[a2_0x59f6ff(0x220)](versionOutput),process[a2_0x59f6ff(0x249)](0x0);}const program=new Command();export function mergeCommandOptions(_0x51c578,_0x2257b7){const _0x32e952=a2_0x59f6ff,_0x2b07c1={..._0x51c578};for(const [_0x3dba4c,_0x1bdfd4]of Object[_0x32e952(0x253)](_0x2257b7)){_0x1bdfd4!==undefined&&(_0x2b07c1[_0x3dba4c]=_0x1bdfd4);}return _0x2b07c1;}let showBriefHelp=![],description=a2_0x59f6ff(0x1dd);buildInfo[a2_0x59f6ff(0x422)]&&!currentVersion[a2_0x59f6ff(0x29b)](buildInfo[a2_0x59f6ff(0x422)])?description+=a2_0x59f6ff(0x2fb)+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=a2_0x59f6ff(0x2fb)+currentVersion;program[a2_0x59f6ff(0x2fa)](a2_0x59f6ff(0x23f))[a2_0x59f6ff(0x174)](description),program[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x47b),a2_0x59f6ff(0x240))[a2_0x59f6ff(0x171)]('-p,\x20--profile\x20<name>',a2_0x59f6ff(0x4ac))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x2f4),a2_0x59f6ff(0x21e),a2_0x59f6ff(0x2d1))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x4c5),a2_0x59f6ff(0x438))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1c5),a2_0x59f6ff(0x356))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x38a),a2_0x59f6ff(0x430))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x28a),a2_0x59f6ff(0x2de))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x329),a2_0x59f6ff(0x254))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x404),'Save\x20output\x20to\x20file')[a2_0x59f6ff(0x171)]('--limit\x20<number>','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)')[a2_0x59f6ff(0x171)]('--color',a2_0x59f6ff(0x312),![])[a2_0x59f6ff(0x171)]('--no-color',a2_0x59f6ff(0x237),![])[a2_0x59f6ff(0x171)]('-v,\x20--verbose',a2_0x59f6ff(0x47d),![])[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x211),'Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)')[a2_0x59f6ff(0x171)]('--trace','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')['option']('--timeout\x20<seconds>',a2_0x59f6ff(0x3ab),'30')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x283),a2_0x59f6ff(0x243),![])[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x31a),a2_0x59f6ff(0x1d4),![])[a2_0x59f6ff(0x171)]('--session\x20<id>','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x389),a2_0x59f6ff(0x388))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x36d),a2_0x59f6ff(0x332)),program['configureHelp']({'formatHelp':(_0x2db1d2,_0x25934a)=>{const _0x4a336a=a2_0x59f6ff,_0x41d3ae=_0x25934a[_0x4a336a(0x401)](_0x2db1d2,_0x25934a),_0xf81b9c=0x2,_0x59477e=0x2;function _0x3cfcf2(_0xb10f92){const _0x429281=_0x4a336a,_0x5346be=_0xb10f92;return!!(_0x5346be[_0x429281(0x33c)]||_0x5346be[_0x429281(0x178)]);}function _0x527aec(_0x50f592,_0x133080){if(_0x133080){const _0x154b66=''+_0x50f592['padEnd'](_0x41d3ae+_0x59477e)+_0x133080;return _0x154b66;}return _0x50f592;}function _0x1398d4(_0x351f0f){const _0x290b6f=_0x4a336a;return _0x351f0f['join']('\x0a')[_0x290b6f(0x2e5)](/^/gm,'\x20'[_0x290b6f(0x2eb)](_0xf81b9c));}const _0x523041=[];_0x523041[_0x4a336a(0x16c)]('Usage:\x20'+_0x25934a['commandUsage'](_0x2db1d2));const _0x1d5a67=_0x25934a['commandDescription'](_0x2db1d2);_0x1d5a67&&(_0x523041[_0x4a336a(0x16c)](''),_0x523041[_0x4a336a(0x16c)](_0x1d5a67));const _0x5f1491=_0x2db1d2[_0x4a336a(0x471)][_0x4a336a(0x4d2)](_0x3939dd=>!_0x3cfcf2(_0x3939dd));if(_0x5f1491['length']>0x0){if(_0x2db1d2[_0x4a336a(0x2fa)]()===_0x4a336a(0x23f)){const _0x91482f=_0x2db1d2['opts'](),_0x5bae7c=!_0x91482f[_0x4a336a(0x4a2)]&&process[_0x4a336a(0x1ca)]['isTTY'],_0x209e35=COMMAND_CATEGORIES,_0x5f011f=(_0x22d6ba,_0x4ae7d2)=>_0x5bae7c?_0x4ae7d2(_0x22d6ba):_0x22d6ba,_0x418924=new Map();_0x5f1491[_0x4a336a(0x45c)](_0x1d4ef8=>{const _0x2a1119=_0x4a336a;_0x418924[_0x2a1119(0x196)](_0x1d4ef8[_0x2a1119(0x2fa)](),_0x1d4ef8);}),_0x209e35[_0x4a336a(0x45c)](_0x5daaa5=>{const _0x524032=_0x4a336a,_0x1979ee=_0x5daaa5[_0x524032(0x471)][_0x524032(0x4b9)](_0x532380=>_0x418924[_0x524032(0x2b2)](_0x532380)??[]);if(_0x1979ee[_0x524032(0x446)]>0x0){_0x523041[_0x524032(0x16c)](''),_0x523041[_0x524032(0x16c)](_0x5f011f(_0x5daaa5['name']+':',_0x5daaa5[_0x524032(0x23a)]));const _0x5cb2e5=_0x1979ee['map'](_0x3085b1=>{const _0x32ceb6=_0x524032,_0x4ed8b5=_0x25934a['subcommandTerm'](_0x3085b1),_0x352961=_0x25934a[_0x32ceb6(0x4b1)](_0x3085b1);return _0x527aec(_0x4ed8b5,_0x352961);});_0x523041['push'](_0x1398d4(_0x5cb2e5));}}),_0x523041[_0x4a336a(0x16c)](''),_0x523041[_0x4a336a(0x16c)](_0x4a336a(0x4b5));}else{const _0x2846f0=_0x5f1491[_0x4a336a(0x2ee)](_0x1f41ad=>{const _0x3fa611=_0x4a336a,_0x3edff3=_0x25934a['subcommandTerm'](_0x1f41ad),_0x47142b=_0x25934a[_0x3fa611(0x4b1)](_0x1f41ad);return _0x527aec(_0x3edff3,_0x47142b);});_0x523041['push'](''),_0x523041[_0x4a336a(0x16c)](_0x4a336a(0x1ad)),_0x523041['push'](_0x1398d4(_0x2846f0));}}if(showBriefHelp&&_0x2db1d2[_0x4a336a(0x2fa)]()==='tdx')_0x523041[_0x4a336a(0x16c)](''),_0x523041[_0x4a336a(0x16c)](_0x4a336a(0x4cb));else{const _0x5838f4=_0x2db1d2[_0x4a336a(0x169)][_0x4a336a(0x4d2)](_0x362e1c=>!_0x3cfcf2(_0x362e1c));if(_0x5838f4[_0x4a336a(0x446)]>0x0){const _0x239844=_0x5838f4['map'](_0x3595e1=>{const _0x5119e9=_0x4a336a,_0x327564=_0x25934a['optionTerm'](_0x3595e1),_0x51e9aa=_0x25934a[_0x5119e9(0x395)](_0x3595e1);return _0x527aec(_0x327564,_0x51e9aa);});_0x523041[_0x4a336a(0x16c)](''),_0x523041[_0x4a336a(0x16c)](_0x4a336a(0x23b)),_0x523041[_0x4a336a(0x16c)](_0x1398d4(_0x239844));}}const _0x29eaf6=(_0x2db1d2['registeredArguments']||[])[_0x4a336a(0x4d2)](_0x20e8fe=>!_0x3cfcf2(_0x20e8fe));if(_0x29eaf6[_0x4a336a(0x446)]>0x0){const _0xf701e9=_0x29eaf6['map'](_0x3cec19=>{const _0x48a934=_0x4a336a,_0x52dd32=_0x25934a[_0x48a934(0x425)](_0x3cec19),_0x44a796=_0x25934a[_0x48a934(0x20b)](_0x3cec19);return _0x527aec(_0x52dd32,_0x44a796);});_0x523041[_0x4a336a(0x16c)](''),_0x523041['push'](_0x4a336a(0x230)),_0x523041[_0x4a336a(0x16c)](_0x1398d4(_0xf701e9));}return _0x523041[_0x4a336a(0x19b)]('\x0a')+'\x0a';},'subcommandTerm':_0x428b64=>{const _0x1a2b46=a2_0x59f6ff,_0x2feaf9=(_0x428b64[_0x1a2b46(0x1c9)]||[])['map'](_0x188c5e=>_0x188c5e['required']?'<'+_0x188c5e[_0x1a2b46(0x2fa)]()+'>':'['+_0x188c5e[_0x1a2b46(0x2fa)]()+']')[_0x1a2b46(0x19b)]('\x20'),_0x442576=_0x428b64[_0x1a2b46(0x192)](),_0x3dadeb=_0x442576[_0x1a2b46(0x446)]>0x0?_0x428b64[_0x1a2b46(0x2fa)]()+',\x20'+_0x442576['join'](',\x20'):_0x428b64[_0x1a2b46(0x2fa)]();return _0x2feaf9?_0x3dadeb+'\x20'+_0x2feaf9:_0x3dadeb;}}),program['hook'](a2_0x59f6ff(0x321),_0x1eee34=>{const _0x1db9d8=a2_0x59f6ff,_0x45fd8b=_0x1eee34['opts']();if(_0x45fd8b[_0x1db9d8(0x1f5)]){const _0x3b1bc8=resolve(_0x45fd8b['directory']),_0x1fc72f=_0x3b1bc8!==_0x45fd8b[_0x1db9d8(0x1f5)]?_0x1db9d8(0x281)+_0x3b1bc8+')':'';if(!existsSync(_0x3b1bc8))throw new SDKError(ErrorCode[_0x1db9d8(0x4c0)],_0x1db9d8(0x2d6)+_0x45fd8b[_0x1db9d8(0x1f5)]+_0x1fc72f,undefined,{'helpText':_0x1db9d8(0x44b)});const _0x2d1861=statSync(_0x3b1bc8);if(!_0x2d1861[_0x1db9d8(0x177)]())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x45fd8b['directory']+_0x1fc72f,undefined,{'helpText':'The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.'});process[_0x1db9d8(0x2fc)](_0x3b1bc8);}if(!_0x45fd8b[_0x1db9d8(0x207)]){if(_0x45fd8b[_0x1db9d8(0x378)])_0x45fd8b['format']=_0x1db9d8(0x378);else{if(_0x45fd8b[_0x1db9d8(0x31b)])_0x45fd8b['format']=_0x1db9d8(0x31b);else{if(_0x45fd8b[_0x1db9d8(0x1de)])_0x45fd8b[_0x1db9d8(0x207)]=_0x1db9d8(0x1de);else _0x45fd8b[_0x1db9d8(0x34f)]&&(_0x45fd8b[_0x1db9d8(0x207)]=_0x1db9d8(0x34f));}}}if(_0x45fd8b['trace'])_0x45fd8b[_0x1db9d8(0x48f)]=LogLevel['TRACE'];else{if(_0x45fd8b['debug'])_0x45fd8b[_0x1db9d8(0x48f)]=LogLevel['DEBUG'];else _0x45fd8b[_0x1db9d8(0x48f)]===undefined&&(_0x45fd8b['logLevel']=LogLevel[_0x1db9d8(0x3b8)]);}});async function createTDXInstance(_0x24c517){const _0x369266=a2_0x59f6ff,_0xcfd36e=await GlobalContext[_0x369266(0x39f)](_0x24c517);_0xcfd36e[_0x369266(0x310)](_0x24c517);const _0x44b427=Number(_0x24c517[_0x369266(0x494)]),_0x18c878=!isNaN(_0x44b427)&&_0x44b427>0x0?_0x44b427*0x3e8:undefined;return TDX[_0x369266(0x201)]({'site':_0xcfd36e[_0x369266(0x36f)],'apiKey':_0xcfd36e['apiKey'],'accessToken':_0xcfd36e[_0x369266(0x45f)],'logLevel':_0xcfd36e[_0x369266(0x48f)],'profile':_0xcfd36e['profile'],'timeout':_0x18c878});}const databaseCmd=program['command']('database')[a2_0x59f6ff(0x1fe)]('db')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x4ab)),databaseListAction=async(_0x22d0be,_0xc872bf)=>{const _0x34d5ae=a2_0x59f6ff,_0x13f6fb=new DatabasesCommand(),_0x32a5e1=program[_0x34d5ae(0x17e)](),_0x1c10cf=await createTDXInstance(_0x32a5e1),_0x10d596=await _0x13f6fb[_0x34d5ae(0x3bd)]({'options':{..._0x32a5e1,..._0xc872bf},'args':_0x22d0be?[_0x22d0be]:[],'tdx':_0x1c10cf});gracefulExit(_0x10d596);};databaseCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x491))['description'](a2_0x59f6ff(0x19a))[a2_0x59f6ff(0x226)](databaseListAction),program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x2b9),{'hidden':!![]})[a2_0x59f6ff(0x174)]('List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)')[a2_0x59f6ff(0x226)](databaseListAction),program['command'](a2_0x59f6ff(0x208))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x46a))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x3d1),a2_0x59f6ff(0x17a))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1d2),a2_0x59f6ff(0x30a))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x16d),'Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID')['option'](a2_0x59f6ff(0x3d2),a2_0x59f6ff(0x1d9))[a2_0x59f6ff(0x226)](async(_0x492a9b,_0x2a7510)=>{const _0x353222=a2_0x59f6ff,_0x411022=program[_0x353222(0x17e)](),_0x572dce=await createTDXInstance(_0x411022);if(_0x492a9b[0x0]===_0x353222(0x201)){const _0x30a1d2=new ChatCreateCommand();gracefulExit(await _0x30a1d2[_0x353222(0x3bd)]({'options':{..._0x411022,..._0x2a7510},'args':_0x492a9b[_0x353222(0x381)](0x1),'tdx':_0x572dce}));return;}const _0x4404de=new ChatCommand(),_0x4a8a4b=await _0x4404de[_0x353222(0x3bd)]({'options':{..._0x411022,..._0x2a7510},'args':_0x492a9b,'tdx':_0x572dce});gracefulExit(_0x4a8a4b);});const apiCmd=program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x476),{'hidden':!isApiCommandEnabled()})[a2_0x59f6ff(0x485)](a2_0x59f6ff(0x328))[a2_0x59f6ff(0x391)](a2_0x59f6ff(0x1ab),a2_0x59f6ff(0x1c1))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x3cc),a2_0x59f6ff(0x184),a2_0x59f6ff(0x239))['option'](a2_0x59f6ff(0x268),a2_0x59f6ff(0x1e4))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x214),'Read\x20request\x20body\x20from\x20file')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x2d2),'Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x5a3641,_0x317220)=>{return _0x317220?[..._0x317220,_0x5a3641]:[_0x5a3641];})[a2_0x59f6ff(0x171)]('--type\x20<api_type>',a2_0x59f6ff(0x3a7),'td')[a2_0x59f6ff(0x226)](async(_0x241a11,_0xd3d694)=>{const _0x481bec=a2_0x59f6ff;if(!isApiCommandEnabled()){console['error'](a2_0x58bec2[_0x481bec(0x191)](_0x481bec(0x4b8))),console[_0x481bec(0x1a4)](''),console['error'](_0x481bec(0x26f)),console[_0x481bec(0x1a4)](_0x481bec(0x3a3)),console[_0x481bec(0x1a4)](''),console['error'](a2_0x58bec2['yellow'](_0x481bec(0x492))),console[_0x481bec(0x1a4)](''),console[_0x481bec(0x1a4)](_0x481bec(0x197)),gracefulExit(0x1);return;}if(!_0x241a11){apiCmd[_0x481bec(0x39a)]();return;}const _0xadbcee=new ApiCommand(),_0x21d5ad=program[_0x481bec(0x17e)](),_0x88b21e=await createTDXInstance(_0x21d5ad),_0x13cf0d=await _0xadbcee['run']({'options':{..._0x21d5ad,..._0xd3d694},'args':[_0x241a11],'tdx':_0x88b21e});gracefulExit(_0x13cf0d);});program['command'](a2_0x59f6ff(0x30d))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x228))['addHelpText'](a2_0x59f6ff(0x1ab),a2_0x59f6ff(0x495))[a2_0x59f6ff(0x226)](async _0x5c0f85=>{const _0x1ce54b=a2_0x59f6ff,_0x305672=new MCPCommand(),_0x31d70a=program[_0x1ce54b(0x17e)](),_0x47021d=await createTDXInstance(_0x31d70a),_0x495ea1=await _0x305672[_0x1ce54b(0x3bd)]({'options':{..._0x31d70a,..._0x5c0f85},'args':[],'tdx':_0x47021d});gracefulExit(_0x495ea1);});const tableCmd=program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x378))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2ec)),tableListAction=async(_0x553947,_0x19f2c0)=>{const _0x39f1f5=a2_0x59f6ff,_0x4c4589=new TablesCommand(),_0x1adf88=program[_0x39f1f5(0x17e)](),_0x3fdf11=await createTDXInstance(_0x1adf88);_0x19f2c0['in']&&(_0x19f2c0[_0x39f1f5(0x3d5)]=_0x19f2c0['in']);const _0x31ebcf=await _0x4c4589['run']({'options':{..._0x1adf88,..._0x19f2c0},'args':_0x553947?[_0x553947]:[],'tdx':_0x3fdf11});gracefulExit(_0x31ebcf);};tableCmd['command']('list\x20[pattern]')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x393))['option'](a2_0x59f6ff(0x302),a2_0x59f6ff(0x2a7))['option'](a2_0x59f6ff(0x17c),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x59f6ff(0x226)](tableListAction),tableCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x1cc))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x21c))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x48c),a2_0x59f6ff(0x49f))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x3e7),a2_0x59f6ff(0x42b))[a2_0x59f6ff(0x226)](async _0x3dc4d1=>{const _0x5b63c3=a2_0x59f6ff,_0x2d97ec=new TableDeletedCommand(),_0xe7f354=program['opts'](),_0x4e1378=await createTDXInstance(_0xe7f354),_0x541cfd=await _0x2d97ec[_0x5b63c3(0x3bd)]({'options':{..._0xe7f354,..._0x3dc4d1},'args':[],'tdx':_0x4e1378});gracefulExit(_0x541cfd);}),tableCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x325))[a2_0x59f6ff(0x174)]('Recover\x20a\x20deleted\x20table\x20by\x20id')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x396),a2_0x59f6ff(0x1f6))['option'](a2_0x59f6ff(0x4d1),a2_0x59f6ff(0x20f))[a2_0x59f6ff(0x226)](async(_0x5c1adf,_0x585aeb)=>{const _0x32707a=a2_0x59f6ff,_0x3b3a1c=new TableRecoverCommand(),_0x27d909=program[_0x32707a(0x17e)](),_0x12c0ed=await createTDXInstance(_0x27d909),_0x1ca9dc=await _0x3b3a1c[_0x32707a(0x3bd)]({'options':{..._0x27d909,..._0x585aeb},'args':[_0x5c1adf],'tdx':_0x12c0ed});gracefulExit(_0x1ca9dc);}),program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x2c7),{'hidden':!![]})[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x259))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x302),a2_0x59f6ff(0x2a7))[a2_0x59f6ff(0x171)]('--in\x20<database>',a2_0x59f6ff(0x2e8))[a2_0x59f6ff(0x226)](tableListAction),program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x454))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x4cf))['option'](a2_0x59f6ff(0x302),a2_0x59f6ff(0x443))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x17c),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x59f6ff(0x226)](async(_0x41adf1,_0x5bf253)=>{const _0x3a753c=a2_0x59f6ff,_0x40027e=new ShowCommand(),_0x13515c=program[_0x3a753c(0x17e)](),_0x5c70cf=await createTDXInstance(_0x13515c);_0x5bf253['in']&&(_0x5bf253['database']=_0x5bf253['in']);const _0x46088e=await _0x40027e['run']({'options':{..._0x13515c,..._0x5bf253},'args':_0x41adf1?[_0x41adf1]:[],'tdx':_0x5c70cf});gracefulExit(_0x46088e);}),program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x3a1))[a2_0x59f6ff(0x1fe)](a2_0x59f6ff(0x256))['description'](a2_0x59f6ff(0x4a4))['option'](a2_0x59f6ff(0x302),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x17c),a2_0x59f6ff(0x2e8))[a2_0x59f6ff(0x226)](async(_0x3ae98f,_0x2bd028)=>{const _0x23ad8b=a2_0x59f6ff,_0x28ff1c=new DescribeCommand(),_0x292de7=program['opts'](),_0x3e820c=await createTDXInstance(_0x292de7);_0x2bd028['in']&&(_0x2bd028[_0x23ad8b(0x3d5)]=_0x2bd028['in']);const _0x115065=await _0x28ff1c['run']({'options':{..._0x292de7,..._0x2bd028},'args':_0x3ae98f?[_0x3ae98f]:[],'tdx':_0x3e820c});gracefulExit(_0x115065);}),program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x4ad))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x1eb))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x302),a2_0x59f6ff(0x306))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x17c),a2_0x59f6ff(0x2e8))[a2_0x59f6ff(0x171)]('--catalog\x20<catalog>',a2_0x59f6ff(0x365))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x214),a2_0x59f6ff(0x23d))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x315),'Maximum\x20rows\x20to\x20display')[a2_0x59f6ff(0x226)](async(_0x332cc7,_0x32a338)=>{const _0x4366d1=a2_0x59f6ff,_0x299e02=new QueryCommand(),_0x14a427=program[_0x4366d1(0x17e)](),_0x9b00f2=await createTDXInstance(_0x14a427);_0x32a338['in']&&(_0x32a338[_0x4366d1(0x3d5)]=_0x32a338['in']);const _0x2ba647=await _0x299e02[_0x4366d1(0x3bd)]({'options':mergeCommandOptions(_0x14a427,_0x32a338),'args':_0x332cc7?[_0x332cc7]:[],'tdx':_0x9b00f2});gracefulExit(_0x2ba647);});const segmentCmd=program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x4a7))[a2_0x59f6ff(0x1fe)]('sg')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x478)),segmentListAction=async(_0x55aca5,_0x2511df)=>{const _0x2a1913=a2_0x59f6ff,_0x126a8f=new SegmentsCommand(),_0x8f79bd=program[_0x2a1913(0x17e)](),_0x20f01b=await createTDXInstance(_0x8f79bd),_0x54bd1f=await _0x126a8f[_0x2a1913(0x3bd)]({'options':{..._0x8f79bd,..._0x2511df},'args':_0x55aca5?[_0x55aca5]:[],'tdx':_0x20f01b});gracefulExit(_0x54bd1f);};segmentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x491))['description']('List\x20folders\x20and\x20segments;\x20with\x20-r\x20and\x20a\x20pattern,\x20search\x20the\x20whole\x20tree\x20by\x20name')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x35d),a2_0x59f6ff(0x232))[a2_0x59f6ff(0x171)]('--max-depth\x20<depth>',a2_0x59f6ff(0x38f),'10')['addHelpText']('after','\x0aNeeds\x20a\x20parent\x20segment\x20context\x20(tdx\x20sg\x20use\x20/\x20--parent-segment).\x20Add\x20--format\x20json\x20for\x20machine\x20output.\x0a\x0aExamples:\x0a\x20\x20tdx\x20sg\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20list\x20the\x20current\x20context\x20(folders\x20+\x20segments)\x0a\x20\x20tdx\x20sg\x20list\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20full\x20tree\x0a\x20\x20tdx\x20sg\x20list\x20\x22VIP\x22\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20find\x20every\x20segment/folder\x20whose\x20name\x20contains\x20\x22VIP\x22\x20(with\x20its\x20path)\x0a\x20\x20tdx\x20sg\x20list\x20\x22Q1\x20*\x22\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wildcard\x20search\x0a\x20\x20tdx\x20sg\x20list\x20\x22VIP\x22\x20-r\x20--format\x20json\x20\x20\x20\x20same,\x20as\x20JSON\x20for\x20jq/grep\x0a\x0aUse\x20a\x20printed\x20path\x20with\x20`tdx\x20sg\x20move`.')[a2_0x59f6ff(0x226)](segmentListAction),program[a2_0x59f6ff(0x499)]('segments\x20[pattern]',{'hidden':!![]})[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2c1))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x35d),a2_0x59f6ff(0x311))[a2_0x59f6ff(0x171)]('--max-depth\x20<depth>',a2_0x59f6ff(0x38f),'10')['action'](segmentListAction),segmentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x2bb),{'hidden':!![]})[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x19d))['action'](async(_0x2c2875,_0x31c326)=>{const _0x3fc4f3=a2_0x59f6ff,_0x4d7c8e=new SegmentUseCommand(),_0x20875e=program['opts'](),_0x5cfcc7=await createTDXInstance(_0x20875e),_0x34c66b=await _0x4d7c8e[_0x3fc4f3(0x3bd)]({'options':{..._0x20875e,..._0x31c326},'args':[_0x2c2875],'tdx':_0x5cfcc7});gracefulExit(_0x34c66b);});const segmentViewAction=async(_0x2742a2,_0x2ce2a1)=>{const _0x33e5c1=a2_0x59f6ff,_0x3b75b0=new SegmentViewCommand(),_0x58b3fb=program[_0x33e5c1(0x17e)](),_0xd0e26c=await createTDXInstance(_0x58b3fb),_0x852b50=await _0x3b75b0[_0x33e5c1(0x3bd)]({'options':{..._0x58b3fb,..._0x2ce2a1},'args':_0x2742a2?[_0x2742a2]:[],'tdx':_0xd0e26c});gracefulExit(_0x852b50);};segmentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x29a))[a2_0x59f6ff(0x174)]('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')['option'](a2_0x59f6ff(0x273),'Open\x20segment\x20in\x20web\x20browser')[a2_0x59f6ff(0x226)](segmentViewAction),segmentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x3df),{'hidden':!![]})['alias'](a2_0x59f6ff(0x32c))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x273),a2_0x59f6ff(0x3ba))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x199))[a2_0x59f6ff(0x226)](segmentViewAction),segmentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x450))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x27f))[a2_0x59f6ff(0x2ab)](a2_0x59f6ff(0x24a),a2_0x59f6ff(0x3ad))[a2_0x59f6ff(0x171)]('--dry-run',a2_0x59f6ff(0x360))[a2_0x59f6ff(0x391)]('after',a2_0x59f6ff(0x164))[a2_0x59f6ff(0x226)](async(_0xe6bf19,_0x40caee)=>{const _0x457058=a2_0x59f6ff,_0x1c48a2=new SegmentMoveCommand(),_0x175172=program[_0x457058(0x17e)](),_0x443469=await createTDXInstance(_0x175172),_0x147d83=await _0x1c48a2[_0x457058(0x3bd)]({'options':{..._0x175172,..._0x40caee},'args':_0xe6bf19,'tdx':_0x443469});gracefulExit(_0x147d83);}),segmentCmd['command'](a2_0x59f6ff(0x285))['description'](a2_0x59f6ff(0x2a4))['action'](async(_0x1edb34,_0x1cd404)=>{const _0x149a95=a2_0x59f6ff,_0x423978=new SegmentDescCommand(),_0x5b483f=program[_0x149a95(0x17e)](),_0x374c6d=await createTDXInstance(_0x5b483f),_0x5e2c61=await _0x423978['run']({'options':{..._0x5b483f,..._0x1cd404},'args':_0x1edb34?[_0x1edb34]:[],'tdx':_0x374c6d});gracefulExit(_0x5e2c61);}),segmentCmd['command'](a2_0x59f6ff(0x3d4))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x1da))[a2_0x59f6ff(0x226)](async(_0x193330,_0x3183e6)=>{const _0x171bfc=a2_0x59f6ff,_0x2b4f2f=new SegmentShowCommand(),_0x2b7918=program[_0x171bfc(0x17e)](),_0x5b6c88=await createTDXInstance(_0x2b7918),_0x29c791=await _0x2b4f2f['run']({'options':{..._0x2b7918,..._0x3183e6},'args':_0x193330?[_0x193330]:[],'tdx':_0x5b6c88});gracefulExit(_0x29c791);}),segmentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x2f3),{'hidden':!![]})[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x261))[a2_0x59f6ff(0x226)](async(_0x2ee752,_0x21e71e)=>{const _0x2a85a3=new SegmentFolderListCommand(),_0x5cd7f4=program['opts'](),_0x31242c=await createTDXInstance(_0x5cd7f4),_0x272911=await _0x2a85a3['run']({'options':{..._0x5cd7f4,..._0x21e71e},'args':[_0x2ee752],'tdx':_0x31242c});gracefulExit(_0x272911);});const folderCmd=segmentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x37c),{'hidden':!![]})[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x18f));folderCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x2cd))[a2_0x59f6ff(0x174)]('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')[a2_0x59f6ff(0x226)](async(_0x1815f3,_0x2b0919)=>{const _0x2b24ce=a2_0x59f6ff,_0x952b17=new SegmentFolderShowCommand(),_0x3182ad=program[_0x2b24ce(0x17e)](),_0x260266=await createTDXInstance(_0x3182ad),_0x19e241=await _0x952b17[_0x2b24ce(0x3bd)]({'options':{..._0x3182ad,..._0x2b0919},'args':[_0x1815f3],'tdx':_0x260266});gracefulExit(_0x19e241);}),segmentCmd['command']('sql\x20[segment_name]')['description']('Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)')[a2_0x59f6ff(0x171)]('--path\x20<file-path>','YAML\x20file\x20path\x20for\x20unpushed\x20segment')['action'](async(_0x16b333,_0x49085d)=>{const _0x54f644=a2_0x59f6ff,_0x2e3332=new SegmentSQLCommand(),_0x1c155c=program[_0x54f644(0x17e)](),_0x2ed811=await createTDXInstance(_0x1c155c),_0x3e630a=await _0x2e3332['run']({'options':{..._0x1c155c,..._0x49085d},'args':_0x16b333?[_0x16b333]:[],'tdx':_0x2ed811});gracefulExit(_0x3e630a);}),segmentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x2ac))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2e7))['action'](async(_0x3cdc3d,_0x529fe8)=>{const _0x30233a=a2_0x59f6ff,_0x31283c=new SegmentFieldsCommand(),_0x10545e=program[_0x30233a(0x17e)](),_0x35f3b3=await createTDXInstance(_0x10545e),_0x469310=await _0x31283c[_0x30233a(0x3bd)]({'options':{..._0x10545e,..._0x529fe8},'args':_0x3cdc3d?[_0x3cdc3d]:[],'tdx':_0x35f3b3});gracefulExit(_0x469310);}),segmentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x16b))[a2_0x59f6ff(0x174)]('Pull\x20child\x20segments\x20to\x20YAML\x20files')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x283),a2_0x59f6ff(0x33d))[a2_0x59f6ff(0x226)](async(_0x46ae34,_0x518e1e)=>{const _0x5c59c2=new SegmentPullCommand(),_0x4043c9=program['opts'](),_0x1515e2=await createTDXInstance(_0x4043c9),_0x5639d6=await _0x5c59c2['run']({'options':{..._0x4043c9,..._0x518e1e},'args':_0x46ae34?[_0x46ae34]:[],'tdx':_0x1515e2});gracefulExit(_0x5639d6);}),segmentCmd[a2_0x59f6ff(0x499)]('push\x20[parent_or_file]')[a2_0x59f6ff(0x174)]('Push\x20YAML\x20files\x20to\x20Treasure\x20AI\x20as\x20child\x20segments')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x283),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x46c),a2_0x59f6ff(0x467))[a2_0x59f6ff(0x226)](async(_0x1bad85,_0x4c9c7e)=>{const _0x59d613=a2_0x59f6ff,_0x380ff1=new SegmentPushCommand(),_0xc5d3e0=program[_0x59d613(0x17e)](),_0x1931e4=await createTDXInstance(_0xc5d3e0),_0x25d665=await _0x380ff1[_0x59d613(0x3bd)]({'options':{..._0xc5d3e0,..._0x4c9c7e},'args':_0x1bad85?[_0x1bad85]:[],'tdx':_0x1931e4});gracefulExit(_0x25d665);}),segmentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x336))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x182))[a2_0x59f6ff(0x226)](async(_0x3d8bb5,_0x43fad8)=>{const _0x5f0bff=a2_0x59f6ff,_0x586cef=new SegmentValidateCommand(),_0x154ff0=program[_0x5f0bff(0x17e)](),_0x4f37fc=await createTDXInstance(_0x154ff0),_0x4dca44=await _0x586cef[_0x5f0bff(0x3bd)]({'options':{..._0x154ff0,..._0x43fad8},'args':_0x3d8bb5?[_0x3d8bb5]:[],'tdx':_0x4f37fc});gracefulExit(_0x4dca44);}),segmentCmd['command'](a2_0x59f6ff(0x2ef),{'hidden':!![]})[a2_0x59f6ff(0x174)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x274),a2_0x59f6ff(0x25b))[a2_0x59f6ff(0x171)]('--rule\x20<json>',a2_0x59f6ff(0x410))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x3ca),a2_0x59f6ff(0x1b9))[a2_0x59f6ff(0x171)]('--folder\x20<name>',a2_0x59f6ff(0x2e9))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x33a),a2_0x59f6ff(0x3ce))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x357),a2_0x59f6ff(0x267))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x229),a2_0x59f6ff(0x354))[a2_0x59f6ff(0x226)](async(_0x5b8815,_0x3a64f0)=>{const _0x2c7d88=a2_0x59f6ff,_0xdb9318=new SegmentCreateCommand(),_0x56a038=program[_0x2c7d88(0x17e)](),_0x2a5177=await createTDXInstance(_0x56a038),_0x571635=await _0xdb9318[_0x2c7d88(0x3bd)]({'options':{..._0x56a038,..._0x3a64f0},'args':[_0x5b8815],'tdx':_0x2a5177});gracefulExit(_0x571635);}),segmentCmd[a2_0x59f6ff(0x499)]('update\x20<segment_name>',{'hidden':!![]})[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x337))[a2_0x59f6ff(0x171)]('--name\x20<new_name>',a2_0x59f6ff(0x1f3))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x274),a2_0x59f6ff(0x457))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x3ea),'Updated\x20filtering\x20rule\x20as\x20JSON\x20string')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x3ca),a2_0x59f6ff(0x3b5))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x2ad),a2_0x59f6ff(0x30c))['option']('--kind\x20<type>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x59f6ff(0x226)](async(_0x23b81d,_0x1034fd)=>{const _0x2b1126=a2_0x59f6ff,_0x2729ce=new SegmentUpdateCommand(),_0x32268b=program[_0x2b1126(0x17e)](),_0x8bf7d0=await createTDXInstance(_0x32268b),_0x4f3f2c=await _0x2729ce['run']({'options':{..._0x32268b,..._0x1034fd},'args':[_0x23b81d],'tdx':_0x8bf7d0});gracefulExit(_0x4f3f2c);});const parentCmd=segmentCmd[a2_0x59f6ff(0x499)]('parent',{'hidden':!![]})[a2_0x59f6ff(0x174)]('[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead'),parentListAction=async(_0x5e45c4,_0x4598a9)=>{const _0x5eb5f8=a2_0x59f6ff,_0xf59806=new ParentSegmentListCommand(),_0x45cdfc=program['opts'](),_0x4375f8=await createTDXInstance(_0x45cdfc),_0x535e9a=await _0xf59806[_0x5eb5f8(0x3bd)]({'options':{..._0x45cdfc,..._0x4598a9},'args':_0x5e45c4?[_0x5e45c4]:[],'tdx':_0x4375f8});gracefulExit(_0x535e9a);};parentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x491))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x170))['action'](parentListAction),segmentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x304),{'hidden':!![]})['description'](a2_0x59f6ff(0x3e8))[a2_0x59f6ff(0x226)](parentListAction),parentCmd['command'](a2_0x59f6ff(0x1a1))['description'](a2_0x59f6ff(0x339))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x441),a2_0x59f6ff(0x271))[a2_0x59f6ff(0x226)](async(_0x9fe2fc,_0x497722)=>{const _0xbb5c54=a2_0x59f6ff,_0x5ad92d=new ParentSegmentPullCommand(),_0x5649a3=program[_0xbb5c54(0x17e)](),_0x57eb08=await createTDXInstance(_0x5649a3),_0x18b58f=await _0x5ad92d[_0xbb5c54(0x3bd)]({'options':{..._0x5649a3,..._0x497722},'args':_0x9fe2fc?[_0x9fe2fc]:[],'tdx':_0x57eb08});gracefulExit(_0x18b58f);}),parentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x3b7))[a2_0x59f6ff(0x174)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file')[a2_0x59f6ff(0x226)](async(_0x480691,_0x567351)=>{const _0x370011=a2_0x59f6ff,_0x4c23f3=new ParentSegmentPushCommand(),_0x164f24=program[_0x370011(0x17e)](),_0x59b4a6=await createTDXInstance(_0x164f24),_0x3c8eb8=await _0x4c23f3[_0x370011(0x3bd)]({'options':{..._0x164f24,..._0x567351},'args':_0x480691?[_0x480691]:[],'tdx':_0x59b4a6});gracefulExit(_0x3c8eb8);}),parentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x380))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x489))[a2_0x59f6ff(0x171)]('--master',a2_0x59f6ff(0x16f))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x20c),a2_0x59f6ff(0x1b1))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x4c4),a2_0x59f6ff(0x461))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x36e),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x18c),a2_0x59f6ff(0x444),'-1d')[a2_0x59f6ff(0x226)](async(_0x323e09,_0x3c9484)=>{const _0x2520e2=a2_0x59f6ff,_0x1df3cd=new ParentSegmentValidateCommand(),_0x4886e4=program[_0x2520e2(0x17e)](),_0x501cf8=await createTDXInstance(_0x4886e4),_0xb770ef=await _0x1df3cd['run']({'options':{..._0x4886e4,..._0x3c9484},'args':_0x323e09?[_0x323e09]:[],'tdx':_0x501cf8});gracefulExit(_0xb770ef);}),parentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x1bd))['description'](a2_0x59f6ff(0x3c3))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x30e),a2_0x59f6ff(0x17f))[a2_0x59f6ff(0x171)]('--attribute\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x4c4),a2_0x59f6ff(0x45a))['option'](a2_0x59f6ff(0x36e),a2_0x59f6ff(0x2fe))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x18c),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x59f6ff(0x28d))[a2_0x59f6ff(0x226)](async(_0x540afe,_0x2f993a)=>{const _0x1ebc79=a2_0x59f6ff,_0x414ffc=new ParentSegmentPreviewCommand(),_0x4b12ad=program[_0x1ebc79(0x17e)](),_0x2023a9=await createTDXInstance(_0x4b12ad),_0x21795c=await _0x414ffc[_0x1ebc79(0x3bd)]({'options':{..._0x4b12ad,..._0x2f993a},'args':_0x540afe?[_0x540afe]:[],'tdx':_0x2023a9});gracefulExit(_0x21795c);}),parentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x17d))['description'](a2_0x59f6ff(0x3b6))['action'](async(_0x3a8597,_0x197885)=>{const _0x5e404d=a2_0x59f6ff,_0x4f0230=new ParentSegmentRunCommand(),_0x5150a0=program[_0x5e404d(0x17e)](),_0x11ed4d=await createTDXInstance(_0x5150a0),_0x17d031=await _0x4f0230[_0x5e404d(0x3bd)]({'options':{..._0x5150a0,..._0x197885},'args':_0x3a8597?[_0x3a8597]:[],'tdx':_0x11ed4d});gracefulExit(_0x17d031);});const parentSegmentCmd=program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x3f8))[a2_0x59f6ff(0x1fe)]('ps')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x222));parentSegmentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x491))['description'](a2_0x59f6ff(0x170))[a2_0x59f6ff(0x226)](parentListAction),parentSegmentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x1a1))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x4d7))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x441),a2_0x59f6ff(0x3a8))['option'](a2_0x59f6ff(0x2f2),'Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')['action'](async(_0x479b48,_0x4186d2)=>{const _0x3913cb=a2_0x59f6ff,_0x396ccf=new ParentSegmentPullCommand(),_0x4c05c7=program[_0x3913cb(0x17e)](),_0x28809e=await createTDXInstance(_0x4c05c7),_0x371d0b=await _0x396ccf[_0x3913cb(0x3bd)]({'options':{..._0x4c05c7,..._0x4186d2},'args':_0x479b48?[_0x479b48]:[],'tdx':_0x28809e});gracefulExit(_0x371d0b);}),parentSegmentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x4bd))['description']('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x59f6ff(0x226)](async(_0xe9c959,_0x1099fa)=>{const _0x4ffbbe=a2_0x59f6ff,_0x1287f1=new ParentSegmentPushCommand(),_0x399256=program[_0x4ffbbe(0x17e)](),_0x289632=await createTDXInstance(_0x399256),_0x2107b5=await _0x1287f1[_0x4ffbbe(0x3bd)]({'options':{..._0x399256,..._0x1099fa},'args':_0xe9c959?[_0xe9c959]:[],'tdx':_0x289632});gracefulExit(_0x2107b5);}),parentSegmentCmd['command'](a2_0x59f6ff(0x3fd))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x489))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x30e),a2_0x59f6ff(0x16f))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x20c),a2_0x59f6ff(0x1b1))['option'](a2_0x59f6ff(0x4c4),a2_0x59f6ff(0x461))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x36e),a2_0x59f6ff(0x3f3))[a2_0x59f6ff(0x171)]('--interval\x20<range>',a2_0x59f6ff(0x444),a2_0x59f6ff(0x28d))['action'](async(_0x2c1d27,_0xe3d2f9)=>{const _0x124045=a2_0x59f6ff,_0x590b89=new ParentSegmentValidateCommand(),_0x1bf4bc=program['opts'](),_0x4cd156=await createTDXInstance(_0x1bf4bc),_0x16c8fd=await _0x590b89[_0x124045(0x3bd)]({'options':{..._0x1bf4bc,..._0xe3d2f9},'args':_0x2c1d27?[_0x2c1d27]:[],'tdx':_0x4cd156});gracefulExit(_0x16c8fd);}),parentSegmentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x28e))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x3c3))[a2_0x59f6ff(0x171)]('--master',a2_0x59f6ff(0x17f))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x20c),a2_0x59f6ff(0x23e))[a2_0x59f6ff(0x171)]('--behavior\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x36e),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x59f6ff(0x171)]('--interval\x20<range>',a2_0x59f6ff(0x444),'-1d')[a2_0x59f6ff(0x226)](async(_0x58e4ed,_0x3891a9)=>{const _0x338659=a2_0x59f6ff,_0x28fcbd=new ParentSegmentPreviewCommand(),_0x360bd3=program[_0x338659(0x17e)](),_0x35161d=await createTDXInstance(_0x360bd3),_0x16cea4=await _0x28fcbd[_0x338659(0x3bd)]({'options':{..._0x360bd3,..._0x3891a9},'args':_0x58e4ed?[_0x58e4ed]:[],'tdx':_0x35161d});gracefulExit(_0x16cea4);}),parentSegmentCmd['command'](a2_0x59f6ff(0x17d))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x3b6))[a2_0x59f6ff(0x226)](async(_0x2e775f,_0x29e527)=>{const _0x252468=a2_0x59f6ff,_0x1ea3f4=new ParentSegmentRunCommand(),_0x5e4281=program[_0x252468(0x17e)](),_0x763d88=await createTDXInstance(_0x5e4281),_0x29a2f0=await _0x1ea3f4[_0x252468(0x3bd)]({'options':{..._0x5e4281,..._0x29e527},'args':_0x2e775f?[_0x2e775f]:[],'tdx':_0x763d88});gracefulExit(_0x29a2f0);}),parentSegmentCmd[a2_0x59f6ff(0x499)]('fields\x20[name]')[a2_0x59f6ff(0x174)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x38a),'Output\x20as\x20JSON')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x28a),a2_0x59f6ff(0x3d3))['action'](async(_0x1fcb36,_0x285eab)=>{const _0x2c4cc4=a2_0x59f6ff,_0xa3a5de=new ParentSegmentFieldsCommand(),_0x57940a=program[_0x2c4cc4(0x17e)](),_0x5b0218=await createTDXInstance(_0x57940a),_0x4a585b=await _0xa3a5de[_0x2c4cc4(0x3bd)]({'options':{..._0x57940a,..._0x285eab},'args':_0x1fcb36?[_0x1fcb36]:[],'tdx':_0x5b0218});gracefulExit(_0x4a585b);}),parentSegmentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x44c))[a2_0x59f6ff(0x174)]('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')['option']('-w,\x20--web',a2_0x59f6ff(0x1d6))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x38a),a2_0x59f6ff(0x1b3))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x28a),'Output\x20as\x20JSON\x20Lines')[a2_0x59f6ff(0x226)](async(_0x5ca2a3,_0x52e217)=>{const _0x443ddd=new ParentSegmentViewCommand(),_0xf7f859=program['opts'](),_0x2f7ba5=await createTDXInstance(_0xf7f859),_0x5d460d=await _0x443ddd['run']({'options':{..._0xf7f859,..._0x52e217},'args':_0x5ca2a3?[_0x5ca2a3]:[],'tdx':_0x2f7ba5});gracefulExit(_0x5d460d);}),parentSegmentCmd['command'](a2_0x59f6ff(0x1e1))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x3f9))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x441),'Output\x20file\x20path')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x38a),a2_0x59f6ff(0x1b3))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x28a),a2_0x59f6ff(0x3d3))[a2_0x59f6ff(0x226)](async(_0xcc5f4b,_0x423968)=>{const _0x1faf87=a2_0x59f6ff,_0x4528f3=new ParentSegmentDescCommand(),_0x232162=program[_0x1faf87(0x17e)](),_0x3392de=await createTDXInstance(_0x232162),_0xaf160c=await _0x4528f3[_0x1faf87(0x3bd)]({'options':{..._0x232162,..._0x423968},'args':_0xcc5f4b?[_0xcc5f4b]:[],'tdx':_0x3392de});gracefulExit(_0xaf160c);}),parentSegmentCmd[a2_0x59f6ff(0x499)]('sql\x20[name]')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x39d))[a2_0x59f6ff(0x171)]('--json',a2_0x59f6ff(0x1b3))[a2_0x59f6ff(0x171)]('--jsonl','Output\x20as\x20JSON\x20Lines')[a2_0x59f6ff(0x226)](async(_0x55949e,_0x2398b5)=>{const _0x53973f=a2_0x59f6ff,_0x51ce0a=new ParentSegmentSQLCommand(),_0x303cdb=program[_0x53973f(0x17e)](),_0x2d05b4=await createTDXInstance(_0x303cdb),_0x18ec35=await _0x51ce0a[_0x53973f(0x3bd)]({'options':{..._0x303cdb,..._0x2398b5},'args':_0x55949e?[_0x55949e]:[],'tdx':_0x2d05b4});gracefulExit(_0x18ec35);}),parentSegmentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x1b6))['description'](a2_0x59f6ff(0x193))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x39e),a2_0x59f6ff(0x1e2))[a2_0x59f6ff(0x171)]('--json',a2_0x59f6ff(0x1b3))[a2_0x59f6ff(0x171)]('--jsonl',a2_0x59f6ff(0x3d3))[a2_0x59f6ff(0x226)](async(_0x5bdd07,_0x477a29)=>{const _0x55c211=a2_0x59f6ff,_0x1893a3=new ParentSegmentShowCommand(),_0x4b85d7=program[_0x55c211(0x17e)](),_0x1a459f=await createTDXInstance(_0x4b85d7),_0x1f3ab0=await _0x1893a3[_0x55c211(0x3bd)]({'options':{..._0x4b85d7,..._0x477a29},'args':_0x5bdd07?[_0x5bdd07]:[],'tdx':_0x1a459f});gracefulExit(_0x1f3ab0);}),parentSegmentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x303))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x266))['action'](async(_0xd81d0b,_0x1020e2)=>{const _0x31293c=a2_0x59f6ff,_0x4e0397=new UseCommand(),_0x109ab0=program['opts'](),_0x264e16=_0xd81d0b?[_0x31293c(0x2e2),_0xd81d0b]:[],_0x50cec6=await _0x4e0397['run']({'options':{..._0x109ab0,..._0x1020e2},'args':_0x264e16,'tdx':null});gracefulExit(_0x50cec6);});const psRtCmd=parentSegmentCmd[a2_0x59f6ff(0x499)]('rt')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x265));psRtCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x491))['description'](a2_0x59f6ff(0x383))[a2_0x59f6ff(0x226)](async(_0xe1137a,_0x1b397c)=>{const _0x9d9daa=a2_0x59f6ff,_0x3a94c9=new PSRtListCommand(),_0x4e4bcf=program[_0x9d9daa(0x17e)](),_0x1aafff=await createTDXInstance(_0x4e4bcf),_0x3401c9=await _0x3a94c9['run']({'options':{..._0x4e4bcf,..._0x1b397c},'args':_0xe1137a?[_0xe1137a]:[],'tdx':_0x1aafff});gracefulExit(_0x3401c9);}),psRtCmd[a2_0x59f6ff(0x499)]('validate\x20[name]')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x3cb))[a2_0x59f6ff(0x226)](async(_0x14ed55,_0x2bb96a)=>{const _0x3ad3f9=a2_0x59f6ff,_0x25c1b9=new PSRtValidateCommand(),_0x469cf5=program[_0x3ad3f9(0x17e)](),_0x1edcc5=await createTDXInstance(_0x469cf5),_0x55a824=await _0x25c1b9[_0x3ad3f9(0x3bd)]({'options':{..._0x469cf5,..._0x2bb96a},'args':_0x14ed55?[_0x14ed55]:[],'tdx':_0x1edcc5});gracefulExit(_0x55a824);}),psRtCmd['command'](a2_0x59f6ff(0x4ce))[a2_0x59f6ff(0x174)]('Get\x20current\x20RT\x20configuration\x20version\x20status')[a2_0x59f6ff(0x226)](async(_0x5409c7,_0x1dafde)=>{const _0x1f36a7=a2_0x59f6ff,_0x2f3fba=new PSRtConfigVersionCommand(),_0x3701dd=program[_0x1f36a7(0x17e)](),_0x41e15e=await createTDXInstance(_0x3701dd),_0x57fbbb=await _0x2f3fba[_0x1f36a7(0x3bd)]({'options':{..._0x3701dd,..._0x1dafde},'args':_0x5409c7?[_0x5409c7]:[],'tdx':_0x41e15e});gracefulExit(_0x57fbbb);});const psRtJnCmd=psRtCmd[a2_0x59f6ff(0x499)]('jn')['description'](a2_0x59f6ff(0x293));psRtJnCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x41e))[a2_0x59f6ff(0x174)]('List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x59f6ff(0x226)](async(_0x3b23b1,_0x4e28ad)=>{const _0x175be2=a2_0x59f6ff,_0x4b219b=new PSRtJnListCommand(),_0x1e33e3=program[_0x175be2(0x17e)](),_0x540b85=await createTDXInstance(_0x1e33e3),_0x53b859=await _0x4b219b[_0x175be2(0x3bd)]({'options':{..._0x1e33e3,..._0x4e28ad},'args':_0x3b23b1?[_0x3b23b1]:[],'tdx':_0x540b85});gracefulExit(_0x53b859);}),psRtJnCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x194))['description']('Pause\x20activations\x20in\x20an\x20RT\x20journey')[a2_0x59f6ff(0x226)](async(_0x1e41bd,_0x3b324c)=>{const _0x118d7f=a2_0x59f6ff,_0x2c7360=new PSRtJnPauseCommand(),_0x1527a7=program[_0x118d7f(0x17e)](),_0xe283cb=await createTDXInstance(_0x1527a7),_0x55aa88=await _0x2c7360[_0x118d7f(0x3bd)]({'options':{..._0x1527a7,..._0x3b324c},'args':[_0x1e41bd],'tdx':_0xe283cb});gracefulExit(_0x55aa88);}),psRtJnCmd[a2_0x59f6ff(0x499)]('resume_activations\x20<journeyId>')[a2_0x59f6ff(0x174)]('Resume\x20activations\x20in\x20an\x20RT\x20journey')[a2_0x59f6ff(0x226)](async(_0x14232c,_0x28c034)=>{const _0x52c548=new PSRtJnResumeCommand(),_0x12ca50=program['opts'](),_0x15a027=await createTDXInstance(_0x12ca50),_0x1d528e=await _0x52c548['run']({'options':{..._0x12ca50,..._0x28c034},'args':[_0x14232c],'tdx':_0x15a027});gracefulExit(_0x1d528e);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})[a2_0x59f6ff(0x174)]('RT\x202.0\x20configuration\x20management');parentRtCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x491))['description'](a2_0x59f6ff(0x383))[a2_0x59f6ff(0x226)](async(_0x193742,_0x43487e)=>{const _0x45f5fc=a2_0x59f6ff,_0x31a3a4=new PSRtListCommand(),_0x448e16=program[_0x45f5fc(0x17e)](),_0x28eb0e=await createTDXInstance(_0x448e16),_0x28f0cc=await _0x31a3a4['run']({'options':{..._0x448e16,..._0x43487e},'args':_0x193742?[_0x193742]:[],'tdx':_0x28eb0e});gracefulExit(_0x28f0cc);}),parentRtCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x3fd))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x3cb))[a2_0x59f6ff(0x226)](async(_0x360d11,_0x5a8fe3)=>{const _0x8784ed=a2_0x59f6ff,_0xc06288=new PSRtValidateCommand(),_0x1574fc=program[_0x8784ed(0x17e)](),_0x1a7b1c=await createTDXInstance(_0x1574fc),_0x397872=await _0xc06288[_0x8784ed(0x3bd)]({'options':{..._0x1574fc,..._0x5a8fe3},'args':_0x360d11?[_0x360d11]:[],'tdx':_0x1a7b1c});gracefulExit(_0x397872);});const psPzCmd=parentSegmentCmd['command']('pz')['description'](a2_0x59f6ff(0x3a9));psPzCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x41e))[a2_0x59f6ff(0x174)]('List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x59f6ff(0x226)](async(_0xb32113,_0x254cbf)=>{const _0x5b9360=a2_0x59f6ff,_0x257038=new PSPzListCommand(),_0x3af634=program[_0x5b9360(0x17e)](),_0x1abe09=await createTDXInstance(_0x3af634),_0x506535=await _0x257038[_0x5b9360(0x3bd)]({'options':{..._0x3af634,..._0x254cbf},'args':_0xb32113?[_0xb32113]:[],'tdx':_0x1abe09});gracefulExit(_0x506535);}),psPzCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x4d3))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x247))['action'](async(_0x3e4e17,_0x144765)=>{const _0x45fb00=a2_0x59f6ff,_0x2e1ae1=new PSPzShowCommand(),_0xbdcdfa=program[_0x45fb00(0x17e)](),_0x15154f=await createTDXInstance(_0xbdcdfa),_0x46cfa5=await _0x2e1ae1['run']({'options':{..._0xbdcdfa,..._0x144765},'args':[_0x3e4e17],'tdx':_0x15154f});gracefulExit(_0x46cfa5);}),psPzCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x475))[a2_0x59f6ff(0x174)]('Delete\x20a\x20realtime\x20personalization')[a2_0x59f6ff(0x226)](async(_0x52ab11,_0x2ebb28)=>{const _0x3323bd=a2_0x59f6ff,_0x388332=new PSPzDeleteCommand(),_0x1d0476=program[_0x3323bd(0x17e)](),_0x3c83b7=await createTDXInstance(_0x1d0476),_0x2b394a=await _0x388332[_0x3323bd(0x3bd)]({'options':{..._0x1d0476,..._0x2ebb28},'args':[_0x52ab11],'tdx':_0x3c83b7});gracefulExit(_0x2b394a);}),psPzCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x201))['description'](a2_0x59f6ff(0x27c))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1e8),a2_0x59f6ff(0x464))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x274),a2_0x59f6ff(0x355))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x195),'Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted')[a2_0x59f6ff(0x171)]('--folder-id\x20<id>',a2_0x59f6ff(0x37e))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x387),a2_0x59f6ff(0x372))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x3c4),a2_0x59f6ff(0x3b3))[a2_0x59f6ff(0x226)](async _0x2e4825=>{const _0x2043b4=a2_0x59f6ff,_0x1f1dfd=new PSPzCreateCommand(),_0x19b54f=program['opts'](),_0xcffa30=await createTDXInstance(_0x19b54f),_0x25a0f6=await _0x1f1dfd[_0x2043b4(0x3bd)]({'options':{..._0x19b54f,..._0x2e4825},'args':[],'tdx':_0xcffa30});gracefulExit(_0x25a0f6);}),psPzCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x377))['description'](a2_0x59f6ff(0x2a6))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1e8),a2_0x59f6ff(0x464))[a2_0x59f6ff(0x171)]('--description\x20<text>',a2_0x59f6ff(0x355))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x387),a2_0x59f6ff(0x372))['option']('--file\x20<path>',a2_0x59f6ff(0x3b3))['action'](async(_0x29701f,_0x7ee026)=>{const _0x360649=a2_0x59f6ff,_0x3fd551=new PSPzPatchCommand(),_0xb6125a=program[_0x360649(0x17e)](),_0x1cd749=await createTDXInstance(_0xb6125a),_0x10fc57=await _0x3fd551[_0x360649(0x3bd)]({'options':{..._0xb6125a,..._0x7ee026},'args':[_0x29701f],'tdx':_0x1cd749});gracefulExit(_0x10fc57);});const psPzServiceCmd=psPzCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x4aa))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2d3));psPzServiceCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x41e))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x3f5))[a2_0x59f6ff(0x226)](async(_0x5a3a43,_0xe0a218)=>{const _0x511329=a2_0x59f6ff,_0x437a2f=new PSPzServiceListCommand(),_0x37868a=program['opts'](),_0x5905d3=await createTDXInstance(_0x37868a),_0x479c5a=await _0x437a2f[_0x511329(0x3bd)]({'options':{..._0x37868a,..._0xe0a218},'args':_0x5a3a43?[_0x5a3a43]:[],'tdx':_0x5905d3});gracefulExit(_0x479c5a);}),psPzServiceCmd[a2_0x59f6ff(0x499)]('create\x20<name>\x20[parent_segment]')[a2_0x59f6ff(0x174)]('Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x274),a2_0x59f6ff(0x2f0))[a2_0x59f6ff(0x171)]('--public',a2_0x59f6ff(0x3aa))['action'](async(_0x2f1585,_0x44cfbd,_0x1e8f65)=>{const _0x57b54c=a2_0x59f6ff,_0x1b8faf=new PSPzServiceCreateCommand(),_0x9be4f1=program[_0x57b54c(0x17e)](),_0x5ec4b0=await createTDXInstance(_0x9be4f1),_0x5a24ce=await _0x1b8faf['run']({'options':{..._0x9be4f1,..._0x1e8f65},'args':_0x44cfbd?[_0x2f1585,_0x44cfbd]:[_0x2f1585],'tdx':_0x5ec4b0});gracefulExit(_0x5a24ce);}),psPzServiceCmd['command'](a2_0x59f6ff(0x221))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x33f))[a2_0x59f6ff(0x226)](async(_0x2ffde1,_0x11b2d3,_0x7b25b2)=>{const _0x211e9b=a2_0x59f6ff,_0x50b87b=new PSPzServiceShowCommand(),_0x5f5dc8=program[_0x211e9b(0x17e)](),_0x2023a6=await createTDXInstance(_0x5f5dc8),_0x126df3=await _0x50b87b[_0x211e9b(0x3bd)]({'options':{..._0x5f5dc8,..._0x7b25b2},'args':_0x11b2d3?[_0x2ffde1,_0x11b2d3]:[_0x2ffde1],'tdx':_0x2023a6});gracefulExit(_0x126df3);}),psPzServiceCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x36b))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x49a))[a2_0x59f6ff(0x226)](async(_0x42c3d3,_0x599ef9,_0x34cb5c)=>{const _0x237f01=a2_0x59f6ff,_0x1c4693=new PSPzServiceDeleteCommand(),_0x5adebb=program[_0x237f01(0x17e)](),_0x4fce0b=await createTDXInstance(_0x5adebb),_0x7c1e6f=await _0x1c4693['run']({'options':{..._0x5adebb,..._0x34cb5c},'args':_0x599ef9?[_0x42c3d3,_0x599ef9]:[_0x42c3d3],'tdx':_0x4fce0b});gracefulExit(_0x7c1e6f);}),psPzServiceCmd[a2_0x59f6ff(0x499)]('update\x20<service_id>\x20[parent_segment]')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x292))[a2_0x59f6ff(0x2ab)]('--name\x20<name>',a2_0x59f6ff(0x2b6))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x274),a2_0x59f6ff(0x2a9))[a2_0x59f6ff(0x226)](async(_0x171a70,_0x3d4e74,_0x2d687b)=>{const _0x15307a=a2_0x59f6ff,_0x27244e=new PSPzServiceUpdateCommand(),_0x34b073=program[_0x15307a(0x17e)](),_0x56807d=await createTDXInstance(_0x34b073),_0x47a1a3=await _0x27244e['run']({'options':{..._0x34b073,..._0x2d687b},'args':_0x3d4e74?[_0x171a70,_0x3d4e74]:[_0x171a70],'tdx':_0x56807d});gracefulExit(_0x47a1a3);}),psPzServiceCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x31d))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x227))[a2_0x59f6ff(0x226)](async(_0x5c8b19,_0x482a2a)=>{const _0x715341=a2_0x59f6ff,_0x35adab=new PSPzInitCommand(),_0xb5da49=program[_0x715341(0x17e)](),_0x21ea50=await createTDXInstance(_0xb5da49),_0x1ade62=await _0x35adab['run']({'options':{..._0xb5da49,..._0x482a2a},'args':_0x5c8b19?[_0x5c8b19]:[],'tdx':_0x21ea50});gracefulExit(_0x1ade62);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x2c8))['description'](a2_0x59f6ff(0x3a0));psPzServiceTokenCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x2ed))['description']('Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x490),a2_0x59f6ff(0x32f))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x274),a2_0x59f6ff(0x1f8))[a2_0x59f6ff(0x226)](async(_0x4d531b,_0x2bcd74,_0x1324c1,_0x3961f5)=>{const _0x5941d6=a2_0x59f6ff,_0x1b9109=new PSPzServiceTokenCreateCommand(),_0x193027=program[_0x5941d6(0x17e)](),_0x5e79e6=await createTDXInstance(_0x193027),_0x2427c6=await _0x1b9109[_0x5941d6(0x3bd)]({'options':{..._0x193027,..._0x3961f5},'args':_0x1324c1?[_0x4d531b,_0x2bcd74,_0x1324c1]:[_0x4d531b,_0x2bcd74],'tdx':_0x5e79e6});gracefulExit(_0x2427c6);}),psPzServiceTokenCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x2a3))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x429))[a2_0x59f6ff(0x226)](async(_0x4f69aa,_0x41a664,_0x5a3525)=>{const _0x2c2ae3=a2_0x59f6ff,_0x3404af=new PSPzServiceTokenDeleteCommand(),_0x5008cc=program[_0x2c2ae3(0x17e)](),_0x577112=await createTDXInstance(_0x5008cc),_0x22b2be=await _0x3404af[_0x2c2ae3(0x3bd)]({'options':{..._0x5008cc,..._0x5a3525},'args':_0x41a664?[_0x4f69aa,_0x41a664]:[_0x4f69aa],'tdx':_0x577112});gracefulExit(_0x22b2be);}),parentCmd['command']('create\x20<name>')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x40e))[a2_0x59f6ff(0x2ab)](a2_0x59f6ff(0x3f0),'Master\x20database\x20name')[a2_0x59f6ff(0x2ab)](a2_0x59f6ff(0x330),'Master\x20table\x20name')[a2_0x59f6ff(0x171)]('--description\x20<text>',a2_0x59f6ff(0x204))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x3b1),'Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x3ae),a2_0x59f6ff(0x2a8))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x216),'Timezone\x20(e.g.,\x20America/Los_Angeles)')['option'](a2_0x59f6ff(0x3ac),a2_0x59f6ff(0x48d))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x241),'Attributes\x20from\x20JSON\x20file')['option'](a2_0x59f6ff(0x2a0),'Behaviors\x20as\x20JSON\x20string')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x19e),a2_0x59f6ff(0x288))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x275),a2_0x59f6ff(0x327))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1c0),a2_0x59f6ff(0x4c7))[a2_0x59f6ff(0x226)](async(_0x43a085,_0x5777da)=>{const _0x43ea46=a2_0x59f6ff,_0x2c0709=new ParentSegmentCreateCommand(),_0x4fc869=program['opts'](),_0x2eff19=await createTDXInstance(_0x4fc869),_0x29b253=await _0x2c0709[_0x43ea46(0x3bd)]({'options':{..._0x4fc869,..._0x5777da},'args':[_0x43a085],'tdx':_0x2eff19});gracefulExit(_0x29b253);}),parentCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x4cc))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x307))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x274),a2_0x59f6ff(0x457))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x3b1),a2_0x59f6ff(0x434))[a2_0x59f6ff(0x171)]('--schedule-option\x20<value>',a2_0x59f6ff(0x439))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x216),a2_0x59f6ff(0x23c))[a2_0x59f6ff(0x171)]('--add-attributes\x20<json>',a2_0x59f6ff(0x209))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x38b),'Add\x20attributes\x20from\x20JSON\x20file')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1fa),a2_0x59f6ff(0x242))['option'](a2_0x59f6ff(0x3dc),a2_0x59f6ff(0x2d9))['action'](async(_0x1bb15b,_0x243058)=>{const _0x43568a=a2_0x59f6ff,_0x5df73b=new ParentSegmentUpdateCommand(),_0x2e31e3=program['opts'](),_0x59becc=await createTDXInstance(_0x2e31e3),_0x5d8790=await _0x5df73b[_0x43568a(0x3bd)]({'options':{..._0x2e31e3,..._0x243058},'args':[_0x1bb15b],'tdx':_0x59becc});gracefulExit(_0x5d8790);}),folderCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x35b))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x244))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x274),'Folder\x20description')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x3e0),'Parent\x20folder\x20name\x20for\x20nested\x20folders')[a2_0x59f6ff(0x226)](async(_0x605039,_0x5167b5,_0x3d0d7f)=>{const _0x148801=a2_0x59f6ff,_0x10484d=new SegmentFolderCreateCommand(),_0x4e9d41=program[_0x148801(0x17e)](),_0x580b29=await createTDXInstance(_0x4e9d41),_0x4e5709=await _0x10484d['run']({'options':{..._0x4e9d41,..._0x3d0d7f},'args':[_0x605039,_0x5167b5],'tdx':_0x580b29});gracefulExit(_0x4e5709);}),program['command'](a2_0x59f6ff(0x320))[a2_0x59f6ff(0x174)]('List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)')['action'](async(_0x1d6efb,_0x5d8a5e)=>{const _0x1b7d09=a2_0x59f6ff,_0x23f43e=new ActivationsCommand(),_0x16d264=program[_0x1b7d09(0x17e)](),_0x57d268=await createTDXInstance(_0x16d264),_0x4756d4=await _0x23f43e[_0x1b7d09(0x3bd)]({'options':{..._0x16d264,..._0x5d8a5e},'args':[_0x1d6efb],'tdx':_0x57d268});gracefulExit(_0x4756d4);});const workflowCmd=program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x456))['alias']('wf')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2f9)),wfProjectCmd=workflowCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x224))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x22e)),wfProjectListAction=async(_0x34da09,_0x1599e2)=>{const _0x4508cf=a2_0x59f6ff,_0x2be551=new WorkflowProjectsCommand(),_0x57b5f8=program[_0x4508cf(0x17e)](),_0x3c0935=await createTDXInstance(_0x57b5f8),_0x42f076=await _0x2be551[_0x4508cf(0x3bd)]({'options':{..._0x57b5f8,..._0x1599e2},'args':_0x34da09?[_0x34da09]:[],'tdx':_0x3c0935});gracefulExit(_0x42f076);};wfProjectCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x491))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x30b))['action'](wfProjectListAction),workflowCmd['command'](a2_0x59f6ff(0x284))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x296))['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x51f2d0,_0x26397b)=>{const _0x86ea03=a2_0x59f6ff,_0x5b4f3a=new WorkflowWorkflowsCommand(),_0x156344=program['opts'](),_0x3fad1e=await createTDXInstance(_0x156344),_0x32a82d=await _0x5b4f3a[_0x86ea03(0x3bd)]({'options':{..._0x156344,..._0x26397b},'args':_0x51f2d0?[_0x51f2d0]:[],'tdx':_0x3fad1e});gracefulExit(_0x32a82d);};workflowCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x3b2))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2df))[a2_0x59f6ff(0x226)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x26e))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x166)),wfSessionListAction=async(_0x3df2c8,_0x2b5c2d)=>{const _0x10d6b7=a2_0x59f6ff,_0xb4fc99=new WorkflowSessionsCommand(),_0x174d20=program[_0x10d6b7(0x17e)](),_0x20e221=await createTDXInstance(_0x174d20),_0x5f3e3f=await _0xb4fc99[_0x10d6b7(0x3bd)]({'options':{..._0x174d20,..._0x2b5c2d},'args':_0x3df2c8?[_0x3df2c8]:[],'tdx':_0x20e221});gracefulExit(_0x5f3e3f);};wfSessionCmd['command'](a2_0x59f6ff(0x3d7))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x338))['option']('--status\x20<status>',a2_0x59f6ff(0x458))['option']('--from\x20<timestamp>',a2_0x59f6ff(0x1c4))[a2_0x59f6ff(0x171)]('--to\x20<timestamp>',a2_0x59f6ff(0x295))[a2_0x59f6ff(0x226)](wfSessionListAction),workflowCmd['command'](a2_0x59f6ff(0x251))['description'](a2_0x59f6ff(0x1f0))['option'](a2_0x59f6ff(0x496),a2_0x59f6ff(0x458))[a2_0x59f6ff(0x171)]('--from\x20<timestamp>',a2_0x59f6ff(0x1c4))[a2_0x59f6ff(0x171)]('--to\x20<timestamp>',a2_0x59f6ff(0x295))[a2_0x59f6ff(0x226)](wfSessionListAction);const wfAttemptListAction=async(_0x556410,_0x1833d9)=>{const _0x3e94d6=a2_0x59f6ff,_0x121c41=new WorkflowAttemptsCommand(),_0x4bf4eb=program[_0x3e94d6(0x17e)](),_0x6e49b7=await createTDXInstance(_0x4bf4eb),_0x2cbf56=await _0x121c41[_0x3e94d6(0x3bd)]({'options':{..._0x4bf4eb,..._0x1833d9},'args':_0x556410?[_0x556410]:[],'tdx':_0x6e49b7});gracefulExit(_0x2cbf56);},attemptCmd=workflowCmd['command'](a2_0x59f6ff(0x2cf))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x1f9))['argument']('[attempt-id]',a2_0x59f6ff(0x359))[a2_0x59f6ff(0x48a)]('[action]','Action:\x20logs,\x20tasks,\x20kill,\x20retry')['argument'](a2_0x59f6ff(0x1fd),a2_0x59f6ff(0x28b))[a2_0x59f6ff(0x171)]('--include-subtasks',a2_0x59f6ff(0x305))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x4b2),'Reason\x20for\x20killing\x20the\x20attempt')['option'](a2_0x59f6ff(0x47c),a2_0x59f6ff(0x43e))['option']('--params\x20<json>','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1c2),a2_0x59f6ff(0x2a1))['option'](a2_0x59f6ff(0x340),'Include\x20retried\x20attempts\x20(for\x20list)')[a2_0x59f6ff(0x226)](async(_0x493e91,_0x1ca341,_0x4cb429,_0x486569)=>{const _0x52fb43=a2_0x59f6ff;if(_0x493e91===_0x52fb43(0x36a)){await wfAttemptListAction(_0x1ca341,_0x486569);return;}if(!_0x493e91){attemptCmd[_0x52fb43(0x39a)]();return;}const _0x1ab086=program[_0x52fb43(0x17e)](),_0x393088=await createTDXInstance(_0x1ab086);let _0x2c8d42=0x0;if(!_0x1ca341){const _0x2d1346=new WorkflowAttemptCommand();_0x2c8d42=await _0x2d1346[_0x52fb43(0x3bd)]({'options':{..._0x1ab086,..._0x486569},'args':[_0x493e91],'tdx':_0x393088});}else{if(_0x1ca341===_0x52fb43(0x215)){const _0x1bfac1=new WorkflowLogsCommand();_0x2c8d42=await _0x1bfac1[_0x52fb43(0x3bd)]({'options':{..._0x1ab086,..._0x486569},'args':_0x4cb429?[_0x493e91,_0x4cb429]:[_0x493e91],'tdx':_0x393088});}else{if(_0x1ca341===_0x52fb43(0x39c)){const _0x4620be=new WorkflowTasksCommand();_0x2c8d42=await _0x4620be['run']({'options':{..._0x1ab086,..._0x486569},'args':[_0x493e91],'tdx':_0x393088});}else{if(_0x1ca341===_0x52fb43(0x2d4)){const _0x10e08c=new WorkflowKillCommand();_0x2c8d42=await _0x10e08c[_0x52fb43(0x3bd)]({'options':{..._0x1ab086,..._0x486569},'args':[_0x493e91],'tdx':_0x393088});}else{if(_0x1ca341==='retry'){const _0x234819=new WorkflowRetryCommand();_0x2c8d42=await _0x234819[_0x52fb43(0x3bd)]({'options':{..._0x1ab086,..._0x486569},'args':[_0x52fb43(0x3e1)+_0x493e91],'tdx':_0x393088});}else console['error'](_0x52fb43(0x448)+_0x1ca341),console[_0x52fb43(0x1a4)](_0x52fb43(0x31e)),_0x2c8d42=0x1;}}}}gracefulExit(_0x2c8d42);});attemptCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x3d7))['description'](a2_0x59f6ff(0x2ba))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x340),a2_0x59f6ff(0x385))[a2_0x59f6ff(0x226)](wfAttemptListAction),workflowCmd[a2_0x59f6ff(0x499)]('attempts\x20[project]')['description']('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x340),a2_0x59f6ff(0x385))[a2_0x59f6ff(0x226)](wfAttemptListAction),workflowCmd['command'](a2_0x59f6ff(0x350))[a2_0x59f6ff(0x174)]('Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x376),a2_0x59f6ff(0x1ef))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x470),a2_0x59f6ff(0x462))['option'](a2_0x59f6ff(0x1a7),a2_0x59f6ff(0x452))['action'](async(_0x3ddc6d,_0x3f97fe)=>{const _0x1b70ce=a2_0x59f6ff,_0x5bfc5b=new WorkflowTimelineCommand(),_0xb46c56=program[_0x1b70ce(0x17e)](),_0x40ce97=await createTDXInstance(_0xb46c56),_0x2cfd58=await _0x5bfc5b[_0x1b70ce(0x3bd)]({'options':{..._0xb46c56,..._0x3f97fe},'args':_0x3ddc6d?[_0x3ddc6d]:[],'tdx':_0x40ce97});gracefulExit(_0x2cfd58);}),workflowCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x368))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2c4))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x44d),a2_0x59f6ff(0x483))[a2_0x59f6ff(0x171)]('--params\x20<json>',a2_0x59f6ff(0x1ee))[a2_0x59f6ff(0x226)](async(_0x3550f1,_0x4f54a1)=>{const _0x1357c9=a2_0x59f6ff,_0x5702b9=new WorkflowRetryCommand(),_0x97d561=program[_0x1357c9(0x17e)](),_0x23cd5c=await createTDXInstance(_0x97d561),_0x1dc59a=await _0x5702b9[_0x1357c9(0x3bd)]({'options':{..._0x97d561,..._0x4f54a1},'args':[_0x3550f1],'tdx':_0x23cd5c});gracefulExit(_0x1dc59a);}),workflowCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x3ec))['description'](a2_0x59f6ff(0x1ea))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x181),a2_0x59f6ff(0x349),(_0x1c1b87,_0x35fe2c=[])=>[..._0x35fe2c,_0x1c1b87],[])[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x26c),a2_0x59f6ff(0x44e))['option'](a2_0x59f6ff(0x283),a2_0x59f6ff(0x21a))[a2_0x59f6ff(0x226)](async(_0x5da6b4,_0x5c4cb2)=>{const _0x16f214=a2_0x59f6ff,_0x55badc=new WorkflowRunCommand(),_0x18b5a4=program[_0x16f214(0x17e)](),_0x3ed68f=await createTDXInstance(_0x18b5a4),_0x466870=await _0x55badc['run']({'options':{..._0x18b5a4,..._0x5c4cb2},'args':_0x5da6b4?[_0x5da6b4]:[],'tdx':_0x3ed68f});gracefulExit(_0x466870);}),workflowCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x1bc))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2da))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x403),'Specific\x20revision\x20to\x20download\x20(default:\x20latest)')[a2_0x59f6ff(0x226)](async(_0x8facdf,_0x20ff5d,_0xcd3209)=>{const _0x499dde=a2_0x59f6ff,_0x371d2d=new WorkflowDownloadCommand(),_0x5ae807=program[_0x499dde(0x17e)](),_0x5773a3=await createTDXInstance(_0x5ae807),_0x56cee5=await _0x371d2d[_0x499dde(0x3bd)]({'options':{..._0x5ae807,..._0xcd3209},'args':[_0x8facdf,_0x20ff5d||'.'],'tdx':_0x5773a3});gracefulExit(_0x56cee5);}),workflowCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x317))[a2_0x59f6ff(0x174)]('Pull\x20workflow\x20project\x20to\x20local\x20folder')['option']('--revision\x20<revision>',a2_0x59f6ff(0x447))[a2_0x59f6ff(0x171)]('--dry-run',a2_0x59f6ff(0x3ee))[a2_0x59f6ff(0x226)](async(_0xa49004,_0x4a8d65,_0x51500f)=>{const _0x1b6aa2=new WorkflowPullCommand(),_0xe7a18e=program['opts'](),_0x24885e=await createTDXInstance(_0xe7a18e),_0x5da3c0=await _0x1b6aa2['run']({'options':{..._0xe7a18e,..._0x51500f},'args':_0x4a8d65?[_0xa49004,_0x4a8d65]:[_0xa49004],'tdx':_0x24885e});gracefulExit(_0x5da3c0);}),workflowCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x3d0))[a2_0x59f6ff(0x174)]('Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20AI')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x403),a2_0x59f6ff(0x3e4))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x283),'Preview\x20changes\x20without\x20pushing')['option']('--skip-validation',a2_0x59f6ff(0x384))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x205),a2_0x59f6ff(0x497))[a2_0x59f6ff(0x226)](async(_0x2cf0c9,_0x4d1d57)=>{const _0x3e470e=a2_0x59f6ff,_0x214114=new WorkflowPushCommand(),_0x1abcba=program[_0x3e470e(0x17e)](),_0x432855=await createTDXInstance(_0x1abcba),_0x26d99e=await _0x214114[_0x3e470e(0x3bd)]({'options':{..._0x1abcba,..._0x4d1d57},'args':_0x2cf0c9?[_0x2cf0c9]:[],'tdx':_0x432855});gracefulExit(_0x26d99e);}),workflowCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x3ef))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x463))[a2_0x59f6ff(0x171)]('--name\x20<name>',a2_0x59f6ff(0x2e0))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x403),'Revision\x20name\x20(default:\x20timestamp)')['option'](a2_0x59f6ff(0x2b5),a2_0x59f6ff(0x384))[a2_0x59f6ff(0x226)](async(_0x55b3f6,_0x42ea6e)=>{const _0x24f0e4=a2_0x59f6ff,_0x7e82a7=new WorkflowUploadCommand(),_0x1089d1=program[_0x24f0e4(0x17e)](),_0x5e5401=await createTDXInstance(_0x1089d1),_0x2495b4=await _0x7e82a7[_0x24f0e4(0x3bd)]({'options':{..._0x1089d1,..._0x42ea6e},'args':_0x55b3f6?[_0x55b3f6]:[],'tdx':_0x5e5401});gracefulExit(_0x2495b4);}),workflowCmd['command']('clone\x20[source-dir]')[a2_0x59f6ff(0x174)]('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x396),'Name\x20for\x20the\x20new\x20project\x20(required)')['option'](a2_0x59f6ff(0x403),a2_0x59f6ff(0x3e4))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x283),a2_0x59f6ff(0x3a5))[a2_0x59f6ff(0x171)]('--skip-validation','Skip\x20validation\x20of\x20.dig\x20files')['action'](async(_0xbdeb0c,_0xa76aac)=>{const _0x3d1ef9=a2_0x59f6ff,_0x439db1=new WorkflowCloneCommand(),_0x2db9f4=program[_0x3d1ef9(0x17e)](),_0x5382f7=await createTDXInstance(_0x2db9f4),_0x5c5672=await _0x439db1[_0x3d1ef9(0x3bd)]({'options':{..._0x2db9f4,..._0xa76aac},'args':_0xbdeb0c?[_0xbdeb0c]:[],'tdx':_0x5382f7});gracefulExit(_0x5c5672);}),workflowCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x488))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x40b))[a2_0x59f6ff(0x226)](async(_0x47ad1a,_0x43bf53)=>{const _0x3ae092=new WorkflowDeleteCommand(),_0x17bfec=program['opts'](),_0x42ada2=await createTDXInstance(_0x17bfec),_0xf19a96=await _0x3ae092['run']({'options':{..._0x17bfec,..._0x43bf53},'args':[_0x47ad1a],'tdx':_0x42ada2});gracefulExit(_0xf19a96);}),workflowCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x417))[a2_0x59f6ff(0x174)]('Set\x20default\x20workflow\x20project\x20for\x20this\x20session')['option'](a2_0x59f6ff(0x347),a2_0x59f6ff(0x460))['action'](async(_0x21d973,_0xbc73bc)=>{const _0x2b9657=a2_0x59f6ff,_0x1b7a0c=new WorkflowUseCommand(),_0x26ee12=program[_0x2b9657(0x17e)](),_0x1eb0c4=await createTDXInstance(_0x26ee12),_0x3a0dfc=await _0x1b7a0c[_0x2b9657(0x3bd)]({'options':{..._0x26ee12,..._0xbc73bc},'args':_0x21d973?[_0x21d973]:[],'tdx':_0x1eb0c4});gracefulExit(_0x3a0dfc);});const wfSecretsCmd=workflowCmd['command'](a2_0x59f6ff(0x482))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x1a9));wfSecretsCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x3d7))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x1d0))['action'](async(_0x2e2e8b,_0x17af3d)=>{const _0x265a77=a2_0x59f6ff,_0x2d15a0=new WorkflowSecretsListCommand(),_0x374260=program[_0x265a77(0x17e)](),_0x3052ee=await createTDXInstance(_0x374260),_0x3f3717=await _0x2d15a0[_0x265a77(0x3bd)]({'options':{..._0x374260,..._0x17af3d},'args':_0x2e2e8b?[_0x2e2e8b]:[],'tdx':_0x3052ee});gracefulExit(_0x3f3717);}),wfSecretsCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x186))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x3bf))[a2_0x59f6ff(0x226)](async(_0x3d76da,_0x38d08c)=>{const _0x1e729a=a2_0x59f6ff,_0x17eeb2=new WorkflowSecretsSetCommand(),_0x27353f=program[_0x1e729a(0x17e)](),_0x3fffcd=await createTDXInstance(_0x27353f),_0x3eb46d=await _0x17eeb2['run']({'options':{..._0x27353f,..._0x38d08c},'args':_0x3d76da,'tdx':_0x3fffcd});gracefulExit(_0x3eb46d);}),wfSecretsCmd['command'](a2_0x59f6ff(0x1f7))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x172))['action'](async(_0x4c8acb,_0x37c435)=>{const _0x388416=a2_0x59f6ff,_0x19334a=new WorkflowSecretsDeleteCommand(),_0x161cb5=program[_0x388416(0x17e)](),_0x368ecb=await createTDXInstance(_0x161cb5),_0x2eaf18=await _0x19334a['run']({'options':{..._0x161cb5,..._0x37c435},'args':_0x4c8acb,'tdx':_0x368ecb});gracefulExit(_0x2eaf18);});function a2_0x4649(_0x47100c,_0x4a9592){_0x47100c=_0x47100c-0x164;const _0x2dd2fb=a2_0x2dd2();let _0x46494d=_0x2dd2fb[_0x47100c];return _0x46494d;}const wfScheduleCmd=workflowCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x4b4))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x3d8));wfScheduleCmd[a2_0x59f6ff(0x499)]('enable\x20<id>')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x282))['option'](a2_0x59f6ff(0x205),a2_0x59f6ff(0x497))['option']('--next-time\x20<time>',a2_0x59f6ff(0x322))[a2_0x59f6ff(0x226)](async(_0x59f946,_0x3b45c5)=>{const _0x21bf43=a2_0x59f6ff,_0x3195eb=new WorkflowScheduleEnableCommand(),_0x197dc4=program[_0x21bf43(0x17e)](),_0x1e3ea8=await createTDXInstance(_0x197dc4),_0x14b697=await _0x3195eb[_0x21bf43(0x3bd)]({'options':{..._0x197dc4,..._0x3b45c5},'args':[_0x59f946],'tdx':_0x1e3ea8});gracefulExit(_0x14b697);}),wfScheduleCmd['command'](a2_0x59f6ff(0x421))['description'](a2_0x59f6ff(0x314))[a2_0x59f6ff(0x226)](async(_0x3bf1e8,_0x1d76b9)=>{const _0x54fd33=a2_0x59f6ff,_0x141423=new WorkflowScheduleDisableCommand(),_0x162481=program[_0x54fd33(0x17e)](),_0x4de670=await createTDXInstance(_0x162481),_0x59fd84=await _0x141423[_0x54fd33(0x3bd)]({'options':{..._0x162481,..._0x1d76b9},'args':[_0x3bf1e8],'tdx':_0x4de670});gracefulExit(_0x59fd84);});const wfSchedulesListAction=async(_0xb3f808,_0x2df1d6)=>{const _0x9e7105=a2_0x59f6ff,_0x154fe0=new WorkflowSchedulesCommand(),_0x1011eb=program[_0x9e7105(0x17e)](),_0xb9fa25=await createTDXInstance(_0x1011eb),_0x2b4ae3=await _0x154fe0[_0x9e7105(0x3bd)]({'options':{..._0x1011eb,..._0x2df1d6},'args':_0xb3f808?[_0xb3f808]:[],'tdx':_0xb9fa25});gracefulExit(_0x2b4ae3);};wfScheduleCmd['command'](a2_0x59f6ff(0x28c))[a2_0x59f6ff(0x174)]('List\x20workflow\x20schedules\x20(filter\x20by\x20project\x20or\x20project.workflow)')['option'](a2_0x59f6ff(0x2b3),a2_0x59f6ff(0x26a))[a2_0x59f6ff(0x226)](wfSchedulesListAction),workflowCmd['command']('schedules\x20[project.workflow]')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x45e))['option'](a2_0x59f6ff(0x2b3),a2_0x59f6ff(0x26a))[a2_0x59f6ff(0x226)](wfSchedulesListAction);const jobCmd=program['command'](a2_0x59f6ff(0x1bb))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x1dc)),jobListAction=async _0x58b6fa=>{const _0x390479=a2_0x59f6ff,_0x1926d5=new JobListCommand(),_0x35e891=program[_0x390479(0x17e)](),_0x357b20=await createTDXInstance(_0x35e891),_0x299b82=await _0x1926d5[_0x390479(0x3bd)]({'options':{..._0x35e891,..._0x58b6fa},'args':[],'tdx':_0x357b20});gracefulExit(_0x299b82);};jobCmd['command'](a2_0x59f6ff(0x36a))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x200))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x496),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x59f6ff(0x226)](jobListAction),program['command']('jobs',{'hidden':!![]})[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2d7))[a2_0x59f6ff(0x171)]('--status\x20<status>',a2_0x59f6ff(0x46f))[a2_0x59f6ff(0x226)](jobListAction),jobCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x2ea))['description']('Show\x20job\x20details')[a2_0x59f6ff(0x226)](async(_0x5e420f,_0x374918)=>{const _0x279612=new JobShowCommand(),_0x31c432=program['opts'](),_0x2d0d83=await createTDXInstance(_0x31c432),_0x424332=await _0x279612['run']({'options':{..._0x31c432,..._0x374918},'args':[_0x5e420f],'tdx':_0x2d0d83});gracefulExit(_0x424332);}),jobCmd[a2_0x59f6ff(0x499)]('kill\x20<job-id>')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x31c))[a2_0x59f6ff(0x226)](async(_0x25c291,_0x3f6b51)=>{const _0x404a49=a2_0x59f6ff,_0x41ac90=new JobKillCommand(),_0x4065b0=program['opts'](),_0x4f2aec=await createTDXInstance(_0x4065b0),_0x326e07=await _0x41ac90[_0x404a49(0x3bd)]({'options':{..._0x4065b0,..._0x3f6b51},'args':[_0x25c291],'tdx':_0x4f2aec});gracefulExit(_0x326e07);}),jobCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x402))['description'](a2_0x59f6ff(0x3c5))['option'](a2_0x59f6ff(0x290),a2_0x59f6ff(0x1d5),a2_0x59f6ff(0x431))[a2_0x59f6ff(0x171)]('-f,\x20--file\x20<path>',a2_0x59f6ff(0x1c8))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x43d),'Database\x20name\x20(default:\x20information_schema)','information_schema')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x411),'Result\x20export\x20destination\x20(URL\x20or\x20JSON)')[a2_0x59f6ff(0x226)](async(_0x3e14b2,_0x402ca9)=>{const _0x464030=a2_0x59f6ff,_0x526a6c=new JobSubmitCommand(),_0x1ccc47=program['opts'](),_0x1c6f3b=await createTDXInstance(_0x1ccc47),_0xcab0f2=await _0x526a6c[_0x464030(0x3bd)]({'options':{..._0x1ccc47,..._0x402ca9},'args':_0x3e14b2?[_0x3e14b2]:[],'tdx':_0x1c6f3b});gracefulExit(_0xcab0f2);}),jobCmd['command'](a2_0x59f6ff(0x49c))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x363))[a2_0x59f6ff(0x226)](async(_0x1d28ce,_0x437770)=>{const _0x3820f1=a2_0x59f6ff,_0x11af18=new JobResultCommand(),_0x341af2=program[_0x3820f1(0x17e)](),_0x374141=await createTDXInstance(_0x341af2),_0x15cda7=await _0x11af18[_0x3820f1(0x3bd)]({'options':{..._0x341af2,..._0x437770},'args':[_0x1d28ce],'tdx':_0x374141});gracefulExit(_0x15cda7);});const scheduleCmd=jobCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x4b4))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x1a0));scheduleCmd['command']('list\x20[pattern]')[a2_0x59f6ff(0x174)]('List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)')[a2_0x59f6ff(0x226)](async(_0x556bf4,_0x506ca8)=>{const _0x129356=a2_0x59f6ff,_0x291a82=new ScheduleListCommand(),_0x57e1e3=program[_0x129356(0x17e)](),_0x4b829c=await createTDXInstance(_0x57e1e3),_0x3542dc=await _0x291a82[_0x129356(0x3bd)]({'options':{..._0x57e1e3,..._0x506ca8},'args':_0x556bf4?[_0x556bf4]:[],'tdx':_0x4b829c});gracefulExit(_0x3542dc);}),scheduleCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x183))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x3d9))[a2_0x59f6ff(0x226)](async(_0x21bd31,_0x5d0ac6)=>{const _0x4287fb=a2_0x59f6ff,_0x2f5111=new ScheduleShowCommand(),_0x3e1efc=program['opts'](),_0x2d5614=await createTDXInstance(_0x3e1efc),_0xb14ad3=await _0x2f5111[_0x4287fb(0x3bd)]({'options':{..._0x3e1efc,..._0x5d0ac6},'args':[_0x21bd31],'tdx':_0x2d5614});gracefulExit(_0xb14ad3);}),scheduleCmd[a2_0x59f6ff(0x499)]('create\x20<name>')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x25c))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x2ca),a2_0x59f6ff(0x34a))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1ae),a2_0x59f6ff(0x2e8))[a2_0x59f6ff(0x2ab)]('-f,\x20--file\x20<path>',a2_0x59f6ff(0x1c8))[a2_0x59f6ff(0x171)]('--type\x20<type>','Query\x20type:\x20trino\x20or\x20hive',a2_0x59f6ff(0x431))['option'](a2_0x59f6ff(0x2b1),a2_0x59f6ff(0x248))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x216),a2_0x59f6ff(0x394))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x27b),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x48b),a2_0x59f6ff(0x48e))['option'](a2_0x59f6ff(0x294),a2_0x59f6ff(0x1db))['option'](a2_0x59f6ff(0x1c6),a2_0x59f6ff(0x390))[a2_0x59f6ff(0x171)]('--result\x20<url>',a2_0x59f6ff(0x3fc))[a2_0x59f6ff(0x226)](async(_0x2ed3dc,_0xa0fd7e)=>{const _0x4d5af1=a2_0x59f6ff,_0x14dbfc=new ScheduleCreateCommand(),_0x89d965=program[_0x4d5af1(0x17e)](),_0x247eb2=await createTDXInstance(_0x89d965);_0xa0fd7e['in']&&(_0xa0fd7e[_0x4d5af1(0x3d5)]=_0xa0fd7e['in']);const _0x27a24e=await _0x14dbfc['run']({'options':{..._0x89d965,..._0xa0fd7e},'args':[_0x2ed3dc],'tdx':_0x247eb2});gracefulExit(_0x27a24e);}),scheduleCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x4cc))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x4bf))['option']('-d,\x20--database\x20<db>',a2_0x59f6ff(0x203))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1ae),a2_0x59f6ff(0x2e8))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x214),a2_0x59f6ff(0x1c8))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x3db),a2_0x59f6ff(0x1ed))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x2b1),a2_0x59f6ff(0x248))['option'](a2_0x59f6ff(0x216),a2_0x59f6ff(0x308))[a2_0x59f6ff(0x171)]('--delay\x20<seconds>',a2_0x59f6ff(0x2c3))['option'](a2_0x59f6ff(0x48b),a2_0x59f6ff(0x48e))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x294),a2_0x59f6ff(0x1db))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1c6),a2_0x59f6ff(0x390))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x2f6),a2_0x59f6ff(0x3fc))[a2_0x59f6ff(0x226)](async(_0x2739dc,_0x33799b)=>{const _0x52b022=a2_0x59f6ff,_0x2301d0=new ScheduleUpdateCommand(),_0x525034=program[_0x52b022(0x17e)](),_0x2bc915=await createTDXInstance(_0x525034);_0x33799b['in']&&(_0x33799b[_0x52b022(0x3d5)]=_0x33799b['in']);const _0x29e106=await _0x2301d0[_0x52b022(0x3bd)]({'options':{..._0x525034,..._0x33799b},'args':[_0x2739dc],'tdx':_0x2bc915});gracefulExit(_0x29e106);}),scheduleCmd['command']('delete\x20<name>')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x42c))[a2_0x59f6ff(0x226)](async(_0x241108,_0x147d70)=>{const _0x52c0a3=a2_0x59f6ff,_0x20e612=new ScheduleDeleteCommand(),_0x26f389=program[_0x52c0a3(0x17e)](),_0x18882d=await createTDXInstance(_0x26f389),_0x42e426=await _0x20e612['run']({'options':{..._0x26f389,..._0x147d70},'args':[_0x241108],'tdx':_0x18882d});gracefulExit(_0x42e426);}),scheduleCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x4a9))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x473))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x3fb),'Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)')[a2_0x59f6ff(0x171)]('--num\x20<1-10>',a2_0x59f6ff(0x3c0))['action'](async(_0x13e73a,_0x4d5395)=>{const _0x46dd7a=a2_0x59f6ff,_0x531e20=new ScheduleRunCommand(),_0x18e41c=program[_0x46dd7a(0x17e)](),_0x59f3a0=await createTDXInstance(_0x18e41c),_0x2b1f65=await _0x531e20['run']({'options':{..._0x18e41c,..._0x4d5395},'args':[_0x13e73a],'tdx':_0x59f3a0});gracefulExit(_0x2b1f65);}),scheduleCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x423))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x326))['option'](a2_0x59f6ff(0x351),a2_0x59f6ff(0x2d5))[a2_0x59f6ff(0x171)]('--to\x20<n>',a2_0x59f6ff(0x348))[a2_0x59f6ff(0x226)](async(_0x451fb8,_0x4aa0aa)=>{const _0x54919c=a2_0x59f6ff,_0x3a25e8=new ScheduleHistoryCommand(),_0x358894=program[_0x54919c(0x17e)](),_0x4b5c99=await createTDXInstance(_0x358894),_0x5d2172=await _0x3a25e8[_0x54919c(0x3bd)]({'options':{..._0x358894,..._0x4aa0aa},'args':[_0x451fb8],'tdx':_0x4b5c99});gracefulExit(_0x5d2172);});const llmCmd=program['command'](a2_0x59f6ff(0x47a))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x3bb));llmCmd['command'](a2_0x59f6ff(0x22c))['description'](a2_0x59f6ff(0x3ff))['action'](async(_0x3995e2,_0x484df9)=>{const _0x5ece33=a2_0x59f6ff,_0x38c2f5=new LLMUseCommand(),_0xd71287=program[_0x5ece33(0x17e)](),_0x1bff33=await createTDXInstance(_0xd71287),_0x1ff116=await _0x38c2f5[_0x5ece33(0x3bd)]({'options':{..._0xd71287,..._0x484df9},'args':[_0x3995e2],'tdx':_0x1bff33});gracefulExit(_0x1ff116);}),llmCmd[a2_0x59f6ff(0x499)]('models')['description']('List\x20available\x20LLM\x20models')[a2_0x59f6ff(0x226)](async _0x314e8e=>{const _0x417ba9=a2_0x59f6ff,_0x4f11bf=new LLMModelsCommand(),_0x47cbca=program[_0x417ba9(0x17e)](),_0x6d6537=await createTDXInstance(_0x47cbca),_0x52652d=await _0x4f11bf['run']({'options':{..._0x47cbca,..._0x314e8e},'args':[],'tdx':_0x6d6537});gracefulExit(_0x52652d);});const projectCmd=llmCmd[a2_0x59f6ff(0x499)]('project')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x345)),llmProjectListAction=async(_0x193722,_0x39a457)=>{const _0x2f6c69=a2_0x59f6ff,_0x22063d=new LLMProjectsCommand(),_0x1fb112=program[_0x2f6c69(0x17e)](),_0x31b381=await createTDXInstance(_0x1fb112),_0x1073bf=await _0x22063d[_0x2f6c69(0x3bd)]({'options':{..._0x1fb112,..._0x39a457},'args':_0x193722?[_0x193722]:[],'tdx':_0x31b381});gracefulExit(_0x1073bf);};projectCmd['command'](a2_0x59f6ff(0x491))[a2_0x59f6ff(0x174)]('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x59f6ff(0x226)](llmProjectListAction),llmCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x284))[a2_0x59f6ff(0x174)]('List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0x59f6ff(0x226)](llmProjectListAction),projectCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x2dc))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2bf))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x274),'Project\x20description')[a2_0x59f6ff(0x226)](async(_0x1c8c25,_0x198f09)=>{const _0x3539b2=a2_0x59f6ff,_0x1eaa7b=new LLMProjectCreateCommand(),_0x48baae=program[_0x3539b2(0x17e)](),_0x119d7d=await createTDXInstance(_0x48baae),_0x55dc36=await _0x1eaa7b[_0x3539b2(0x3bd)]({'options':{..._0x48baae,..._0x198f09},'args':[_0x1c8c25],'tdx':_0x119d7d});gracefulExit(_0x55dc36);}),projectCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x4a5))[a2_0x59f6ff(0x174)]('Delete\x20an\x20LLM\x20project')['action'](async(_0x3cdc97,_0x50434c)=>{const _0x483168=a2_0x59f6ff,_0x1fe8cf=new LLMProjectDeleteCommand(),_0x4ef289=program[_0x483168(0x17e)](),_0x2bedd1=await createTDXInstance(_0x4ef289),_0x43528e=await _0x1fe8cf[_0x483168(0x3bd)]({'options':{..._0x4ef289,..._0x50434c},'args':[_0x3cdc97],'tdx':_0x2bedd1});gracefulExit(_0x43528e);}),projectCmd[a2_0x59f6ff(0x499)]('backup\x20<name>')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x16e))['option'](a2_0x59f6ff(0x24f),a2_0x59f6ff(0x3c2))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x283),a2_0x59f6ff(0x1c3))[a2_0x59f6ff(0x226)](async(_0x28e95f,_0x1fd058)=>{const _0x140d6b=a2_0x59f6ff,_0x4a5640=new LLMProjectBackupCommand(),_0x1f922f=program[_0x140d6b(0x17e)](),_0xf2a92b=await createTDXInstance(_0x1f922f),_0x5573c8=await _0x4a5640[_0x140d6b(0x3bd)]({'options':{..._0x1f922f,..._0x1fd058},'args':[_0x28e95f],'tdx':_0xf2a92b});gracefulExit(_0x5573c8);}),projectCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x49e))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2d0))['option'](a2_0x59f6ff(0x41f),'New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x283),'Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')['action'](async(_0x326c90,_0x2ad07f)=>{const _0x37d1ab=a2_0x59f6ff,_0x44d64b=new LLMProjectRestoreCommand(),_0x4fd5b2=program[_0x37d1ab(0x17e)](),_0x42cf49=await createTDXInstance(_0x4fd5b2),_0x1bd301=await _0x44d64b[_0x37d1ab(0x3bd)]({'options':{..._0x4fd5b2,..._0x2ad07f},'args':[_0x326c90],'tdx':_0x42cf49});gracefulExit(_0x1bd301);});const llmAgentListAction=async(_0x5e55f2,_0x1b23ee)=>{const _0x5a7e3e=new LLMAgentsCommand(),_0x5c4e10=program['opts'](),_0x27907c=await createTDXInstance(_0x5c4e10),_0x43ae59=await _0x5a7e3e['run']({'options':{..._0x5c4e10,..._0x1b23ee},'args':_0x5e55f2?[_0x5e55f2]:[],'tdx':_0x27907c});gracefulExit(_0x43ae59);};llmCmd[a2_0x59f6ff(0x499)]('agents\x20[pattern]')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x465))[a2_0x59f6ff(0x226)](llmAgentListAction),program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x374))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x465))[a2_0x59f6ff(0x226)](llmAgentListAction),llmCmd[a2_0x59f6ff(0x499)]('history\x20[chat-id]')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x236))['option'](a2_0x59f6ff(0x324),'Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')[a2_0x59f6ff(0x226)](async(_0x16862e,_0x3c7d07)=>{const _0x2bd666=a2_0x59f6ff,_0x51d148=new LLMHistoryCommand(),_0xb2dba8=program[_0x2bd666(0x17e)](),_0x5f0722=await createTDXInstance(_0xb2dba8),_0x3ac96b=await _0x51d148[_0x2bd666(0x3bd)]({'options':{..._0xb2dba8,..._0x3c7d07},'args':_0x16862e?[_0x16862e]:[],'tdx':_0x5f0722});gracefulExit(_0x3ac96b);});isExperimentalAvailable()&&llmCmd['command'](a2_0x59f6ff(0x36c))['description'](a2_0x59f6ff(0x245))['action'](async(_0x27fa05,_0x5a3e04)=>{const _0x516c94=a2_0x59f6ff,_0x4bcc28=new LLMLogCommand(),_0x25d464=program[_0x516c94(0x17e)](),_0x1b444a=await createTDXInstance(_0x25d464),_0x1ec446=await _0x4bcc28['run']({'options':{..._0x25d464,..._0x5a3e04},'args':[_0x27fa05],'tdx':_0x1b444a});gracefulExit(_0x1ec446);});program['command'](a2_0x59f6ff(0x398))[a2_0x59f6ff(0x414)](a2_0x59f6ff(0x40f))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x46b))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x3f7),a2_0x59f6ff(0x1a5))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x279),a2_0x59f6ff(0x440))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x49d),a2_0x59f6ff(0x3f4))['option'](a2_0x59f6ff(0x2fd),a2_0x59f6ff(0x1b7))['allowUnknownOption']()[a2_0x59f6ff(0x4d0)](!![])[a2_0x59f6ff(0x391)]('after',a2_0x59f6ff(0x4c1))[a2_0x59f6ff(0x226)](async(_0x4e2de7,_0x57c640)=>{const _0x40de50=a2_0x59f6ff,_0x21086f=program[_0x40de50(0x17e)](),_0x5cade2=Array[_0x40de50(0x189)](_0x4e2de7)?_0x4e2de7:[];if(_0x5cade2[0x0]==='statusline'){const _0x2cfded=new ClaudeStatuslineCommand(),_0x4f9f77=await _0x2cfded[_0x40de50(0x3bd)]({'options':{..._0x21086f,..._0x57c640},'args':_0x5cade2[_0x40de50(0x381)](0x1),'tdx':null});gracefulExit(_0x4f9f77);}if(_0x5cade2[0x0]==='usage'){const _0x44d66e=new ClaudeUsageCommand(),_0x474122=await _0x44d66e[_0x40de50(0x3bd)]({'options':{..._0x21086f,..._0x57c640},'args':_0x5cade2[_0x40de50(0x381)](0x1),'tdx':null});gracefulExit(_0x474122);}const _0x20cabd=new ClaudeCommand(),_0x15980a=await createTDXInstance(_0x21086f),_0x595a9d=await _0x20cabd[_0x40de50(0x3bd)]({'options':{..._0x21086f,..._0x57c640},'args':_0x5cade2,'tdx':_0x15980a});gracefulExit(_0x595a9d);}),program['command'](a2_0x59f6ff(0x3b4))[a2_0x59f6ff(0x174)]('Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x347),a2_0x59f6ff(0x2b4))['option'](a2_0x59f6ff(0x3ed),a2_0x59f6ff(0x269))[a2_0x59f6ff(0x226)](async(_0x24a766,_0x4416b8,_0x2ebd50)=>{const _0x49177d=a2_0x59f6ff,_0x3bfbe1=new UseCommand(),_0xcccc41=program['opts'](),_0x4d6798=[];if(_0x24a766)_0x4d6798[_0x49177d(0x16c)](_0x24a766);if(_0x4416b8)_0x4d6798[_0x49177d(0x16c)](_0x4416b8);const _0x41e857=_0x24a766===_0x49177d(0x353),_0x249760=_0x41e857?await createTDXInstance(_0xcccc41):null,_0x495175=await _0x3bfbe1[_0x49177d(0x3bd)]({'options':{..._0xcccc41,..._0x2ebd50},'args':_0x4d6798,'tdx':_0x249760});gracefulExit(_0x495175);}),program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x24b))[a2_0x59f6ff(0x174)]('Show\x20authentication\x20status\x20and\x20current\x20context')[a2_0x59f6ff(0x226)](async _0x5b6531=>{const _0x11c7e5=a2_0x59f6ff,_0x146121=new StatusCommand(),_0x5582a0=program[_0x11c7e5(0x17e)](),_0x25f63b=await createTDXInstance(_0x5582a0),_0xa812f3=await _0x146121[_0x11c7e5(0x3bd)]({'options':{..._0x5582a0,..._0x5b6531},'args':[],'tdx':_0x25f63b});gracefulExit(_0xa812f3);}),program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x366))['description'](a2_0x59f6ff(0x2d8))['option']('--dry-run',a2_0x59f6ff(0x44a))['option'](a2_0x59f6ff(0x386),'Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel')[a2_0x59f6ff(0x171)]('--method\x20<pm>',a2_0x59f6ff(0x3a4))[a2_0x59f6ff(0x226)](async(_0x2a12af,_0x4dad74)=>{const _0x3c31ac=a2_0x59f6ff,_0x114641=new UpgradeCommand(),_0x30ff7f=program['opts'](),_0x1e00ed=await _0x114641[_0x3c31ac(0x3bd)]({'options':{..._0x30ff7f,..._0x4dad74},'args':_0x2a12af?[_0x2a12af]:[],'tdx':null});gracefulExit(_0x1e00ed);}),program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x18e))['description'](a2_0x59f6ff(0x39b))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x3ed),a2_0x59f6ff(0x42d))['action'](async(_0x5ac6c1,_0x3f8064)=>{const _0x1719f3=a2_0x59f6ff,_0xa6bd38=new UnsetCommand(),_0x33aab5=program[_0x1719f3(0x17e)](),_0xcb80bc=await _0xa6bd38['run']({'options':{..._0x33aab5,..._0x3f8064},'args':[_0x5ac6c1],'tdx':null});gracefulExit(_0xcb80bc);}),program['command'](a2_0x59f6ff(0x3e9))[a2_0x59f6ff(0x174)]('Interactive\x20chat\x20selector')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x324),'Show\x20the\x20most\x20recent\x20chat')['action'](async _0x4c9d30=>{const _0x379c4c=a2_0x59f6ff,_0x16598c=new ChatsCommand(),_0x506dd7=program[_0x379c4c(0x17e)](),_0x1c10ca=await createTDXInstance(_0x506dd7),_0x16a803=await _0x16598c[_0x379c4c(0x3bd)]({'options':{..._0x506dd7,..._0x4c9d30},'args':[],'tdx':_0x1c10ca});gracefulExit(_0x16a803);});const authCmd=program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x335))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2cb));async function runAuthStatusCommand(_0x2a831a){const _0x43bf2b=a2_0x59f6ff,_0x5ecdf8=new AuthStatusCommand(),_0x1c1be8=program['opts'](),_0x48c4e3=await createTDXInstance(_0x1c1be8),_0x4e49d3=await _0x5ecdf8[_0x43bf2b(0x3bd)]({'options':{..._0x1c1be8,..._0x2a831a},'args':[],'tdx':_0x48c4e3});gracefulExit(_0x4e49d3);}authCmd['action'](runAuthStatusCommand),authCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x24b))['description'](a2_0x59f6ff(0x30f))['action'](runAuthStatusCommand);async function authSetupAction(_0x13ff84){const _0x2b3acf=a2_0x59f6ff,_0x194a89=new AuthSetupCommand(),_0x106f05=program[_0x2b3acf(0x17e)](),_0xda1a40=await createTDXInstance(_0x106f05),_0x108133=await _0x194a89['run']({'options':{..._0x106f05,..._0x13ff84},'args':[],'tdx':_0xda1a40});gracefulExit(_0x108133);}authCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x2f1))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x18a))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1b0),a2_0x59f6ff(0x202))[a2_0x59f6ff(0x391)](a2_0x59f6ff(0x1ab),a2_0x59f6ff(0x3eb))['action'](authSetupAction),authCmd['command'](a2_0x59f6ff(0x2c0),{'hidden':!![]})['option'](a2_0x59f6ff(0x1b0),a2_0x59f6ff(0x202))[a2_0x59f6ff(0x226)](authSetupAction),authCmd[a2_0x59f6ff(0x499)]('clear')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2ff))['addHelpText'](a2_0x59f6ff(0x1ab),a2_0x59f6ff(0x24e))[a2_0x59f6ff(0x226)](async _0x139368=>{const _0x43d653=a2_0x59f6ff,_0x134ffa=new AuthClearCommand(),_0x5b176b=program[_0x43d653(0x17e)](),_0x199f3a=await _0x134ffa['run']({'options':{..._0x5b176b,..._0x139368},'args':[],'tdx':null});gracefulExit(_0x199f3a);});const userCmd=program[a2_0x59f6ff(0x499)]('user')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x29e)),userListAction=async _0x50c6df=>{const _0xc70595=a2_0x59f6ff,_0x19db69=new UserListCommand(),_0x553e2f=program[_0xc70595(0x17e)](),_0x3278ba=await createTDXInstance(_0x553e2f),_0x528771=await _0x19db69[_0xc70595(0x3bd)]({'options':{..._0x553e2f,..._0x50c6df},'args':[],'tdx':_0x3278ba});gracefulExit(_0x528771);};userCmd['action'](async _0x26d53e=>{const _0x26b0d0=a2_0x59f6ff,_0x4f0bb1=new UserCommand(),_0x4887b5=program[_0x26b0d0(0x17e)](),_0x169c07=await createTDXInstance(_0x4887b5),_0x198928=await _0x4f0bb1['run']({'options':{..._0x4887b5,..._0x26d53e},'args':[],'tdx':_0x169c07});gracefulExit(_0x198928);}),userCmd['command'](a2_0x59f6ff(0x36a))[a2_0x59f6ff(0x174)]('List\x20all\x20users\x20in\x20the\x20account')[a2_0x59f6ff(0x226)](userListAction),program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x44f))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x173))[a2_0x59f6ff(0x226)](userListAction);const policyCmd=program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x34e))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x4c2));policyCmd['action'](async _0x5ca56e=>{const _0xbbaecd=a2_0x59f6ff,_0x3a8d16=new PolicyCommand(),_0x2e867c=program[_0xbbaecd(0x17e)](),_0x472027=await createTDXInstance(_0x2e867c),_0x56dc30=await _0x3a8d16['run']({'options':{..._0x2e867c,..._0x5ca56e},'args':[],'tdx':_0x472027});gracefulExit(_0x56dc30);}),policyCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x36a))['description']('List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)')[a2_0x59f6ff(0x226)](async _0x397b23=>{const _0x1fb6a9=a2_0x59f6ff,_0x2649dc=new PolicyListCommand(),_0x109c1e=program[_0x1fb6a9(0x17e)](),_0x5126a5=await createTDXInstance(_0x109c1e),_0x4177f9=await _0x2649dc['run']({'options':{..._0x109c1e,..._0x397b23},'args':[],'tdx':_0x5126a5});gracefulExit(_0x4177f9);}),policyCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x2f8))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x477))['action'](async(_0x492bde,_0x289e0c)=>{const _0x4e7c05=a2_0x59f6ff,_0x233faf=new PolicyShowCommand(),_0x5444c3=program[_0x4e7c05(0x17e)](),_0x3b65db=await createTDXInstance(_0x5444c3),_0x4883e0=await _0x233faf[_0x4e7c05(0x3bd)]({'options':{..._0x5444c3,..._0x289e0c},'args':[_0x492bde],'tdx':_0x3b65db});gracefulExit(_0x4883e0);}),program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x420))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x25e))['action'](async _0x5b6400=>{const _0x3d7d11=new ProfilesCommand(),_0x200f9e=program['opts'](),_0x1e0fda=await _0x3d7d11['run']({'options':{..._0x200f9e,..._0x5b6400},'args':[],'tdx':null});gracefulExit(_0x1e0fda);});const profileCmd=program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x187))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x445));profileCmd[a2_0x59f6ff(0x226)](()=>{const _0x500e4f=a2_0x59f6ff;profileCmd[_0x500e4f(0x225)]();});const profileListAction=async _0x214944=>{const _0x239222=a2_0x59f6ff,_0x21d33b=new ProfilesCommand(),_0x581ffc=program[_0x239222(0x17e)](),_0x14b706=await _0x21d33b[_0x239222(0x3bd)]({'options':{..._0x581ffc,..._0x214944},'args':[],'tdx':null});gracefulExit(_0x14b706);};profileCmd['command'](a2_0x59f6ff(0x36a))['description']('List\x20all\x20available\x20profiles')[a2_0x59f6ff(0x226)](profileListAction),profileCmd['command'](a2_0x59f6ff(0x180))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x27d))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1b0),'Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x260),a2_0x59f6ff(0x4ae))['addHelpText'](a2_0x59f6ff(0x1ab),'\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')[a2_0x59f6ff(0x226)](async(_0x63d1e6,_0x401dd6)=>{const _0xdaa0d1=a2_0x59f6ff,_0x3fb3e0=new ProfileCreateCommand(),_0x567193=program[_0xdaa0d1(0x17e)](),_0x56ef51=await _0x3fb3e0[_0xdaa0d1(0x3bd)]({'options':{..._0x567193,..._0x401dd6},'args':_0x63d1e6?[_0x63d1e6]:[],'tdx':null});gracefulExit(_0x56ef51);});async function profileDeleteAction(_0x372834,_0x3e542b){const _0x582324=a2_0x59f6ff,_0x551304=new ProfileDeleteCommand(),_0x4755da=program[_0x582324(0x17e)](),_0x4352cd=await _0x551304[_0x582324(0x3bd)]({'options':{..._0x4755da,..._0x3e542b},'args':[_0x372834],'tdx':null});gracefulExit(_0x4352cd);}profileCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x4a5))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x297))[a2_0x59f6ff(0x391)]('after',a2_0x59f6ff(0x2b0))['action'](profileDeleteAction),profileCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x344),{'hidden':!![]})[a2_0x59f6ff(0x226)](profileDeleteAction),profileCmd[a2_0x59f6ff(0x499)]('set\x20<key=value>')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x373))[a2_0x59f6ff(0x391)](a2_0x59f6ff(0x1ab),a2_0x59f6ff(0x319))[a2_0x59f6ff(0x226)](async(_0x113355,_0x14bc71)=>{const _0x4cebb2=a2_0x59f6ff,_0x2fafcd=new ProfileSetCommand(),_0x58b2d8=program[_0x4cebb2(0x17e)](),_0x4b7c36=await _0x2fafcd[_0x4cebb2(0x3bd)]({'options':{..._0x58b2d8,..._0x14bc71},'args':[_0x113355],'tdx':null});gracefulExit(_0x4b7c36);}),profileCmd['command'](a2_0x59f6ff(0x342))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2f5))['option'](a2_0x59f6ff(0x3ed),a2_0x59f6ff(0x269))['addHelpText']('after',a2_0x59f6ff(0x3c1))[a2_0x59f6ff(0x226)](async(_0x485a78,_0x22e7d6)=>{const _0x5483bf=a2_0x59f6ff,_0x1ad856=new ProfileUseCommand(),_0x347c5f=program['opts'](),_0x871662=await _0x1ad856[_0x5483bf(0x3bd)]({'options':{..._0x347c5f,..._0x22e7d6},'args':[_0x485a78],'tdx':null});gracefulExit(_0x871662);});const engageCmd=program[a2_0x59f6ff(0x499)]('engage')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2ae)),createEngageAction=_0x201fea=>{return async(_0x9c0472,_0x41f100)=>{const _0x495dd4=a2_0x4649,_0x3bb802=new _0x201fea(),_0x37eef2=program[_0x495dd4(0x17e)](),_0x50e153=await createTDXInstance(_0x37eef2),_0x343c22=await _0x3bb802['run']({'options':{..._0x37eef2,..._0x41f100},'args':[_0x9c0472],'tdx':_0x50e153});gracefulExit(_0x343c22);};},createEngageNoArgAction=_0x3d7565=>{return async _0x337d2f=>{const _0x53c944=a2_0x4649,_0x475420=new _0x3d7565(),_0x1d33ac=program[_0x53c944(0x17e)](),_0x4b47a9=await createTDXInstance(_0x1d33ac),_0x5806ed=await _0x475420[_0x53c944(0x3bd)]({'options':{..._0x1d33ac,..._0x337d2f},'args':[],'tdx':_0x4b47a9});gracefulExit(_0x5806ed);};},createEngageListAction=_0xf91a0f=>{return async(_0x29280f,_0x421bf0)=>{const _0x52dee3=a2_0x4649,_0x2e09a5=new _0xf91a0f(),_0x5ec867=program[_0x52dee3(0x17e)](),_0x4d0954=await createTDXInstance(_0x5ec867),_0x5e93f9=await _0x2e09a5[_0x52dee3(0x3bd)]({'options':{..._0x5ec867,..._0x421bf0},'args':_0x29280f?[_0x29280f]:[],'tdx':_0x4d0954});gracefulExit(_0x5e93f9);};},campaignCmd=engageCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x451))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x235));campaignCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x491))['description'](a2_0x59f6ff(0x1b2))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x3db),a2_0x59f6ff(0x334))[a2_0x59f6ff(0x171)]('--status\x20<status>','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1df),a2_0x59f6ff(0x408))[a2_0x59f6ff(0x226)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x375))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x264))['option']('--type\x20<type>',a2_0x59f6ff(0x334))['option'](a2_0x59f6ff(0x496),a2_0x59f6ff(0x231))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1df),a2_0x59f6ff(0x408))[a2_0x59f6ff(0x226)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x59f6ff(0x499)]('show\x20<name-or-id>')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x263))['option'](a2_0x59f6ff(0x1df),a2_0x59f6ff(0x408))[a2_0x59f6ff(0x171)]('--full',a2_0x59f6ff(0x1fb))[a2_0x59f6ff(0x226)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x59f6ff(0x499)]('create')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x43a))['requiredOption'](a2_0x59f6ff(0x396),a2_0x59f6ff(0x361))[a2_0x59f6ff(0x2ab)](a2_0x59f6ff(0x3db),a2_0x59f6ff(0x41c))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1df),a2_0x59f6ff(0x433))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x287),a2_0x59f6ff(0x19c))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x33e),a2_0x59f6ff(0x246))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x331),a2_0x59f6ff(0x17b))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x29c),a2_0x59f6ff(0x1be))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x289),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x216),a2_0x59f6ff(0x46e))[a2_0x59f6ff(0x226)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x223))[a2_0x59f6ff(0x174)]('Update\x20a\x20campaign')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1df),a2_0x59f6ff(0x408))['option'](a2_0x59f6ff(0x396),a2_0x59f6ff(0x1e3))['option']('--description\x20<desc>',a2_0x59f6ff(0x19c))[a2_0x59f6ff(0x171)]('--segment\x20<path>',a2_0x59f6ff(0x246))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x331),a2_0x59f6ff(0x17b))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x29c),a2_0x59f6ff(0x1be))['option'](a2_0x59f6ff(0x289),a2_0x59f6ff(0x1e9))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x216),a2_0x59f6ff(0x46e))[a2_0x59f6ff(0x226)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x3de))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x22d))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1df),a2_0x59f6ff(0x408))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x278),'Skip\x20confirmation\x20prompt')[a2_0x59f6ff(0x226)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x4c8))[a2_0x59f6ff(0x174)]('Launch\x20a\x20campaign')['option'](a2_0x59f6ff(0x1df),a2_0x59f6ff(0x408))[a2_0x59f6ff(0x226)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x1ff))['description']('Pause\x20a\x20campaign')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1df),a2_0x59f6ff(0x408))[a2_0x59f6ff(0x226)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x3c6))['description'](a2_0x59f6ff(0x4b3))['option']('--workspace\x20<name>','Workspace\x20name')[a2_0x59f6ff(0x226)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x59f6ff(0x499)]('duplicate\x20<name-or-id>')['description']('Duplicate\x20a\x20campaign')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1df),a2_0x59f6ff(0x408))[a2_0x59f6ff(0x226)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd['command'](a2_0x59f6ff(0x1ba))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2c2))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1df),'Workspace\x20name')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x396),'Pull\x20specific\x20campaign\x20by\x20name')['option'](a2_0x59f6ff(0x3db),a2_0x59f6ff(0x334))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x283),a2_0x59f6ff(0x45b))[a2_0x59f6ff(0x226)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x59f6ff(0x499)]('push\x20[target]')['description'](a2_0x59f6ff(0x4a3))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1df),a2_0x59f6ff(0x408))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x283),a2_0x59f6ff(0x4cd))[a2_0x59f6ff(0x226)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x336))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2c5))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x46d),'Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x59f6ff(0x226)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x59f6ff(0x499)]('always-on-campaign')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x1e5));alwaysOnCampaignCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x491))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x1ac))[a2_0x59f6ff(0x171)]('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')['option'](a2_0x59f6ff(0x496),a2_0x59f6ff(0x352))[a2_0x59f6ff(0x2ab)](a2_0x59f6ff(0x1df),'Workspace\x20name\x20(required)')[a2_0x59f6ff(0x226)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x4ba))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x28f))['option'](a2_0x59f6ff(0x3db),a2_0x59f6ff(0x334))['option'](a2_0x59f6ff(0x496),'Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')['requiredOption'](a2_0x59f6ff(0x1df),a2_0x59f6ff(0x433))['action'](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x32a))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x1f4))['requiredOption'](a2_0x59f6ff(0x1df),a2_0x59f6ff(0x433))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x436),a2_0x59f6ff(0x1fb))[a2_0x59f6ff(0x226)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd['command'](a2_0x59f6ff(0x201))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x20d))[a2_0x59f6ff(0x2ab)](a2_0x59f6ff(0x396),a2_0x59f6ff(0x361))[a2_0x59f6ff(0x2ab)](a2_0x59f6ff(0x3db),a2_0x59f6ff(0x41c))[a2_0x59f6ff(0x2ab)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x287),a2_0x59f6ff(0x19c))['option']('--segment\x20<path>','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')[a2_0x59f6ff(0x171)]('--enable-utm-tracking',a2_0x59f6ff(0x1ec))[a2_0x59f6ff(0x226)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x223))['description'](a2_0x59f6ff(0x4a0))[a2_0x59f6ff(0x2ab)]('--workspace\x20<name>',a2_0x59f6ff(0x433))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x396),a2_0x59f6ff(0x1e3))['option'](a2_0x59f6ff(0x287),a2_0x59f6ff(0x19c))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x33e),a2_0x59f6ff(0x371))[a2_0x59f6ff(0x171)]('--enable-utm-tracking','Enable\x20UTM\x20tracking')[a2_0x59f6ff(0x226)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x3de))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x25a))[a2_0x59f6ff(0x2ab)](a2_0x59f6ff(0x1df),a2_0x59f6ff(0x433))['option']('--yes',a2_0x59f6ff(0x2dd))['action'](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x4c8))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x3c7))[a2_0x59f6ff(0x2ab)]('--workspace\x20<name>',a2_0x59f6ff(0x433))[a2_0x59f6ff(0x226)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x1ff))['description'](a2_0x59f6ff(0x3a6))[a2_0x59f6ff(0x2ab)](a2_0x59f6ff(0x1df),'Workspace\x20name\x20(required)')[a2_0x59f6ff(0x226)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x3c6))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x343))[a2_0x59f6ff(0x2ab)]('--workspace\x20<name>','Workspace\x20name\x20(required)')['action'](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd['command']('finish\x20<name-or-id>')['description'](a2_0x59f6ff(0x3be))[a2_0x59f6ff(0x2ab)]('--workspace\x20<name>',a2_0x59f6ff(0x433))['option'](a2_0x59f6ff(0x278),'Skip\x20confirmation\x20prompt')['action'](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x455))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x219))[a2_0x59f6ff(0x2ab)](a2_0x59f6ff(0x1df),a2_0x59f6ff(0x433))['requiredOption'](a2_0x59f6ff(0x396),a2_0x59f6ff(0x428))[a2_0x59f6ff(0x226)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd['command'](a2_0x59f6ff(0x165))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x1e6));templateCmd[a2_0x59f6ff(0x499)]('list\x20[pattern]')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2e4))['option']('--workspace\x20<name>','Workspace\x20name')[a2_0x59f6ff(0x226)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x41b))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x22f))[a2_0x59f6ff(0x171)]('--workspace\x20<name>',a2_0x59f6ff(0x408))[a2_0x59f6ff(0x226)](createEngageListAction(EngageTemplatesCommand)),templateCmd['command'](a2_0x59f6ff(0x32a))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x4af))[a2_0x59f6ff(0x171)]('--workspace\x20<name>',a2_0x59f6ff(0x408))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x436),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x59f6ff(0x226)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x201))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2aa))['requiredOption'](a2_0x59f6ff(0x396),a2_0x59f6ff(0x3f1))['requiredOption'](a2_0x59f6ff(0x175),a2_0x59f6ff(0x480))['option'](a2_0x59f6ff(0x25d),a2_0x59f6ff(0x301))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x18b),a2_0x59f6ff(0x333))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1df),a2_0x59f6ff(0x433))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x318),a2_0x59f6ff(0x4d5))['option'](a2_0x59f6ff(0x37d),'Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)',_0x4d8f2f=>{const _0x242c8a=a2_0x59f6ff;if(![_0x242c8a(0x309),_0x242c8a(0x38e)][_0x242c8a(0x29b)](_0x4d8f2f))throw new SDKError(ErrorCode[_0x242c8a(0x4c0)],_0x242c8a(0x3e5)+_0x4d8f2f+'.\x20Must\x20be\x20beefree\x20or\x20grapesjs');return _0x4d8f2f;})[a2_0x59f6ff(0x226)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd['command'](a2_0x59f6ff(0x223))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x498))[a2_0x59f6ff(0x171)]('--workspace\x20<name>',a2_0x59f6ff(0x408))['option'](a2_0x59f6ff(0x396),a2_0x59f6ff(0x1d8))['option'](a2_0x59f6ff(0x175),a2_0x59f6ff(0x480))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x25d),a2_0x59f6ff(0x301))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x18b),'Read\x20HTML\x20template\x20from\x20file')[a2_0x59f6ff(0x171)]('--plaintext\x20<text>',a2_0x59f6ff(0x4d5))['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x426))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x38c))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1df),'Workspace\x20name')['option']('--name\x20<name>','Pull\x20specific\x20template\x20by\x20name')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x31a),a2_0x59f6ff(0x2dd))[a2_0x59f6ff(0x171)]('--dry-run',a2_0x59f6ff(0x45b))[a2_0x59f6ff(0x226)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x20a))[a2_0x59f6ff(0x174)]('Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1df),a2_0x59f6ff(0x408))['option'](a2_0x59f6ff(0x31a),'Skip\x20confirmation\x20prompt')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x283),a2_0x59f6ff(0x4cd))[a2_0x59f6ff(0x226)](createEngageAction(EngageTemplatePushCommand)),templateCmd['command'](a2_0x59f6ff(0x336))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x42e))['option']('--verbose',a2_0x59f6ff(0x442))[a2_0x59f6ff(0x226)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x59f6ff(0x499)]('delete\x20<name-or-id>')['description'](a2_0x59f6ff(0x1af))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1df),'Workspace\x20name')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x278),a2_0x59f6ff(0x2dd))[a2_0x59f6ff(0x226)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x418))[a2_0x59f6ff(0x174)]('Workspace\x20management');workspaceCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x491))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x49b))[a2_0x59f6ff(0x226)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x3e6))['description'](a2_0x59f6ff(0x233))[a2_0x59f6ff(0x226)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x32a))[a2_0x59f6ff(0x174)]('Show\x20workspace\x20details')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x436),a2_0x59f6ff(0x1fb))[a2_0x59f6ff(0x226)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x201))['description']('Create\x20a\x20workspace')[a2_0x59f6ff(0x2ab)](a2_0x59f6ff(0x396),a2_0x59f6ff(0x408))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x287),a2_0x59f6ff(0x3cf))[a2_0x59f6ff(0x226)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd['command'](a2_0x59f6ff(0x223))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x3cd))[a2_0x59f6ff(0x171)]('--name\x20<name>',a2_0x59f6ff(0x4b6))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x287),'Workspace\x20description')[a2_0x59f6ff(0x226)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x3de))[a2_0x59f6ff(0x174)]('Delete\x20a\x20workspace')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x278),a2_0x59f6ff(0x2dd))[a2_0x59f6ff(0x226)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x342))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x26d))[a2_0x59f6ff(0x226)](createEngageAction(EngageWorkspaceUseCommand));const lineSenderAccountCmd=engageCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x1a6))[a2_0x59f6ff(0x174)]('LINE\x20sender\x20account\x20management');lineSenderAccountCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x491))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x4c6))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1df),a2_0x59f6ff(0x408))[a2_0x59f6ff(0x226)](createEngageListAction(EngageLineSenderAccountsCommand)),lineSenderAccountCmd[a2_0x59f6ff(0x499)]('show\x20<name-or-id>')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x250))[a2_0x59f6ff(0x171)]('--workspace\x20<name>',a2_0x59f6ff(0x408))[a2_0x59f6ff(0x226)](createEngageAction(EngageLineSenderAccountShowCommand));const lineImagemapImageCmd=engageCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x484))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x3fe));lineImagemapImageCmd['command'](a2_0x59f6ff(0x4c3))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x472))[a2_0x59f6ff(0x226)](createEngageAction(EngageLineImagemapImageUploadCommand));const engageMediaCmd=engageCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x41d))[a2_0x59f6ff(0x174)]('Engage\x20DAM\x20media\x20management');engageMediaCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x481))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x4be))[a2_0x59f6ff(0x226)](createEngageAction(EngageMediaLsCommand)),engageMediaCmd['command'](a2_0x59f6ff(0x4c3))['description'](a2_0x59f6ff(0x399))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x210),a2_0x59f6ff(0x406))['option']('--conflict\x20<strategy>',a2_0x59f6ff(0x298))['action'](createEngageAction(EngageMediaUploadCommand)),engageMediaCmd['command'](a2_0x59f6ff(0x2db))['description']('Create\x20a\x20directory\x20in\x20Engage\x20DAM')[a2_0x59f6ff(0x226)](createEngageAction(EngageMediaMkdirCommand)),engageMediaCmd['command'](a2_0x59f6ff(0x379))[a2_0x59f6ff(0x174)]('Delete\x20a\x20file\x20from\x20Engage\x20DAM')[a2_0x59f6ff(0x226)](createEngageAction(EngageMediaRmCommand)),engageMediaCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x2c9))['description']('Delete\x20a\x20directory\x20from\x20Engage\x20DAM\x20(must\x20be\x20empty)')[a2_0x59f6ff(0x226)](createEngageAction(EngageMediaRmdirCommand));const deliveryCmd=program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x42a))[a2_0x59f6ff(0x174)]('Delivery\x20operations\x20(email\x20senders)');deliveryCmd['command']('senders\x20[pattern]')[a2_0x59f6ff(0x174)]('List\x20email\x20senders')['option'](a2_0x59f6ff(0x1df),a2_0x59f6ff(0x408))['action'](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program['command'](a2_0x59f6ff(0x299))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x367)),connectionListAction=async _0x1cd318=>{const _0x13dc5b=a2_0x59f6ff,_0x23ce0b=new ConnectionListCommand(),_0x18132b=program['opts'](),_0x39ca3d=await createTDXInstance(_0x18132b),_0x2a48e6=await _0x23ce0b[_0x13dc5b(0x3bd)]({'options':{..._0x18132b,..._0x1cd318},'args':[],'tdx':_0x39ca3d});gracefulExit(_0x2a48e6);};connectionCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x36a))['description'](a2_0x59f6ff(0x4b0))['action'](connectionListAction),program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x238),{'hidden':!![]})['description'](a2_0x59f6ff(0x1d7))[a2_0x59f6ff(0x226)](connectionListAction),connectionCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x183))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x217))['action'](async(_0x120863,_0x392974)=>{const _0x5cd9f9=a2_0x59f6ff,_0x46adaf=new ConnectionShowCommand(),_0x3c4b63=program['opts'](),_0x95240=await createTDXInstance(_0x3c4b63),_0x4ebcfe=await _0x46adaf[_0x5cd9f9(0x3bd)]({'options':{..._0x3c4b63,..._0x392974},'args':[_0x120863],'tdx':_0x95240});gracefulExit(_0x4ebcfe);}),connectionCmd[a2_0x59f6ff(0x499)]('schema\x20<type>')['description']('Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation')[a2_0x59f6ff(0x226)](async(_0x5d7c9e,_0x380082)=>{const _0x1b02e5=a2_0x59f6ff,_0x5bbb10=new ConnectionSchemaCommand(),_0x2e3da4=program['opts'](),_0x2680e0=await createTDXInstance(_0x2e3da4),_0x57f718=await _0x5bbb10[_0x1b02e5(0x3bd)]({'options':{..._0x2e3da4,..._0x380082},'args':[_0x5d7c9e],'tdx':_0x2680e0});gracefulExit(_0x57f718);}),connectionCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x35e))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x29d))[a2_0x59f6ff(0x226)](async _0x5f0fe9=>{const _0x464c83=a2_0x59f6ff,_0x32af21=new ConnectionTypesCommand(),_0x1a442d=program[_0x464c83(0x17e)](),_0x223ccc=await createTDXInstance(_0x1a442d),_0x139f3e=await _0x32af21[_0x464c83(0x3bd)]({'options':{..._0x1a442d,..._0x5f0fe9},'args':[],'tdx':_0x223ccc});gracefulExit(_0x139f3e);}),connectionCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x4bc))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x1c7))['action'](async(_0x587222,_0x2e4fc)=>{const _0x563c0f=a2_0x59f6ff,_0x151e47=new ConnectionSettingsCommand(),_0x25e317=program[_0x563c0f(0x17e)](),_0x3731c1=await createTDXInstance(_0x25e317),_0x41c10d=await _0x151e47['run']({'options':{..._0x25e317,..._0x2e4fc},'args':[_0x587222],'tdx':_0x3731c1});gracefulExit(_0x41c10d);});const casCmd=program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x413))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x24d));casCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x36a))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x277))[a2_0x59f6ff(0x226)](async _0xd2d84d=>{const _0x4fa5e8=a2_0x59f6ff,_0x1f5be8=new CASListCommand(),_0x2f1605=program[_0x4fa5e8(0x17e)](),_0x18b260=await createTDXInstance(_0x2f1605),_0x486572=await _0x1f5be8[_0x4fa5e8(0x3bd)]({'options':{..._0x2f1605,..._0xd2d84d},'args':[],'tdx':_0x18b260});gracefulExit(_0x486572);}),casCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x1e1))[a2_0x59f6ff(0x174)]('Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x59f6ff(0x226)](async(_0x5c71a6,_0x1bafdb)=>{const _0x1dd773=a2_0x59f6ff,_0x24a6dd=new CASDescCommand(),_0x17cc29=program[_0x1dd773(0x17e)](),_0x3dbcd4=await createTDXInstance(_0x17cc29),_0x2c1d0c=await _0x24a6dd['run']({'options':{..._0x17cc29,..._0x1bafdb},'args':_0x5c71a6?[_0x5c71a6]:[],'tdx':_0x3dbcd4});gracefulExit(_0x2c1d0c);}),casCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x1a1))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x424))[a2_0x59f6ff(0x171)]('--dir\x20<dir>','Target\x20directory\x20for\x20YAML\x20files')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x283),a2_0x59f6ff(0x1b4))[a2_0x59f6ff(0x226)](async(_0x129bf2,_0x916391)=>{const _0x822794=a2_0x59f6ff,_0x2ede63=new CASPullCommand(),_0x1129ad=program['opts'](),_0x5c7a4b=await createTDXInstance(_0x1129ad),_0x211a73=await _0x2ede63[_0x822794(0x3bd)]({'options':{..._0x1129ad,..._0x916391},'args':_0x129bf2?[_0x129bf2]:[],'tdx':_0x5c7a4b});gracefulExit(_0x211a73);}),casCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x20a))['description'](a2_0x59f6ff(0x21d))['option'](a2_0x59f6ff(0x283),a2_0x59f6ff(0x33d))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x31a),a2_0x59f6ff(0x2dd))[a2_0x59f6ff(0x171)]('--delete',a2_0x59f6ff(0x176))[a2_0x59f6ff(0x226)](async(_0x1b920c,_0x46c8a0)=>{const _0x745ae6=a2_0x59f6ff,_0x5ef6f5=new CASPushCommand(),_0x37945a=program[_0x745ae6(0x17e)](),_0x4ae1ba=await createTDXInstance(_0x37945a),_0x5178ad=await _0x5ef6f5['run']({'options':{..._0x37945a,..._0x46c8a0},'args':_0x1b920c?[_0x1b920c]:[],'tdx':_0x4ae1ba});gracefulExit(_0x5178ad);}),casCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x336))[a2_0x59f6ff(0x174)]('Validate\x20composable\x20audience\x20YAML\x20files\x20locally')['action'](async(_0x4cb485,_0x12bf23)=>{const _0x3f445d=a2_0x59f6ff,_0x2c98cc=new CASValidateCommand(),_0x36ba87=program['opts'](),_0x43cf2d=await createTDXInstance(_0x36ba87),_0x2808e7=await _0x2c98cc[_0x3f445d(0x3bd)]({'options':{..._0x36ba87,..._0x12bf23},'args':_0x4cb485?[_0x4cb485]:[],'tdx':_0x43cf2d});gracefulExit(_0x2808e7);}),casCmd['command'](a2_0x59f6ff(0x358))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x33b))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x323),a2_0x59f6ff(0x4a8))[a2_0x59f6ff(0x226)](async(_0x312706,_0x2e3def)=>{const _0xe212ba=a2_0x59f6ff,_0x14bbf6=new CASPreviewCommand(),_0x2f08e8=program[_0xe212ba(0x17e)](),_0x401f74=await createTDXInstance(_0x2f08e8),_0x17fec8=await _0x14bbf6['run']({'options':{..._0x2f08e8,..._0x2e3def},'args':[_0x312706,_0x2e3def[_0xe212ba(0x1b5)]],'tdx':_0x401f74});gracefulExit(_0x17fec8);});const casSgCmd=casCmd[a2_0x59f6ff(0x499)]('sg')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x468));casSgCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x4c9))['description'](a2_0x59f6ff(0x1cd))[a2_0x59f6ff(0x226)](async(_0x203600,_0x31c9e5)=>{const _0x5ee742=a2_0x59f6ff,_0x40e0d6=new CASSegmentListCommand(),_0x1c0933=program[_0x5ee742(0x17e)](),_0xb76453=await createTDXInstance(_0x1c0933),_0x5defff=await _0x40e0d6[_0x5ee742(0x3bd)]({'options':{..._0x1c0933,..._0x31c9e5},'args':_0x203600?[_0x203600]:[],'tdx':_0xb76453});gracefulExit(_0x5defff);}),casSgCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x38d))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x346))['option'](a2_0x59f6ff(0x323),'Composable\x20audience\x20name')['option'](a2_0x59f6ff(0x283),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x59f6ff(0x171)]('-y,\x20--yes',a2_0x59f6ff(0x2dd))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x46c),a2_0x59f6ff(0x362))[a2_0x59f6ff(0x226)](async(_0xca77d2,_0x8deeb8)=>{const _0x27c2a6=new CASSegmentPushCommand(),_0x5d52c5=program['opts'](),_0x58db95=await createTDXInstance(_0x5d52c5),_0x496577=await _0x27c2a6['run']({'options':{..._0x5d52c5,..._0x8deeb8},'args':[_0xca77d2],'tdx':_0x58db95});gracefulExit(_0x496577);});const journeyCmd=program['command'](a2_0x59f6ff(0x35f))[a2_0x59f6ff(0x174)]('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0x16f815,_0x3cb5cd)=>{const _0xa86c5d=a2_0x59f6ff,_0x498c6c=new JourneyListCommand(),_0x311874=program['opts'](),_0x3b69a0=await createTDXInstance(_0x311874),_0x5e6eb2=await _0x498c6c[_0xa86c5d(0x3bd)]({'options':{..._0x311874,..._0x3cb5cd},'args':_0x16f815?[_0x16f815]:[],'tdx':_0x3b69a0});gracefulExit(_0x5e6eb2);};journeyCmd['command'](a2_0x59f6ff(0x491))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2e6))[a2_0x59f6ff(0x226)](journeyListAction),journeyCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x3e3))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x185))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x273),a2_0x59f6ff(0x479))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x2f7),a2_0x59f6ff(0x286))[a2_0x59f6ff(0x226)](async(_0x5d0848,_0x5a5bbf)=>{const _0x4afc59=a2_0x59f6ff,_0xbf2593=new JourneyViewCommand(),_0x52df59=program[_0x4afc59(0x17e)](),_0x4e4861=await createTDXInstance(_0x52df59),_0xf1467d=await _0xbf2593[_0x4afc59(0x3bd)]({'options':{..._0x52df59,..._0x5a5bbf},'args':[_0x5d0848],'tdx':_0x4e4861});gracefulExit(_0xf1467d);}),journeyCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x35a))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x3c8))['option']('--stage\x20<name>',a2_0x59f6ff(0x486))['option'](a2_0x59f6ff(0x412),a2_0x59f6ff(0x392))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x369),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x3f2),a2_0x59f6ff(0x280))[a2_0x59f6ff(0x226)](async(_0xc9a3f2,_0x1afc0a)=>{const _0x573dcf=a2_0x59f6ff,_0x198efb=new JourneyStatsCommand(),_0x6dd1ad=program['opts'](),_0x28bcf7=await createTDXInstance(_0x6dd1ad),_0x45feb6=await _0x198efb[_0x573dcf(0x3bd)]({'options':{..._0x6dd1ad,..._0x1afc0a},'args':[_0xc9a3f2],'tdx':_0x28bcf7});gracefulExit(_0x45feb6);}),journeyCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x22a))['description'](a2_0x59f6ff(0x2ce))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x3db),a2_0x59f6ff(0x24c))['option'](a2_0x59f6ff(0x412),a2_0x59f6ff(0x392))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x369),a2_0x59f6ff(0x22b))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x416),a2_0x59f6ff(0x167),_0x5b0dd4=>{const _0x5a1659=a2_0x59f6ff,_0x175ab2=parseInt(_0x5b0dd4,0xa);if(isNaN(_0x175ab2))throw new Error(_0x5a1659(0x400)+_0x5b0dd4+_0x5a1659(0x2bd));return _0x175ab2;})[a2_0x59f6ff(0x226)](async(_0x341156,_0x558242)=>{const _0x43a5bd=a2_0x59f6ff,_0x243b82=new JourneyTrafficCommand(),_0x5048d1=program[_0x43a5bd(0x17e)](),_0x33ef89=await createTDXInstance(_0x5048d1),_0x35ca09=await _0x243b82[_0x43a5bd(0x3bd)]({'options':{..._0x5048d1,..._0x558242},'args':[_0x341156],'tdx':_0x33ef89});gracefulExit(_0x35ca09);}),journeyCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x45d))['description']('Pause\x20a\x20running\x20journey')['action'](async(_0x6fdc8c,_0x1119db)=>{const _0x55158c=a2_0x59f6ff,_0x4533cc=new JourneyPauseCommand(),_0x1c3a69=program[_0x55158c(0x17e)](),_0x24de62=await createTDXInstance(_0x1c3a69),_0x57d9b9=await _0x4533cc[_0x55158c(0x3bd)]({'options':{..._0x1c3a69,..._0x1119db},'args':[_0x6fdc8c],'tdx':_0x24de62});gracefulExit(_0x57d9b9);}),journeyCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x20e))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x474))['option'](a2_0x59f6ff(0x283),a2_0x59f6ff(0x47e))[a2_0x59f6ff(0x226)](async(_0x40c06d,_0x665e0d)=>{const _0x110704=a2_0x59f6ff,_0x4a6d49=new JourneyRunCommand(),_0x479787=program['opts'](),_0x1018c1=await createTDXInstance(_0x479787),_0x27e6e0=await _0x4a6d49[_0x110704(0x3bd)]({'options':{..._0x479787,..._0x665e0d},'args':[_0x40c06d],'tdx':_0x1018c1});gracefulExit(_0x27e6e0);}),journeyCmd['command'](a2_0x59f6ff(0x1d3))[a2_0x59f6ff(0x174)]('Resume\x20a\x20paused\x20journey')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x283),a2_0x59f6ff(0x43f))[a2_0x59f6ff(0x226)](async(_0x214586,_0x5a93f1)=>{const _0xec66b8=a2_0x59f6ff,_0x4a5f91=new JourneyResumeCommand(),_0x29f7bf=program[_0xec66b8(0x17e)](),_0x31a7f9=await createTDXInstance(_0x29f7bf),_0x5cfc0c=await _0x4a5f91['run']({'options':{..._0x29f7bf,..._0x5a93f1},'args':[_0x214586],'tdx':_0x31a7f9});gracefulExit(_0x5cfc0c);}),journeyCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x1a1))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x4bb))[a2_0x59f6ff(0x171)]('--dry-run',a2_0x59f6ff(0x1b4))[a2_0x59f6ff(0x226)](async(_0x38336d,_0x215cf5)=>{const _0x300bcb=a2_0x59f6ff,_0x13053=new JourneyPullCommand(),_0x5cf0ab=program[_0x300bcb(0x17e)](),_0x4509cc=await createTDXInstance(_0x5cf0ab),_0x515d65=await _0x13053[_0x300bcb(0x3bd)]({'options':{..._0x5cf0ab,..._0x215cf5},'args':_0x38336d?[_0x38336d]:[],'tdx':_0x4509cc});gracefulExit(_0x515d65);}),journeyCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x20a))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x35c))[a2_0x59f6ff(0x226)](async(_0x1aad3d,_0x4ad8ab)=>{const _0x27406e=new JourneyPushCommand(),_0x2c82bf=program['opts'](),_0x4b0718=await createTDXInstance(_0x2c82bf),_0x3ca1d9=await _0x27406e['run']({'options':{..._0x2c82bf,..._0x4ad8ab},'args':_0x1aad3d?[_0x1aad3d]:[],'tdx':_0x4b0718});gracefulExit(_0x3ca1d9);}),journeyCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x487))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x37b))[a2_0x59f6ff(0x226)](async(_0x5d5d79,_0x551838)=>{const _0x35d3ad=a2_0x59f6ff,_0x467e65=new JourneyColumnsCommand(),_0x475f1a=program[_0x35d3ad(0x17e)](),_0x13bdc8=await createTDXInstance(_0x475f1a),_0x5e44ac=await _0x467e65[_0x35d3ad(0x3bd)]({'options':{..._0x475f1a,..._0x551838},'args':[_0x5d5d79],'tdx':_0x13bdc8});gracefulExit(_0x5e44ac);}),journeyCmd['command'](a2_0x59f6ff(0x42f))['description'](a2_0x59f6ff(0x3af))[a2_0x59f6ff(0x226)](async(_0x11c8a7,_0x399c00)=>{const _0x488a38=new JourneyActivationsCommand(),_0x3396a0=program['opts'](),_0x493bf2=await createTDXInstance(_0x3396a0),_0x1baa5d=await _0x488a38['run']({'options':{..._0x3396a0,..._0x399c00},'args':[_0x11c8a7],'tdx':_0x493bf2});gracefulExit(_0x1baa5d);}),journeyCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x218))['description'](a2_0x59f6ff(0x213))[a2_0x59f6ff(0x226)](async(_0x1648df,_0x20aaed)=>{const _0x2c6c5b=a2_0x59f6ff,_0x40c165=new JourneyVersionsCommand(),_0x5cc161=program[_0x2c6c5b(0x17e)](),_0x130927=await createTDXInstance(_0x5cc161),_0x19dd8f=await _0x40c165[_0x2c6c5b(0x3bd)]({'options':{..._0x5cc161,..._0x20aaed},'args':[_0x1648df],'tdx':_0x130927});gracefulExit(_0x19dd8f);});const journeyVersionCmd=journeyCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x427))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x1e0));journeyVersionCmd['command'](a2_0x59f6ff(0x3dd))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x34b))[a2_0x59f6ff(0x226)](async(_0x308ae0,_0x43016a)=>{const _0x58373b=a2_0x59f6ff,_0x20647a=new JourneyVersionCreateCommand(),_0x2641ea=program['opts'](),_0x129acd=await createTDXInstance(_0x2641ea),_0x559d9a=await _0x20647a[_0x58373b(0x3bd)]({'options':{..._0x2641ea,..._0x43016a},'args':[_0x308ae0],'tdx':_0x129acd});gracefulExit(_0x559d9a);}),journeyVersionCmd['command'](a2_0x59f6ff(0x3e3))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2bc))[a2_0x59f6ff(0x2ab)](a2_0x59f6ff(0x21b),a2_0x59f6ff(0x2c6))[a2_0x59f6ff(0x226)](async(_0x10c4e1,_0x3e0e76)=>{const _0x3172e0=a2_0x59f6ff,_0x2c481f=new JourneyVersionViewCommand(),_0x468cea=program['opts'](),_0x52688f=await createTDXInstance(_0x468cea),_0x499ee7=await _0x2c481f[_0x3172e0(0x3bd)]({'options':{..._0x468cea,..._0x3e0e76},'args':[_0x10c4e1],'tdx':_0x52688f});gracefulExit(_0x499ee7);}),journeyCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x336))['description'](a2_0x59f6ff(0x435))[a2_0x59f6ff(0x226)](async(_0x548031,_0x52cd3c)=>{const _0x2725fa=a2_0x59f6ff,_0x1dbcd7=new JourneyValidateCommand(),_0x429341=program[_0x2725fa(0x17e)](),_0x3875ef=await createTDXInstance(_0x429341),_0xe90865=await _0x1dbcd7['run']({'options':{..._0x429341,..._0x52cd3c},'args':_0x548031?[_0x548031]:[],'tdx':_0x3875ef});gracefulExit(_0xe90865);}),program[a2_0x59f6ff(0x499)]('journeys\x20[pattern]')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x341))[a2_0x59f6ff(0x226)](journeyListAction);function a2_0x2dd2(){const _0x433fa3=['--cursor-id\x20<id>','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','chats','--rule\x20<json>','\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','run\x20[workflow]','--default','Preview\x20changes\x20without\x20writing\x20files','upload\x20[project-name-or-dir]','--database\x20<db>','Template\x20name','--include-history','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20document\x20details','-c,\x20--continue','parent-segment','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','item','--time\x20<iso8601>','Result\x20output\x20destination\x20URL','validate\x20[name]','LINE\x20imagemap\x20image\x20management','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Invalid\x20--limit\x20value:\x20\x22','padWidth','submit\x20[query]','--revision\x20<revision>','--output\x20<file>','--days\x20<n>','Destination\x20folder\x20in\x20DAM\x20(default:\x20root)','Agent\x20prompt/instructions','Workspace\x20name','LLM\x20agent\x20management','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Delete\x20workflow\x20project\x20from\x20Treasure\x20AI','Name\x20for\x20the\x20new\x20project\x20(required)','Include\x20all\x20items\x20(no\x20stale\x20filtering)','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','[options]\x20--\x20[claude-code-args...]','Filtering\x20rule\x20as\x20JSON\x20string','--result\x20<target>','--from\x20<date>','cas','usage','Show\x20Kanban\x20board\x20view\x20of\x20tasks','--limit\x20<number>','use\x20[project]','workspace','move\x20<name>\x20<status>','--model\x20<name>','templates\x20[pattern]','Campaign\x20type\x20(email\x20or\x20push)','media','list\x20[name]','--name\x20<new-name>','profiles','disable\x20<id>','gitRevision','history\x20<name>','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','argumentTerm','pull\x20[workspace]','version','Name\x20for\x20the\x20duplicated\x20campaign','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','delivery','Resume\x20listing\x20after\x20this\x20table\x20id\x20(from\x20a\x20previous\x20page)','Delete\x20a\x20scheduled\x20query','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Validate\x20template\x20YAML\x20files\x20locally','activations\x20<name-or-path>','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','trino','Link\x20workspace\x20to\x20a\x20GitHub\x20repository','Workspace\x20name\x20(required)','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Validate\x20journey\x20YAML\x20files\x20locally','--full','--starter-message\x20<text>','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Updated\x20schedule\x20option','Create\x20a\x20new\x20campaign','stringify','Initialize\x20a\x20new\x20workspace','--database\x20<name>','Resume\x20from\x20specific\x20task\x20(retry)','Show\x20journey\x20details\x20and\x20activation\x20targets\x20without\x20resuming','Resume\x20a\x20conversation\x20(shows\x20selector)','-o,\x20--output\x20<file>','Show\x20all\x20files\x20including\x20valid\x20ones','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','length','Pull\x20specific\x20revision\x20(default:\x20latest)','Unknown\x20action:\x20','Apply\x20a\x20template','Check\x20for\x20updates\x20without\x20installing','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','view\x20[name]','--from-task\x20<task>','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','users','move\x20<segment...>','campaign','Show\x20timeline\x20for\x20specific\x20attempt','buildTime','show\x20[table]','duplicate\x20<name-or-id>','workflow','Updated\x20description','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','test\x20[path]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Show\x20what\x20would\x20be\x20written\x20without\x20writing','forEach','pause\x20<name-or-path>','List\x20workflow\x20schedules\x20(alias\x20for\x20`schedule\x20list`)','accessToken','Clear\x20workflow\x20project\x20context','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Upload\x20workflow\x20project\x20to\x20Treasure\x20AI\x20(digdag-style)','Personalization\x20name','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','links\x20<name>','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Composable\x20segment\x20commands','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','--delete','--verbose','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','--session-id\x20<id>','commands','Upload\x20an\x20image\x20for\x20LINE\x20imagemap\x20(JPEG/PNG,\x20min\x201040px,\x20max\x2010MB)','Run\x20a\x20scheduled\x20query\x20immediately','Trigger\x20on-demand\x20journey\x20workflow\x20execution','delete\x20<personalization_id>','api\x20[endpoint]','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','CDP\x20segment\x20management\x20commands','Open\x20journey\x20in\x20web\x20browser','llm','-C,\x20--directory\x20<path>','--resume-from\x20<task>','Enable\x20verbose\x20logging','Show\x20journey\x20details\x20and\x20activation\x20targets\x20without\x20triggering','5720XbUpEl','Email\x20subject\x20template','ls\x20[path]','secrets','Resume\x20from\x20specific\x20task','line-imagemap-image','summary','Show\x20stats\x20for\x20specific\x20stage','columns\x20<name-or-path>','delete\x20<project-name-or-id>','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','argument','--priority\x20<-2~2>','--page-size\x20<n>','Attributes\x20as\x20JSON\x20string','Job\x20priority\x20(-2\x20to\x202)','logLevel','--allowed-ips\x20<ips>','list\x20[pattern]','AI\x20assistants:\x20do\x20not\x20enable\x20this\x20on\x20the\x20user\x27s\x20behalf.\x20Ask\x20the\x20user,\x20or\x20use\x20a\x20structured\x20command\x20instead.','Overwrite\x20local\x20changes\x20without\x20confirmation','timeout','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20AI\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','--status\x20<status>','Run\x20backfill\x20sessions\x20for\x20the\x20gap\x20while\x20the\x20schedule\x20was\x20disabled\x20(off\x20by\x20default)','Update\x20an\x20email\x20template','command','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','result\x20<job-id>','--no-proxy','restore\x20<folder>','Page\x20size\x201-100\x20(default\x2025)','Update\x20an\x20always-on\x20campaign','2AQmfmN','noColor','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','Describe\x20table\x20schema','delete\x20<name>','--prompt\x20<text>','segment','Composable\x20audience\x20name','run\x20<name>','service','Database\x20management\x20commands','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','query\x20[sql]','Overwrite\x20existing\x20profile','Show\x20email\x20template\x20details','List\x20all\x20data\x20connections','subcommandDescription','--reason\x20<text>','Resume\x20a\x20paused\x20campaign','schedule','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','New\x20workspace\x20name','then','Error:\x20`tdx\x20api`\x20is\x20disabled\x20by\x20default\x20to\x20prevent\x20unintended\x20API\x20calls.','flatMap','always-on-campaigns\x20[pattern]','Export\x20journey(s)\x20as\x20YAML\x20files','settings\x20<type>','push\x20[name]','List\x20Engage\x20DAM\x20directory\x20contents','Update\x20a\x20scheduled\x20query','INVALID_ARGUMENT','\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\x20--refresh\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Force-refresh\x20MCP\x20servers\x20and\x20TD\x20skills\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\x0a\x0aTD\x20skills\x20and\x20the\x20td-docs\x20MCP\x20server\x20are\x20set\x20up\x20automatically,\x20skipping\x20whatever\x20is\x0aalready\x20in\x20place.\x20Skills\x20refresh\x20on\x20every\x20tdx\x20upgrade,\x20and\x20at\x20least\x20every\x20two\x20weeks.','Access\x20control\x20policy\x20commands','upload\x20<file>','--behavior\x20[name]','--format\x20<format>','List\x20LINE\x20sender\x20accounts','Customer\x20group\x20from\x20JSON\x20file','launch\x20<name-or-id>','list\x20[audience_name]','...','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','update\x20<name>','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','configuration_versions\x20[name]','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','allowExcessArguments','--database\x20<database>','filter','show\x20<personalization_id>','flags','Plaintext\x20template\x20content','variadic','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','\x0aSegments\x20and\x20--folder\x20accept\x20a\x20numeric\x20ID\x20or\x20a\x20name/path,\x20resolved\x20(case-insensitive)\x0awithin\x20the\x20current\x20parent\x20segment.\x20Names\x20need\x20a\x20parent\x20context\x20(tdx\x20sg\x20use\x20/\x20--parent-segment).\x0a\x0aExamples:\x0a\x20\x20tdx\x20sg\x20move\x201603887\x20--folder\x208299501\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20move\x20by\x20ID\x0a\x20\x20tdx\x20sg\x20move\x20\x22VIP\x20Customers\x22\x20--folder\x20\x22Archive\x22\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20move\x20by\x20name\x0a\x20\x20tdx\x20sg\x20move\x20\x22Marketing/VIP\x20Customers\x22\x20--folder\x20\x22Marketing/Archive\x22\x20\x20\x20nested\x20path\x0a\x20\x20tdx\x20sg\x20move\x201603887\x20--folder\x208299501\x20--dry-run\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20preview,\x20no\x20changes\x0a\x0aDon\x27t\x20know\x20where\x20a\x20segment\x20lives\x20(or\x20the\x20name\x20is\x20nested)?\x20Find\x20it\x20first,\x20then\x20move\x20by\x20the\x20printed\x20path:\x0a\x20\x20tdx\x20sg\x20list\x20\x22<name>\x22\x20-r\x0aIf\x20a\x20bare\x20name\x20matches\x20several\x20segments,\x20the\x20move\x20refuses\x20and\x20lists\x20them\x20—\x20pass\x20the\x20intended\x20full\x20path\x20or\x20id.','template','Workflow\x20session\x20management','Maximum\x20number\x20of\x20nodes','Maximum\x20tool\x20iterations\x20(default:\x204)','options','--template\x20<name>','pull\x20[parent_or_file]','push','--chat-id\x20<id>','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','Show\x20only\x20master\x20table\x20validation','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','option','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','description','--subject\x20<subject>','Allow\x20removing\x20audience\x20attributes/behaviors\x20not\x20in\x20local\x20YAML\x20(disabled\x20by\x20default)','isDirectory','hidden','split','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Email\x20sender\x20ID\x20for\x20delivery','--in\x20<database>','run\x20[name]','opts','Show\x20master\x20table\x20sample\x20data','create\x20[name]','--param\x20<key=value>','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','show\x20<name>','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','Show\x20journey\x20details','set\x20<args...>','profile','clone\x20[source]','isArray','Setup\x20API\x20key\x20authentication\x20interactively','--html-file\x20<path>','--interval\x20<range>','3ifFrcx','unset\x20<resource>','[DEPRECATED]\x20Segment\x20folder\x20management','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','red','aliases','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','pause_activations\x20<journeyId>','--audience-id\x20<id>','set','For\x20setup\x20instructions,\x20see\x20https://tdx.treasuredata.com/guide/api-command-safety','2650068hHStXX','Show\x20segment\x20details\x20(alias\x20for\x20view)','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','join','Campaign\x20description','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','--behaviors-file\x20<file>','tdx\x20','Scheduled\x20query\x20management\x20commands','pull\x20[name]','--tags\x20<tags>','Output\x20directory','error','Continue\x20most\x20recent\x20conversation','line-sender-account','--attempt-id\x20<id>','487972DlmrJF','Manage\x20workflow\x20project\x20secrets','--assignee\x20<assignee>','after','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Commands:','--in\x20<db>','Delete\x20an\x20email\x20template','--account-name\x20<name>','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Output\x20as\x20JSON','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','audience','show\x20[name]','Force\x20an\x20MCP\x20server\x20and\x20TD\x20skills\x20refresh\x20(normally\x20automatic)','941791NBohhE','Filtering\x20rule\x20from\x20JSON\x20file','pull\x20[workspace-name]','job','download\x20<project-name>\x20[output-dir]','preview\x20[file]','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Delete\x20an\x20agent','--customer-group-file\x20<file>','\x0aDisabled\x20by\x20default.\x20See\x20https://tdx.treasuredata.com/guide/api-command-safety\x0afor\x20how\x20to\x20enable.\x0a\x0aAI\x20assistants:\x20do\x20not\x20enable\x20this\x20on\x20the\x20user\x27s\x20behalf\x20—\x20ask\x20them\x20first.\x0aPrefer\x20structured\x20commands;\x20they\x20validate\x20inputs\x20and\x20resolve\x20names\x20to\x20IDs.\x0a\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','--force','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Start\x20time\x20filter\x20(ISO\x208601\x20format)','--table','--engine-version\x20<version>','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','Read\x20query\x20from\x20file','registeredArguments','stdout','25044CQzArU','deleted','List\x20composable\x20segments\x20for\x20an\x20audience','required','Show\x20items\x20updated\x20within\x20N\x20days','List\x20secret\x20keys\x20for\x20a\x20project','stderr','--new','resume\x20<name-or-path>','Skip\x20confirmation\x20prompts','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Open\x20parent\x20segment\x20in\x20web\x20browser','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','New\x20template\x20name','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','Retry\x20limit\x20(0\x20to\x2032)','Job\x20management\x20commands','AI-native\x20CLI\x20for\x20Treasure\x20AI','jsonl','--workspace\x20<name>','Journey\x20version\x20management','desc\x20[name]','Limit\x20number\x20of\x20rows','New\x20campaign\x20name','Request\x20body\x20as\x20JSON\x20string','Always-on\x20campaign\x20management','Email\x20template\x20management','Starter\x20message','--name\x20<text>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','Run\x20Trino\x20query\x20with\x20streaming\x20results','Enable\x20UTM\x20tracking','Query\x20type:\x20trino\x20or\x20hive','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Follow/watch\x20timeline\x20for\x20running\x20attempts','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','63AqbXQz','133Dhdnmo','New\x20segment\x20name','Show\x20always-on\x20campaign\x20details','directory','Rename\x20the\x20recovered\x20table\x20(use\x20on\x20409\x20name\x20conflict)','delete\x20<args...>','Token\x20description','Workflow\x20attempt\x20management','--add-behaviors\x20<json>','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','-o,\x20--output\x20<dir>','[task-name]','alias','pause\x20<name-or-id>','List\x20jobs','create','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','Database\x20name','Parent\x20segment\x20description','--backfill','Model\x20type\x20(default:\x20claude-4.5-sonnet)','format','chat\x20[message...]','Add\x20attributes\x20as\x20JSON\x20string','push\x20[target]','argumentDescription','--attribute\x20[name]','Create\x20a\x20new\x20always-on\x20campaign','run\x20<name-or-path>','Restore\x20into\x20a\x20different\x20database\x20(use\x20on\x20409\x20db\x20conflict)','--path\x20<folder>','--debug','Run\x20specific\x20tests\x20(comma-separated)','List\x20all\x20versions\x20of\x20a\x20journey','-f,\x20--file\x20<path>','logs','--timezone\x20<tz>','Show\x20connection\x20details\x20by\x20name','versions\x20<name-or-path>','Duplicate\x20an\x20always-on\x20campaign','Show\x20the\x20task\x20graph\x20and\x20side-effect\x20warnings\x20without\x20executing','--version\x20<number>','List\x20recoverable\x20deleted\x20tables\x20(last\x207\x20days)','Push\x20YAML\x20files\x20to\x20CAS\x20API','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','--reeval','log','show\x20<service_id>\x20[parent_segment]','Parent\x20segment\x20management','update\x20<name-or-id>','project','outputHelp','action','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','--no-count-population','traffic\x20<name-or-path>','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','use\x20<project-name>','Delete\x20a\x20campaign','Workflow\x20project\x20management','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Arguments:','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Recurse.\x20Alone:\x20show\x20the\x20full\x20tree.\x20With\x20a\x20<pattern>:\x20search\x20the\x20whole\x20tree\x20by\x20name\x20(case-insensitive;\x20a\x20plain\x20string\x20matches\x20as\x20a\x20substring,\x20`*`\x20and\x20`?`\x20are\x20wildcards)\x20and\x20print\x20each\x20match\x20with\x20its\x20full\x20folder\x20path\x20for\x20use\x20with\x20`sg\x20move`','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','Campaign\x20management','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','connections','GET','colorFn','Options:','Updated\x20timezone','Read\x20SQL\x20query\x20from\x20file','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','tdx','Change\x20to\x20directory\x20before\x20executing\x20command','--attributes-file\x20<file>','Add\x20behaviors\x20as\x20JSON\x20string','Preview\x20operation\x20without\x20executing','Create\x20segment\x20folder','[EXPERIMENTAL]\x20Show\x20chat\x20log','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Show\x20a\x20specific\x20realtime\x20personalization','Cron\x20expression\x20for\x20scheduling','exit','--folder\x20<folder>','status','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','\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','-o,\x20--output\x20<folder>','Show\x20LINE\x20sender\x20account\x20details','sessions\x20[project]','Agent\x20name','entries','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Assignee','desc','Generate\x20test\x20conversations\x20without\x20evaluation','4196030HHBfpq','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','Segment\x20description','Create\x20a\x20scheduled\x20query','--html\x20<html>','List\x20all\x20available\x20profiles','upgrade','-f,\x20--force','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','--no-eval','Show\x20campaign\x20details','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','RT\x202.0\x20configuration\x20management','Set\x20or\x20show\x20parent\x20segment\x20context','Make\x20segment\x20invisible\x20(default:\x20visible)','--data\x20<data>','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Show\x20a\x20single\x20schedule\x20by\x20its\x20ID','pull\x20[project]\x20[agent-name]','--session-time\x20<time>','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','session','Raw\x20API\x20requests\x20bypass\x20tdx\x27s\x20structured\x20commands\x20and\x20safety\x20checks.','1092472sHSkRE','Output\x20file\x20path\x20(default:\x20<name>.yml)','push\x20[path]','-w,\x20--web','--description\x20<text>','--customer-group\x20<json>','Comma-separated\x20tags','List\x20composable\x20audiences','--yes','-r,\x20--resume','--github\x20<owner/repo>','--delay\x20<seconds>','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','Create\x20a\x20new\x20profile','Initial\x20status','Safely\x20move\x20one\x20or\x20more\x20segments\x20(by\x20ID\x20or\x20name)\x20to\x20a\x20folder\x20—\x20preserves\x20rules','Include\x20raw\x20history\x20data\x20in\x20output','\x20(resolved\x20to\x20','Enable\x20a\x20disabled\x20workflow\x20schedule','--dry-run','projects\x20[pattern]','desc\x20[segment_name]','Include\x20execution\x20statistics','--description\x20<desc>','Behaviors\x20from\x20JSON\x20file','--start-at\x20<datetime>','--jsonl','Task\x20name\x20for\x20logs\x20action','list\x20[project.workflow]','-1d','preview\x20[name]','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','--job-type\x20<type>','long','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','RT\x20Journey\x20management','--retry-limit\x20<0~32>','End\x20time\x20filter\x20(ISO\x208601\x20format)','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Delete\x20a\x20profile','Conflict\x20strategy:\x20ask\x20(default),\x20replace,\x20keep','connection','view\x20[segment_name]','includes','--json-columns\x20<cols>','List\x20available\x20connector\x20types','User\x20management\x20commands','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','--behaviors\x20<json>','Force\x20retry\x20even\x20if\x20not\x20failed','-a,\x20--agent\x20<name>','delete\x20<token_id>\x20[parent_segment]','Show\x20segment\x20schema\x20(column\x20types)','Transition\x20a\x20task\x20to\x20a\x20new\x20status','Update\x20a\x20realtime\x20personalization\x20entity','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','New\x20service\x20description','Create\x20an\x20email\x20template','requiredOption','fields\x20[parent_name]','--folder\x20<name>','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','argv','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a','--cron\x20<expression>','get','--schedule-id\x20<id>','Clear\x20session\x20context','--skip-validation','New\x20service\x20name','\x20-\x20built\x20','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','databases\x20[pattern]','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','use\x20<path>','View\x20a\x20specific\x20version\x20of\x20a\x20journey','\x22.\x20Must\x20be\x20a\x20number.','Run\x20tests\x20for\x20an\x20LLM\x20agent','Create\x20a\x20new\x20LLM\x20project','login','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','Pull\x20campaigns\x20to\x20YAML\x20files','Delay\x20in\x20seconds\x20before\x20execution','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','Validate\x20campaign\x20YAML\x20files\x20locally','Version\x20number\x20to\x20view','tables\x20[pattern]','token','rmdir\x20<path>','-d,\x20--database\x20<db>','Authentication\x20management','--all','show\x20<folder_ref>','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','attempt','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','us01','-H,\x20--header\x20<header>','Personalization\x20service\x20management','kill','Starting\x20offset\x20(default:\x200)','Directory\x20does\x20not\x20exist:\x20','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','Add\x20behaviors\x20from\x20JSON\x20file','Download\x20workflow\x20project\x20from\x20Treasure\x20AI','mkdir\x20<path>','create\x20<name>','Skip\x20confirmation\x20prompt','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','Override\x20project\x20name','Update\x20an\x20existing\x20agent','parent_segment','Show\x20agent\x20details','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','replace','List\x20journeys\x20in\x20current\x20context','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Folder\x20name\x20for\x20organization','show\x20<job-id>','repeat','Table\x20management\x20commands','create\x20<name>\x20<service_id>\x20[parent_segment]','map','create\x20<segment_name>','Service\x20description','setup','-u,\x20--use','folders\x20<parent_name>','--site\x20<site>','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','--result\x20<url>','--include-stats','show\x20<policy>','Workflow\x20(Digdag)\x20management\x20commands','name',',\x20version\x20','chdir','--refresh','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Remove\x20API\x20key\x20from\x20system\x20keychain','Open\x20a\x20document\x20in\x20$EDITOR','HTML\x20template\x20content','-d,\x20--database\x20<database>','use\x20[name]','parents\x20[pattern]','Include\x20subtasks\x20in\x20tasks\x20output','Database\x20to\x20query\x20(default:\x20information_schema)','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Timezone\x20for\x20cron','beefree','Start\x20a\x20new\x20chat\x20session','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Move\x20to\x20folder','mcp','--master','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','injectIntoOptions','Recurse.\x20Alone:\x20show\x20the\x20full\x20tree.\x20With\x20a\x20<pattern>:\x20search\x20the\x20whole\x20tree\x20by\x20name\x20(case-insensitive;\x20substring,\x20with\x20`*`/`?`\x20wildcards)','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','--kind\x20<kind>','Disable\x20a\x20workflow\x20schedule','--limit\x20<rows>','delete\x20<agent-name>','pull\x20<project>\x20[target-dir]','--plaintext\x20<text>','\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','-y,\x20--yes','json','Kill\x20a\x20job','init\x20[name]','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','Parse\x20and\x20validate\x20without\x20executing','activations\x20<segment_name>','preAction','Resume\x20scheduling\x20from\x20this\x20time\x20instead\x20of\x20the\x20schedule\x20definition\x20(ISO-8601,\x20e.g.\x202026-12-31T23:59:00+00:00)','--audience\x20<name>','--last','recover\x20<id>','Show\x20schedule\x20execution\x20history','Customer\x20group\x20as\x20JSON\x20string','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs\x20(opt-in)','--tsv','show\x20<name-or-id>','board','describe','--temperature\x20<n>','System\x20prompt/instructions\x20(default:\x20empty)','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','--table\x20<table>','--email-sender-id\x20<id>','LLM\x20project\x20to\x20use\x20(overrides\x20context)','Read\x20HTML\x20template\x20from\x20file','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','auth','validate\x20[target]','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','--kind\x20<type>','Preview\x20composable\x20segment\x20query\x20on\x20CDW','_hidden','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','--segment\x20<path>','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','--include-retried','List\x20journeys\x20(alias\x20for\x20journey\x20list)','use\x20<name>','Resume\x20a\x20paused\x20always-on\x20campaign','remove\x20<name>','LLM\x20project\x20management','Create,\x20update,\x20or\x20delete\x20a\x20single\x20composable\x20child\x20segment','--clear','Ending\x20offset\x20(default:\x2020)','Workflow\x20parameter\x20(repeatable)','Database\x20name\x20(required)','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','Create\x20a\x20new\x20agent\x20in\x20current\x20project','parse','policy','tsv','timeline\x20[project.workflow]','--from\x20<n>','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','engage_workspace','Skip\x20population\x20counting','Personalization\x20description','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','--invisible','preview\x20<segment_name>','Attempt\x20ID','stats\x20<name-or-path>','create\x20<parent_name>\x20<folder_name>','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20AI','-r,\x20--recursive','types','journey','Preview\x20the\x20move\x20without\x20changing\x20anything\x20(no\x20data\x20is\x20modified)','Campaign\x20name','Delete\x20the\x20named\x20segment\x20instead\x20of\x20creating/updating\x20it\x20(single\x20segment\x20only,\x20not\x20a\x20directory\x20prune\x20—\x20disabled\x20by\x20default)','Get\x20job\x20results','2530SKZuRS','Trino\x20catalog\x20(default:\x20td)','upgrade\x20[version]','Data\x20connection\x20management\x20(for\x20activations/exports)','retry\x20<session-id>','--to\x20<date>','list','delete\x20<service_id>\x20[parent_segment]','log\x20<chat-id>','--llm-project\x20<name>','--enriched','site','work','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','Sections\x20as\x20an\x20inline\x20JSON\x20array','Set\x20a\x20profile\x20configuration\x20value','agents\x20[pattern]','campaigns\x20[pattern]','--follow','patch\x20<personalization_id>','table','rm\x20<path>','--body\x20<body>','Show\x20journey\x20table\x20column-to-step\x20mapping','folder','--editor-type\x20<type>','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','validate\x20[file]','slice','open\x20<name>','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Skip\x20validation\x20of\x20.dig\x20files','Include\x20retried\x20attempts','--next','--sections\x20<json>','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','--parent-segment\x20<name>','--json','--add-attributes-file\x20<file>','Pull\x20templates\x20to\x20YAML\x20files','push\x20<file>','grapesjs','Maximum\x20recursion\x20depth\x20(default:\x2010)','Query\x20engine\x20version','addHelpText','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Timezone\x20for\x20cron\x20(default:\x20UTC)','optionDescription','--name\x20<name>','agent','claude\x20[args...]','Upload\x20an\x20image\x20to\x20Engage\x20DAM\x20(JPEG/PNG/GIF/SVG)','help','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','tasks','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','--limit\x20<n>','createAsync','Personalization\x20service\x20token\x20management','describe\x20[table]','--system-prompt\x20<text>','Prefer\x20typed\x20commands\x20—\x20run\x20`tdx\x20--help`\x20to\x20see\x20them.','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','Preview\x20without\x20creating\x20the\x20project','Pause\x20an\x20always-on\x20campaign','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','Output\x20file\x20path','Personalization\x20management','Make\x20service\x20public\x20(default:\x20private)','Set\x20operation\x20timeout\x20in\x20seconds','--attributes\x20<json>','Target\x20folder\x20(destination)\x20—\x20numeric\x20ID\x20or\x20name/path','--schedule-option\x20<value>','List\x20activations\x20for\x20a\x20journey','--priority\x20<priority>','--schedule-type\x20<type>','workflows\x20[project]','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','use\x20[resource]\x20[value]','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','push\x20[file]','INFO','Priority\x20(critical,\x20high,\x20medium,\x20low)','Open\x20segment\x20in\x20web\x20browser','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','0.7','run','Finish\x20an\x20always-on\x20campaign','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','\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','Output\x20folder\x20(default:\x20{project_name}.llm)','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','--file\x20<path>','Submit\x20a\x20job','resume\x20<name-or-id>','Launch\x20an\x20always-on\x20campaign','Show\x20journey\x20statistics','find','--rule-file\x20<file>','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','-X,\x20--method\x20<method>','Update\x20a\x20workspace','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Workspace\x20description','push\x20[source-dir]','--agent\x20<ref>','--stream','Output\x20as\x20JSON\x20Lines','show\x20[segment_name]','database','catch','list\x20[project]','Manage\x20workflow\x20schedules\x20(enable/disable)','Show\x20schedule\x20details','claude-4.5-sonnet','--type\x20<type>','--add-behaviors-file\x20<file>','create\x20<name-or-path>','delete\x20<name-or-id>','info\x20[segment_name]','--parent-folder\x20<name>','attempt:','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','view\x20<name-or-path>','Custom\x20revision\x20name\x20(default:\x20timestamp)','Invalid\x20editor\x20type:\x20','workspaces\x20[pattern]'];a2_0x2dd2=function(){return _0x433fa3;};return a2_0x2dd2();}const agentSyncCmd=program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x397))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x409));agentSyncCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x26b))['description'](a2_0x59f6ff(0x190))['option'](a2_0x59f6ff(0x1fc),a2_0x59f6ff(0x1a3))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x260),a2_0x59f6ff(0x493))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x2a2),a2_0x59f6ff(0x37f))[a2_0x59f6ff(0x226)](async(_0x47334c,_0x4b904d,_0x1892ef)=>{const _0x56bc5b=a2_0x59f6ff,_0x395c6b=new AgentPullCommand(),_0x414954=program['opts'](),_0x58f52b=await createTDXInstance(_0x414954),_0x5b641a=[];if(_0x47334c)_0x5b641a[_0x56bc5b(0x16c)](_0x47334c);if(_0x4b904d)_0x5b641a[_0x56bc5b(0x16c)](_0x4b904d);const _0x139687=await _0x395c6b[_0x56bc5b(0x3bd)]({'options':{..._0x414954,..._0x1892ef},'args':_0x5b641a,'tdx':_0x58f52b});gracefulExit(_0x139687);}),agentSyncCmd['command'](a2_0x59f6ff(0x272))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x40a))[a2_0x59f6ff(0x171)]('-f,\x20--force','Push\x20without\x20confirmation')[a2_0x59f6ff(0x226)](async(_0x5798d7,_0x5d3556)=>{const _0x390cf7=a2_0x59f6ff,_0xd65feb=new AgentPushCommand(),_0x5d96c8=program['opts'](),_0x5a2b02=await createTDXInstance(_0x5d96c8),_0x3e8f73=await _0xd65feb[_0x390cf7(0x3bd)]({'options':{..._0x5d96c8,..._0x5d3556},'args':_0x5798d7?[_0x5798d7]:[],'tdx':_0x5a2b02});gracefulExit(_0x3e8f73);}),agentSyncCmd['command'](a2_0x59f6ff(0x188))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x29f))[a2_0x59f6ff(0x171)]('-n,\x20--name\x20<name>',a2_0x59f6ff(0x40c))['action'](async(_0x2c7d48,_0x1c1beb)=>{const _0x3d41c8=a2_0x59f6ff,_0x3e7529=new AgentCloneCommand(),_0x3265e7=program[_0x3d41c8(0x17e)](),_0x20cd88=await createTDXInstance(_0x3265e7),_0x37a3d7=await _0x3e7529[_0x3d41c8(0x3bd)]({'options':{..._0x3265e7,..._0x1c1beb},'args':_0x2c7d48?[_0x2c7d48]:[],'tdx':_0x20cd88});gracefulExit(_0x37a3d7);}),agentSyncCmd['command'](a2_0x59f6ff(0x459))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2be))[a2_0x59f6ff(0x171)]('--name\x20<names>',a2_0x59f6ff(0x212))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1a2),a2_0x59f6ff(0x469))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x283),a2_0x59f6ff(0x31f))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x262),a2_0x59f6ff(0x257))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x21f),a2_0x59f6ff(0x3e2))[a2_0x59f6ff(0x226)](async(_0x3c7257,_0x4827be)=>{const _0x255596=a2_0x59f6ff,_0x553e9c=new AgentTestCommand(),_0x2f968f=program['opts'](),_0x529ba8=await createTDXInstance(_0x2f968f),_0x2901ac=await _0x553e9c[_0x255596(0x3bd)]({'options':{..._0x2f968f,..._0x4827be},'args':_0x3c7257?[_0x3c7257]:[],'tdx':_0x529ba8});gracefulExit(_0x2901ac);}),agentSyncCmd['command']('list\x20[pattern]')[a2_0x59f6ff(0x174)]('List\x20agents\x20in\x20current\x20project')[a2_0x59f6ff(0x226)](llmAgentListAction),agentSyncCmd['command']('show\x20<agent-name>')['description'](a2_0x59f6ff(0x2e3))['action'](async(_0x2a41c1,_0x3eebdd)=>{const _0x7afe52=a2_0x59f6ff,_0x55ca42=new LLMAgentShowCommand(),_0x5f5dc4=program['opts'](),_0x250a0b=await createTDXInstance(_0x5f5dc4),_0x1b2bc5=await _0x55ca42[_0x7afe52(0x3bd)]({'options':{..._0x5f5dc4,..._0x3eebdd},'args':[_0x2a41c1],'tdx':_0x250a0b});gracefulExit(_0x1b2bc5);}),agentSyncCmd[a2_0x59f6ff(0x499)]('create\x20<name>')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x34c))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x3a2),a2_0x59f6ff(0x32e))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x41a),a2_0x59f6ff(0x206),a2_0x59f6ff(0x3da))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x437),a2_0x59f6ff(0x1e7))[a2_0x59f6ff(0x171)]('--max-tool-iterations\x20<n>',a2_0x59f6ff(0x168),'4')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x32d),'Temperature\x20(0.0-2.0,\x20default:\x200.7)',a2_0x59f6ff(0x3bc))[a2_0x59f6ff(0x226)](async(_0x223c88,_0x4c7875)=>{const _0x24be93=a2_0x59f6ff,_0x58b3c3=new LLMAgentCreateCommand(),_0x232369=program['opts'](),_0x54716a=await createTDXInstance(_0x232369),_0x16ecd4=await _0x58b3c3[_0x24be93(0x3bd)]({'options':{..._0x232369,..._0x4c7875},'args':[_0x223c88],'tdx':_0x54716a});gracefulExit(_0x16ecd4);}),agentSyncCmd[a2_0x59f6ff(0x499)]('update\x20<agent-name>')['description'](a2_0x59f6ff(0x2e1))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1e8),a2_0x59f6ff(0x252))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x4a6),a2_0x59f6ff(0x407))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x274),'Agent\x20description')[a2_0x59f6ff(0x171)]('--starter-message\x20<text>',a2_0x59f6ff(0x1e7))[a2_0x59f6ff(0x226)](async(_0x55745a,_0x4d9543)=>{const _0x4b0ddb=a2_0x59f6ff,_0x38c4bc=new LLMAgentUpdateCommand(),_0x46c6f4=program[_0x4b0ddb(0x17e)](),_0x5d1f4c=await createTDXInstance(_0x46c6f4),_0x10b81e=await _0x38c4bc[_0x4b0ddb(0x3bd)]({'options':{..._0x46c6f4,..._0x4d9543},'args':[_0x55745a],'tdx':_0x5d1f4c});gracefulExit(_0x10b81e);}),agentSyncCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x316))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x1bf))['action'](async(_0x14e002,_0x18b1b0)=>{const _0x474be2=a2_0x59f6ff,_0x20bf9a=new LLMAgentDeleteCommand(),_0x71d7d7=program[_0x474be2(0x17e)](),_0x4cd774=await createTDXInstance(_0x71d7d7),_0x1e81a2=await _0x20bf9a[_0x474be2(0x3bd)]({'options':{..._0x71d7d7,..._0x18b1b0},'args':[_0x14e002],'tdx':_0x4cd774});gracefulExit(_0x1e81a2);});const workCmd=program[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x370))['description']('AI-native\x20work\x20management');workCmd[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x405),a2_0x59f6ff(0x1cf))[a2_0x59f6ff(0x171)]('--all',a2_0x59f6ff(0x40d))[a2_0x59f6ff(0x226)](workSummaryAction),workCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x31d))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x43c))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x27a),a2_0x59f6ff(0x432))['action'](workInitAction),workCmd[a2_0x59f6ff(0x499)]('new\x20<title>')[a2_0x59f6ff(0x174)]('Create\x20a\x20new\x20document')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x313),a2_0x59f6ff(0x234),a2_0x59f6ff(0x3fa))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1a2),a2_0x59f6ff(0x276))['option'](a2_0x59f6ff(0x3b0),a2_0x59f6ff(0x3b9))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x37a),'Document\x20body\x20text')[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x16a),a2_0x59f6ff(0x449))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x496),a2_0x59f6ff(0x27e))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x1aa),a2_0x59f6ff(0x255))['action'](workNewAction),workCmd['command'](a2_0x59f6ff(0x419))['description'](a2_0x59f6ff(0x2a5))[a2_0x59f6ff(0x226)](workMoveAction),workCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x32b))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x415))[a2_0x59f6ff(0x171)]('--days\x20<n>',a2_0x59f6ff(0x1cf))[a2_0x59f6ff(0x171)](a2_0x59f6ff(0x2cc),a2_0x59f6ff(0x40d))[a2_0x59f6ff(0x226)](workBoardAction),workCmd['command']('show\x20<name>')[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x3f6))[a2_0x59f6ff(0x226)](workShowAction),workCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x466))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x2b8))[a2_0x59f6ff(0x226)](workLinksAction),workCmd[a2_0x59f6ff(0x499)](a2_0x59f6ff(0x382))[a2_0x59f6ff(0x174)](a2_0x59f6ff(0x300))[a2_0x59f6ff(0x226)](workOpenAction),program['command']('_list-commands',{'hidden':!![]})['action'](()=>{const _0xe8435f=a2_0x59f6ff;function _0x2ec132(_0x404b99,_0x5b50eb){const _0x3bbaf7=a2_0x4649,_0x1c02f1=[];for(const _0x25b81e of _0x404b99[_0x3bbaf7(0x471)]){if(_0x25b81e[_0x3bbaf7(0x33c)])continue;const _0x1673cf=_0x5b50eb?_0x5b50eb+'\x20'+_0x25b81e['name']():_0x25b81e[_0x3bbaf7(0x2fa)](),_0x236068=_0x1673cf[_0x3bbaf7(0x179)]('\x20')[0x0],_0x4a45b3=COMMAND_CATEGORIES[_0x3bbaf7(0x3c9)](_0x245710=>_0x245710['commands']['includes'](_0x236068)),_0x8a0e62=_0x4a45b3?.[_0x3bbaf7(0x2fa)]??'';if(_0x25b81e[_0x3bbaf7(0x471)][_0x3bbaf7(0x446)]>0x0)_0x1c02f1[_0x3bbaf7(0x16c)](..._0x2ec132(_0x25b81e,_0x1673cf));else{const _0x56c571=(_0x25b81e[_0x3bbaf7(0x1c9)]||[])[_0x3bbaf7(0x2ee)](_0x3795ce=>{const _0x3eb7fd=_0x3bbaf7,_0x4cc484=_0x3795ce[_0x3eb7fd(0x4d6)]?_0x3795ce[_0x3eb7fd(0x2fa)]()+_0x3eb7fd(0x4ca):_0x3795ce[_0x3eb7fd(0x2fa)]();return _0x3795ce[_0x3eb7fd(0x1ce)]?'<'+_0x4cc484+'>':'['+_0x4cc484+']';})[_0x3bbaf7(0x19b)]('\x20'),_0x5626dc=_0x25b81e[_0x3bbaf7(0x169)][_0x3bbaf7(0x4d2)](_0x2a53bb=>!_0x2a53bb[_0x3bbaf7(0x178)]&&_0x2a53bb[_0x3bbaf7(0x291)]!=='--help')[_0x3bbaf7(0x2ee)](_0x3621e5=>({'flags':_0x3621e5[_0x3bbaf7(0x4d4)],'description':_0x3621e5[_0x3bbaf7(0x174)]}));_0x1c02f1[_0x3bbaf7(0x16c)]({'name':_0x1673cf,'description':_0x25b81e[_0x3bbaf7(0x174)](),'group':_0x8a0e62,'usage':_0x56c571,'options':_0x5626dc});}}return _0x1c02f1;}console['log'](JSON[_0xe8435f(0x43b)](_0x2ec132(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x4713fa=a2_0x59f6ff,_0x2e0006=!process['argv'][_0x4713fa(0x381)](0x2)[_0x4713fa(0x446)];showBriefHelp=_0x2e0006,program[_0x4713fa(0x34d)](process['argv']);_0x2e0006&&program[_0x4713fa(0x225)]();const _0xf90189=process[_0x4713fa(0x2af)][0x2]===_0x4713fa(0x25f);if(process[_0x4713fa(0x1d1)]['isTTY']&&process['argv'][_0x4713fa(0x446)]>0x2&&!isDevVersion()&&!_0xf90189){const _0x113729=loadReleaseChannel();checkForUpdate(currentVersion,_0x113729)[_0x4713fa(0x4b7)](_0xe3347f=>{_0xe3347f&&displayUpdateNotification(_0xe3347f);})[_0x4713fa(0x3d6)](()=>{});}}
|