@treasuredata/tdx 2026.3.52 → 2026.3.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +1 -1
- package/dist/build-info.json +3 -3
- package/dist/cli-categories.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/commands/activations.js +1 -1
- package/dist/commands/agent-command.js +1 -1
- package/dist/commands/agent-test-command.js +1 -1
- package/dist/commands/api-command.js +1 -1
- package/dist/commands/auth-command.js +1 -1
- package/dist/commands/cas-command.js +1 -1
- package/dist/commands/cas-segment-command.js +1 -1
- package/dist/commands/chat-command.js +1 -1
- package/dist/commands/claude-command.js +1 -1
- package/dist/commands/claude-statusline-command.js +1 -1
- package/dist/commands/claude-usage-command.js +1 -1
- package/dist/commands/command.js +1 -1
- package/dist/commands/connection-command.js +1 -1
- package/dist/commands/databases.js +1 -1
- package/dist/commands/delivery-command.js +1 -1
- package/dist/commands/describe.js +1 -1
- package/dist/commands/engage-campaign-pull-command.js +1 -1
- package/dist/commands/engage-campaign-push-command.js +1 -1
- package/dist/commands/engage-campaign-validate-command.js +1 -1
- package/dist/commands/engage-command.js +1 -1
- package/dist/commands/engage-template-pull-command.js +1 -1
- package/dist/commands/engage-template-push-command.js +1 -1
- package/dist/commands/engage-template-validate-command.js +1 -1
- package/dist/commands/job-command.js +1 -1
- package/dist/commands/journey-command.js +1 -1
- package/dist/commands/journey-validate-command.js +1 -1
- package/dist/commands/llm-command.js +1 -1
- package/dist/commands/mcp-command.js +1 -1
- package/dist/commands/parent-segment-command.js +1 -1
- package/dist/commands/policy-command.js +1 -1
- package/dist/commands/profile-command.js +1 -1
- package/dist/commands/profiles-command.js +1 -1
- package/dist/commands/query-command.js +1 -1
- package/dist/commands/schedule-command.js +1 -1
- package/dist/commands/segment-command.js +1 -1
- package/dist/commands/segment-create-command.js +1 -1
- package/dist/commands/segment-fields-command.js +1 -1
- package/dist/commands/segment-pull-command.js +1 -1
- package/dist/commands/segment-push-command.js +1 -1
- package/dist/commands/segment-update-command.js +1 -1
- package/dist/commands/segment-use-command.js +1 -1
- package/dist/commands/segment-validate-command.js +1 -1
- package/dist/commands/segments.js +1 -1
- package/dist/commands/show.js +1 -1
- package/dist/commands/status-command.js +1 -1
- package/dist/commands/tables.js +1 -1
- package/dist/commands/unset-command.js +1 -1
- package/dist/commands/upgrade-command.js +1 -1
- package/dist/commands/use-command.js +1 -1
- package/dist/commands/user-command.js +1 -1
- package/dist/commands/work-command.js +1 -1
- package/dist/commands/workflow-command.js +1 -1
- package/dist/core/auth.js +1 -1
- package/dist/core/command-output.js +1 -1
- package/dist/core/config.js +1 -1
- package/dist/core/connection-cache.js +1 -1
- package/dist/core/constants.js +1 -1
- package/dist/core/credential-cache.js +1 -1
- package/dist/core/global-context.js +1 -1
- package/dist/core/keychain.js +1 -1
- package/dist/core/oauth-keychain.js +1 -1
- package/dist/core/oauth.js +1 -1
- package/dist/core/profile.js +1 -1
- package/dist/core/project-config.js +1 -1
- package/dist/core/session.js +1 -1
- package/dist/core/user-cache.js +1 -1
- package/dist/core/version.js +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/tools/index.d.ts +2 -0
- package/dist/mcp/tools/index.d.ts.map +1 -1
- package/dist/mcp/tools/index.js +1 -1
- package/dist/mcp/tools/index.js.map +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.d.ts +50 -0
- package/dist/mcp/tools/work-create-item.d.ts.map +1 -0
- package/dist/mcp/tools/work-create-item.js +1 -0
- package/dist/mcp/tools/work-create-item.js.map +1 -0
- package/dist/mcp/utils.js +1 -1
- package/dist/proxy/claude-usage-tracker.js +1 -1
- package/dist/proxy/passthrough-server.js +1 -1
- package/dist/proxy/sse-usage-parser.js +1 -1
- package/dist/sdk/agent/agent-config.js +1 -1
- package/dist/sdk/agent/agent-ref-parser.js +1 -1
- package/dist/sdk/agent/agent-yaml.js +1 -1
- package/dist/sdk/agent/test/evaluator.js +1 -1
- package/dist/sdk/agent/test/executor.js +1 -1
- package/dist/sdk/agent/test/index.js +1 -1
- package/dist/sdk/agent/test/output.js +1 -1
- package/dist/sdk/agent/test/parser.js +1 -1
- package/dist/sdk/agent/tool-target-registry.js +1 -1
- package/dist/sdk/api.js +1 -1
- package/dist/sdk/cas/cas-api-client.js +1 -1
- package/dist/sdk/cas/cas-audience-yaml.js +1 -1
- package/dist/sdk/cas/cas-segment-yaml.js +1 -1
- package/dist/sdk/cas/index.js +1 -1
- package/dist/sdk/cas/pull-workflow.js +1 -1
- package/dist/sdk/cas/push-workflow.js +1 -1
- package/dist/sdk/client/cdp-api-client.js +1 -1
- package/dist/sdk/client/delivery-api-client.js +1 -1
- package/dist/sdk/client/endpoints.js +1 -1
- package/dist/sdk/client/engage-api-client.js +1 -1
- package/dist/sdk/client/http-client.js +1 -1
- package/dist/sdk/client/llm-api-client.js +1 -1
- package/dist/sdk/client/oauth-refresh.js +1 -1
- package/dist/sdk/client/rate-limiter.js +1 -1
- package/dist/sdk/client/td-api-client.js +1 -1
- package/dist/sdk/client/trino-api-client.js +1 -1
- package/dist/sdk/client/workflow-client.js +1 -1
- package/dist/sdk/connection-validator.js +1 -1
- package/dist/sdk/connection.js +1 -1
- package/dist/sdk/delivery.js +1 -1
- package/dist/sdk/engage/campaign-pull.js +1 -1
- package/dist/sdk/engage/campaign-push.js +1 -1
- package/dist/sdk/engage/campaign-validator.js +1 -1
- package/dist/sdk/engage/campaign-yaml.js +1 -1
- package/dist/sdk/engage/template-pull.js +1 -1
- package/dist/sdk/engage/template-push.js +1 -1
- package/dist/sdk/engage/template-validator.js +1 -1
- package/dist/sdk/engage/template-yaml.js +1 -1
- package/dist/sdk/engage/types/campaign-def.js +1 -1
- package/dist/sdk/engage/types/campaign-schema.js +1 -1
- package/dist/sdk/engage/types/template-schema.js +1 -1
- package/dist/sdk/engage.js +1 -1
- package/dist/sdk/errors.js +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/io/index.js +1 -1
- package/dist/sdk/io/node-filesystem.js +1 -1
- package/dist/sdk/job.js +1 -1
- package/dist/sdk/journey.js +1 -1
- package/dist/sdk/llm/chat-cache.js +1 -1
- package/dist/sdk/llm/index.js +1 -1
- package/dist/sdk/llm/llm-backup-utils.js +1 -1
- package/dist/sdk/llm/model-factors.js +1 -1
- package/dist/sdk/personalization.js +1 -1
- package/dist/sdk/policy.js +1 -1
- package/dist/sdk/query/index.js +1 -1
- package/dist/sdk/query/sql-parser.js +1 -1
- package/dist/sdk/realtime.js +1 -1
- package/dist/sdk/schedule.js +1 -1
- package/dist/sdk/segment/child-segment-yaml.js +1 -1
- package/dist/sdk/segment/fields-display.js +1 -1
- package/dist/sdk/segment/file-discovery.js +1 -1
- package/dist/sdk/segment/journey-utils.js +1 -1
- package/dist/sdk/segment/journey-validator.js +1 -1
- package/dist/sdk/segment/journey-yaml.js +1 -1
- package/dist/sdk/segment/parent-segment-preview.js +1 -1
- package/dist/sdk/segment/parent-segment-yaml.js +1 -1
- package/dist/sdk/segment/pull-workflow.js +1 -1
- package/dist/sdk/segment/push-recovery.js +1 -1
- package/dist/sdk/segment/push-workflow.js +1 -1
- package/dist/sdk/segment/resolution-context.js +1 -1
- package/dist/sdk/segment/segment-path-parser.js +1 -1
- package/dist/sdk/segment/segment-ref-parser.js +1 -1
- package/dist/sdk/segment/segment-validator.js +1 -1
- package/dist/sdk/segment/target-resolution.js +1 -1
- package/dist/sdk/segment/tdx-config.js +1 -1
- package/dist/sdk/segment/types/activation-schema.js +1 -1
- package/dist/sdk/segment/types/journey-def.js +1 -1
- package/dist/sdk/segment/types/journey-schema.js +1 -1
- package/dist/sdk/segment/types/segment-def.js +1 -1
- package/dist/sdk/segment/types/segment-schema.js +1 -1
- package/dist/sdk/segment/validate-files.js +1 -1
- package/dist/sdk/segment/yaml-validator.js +1 -1
- package/dist/sdk/segment.js +1 -1
- package/dist/sdk/types/index.js +1 -1
- package/dist/sdk/types/progress.js +1 -1
- package/dist/sdk/types/workspace.d.ts +15 -0
- package/dist/sdk/types/workspace.d.ts.map +1 -1
- package/dist/sdk/types/workspace.js +1 -1
- package/dist/sdk/user.js +1 -1
- package/dist/sdk/util/format-detector.js +1 -1
- package/dist/sdk/util/formatters.js +1 -1
- package/dist/sdk/util/index.js +1 -1
- package/dist/sdk/util/paginate.js +1 -1
- package/dist/sdk/util/tree-formatter.js +1 -1
- package/dist/sdk/workflow/archive-validation.js +1 -1
- package/dist/sdk/workflow/clone-workflow.js +1 -1
- package/dist/sdk/workflow/index.js +1 -1
- package/dist/sdk/workflow/pull-workflow.js +1 -1
- package/dist/sdk/workflow/push-workflow.js +1 -1
- package/dist/sdk/workflow/tdx-config.js +1 -1
- package/dist/sdk/workflow/workflow-utils.js +1 -1
- package/dist/sdk/workspace/frontmatter.js +1 -1
- package/dist/sdk/workspace/git.js +1 -1
- package/dist/sdk/workspace/index.d.ts +14 -2
- package/dist/sdk/workspace/index.d.ts.map +1 -1
- package/dist/sdk/workspace/index.js +1 -1
- package/dist/sdk/workspace/index.js.map +1 -1
- package/dist/sdk/workspace/templates.js +1 -1
- package/dist/sdk/workspace/weekly.js +1 -1
- package/dist/sdk/workspace/wikilinks.js +1 -1
- package/dist/test-utils/command-runner.js +1 -1
- package/dist/test-utils/factories.js +1 -1
- package/dist/test-utils/fixtures.js +1 -1
- package/dist/test-utils/http-mock.js +1 -1
- package/dist/test-utils/index.js +1 -1
- package/dist/utils/async.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/diff.js +1 -1
- package/dist/utils/file-permissions.js +1 -1
- package/dist/utils/file-reader.js +1 -1
- package/dist/utils/github-releases.js +1 -1
- package/dist/utils/global-cache.js +1 -1
- package/dist/utils/json-loader.js +1 -1
- package/dist/utils/local-cache.js +1 -1
- package/dist/utils/logger/formatters/default-formatter.js +1 -1
- package/dist/utils/logger/formatters/index.js +1 -1
- package/dist/utils/logger/handlers/console-handler.js +1 -1
- package/dist/utils/logger/handlers/file-handler.js +1 -1
- package/dist/utils/logger/handlers/index.js +1 -1
- package/dist/utils/logger/handlers/null-handler.js +1 -1
- package/dist/utils/logger/index.js +1 -1
- package/dist/utils/logger/logger.js +1 -1
- package/dist/utils/logger/types.js +1 -1
- package/dist/utils/option-validation.js +1 -1
- package/dist/utils/process.js +1 -1
- package/dist/utils/prompt.js +1 -1
- package/dist/utils/spinner.js +1 -1
- package/dist/utils/sse-parser.js +1 -1
- package/dist/utils/string-utils.js +1 -1
- package/dist/utils/table-ref-parser.js +1 -1
- package/dist/utils/tdx-logger.js +1 -1
- package/dist/utils/version-check.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a2_0x258ec9=a2_0x1421;(function(_0x233318,_0x27932c){const _0x2dc857=a2_0x1421,_0x28d9b4=_0x233318();while(!![]){try{const _0x4873f4=-parseInt(_0x2dc857(0x363))/0x1+-parseInt(_0x2dc857(0x302))/0x2*(-parseInt(_0x2dc857(0x1f0))/0x3)+-parseInt(_0x2dc857(0x2ae))/0x4+parseInt(_0x2dc857(0x2c1))/0x5*(parseInt(_0x2dc857(0x1ff))/0x6)+parseInt(_0x2dc857(0x1c4))/0x7*(parseInt(_0x2dc857(0x40b))/0x8)+-parseInt(_0x2dc857(0x13b))/0x9+parseInt(_0x2dc857(0x106))/0xa*(-parseInt(_0x2dc857(0x2b9))/0xb);if(_0x4873f4===_0x27932c)break;else _0x28d9b4['push'](_0x28d9b4['shift']());}catch(_0x1af95a){_0x28d9b4['push'](_0x28d9b4['shift']());}}}(a2_0x3b2d,0x748a0));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSRtJnListCommand,PSRtJnPauseCommand,PSRtJnResumeCommand,PSRtConfigVersionCommand,PSPzServiceListCommand,PSPzServiceCreateCommand,PSPzServiceShowCommand,PSPzServiceDeleteCommand,PSPzServiceUpdateCommand,PSPzServiceTokenCreateCommand,PSPzServiceTokenDeleteCommand,PSPzListCommand,PSPzShowCommand,PSPzDeleteCommand,PSPzCreateCommand,PSPzPatchCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';function a2_0x1421(_0x4eede2,_0x2306ad){_0x4eede2=_0x4eede2-0xfd;const _0x3b2d10=a2_0x3b2d();let _0x142158=_0x3b2d10[_0x4eede2];return _0x142158;}import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileDeleteCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{CASListCommand,CASDescCommand,CASPullCommand,CASPushCommand,CASPreviewCommand}from'./commands/cas-command.js';import{CASSegmentListCommand}from'./commands/cas-segment-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{workSummaryAction,workInitAction,workNewAction,workMoveAction,workBoardAction,workShowAction,workLinksAction,workOpenAction}from'./commands/work-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x258ec9(0x140)][a2_0x258ec9(0x3b8)](a2_0x258ec9(0x108))){let versionOutput=a2_0x258ec9(0x2b8)+currentVersion;buildInfo[a2_0x258ec9(0x2c4)]&&!currentVersion[a2_0x258ec9(0x3b8)](buildInfo[a2_0x258ec9(0x2c4)])&&(versionOutput+='\x20('+buildInfo[a2_0x258ec9(0x2c4)]+')'),buildInfo['buildTime']&&(versionOutput+='\x20-\x20built\x20'+buildInfo[a2_0x258ec9(0x161)]),console[a2_0x258ec9(0x336)](versionOutput),process['exit'](0x0);}const program=new Command();export function mergeCommandOptions(_0x4dafef,_0x48b892){const _0x2bd1f5={..._0x4dafef};for(const [_0x202a3d,_0x368b48]of Object['entries'](_0x48b892)){_0x368b48!==undefined&&(_0x2bd1f5[_0x202a3d]=_0x368b48);}return _0x2bd1f5;}let showBriefHelp=![],description=a2_0x258ec9(0x413);buildInfo[a2_0x258ec9(0x2c4)]&&!currentVersion[a2_0x258ec9(0x3b8)](buildInfo[a2_0x258ec9(0x2c4)])?description+=',\x20version\x20'+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=a2_0x258ec9(0x2f5)+currentVersion;program[a2_0x258ec9(0x318)]('tdx')['description'](description),program[a2_0x258ec9(0x251)](a2_0x258ec9(0x10e),a2_0x258ec9(0x406))[a2_0x258ec9(0x251)]('-p,\x20--profile\x20<name>','Profile\x20to\x20use\x20(overrides\x20active\x20profile)')[a2_0x258ec9(0x251)](a2_0x258ec9(0x1a6),a2_0x258ec9(0x1fc),a2_0x258ec9(0x38d))[a2_0x258ec9(0x251)](a2_0x258ec9(0x37a),'Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)')[a2_0x258ec9(0x251)](a2_0x258ec9(0x3f3),a2_0x258ec9(0x395))[a2_0x258ec9(0x251)](a2_0x258ec9(0x313),a2_0x258ec9(0x180))[a2_0x258ec9(0x251)](a2_0x258ec9(0x228),a2_0x258ec9(0x116))[a2_0x258ec9(0x251)]('--tsv',a2_0x258ec9(0x169))[a2_0x258ec9(0x251)](a2_0x258ec9(0x23e),a2_0x258ec9(0x345))[a2_0x258ec9(0x251)](a2_0x258ec9(0x309),a2_0x258ec9(0x3e6))[a2_0x258ec9(0x251)](a2_0x258ec9(0x20d),'Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])['option'](a2_0x258ec9(0x3f4),a2_0x258ec9(0x279),![])['option']('-v,\x20--verbose','Enable\x20verbose\x20logging',![])[a2_0x258ec9(0x251)](a2_0x258ec9(0x387),a2_0x258ec9(0x3c1))[a2_0x258ec9(0x251)](a2_0x258ec9(0x3de),a2_0x258ec9(0x331))['option'](a2_0x258ec9(0x417),'Set\x20operation\x20timeout\x20in\x20seconds','30')[a2_0x258ec9(0x251)](a2_0x258ec9(0x1fa),a2_0x258ec9(0x359),![])['option'](a2_0x258ec9(0x1d5),a2_0x258ec9(0x429),![])[a2_0x258ec9(0x251)](a2_0x258ec9(0x3e0),a2_0x258ec9(0x34d))[a2_0x258ec9(0x251)](a2_0x258ec9(0x22c),'Parent\x20segment\x20to\x20use\x20(overrides\x20context)')[a2_0x258ec9(0x251)](a2_0x258ec9(0x14c),a2_0x258ec9(0x136)),program[a2_0x258ec9(0x105)]({'formatHelp':(_0xaf2609,_0x434d58)=>{const _0x154dd5=a2_0x258ec9,_0x3728f8=_0x434d58[_0x154dd5(0x18e)](_0xaf2609,_0x434d58),_0x33ade4=0x2,_0x1c71f2=0x2;function _0x2d0bdf(_0x47d01f){const _0x2c663b=_0x154dd5,_0x59c42f=_0x47d01f;return!!(_0x59c42f[_0x2c663b(0x409)]||_0x59c42f[_0x2c663b(0x22d)]);}function _0x531ead(_0x41b0e6,_0x42d74d){if(_0x42d74d){const _0x37108e=''+_0x41b0e6['padEnd'](_0x3728f8+_0x1c71f2)+_0x42d74d;return _0x37108e;}return _0x41b0e6;}function _0x179388(_0x482526){const _0x599b85=_0x154dd5;return _0x482526[_0x599b85(0x10a)]('\x0a')[_0x599b85(0x3e4)](/^/gm,'\x20'[_0x599b85(0x17a)](_0x33ade4));}const _0x4374b3=[];_0x4374b3[_0x154dd5(0x1db)]('Usage:\x20'+_0x434d58[_0x154dd5(0x25a)](_0xaf2609));const _0xa1f896=_0x434d58[_0x154dd5(0x26d)](_0xaf2609);_0xa1f896&&(_0x4374b3[_0x154dd5(0x1db)](''),_0x4374b3[_0x154dd5(0x1db)](_0xa1f896));const _0x39e455=_0xaf2609[_0x154dd5(0x1aa)][_0x154dd5(0x24e)](_0x1cf239=>!_0x2d0bdf(_0x1cf239));if(_0x39e455[_0x154dd5(0x39c)]>0x0){if(_0xaf2609['name']()===_0x154dd5(0x29b)){const _0x39955f=_0xaf2609[_0x154dd5(0x329)](),_0x512c89=!_0x39955f[_0x154dd5(0x3a6)]&&process[_0x154dd5(0x34b)]['isTTY'],_0x39f080=COMMAND_CATEGORIES,_0x42c9d4=(_0x183204,_0x4c2aee)=>_0x512c89?_0x4c2aee(_0x183204):_0x183204,_0x55c25f=new Map();_0x39e455['forEach'](_0xf55039=>{const _0x556091=_0x154dd5;_0x55c25f[_0x556091(0x165)](_0xf55039['name'](),_0xf55039);}),_0x39f080[_0x154dd5(0x293)](_0x3e7f3a=>{const _0x27cbdc=_0x154dd5,_0x1c00d7=_0x3e7f3a[_0x27cbdc(0x1aa)][_0x27cbdc(0x2da)](_0x54c157=>_0x55c25f['get'](_0x54c157)??[]);if(_0x1c00d7[_0x27cbdc(0x39c)]>0x0){_0x4374b3[_0x27cbdc(0x1db)](''),_0x4374b3[_0x27cbdc(0x1db)](_0x42c9d4(_0x3e7f3a[_0x27cbdc(0x318)]+':',_0x3e7f3a[_0x27cbdc(0x332)]));const _0x31996a=_0x1c00d7[_0x27cbdc(0x33d)](_0x2c6a42=>{const _0x548fc7=_0x27cbdc,_0xf6564c=_0x434d58[_0x548fc7(0x1e2)](_0x2c6a42),_0x3e881b=_0x434d58['subcommandDescription'](_0x2c6a42);return _0x531ead(_0xf6564c,_0x3e881b);});_0x4374b3[_0x27cbdc(0x1db)](_0x179388(_0x31996a));}}),_0x4374b3[_0x154dd5(0x1db)](''),_0x4374b3[_0x154dd5(0x1db)]('Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22');}else{const _0x408244=_0x39e455[_0x154dd5(0x33d)](_0x2a24fe=>{const _0x598246=_0x154dd5,_0x231829=_0x434d58[_0x598246(0x1e2)](_0x2a24fe),_0x487e35=_0x434d58[_0x598246(0x261)](_0x2a24fe);return _0x531ead(_0x231829,_0x487e35);});_0x4374b3[_0x154dd5(0x1db)](''),_0x4374b3[_0x154dd5(0x1db)]('Commands:'),_0x4374b3[_0x154dd5(0x1db)](_0x179388(_0x408244));}}if(showBriefHelp&&_0xaf2609[_0x154dd5(0x318)]()===_0x154dd5(0x29b))_0x4374b3[_0x154dd5(0x1db)](''),_0x4374b3[_0x154dd5(0x1db)](_0x154dd5(0x246));else{const _0x3dff96=_0xaf2609[_0x154dd5(0x3b9)][_0x154dd5(0x24e)](_0x51c4be=>!_0x2d0bdf(_0x51c4be));if(_0x3dff96['length']>0x0){const _0xfcac26=_0x3dff96[_0x154dd5(0x33d)](_0x4c6f65=>{const _0x17ccdd=_0x154dd5,_0x27a37d=_0x434d58[_0x17ccdd(0x366)](_0x4c6f65),_0x555389=_0x434d58[_0x17ccdd(0x273)](_0x4c6f65);return _0x531ead(_0x27a37d,_0x555389);});_0x4374b3['push'](''),_0x4374b3[_0x154dd5(0x1db)](_0x154dd5(0x3f5)),_0x4374b3['push'](_0x179388(_0xfcac26));}}const _0x24cba3=(_0xaf2609['registeredArguments']||[])[_0x154dd5(0x24e)](_0x32fad3=>!_0x2d0bdf(_0x32fad3));if(_0x24cba3[_0x154dd5(0x39c)]>0x0){const _0x3a7bf3=_0x24cba3['map'](_0x57b504=>{const _0x2dc3ad=_0x154dd5,_0x5a98d5=_0x434d58[_0x2dc3ad(0x2ac)](_0x57b504),_0x296083=_0x434d58[_0x2dc3ad(0x328)](_0x57b504);return _0x531ead(_0x5a98d5,_0x296083);});_0x4374b3[_0x154dd5(0x1db)](''),_0x4374b3['push']('Arguments:'),_0x4374b3[_0x154dd5(0x1db)](_0x179388(_0x3a7bf3));}return _0x4374b3[_0x154dd5(0x10a)]('\x0a')+'\x0a';},'subcommandTerm':_0x1c34cd=>{const _0x73cc2f=a2_0x258ec9,_0x311d54=(_0x1c34cd['registeredArguments']||[])['map'](_0x20ed08=>_0x20ed08['required']?'<'+_0x20ed08[_0x73cc2f(0x318)]()+'>':'['+_0x20ed08[_0x73cc2f(0x318)]()+']')[_0x73cc2f(0x10a)]('\x20'),_0x1c790f=_0x1c34cd[_0x73cc2f(0x334)](),_0x2cbf43=_0x1c790f[_0x73cc2f(0x39c)]>0x0?_0x1c34cd[_0x73cc2f(0x318)]()+',\x20'+_0x1c790f[_0x73cc2f(0x10a)](',\x20'):_0x1c34cd[_0x73cc2f(0x318)]();return _0x311d54?_0x2cbf43+'\x20'+_0x311d54:_0x2cbf43;}}),program[a2_0x258ec9(0x187)]('preAction',_0x47bb61=>{const _0x27bc8d=a2_0x258ec9,_0x23f8c4=_0x47bb61[_0x27bc8d(0x329)]();if(_0x23f8c4[_0x27bc8d(0x16f)]){const _0x20ac45=resolve(_0x23f8c4['directory']),_0x36d7c1=_0x20ac45!==_0x23f8c4['directory']?_0x27bc8d(0x307)+_0x20ac45+')':'';if(!existsSync(_0x20ac45))throw new SDKError(ErrorCode[_0x27bc8d(0x213)],_0x27bc8d(0x375)+_0x23f8c4[_0x27bc8d(0x16f)]+_0x36d7c1,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x1e5b70=statSync(_0x20ac45);if(!_0x1e5b70[_0x27bc8d(0x1cb)]())throw new SDKError(ErrorCode[_0x27bc8d(0x213)],_0x27bc8d(0x2b6)+_0x23f8c4[_0x27bc8d(0x16f)]+_0x36d7c1,undefined,{'helpText':_0x27bc8d(0x11e)});process[_0x27bc8d(0x271)](_0x20ac45);}if(!_0x23f8c4[_0x27bc8d(0x301)]){if(_0x23f8c4[_0x27bc8d(0x148)])_0x23f8c4['format']=_0x27bc8d(0x148);else{if(_0x23f8c4[_0x27bc8d(0x244)])_0x23f8c4[_0x27bc8d(0x301)]=_0x27bc8d(0x244);else{if(_0x23f8c4['jsonl'])_0x23f8c4[_0x27bc8d(0x301)]=_0x27bc8d(0x2fb);else _0x23f8c4[_0x27bc8d(0x29f)]&&(_0x23f8c4[_0x27bc8d(0x301)]='tsv');}}}if(_0x23f8c4[_0x27bc8d(0x394)])_0x23f8c4[_0x27bc8d(0x35e)]=LogLevel[_0x27bc8d(0x21b)];else{if(_0x23f8c4[_0x27bc8d(0x243)])_0x23f8c4[_0x27bc8d(0x35e)]=LogLevel['DEBUG'];else _0x23f8c4[_0x27bc8d(0x35e)]===undefined&&(_0x23f8c4['logLevel']=LogLevel['INFO']);}});async function createTDXInstance(_0x243795){const _0x385dff=a2_0x258ec9,_0x3394f0=await GlobalContext[_0x385dff(0x418)](_0x243795);_0x3394f0[_0x385dff(0x3d3)](_0x243795);const _0x28bb85=Number(_0x243795[_0x385dff(0x2e7)]),_0x772bc8=!isNaN(_0x28bb85)&&_0x28bb85>0x0?_0x28bb85*0x3e8:undefined;return TDX[_0x385dff(0x37e)]({'site':_0x3394f0[_0x385dff(0x3b6)],'apiKey':_0x3394f0[_0x385dff(0x135)],'accessToken':_0x3394f0[_0x385dff(0x205)],'logLevel':_0x3394f0['logLevel'],'profile':_0x3394f0['profile'],'timeout':_0x772bc8});}const databaseCmd=program['command']('database')[a2_0x258ec9(0x33e)]('db')[a2_0x258ec9(0x3cb)]('Database\x20management\x20commands'),databaseListAction=async(_0x204acd,_0x42353e)=>{const _0x298600=a2_0x258ec9,_0x20fb8d=new DatabasesCommand(),_0x2bdf3c=program[_0x298600(0x329)](),_0x2805db=await createTDXInstance(_0x2bdf3c),_0x4b2f9a=await _0x20fb8d['run']({'options':{..._0x2bdf3c,..._0x42353e},'args':_0x204acd?[_0x204acd]:[],'tdx':_0x2805db});gracefulExit(_0x4b2f9a);};databaseCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x385))['description'](a2_0x258ec9(0x403))[a2_0x258ec9(0x2cd)](databaseListAction),program['command'](a2_0x258ec9(0x310),{'hidden':!![]})['description'](a2_0x258ec9(0x1a9))[a2_0x258ec9(0x2cd)](databaseListAction),program[a2_0x258ec9(0x1fb)]('chat\x20[message...]')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x3c0))[a2_0x258ec9(0x251)](a2_0x258ec9(0x22e),a2_0x258ec9(0x1d7))[a2_0x258ec9(0x251)](a2_0x258ec9(0x134),a2_0x258ec9(0x15f))['option'](a2_0x258ec9(0x280),a2_0x258ec9(0x223))['option']('--stream','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)')[a2_0x258ec9(0x2cd)](async(_0x4443fc,_0x467cc8)=>{const _0xacc671=a2_0x258ec9,_0xd2c526=program['opts'](),_0x150881=await createTDXInstance(_0xd2c526);if(_0x4443fc[0x0]===_0xacc671(0x37e)){const _0xb3bef6=new ChatCreateCommand();gracefulExit(await _0xb3bef6[_0xacc671(0x33b)]({'options':{..._0xd2c526,..._0x467cc8},'args':_0x4443fc[_0xacc671(0x1ac)](0x1),'tdx':_0x150881}));return;}const _0x3e418f=new ChatCommand(),_0x4d250d=await _0x3e418f[_0xacc671(0x33b)]({'options':{..._0xd2c526,..._0x467cc8},'args':_0x4443fc,'tdx':_0x150881});gracefulExit(_0x4d250d);});const apiCmd=program[a2_0x258ec9(0x1fb)]('api\x20[endpoint]')['summary'](a2_0x258ec9(0x40a))[a2_0x258ec9(0x34c)]('after',a2_0x258ec9(0x386))[a2_0x258ec9(0x251)]('-X,\x20--method\x20<method>','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a2_0x258ec9(0x2ed))[a2_0x258ec9(0x251)](a2_0x258ec9(0x282),a2_0x258ec9(0x245))[a2_0x258ec9(0x251)]('-f,\x20--file\x20<path>',a2_0x258ec9(0x26f))['option']('-H,\x20--header\x20<header>',a2_0x258ec9(0x2eb),(_0x34d65b,_0x55aded)=>{return _0x55aded?[..._0x55aded,_0x34d65b]:[_0x34d65b];})[a2_0x258ec9(0x251)]('--type\x20<api_type>',a2_0x258ec9(0x1d0),'td')[a2_0x258ec9(0x2cd)](async(_0x755d2b,_0x591232)=>{const _0x19570e=a2_0x258ec9;if(!_0x755d2b){apiCmd[_0x19570e(0x207)]();return;}const _0x5256ca=new ApiCommand(),_0x426380=program['opts'](),_0x495ffe=await createTDXInstance(_0x426380),_0xc83026=await _0x5256ca[_0x19570e(0x33b)]({'options':{..._0x426380,..._0x591232},'args':[_0x755d2b],'tdx':_0x495ffe});gracefulExit(_0xc83026);});program[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x3d4))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x2b2))[a2_0x258ec9(0x34c)](a2_0x258ec9(0x1a7),a2_0x258ec9(0x17e))[a2_0x258ec9(0x2cd)](async _0x1a299e=>{const _0x2e39c0=a2_0x258ec9,_0xfecabc=new MCPCommand(),_0x40be5c=program[_0x2e39c0(0x329)](),_0x5d702c=await createTDXInstance(_0x40be5c),_0x3c84d7=await _0xfecabc[_0x2e39c0(0x33b)]({'options':{..._0x40be5c,..._0x1a299e},'args':[],'tdx':_0x5d702c});gracefulExit(_0x3c84d7);});const tableCmd=program[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x148))[a2_0x258ec9(0x3cb)]('Table\x20management\x20commands'),tableListAction=async(_0x431a23,_0x37905e)=>{const _0x255214=a2_0x258ec9,_0x4644ab=new TablesCommand(),_0xf7b8bc=program['opts'](),_0x53c128=await createTDXInstance(_0xf7b8bc);_0x37905e['in']&&(_0x37905e[_0x255214(0x370)]=_0x37905e['in']);const _0x506d67=await _0x4644ab[_0x255214(0x33b)]({'options':{..._0xf7b8bc,..._0x37905e},'args':_0x431a23?[_0x431a23]:[],'tdx':_0x53c128});gracefulExit(_0x506d67);};tableCmd['command']('list\x20[pattern]')['description'](a2_0x258ec9(0x31c))[a2_0x258ec9(0x251)](a2_0x258ec9(0x2f2),a2_0x258ec9(0x41c))[a2_0x258ec9(0x251)]('--in\x20<database>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x258ec9(0x2cd)](tableListAction),program[a2_0x258ec9(0x1fb)]('tables\x20[pattern]',{'hidden':!![]})['description'](a2_0x258ec9(0x124))[a2_0x258ec9(0x251)]('-d,\x20--database\x20<database>',a2_0x258ec9(0x41c))['option'](a2_0x258ec9(0x42d),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x258ec9(0x2cd)](tableListAction),program[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x35d))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x407))[a2_0x258ec9(0x251)](a2_0x258ec9(0x2f2),a2_0x258ec9(0x412))['option']('--in\x20<database>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](async(_0x57a55e,_0x48fff6)=>{const _0x42d331=a2_0x258ec9,_0xe4bd7c=new ShowCommand(),_0x93686=program['opts'](),_0x22e9e2=await createTDXInstance(_0x93686);_0x48fff6['in']&&(_0x48fff6[_0x42d331(0x370)]=_0x48fff6['in']);const _0x2050b2=await _0xe4bd7c[_0x42d331(0x33b)]({'options':{..._0x93686,..._0x48fff6},'args':_0x57a55e?[_0x57a55e]:[],'tdx':_0x22e9e2});gracefulExit(_0x2050b2);}),program[a2_0x258ec9(0x1fb)]('describe\x20[table]')[a2_0x258ec9(0x33e)]('desc')[a2_0x258ec9(0x3cb)]('Describe\x20table\x20schema')[a2_0x258ec9(0x251)](a2_0x258ec9(0x2f2),a2_0x258ec9(0x412))[a2_0x258ec9(0x251)](a2_0x258ec9(0x42d),a2_0x258ec9(0x2c8))[a2_0x258ec9(0x2cd)](async(_0x3c7d44,_0x45ae88)=>{const _0x463685=a2_0x258ec9,_0xa3dabc=new DescribeCommand(),_0x69d2df=program[_0x463685(0x329)](),_0x208194=await createTDXInstance(_0x69d2df);_0x45ae88['in']&&(_0x45ae88['database']=_0x45ae88['in']);const _0x257be5=await _0xa3dabc[_0x463685(0x33b)]({'options':{..._0x69d2df,..._0x45ae88},'args':_0x3c7d44?[_0x3c7d44]:[],'tdx':_0x208194});gracefulExit(_0x257be5);}),program[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x18d))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x104))[a2_0x258ec9(0x251)](a2_0x258ec9(0x2f2),a2_0x258ec9(0x231))[a2_0x258ec9(0x251)]('--in\x20<database>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x258ec9(0x251)](a2_0x258ec9(0x153),a2_0x258ec9(0x30d))['option'](a2_0x258ec9(0x38a),'Read\x20SQL\x20query\x20from\x20file')[a2_0x258ec9(0x251)]('--limit\x20<rows>',a2_0x258ec9(0x2a1))[a2_0x258ec9(0x2cd)](async(_0x42c573,_0x2d0ee3)=>{const _0x19210e=a2_0x258ec9,_0xf62ae6=new QueryCommand(),_0xb32155=program[_0x19210e(0x329)](),_0x1760f0=await createTDXInstance(_0xb32155);_0x2d0ee3['in']&&(_0x2d0ee3[_0x19210e(0x370)]=_0x2d0ee3['in']);const _0x53ab8d=await _0xf62ae6['run']({'options':mergeCommandOptions(_0xb32155,_0x2d0ee3),'args':_0x42c573?[_0x42c573]:[],'tdx':_0x1760f0});gracefulExit(_0x53ab8d);});const segmentCmd=program[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x2ad))[a2_0x258ec9(0x33e)]('sg')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x179)),segmentListAction=async(_0x5efe8b,_0x250298)=>{const _0x2b1873=a2_0x258ec9,_0x2a2062=new SegmentsCommand(),_0x20fe45=program[_0x2b1873(0x329)](),_0x56bff9=await createTDXInstance(_0x20fe45),_0x4e19e5=await _0x2a2062[_0x2b1873(0x33b)]({'options':{..._0x20fe45,..._0x250298},'args':_0x5efe8b?[_0x5efe8b]:[],'tdx':_0x56bff9});gracefulExit(_0x4e19e5);};segmentCmd['command'](a2_0x258ec9(0x420))[a2_0x258ec9(0x3cb)]('List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context')['option'](a2_0x258ec9(0x3d5),a2_0x258ec9(0x1b6))['option'](a2_0x258ec9(0x426),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')['action'](segmentListAction),program[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x257),{'hidden':!![]})[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x2b3))['option'](a2_0x258ec9(0x3d5),a2_0x258ec9(0x1b6))['option'](a2_0x258ec9(0x426),a2_0x258ec9(0x1d3),'10')['action'](segmentListAction),segmentCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x3bb),{'hidden':!![]})[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x3a7))[a2_0x258ec9(0x2cd)](async(_0x198ceb,_0x339e35)=>{const _0x510393=a2_0x258ec9,_0x2e0322=new SegmentUseCommand(),_0x100bec=program[_0x510393(0x329)](),_0x28c7c3=await createTDXInstance(_0x100bec),_0x53b66a=await _0x2e0322[_0x510393(0x33b)]({'options':{..._0x100bec,..._0x339e35},'args':[_0x198ceb],'tdx':_0x28c7c3});gracefulExit(_0x53b66a);});const segmentViewAction=async(_0xb902fa,_0x4b7912)=>{const _0x3ef1bf=a2_0x258ec9,_0x582f2c=new SegmentViewCommand(),_0x1585bf=program[_0x3ef1bf(0x329)](),_0x4fea53=await createTDXInstance(_0x1585bf),_0x2e04b7=await _0x582f2c[_0x3ef1bf(0x33b)]({'options':{..._0x1585bf,..._0x4b7912},'args':_0xb902fa?[_0xb902fa]:[],'tdx':_0x4fea53});gracefulExit(_0x2e04b7);};segmentCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x303))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x2ef))[a2_0x258ec9(0x251)](a2_0x258ec9(0x24c),a2_0x258ec9(0x3c9))[a2_0x258ec9(0x2cd)](segmentViewAction),segmentCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x137),{'hidden':!![]})[a2_0x258ec9(0x33e)](a2_0x258ec9(0x204))[a2_0x258ec9(0x251)](a2_0x258ec9(0x24c),'Open\x20segment\x20in\x20web\x20browser')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x330))[a2_0x258ec9(0x2cd)](segmentViewAction),segmentCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x3ce))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x237))[a2_0x258ec9(0x2cd)](async(_0x49ed59,_0x54dc92)=>{const _0x33d625=a2_0x258ec9,_0x47ff0a=new SegmentDescCommand(),_0x10ff9a=program['opts'](),_0x3d8cef=await createTDXInstance(_0x10ff9a),_0x1c699a=await _0x47ff0a[_0x33d625(0x33b)]({'options':{..._0x10ff9a,..._0x54dc92},'args':_0x49ed59?[_0x49ed59]:[],'tdx':_0x3d8cef});gracefulExit(_0x1c699a);}),segmentCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x141))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x206))[a2_0x258ec9(0x2cd)](async(_0x23efc5,_0x1a9074)=>{const _0x40d731=a2_0x258ec9,_0x5cfdd3=new SegmentShowCommand(),_0x21ae4f=program['opts'](),_0x2d9cff=await createTDXInstance(_0x21ae4f),_0x30de4c=await _0x5cfdd3[_0x40d731(0x33b)]({'options':{..._0x21ae4f,..._0x1a9074},'args':_0x23efc5?[_0x23efc5]:[],'tdx':_0x2d9cff});gracefulExit(_0x30de4c);}),segmentCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x31e),{'hidden':!![]})[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x1f7))[a2_0x258ec9(0x2cd)](async(_0x406b75,_0x5c0d20)=>{const _0x225dd7=a2_0x258ec9,_0x3fde9d=new SegmentFolderListCommand(),_0x5797b1=program['opts'](),_0x63d810=await createTDXInstance(_0x5797b1),_0x365d72=await _0x3fde9d[_0x225dd7(0x33b)]({'options':{..._0x5797b1,..._0x5c0d20},'args':[_0x406b75],'tdx':_0x63d810});gracefulExit(_0x365d72);});const folderCmd=segmentCmd[a2_0x258ec9(0x1fb)]('folder',{'hidden':!![]})[a2_0x258ec9(0x3cb)]('[DEPRECATED]\x20Segment\x20folder\x20management');folderCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x222))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x264))[a2_0x258ec9(0x2cd)](async(_0x4b8ab8,_0xde01cf)=>{const _0x4fe832=a2_0x258ec9,_0x2ac02c=new SegmentFolderShowCommand(),_0x2b637f=program[_0x4fe832(0x329)](),_0x283f13=await createTDXInstance(_0x2b637f),_0x16f4f0=await _0x2ac02c[_0x4fe832(0x33b)]({'options':{..._0x2b637f,..._0xde01cf},'args':[_0x4b8ab8],'tdx':_0x283f13});gracefulExit(_0x16f4f0);}),segmentCmd['command'](a2_0x258ec9(0x3a1))[a2_0x258ec9(0x3cb)]('Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)')[a2_0x258ec9(0x251)](a2_0x258ec9(0x3d6),a2_0x258ec9(0x247))[a2_0x258ec9(0x2cd)](async(_0x579fe9,_0x229972)=>{const _0xfe93c2=a2_0x258ec9,_0x1ea430=new SegmentSQLCommand(),_0x552a05=program[_0xfe93c2(0x329)](),_0x1558ce=await createTDXInstance(_0x552a05),_0x35ff66=await _0x1ea430[_0xfe93c2(0x33b)]({'options':{..._0x552a05,..._0x229972},'args':_0x579fe9?[_0x579fe9]:[],'tdx':_0x1558ce});gracefulExit(_0x35ff66);}),segmentCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x1c8))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x166))[a2_0x258ec9(0x2cd)](async(_0x448e6d,_0x1ae9ca)=>{const _0x1e03db=a2_0x258ec9,_0xf81eca=new SegmentFieldsCommand(),_0x5a0d8a=program[_0x1e03db(0x329)](),_0x31037c=await createTDXInstance(_0x5a0d8a),_0x56bd07=await _0xf81eca[_0x1e03db(0x33b)]({'options':{..._0x5a0d8a,..._0x1ae9ca},'args':_0x448e6d?[_0x448e6d]:[],'tdx':_0x31037c});gracefulExit(_0x56bd07);}),segmentCmd[a2_0x258ec9(0x1fb)]('pull\x20[parent_or_file]')['description'](a2_0x258ec9(0x189))['option'](a2_0x258ec9(0x1fa),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x258ec9(0x2cd)](async(_0x3e50d5,_0xb8684f)=>{const _0x174936=a2_0x258ec9,_0x4e43ea=new SegmentPullCommand(),_0x14118b=program[_0x174936(0x329)](),_0x5567c4=await createTDXInstance(_0x14118b),_0x5d4d85=await _0x4e43ea[_0x174936(0x33b)]({'options':{..._0x14118b,..._0xb8684f},'args':_0x3e50d5?[_0x3e50d5]:[],'tdx':_0x5567c4});gracefulExit(_0x5d4d85);}),segmentCmd['command'](a2_0x258ec9(0x1cc))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x230))[a2_0x258ec9(0x251)](a2_0x258ec9(0x1fa),a2_0x258ec9(0x13f))[a2_0x258ec9(0x251)](a2_0x258ec9(0x191),a2_0x258ec9(0x42b))[a2_0x258ec9(0x2cd)](async(_0x3178f8,_0x2a95bc)=>{const _0x12e0e1=a2_0x258ec9,_0x4b5cf3=new SegmentPushCommand(),_0x56d07c=program[_0x12e0e1(0x329)](),_0x26abe2=await createTDXInstance(_0x56d07c),_0x20a391=await _0x4b5cf3[_0x12e0e1(0x33b)]({'options':{..._0x56d07c,..._0x2a95bc},'args':_0x3178f8?[_0x3178f8]:[],'tdx':_0x26abe2});gracefulExit(_0x20a391);}),segmentCmd[a2_0x258ec9(0x1fb)]('validate\x20[target]')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x32b))[a2_0x258ec9(0x2cd)](async(_0x3dec9b,_0x833ccb)=>{const _0x4f8642=a2_0x258ec9,_0x1746c4=new SegmentValidateCommand(),_0x1e7448=program[_0x4f8642(0x329)](),_0x4008b8=await createTDXInstance(_0x1e7448),_0x269e28=await _0x1746c4['run']({'options':{..._0x1e7448,..._0x833ccb},'args':_0x3dec9b?[_0x3dec9b]:[],'tdx':_0x4008b8});gracefulExit(_0x269e28);}),segmentCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x3af),{'hidden':!![]})[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x269))[a2_0x258ec9(0x251)](a2_0x258ec9(0x21c),a2_0x258ec9(0x3bf))[a2_0x258ec9(0x251)]('--rule\x20<json>',a2_0x258ec9(0x1c6))[a2_0x258ec9(0x251)](a2_0x258ec9(0x32f),a2_0x258ec9(0x16b))[a2_0x258ec9(0x251)](a2_0x258ec9(0x2e4),a2_0x258ec9(0x226))[a2_0x258ec9(0x251)](a2_0x258ec9(0x3a8),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x258ec9(0x251)](a2_0x258ec9(0x20c),a2_0x258ec9(0x117))[a2_0x258ec9(0x251)](a2_0x258ec9(0x24b),a2_0x258ec9(0x13c))[a2_0x258ec9(0x2cd)](async(_0x5896f0,_0x29e486)=>{const _0x57cbe4=a2_0x258ec9,_0x3038ff=new SegmentCreateCommand(),_0x1eea84=program[_0x57cbe4(0x329)](),_0x2bd34f=await createTDXInstance(_0x1eea84),_0x4b5fb5=await _0x3038ff['run']({'options':{..._0x1eea84,..._0x29e486},'args':[_0x5896f0],'tdx':_0x2bd34f});gracefulExit(_0x4b5fb5);}),segmentCmd['command'](a2_0x258ec9(0x242),{'hidden':!![]})[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x198))[a2_0x258ec9(0x251)]('--name\x20<new_name>',a2_0x258ec9(0x184))[a2_0x258ec9(0x251)]('--description\x20<text>','Updated\x20description')[a2_0x258ec9(0x251)]('--rule\x20<json>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string')[a2_0x258ec9(0x251)](a2_0x258ec9(0x32f),'Updated\x20filtering\x20rule\x20from\x20JSON\x20file')['option'](a2_0x258ec9(0x2e4),a2_0x258ec9(0x234))[a2_0x258ec9(0x251)]('--kind\x20<type>',a2_0x258ec9(0x1ca))[a2_0x258ec9(0x2cd)](async(_0x34bff5,_0x3610f6)=>{const _0xa800a3=a2_0x258ec9,_0x159e92=new SegmentUpdateCommand(),_0x2ec80a=program[_0xa800a3(0x329)](),_0x2a5a9a=await createTDXInstance(_0x2ec80a),_0x13ae3c=await _0x159e92[_0xa800a3(0x33b)]({'options':{..._0x2ec80a,..._0x3610f6},'args':[_0x34bff5],'tdx':_0x2a5a9a});gracefulExit(_0x13ae3c);});const parentCmd=segmentCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x10b),{'hidden':!![]})[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x27b)),parentListAction=async(_0x5bccd5,_0x2b2c37)=>{const _0x4ab8ed=a2_0x258ec9,_0x4dcb64=new ParentSegmentListCommand(),_0x32cb18=program[_0x4ab8ed(0x329)](),_0x2fedc7=await createTDXInstance(_0x32cb18),_0x452f6e=await _0x4dcb64[_0x4ab8ed(0x33b)]({'options':{..._0x32cb18,..._0x2b2c37},'args':_0x5bccd5?[_0x5bccd5]:[],'tdx':_0x2fedc7});gracefulExit(_0x452f6e);};parentCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x385))[a2_0x258ec9(0x3cb)]('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x258ec9(0x2cd)](parentListAction),segmentCmd['command'](a2_0x258ec9(0x100),{'hidden':!![]})['description'](a2_0x258ec9(0x42c))[a2_0x258ec9(0x2cd)](parentListAction),parentCmd[a2_0x258ec9(0x1fb)]('pull\x20[name]')[a2_0x258ec9(0x3cb)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file')[a2_0x258ec9(0x251)](a2_0x258ec9(0x139),'Output\x20file\x20path\x20(default:\x20<name>.yml)')[a2_0x258ec9(0x2cd)](async(_0x712b8d,_0x1ddf90)=>{const _0x2e2a67=a2_0x258ec9,_0x5f3a60=new ParentSegmentPullCommand(),_0x2de879=program['opts'](),_0x3baae0=await createTDXInstance(_0x2de879),_0x3e2bf3=await _0x5f3a60[_0x2e2a67(0x33b)]({'options':{..._0x2de879,..._0x1ddf90},'args':_0x712b8d?[_0x712b8d]:[],'tdx':_0x3baae0});gracefulExit(_0x3e2bf3);}),parentCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x365))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x107))[a2_0x258ec9(0x2cd)](async(_0xbe09fa,_0x56af80)=>{const _0x37ee42=a2_0x258ec9,_0x1d9d12=new ParentSegmentPushCommand(),_0x56bfb0=program[_0x37ee42(0x329)](),_0x3f30d4=await createTDXInstance(_0x56bfb0),_0x1712bd=await _0x1d9d12[_0x37ee42(0x33b)]({'options':{..._0x56bfb0,..._0x56af80},'args':_0xbe09fa?[_0xbe09fa]:[],'tdx':_0x3f30d4});gracefulExit(_0x1712bd);}),parentCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x335))[a2_0x258ec9(0x3cb)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x258ec9(0x251)](a2_0x258ec9(0x20e),'Show\x20only\x20master\x20table\x20validation')[a2_0x258ec9(0x251)](a2_0x258ec9(0x3b7),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')['option'](a2_0x258ec9(0x41d),a2_0x258ec9(0x37d))[a2_0x258ec9(0x251)](a2_0x258ec9(0x2d2),a2_0x258ec9(0x393))['option'](a2_0x258ec9(0x2fa),a2_0x258ec9(0x20b),'-1d')[a2_0x258ec9(0x2cd)](async(_0x229d32,_0x3d82ac)=>{const _0x47097d=a2_0x258ec9,_0x3dc3cc=new ParentSegmentValidateCommand(),_0x2e9277=program[_0x47097d(0x329)](),_0x4f546a=await createTDXInstance(_0x2e9277),_0x34ff85=await _0x3dc3cc['run']({'options':{..._0x2e9277,..._0x3d82ac},'args':_0x229d32?[_0x229d32]:[],'tdx':_0x4f546a});gracefulExit(_0x34ff85);}),parentCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x320))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x314))[a2_0x258ec9(0x251)]('--master',a2_0x258ec9(0x277))['option'](a2_0x258ec9(0x3b7),a2_0x258ec9(0x1c0))[a2_0x258ec9(0x251)](a2_0x258ec9(0x41d),a2_0x258ec9(0x192))[a2_0x258ec9(0x251)]('--enriched','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x258ec9(0x251)](a2_0x258ec9(0x2fa),a2_0x258ec9(0x20b),a2_0x258ec9(0x379))[a2_0x258ec9(0x2cd)](async(_0x2c68be,_0xb4e17e)=>{const _0x5114c6=a2_0x258ec9,_0x33a532=new ParentSegmentPreviewCommand(),_0x307248=program[_0x5114c6(0x329)](),_0x301fcf=await createTDXInstance(_0x307248),_0x33bcda=await _0x33a532['run']({'options':{..._0x307248,..._0xb4e17e},'args':_0x2c68be?[_0x2c68be]:[],'tdx':_0x301fcf});gracefulExit(_0x33bcda);}),parentCmd[a2_0x258ec9(0x1fb)]('run\x20[name]')[a2_0x258ec9(0x3cb)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x258ec9(0x2cd)](async(_0x547d0a,_0x4416b5)=>{const _0x3154d4=a2_0x258ec9,_0x41a2b9=new ParentSegmentRunCommand(),_0x207c49=program[_0x3154d4(0x329)](),_0x4b6d53=await createTDXInstance(_0x207c49),_0x11a1e0=await _0x41a2b9['run']({'options':{..._0x207c49,..._0x4416b5},'args':_0x547d0a?[_0x547d0a]:[],'tdx':_0x4b6d53});gracefulExit(_0x11a1e0);});const parentSegmentCmd=program['command'](a2_0x258ec9(0x274))[a2_0x258ec9(0x33e)]('ps')['description'](a2_0x258ec9(0x42f));parentSegmentCmd[a2_0x258ec9(0x1fb)]('list\x20[pattern]')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x1e6))['action'](parentListAction),parentSegmentCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x2b7))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x143))[a2_0x258ec9(0x251)](a2_0x258ec9(0x139),a2_0x258ec9(0x1b0))[a2_0x258ec9(0x251)]('-u,\x20--use',a2_0x258ec9(0x3a3))[a2_0x258ec9(0x2cd)](async(_0x4a2179,_0x490a76)=>{const _0x3e08c3=a2_0x258ec9,_0x15e5cf=new ParentSegmentPullCommand(),_0x4057a7=program[_0x3e08c3(0x329)](),_0x580759=await createTDXInstance(_0x4057a7),_0x4304f0=await _0x15e5cf[_0x3e08c3(0x33b)]({'options':{..._0x4057a7,..._0x490a76},'args':_0x4a2179?[_0x4a2179]:[],'tdx':_0x580759});gracefulExit(_0x4304f0);}),parentSegmentCmd['command'](a2_0x258ec9(0x15e))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x1e9))[a2_0x258ec9(0x2cd)](async(_0x7651f4,_0x17342c)=>{const _0x4441b1=a2_0x258ec9,_0x2ac07d=new ParentSegmentPushCommand(),_0x115d3b=program[_0x4441b1(0x329)](),_0x1d0827=await createTDXInstance(_0x115d3b),_0x26d586=await _0x2ac07d[_0x4441b1(0x33b)]({'options':{..._0x115d3b,..._0x17342c},'args':_0x7651f4?[_0x7651f4]:[],'tdx':_0x1d0827});gracefulExit(_0x26d586);}),parentSegmentCmd['command'](a2_0x258ec9(0x3e7))['description']('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')['option'](a2_0x258ec9(0x20e),a2_0x258ec9(0x427))[a2_0x258ec9(0x251)](a2_0x258ec9(0x3b7),a2_0x258ec9(0x13e))[a2_0x258ec9(0x251)](a2_0x258ec9(0x41d),a2_0x258ec9(0x37d))[a2_0x258ec9(0x251)]('--enriched',a2_0x258ec9(0x393))[a2_0x258ec9(0x251)]('--interval\x20<range>',a2_0x258ec9(0x20b),a2_0x258ec9(0x379))['action'](async(_0x46ea64,_0x415b6e)=>{const _0x107a69=a2_0x258ec9,_0x38308d=new ParentSegmentValidateCommand(),_0x5b9cd6=program[_0x107a69(0x329)](),_0x1178ac=await createTDXInstance(_0x5b9cd6),_0x1e006b=await _0x38308d[_0x107a69(0x33b)]({'options':{..._0x5b9cd6,..._0x415b6e},'args':_0x46ea64?[_0x46ea64]:[],'tdx':_0x1178ac});gracefulExit(_0x1e006b);}),parentSegmentCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x392))['description'](a2_0x258ec9(0x314))[a2_0x258ec9(0x251)]('--master',a2_0x258ec9(0x277))[a2_0x258ec9(0x251)](a2_0x258ec9(0x3b7),a2_0x258ec9(0x1c0))[a2_0x258ec9(0x251)](a2_0x258ec9(0x41d),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x258ec9(0x251)]('--enriched',a2_0x258ec9(0x3c7))[a2_0x258ec9(0x251)](a2_0x258ec9(0x2fa),a2_0x258ec9(0x20b),a2_0x258ec9(0x379))[a2_0x258ec9(0x2cd)](async(_0x3b7ed0,_0x556610)=>{const _0x14f45e=a2_0x258ec9,_0xdf0556=new ParentSegmentPreviewCommand(),_0x33b4b5=program[_0x14f45e(0x329)](),_0x45b09f=await createTDXInstance(_0x33b4b5),_0x2ce9b5=await _0xdf0556[_0x14f45e(0x33b)]({'options':{..._0x33b4b5,..._0x556610},'args':_0x3b7ed0?[_0x3b7ed0]:[],'tdx':_0x45b09f});gracefulExit(_0x2ce9b5);}),parentSegmentCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x28c))['description'](a2_0x258ec9(0x18b))[a2_0x258ec9(0x2cd)](async(_0x1cbef2,_0x448d6a)=>{const _0x48f5b8=a2_0x258ec9,_0x46aa16=new ParentSegmentRunCommand(),_0x11d683=program[_0x48f5b8(0x329)](),_0x4d2158=await createTDXInstance(_0x11d683),_0x4e4b98=await _0x46aa16['run']({'options':{..._0x11d683,..._0x448d6a},'args':_0x1cbef2?[_0x1cbef2]:[],'tdx':_0x4d2158});gracefulExit(_0x4e4b98);}),parentSegmentCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x352))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x30b))[a2_0x258ec9(0x251)](a2_0x258ec9(0x313),a2_0x258ec9(0x1d6))[a2_0x258ec9(0x251)]('--jsonl',a2_0x258ec9(0x419))[a2_0x258ec9(0x2cd)](async(_0x2bf218,_0x322152)=>{const _0x598a89=a2_0x258ec9,_0x4b62cb=new ParentSegmentFieldsCommand(),_0x1afb41=program[_0x598a89(0x329)](),_0x5e0501=await createTDXInstance(_0x1afb41),_0x466f4f=await _0x4b62cb[_0x598a89(0x33b)]({'options':{..._0x1afb41,..._0x322152},'args':_0x2bf218?[_0x2bf218]:[],'tdx':_0x5e0501});gracefulExit(_0x466f4f);}),parentSegmentCmd[a2_0x258ec9(0x1fb)]('view\x20[name]')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x2a2))['option'](a2_0x258ec9(0x24c),a2_0x258ec9(0x2e0))[a2_0x258ec9(0x251)](a2_0x258ec9(0x313),'Output\x20as\x20JSON')['option'](a2_0x258ec9(0x228),a2_0x258ec9(0x419))[a2_0x258ec9(0x2cd)](async(_0x138c2d,_0x1d2f04)=>{const _0x295473=a2_0x258ec9,_0x4db945=new ParentSegmentViewCommand(),_0x46546d=program[_0x295473(0x329)](),_0x4a7125=await createTDXInstance(_0x46546d),_0x215d15=await _0x4db945[_0x295473(0x33b)]({'options':{..._0x46546d,..._0x1d2f04},'args':_0x138c2d?[_0x138c2d]:[],'tdx':_0x4a7125});gracefulExit(_0x215d15);}),parentSegmentCmd['command'](a2_0x258ec9(0x3e2))['description'](a2_0x258ec9(0x3ff))['option']('-o,\x20--output\x20<file>',a2_0x258ec9(0x1b0))[a2_0x258ec9(0x251)]('--json',a2_0x258ec9(0x1d6))[a2_0x258ec9(0x251)]('--jsonl',a2_0x258ec9(0x419))[a2_0x258ec9(0x2cd)](async(_0xef31d4,_0xd9bf71)=>{const _0x957b6f=a2_0x258ec9,_0x3d433a=new ParentSegmentDescCommand(),_0x563457=program['opts'](),_0x141553=await createTDXInstance(_0x563457),_0x2bcf64=await _0x3d433a[_0x957b6f(0x33b)]({'options':{..._0x563457,..._0xd9bf71},'args':_0xef31d4?[_0xef31d4]:[],'tdx':_0x141553});gracefulExit(_0x2bcf64);}),parentSegmentCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x2ec))[a2_0x258ec9(0x3cb)]('Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x258ec9(0x251)](a2_0x258ec9(0x313),a2_0x258ec9(0x1d6))[a2_0x258ec9(0x251)](a2_0x258ec9(0x228),a2_0x258ec9(0x419))['action'](async(_0x540cb5,_0x54d3af)=>{const _0x4d50e3=a2_0x258ec9,_0x2fd113=new ParentSegmentSQLCommand(),_0x54f53a=program['opts'](),_0x52f42a=await createTDXInstance(_0x54f53a),_0x247d79=await _0x2fd113[_0x4d50e3(0x33b)]({'options':{..._0x54f53a,..._0x54d3af},'args':_0x540cb5?[_0x540cb5]:[],'tdx':_0x52f42a});gracefulExit(_0x247d79);}),parentSegmentCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x16d))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x3fb))['option'](a2_0x258ec9(0x28f),a2_0x258ec9(0x20a))['option'](a2_0x258ec9(0x313),a2_0x258ec9(0x1d6))[a2_0x258ec9(0x251)](a2_0x258ec9(0x228),a2_0x258ec9(0x419))[a2_0x258ec9(0x2cd)](async(_0x1005a1,_0x45a200)=>{const _0x3e9b36=new ParentSegmentShowCommand(),_0x2b4b33=program['opts'](),_0x396d97=await createTDXInstance(_0x2b4b33),_0x39ec7e=await _0x3e9b36['run']({'options':{..._0x2b4b33,..._0x45a200},'args':_0x1005a1?[_0x1005a1]:[],'tdx':_0x396d97});gracefulExit(_0x39ec7e);}),parentSegmentCmd['command'](a2_0x258ec9(0x3ee))[a2_0x258ec9(0x3cb)]('Set\x20or\x20show\x20parent\x20segment\x20context')[a2_0x258ec9(0x2cd)](async(_0x5c3833,_0x33c1ec)=>{const _0x2180e4=a2_0x258ec9,_0x54711b=new UseCommand(),_0x154fff=program[_0x2180e4(0x329)](),_0x42d7d9=_0x5c3833?['parent_segment',_0x5c3833]:[],_0x3133b3=await _0x54711b['run']({'options':{..._0x154fff,..._0x33c1ec},'args':_0x42d7d9,'tdx':null});gracefulExit(_0x3133b3);});const psRtCmd=parentSegmentCmd[a2_0x258ec9(0x1fb)]('rt')['description'](a2_0x258ec9(0x32a));psRtCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x385))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x2dd))['action'](async(_0x520582,_0x31fafe)=>{const _0x50bc88=a2_0x258ec9,_0x432ef6=new PSRtListCommand(),_0x4ed762=program[_0x50bc88(0x329)](),_0x3b1a8c=await createTDXInstance(_0x4ed762),_0x16d419=await _0x432ef6[_0x50bc88(0x33b)]({'options':{..._0x4ed762,..._0x31fafe},'args':_0x520582?[_0x520582]:[],'tdx':_0x3b1a8c});gracefulExit(_0x16d419);}),psRtCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x3e7))['description'](a2_0x258ec9(0x15d))[a2_0x258ec9(0x2cd)](async(_0x575913,_0x499833)=>{const _0x78190b=a2_0x258ec9,_0x112310=new PSRtValidateCommand(),_0x4b07ca=program[_0x78190b(0x329)](),_0x17e393=await createTDXInstance(_0x4b07ca),_0x20323e=await _0x112310[_0x78190b(0x33b)]({'options':{..._0x4b07ca,..._0x499833},'args':_0x575913?[_0x575913]:[],'tdx':_0x17e393});gracefulExit(_0x20323e);}),psRtCmd['command'](a2_0x258ec9(0x1da))['description'](a2_0x258ec9(0x3ec))[a2_0x258ec9(0x2cd)](async(_0x3e6d5c,_0x36ec00)=>{const _0x1a9e2e=a2_0x258ec9,_0x1c94a3=new PSRtConfigVersionCommand(),_0x23b475=program['opts'](),_0x10a004=await createTDXInstance(_0x23b475),_0x42ad84=await _0x1c94a3[_0x1a9e2e(0x33b)]({'options':{..._0x23b475,..._0x36ec00},'args':_0x3e6d5c?[_0x3e6d5c]:[],'tdx':_0x10a004});gracefulExit(_0x42ad84);});const psRtJnCmd=psRtCmd[a2_0x258ec9(0x1fb)]('jn')[a2_0x258ec9(0x3cb)]('RT\x20Journey\x20management');psRtJnCmd[a2_0x258ec9(0x1fb)]('list\x20[name]')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x32d))['action'](async(_0x69afe4,_0x176bea)=>{const _0xaccf60=a2_0x258ec9,_0x5d4988=new PSRtJnListCommand(),_0x3afca1=program[_0xaccf60(0x329)](),_0x37b997=await createTDXInstance(_0x3afca1),_0x4c1ac3=await _0x5d4988[_0xaccf60(0x33b)]({'options':{..._0x3afca1,..._0x176bea},'args':_0x69afe4?[_0x69afe4]:[],'tdx':_0x37b997});gracefulExit(_0x4c1ac3);}),psRtJnCmd['command'](a2_0x258ec9(0x356))[a2_0x258ec9(0x3cb)]('Pause\x20activations\x20in\x20an\x20RT\x20journey')['action'](async(_0x50449d,_0xca762d)=>{const _0x43b7f4=a2_0x258ec9,_0x562d20=new PSRtJnPauseCommand(),_0x518d20=program[_0x43b7f4(0x329)](),_0x15422f=await createTDXInstance(_0x518d20),_0x4a1df1=await _0x562d20[_0x43b7f4(0x33b)]({'options':{..._0x518d20,..._0xca762d},'args':[_0x50449d],'tdx':_0x15422f});gracefulExit(_0x4a1df1);}),psRtJnCmd[a2_0x258ec9(0x1fb)]('resume_activations\x20<journeyId>')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x41e))[a2_0x258ec9(0x2cd)](async(_0x560ca0,_0x3ea30c)=>{const _0x57e915=a2_0x258ec9,_0x4ce94b=new PSRtJnResumeCommand(),_0x16b5a0=program[_0x57e915(0x329)](),_0x4bd70e=await createTDXInstance(_0x16b5a0),_0x45ff01=await _0x4ce94b[_0x57e915(0x33b)]({'options':{..._0x16b5a0,..._0x3ea30c},'args':[_0x560ca0],'tdx':_0x4bd70e});gracefulExit(_0x45ff01);});const parentRtCmd=parentCmd[a2_0x258ec9(0x1fb)]('rt',{'hidden':!![]})[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x32a));parentRtCmd[a2_0x258ec9(0x1fb)]('list\x20[pattern]')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x2dd))['action'](async(_0x36d489,_0x2654ad)=>{const _0x4e8a99=a2_0x258ec9,_0x25bc54=new PSRtListCommand(),_0x5f3652=program[_0x4e8a99(0x329)](),_0x87ea59=await createTDXInstance(_0x5f3652),_0x4144da=await _0x25bc54[_0x4e8a99(0x33b)]({'options':{..._0x5f3652,..._0x2654ad},'args':_0x36d489?[_0x36d489]:[],'tdx':_0x87ea59});gracefulExit(_0x4144da);}),parentRtCmd['command'](a2_0x258ec9(0x3e7))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x15d))['action'](async(_0x5ae0de,_0x376fdb)=>{const _0x2737c9=a2_0x258ec9,_0xb70b6b=new PSRtValidateCommand(),_0x2d59de=program[_0x2737c9(0x329)](),_0xdca1e5=await createTDXInstance(_0x2d59de),_0xf2438e=await _0xb70b6b[_0x2737c9(0x33b)]({'options':{..._0x2d59de,..._0x376fdb},'args':_0x5ae0de?[_0x5ae0de]:[],'tdx':_0xdca1e5});gracefulExit(_0xf2438e);});const psPzCmd=parentSegmentCmd[a2_0x258ec9(0x1fb)]('pz')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x217));psPzCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x3c3))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x1ab))[a2_0x258ec9(0x2cd)](async(_0x3c6b00,_0x391ee9)=>{const _0x39030f=a2_0x258ec9,_0x6f47b2=new PSPzListCommand(),_0x472011=program[_0x39030f(0x329)](),_0x3803ab=await createTDXInstance(_0x472011),_0x480b15=await _0x6f47b2[_0x39030f(0x33b)]({'options':{..._0x472011,..._0x391ee9},'args':_0x3c6b00?[_0x3c6b00]:[],'tdx':_0x3803ab});gracefulExit(_0x480b15);}),psPzCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x3f6))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x2fc))[a2_0x258ec9(0x2cd)](async(_0x4220b0,_0x128f67)=>{const _0x4852b4=a2_0x258ec9,_0x41cdd1=new PSPzShowCommand(),_0x6b8d15=program[_0x4852b4(0x329)](),_0x577f74=await createTDXInstance(_0x6b8d15),_0x35024a=await _0x41cdd1[_0x4852b4(0x33b)]({'options':{..._0x6b8d15,..._0x128f67},'args':[_0x4220b0],'tdx':_0x577f74});gracefulExit(_0x35024a);}),psPzCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x1b8))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x1ec))['action'](async(_0x109b01,_0x557a8b)=>{const _0x1a47d2=a2_0x258ec9,_0x3c3f75=new PSPzDeleteCommand(),_0x4e2b14=program[_0x1a47d2(0x329)](),_0x297e58=await createTDXInstance(_0x4e2b14),_0x33e504=await _0x3c3f75[_0x1a47d2(0x33b)]({'options':{..._0x4e2b14,..._0x557a8b},'args':[_0x109b01],'tdx':_0x297e58});gracefulExit(_0x33e504);}),psPzCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x37e))['description'](a2_0x258ec9(0x421))[a2_0x258ec9(0x251)](a2_0x258ec9(0x1e8),a2_0x258ec9(0x41a))[a2_0x258ec9(0x251)]('--description\x20<text>',a2_0x258ec9(0x311))[a2_0x258ec9(0x251)](a2_0x258ec9(0x3fe),a2_0x258ec9(0x315))[a2_0x258ec9(0x251)](a2_0x258ec9(0x17b),a2_0x258ec9(0x3f1))[a2_0x258ec9(0x251)](a2_0x258ec9(0x225),a2_0x258ec9(0x144))[a2_0x258ec9(0x251)]('--file\x20<path>','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)')[a2_0x258ec9(0x2cd)](async _0x5cd875=>{const _0x59575d=a2_0x258ec9,_0x343420=new PSPzCreateCommand(),_0x403d76=program[_0x59575d(0x329)](),_0x1dc160=await createTDXInstance(_0x403d76),_0x3d3229=await _0x343420[_0x59575d(0x33b)]({'options':{..._0x403d76,..._0x5cd875},'args':[],'tdx':_0x1dc160});gracefulExit(_0x3d3229);}),psPzCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x174))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x39d))[a2_0x258ec9(0x251)]('--name\x20<text>',a2_0x258ec9(0x41a))[a2_0x258ec9(0x251)]('--description\x20<text>',a2_0x258ec9(0x311))[a2_0x258ec9(0x251)]('--sections\x20<json>',a2_0x258ec9(0x144))[a2_0x258ec9(0x251)](a2_0x258ec9(0x40c),'Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)')[a2_0x258ec9(0x2cd)](async(_0x3ba73f,_0x4dd89f)=>{const _0x1ecb4d=a2_0x258ec9,_0x561ea4=new PSPzPatchCommand(),_0xc9de41=program['opts'](),_0xc626f7=await createTDXInstance(_0xc9de41),_0x1d358e=await _0x561ea4[_0x1ecb4d(0x33b)]({'options':{..._0xc9de41,..._0x4dd89f},'args':[_0x3ba73f],'tdx':_0xc626f7});gracefulExit(_0x1d358e);});const psPzServiceCmd=psPzCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x388))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x19d));psPzServiceCmd['command'](a2_0x258ec9(0x3c3))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x369))[a2_0x258ec9(0x2cd)](async(_0x1d5710,_0x5423ee)=>{const _0x4cd231=a2_0x258ec9,_0x5e5131=new PSPzServiceListCommand(),_0x344142=program[_0x4cd231(0x329)](),_0x105eb4=await createTDXInstance(_0x344142),_0x4eea2a=await _0x5e5131[_0x4cd231(0x33b)]({'options':{..._0x344142,..._0x5423ee},'args':_0x1d5710?[_0x1d5710]:[],'tdx':_0x105eb4});gracefulExit(_0x4eea2a);}),psPzServiceCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x2ff))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x111))[a2_0x258ec9(0x251)](a2_0x258ec9(0x21c),a2_0x258ec9(0x2a5))[a2_0x258ec9(0x251)](a2_0x258ec9(0x229),a2_0x258ec9(0x14d))[a2_0x258ec9(0x2cd)](async(_0x113da0,_0x2ca6c7,_0x2ce97c)=>{const _0x4d98ce=a2_0x258ec9,_0x25bad6=new PSPzServiceCreateCommand(),_0x3c1236=program[_0x4d98ce(0x329)](),_0x4b99ee=await createTDXInstance(_0x3c1236),_0x1a9e26=await _0x25bad6[_0x4d98ce(0x33b)]({'options':{..._0x3c1236,..._0x2ce97c},'args':_0x2ca6c7?[_0x113da0,_0x2ca6c7]:[_0x113da0],'tdx':_0x4b99ee});gracefulExit(_0x1a9e26);}),psPzServiceCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x14e))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x142))['action'](async(_0x37e859,_0x58c146,_0x143fdd)=>{const _0x491712=new PSPzServiceShowCommand(),_0x19172e=program['opts'](),_0x117265=await createTDXInstance(_0x19172e),_0x2f99ab=await _0x491712['run']({'options':{..._0x19172e,..._0x143fdd},'args':_0x58c146?[_0x37e859,_0x58c146]:[_0x37e859],'tdx':_0x117265});gracefulExit(_0x2f99ab);}),psPzServiceCmd['command'](a2_0x258ec9(0x2d0))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x3a4))[a2_0x258ec9(0x2cd)](async(_0xeaa596,_0x1cf939,_0x332a49)=>{const _0x1b29e1=a2_0x258ec9,_0x35f3af=new PSPzServiceDeleteCommand(),_0x28db1d=program[_0x1b29e1(0x329)](),_0x4e8fb9=await createTDXInstance(_0x28db1d),_0x1e2505=await _0x35f3af[_0x1b29e1(0x33b)]({'options':{..._0x28db1d,..._0x332a49},'args':_0x1cf939?[_0xeaa596,_0x1cf939]:[_0xeaa596],'tdx':_0x4e8fb9});gracefulExit(_0x1e2505);}),psPzServiceCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x157))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x249))[a2_0x258ec9(0x3be)]('--name\x20<name>',a2_0x258ec9(0x1f5))[a2_0x258ec9(0x251)](a2_0x258ec9(0x21c),a2_0x258ec9(0x424))[a2_0x258ec9(0x2cd)](async(_0x5f3549,_0x55433d,_0x34a41a)=>{const _0x2a870c=a2_0x258ec9,_0x3a0817=new PSPzServiceUpdateCommand(),_0xdeee4d=program[_0x2a870c(0x329)](),_0x11ff0e=await createTDXInstance(_0xdeee4d),_0x4707a5=await _0x3a0817['run']({'options':{..._0xdeee4d,..._0x34a41a},'args':_0x55433d?[_0x5f3549,_0x55433d]:[_0x5f3549],'tdx':_0x11ff0e});gracefulExit(_0x4707a5);}),psPzServiceCmd['command'](a2_0x258ec9(0x399))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x355))[a2_0x258ec9(0x2cd)](async(_0x53f3d4,_0x278b34)=>{const _0xf9dea3=a2_0x258ec9,_0x56e3d4=new PSPzInitCommand(),_0x48a067=program['opts'](),_0x242769=await createTDXInstance(_0x48a067),_0x4a889a=await _0x56e3d4[_0xf9dea3(0x33b)]({'options':{..._0x48a067,..._0x278b34},'args':_0x53f3d4?[_0x53f3d4]:[],'tdx':_0x242769});gracefulExit(_0x4a889a);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x258ec9(0x1fb)]('token')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x28e));psPzServiceTokenCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x3e9))['description'](a2_0x258ec9(0x36c))[a2_0x258ec9(0x251)](a2_0x258ec9(0x36e),a2_0x258ec9(0x15a))[a2_0x258ec9(0x251)](a2_0x258ec9(0x21c),a2_0x258ec9(0x2f7))[a2_0x258ec9(0x2cd)](async(_0xe52cdf,_0x3da4b2,_0x5279c2,_0xbf200e)=>{const _0x34614b=a2_0x258ec9,_0x287782=new PSPzServiceTokenCreateCommand(),_0x1fcd53=program[_0x34614b(0x329)](),_0x6d1dbc=await createTDXInstance(_0x1fcd53),_0x428386=await _0x287782['run']({'options':{..._0x1fcd53,..._0xbf200e},'args':_0x5279c2?[_0xe52cdf,_0x3da4b2,_0x5279c2]:[_0xe52cdf,_0x3da4b2],'tdx':_0x6d1dbc});gracefulExit(_0x428386);}),psPzServiceTokenCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x3fd))[a2_0x258ec9(0x3cb)]('Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')['action'](async(_0x4ab286,_0x5183c9,_0x35611a)=>{const _0x34b054=a2_0x258ec9,_0x54e0e0=new PSPzServiceTokenDeleteCommand(),_0x58d52b=program[_0x34b054(0x329)](),_0x4b6b07=await createTDXInstance(_0x58d52b),_0xb8b6c6=await _0x54e0e0[_0x34b054(0x33b)]({'options':{..._0x58d52b,..._0x35611a},'args':_0x5183c9?[_0x4ab286,_0x5183c9]:[_0x4ab286],'tdx':_0x4b6b07});gracefulExit(_0xb8b6c6);}),parentCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x383))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x396))[a2_0x258ec9(0x3be)]('--database\x20<db>',a2_0x258ec9(0x360))['requiredOption'](a2_0x258ec9(0x343),a2_0x258ec9(0x41f))[a2_0x258ec9(0x251)](a2_0x258ec9(0x21c),'Parent\x20segment\x20description')['option'](a2_0x258ec9(0x3e3),a2_0x258ec9(0x1b3))[a2_0x258ec9(0x251)]('--schedule-option\x20<value>','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)')[a2_0x258ec9(0x251)](a2_0x258ec9(0x2bc),a2_0x258ec9(0x270))['option'](a2_0x258ec9(0x3ba),'Attributes\x20as\x20JSON\x20string')[a2_0x258ec9(0x251)](a2_0x258ec9(0x25b),'Attributes\x20from\x20JSON\x20file')['option'](a2_0x258ec9(0xff),a2_0x258ec9(0x19c))[a2_0x258ec9(0x251)]('--behaviors-file\x20<file>',a2_0x258ec9(0x2df))[a2_0x258ec9(0x251)](a2_0x258ec9(0x3d1),a2_0x258ec9(0x348))[a2_0x258ec9(0x251)](a2_0x258ec9(0x3bc),'Customer\x20group\x20from\x20JSON\x20file')[a2_0x258ec9(0x2cd)](async(_0x242e38,_0x3c0dd6)=>{const _0x1fa2ae=a2_0x258ec9,_0x473513=new ParentSegmentCreateCommand(),_0x535f2c=program[_0x1fa2ae(0x329)](),_0x1512aa=await createTDXInstance(_0x535f2c),_0x35d145=await _0x473513['run']({'options':{..._0x535f2c,..._0x3c0dd6},'args':[_0x242e38],'tdx':_0x1512aa});gracefulExit(_0x35d145);}),parentCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x162))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x267))[a2_0x258ec9(0x251)]('--description\x20<text>','Updated\x20description')['option']('--schedule-type\x20<type>',a2_0x258ec9(0x3db))[a2_0x258ec9(0x251)](a2_0x258ec9(0x288),a2_0x258ec9(0x1bb))[a2_0x258ec9(0x251)]('--timezone\x20<tz>',a2_0x258ec9(0x190))[a2_0x258ec9(0x251)](a2_0x258ec9(0x353),a2_0x258ec9(0x3dd))['option'](a2_0x258ec9(0x1a8),a2_0x258ec9(0x215))['option']('--add-behaviors\x20<json>',a2_0x258ec9(0x24a))['option'](a2_0x258ec9(0x128),a2_0x258ec9(0x232))[a2_0x258ec9(0x2cd)](async(_0x3c1b9d,_0x655fed)=>{const _0xcc43f1=a2_0x258ec9,_0x1998e3=new ParentSegmentUpdateCommand(),_0x2857e5=program[_0xcc43f1(0x329)](),_0x5ceae5=await createTDXInstance(_0x2857e5),_0x505904=await _0x1998e3[_0xcc43f1(0x33b)]({'options':{..._0x2857e5,..._0x655fed},'args':[_0x3c1b9d],'tdx':_0x5ceae5});gracefulExit(_0x505904);}),folderCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x188))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x163))[a2_0x258ec9(0x251)](a2_0x258ec9(0x21c),a2_0x258ec9(0x1e1))[a2_0x258ec9(0x251)](a2_0x258ec9(0x19b),'Parent\x20folder\x20name\x20for\x20nested\x20folders')[a2_0x258ec9(0x2cd)](async(_0x5b7752,_0x19035a,_0x1012cd)=>{const _0x124b85=a2_0x258ec9,_0x6413f9=new SegmentFolderCreateCommand(),_0x2e1b8e=program[_0x124b85(0x329)](),_0x4bf1b2=await createTDXInstance(_0x2e1b8e),_0x1e0bf0=await _0x6413f9[_0x124b85(0x33b)]({'options':{..._0x2e1b8e,..._0x1012cd},'args':[_0x5b7752,_0x19035a],'tdx':_0x4bf1b2});gracefulExit(_0x1e0bf0);}),program[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x23c))['description'](a2_0x258ec9(0x333))[a2_0x258ec9(0x2cd)](async(_0x55f212,_0x12359f)=>{const _0x512bf9=a2_0x258ec9,_0xe09162=new ActivationsCommand(),_0x2dd5f9=program['opts'](),_0x4c2bb2=await createTDXInstance(_0x2dd5f9),_0x2a60f0=await _0xe09162[_0x512bf9(0x33b)]({'options':{..._0x2dd5f9,..._0x12359f},'args':[_0x55f212],'tdx':_0x4c2bb2});gracefulExit(_0x2a60f0);});const workflowCmd=program[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x422))[a2_0x258ec9(0x33e)]('wf')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x42e)),wfProjectCmd=workflowCmd[a2_0x258ec9(0x1fb)]('project')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x397)),wfProjectListAction=async(_0x98bc87,_0x209dbc)=>{const _0x59e6a6=a2_0x258ec9,_0x33ad32=new WorkflowProjectsCommand(),_0x17b998=program[_0x59e6a6(0x329)](),_0x52f995=await createTDXInstance(_0x17b998),_0x497677=await _0x33ad32[_0x59e6a6(0x33b)]({'options':{..._0x17b998,..._0x209dbc},'args':_0x98bc87?[_0x98bc87]:[],'tdx':_0x52f995});gracefulExit(_0x497677);};wfProjectCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x385))[a2_0x258ec9(0x3cb)]('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x258ec9(0x2cd)](wfProjectListAction),workflowCmd['command'](a2_0x258ec9(0x14b))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x1de))[a2_0x258ec9(0x2cd)](wfProjectListAction);const wfWorkflowListAction=async(_0xc3da70,_0x575885)=>{const _0x3f9262=a2_0x258ec9,_0x2f9668=new WorkflowWorkflowsCommand(),_0x4e6e94=program['opts'](),_0x425611=await createTDXInstance(_0x4e6e94),_0x5c93e7=await _0x2f9668[_0x3f9262(0x33b)]({'options':{..._0x4e6e94,..._0x575885},'args':_0xc3da70?[_0xc3da70]:[],'tdx':_0x425611});gracefulExit(_0x5c93e7);};workflowCmd[a2_0x258ec9(0x1fb)]('workflows\x20[project]')[a2_0x258ec9(0x3cb)]('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')[a2_0x258ec9(0x2cd)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x1e4))['description']('Workflow\x20session\x20management'),wfSessionListAction=async(_0x360e,_0x2674fa)=>{const _0x9c3705=a2_0x258ec9,_0x33f88e=new WorkflowSessionsCommand(),_0x50ed70=program[_0x9c3705(0x329)](),_0x3aae3a=await createTDXInstance(_0x50ed70),_0xba9e64=await _0x33f88e[_0x9c3705(0x33b)]({'options':{..._0x50ed70,..._0x2674fa},'args':_0x360e?[_0x360e]:[],'tdx':_0x3aae3a});gracefulExit(_0xba9e64);};wfSessionCmd[a2_0x258ec9(0x1fb)]('list\x20[project]')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x1e0))[a2_0x258ec9(0x251)](a2_0x258ec9(0x3ef),a2_0x258ec9(0x40f))[a2_0x258ec9(0x251)](a2_0x258ec9(0x12c),a2_0x258ec9(0x2d4))[a2_0x258ec9(0x251)](a2_0x258ec9(0x337),'End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x258ec9(0x2cd)](wfSessionListAction),workflowCmd['command'](a2_0x258ec9(0x3c2))['description'](a2_0x258ec9(0x408))[a2_0x258ec9(0x251)](a2_0x258ec9(0x3ef),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x258ec9(0x251)](a2_0x258ec9(0x12c),a2_0x258ec9(0x2d4))[a2_0x258ec9(0x251)](a2_0x258ec9(0x337),a2_0x258ec9(0x272))[a2_0x258ec9(0x2cd)](wfSessionListAction);const wfAttemptListAction=async(_0x21cfec,_0x16bfba)=>{const _0x4fdc14=a2_0x258ec9,_0x1e34e4=new WorkflowAttemptsCommand(),_0x36eb37=program[_0x4fdc14(0x329)](),_0x1cadb7=await createTDXInstance(_0x36eb37),_0x566d70=await _0x1e34e4[_0x4fdc14(0x33b)]({'options':{..._0x36eb37,..._0x16bfba},'args':_0x21cfec?[_0x21cfec]:[],'tdx':_0x1cadb7});gracefulExit(_0x566d70);},attemptCmd=workflowCmd['command'](a2_0x258ec9(0x26a))['description'](a2_0x258ec9(0x160))[a2_0x258ec9(0x346)](a2_0x258ec9(0x103),'Attempt\x20ID')[a2_0x258ec9(0x346)](a2_0x258ec9(0x2d8),a2_0x258ec9(0x3d2))[a2_0x258ec9(0x346)]('[task-name]',a2_0x258ec9(0x1d2))['option'](a2_0x258ec9(0x16e),a2_0x258ec9(0x125))[a2_0x258ec9(0x251)](a2_0x258ec9(0x24f),a2_0x258ec9(0x109))['option'](a2_0x258ec9(0x2c0),a2_0x258ec9(0x193))[a2_0x258ec9(0x251)](a2_0x258ec9(0x37c),a2_0x258ec9(0x101))[a2_0x258ec9(0x251)]('--force',a2_0x258ec9(0x27d))[a2_0x258ec9(0x251)]('--include-retried','Include\x20retried\x20attempts\x20(for\x20list)')[a2_0x258ec9(0x2cd)](async(_0xc08055,_0x5ee6ea,_0x55723f,_0x166908)=>{const _0x5199f7=a2_0x258ec9;if(_0xc08055===_0x5199f7(0x158)){await wfAttemptListAction(_0x5ee6ea,_0x166908);return;}if(!_0xc08055){attemptCmd[_0x5199f7(0x207)]();return;}const _0x399cf5=program[_0x5199f7(0x329)](),_0x3098c6=await createTDXInstance(_0x399cf5);let _0x11aeca=0x0;if(!_0x5ee6ea){const _0x47731a=new WorkflowAttemptCommand();_0x11aeca=await _0x47731a[_0x5199f7(0x33b)]({'options':{..._0x399cf5,..._0x166908},'args':[_0xc08055],'tdx':_0x3098c6});}else{if(_0x5ee6ea===_0x5199f7(0x1d4)){const _0x2e35e0=new WorkflowLogsCommand();_0x11aeca=await _0x2e35e0[_0x5199f7(0x33b)]({'options':{..._0x399cf5,..._0x166908},'args':_0x55723f?[_0xc08055,_0x55723f]:[_0xc08055],'tdx':_0x3098c6});}else{if(_0x5ee6ea===_0x5199f7(0x21d)){const _0x2953f5=new WorkflowTasksCommand();_0x11aeca=await _0x2953f5[_0x5199f7(0x33b)]({'options':{..._0x399cf5,..._0x166908},'args':[_0xc08055],'tdx':_0x3098c6});}else{if(_0x5ee6ea==='kill'){const _0x55dfed=new WorkflowKillCommand();_0x11aeca=await _0x55dfed[_0x5199f7(0x33b)]({'options':{..._0x399cf5,..._0x166908},'args':[_0xc08055],'tdx':_0x3098c6});}else{if(_0x5ee6ea===_0x5199f7(0x22f)){const _0x16d18a=new WorkflowRetryCommand();_0x11aeca=await _0x16d18a[_0x5199f7(0x33b)]({'options':{..._0x399cf5,..._0x166908},'args':[_0x5199f7(0x3f7)+_0xc08055],'tdx':_0x3098c6});}else console['error'](_0x5199f7(0x255)+_0x5ee6ea),console[_0x5199f7(0x195)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x11aeca=0x1;}}}}gracefulExit(_0x11aeca);});attemptCmd['command'](a2_0x258ec9(0x367))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x42a))[a2_0x258ec9(0x251)](a2_0x258ec9(0x2a4),a2_0x258ec9(0x250))[a2_0x258ec9(0x2cd)](wfAttemptListAction),workflowCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x2c9))['description'](a2_0x258ec9(0x22b))['option']('--include-retried',a2_0x258ec9(0x250))[a2_0x258ec9(0x2cd)](wfAttemptListAction),workflowCmd[a2_0x258ec9(0x1fb)]('timeline\x20[project.workflow]')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x3fa))[a2_0x258ec9(0x251)](a2_0x258ec9(0x208),a2_0x258ec9(0x211))[a2_0x258ec9(0x251)](a2_0x258ec9(0x3cf),a2_0x258ec9(0x263))[a2_0x258ec9(0x251)](a2_0x258ec9(0x12e),a2_0x258ec9(0x31d))[a2_0x258ec9(0x2cd)](async(_0x1e41f,_0x233a27)=>{const _0x292b7f=a2_0x258ec9,_0x5cadbb=new WorkflowTimelineCommand(),_0x19bff8=program[_0x292b7f(0x329)](),_0x2deb0f=await createTDXInstance(_0x19bff8),_0x5d63fc=await _0x5cadbb['run']({'options':{..._0x19bff8,..._0x233a27},'args':_0x1e41f?[_0x1e41f]:[],'tdx':_0x2deb0f});gracefulExit(_0x5d63fc);}),workflowCmd[a2_0x258ec9(0x1fb)]('retry\x20<session-id>')[a2_0x258ec9(0x3cb)]('Retry\x20a\x20session\x20(prefix\x20with\x20session:)')[a2_0x258ec9(0x251)]('--from-task\x20<task>','Resume\x20from\x20specific\x20task')[a2_0x258ec9(0x251)](a2_0x258ec9(0x37c),a2_0x258ec9(0x296))['action'](async(_0x5ccde7,_0xc9647e)=>{const _0x11ddb4=a2_0x258ec9,_0xed0741=new WorkflowRetryCommand(),_0x4dae1d=program['opts'](),_0x37d9fe=await createTDXInstance(_0x4dae1d),_0x1ca19c=await _0xed0741[_0x11ddb4(0x33b)]({'options':{..._0x4dae1d,..._0xc9647e},'args':[_0x5ccde7],'tdx':_0x37d9fe});gracefulExit(_0x1ca19c);}),workflowCmd[a2_0x258ec9(0x1fb)]('run\x20[workflow]')['description'](a2_0x258ec9(0x177))[a2_0x258ec9(0x251)](a2_0x258ec9(0x327),'Workflow\x20parameter\x20(repeatable)',(_0x20dd92,_0x575c19=[])=>[..._0x575c19,_0x20dd92],[])[a2_0x258ec9(0x251)](a2_0x258ec9(0x181),a2_0x258ec9(0x239))['action'](async(_0x3190db,_0x409423)=>{const _0x4a8cd0=a2_0x258ec9,_0x922b3c=new WorkflowRunCommand(),_0x286336=program[_0x4a8cd0(0x329)](),_0x3fa253=await createTDXInstance(_0x286336),_0x38b558=await _0x922b3c[_0x4a8cd0(0x33b)]({'options':{..._0x286336,..._0x409423},'args':_0x3190db?[_0x3190db]:[],'tdx':_0x3fa253});gracefulExit(_0x38b558);}),workflowCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x12a))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x37f))[a2_0x258ec9(0x251)](a2_0x258ec9(0x20f),a2_0x258ec9(0x39a))[a2_0x258ec9(0x2cd)](async(_0x4159b9,_0x49719a,_0x230532)=>{const _0x9f3681=a2_0x258ec9,_0xc400f0=new WorkflowDownloadCommand(),_0x2e09e4=program[_0x9f3681(0x329)](),_0x12eea3=await createTDXInstance(_0x2e09e4),_0x57d21e=await _0xc400f0[_0x9f3681(0x33b)]({'options':{..._0x2e09e4,..._0x230532},'args':[_0x4159b9,_0x49719a||'.'],'tdx':_0x12eea3});gracefulExit(_0x57d21e);}),workflowCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x2af))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x35f))['option'](a2_0x258ec9(0x20f),a2_0x258ec9(0x258))[a2_0x258ec9(0x251)](a2_0x258ec9(0x1fa),a2_0x258ec9(0x23a))['action'](async(_0x29a45d,_0x227e07,_0x5e24b8)=>{const _0x3c2e8e=a2_0x258ec9,_0x33f5a5=new WorkflowPullCommand(),_0xcb55c9=program[_0x3c2e8e(0x329)](),_0xe09965=await createTDXInstance(_0xcb55c9),_0x2f60e0=await _0x33f5a5[_0x3c2e8e(0x33b)]({'options':{..._0xcb55c9,..._0x5e24b8},'args':_0x227e07?[_0x29a45d,_0x227e07]:[_0x29a45d],'tdx':_0xe09965});gracefulExit(_0x2f60e0);}),workflowCmd['command']('push\x20[source-dir]')['description'](a2_0x258ec9(0x416))[a2_0x258ec9(0x251)](a2_0x258ec9(0x20f),a2_0x258ec9(0x2b5))[a2_0x258ec9(0x251)](a2_0x258ec9(0x1fa),a2_0x258ec9(0x235))[a2_0x258ec9(0x251)](a2_0x258ec9(0x16a),a2_0x258ec9(0x2ca))[a2_0x258ec9(0x2cd)](async(_0x2376a7,_0x4a746c)=>{const _0xadf056=a2_0x258ec9,_0x2aa5b2=new WorkflowPushCommand(),_0x5768c5=program[_0xadf056(0x329)](),_0xea91c2=await createTDXInstance(_0x5768c5),_0x595c35=await _0x2aa5b2[_0xadf056(0x33b)]({'options':{..._0x5768c5,..._0x4a746c},'args':_0x2376a7?[_0x2376a7]:[],'tdx':_0xea91c2});gracefulExit(_0x595c35);}),workflowCmd['command'](a2_0x258ec9(0x1ba))['description'](a2_0x258ec9(0x428))['option'](a2_0x258ec9(0x373),a2_0x258ec9(0x2cb))[a2_0x258ec9(0x251)]('--revision\x20<revision>','Revision\x20name\x20(default:\x20timestamp)')[a2_0x258ec9(0x251)](a2_0x258ec9(0x16a),a2_0x258ec9(0x2ca))[a2_0x258ec9(0x2cd)](async(_0x1b9e79,_0x1fd1f0)=>{const _0x549402=a2_0x258ec9,_0x2c0414=new WorkflowUploadCommand(),_0x9ef7d7=program[_0x549402(0x329)](),_0x526f29=await createTDXInstance(_0x9ef7d7),_0x2fe573=await _0x2c0414['run']({'options':{..._0x9ef7d7,..._0x1fd1f0},'args':_0x1b9e79?[_0x1b9e79]:[],'tdx':_0x526f29});gracefulExit(_0x2fe573);}),workflowCmd[a2_0x258ec9(0x1fb)]('clone\x20[source-dir]')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x2bf))['option'](a2_0x258ec9(0x373),a2_0x258ec9(0x172))[a2_0x258ec9(0x251)](a2_0x258ec9(0x20f),a2_0x258ec9(0x2b5))[a2_0x258ec9(0x251)](a2_0x258ec9(0x1fa),'Preview\x20without\x20creating\x20the\x20project')[a2_0x258ec9(0x251)](a2_0x258ec9(0x16a),a2_0x258ec9(0x2ca))[a2_0x258ec9(0x2cd)](async(_0x3b96a5,_0x3e39c3)=>{const _0x3d509b=a2_0x258ec9,_0x17487f=new WorkflowCloneCommand(),_0x2b348c=program[_0x3d509b(0x329)](),_0x1d2bd4=await createTDXInstance(_0x2b348c),_0x2676e=await _0x17487f[_0x3d509b(0x33b)]({'options':{..._0x2b348c,..._0x3e39c3},'args':_0x3b96a5?[_0x3b96a5]:[],'tdx':_0x1d2bd4});gracefulExit(_0x2676e);}),workflowCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x11c))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x18a))['action'](async(_0x16d2a4,_0x44efa1)=>{const _0x4fd7f6=a2_0x258ec9,_0xff5219=new WorkflowDeleteCommand(),_0x5b763f=program['opts'](),_0x2c3469=await createTDXInstance(_0x5b763f),_0x38ad6a=await _0xff5219[_0x4fd7f6(0x33b)]({'options':{..._0x5b763f,..._0x44efa1},'args':[_0x16d2a4],'tdx':_0x2c3469});gracefulExit(_0x38ad6a);}),workflowCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x3eb))['description'](a2_0x258ec9(0x3cc))[a2_0x258ec9(0x251)](a2_0x258ec9(0x36f),a2_0x258ec9(0x19f))[a2_0x258ec9(0x2cd)](async(_0x28ebe6,_0x249f61)=>{const _0x1a1b78=a2_0x258ec9,_0x42ca5a=new WorkflowUseCommand(),_0x1f7c11=program[_0x1a1b78(0x329)](),_0x29c942=await createTDXInstance(_0x1f7c11),_0x59b1b4=await _0x42ca5a[_0x1a1b78(0x33b)]({'options':{..._0x1f7c11,..._0x249f61},'args':_0x28ebe6?[_0x28ebe6]:[],'tdx':_0x29c942});gracefulExit(_0x59b1b4);});const wfSecretsCmd=workflowCmd[a2_0x258ec9(0x1fb)]('secrets')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x1b7));wfSecretsCmd[a2_0x258ec9(0x1fb)]('list\x20[project]')['description'](a2_0x258ec9(0x175))[a2_0x258ec9(0x2cd)](async(_0x49265a,_0x49d3a8)=>{const _0xa0446c=a2_0x258ec9,_0x1c0793=new WorkflowSecretsListCommand(),_0xd0da36=program[_0xa0446c(0x329)](),_0x544f5c=await createTDXInstance(_0xd0da36),_0x42a926=await _0x1c0793[_0xa0446c(0x33b)]({'options':{..._0xd0da36,..._0x49d3a8},'args':_0x49265a?[_0x49265a]:[],'tdx':_0x544f5c});gracefulExit(_0x42a926);}),wfSecretsCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x33a))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x275))[a2_0x258ec9(0x2cd)](async(_0x3efce5,_0x560193)=>{const _0x28381c=new WorkflowSecretsSetCommand(),_0xe81d63=program['opts'](),_0x1077a1=await createTDXInstance(_0xe81d63),_0x50e929=await _0x28381c['run']({'options':{..._0xe81d63,..._0x560193},'args':_0x3efce5,'tdx':_0x1077a1});gracefulExit(_0x50e929);}),wfSecretsCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x176))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x344))[a2_0x258ec9(0x2cd)](async(_0x56345f,_0x5e55d0)=>{const _0x577686=a2_0x258ec9,_0x39384c=new WorkflowSecretsDeleteCommand(),_0xf496b2=program['opts'](),_0x3d4e51=await createTDXInstance(_0xf496b2),_0x59346f=await _0x39384c[_0x577686(0x33b)]({'options':{..._0xf496b2,..._0x5e55d0},'args':_0x56345f,'tdx':_0x3d4e51});gracefulExit(_0x59346f);});const jobCmd=program[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x1a1))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x3a0)),jobListAction=async _0x51a34d=>{const _0x21d525=a2_0x258ec9,_0x5985e1=new JobListCommand(),_0x55e7f6=program[_0x21d525(0x329)](),_0x20416a=await createTDXInstance(_0x55e7f6),_0x4f11ba=await _0x5985e1[_0x21d525(0x33b)]({'options':{..._0x55e7f6,..._0x51a34d},'args':[],'tdx':_0x20416a});gracefulExit(_0x4f11ba);};jobCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x158))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x121))[a2_0x258ec9(0x251)](a2_0x258ec9(0x3ef),a2_0x258ec9(0x3b1))['action'](jobListAction),program[a2_0x258ec9(0x1fb)]('jobs',{'hidden':!![]})[a2_0x258ec9(0x3cb)]('List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)')[a2_0x258ec9(0x251)](a2_0x258ec9(0x3ef),a2_0x258ec9(0x3b1))['action'](jobListAction),jobCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x1fe))['description'](a2_0x258ec9(0x155))[a2_0x258ec9(0x2cd)](async(_0x27095d,_0x3b3882)=>{const _0xb3d009=a2_0x258ec9,_0x13cf14=new JobShowCommand(),_0x53927c=program[_0xb3d009(0x329)](),_0x1f503f=await createTDXInstance(_0x53927c),_0x3a6424=await _0x13cf14[_0xb3d009(0x33b)]({'options':{..._0x53927c,..._0x3b3882},'args':[_0x27095d],'tdx':_0x1f503f});gracefulExit(_0x3a6424);}),jobCmd['command'](a2_0x258ec9(0x3bd))['description'](a2_0x258ec9(0x27c))['action'](async(_0x484ab3,_0x2218a5)=>{const _0xcab22e=a2_0x258ec9,_0x8616be=new JobKillCommand(),_0x477f07=program[_0xcab22e(0x329)](),_0x461569=await createTDXInstance(_0x477f07),_0x1fde8b=await _0x8616be[_0xcab22e(0x33b)]({'options':{..._0x477f07,..._0x2218a5},'args':[_0x484ab3],'tdx':_0x461569});gracefulExit(_0x1fde8b);}),jobCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x23f))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x368))['option'](a2_0x258ec9(0x254),a2_0x258ec9(0x32e),a2_0x258ec9(0x2f8))['option'](a2_0x258ec9(0x38a),a2_0x258ec9(0xfd))[a2_0x258ec9(0x251)](a2_0x258ec9(0x138),'Database\x20name\x20(default:\x20information_schema)',a2_0x258ec9(0x183))[a2_0x258ec9(0x251)](a2_0x258ec9(0x377),'Result\x20export\x20destination\x20(URL\x20or\x20JSON)')['action'](async(_0x5e6510,_0x3143af)=>{const _0x56b229=a2_0x258ec9,_0x4f63d5=new JobSubmitCommand(),_0x15d96c=program['opts'](),_0x1d5ac4=await createTDXInstance(_0x15d96c),_0x12689e=await _0x4f63d5[_0x56b229(0x33b)]({'options':{..._0x15d96c,..._0x3143af},'args':_0x5e6510?[_0x5e6510]:[],'tdx':_0x1d5ac4});gracefulExit(_0x12689e);}),jobCmd[a2_0x258ec9(0x1fb)]('result\x20<job-id>')['description'](a2_0x258ec9(0x1b9))[a2_0x258ec9(0x2cd)](async(_0x18c7f1,_0x31c86b)=>{const _0x3ed31a=a2_0x258ec9,_0x2653ac=new JobResultCommand(),_0x15b3b9=program['opts'](),_0x49e27f=await createTDXInstance(_0x15b3b9),_0x1259dd=await _0x2653ac[_0x3ed31a(0x33b)]({'options':{..._0x15b3b9,..._0x31c86b},'args':[_0x18c7f1],'tdx':_0x49e27f});gracefulExit(_0x1259dd);});const scheduleCmd=jobCmd['command']('schedule')[a2_0x258ec9(0x3cb)]('Scheduled\x20query\x20management\x20commands');scheduleCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x385))['description'](a2_0x258ec9(0x212))['action'](async(_0x408197,_0x944f0)=>{const _0x464aa4=a2_0x258ec9,_0x25180a=new ScheduleListCommand(),_0x308535=program[_0x464aa4(0x329)](),_0x5c8051=await createTDXInstance(_0x308535),_0x14c0a7=await _0x25180a[_0x464aa4(0x33b)]({'options':{..._0x308535,..._0x944f0},'args':_0x408197?[_0x408197]:[],'tdx':_0x5c8051});gracefulExit(_0x14c0a7);}),scheduleCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x404))[a2_0x258ec9(0x3cb)]('Show\x20schedule\x20details')[a2_0x258ec9(0x2cd)](async(_0x3f8129,_0x4d57bf)=>{const _0x2a748f=a2_0x258ec9,_0x210a33=new ScheduleShowCommand(),_0x34975f=program[_0x2a748f(0x329)](),_0x30594b=await createTDXInstance(_0x34975f),_0x509b02=await _0x210a33['run']({'options':{..._0x34975f,..._0x4d57bf},'args':[_0x3f8129],'tdx':_0x30594b});gracefulExit(_0x509b02);}),scheduleCmd['command'](a2_0x258ec9(0x383))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x3f9))['option'](a2_0x258ec9(0x11b),a2_0x258ec9(0x38f))[a2_0x258ec9(0x251)](a2_0x258ec9(0x14a),a2_0x258ec9(0x2c8))[a2_0x258ec9(0x3be)](a2_0x258ec9(0x38a),a2_0x258ec9(0xfd))[a2_0x258ec9(0x251)](a2_0x258ec9(0x130),a2_0x258ec9(0x372),a2_0x258ec9(0x2f8))[a2_0x258ec9(0x251)](a2_0x258ec9(0x224),a2_0x258ec9(0x216))[a2_0x258ec9(0x251)](a2_0x258ec9(0x2bc),a2_0x258ec9(0x2a0))[a2_0x258ec9(0x251)](a2_0x258ec9(0x3c4),a2_0x258ec9(0x126))[a2_0x258ec9(0x251)](a2_0x258ec9(0x2b4),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x258ec9(0x251)]('--retry-limit\x20<0~32>',a2_0x258ec9(0x283))[a2_0x258ec9(0x251)](a2_0x258ec9(0x34a),'Query\x20engine\x20version')[a2_0x258ec9(0x251)](a2_0x258ec9(0x1ea),a2_0x258ec9(0x11d))[a2_0x258ec9(0x2cd)](async(_0x552ed5,_0x258293)=>{const _0x4c4417=new ScheduleCreateCommand(),_0x30f2bb=program['opts'](),_0x4140b9=await createTDXInstance(_0x30f2bb);_0x258293['in']&&(_0x258293['database']=_0x258293['in']);const _0x553b97=await _0x4c4417['run']({'options':{..._0x30f2bb,..._0x258293},'args':[_0x552ed5],'tdx':_0x4140b9});gracefulExit(_0x553b97);}),scheduleCmd['command']('update\x20<name>')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x3e1))['option'](a2_0x258ec9(0x11b),a2_0x258ec9(0x1d9))['option']('--in\x20<db>',a2_0x258ec9(0x2c8))[a2_0x258ec9(0x251)](a2_0x258ec9(0x38a),a2_0x258ec9(0xfd))[a2_0x258ec9(0x251)](a2_0x258ec9(0x130),a2_0x258ec9(0x372))['option'](a2_0x258ec9(0x224),a2_0x258ec9(0x216))[a2_0x258ec9(0x251)](a2_0x258ec9(0x2bc),a2_0x258ec9(0x3ca))['option'](a2_0x258ec9(0x3c4),a2_0x258ec9(0x126))[a2_0x258ec9(0x251)](a2_0x258ec9(0x2b4),a2_0x258ec9(0x10c))['option'](a2_0x258ec9(0x17c),a2_0x258ec9(0x283))['option'](a2_0x258ec9(0x34a),a2_0x258ec9(0x2e1))[a2_0x258ec9(0x251)](a2_0x258ec9(0x1ea),a2_0x258ec9(0x11d))['action'](async(_0x2ffe7a,_0x26dec6)=>{const _0x5b0f5a=a2_0x258ec9,_0x4b6b28=new ScheduleUpdateCommand(),_0x2f1b08=program['opts'](),_0x11b090=await createTDXInstance(_0x2f1b08);_0x26dec6['in']&&(_0x26dec6[_0x5b0f5a(0x370)]=_0x26dec6['in']);const _0x1411b0=await _0x4b6b28[_0x5b0f5a(0x33b)]({'options':{..._0x2f1b08,..._0x26dec6},'args':[_0x2ffe7a],'tdx':_0x11b090});gracefulExit(_0x1411b0);}),scheduleCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x1e7))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x11a))['action'](async(_0x999822,_0x4dc8e3)=>{const _0x2e1e11=a2_0x258ec9,_0x3af35c=new ScheduleDeleteCommand(),_0x5f208a=program[_0x2e1e11(0x329)](),_0x568d71=await createTDXInstance(_0x5f208a),_0x480e49=await _0x3af35c['run']({'options':{..._0x5f208a,..._0x4dc8e3},'args':[_0x999822],'tdx':_0x568d71});gracefulExit(_0x480e49);}),scheduleCmd[a2_0x258ec9(0x1fb)]('run\x20<name>')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x29c))['option']('--time\x20<iso8601>',a2_0x258ec9(0x2f4))[a2_0x258ec9(0x251)](a2_0x258ec9(0x338),a2_0x258ec9(0x37b))['action'](async(_0xc0760d,_0x2554ad)=>{const _0x4038fc=a2_0x258ec9,_0x3b9e31=new ScheduleRunCommand(),_0x34cbd1=program['opts'](),_0x3dbcc3=await createTDXInstance(_0x34cbd1),_0x359f91=await _0x3b9e31[_0x4038fc(0x33b)]({'options':{..._0x34cbd1,..._0x2554ad},'args':[_0xc0760d],'tdx':_0x3dbcc3});gracefulExit(_0x359f91);}),scheduleCmd['command'](a2_0x258ec9(0x3c5))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x2f0))[a2_0x258ec9(0x251)](a2_0x258ec9(0x402),a2_0x258ec9(0x11f))[a2_0x258ec9(0x251)](a2_0x258ec9(0x209),a2_0x258ec9(0x38b))[a2_0x258ec9(0x2cd)](async(_0x2e3d80,_0x3e68a6)=>{const _0x1ec3a3=a2_0x258ec9,_0x3b620f=new ScheduleHistoryCommand(),_0xa1c7b3=program['opts'](),_0x2eaad8=await createTDXInstance(_0xa1c7b3),_0x38148b=await _0x3b620f[_0x1ec3a3(0x33b)]({'options':{..._0xa1c7b3,..._0x3e68a6},'args':[_0x2e3d80],'tdx':_0x2eaad8});gracefulExit(_0x38148b);});const llmCmd=program[a2_0x258ec9(0x1fb)]('llm')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x1d8));llmCmd['command']('use\x20<project-name>')['description'](a2_0x258ec9(0x2d1))[a2_0x258ec9(0x2cd)](async(_0x55bb48,_0x2acc31)=>{const _0x364479=a2_0x258ec9,_0x39e47e=new LLMUseCommand(),_0xc8e7f9=program['opts'](),_0x24ab1e=await createTDXInstance(_0xc8e7f9),_0xf8793=await _0x39e47e[_0x364479(0x33b)]({'options':{..._0xc8e7f9,..._0x2acc31},'args':[_0x55bb48],'tdx':_0x24ab1e});gracefulExit(_0xf8793);}),llmCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x284))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x149))[a2_0x258ec9(0x2cd)](async _0x2e54cd=>{const _0x27d77d=a2_0x258ec9,_0x765cb8=new LLMModelsCommand(),_0x13c44b=program[_0x27d77d(0x329)](),_0x2e537b=await createTDXInstance(_0x13c44b),_0x557897=await _0x765cb8[_0x27d77d(0x33b)]({'options':{..._0x13c44b,..._0x2e54cd},'args':[],'tdx':_0x2e537b});gracefulExit(_0x557897);});function a2_0x3b2d(){const _0xa053ab=['Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','registeredArguments','List\x20all\x20data\x20connections','login','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','subcommandDescription','Delete\x20a\x20workspace','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','parse','Pull\x20campaigns\x20to\x20YAML\x20files','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','attempt','history\x20[chat-id]','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','commandDescription','Output\x20directory','Read\x20request\x20body\x20from\x20file','Timezone\x20(e.g.,\x20America/Los_Angeles)','chdir','End\x20time\x20filter\x20(ISO\x208601\x20format)','optionDescription','parent-segment','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Show\x20master\x20table\x20sample\x20data','isArray','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Campaign\x20name','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Kill\x20a\x20job','Force\x20retry\x20even\x20if\x20not\x20failed','--stage\x20<name>','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','--chat-id\x20<id>','--start-at\x20<datetime>','--data\x20<data>','Retry\x20limit\x20(0\x20to\x2032)','models','beefree','Workspace\x20description','Workspace\x20name\x20(required)','--schedule-option\x20<value>','Create\x20a\x20workspace','_list-commands','auth','run\x20[name]','List\x20journeys\x20in\x20current\x20context','Personalization\x20service\x20token\x20management','--limit\x20<n>','setup','user','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','forEach','JSON\x20columns\x20for\x20connector\x20(comma-separated)','always-on-campaigns\x20[pattern]','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Validate\x20journey\x20YAML\x20files\x20locally','Delete\x20a\x20campaign','tdx','Run\x20a\x20scheduled\x20query\x20immediately','journeys\x20[pattern]','connection','tsv','Timezone\x20for\x20cron\x20(default:\x20UTC)','Maximum\x20rows\x20to\x20display','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','workspaces\x20[pattern]','--include-retried','Service\x20description','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Invalid\x20editor\x20type:\x20','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a','Push\x20YAML\x20files\x20to\x20CAS\x20API','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','List\x20journeys\x20(alias\x20for\x20journey\x20list)','argumentTerm','segment','3598904XaKtWN','pull\x20<project>\x20[target-dir]','Pull\x20specific\x20template\x20by\x20name','list\x20[audience_name]','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','--priority\x20<-2~2>','Custom\x20revision\x20name\x20(default:\x20timestamp)','Path\x20is\x20not\x20a\x20directory:\x20','pull\x20[name]','tdx\x20','33TyDrpK','agents\x20[pattern]','Duplicate\x20an\x20always-on\x20campaign','--timezone\x20<tz>','Create\x20an\x20email\x20template','--method\x20<pm>','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','--resume-from\x20<task>','5nlXjyo','-f,\x20--force','Output\x20folder\x20(default:\x20{project_name}.llm)','gitRevision','Template\x20name','Always-on\x20campaign\x20management','--to\x20<date>','Alias\x20for\x20--database\x20(natural\x20language\x20style)','attempts\x20[project]','Skip\x20validation\x20of\x20.dig\x20files','Override\x20project\x20name','stderr','action','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','--last','delete\x20<service_id>\x20[parent_segment]','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','--enriched','Show\x20all\x20files\x20including\x20valid\x20ones','Start\x20time\x20filter\x20(ISO\x208601\x20format)','resume\x20<name-or-path>','clear','pull\x20[project]\x20[agent-name]','[action]','use\x20<name>','flatMap','templates\x20[pattern]','profiles','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','campaigns\x20[pattern]','Behaviors\x20from\x20JSON\x20file','Open\x20parent\x20segment\x20in\x20web\x20browser','Query\x20engine\x20version','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','update\x20<name-or-id>','--folder\x20<name>','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','grapesjs','timeout','--model\x20<name>','--json-columns\x20<cols>','Delete\x20an\x20LLM\x20project','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','sql\x20[name]','GET','Assignee','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','Show\x20schedule\x20execution\x20history','resume\x20<name-or-id>','-d,\x20--database\x20<database>','Show\x20journey\x20details','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)',',\x20version\x20','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','Token\x20description','trino','set\x20<key=value>','--interval\x20<range>','jsonl','Show\x20a\x20specific\x20realtime\x20personalization','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','-r,\x20--resume','create\x20<name>\x20[parent_segment]','List\x20all\x20available\x20profiles','format','75574EqQSzT','view\x20[segment_name]','--description\x20<desc>','\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','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','\x20(resolved\x20to\x20','duplicate\x20<name-or-id>','--limit\x20<number>','show\x20<policy>','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','Trino\x20catalog\x20(default:\x20td)','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Email\x20template\x20management','databases\x20[pattern]','Personalization\x20description','connections','--json','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','Show\x20always-on\x20campaign\x20details','variadic','name','--html-file\x20<path>','LLM\x20project\x20management','Link\x20workspace\x20to\x20a\x20GitHub\x20repository','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Show\x20timeline\x20for\x20specific\x20attempt','folders\x20<parent_name>','project','preview\x20[file]','-o,\x20--output\x20<folder>','links\x20<name>','--full','New\x20campaign\x20name','-o,\x20--output\x20<dir>','[EXPERIMENTAL]\x20Show\x20chat\x20log','--param\x20<key=value>','argumentDescription','opts','RT\x202.0\x20configuration\x20management','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','--rule-file\x20<file>','Show\x20segment\x20details\x20(alias\x20for\x20view)','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','colorFn','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','aliases','validate\x20[file]','log','--to\x20<timestamp>','--num\x20<1-10>','Resume\x20a\x20conversation\x20(shows\x20selector)','set\x20<args...>','run','New\x20template\x20name','map','alias','--help','Pause\x20a\x20campaign','--verbose','--account-name\x20<name>','--table\x20<table>','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','Save\x20output\x20to\x20file','argument','--default','Customer\x20group\x20as\x20JSON\x20string','columns\x20<name-or-path>','--engine-version\x20<version>','stdout','addHelpText','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','validate\x20[target]','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','fields\x20[name]','--add-attributes\x20<json>','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','pause_activations\x20<journeyId>','0.7','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','Preview\x20operation\x20without\x20executing','User\x20management\x20commands','users','Show\x20authentication\x20status\x20and\x20current\x20context','show\x20[table]','logLevel','Pull\x20workflow\x20project\x20to\x20local\x20folder','Master\x20database\x20name','Show\x20Kanban\x20board\x20view\x20of\x20tasks','--include-stats','17345lGJKIV','Email\x20subject\x20template','push\x20[file]','optionTerm','list\x20[project]','Submit\x20a\x20job','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','\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','Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Target\x20directory\x20for\x20YAML\x20files','--allowed-ips\x20<ips>','--clear','database','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Query\x20type:\x20trino\x20or\x20hive','--name\x20<name>','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','Directory\x20does\x20not\x20exist:\x20','version','--result\x20<target>','Agent\x20description','-1d','--format\x20<format>','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','--params\x20<json>','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','create','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','then','--audience\x20<name>','delete\x20<name-or-id>','create\x20<name>','Apply\x20a\x20template','list\x20[pattern]','\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','--debug','service','Update\x20an\x20email\x20template','-f,\x20--file\x20<path>','Ending\x20offset\x20(default:\x2020)','Agent\x20prompt/instructions','us01','engage_workspace','Database\x20name\x20(required)','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','--days\x20<n>','preview\x20[name]','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','trace','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Workflow\x20project\x20management','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','init\x20[name]','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','view\x20<name-or-path>','length','Update\x20a\x20realtime\x20personalization\x20entity','Check\x20for\x20updates\x20without\x20installing','Overwrite\x20existing\x20profile','Job\x20management\x20commands','sql\x20[segment_name]','Overwrite\x20local\x20changes\x20without\x20confirmation','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Skip\x20confirmation\x20prompt','noColor','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','--kind\x20<type>','--starter-message\x20<text>','Enable\x20UTM\x20tracking','Update\x20a\x20campaign','upgrade','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','--yes','create\x20<segment_name>','Include\x20all\x20items\x20(no\x20stale\x20filtering)','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','allowExcessArguments','senders\x20[pattern]','Initialize\x20a\x20new\x20workspace','pause\x20<name-or-id>','site','--attribute\x20[name]','includes','options','--attributes\x20<json>','use\x20<path>','--customer-group-file\x20<file>','kill\x20<job-id>','requiredOption','Segment\x20description','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','sessions\x20[project]','list\x20[name]','--delay\x20<seconds>','history\x20<name>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','-n,\x20--name\x20<name>','Open\x20segment\x20in\x20web\x20browser','Timezone\x20for\x20cron','description','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','--editor-type\x20<type>','desc\x20[segment_name]','--session-id\x20<id>','create\x20<name-or-path>','--customer-group\x20<json>','Action:\x20logs,\x20tasks,\x20kill,\x20retry','injectIntoOptions','mcp','-r,\x20--recursive','--path\x20<file-path>','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','-a,\x20--agent\x20<name>','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','unset\x20<resource>','Add\x20attributes\x20as\x20JSON\x20string','--trace','Run\x20specific\x20tests\x20(comma-separated)','--session\x20<id>','Update\x20a\x20scheduled\x20query','desc\x20[name]','--schedule-type\x20<type>','replace','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','validate\x20[name]','Delete\x20an\x20email\x20template','create\x20<name>\x20<service_id>\x20[parent_segment]','preview\x20<segment_name>','use\x20[project]','Get\x20current\x20RT\x20configuration\x20version\x20status','statusline','use\x20[name]','--status\x20<status>','remove\x20<name>','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','Campaign\x20description','--table','--no-color','Options:','show\x20<personalization_id>','attempt:','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Create\x20a\x20scheduled\x20query','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Plaintext\x20template\x20content','delete\x20<token_id>\x20[parent_segment]','--audience-id\x20<id>','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Invalid\x20--limit\x20value:\x20\x22','--from\x20<n>','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','show\x20<name>','Pause\x20an\x20always-on\x20campaign','Change\x20to\x20directory\x20before\x20executing\x20command','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','_hidden','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','392cYbovW','--file\x20<path>','--reeval','--temperature\x20<n>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','--no-eval','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','AI-native\x20CLI\x20for\x20Treasure\x20Data','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Campaign\x20management','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','--timeout\x20<seconds>','createAsync','Output\x20as\x20JSON\x20Lines','Personalization\x20name','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','--behavior\x20[name]','Resume\x20activations\x20in\x20an\x20RT\x20journey','Master\x20table\x20name','list\x20[path]','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','workflow','List\x20email\x20senders','New\x20service\x20description','Delivery\x20operations\x20(email\x20senders)','--max-depth\x20<depth>','Show\x20only\x20master\x20table\x20validation','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','Skip\x20confirmation\x20prompts','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','--in\x20<database>','Workflow\x20(Digdag)\x20management\x20commands','Parent\x20segment\x20management','Setup\x20API\x20key\x20authentication\x20interactively','Read\x20query\x20from\x20file','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','--behaviors\x20<json>','parents\x20[pattern]','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','required','[attempt-id]','Run\x20Trino\x20query\x20with\x20streaming\x20results','configureHelp','316670zJmYxp','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','--version','Reason\x20for\x20killing\x20the\x20attempt','join','parent','Job\x20priority\x20(-2\x20to\x202)','outputHelp','-C,\x20--directory\x20<path>','Show\x20document\x20details','--template\x20<name>','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','--version\x20<number>','new\x20<title>','Resume\x20a\x20paused\x20always-on\x20campaign','--enable-utm-tracking','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Make\x20segment\x20invisible\x20(default:\x20visible)','split','show\x20<agent-name>','Delete\x20a\x20scheduled\x20query','-d,\x20--database\x20<db>','delete\x20<project-name-or-id>','Result\x20output\x20destination\x20URL','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Starting\x20offset\x20(default:\x200)','List\x20all\x20versions\x20of\x20a\x20journey','List\x20jobs','Agent\x20name','Update\x20an\x20existing\x20agent','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Include\x20subtasks\x20in\x20tasks\x20output','Delay\x20in\x20seconds\x20before\x20execution','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','--add-behaviors-file\x20<file>','Resume\x20a\x20paused\x20journey','download\x20<project-name>\x20[output-dir]','Project\x20description','--from\x20<timestamp>','engage','--attempt-id\x20<id>','audience','--type\x20<type>','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','work','[options]\x20--\x20[claude-code-args...]','--new','apiKey','LLM\x20project\x20to\x20use\x20(overrides\x20context)','info\x20[segment_name]','--database\x20<name>','-o,\x20--output\x20<file>','workspace','2273940YftFPc','Skip\x20population\x20counting','Initial\x20status','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','argv','show\x20[segment_name]','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Sections\x20as\x20an\x20inline\x20JSON\x20array','Preview\x20composable\x20segment\x20query\x20on\x20CDW','Update\x20an\x20always-on\x20campaign','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','table','List\x20available\x20LLM\x20models','--in\x20<db>','projects\x20[pattern]','--llm-project\x20<name>','Make\x20service\x20public\x20(default:\x20private)','show\x20<service_id>\x20[parent_segment]','--dir\x20<dir>','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Interactive\x20chat\x20selector','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','--catalog\x20<catalog>','Continue\x20most\x20recent\x20conversation','Show\x20job\x20details','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20ap01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a','update\x20<service_id>\x20[parent_segment]','list','Read\x20HTML\x20template\x20from\x20file','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','push\x20[name]','Start\x20a\x20new\x20chat\x20session','Workflow\x20attempt\x20management','buildTime','update\x20<name>','Create\x20segment\x20folder','Resume\x20a\x20paused\x20campaign','set','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','--name\x20<names>','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','--skip-validation','Filtering\x20rule\x20from\x20JSON\x20file','--priority\x20<priority>','show\x20[name]','--include-subtasks','directory','--github\x20<owner/repo>','Set\x20a\x20profile\x20configuration\x20value','Name\x20for\x20the\x20new\x20project\x20(required)','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','patch\x20<personalization_id>','List\x20secret\x20keys\x20for\x20a\x20project','delete\x20<args...>','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','campaign','CDP\x20segment\x20management\x20commands','repeat','--folder-id\x20<id>','--retry-limit\x20<0~32>','LLM\x20agent\x20management','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','Data\x20connection\x20management\x20(for\x20activations/exports)','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','--session-time\x20<time>','--name\x20<new-name>','information_schema','New\x20segment\x20name','Comma-separated\x20tags','Transition\x20a\x20task\x20to\x20a\x20new\x20status','hook','create\x20<parent_name>\x20<folder_name>','Pull\x20child\x20segments\x20to\x20YAML\x20files','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','query\x20[sql]','padWidth','Email\x20sender\x20ID\x20for\x20delivery','Updated\x20timezone','--delete','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Resume\x20from\x20specific\x20task\x20(retry)','Journey\x20version\x20management','error','Push\x20without\x20confirmation','Show\x20the\x20most\x20recent\x20chat','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','--system-prompt\x20<text>','Show\x20email\x20template\x20details','--parent-folder\x20<name>','Behaviors\x20as\x20JSON\x20string','Personalization\x20service\x20management','-c,\x20--continue','Clear\x20workflow\x20project\x20context','--subject\x20<subject>','job','--tags\x20<tags>','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Delete\x20an\x20agent','--plaintext\x20<text>','--site\x20<site>','after','--add-attributes-file\x20<file>','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','commands','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','slice','--include-history','Update\x20a\x20workspace','finish\x20<name-or-id>','Output\x20file\x20path','template','use\x20[resource]\x20[value]','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','backup\x20<name>','versions\x20<name-or-path>','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Manage\x20workflow\x20project\x20secrets','delete\x20<personalization_id>','Get\x20job\x20results','upload\x20[project-name-or-dir]','Updated\x20schedule\x20option','...','Pull\x20specific\x20campaign\x20by\x20name','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','policy','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','journey','Open\x20a\x20document\x20in\x20$EDITOR','--html\x20<html>','41377FPxqCA','settings\x20<type>','Filtering\x20rule\x20as\x20JSON\x20string','Show\x20what\x20would\x20be\x20written\x20without\x20writing','fields\x20[parent_name]','push\x20[path]','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','isDirectory','push\x20[parent_or_file]','cas','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Show\x20items\x20updated\x20within\x20N\x20days','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','\x22.\x20Must\x20be\x20a\x20number.','Task\x20name\x20for\x20logs\x20action','Maximum\x20recursion\x20depth\x20(default:\x2010)','logs','-y,\x20--yes','Output\x20as\x20JSON','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Database\x20name','configuration_versions\x20[name]','push','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','delete\x20<agent-name>','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Folder\x20description','subcommandTerm','Run\x20tests\x20for\x20an\x20LLM\x20agent','session','Finish\x20an\x20always-on\x20campaign','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','delete\x20<name>','--name\x20<text>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--result\x20<url>','HTML\x20template\x20content','Delete\x20a\x20realtime\x20personalization','push\x20[target]','catch','Validate\x20campaign\x20YAML\x20files\x20locally','51ADnmpM','Maximum\x20tool\x20iterations\x20(default:\x204)','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Include\x20execution\x20statistics','Maximum\x20number\x20of\x20nodes','New\x20service\x20name','Launch\x20a\x20campaign','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','Include\x20raw\x20history\x20data\x20in\x20output','--dry-run','command','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','Workspace\x20name','show\x20<job-id>','4860348JAkWvy','always-on-campaign','--email-sender-id\x20<id>','List\x20available\x20connector\x20types','Campaign\x20type\x20(email\x20or\x20push)','describe','accessToken','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','help','--follow','--to\x20<n>','Limit\x20number\x20of\x20rows','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','--invisible','--color','--master','--revision\x20<revision>','Show\x20journey\x20statistics','Follow/watch\x20timeline\x20for\x20running\x20attempts','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','INVALID_ARGUMENT','Export\x20journey(s)\x20as\x20YAML\x20files','Add\x20attributes\x20from\x20JSON\x20file','Cron\x20expression\x20for\x20scheduling','Personalization\x20management','types','--segment\x20<path>','create\x20[name]','TRACE','--description\x20<text>','tasks','status','delivery','usage','--workspace\x20<name>','show\x20<folder_ref>','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','--cron\x20<expression>','--sections\x20<json>','Folder\x20name\x20for\x20organization','restore\x20<folder>','--jsonl','--public','isTTY','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','--parent-segment\x20<name>','hidden','--agent\x20<ref>','retry','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Database\x20to\x20query\x20(default:\x20information_schema)','Add\x20behaviors\x20from\x20JSON\x20file','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Move\x20to\x20folder','Preview\x20changes\x20without\x20pushing','AI-native\x20work\x20management','Show\x20segment\x20schema\x20(column\x20types)','Pull\x20templates\x20to\x20YAML\x20files','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Preview\x20changes\x20without\x20writing\x20files','Version\x20number\x20to\x20view','activations\x20<segment_name>','--prompt\x20<text>','--output\x20<file>','submit\x20[query]','Starter\x20message','\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','update\x20<segment_name>','debug','json','Request\x20body\x20as\x20JSON\x20string','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','YAML\x20file\x20path\x20for\x20unpushed\x20segment','show\x20<name-or-id>','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','Add\x20behaviors\x20as\x20JSON\x20string','--no-count-population','-w,\x20--web','--assignee\x20<assignee>','filter','--reason\x20<text>','Include\x20retried\x20attempts','option','--no-proxy','--kind\x20<kind>','--job-type\x20<type>','Unknown\x20action:\x20','allowUnknownOption','segments\x20[path]','Pull\x20specific\x20revision\x20(default:\x20latest)','Name\x20for\x20the\x20duplicated\x20campaign','commandUsage','--attributes-file\x20<file>'];a2_0x3b2d=function(){return _0xa053ab;};return a2_0x3b2d();}const projectCmd=llmCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x31f))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x31a)),llmProjectListAction=async(_0x51ee2a,_0x4aac63)=>{const _0x4febee=a2_0x258ec9,_0x5bcfb9=new LLMProjectsCommand(),_0x26a4c1=program[_0x4febee(0x329)](),_0x2d7667=await createTDXInstance(_0x26a4c1),_0x373f3d=await _0x5bcfb9[_0x4febee(0x33b)]({'options':{..._0x26a4c1,..._0x4aac63},'args':_0x51ee2a?[_0x51ee2a]:[],'tdx':_0x2d7667});gracefulExit(_0x373f3d);};projectCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x385))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x150))[a2_0x258ec9(0x2cd)](llmProjectListAction),llmCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x14b))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x2ce))['action'](llmProjectListAction),projectCmd['command']('create\x20<name>')[a2_0x258ec9(0x3cb)]('Create\x20a\x20new\x20LLM\x20project')[a2_0x258ec9(0x251)](a2_0x258ec9(0x21c),a2_0x258ec9(0x12b))[a2_0x258ec9(0x2cd)](async(_0x349776,_0x1156e0)=>{const _0x5a62a4=a2_0x258ec9,_0x237782=new LLMProjectCreateCommand(),_0x5ee9ba=program[_0x5a62a4(0x329)](),_0x40e5e2=await createTDXInstance(_0x5ee9ba),_0x38b6f6=await _0x237782[_0x5a62a4(0x33b)]({'options':{..._0x5ee9ba,..._0x1156e0},'args':[_0x349776],'tdx':_0x40e5e2});gracefulExit(_0x38b6f6);}),projectCmd[a2_0x258ec9(0x1fb)]('delete\x20<name>')['description'](a2_0x258ec9(0x2ea))['action'](async(_0x1ad7a4,_0x41fba9)=>{const _0x16ddd4=a2_0x258ec9,_0x3f5b49=new LLMProjectDeleteCommand(),_0x2bf2c7=program[_0x16ddd4(0x329)](),_0x321a26=await createTDXInstance(_0x2bf2c7),_0x26ea3e=await _0x3f5b49[_0x16ddd4(0x33b)]({'options':{..._0x2bf2c7,..._0x41fba9},'args':[_0x1ad7a4],'tdx':_0x321a26});gracefulExit(_0x26ea3e);}),projectCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x1b4))['description'](a2_0x258ec9(0x1dd))[a2_0x258ec9(0x251)](a2_0x258ec9(0x321),a2_0x258ec9(0x2c3))[a2_0x258ec9(0x251)](a2_0x258ec9(0x1fa),'Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files')[a2_0x258ec9(0x2cd)](async(_0x686cda,_0x579029)=>{const _0x507bb6=a2_0x258ec9,_0x19cfa3=new LLMProjectBackupCommand(),_0x482a16=program[_0x507bb6(0x329)](),_0x250c12=await createTDXInstance(_0x482a16),_0x299f7f=await _0x19cfa3[_0x507bb6(0x33b)]({'options':{..._0x482a16,..._0x579029},'args':[_0x686cda],'tdx':_0x250c12});gracefulExit(_0x299f7f);}),projectCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x227))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x233))[a2_0x258ec9(0x251)](a2_0x258ec9(0x182),a2_0x258ec9(0x1f8))[a2_0x258ec9(0x251)](a2_0x258ec9(0x1fa),a2_0x258ec9(0x2fd))['action'](async(_0x232f7b,_0x21bf25)=>{const _0x1e595e=a2_0x258ec9,_0x4cbaac=new LLMProjectRestoreCommand(),_0x578d48=program[_0x1e595e(0x329)](),_0x2c7e0f=await createTDXInstance(_0x578d48),_0x37ee5c=await _0x4cbaac[_0x1e595e(0x33b)]({'options':{..._0x578d48,..._0x21bf25},'args':[_0x232f7b],'tdx':_0x2c7e0f});gracefulExit(_0x37ee5c);});const llmAgentListAction=async(_0x452b06,_0x36d376)=>{const _0x1c0ac0=a2_0x258ec9,_0x9944b6=new LLMAgentsCommand(),_0x502315=program[_0x1c0ac0(0x329)](),_0x5cc31d=await createTDXInstance(_0x502315),_0x45c436=await _0x9944b6[_0x1c0ac0(0x33b)]({'options':{..._0x502315,..._0x36d376},'args':_0x452b06?[_0x452b06]:[],'tdx':_0x5cc31d});gracefulExit(_0x45c436);};llmCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x2ba))['description']('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')[a2_0x258ec9(0x2cd)](llmAgentListAction),program[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x2ba))[a2_0x258ec9(0x3cb)]('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')[a2_0x258ec9(0x2cd)](llmAgentListAction),llmCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x26b))[a2_0x258ec9(0x3cb)]('Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)')[a2_0x258ec9(0x251)](a2_0x258ec9(0x2cf),a2_0x258ec9(0x25c))[a2_0x258ec9(0x2cd)](async(_0x55b94a,_0x24b225)=>{const _0x11c5da=a2_0x258ec9,_0x59e23b=new LLMHistoryCommand(),_0x409feb=program[_0x11c5da(0x329)](),_0x92466e=await createTDXInstance(_0x409feb),_0x4e428d=await _0x59e23b['run']({'options':{..._0x409feb,..._0x24b225},'args':_0x55b94a?[_0x55b94a]:[],'tdx':_0x92466e});gracefulExit(_0x4e428d);});isExperimentalAvailable()&&llmCmd[a2_0x258ec9(0x1fb)]('log\x20<chat-id>')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x326))['action'](async(_0x44f26d,_0x41d203)=>{const _0x2850d0=a2_0x258ec9,_0x35617=new LLMLogCommand(),_0xf3eed0=program[_0x2850d0(0x329)](),_0x2c937b=await createTDXInstance(_0xf3eed0),_0x133eb8=await _0x35617[_0x2850d0(0x33b)]({'options':{..._0xf3eed0,..._0x41d203},'args':[_0x44f26d],'tdx':_0x2c937b});gracefulExit(_0x133eb8);});program[a2_0x258ec9(0x1fb)]('claude\x20[args...]')[a2_0x258ec9(0x220)](a2_0x258ec9(0x133))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x268))[a2_0x258ec9(0x251)](a2_0x258ec9(0x19e),a2_0x258ec9(0x154))['option'](a2_0x258ec9(0x2fe),a2_0x258ec9(0x339))[a2_0x258ec9(0x251)](a2_0x258ec9(0x252),a2_0x258ec9(0x1f2))[a2_0x258ec9(0x256)]()[a2_0x258ec9(0x3b2)](!![])[a2_0x258ec9(0x34c)](a2_0x258ec9(0x1a7),a2_0x258ec9(0x15c))['action'](async(_0x24a634,_0x4df502)=>{const _0x497e86=a2_0x258ec9,_0x3216c2=program[_0x497e86(0x329)](),_0x5d1c6c=Array[_0x497e86(0x278)](_0x24a634)?_0x24a634:[];if(_0x5d1c6c[0x0]===_0x497e86(0x3ed)){const _0x3d5a78=new ClaudeStatuslineCommand(),_0x3d9bcd=await _0x3d5a78['run']({'options':{..._0x3216c2,..._0x4df502},'args':_0x5d1c6c[_0x497e86(0x1ac)](0x1),'tdx':null});gracefulExit(_0x3d9bcd);}if(_0x5d1c6c[0x0]===_0x497e86(0x220)){const _0x292278=new ClaudeUsageCommand(),_0x1608cd=await _0x292278[_0x497e86(0x33b)]({'options':{..._0x3216c2,..._0x4df502},'args':_0x5d1c6c[_0x497e86(0x1ac)](0x1),'tdx':null});gracefulExit(_0x1608cd);}const _0x3964b=new ClaudeCommand(),_0x418de6=await createTDXInstance(_0x3216c2),_0x35e0e8=await _0x3964b[_0x497e86(0x33b)]({'options':{..._0x3216c2,..._0x4df502},'args':_0x5d1c6c,'tdx':_0x418de6});gracefulExit(_0x35e0e8);}),program['command'](a2_0x258ec9(0x1b2))['description'](a2_0x258ec9(0x350))[a2_0x258ec9(0x251)](a2_0x258ec9(0x36f),'Clear\x20session\x20context')[a2_0x258ec9(0x251)]('--default',a2_0x258ec9(0x371))[a2_0x258ec9(0x2cd)](async(_0x597fde,_0x1336f6,_0x1121fc)=>{const _0x34e3d6=a2_0x258ec9,_0x4bb136=new UseCommand(),_0xcf774b=program['opts'](),_0x2a80b0=[];if(_0x597fde)_0x2a80b0['push'](_0x597fde);if(_0x1336f6)_0x2a80b0['push'](_0x1336f6);const _0x328420=_0x597fde===_0x34e3d6(0x38e),_0x15e8a0=_0x328420?await createTDXInstance(_0xcf774b):null,_0xa1d48e=await _0x4bb136[_0x34e3d6(0x33b)]({'options':{..._0xcf774b,..._0x1121fc},'args':_0x2a80b0,'tdx':_0x15e8a0});gracefulExit(_0xa1d48e);}),program['command']('status')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x35c))[a2_0x258ec9(0x2cd)](async _0x1b3f95=>{const _0x7ca5a3=a2_0x258ec9,_0x26a684=new StatusCommand(),_0x59fce2=program[_0x7ca5a3(0x329)](),_0x57cc3f=await createTDXInstance(_0x59fce2),_0x24f341=await _0x26a684[_0x7ca5a3(0x33b)]({'options':{..._0x59fce2,..._0x1b3f95},'args':[],'tdx':_0x57cc3f});gracefulExit(_0x24f341);}),program[a2_0x258ec9(0x1fb)]('upgrade\x20[version]')['description'](a2_0x258ec9(0x32c))['option']('--dry-run',a2_0x258ec9(0x39e))[a2_0x258ec9(0x251)]('--next',a2_0x258ec9(0x167))[a2_0x258ec9(0x251)](a2_0x258ec9(0x2be),'Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)')[a2_0x258ec9(0x2cd)](async(_0x3fa4fe,_0x4ba980)=>{const _0x45ad8b=a2_0x258ec9,_0x199883=new UpgradeCommand(),_0x3ac2e3=program[_0x45ad8b(0x329)](),_0x5f3ba8=await _0x199883[_0x45ad8b(0x33b)]({'options':{..._0x3ac2e3,..._0x4ba980},'args':_0x3fa4fe?[_0x3fa4fe]:[],'tdx':null});gracefulExit(_0x5f3ba8);}),program['command'](a2_0x258ec9(0x3dc))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x374))[a2_0x258ec9(0x251)](a2_0x258ec9(0x347),a2_0x258ec9(0x1ce))['action'](async(_0x428fce,_0x21e0b4)=>{const _0x4a02d0=a2_0x258ec9,_0x59dd0c=new UnsetCommand(),_0x2a5f6e=program['opts'](),_0x40ae0d=await _0x59dd0c[_0x4a02d0(0x33b)]({'options':{..._0x2a5f6e,..._0x21e0b4},'args':[_0x428fce],'tdx':null});gracefulExit(_0x40ae0d);}),program['command']('chats')['description'](a2_0x258ec9(0x151))[a2_0x258ec9(0x251)]('--last',a2_0x258ec9(0x197))[a2_0x258ec9(0x2cd)](async _0x36ecbc=>{const _0x3b14a3=a2_0x258ec9,_0x269391=new ChatsCommand(),_0x4a0f81=program[_0x3b14a3(0x329)](),_0x2f06c2=await createTDXInstance(_0x4a0f81),_0x3392a5=await _0x269391[_0x3b14a3(0x33b)]({'options':{..._0x4a0f81,..._0x36ecbc},'args':[],'tdx':_0x2f06c2});gracefulExit(_0x3392a5);});const authCmd=program[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x28b))[a2_0x258ec9(0x3cb)]('Authentication\x20management');async function runAuthStatusCommand(_0x2b35db){const _0x5a920a=a2_0x258ec9,_0x22448e=new AuthStatusCommand(),_0x362c45=program[_0x5a920a(0x329)](),_0x3a2dd9=await createTDXInstance(_0x362c45),_0x875e92=await _0x22448e[_0x5a920a(0x33b)]({'options':{..._0x362c45,..._0x2b35db},'args':[],'tdx':_0x3a2dd9});gracefulExit(_0x875e92);}authCmd[a2_0x258ec9(0x2cd)](runAuthStatusCommand),authCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x21e))['description'](a2_0x258ec9(0x127))[a2_0x258ec9(0x2cd)](runAuthStatusCommand);async function authSetupAction(_0x1394bd){const _0x2493a5=a2_0x258ec9,_0x36a1b6=new AuthSetupCommand(),_0x13306a=program['opts'](),_0x48f50a=await createTDXInstance(_0x13306a),_0x34201d=await _0x36a1b6[_0x2493a5(0x33b)]({'options':{..._0x13306a,..._0x1394bd},'args':[],'tdx':_0x48f50a});gracefulExit(_0x34201d);}authCmd['command'](a2_0x258ec9(0x290))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x430))[a2_0x258ec9(0x251)](a2_0x258ec9(0x342),'Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login')['addHelpText'](a2_0x258ec9(0x1a7),a2_0x258ec9(0x156))[a2_0x258ec9(0x2cd)](authSetupAction),authCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x25f),{'hidden':!![]})[a2_0x258ec9(0x251)](a2_0x258ec9(0x342),a2_0x258ec9(0x2f6))[a2_0x258ec9(0x2cd)](authSetupAction),authCmd['command'](a2_0x258ec9(0x2d6))[a2_0x258ec9(0x3cb)]('Remove\x20API\x20key\x20from\x20system\x20keychain')['addHelpText']('after',a2_0x258ec9(0x241))[a2_0x258ec9(0x2cd)](async _0x2b77ae=>{const _0x422377=a2_0x258ec9,_0x47a46f=new AuthClearCommand(),_0xaa14b8=program[_0x422377(0x329)](),_0x252e48=await _0x47a46f[_0x422377(0x33b)]({'options':{..._0xaa14b8,..._0x2b77ae},'args':[],'tdx':null});gracefulExit(_0x252e48);});const userCmd=program[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x291))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x35a)),userListAction=async _0x116f52=>{const _0x1ba172=a2_0x258ec9,_0x36883d=new UserListCommand(),_0x57d9fa=program[_0x1ba172(0x329)](),_0x1a8e8a=await createTDXInstance(_0x57d9fa),_0x2b0983=await _0x36883d[_0x1ba172(0x33b)]({'options':{..._0x57d9fa,..._0x116f52},'args':[],'tdx':_0x1a8e8a});gracefulExit(_0x2b0983);};userCmd['action'](async _0x1bcb9c=>{const _0x468f47=a2_0x258ec9,_0x597e07=new UserCommand(),_0x30e54f=program[_0x468f47(0x329)](),_0x1cb776=await createTDXInstance(_0x30e54f),_0x2bc944=await _0x597e07['run']({'options':{..._0x30e54f,..._0x1bcb9c},'args':[],'tdx':_0x1cb776});gracefulExit(_0x2bc944);}),userCmd['command'](a2_0x258ec9(0x158))[a2_0x258ec9(0x3cb)]('List\x20all\x20users\x20in\x20the\x20account')['action'](userListAction),program[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x35b))[a2_0x258ec9(0x3cb)]('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')[a2_0x258ec9(0x2cd)](userListAction);const policyCmd=program[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x1bf))[a2_0x258ec9(0x3cb)]('Access\x20control\x20policy\x20commands');policyCmd[a2_0x258ec9(0x2cd)](async _0x3811b6=>{const _0x4b79bd=a2_0x258ec9,_0x1b62a5=new PolicyCommand(),_0x59dc58=program[_0x4b79bd(0x329)](),_0x5e048e=await createTDXInstance(_0x59dc58),_0x4aa5e7=await _0x1b62a5['run']({'options':{..._0x59dc58,..._0x3811b6},'args':[],'tdx':_0x5e048e});gracefulExit(_0x4aa5e7);}),policyCmd[a2_0x258ec9(0x1fb)]('list')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x30c))[a2_0x258ec9(0x2cd)](async _0x389387=>{const _0x3464ac=a2_0x258ec9,_0xd9104a=new PolicyListCommand(),_0x27ba92=program['opts'](),_0x340aa0=await createTDXInstance(_0x27ba92),_0x9e6693=await _0xd9104a[_0x3464ac(0x33b)]({'options':{..._0x27ba92,..._0x389387},'args':[],'tdx':_0x340aa0});gracefulExit(_0x9e6693);}),policyCmd['command'](a2_0x258ec9(0x30a))[a2_0x258ec9(0x3cb)]('Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)')['action'](async(_0x16cdd9,_0x26e089)=>{const _0x3ad051=a2_0x258ec9,_0x310ad7=new PolicyShowCommand(),_0x167f1f=program[_0x3ad051(0x329)](),_0x1d0060=await createTDXInstance(_0x167f1f),_0xa7d84=await _0x310ad7['run']({'options':{..._0x167f1f,..._0x26e089},'args':[_0x16cdd9],'tdx':_0x1d0060});gracefulExit(_0xa7d84);}),program['command'](a2_0x258ec9(0x2dc))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x300))[a2_0x258ec9(0x2cd)](async _0x5dc0e4=>{const _0x163459=a2_0x258ec9,_0x2884b8=new ProfilesCommand(),_0x4493b7=program[_0x163459(0x329)](),_0x4fe401=await _0x2884b8[_0x163459(0x33b)]({'options':{..._0x4493b7,..._0x5dc0e4},'args':[],'tdx':null});gracefulExit(_0x4fe401);});const profileCmd=program[a2_0x258ec9(0x1fb)]('profile')['description'](a2_0x258ec9(0x3d7));profileCmd[a2_0x258ec9(0x2cd)](()=>{const _0x33f968=a2_0x258ec9;profileCmd[_0x33f968(0x10d)]();});const profileListAction=async _0x568825=>{const _0x2b70d7=new ProfilesCommand(),_0x3e1d6f=program['opts'](),_0x728764=await _0x2b70d7['run']({'options':{..._0x3e1d6f,..._0x568825},'args':[],'tdx':null});gracefulExit(_0x728764);};profileCmd['command']('list')[a2_0x258ec9(0x3cb)]('List\x20all\x20available\x20profiles')[a2_0x258ec9(0x2cd)](profileListAction),profileCmd['command'](a2_0x258ec9(0x21a))[a2_0x258ec9(0x3cb)]('Create\x20a\x20new\x20profile')[a2_0x258ec9(0x251)](a2_0x258ec9(0x342),'Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login')['option']('-f,\x20--force',a2_0x258ec9(0x39f))[a2_0x258ec9(0x34c)]('after',a2_0x258ec9(0x305))[a2_0x258ec9(0x2cd)](async(_0x1e1dbf,_0x2c18c5)=>{const _0xb48649=a2_0x258ec9,_0x377e92=new ProfileCreateCommand(),_0xc6c4be=program[_0xb48649(0x329)](),_0x3100b2=await _0x377e92[_0xb48649(0x33b)]({'options':{..._0xc6c4be,..._0x2c18c5},'args':_0x1e1dbf?[_0x1e1dbf]:[],'tdx':null});gracefulExit(_0x3100b2);});async function profileDeleteAction(_0x5e6ae9,_0xbcca16){const _0x173b2d=a2_0x258ec9,_0x5195d7=new ProfileDeleteCommand(),_0x24fd94=program[_0x173b2d(0x329)](),_0x58d283=await _0x5195d7[_0x173b2d(0x33b)]({'options':{..._0x24fd94,..._0xbcca16},'args':[_0x5e6ae9],'tdx':null});gracefulExit(_0x58d283);}profileCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x1e7))[a2_0x258ec9(0x3cb)]('Delete\x20a\x20profile')[a2_0x258ec9(0x34c)](a2_0x258ec9(0x1a7),a2_0x258ec9(0x2a8))['action'](profileDeleteAction),profileCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x3f0),{'hidden':!![]})[a2_0x258ec9(0x2cd)](profileDeleteAction),profileCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x2f9))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x171))[a2_0x258ec9(0x34c)](a2_0x258ec9(0x1a7),'\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=ap01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a')['action'](async(_0x3b15e6,_0x209096)=>{const _0x1623f9=a2_0x258ec9,_0x186d23=new ProfileSetCommand(),_0x309810=program['opts'](),_0x43fea7=await _0x186d23[_0x1623f9(0x33b)]({'options':{..._0x309810,..._0x209096},'args':[_0x3b15e6],'tdx':null});gracefulExit(_0x43fea7);}),profileCmd[a2_0x258ec9(0x1fb)]('use\x20<name>')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x297))['option'](a2_0x258ec9(0x347),a2_0x258ec9(0x371))[a2_0x258ec9(0x34c)](a2_0x258ec9(0x1a7),a2_0x258ec9(0x36a))[a2_0x258ec9(0x2cd)](async(_0x350414,_0x24c44e)=>{const _0x4074c9=a2_0x258ec9,_0x2bc13c=new ProfileUseCommand(),_0x36e5d7=program[_0x4074c9(0x329)](),_0x26910e=await _0x2bc13c['run']({'options':{..._0x36e5d7,..._0x24c44e},'args':[_0x350414],'tdx':null});gracefulExit(_0x26910e);});const engageCmd=program[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x12d))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x292)),createEngageAction=_0x21fcc4=>{return async(_0x4a4d9a,_0x33379a)=>{const _0x1300dc=a2_0x1421,_0x9a7ffd=new _0x21fcc4(),_0x46b42d=program[_0x1300dc(0x329)](),_0x3a5dcc=await createTDXInstance(_0x46b42d),_0x5d08fb=await _0x9a7ffd['run']({'options':{..._0x46b42d,..._0x33379a},'args':[_0x4a4d9a],'tdx':_0x3a5dcc});gracefulExit(_0x5d08fb);};},createEngageNoArgAction=_0x33b8a4=>{return async _0x5b5380=>{const _0x3ec674=a2_0x1421,_0x40ce0a=new _0x33b8a4(),_0x14693c=program[_0x3ec674(0x329)](),_0x297b2a=await createTDXInstance(_0x14693c),_0x5c0966=await _0x40ce0a[_0x3ec674(0x33b)]({'options':{..._0x14693c,..._0x5b5380},'args':[],'tdx':_0x297b2a});gracefulExit(_0x5c0966);};},createEngageListAction=_0x57c035=>{return async(_0x452c04,_0x5bb019)=>{const _0x113881=a2_0x1421,_0x434813=new _0x57c035(),_0x22669c=program['opts'](),_0x8926d0=await createTDXInstance(_0x22669c),_0x41baad=await _0x434813[_0x113881(0x33b)]({'options':{..._0x22669c,..._0x5bb019},'args':_0x452c04?[_0x452c04]:[],'tdx':_0x8926d0});gracefulExit(_0x41baad);};},campaignCmd=engageCmd['command'](a2_0x258ec9(0x178))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x415));campaignCmd['command'](a2_0x258ec9(0x385))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x2e5))[a2_0x258ec9(0x251)](a2_0x258ec9(0x130),a2_0x258ec9(0x3c6))[a2_0x258ec9(0x251)](a2_0x258ec9(0x3ef),a2_0x258ec9(0x18c))[a2_0x258ec9(0x251)](a2_0x258ec9(0x221),a2_0x258ec9(0x1fd))[a2_0x258ec9(0x2cd)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x2de))[a2_0x258ec9(0x3cb)]('List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)')['option'](a2_0x258ec9(0x130),a2_0x258ec9(0x3c6))[a2_0x258ec9(0x251)](a2_0x258ec9(0x3ef),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x258ec9(0x251)](a2_0x258ec9(0x221),a2_0x258ec9(0x1fd))['action'](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x248))[a2_0x258ec9(0x3cb)]('Show\x20campaign\x20details')[a2_0x258ec9(0x251)](a2_0x258ec9(0x221),a2_0x258ec9(0x1fd))['option'](a2_0x258ec9(0x323),a2_0x258ec9(0x2aa))['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x258ec9(0x1fb)]('create')['description']('Create\x20a\x20new\x20campaign')['requiredOption'](a2_0x258ec9(0x373),a2_0x258ec9(0x27a))[a2_0x258ec9(0x3be)](a2_0x258ec9(0x130),a2_0x258ec9(0x203))[a2_0x258ec9(0x251)](a2_0x258ec9(0x221),'Workspace\x20name\x20(required)')[a2_0x258ec9(0x251)]('--description\x20<desc>','Campaign\x20description')[a2_0x258ec9(0x251)](a2_0x258ec9(0x219),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x258ec9(0x251)](a2_0x258ec9(0x201),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x258ec9(0x251)](a2_0x258ec9(0x2e9),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')['option'](a2_0x258ec9(0x281),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x258ec9(0x251)](a2_0x258ec9(0x2bc),a2_0x258ec9(0x3d8))[a2_0x258ec9(0x2cd)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x2e3))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x3ab))[a2_0x258ec9(0x251)]('--workspace\x20<name>',a2_0x258ec9(0x1fd))['option'](a2_0x258ec9(0x373),'New\x20campaign\x20name')['option'](a2_0x258ec9(0x304),a2_0x258ec9(0x3f2))['option'](a2_0x258ec9(0x219),a2_0x258ec9(0x34f))[a2_0x258ec9(0x251)](a2_0x258ec9(0x201),a2_0x258ec9(0x18f))['option']('--json-columns\x20<cols>',a2_0x258ec9(0x294))[a2_0x258ec9(0x251)]('--start-at\x20<datetime>',a2_0x258ec9(0x147))[a2_0x258ec9(0x251)](a2_0x258ec9(0x2bc),a2_0x258ec9(0x3d8))['action'](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x382))['description'](a2_0x258ec9(0x29a))['option']('--workspace\x20<name>',a2_0x258ec9(0x1fd))['option']('--yes',a2_0x258ec9(0x3a5))[a2_0x258ec9(0x2cd)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command']('launch\x20<name-or-id>')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x1f6))['option'](a2_0x258ec9(0x221),a2_0x258ec9(0x1fd))[a2_0x258ec9(0x2cd)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x3b5))['description'](a2_0x258ec9(0x340))[a2_0x258ec9(0x251)](a2_0x258ec9(0x221),a2_0x258ec9(0x1fd))[a2_0x258ec9(0x2cd)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd['command'](a2_0x258ec9(0x2f1))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x164))[a2_0x258ec9(0x251)](a2_0x258ec9(0x221),'Workspace\x20name')[a2_0x258ec9(0x2cd)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x258ec9(0x1fb)]('duplicate\x20<name-or-id>')['description']('Duplicate\x20a\x20campaign')[a2_0x258ec9(0x251)](a2_0x258ec9(0x221),a2_0x258ec9(0x1fd))[a2_0x258ec9(0x2cd)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x258ec9(0x1fb)]('pull\x20[workspace-name]')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x266))[a2_0x258ec9(0x251)](a2_0x258ec9(0x221),'Workspace\x20name')['option']('--name\x20<name>',a2_0x258ec9(0x1bd))[a2_0x258ec9(0x251)]('--type\x20<type>',a2_0x258ec9(0x3c6))[a2_0x258ec9(0x251)](a2_0x258ec9(0x1fa),'Show\x20what\x20would\x20be\x20written\x20without\x20writing')[a2_0x258ec9(0x2cd)](createEngageAction(EngageCampaignPullCommand)),campaignCmd['command'](a2_0x258ec9(0x1ed))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x1dc))[a2_0x258ec9(0x251)](a2_0x258ec9(0x221),a2_0x258ec9(0x1fd))[a2_0x258ec9(0x251)](a2_0x258ec9(0x1fa),a2_0x258ec9(0x398))['action'](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x34e))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x1ef))[a2_0x258ec9(0x251)](a2_0x258ec9(0x341),a2_0x258ec9(0x2d3))[a2_0x258ec9(0x2cd)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x200))['description'](a2_0x258ec9(0x2c6));alwaysOnCampaignCmd['command'](a2_0x258ec9(0x385))[a2_0x258ec9(0x3cb)]('List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')['option'](a2_0x258ec9(0x130),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')['option'](a2_0x258ec9(0x3ef),'Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')['requiredOption']('--workspace\x20<name>',a2_0x258ec9(0x287))[a2_0x258ec9(0x2cd)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd['command'](a2_0x258ec9(0x295))[a2_0x258ec9(0x3cb)]('List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)')[a2_0x258ec9(0x251)](a2_0x258ec9(0x130),a2_0x258ec9(0x3c6))[a2_0x258ec9(0x251)](a2_0x258ec9(0x3ef),a2_0x258ec9(0x351))[a2_0x258ec9(0x3be)](a2_0x258ec9(0x221),'Workspace\x20name\x20(required)')[a2_0x258ec9(0x2cd)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x258ec9(0x1fb)]('show\x20<name-or-id>')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x316))['requiredOption']('--workspace\x20<name>',a2_0x258ec9(0x287))['option'](a2_0x258ec9(0x323),a2_0x258ec9(0x2aa))[a2_0x258ec9(0x2cd)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x37e))['description']('Create\x20a\x20new\x20always-on\x20campaign')['requiredOption'](a2_0x258ec9(0x373),a2_0x258ec9(0x27a))[a2_0x258ec9(0x3be)](a2_0x258ec9(0x130),a2_0x258ec9(0x203))[a2_0x258ec9(0x3be)](a2_0x258ec9(0x221),a2_0x258ec9(0x287))['option']('--description\x20<desc>','Campaign\x20description')[a2_0x258ec9(0x251)](a2_0x258ec9(0x219),a2_0x258ec9(0x41b))[a2_0x258ec9(0x251)]('--enable-utm-tracking',a2_0x258ec9(0x3aa))[a2_0x258ec9(0x2cd)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x2e3))['description'](a2_0x258ec9(0x146))[a2_0x258ec9(0x3be)](a2_0x258ec9(0x221),a2_0x258ec9(0x287))[a2_0x258ec9(0x251)]('--name\x20<name>',a2_0x258ec9(0x324))[a2_0x258ec9(0x251)](a2_0x258ec9(0x304),a2_0x258ec9(0x3f2))[a2_0x258ec9(0x251)](a2_0x258ec9(0x219),a2_0x258ec9(0x41b))['option'](a2_0x258ec9(0x115),a2_0x258ec9(0x3aa))[a2_0x258ec9(0x2cd)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x382))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x173))[a2_0x258ec9(0x3be)](a2_0x258ec9(0x221),a2_0x258ec9(0x287))[a2_0x258ec9(0x251)](a2_0x258ec9(0x3ae),a2_0x258ec9(0x3a5))[a2_0x258ec9(0x2cd)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x258ec9(0x1fb)]('launch\x20<name-or-id>')['description']('Launch\x20an\x20always-on\x20campaign')[a2_0x258ec9(0x3be)](a2_0x258ec9(0x221),a2_0x258ec9(0x287))[a2_0x258ec9(0x2cd)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd['command']('pause\x20<name-or-id>')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x405))['requiredOption'](a2_0x258ec9(0x221),a2_0x258ec9(0x287))[a2_0x258ec9(0x2cd)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd['command'](a2_0x258ec9(0x2f1))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x114))[a2_0x258ec9(0x3be)](a2_0x258ec9(0x221),'Workspace\x20name\x20(required)')['action'](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x1af))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x1e5))['requiredOption'](a2_0x258ec9(0x221),a2_0x258ec9(0x287))['option'](a2_0x258ec9(0x3ae),a2_0x258ec9(0x3a5))[a2_0x258ec9(0x2cd)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x308))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x2bb))[a2_0x258ec9(0x3be)](a2_0x258ec9(0x221),a2_0x258ec9(0x287))['requiredOption']('--name\x20<name>',a2_0x258ec9(0x259))['action'](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x1b1))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x30f));templateCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x385))['description']('List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)')['option'](a2_0x258ec9(0x221),'Workspace\x20name')[a2_0x258ec9(0x2cd)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x2db))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x30e))['option'](a2_0x258ec9(0x221),a2_0x258ec9(0x1fd))[a2_0x258ec9(0x2cd)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x248))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x19a))[a2_0x258ec9(0x251)](a2_0x258ec9(0x221),a2_0x258ec9(0x1fd))['option'](a2_0x258ec9(0x323),a2_0x258ec9(0x2aa))[a2_0x258ec9(0x2cd)](createEngageAction(EngageTemplateShowCommand)),templateCmd['command'](a2_0x258ec9(0x37e))['description'](a2_0x258ec9(0x2bd))[a2_0x258ec9(0x3be)]('--name\x20<name>',a2_0x258ec9(0x2c5))[a2_0x258ec9(0x3be)](a2_0x258ec9(0x1a0),a2_0x258ec9(0x364))[a2_0x258ec9(0x251)]('--html\x20<html>',a2_0x258ec9(0x1eb))[a2_0x258ec9(0x251)](a2_0x258ec9(0x319),a2_0x258ec9(0x159))['option'](a2_0x258ec9(0x221),'Workspace\x20name\x20(required)')['option'](a2_0x258ec9(0x1a5),'Plaintext\x20template\x20content')[a2_0x258ec9(0x251)](a2_0x258ec9(0x3cd),'Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)',_0x54a804=>{const _0x2745c9=a2_0x258ec9;if(![_0x2745c9(0x285),_0x2745c9(0x2e6)]['includes'](_0x54a804))throw new SDKError(ErrorCode[_0x2745c9(0x213)],_0x2745c9(0x2a7)+_0x54a804+_0x2745c9(0x2a6));return _0x54a804;})['action'](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd['command'](a2_0x258ec9(0x2e3))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x389))[a2_0x258ec9(0x251)]('--workspace\x20<name>',a2_0x258ec9(0x1fd))[a2_0x258ec9(0x251)](a2_0x258ec9(0x373),a2_0x258ec9(0x33c))['option'](a2_0x258ec9(0x1a0),a2_0x258ec9(0x364))[a2_0x258ec9(0x251)](a2_0x258ec9(0x1c3),'HTML\x20template\x20content')['option'](a2_0x258ec9(0x319),a2_0x258ec9(0x159))[a2_0x258ec9(0x251)](a2_0x258ec9(0x1a5),a2_0x258ec9(0x3fc))[a2_0x258ec9(0x2cd)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd['command']('pull\x20[workspace]')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x238))['option'](a2_0x258ec9(0x221),a2_0x258ec9(0x1fd))['option'](a2_0x258ec9(0x373),a2_0x258ec9(0x2b0))[a2_0x258ec9(0x251)](a2_0x258ec9(0x1d5),a2_0x258ec9(0x3a5))[a2_0x258ec9(0x251)](a2_0x258ec9(0x1fa),a2_0x258ec9(0x1c7))[a2_0x258ec9(0x2cd)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x258ec9(0x1fb)]('push\x20[target]')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x3da))[a2_0x258ec9(0x251)](a2_0x258ec9(0x221),a2_0x258ec9(0x1fd))['option'](a2_0x258ec9(0x1d5),a2_0x258ec9(0x3a5))[a2_0x258ec9(0x251)](a2_0x258ec9(0x1fa),a2_0x258ec9(0x398))[a2_0x258ec9(0x2cd)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x34e))[a2_0x258ec9(0x3cb)]('Validate\x20template\x20YAML\x20files\x20locally')[a2_0x258ec9(0x251)]('--verbose',a2_0x258ec9(0x2d3))[a2_0x258ec9(0x2cd)](createEngageAction(EngageTemplateValidateCommand)),templateCmd['command'](a2_0x258ec9(0x382))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x3e8))[a2_0x258ec9(0x251)](a2_0x258ec9(0x221),a2_0x258ec9(0x1fd))[a2_0x258ec9(0x251)](a2_0x258ec9(0x3ae),a2_0x258ec9(0x3a5))[a2_0x258ec9(0x2cd)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x13a))[a2_0x258ec9(0x3cb)]('Workspace\x20management');workspaceCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x385))['description'](a2_0x258ec9(0x131))[a2_0x258ec9(0x2cd)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x2a3))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x358))['action'](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x248))['description']('Show\x20workspace\x20details')[a2_0x258ec9(0x251)]('--full',a2_0x258ec9(0x2aa))[a2_0x258ec9(0x2cd)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x37e))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x289))['requiredOption'](a2_0x258ec9(0x373),a2_0x258ec9(0x1fd))['option'](a2_0x258ec9(0x304),'Workspace\x20description')[a2_0x258ec9(0x2cd)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x2e3))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x1ae))[a2_0x258ec9(0x251)]('--name\x20<name>','New\x20workspace\x20name')['option'](a2_0x258ec9(0x304),a2_0x258ec9(0x286))[a2_0x258ec9(0x2cd)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd['command'](a2_0x258ec9(0x382))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x262))['option'](a2_0x258ec9(0x3ae),a2_0x258ec9(0x3a5))['action'](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd['command'](a2_0x258ec9(0x2d9))['description'](a2_0x258ec9(0x414))[a2_0x258ec9(0x2cd)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program['command'](a2_0x258ec9(0x21f))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x425));deliveryCmd['command'](a2_0x258ec9(0x3b3))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x423))['option'](a2_0x258ec9(0x221),a2_0x258ec9(0x1fd))[a2_0x258ec9(0x2cd)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program['command'](a2_0x258ec9(0x29e))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x17f)),connectionListAction=async _0x22e3cf=>{const _0x4ba2c6=a2_0x258ec9,_0x3b8fc3=new ConnectionListCommand(),_0x35a962=program[_0x4ba2c6(0x329)](),_0x46908a=await createTDXInstance(_0x35a962),_0x2f2b06=await _0x3b8fc3['run']({'options':{..._0x35a962,..._0x22e3cf},'args':[],'tdx':_0x46908a});gracefulExit(_0x2f2b06);};connectionCmd[a2_0x258ec9(0x1fb)]('list')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x25e))[a2_0x258ec9(0x2cd)](connectionListAction),program['command'](a2_0x258ec9(0x312),{'hidden':!![]})[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x400))[a2_0x258ec9(0x2cd)](connectionListAction),connectionCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x404))['description']('Show\x20connection\x20details\x20by\x20name')[a2_0x258ec9(0x2cd)](async(_0x39ffde,_0x126096)=>{const _0x33cd59=a2_0x258ec9,_0x29b944=new ConnectionShowCommand(),_0x5c6091=program[_0x33cd59(0x329)](),_0x3937cf=await createTDXInstance(_0x5c6091),_0x14b53f=await _0x29b944[_0x33cd59(0x33b)]({'options':{..._0x5c6091,..._0x126096},'args':[_0x39ffde],'tdx':_0x3937cf});gracefulExit(_0x14b53f);}),connectionCmd[a2_0x258ec9(0x1fb)]('schema\x20<type>')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x3f8))[a2_0x258ec9(0x2cd)](async(_0x32952d,_0x4ead01)=>{const _0x431012=a2_0x258ec9,_0x28d2bf=new ConnectionSchemaCommand(),_0x2eb066=program['opts'](),_0x178b40=await createTDXInstance(_0x2eb066),_0x15f864=await _0x28d2bf[_0x431012(0x33b)]({'options':{..._0x2eb066,..._0x4ead01},'args':[_0x32952d],'tdx':_0x178b40});gracefulExit(_0x15f864);}),connectionCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x218))['description'](a2_0x258ec9(0x202))[a2_0x258ec9(0x2cd)](async _0x31275f=>{const _0x37d16d=a2_0x258ec9,_0x2c231b=new ConnectionTypesCommand(),_0x1a8cf8=program[_0x37d16d(0x329)](),_0x76ce4=await createTDXInstance(_0x1a8cf8),_0x8179c6=await _0x2c231b[_0x37d16d(0x33b)]({'options':{..._0x1a8cf8,..._0x31275f},'args':[],'tdx':_0x76ce4});gracefulExit(_0x8179c6);}),connectionCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x1c5))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0xfe))['action'](async(_0x30c610,_0x12555c)=>{const _0x5968e1=a2_0x258ec9,_0x113f4e=new ConnectionSettingsCommand(),_0x50a25b=program[_0x5968e1(0x329)](),_0x13dc78=await createTDXInstance(_0x50a25b),_0x1cb53d=await _0x113f4e['run']({'options':{..._0x50a25b,..._0x12555c},'args':[_0x30c610],'tdx':_0x13dc78});gracefulExit(_0x1cb53d);});const casCmd=program['command'](a2_0x258ec9(0x1cd))['description']('Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)');casCmd[a2_0x258ec9(0x1fb)]('list')[a2_0x258ec9(0x3cb)]('List\x20composable\x20audiences')['action'](async _0x33cb5e=>{const _0x7b1b2a=a2_0x258ec9,_0x4d1e58=new CASListCommand(),_0x530524=program[_0x7b1b2a(0x329)](),_0x3ad137=await createTDXInstance(_0x530524),_0x31a9d9=await _0x4d1e58[_0x7b1b2a(0x33b)]({'options':{..._0x530524,..._0x33cb5e},'args':[],'tdx':_0x3ad137});gracefulExit(_0x31a9d9);}),casCmd['command'](a2_0x258ec9(0x3e2))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x36b))[a2_0x258ec9(0x2cd)](async(_0x5650de,_0x47ff63)=>{const _0x440241=a2_0x258ec9,_0x196f0b=new CASDescCommand(),_0x1cb4bf=program[_0x440241(0x329)](),_0x698040=await createTDXInstance(_0x1cb4bf),_0x4eeae2=await _0x196f0b[_0x440241(0x33b)]({'options':{..._0x1cb4bf,..._0x47ff63},'args':_0x5650de?[_0x5650de]:[],'tdx':_0x698040});gracefulExit(_0x4eeae2);}),casCmd[a2_0x258ec9(0x1fb)]('pull\x20[name]')['description'](a2_0x258ec9(0x2e2))['option'](a2_0x258ec9(0x14f),a2_0x258ec9(0x36d))[a2_0x258ec9(0x251)](a2_0x258ec9(0x1fa),a2_0x258ec9(0x3e5))[a2_0x258ec9(0x2cd)](async(_0x14098f,_0xe79022)=>{const _0x83a17a=a2_0x258ec9,_0x17c018=new CASPullCommand(),_0x53412c=program[_0x83a17a(0x329)](),_0x2d144d=await createTDXInstance(_0x53412c),_0x2c5a11=await _0x17c018[_0x83a17a(0x33b)]({'options':{..._0x53412c,..._0xe79022},'args':_0x14098f?[_0x14098f]:[],'tdx':_0x2d144d});gracefulExit(_0x2c5a11);}),casCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x1ed))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x2a9))['option']('--dry-run',a2_0x258ec9(0x13f))[a2_0x258ec9(0x2cd)](async(_0x2551df,_0x49bf34)=>{const _0xcbe341=a2_0x258ec9,_0x1abfa8=new CASPushCommand(),_0x1b087b=program['opts'](),_0x49391d=await createTDXInstance(_0x1b087b),_0x3d6916=await _0x1abfa8[_0xcbe341(0x33b)]({'options':{..._0x1b087b,..._0x49bf34},'args':_0x2551df?[_0x2551df]:[],'tdx':_0x49391d});gracefulExit(_0x3d6916);}),casCmd['command'](a2_0x258ec9(0x3ea))['description'](a2_0x258ec9(0x145))[a2_0x258ec9(0x251)](a2_0x258ec9(0x381),'Composable\x20audience\x20name')['action'](async(_0xca353e,_0x24a14d)=>{const _0x530565=a2_0x258ec9,_0xcc5e5e=new CASPreviewCommand(),_0xe70032=program['opts'](),_0x2d123b=await createTDXInstance(_0xe70032),_0x585c5e=await _0xcc5e5e[_0x530565(0x33b)]({'options':{..._0xe70032,..._0x24a14d},'args':[_0xca353e,_0x24a14d[_0x530565(0x12f)]],'tdx':_0x2d123b});gracefulExit(_0x585c5e);});const casSgCmd=casCmd[a2_0x258ec9(0x1fb)]('sg')[a2_0x258ec9(0x3cb)]('Composable\x20segment\x20commands');casSgCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x2b1))[a2_0x258ec9(0x3cb)]('List\x20composable\x20segments\x20for\x20an\x20audience')[a2_0x258ec9(0x2cd)](async(_0x47c1f3,_0x5d3a34)=>{const _0x23fa93=a2_0x258ec9,_0x1d693d=new CASSegmentListCommand(),_0x465097=program[_0x23fa93(0x329)](),_0x573a1b=await createTDXInstance(_0x465097),_0x46f23f=await _0x1d693d['run']({'options':{..._0x465097,..._0x5d3a34},'args':_0x47c1f3?[_0x47c1f3]:[],'tdx':_0x573a1b});gracefulExit(_0x46f23f);});const journeyCmd=program[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x1c1))[a2_0x258ec9(0x3cb)]('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0x4f212c,_0x3af8cd)=>{const _0x370adf=a2_0x258ec9,_0x1b0657=new JourneyListCommand(),_0x5c3732=program[_0x370adf(0x329)](),_0x5567f5=await createTDXInstance(_0x5c3732),_0x1f74ba=await _0x1b0657['run']({'options':{..._0x5c3732,..._0x3af8cd},'args':_0x4f212c?[_0x4f212c]:[],'tdx':_0x5567f5});gracefulExit(_0x1f74ba);};journeyCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x385))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x28d))['action'](journeyListAction),journeyCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x39b))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x2f3))[a2_0x258ec9(0x251)](a2_0x258ec9(0x24c),'Open\x20journey\x20in\x20web\x20browser')[a2_0x258ec9(0x251)](a2_0x258ec9(0x362),a2_0x258ec9(0x1f3))[a2_0x258ec9(0x2cd)](async(_0x5ba56b,_0x45f355)=>{const _0x2364dd=a2_0x258ec9,_0x4000fa=new JourneyViewCommand(),_0x1b54d1=program[_0x2364dd(0x329)](),_0x16ea81=await createTDXInstance(_0x1b54d1),_0x51565f=await _0x4000fa[_0x2364dd(0x33b)]({'options':{..._0x1b54d1,..._0x45f355},'args':[_0x5ba56b],'tdx':_0x16ea81});gracefulExit(_0x51565f);}),journeyCmd[a2_0x258ec9(0x1fb)]('stats\x20<name-or-path>')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x210))['option'](a2_0x258ec9(0x27e),'Show\x20stats\x20for\x20specific\x20stage')['option']('--from\x20<date>',a2_0x258ec9(0x27f))[a2_0x258ec9(0x251)](a2_0x258ec9(0x2c7),a2_0x258ec9(0x354))[a2_0x258ec9(0x251)](a2_0x258ec9(0x1ad),a2_0x258ec9(0x1f9))[a2_0x258ec9(0x2cd)](async(_0x1096d8,_0x5b1225)=>{const _0x239393=a2_0x258ec9,_0xed51d6=new JourneyStatsCommand(),_0x2b698d=program[_0x239393(0x329)](),_0xcc7b2a=await createTDXInstance(_0x2b698d),_0x1bedf4=await _0xed51d6['run']({'options':{..._0x2b698d,..._0x5b1225},'args':[_0x1096d8],'tdx':_0xcc7b2a});gracefulExit(_0x1bedf4);}),journeyCmd[a2_0x258ec9(0x1fb)]('traffic\x20<name-or-path>')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x3ad))[a2_0x258ec9(0x251)](a2_0x258ec9(0x130),a2_0x258ec9(0x260))[a2_0x258ec9(0x251)]('--from\x20<date>',a2_0x258ec9(0x27f))[a2_0x258ec9(0x251)](a2_0x258ec9(0x2c7),a2_0x258ec9(0x354))[a2_0x258ec9(0x251)]('--limit\x20<number>',a2_0x258ec9(0x1f4),_0x44cd43=>{const _0x5a726d=a2_0x258ec9,_0x5d501c=parseInt(_0x44cd43,0xa);if(isNaN(_0x5d501c))throw new Error(_0x5a726d(0x401)+_0x44cd43+_0x5a726d(0x1d1));return _0x5d501c;})['action'](async(_0x3d0147,_0x1df79c)=>{const _0x111ee0=a2_0x258ec9,_0x50f744=new JourneyTrafficCommand(),_0x37c176=program[_0x111ee0(0x329)](),_0x532aa1=await createTDXInstance(_0x37c176),_0x513ce8=await _0x50f744[_0x111ee0(0x33b)]({'options':{..._0x37c176,..._0x1df79c},'args':[_0x3d0147],'tdx':_0x532aa1});gracefulExit(_0x513ce8);}),journeyCmd[a2_0x258ec9(0x1fb)]('pause\x20<name-or-path>')[a2_0x258ec9(0x3cb)]('Pause\x20a\x20running\x20journey')[a2_0x258ec9(0x2cd)](async(_0x462562,_0x8a1a7)=>{const _0x4899dd=a2_0x258ec9,_0x45ae45=new JourneyPauseCommand(),_0x8b6657=program[_0x4899dd(0x329)](),_0x81dde8=await createTDXInstance(_0x8b6657),_0xd345cd=await _0x45ae45[_0x4899dd(0x33b)]({'options':{..._0x8b6657,..._0x8a1a7},'args':[_0x462562],'tdx':_0x81dde8});gracefulExit(_0xd345cd);}),journeyCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x2d5))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x129))[a2_0x258ec9(0x2cd)](async(_0x5c767e,_0x41d5f8)=>{const _0xa3138=a2_0x258ec9,_0x1ceee7=new JourneyResumeCommand(),_0x561044=program[_0xa3138(0x329)](),_0x3f67b7=await createTDXInstance(_0x561044),_0x4df4b9=await _0x1ceee7[_0xa3138(0x33b)]({'options':{..._0x561044,..._0x41d5f8},'args':[_0x5c767e],'tdx':_0x3f67b7});gracefulExit(_0x4df4b9);}),journeyCmd['command']('pull\x20[name]')['description'](a2_0x258ec9(0x214))[a2_0x258ec9(0x251)](a2_0x258ec9(0x1fa),a2_0x258ec9(0x3e5))[a2_0x258ec9(0x2cd)](async(_0x5b54c2,_0x288933)=>{const _0x1073be=a2_0x258ec9,_0x3390ae=new JourneyPullCommand(),_0x1eedb3=program[_0x1073be(0x329)](),_0xe13163=await createTDXInstance(_0x1eedb3),_0x4cc9a7=await _0x3390ae[_0x1073be(0x33b)]({'options':{..._0x1eedb3,..._0x288933},'args':_0x5b54c2?[_0x5b54c2]:[],'tdx':_0xe13163});gracefulExit(_0x4cc9a7);}),journeyCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x1ed))[a2_0x258ec9(0x3cb)]('Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data')[a2_0x258ec9(0x2cd)](async(_0x553695,_0xc560b1)=>{const _0x3ecdcd=a2_0x258ec9,_0xa5b3d9=new JourneyPushCommand(),_0x5941a=program[_0x3ecdcd(0x329)](),_0xffeddc=await createTDXInstance(_0x5941a),_0x408eb2=await _0xa5b3d9[_0x3ecdcd(0x33b)]({'options':{..._0x5941a,..._0xc560b1},'args':_0x553695?[_0x553695]:[],'tdx':_0xffeddc});gracefulExit(_0x408eb2);}),journeyCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x349))[a2_0x258ec9(0x3cb)]('Show\x20journey\x20table\x20column-to-step\x20mapping')[a2_0x258ec9(0x2cd)](async(_0x24c6e8,_0x21e055)=>{const _0x6f392e=a2_0x258ec9,_0xb8fb45=new JourneyColumnsCommand(),_0x262d30=program[_0x6f392e(0x329)](),_0x21bcbc=await createTDXInstance(_0x262d30),_0x3f0d87=await _0xb8fb45['run']({'options':{..._0x262d30,..._0x21e055},'args':[_0x24c6e8],'tdx':_0x21bcbc});gracefulExit(_0x3f0d87);}),journeyCmd[a2_0x258ec9(0x1fb)]('activations\x20<name-or-path>')[a2_0x258ec9(0x3cb)]('List\x20activations\x20for\x20a\x20journey')[a2_0x258ec9(0x2cd)](async(_0x2e10f8,_0x3013a8)=>{const _0x496aac=a2_0x258ec9,_0x3e00de=new JourneyActivationsCommand(),_0x2d821c=program['opts'](),_0x5426a9=await createTDXInstance(_0x2d821c),_0x23bc5a=await _0x3e00de[_0x496aac(0x33b)]({'options':{..._0x2d821c,..._0x3013a8},'args':[_0x2e10f8],'tdx':_0x5426a9});gracefulExit(_0x23bc5a);}),journeyCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x1b5))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x120))[a2_0x258ec9(0x2cd)](async(_0x4da7e0,_0x3d94ac)=>{const _0x1d5157=a2_0x258ec9,_0xe7d7ee=new JourneyVersionsCommand(),_0x5a36c2=program[_0x1d5157(0x329)](),_0x3a7f4e=await createTDXInstance(_0x5a36c2),_0x5b80a8=await _0xe7d7ee[_0x1d5157(0x33b)]({'options':{..._0x5a36c2,..._0x3d94ac},'args':[_0x4da7e0],'tdx':_0x3a7f4e});gracefulExit(_0x5b80a8);});const journeyVersionCmd=journeyCmd['command'](a2_0x258ec9(0x376))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x194));journeyVersionCmd['command'](a2_0x258ec9(0x3d0))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x306))['action'](async(_0x3ddcc5,_0x4c9909)=>{const _0x236593=a2_0x258ec9,_0x2b790a=new JourneyVersionCreateCommand(),_0x1a8974=program[_0x236593(0x329)](),_0x4b001f=await createTDXInstance(_0x1a8974),_0x559878=await _0x2b790a[_0x236593(0x33b)]({'options':{..._0x1a8974,..._0x4c9909},'args':[_0x3ddcc5],'tdx':_0x4b001f});gracefulExit(_0x559878);}),journeyVersionCmd['command'](a2_0x258ec9(0x39b))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x1a3))[a2_0x258ec9(0x3be)](a2_0x258ec9(0x112),a2_0x258ec9(0x23b))[a2_0x258ec9(0x2cd)](async(_0x2b1981,_0x2d1094)=>{const _0x36a558=a2_0x258ec9,_0x111e1b=new JourneyVersionViewCommand(),_0x1a0c93=program['opts'](),_0x5e595e=await createTDXInstance(_0x1a0c93),_0x39007c=await _0x111e1b[_0x36a558(0x33b)]({'options':{..._0x1a0c93,..._0x2d1094},'args':[_0x2b1981],'tdx':_0x5e595e});gracefulExit(_0x39007c);}),journeyCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x34e))['description'](a2_0x258ec9(0x299))[a2_0x258ec9(0x2cd)](async(_0x1fcb7c,_0x3b5ab1)=>{const _0x5cf54c=a2_0x258ec9,_0x39a2fe=new JourneyValidateCommand(),_0x4a5049=program['opts'](),_0x581719=await createTDXInstance(_0x4a5049),_0x2e5b04=await _0x39a2fe[_0x5cf54c(0x33b)]({'options':{..._0x4a5049,..._0x3b5ab1},'args':_0x1fcb7c?[_0x1fcb7c]:[],'tdx':_0x581719});gracefulExit(_0x2e5b04);}),program[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x29d))['description'](a2_0x258ec9(0x2ab))['action'](journeyListAction);const agentSyncCmd=program['command']('agent')['description'](a2_0x258ec9(0x17d));agentSyncCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x2d7))['description'](a2_0x258ec9(0x390))[a2_0x258ec9(0x251)](a2_0x258ec9(0x325),a2_0x258ec9(0x26e))['option'](a2_0x258ec9(0x2c2),a2_0x258ec9(0x3a2))[a2_0x258ec9(0x251)](a2_0x258ec9(0x3d9),'Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)')['action'](async(_0x43761a,_0x1dd158,_0x529adc)=>{const _0x31d4f6=a2_0x258ec9,_0x54bad9=new AgentPullCommand(),_0x1888b2=program[_0x31d4f6(0x329)](),_0x235bc4=await createTDXInstance(_0x1888b2),_0x2bd712=[];if(_0x43761a)_0x2bd712[_0x31d4f6(0x1db)](_0x43761a);if(_0x1dd158)_0x2bd712['push'](_0x1dd158);const _0x25d22e=await _0x54bad9[_0x31d4f6(0x33b)]({'options':{..._0x1888b2,..._0x529adc},'args':_0x2bd712,'tdx':_0x235bc4});gracefulExit(_0x25d22e);}),agentSyncCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x1c9))['description'](a2_0x258ec9(0x15b))[a2_0x258ec9(0x251)](a2_0x258ec9(0x2c2),a2_0x258ec9(0x196))[a2_0x258ec9(0x2cd)](async(_0xfc8931,_0x5ecc31)=>{const _0x4b2b88=a2_0x258ec9,_0x4d2d6f=new AgentPushCommand(),_0x4bb997=program['opts'](),_0x3a8ec6=await createTDXInstance(_0x4bb997),_0x5bad2d=await _0x4d2d6f[_0x4b2b88(0x33b)]({'options':{..._0x4bb997,..._0x5ecc31},'args':_0xfc8931?[_0xfc8931]:[],'tdx':_0x3a8ec6});gracefulExit(_0x5bad2d);}),agentSyncCmd[a2_0x258ec9(0x1fb)]('clone\x20[source]')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x411))[a2_0x258ec9(0x251)](a2_0x258ec9(0x3c8),a2_0x258ec9(0x172))[a2_0x258ec9(0x2cd)](async(_0x3f1877,_0x3797f4)=>{const _0x274349=new AgentCloneCommand(),_0x436f9a=program['opts'](),_0x27976f=await createTDXInstance(_0x436f9a),_0xe2a282=await _0x274349['run']({'options':{..._0x436f9a,..._0x3797f4},'args':_0x3f1877?[_0x3f1877]:[],'tdx':_0x27976f});gracefulExit(_0xe2a282);}),agentSyncCmd[a2_0x258ec9(0x1fb)]('test\x20[path]')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x1e3))[a2_0x258ec9(0x251)](a2_0x258ec9(0x168),a2_0x258ec9(0x3df))[a2_0x258ec9(0x251)](a2_0x258ec9(0x1a2),'Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)')[a2_0x258ec9(0x251)](a2_0x258ec9(0x1fa),'Parse\x20and\x20validate\x20without\x20executing')['option'](a2_0x258ec9(0x410),'Generate\x20test\x20conversations\x20without\x20evaluation')['option'](a2_0x258ec9(0x40d),a2_0x258ec9(0x1be))[a2_0x258ec9(0x2cd)](async(_0x496af1,_0x4972ce)=>{const _0x2a0bfd=a2_0x258ec9,_0x4a2ce5=new AgentTestCommand(),_0x17d414=program[_0x2a0bfd(0x329)](),_0x2e1f3f=await createTDXInstance(_0x17d414),_0x3a3493=await _0x4a2ce5[_0x2a0bfd(0x33b)]({'options':{..._0x17d414,..._0x4972ce},'args':_0x496af1?[_0x496af1]:[],'tdx':_0x2e1f3f});gracefulExit(_0x3a3493);}),agentSyncCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x385))['description']('List\x20agents\x20in\x20current\x20project')[a2_0x258ec9(0x2cd)](llmAgentListAction),agentSyncCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x119))[a2_0x258ec9(0x3cb)]('Show\x20agent\x20details')[a2_0x258ec9(0x2cd)](async(_0x4113c5,_0x2c45cc)=>{const _0x44394d=a2_0x258ec9,_0x354996=new LLMAgentShowCommand(),_0x288f60=program[_0x44394d(0x329)](),_0x4846e5=await createTDXInstance(_0x288f60),_0x204503=await _0x354996[_0x44394d(0x33b)]({'options':{..._0x288f60,..._0x2c45cc},'args':[_0x4113c5],'tdx':_0x4846e5});gracefulExit(_0x204503);}),agentSyncCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x383))[a2_0x258ec9(0x3cb)]('Create\x20a\x20new\x20agent\x20in\x20current\x20project')['option'](a2_0x258ec9(0x199),'System\x20prompt/instructions\x20(default:\x20empty)')[a2_0x258ec9(0x251)](a2_0x258ec9(0x2e8),a2_0x258ec9(0x276),'claude-4.5-sonnet')[a2_0x258ec9(0x251)](a2_0x258ec9(0x3a9),a2_0x258ec9(0x240))[a2_0x258ec9(0x251)]('--max-tool-iterations\x20<n>',a2_0x258ec9(0x1f1),'4')[a2_0x258ec9(0x251)](a2_0x258ec9(0x40e),a2_0x258ec9(0x298),a2_0x258ec9(0x357))[a2_0x258ec9(0x2cd)](async(_0x4c62d9,_0x3af972)=>{const _0x1b13b0=a2_0x258ec9,_0x5ced1f=new LLMAgentCreateCommand(),_0x179380=program[_0x1b13b0(0x329)](),_0x1b3367=await createTDXInstance(_0x179380),_0xe13a65=await _0x5ced1f['run']({'options':{..._0x179380,..._0x3af972},'args':[_0x4c62d9],'tdx':_0x1b3367});gracefulExit(_0xe13a65);}),agentSyncCmd[a2_0x258ec9(0x1fb)]('update\x20<agent-name>')['description'](a2_0x258ec9(0x123))[a2_0x258ec9(0x251)](a2_0x258ec9(0x1e8),a2_0x258ec9(0x122))['option'](a2_0x258ec9(0x23d),a2_0x258ec9(0x38c))[a2_0x258ec9(0x251)](a2_0x258ec9(0x21c),a2_0x258ec9(0x378))['option'](a2_0x258ec9(0x3a9),a2_0x258ec9(0x240))[a2_0x258ec9(0x2cd)](async(_0x431432,_0x7b701f)=>{const _0x3fb79f=a2_0x258ec9,_0x124ad0=new LLMAgentUpdateCommand(),_0xfa8442=program['opts'](),_0x3cf75d=await createTDXInstance(_0xfa8442),_0x5133ed=await _0x124ad0[_0x3fb79f(0x33b)]({'options':{..._0xfa8442,..._0x7b701f},'args':[_0x431432],'tdx':_0x3cf75d});gracefulExit(_0x5133ed);}),agentSyncCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x1df))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x1a4))[a2_0x258ec9(0x2cd)](async(_0x2c6e67,_0x3058a3)=>{const _0x3c1ac6=new LLMAgentDeleteCommand(),_0x4f45d7=program['opts'](),_0x34ef76=await createTDXInstance(_0x4f45d7),_0x3dadeb=await _0x3c1ac6['run']({'options':{..._0x4f45d7,..._0x3058a3},'args':[_0x2c6e67],'tdx':_0x34ef76});gracefulExit(_0x3dadeb);});const workCmd=program[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x132))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x236));workCmd[a2_0x258ec9(0x251)](a2_0x258ec9(0x391),a2_0x258ec9(0x1cf))[a2_0x258ec9(0x251)]('--all',a2_0x258ec9(0x3b0))[a2_0x258ec9(0x2cd)](workSummaryAction),workCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x399))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x3b4))[a2_0x258ec9(0x251)](a2_0x258ec9(0x170),a2_0x258ec9(0x31b))[a2_0x258ec9(0x2cd)](workInitAction),workCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x113))[a2_0x258ec9(0x3cb)]('Create\x20a\x20new\x20document')['option'](a2_0x258ec9(0x253),a2_0x258ec9(0x26c),'item')[a2_0x258ec9(0x251)]('--tags\x20<tags>',a2_0x258ec9(0x185))[a2_0x258ec9(0x251)](a2_0x258ec9(0x16c),'Priority\x20(critical,\x20high,\x20medium,\x20low)')['option']('--body\x20<body>','Document\x20body\x20text')[a2_0x258ec9(0x251)](a2_0x258ec9(0x110),a2_0x258ec9(0x384))[a2_0x258ec9(0x251)](a2_0x258ec9(0x3ef),a2_0x258ec9(0x13d))[a2_0x258ec9(0x251)](a2_0x258ec9(0x24d),a2_0x258ec9(0x2ee))[a2_0x258ec9(0x2cd)](workNewAction),workCmd[a2_0x258ec9(0x1fb)]('move\x20<name>\x20<status>')['description'](a2_0x258ec9(0x186))[a2_0x258ec9(0x2cd)](workMoveAction),workCmd[a2_0x258ec9(0x1fb)]('board')['description'](a2_0x258ec9(0x361))[a2_0x258ec9(0x251)]('--days\x20<n>',a2_0x258ec9(0x1cf))[a2_0x258ec9(0x251)]('--all',a2_0x258ec9(0x3b0))[a2_0x258ec9(0x2cd)](workBoardAction),workCmd[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x404))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x10f))[a2_0x258ec9(0x2cd)](workShowAction),workCmd['command'](a2_0x258ec9(0x322))[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x152))[a2_0x258ec9(0x2cd)](workLinksAction),workCmd['command']('open\x20<name>')[a2_0x258ec9(0x3cb)](a2_0x258ec9(0x1c2))[a2_0x258ec9(0x2cd)](workOpenAction),program[a2_0x258ec9(0x1fb)](a2_0x258ec9(0x28a),{'hidden':!![]})[a2_0x258ec9(0x2cd)](()=>{const _0x531b3a=a2_0x258ec9;function _0x3c8a04(_0x1f8c1f,_0x2944ea){const _0x5cabe3=a2_0x1421,_0x184e64=[];for(const _0x111145 of _0x1f8c1f[_0x5cabe3(0x1aa)]){if(_0x111145['_hidden'])continue;const _0x5bf665=_0x2944ea?_0x2944ea+'\x20'+_0x111145[_0x5cabe3(0x318)]():_0x111145[_0x5cabe3(0x318)](),_0x53dd6c=_0x5bf665[_0x5cabe3(0x118)]('\x20')[0x0],_0x6c63cf=COMMAND_CATEGORIES['find'](_0xb8a18b=>_0xb8a18b[_0x5cabe3(0x1aa)][_0x5cabe3(0x3b8)](_0x53dd6c)),_0x31c87e=_0x6c63cf?.['name']??'';if(_0x111145['commands'][_0x5cabe3(0x39c)]>0x0)_0x184e64['push'](..._0x3c8a04(_0x111145,_0x5bf665));else{const _0x2db40d=(_0x111145[_0x5cabe3(0x25d)]||[])[_0x5cabe3(0x33d)](_0x4cfb7f=>{const _0x4039c4=_0x5cabe3,_0x1b94c0=_0x4cfb7f[_0x4039c4(0x317)]?_0x4cfb7f[_0x4039c4(0x318)]()+_0x4039c4(0x1bc):_0x4cfb7f['name']();return _0x4cfb7f[_0x4039c4(0x102)]?'<'+_0x1b94c0+'>':'['+_0x1b94c0+']';})[_0x5cabe3(0x10a)]('\x20'),_0x48b50c=_0x111145[_0x5cabe3(0x3b9)]['filter'](_0x538aa4=>!_0x538aa4['hidden']&&_0x538aa4['long']!==_0x5cabe3(0x33f))[_0x5cabe3(0x33d)](_0x116f05=>({'flags':_0x116f05['flags'],'description':_0x116f05[_0x5cabe3(0x3cb)]}));_0x184e64[_0x5cabe3(0x1db)]({'name':_0x5bf665,'description':_0x111145[_0x5cabe3(0x3cb)](),'group':_0x31c87e,'usage':_0x2db40d,'options':_0x48b50c});}}return _0x184e64;}console[_0x531b3a(0x336)](JSON['stringify'](_0x3c8a04(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x1156af=a2_0x258ec9,_0xc09718=!process[_0x1156af(0x140)][_0x1156af(0x1ac)](0x2)[_0x1156af(0x39c)];showBriefHelp=_0xc09718,program[_0x1156af(0x265)](process['argv']);_0xc09718&&program['outputHelp']();const _0x3cae74=process[_0x1156af(0x140)][0x2]===_0x1156af(0x3ac);if(process[_0x1156af(0x2cc)][_0x1156af(0x22a)]&&process[_0x1156af(0x140)][_0x1156af(0x39c)]>0x2&&!isDevVersion()&&!_0x3cae74){const _0x4946e1=loadReleaseChannel();checkForUpdate(currentVersion,_0x4946e1)[_0x1156af(0x380)](_0x183ede=>{_0x183ede&&displayUpdateNotification(_0x183ede);})[_0x1156af(0x1ee)](()=>{});}}
|
|
1
|
+
const a2_0x551190=a2_0x2c83;(function(_0x23a244,_0x34d2b2){const _0x11c72b=a2_0x2c83,_0x576ccb=_0x23a244();while(!![]){try{const _0x146c89=parseInt(_0x11c72b(0xdb))/0x1*(-parseInt(_0x11c72b(0x372))/0x2)+parseInt(_0x11c72b(0x25b))/0x3*(parseInt(_0x11c72b(0x297))/0x4)+parseInt(_0x11c72b(0x128))/0x5+parseInt(_0x11c72b(0x301))/0x6+parseInt(_0x11c72b(0x2c9))/0x7+-parseInt(_0x11c72b(0x250))/0x8+-parseInt(_0x11c72b(0x274))/0x9;if(_0x146c89===_0x34d2b2)break;else _0x576ccb['push'](_0x576ccb['shift']());}catch(_0x320931){_0x576ccb['push'](_0x576ccb['shift']());}}}(a2_0x19a0,0xe3d8a));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';function a2_0x2c83(_0x2c10b2,_0x5641d9){_0x2c10b2=_0x2c10b2-0xba;const _0x19a07b=a2_0x19a0();let _0x2c839b=_0x19a07b[_0x2c10b2];return _0x2c839b;}import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSRtJnListCommand,PSRtJnPauseCommand,PSRtJnResumeCommand,PSRtConfigVersionCommand,PSPzServiceListCommand,PSPzServiceCreateCommand,PSPzServiceShowCommand,PSPzServiceDeleteCommand,PSPzServiceUpdateCommand,PSPzServiceTokenCreateCommand,PSPzServiceTokenDeleteCommand,PSPzListCommand,PSPzShowCommand,PSPzDeleteCommand,PSPzCreateCommand,PSPzPatchCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileDeleteCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{CASListCommand,CASDescCommand,CASPullCommand,CASPushCommand,CASPreviewCommand}from'./commands/cas-command.js';import{CASSegmentListCommand}from'./commands/cas-segment-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{workSummaryAction,workInitAction,workNewAction,workMoveAction,workBoardAction,workShowAction,workLinksAction,workOpenAction}from'./commands/work-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x551190(0x3c9)]['includes']('--version')){let versionOutput=a2_0x551190(0x2ae)+currentVersion;buildInfo[a2_0x551190(0x298)]&&!currentVersion[a2_0x551190(0x307)](buildInfo['gitRevision'])&&(versionOutput+='\x20('+buildInfo[a2_0x551190(0x298)]+')'),buildInfo[a2_0x551190(0x2c1)]&&(versionOutput+=a2_0x551190(0x2de)+buildInfo[a2_0x551190(0x2c1)]),console[a2_0x551190(0x30b)](versionOutput),process[a2_0x551190(0x3e7)](0x0);}const program=new Command();export function mergeCommandOptions(_0x33b7c4,_0x5190cb){const _0x166498=a2_0x551190,_0x26d4e7={..._0x33b7c4};for(const [_0x1415be,_0x7ae70b]of Object[_0x166498(0x323)](_0x5190cb)){_0x7ae70b!==undefined&&(_0x26d4e7[_0x1415be]=_0x7ae70b);}return _0x26d4e7;}let showBriefHelp=![],description=a2_0x551190(0xf3);buildInfo[a2_0x551190(0x298)]&&!currentVersion['includes'](buildInfo[a2_0x551190(0x298)])?description+=a2_0x551190(0x343)+currentVersion+'\x20('+buildInfo[a2_0x551190(0x298)]+')':description+=a2_0x551190(0x343)+currentVersion;program[a2_0x551190(0x113)](a2_0x551190(0x291))[a2_0x551190(0x28f)](description),program['option'](a2_0x551190(0x2e3),a2_0x551190(0x324))[a2_0x551190(0x3ea)](a2_0x551190(0x1ab),a2_0x551190(0xf1))[a2_0x551190(0x3ea)]('--site\x20<site>',a2_0x551190(0x38c),a2_0x551190(0x24c))['option'](a2_0x551190(0x2ec),'Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)')['option'](a2_0x551190(0x334),a2_0x551190(0x35d))['option'](a2_0x551190(0x214),'Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')[a2_0x551190(0x3ea)](a2_0x551190(0x11c),a2_0x551190(0x3e3))[a2_0x551190(0x3ea)](a2_0x551190(0x19f),'Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)')[a2_0x551190(0x3ea)](a2_0x551190(0x336),a2_0x551190(0x23f))[a2_0x551190(0x3ea)](a2_0x551190(0x32b),a2_0x551190(0x392))[a2_0x551190(0x3ea)](a2_0x551190(0x10a),a2_0x551190(0x255),![])[a2_0x551190(0x3ea)]('--no-color',a2_0x551190(0x145),![])[a2_0x551190(0x3ea)](a2_0x551190(0x2ea),a2_0x551190(0x342),![])['option'](a2_0x551190(0x1a2),a2_0x551190(0x362))[a2_0x551190(0x3ea)](a2_0x551190(0x2e0),a2_0x551190(0x25e))[a2_0x551190(0x3ea)](a2_0x551190(0x327),a2_0x551190(0xbb),'30')[a2_0x551190(0x3ea)](a2_0x551190(0x329),'Preview\x20operation\x20without\x20executing',![])[a2_0x551190(0x3ea)](a2_0x551190(0x330),a2_0x551190(0x1c2),![])[a2_0x551190(0x3ea)](a2_0x551190(0x3ad),a2_0x551190(0x149))['option']('--parent-segment\x20<name>',a2_0x551190(0x3d2))[a2_0x551190(0x3ea)](a2_0x551190(0x1db),a2_0x551190(0x13f)),program[a2_0x551190(0x17e)]({'formatHelp':(_0x11acec,_0x581b5b)=>{const _0x392b7a=a2_0x551190,_0x45a26c=_0x581b5b[_0x392b7a(0x352)](_0x11acec,_0x581b5b),_0x66c12=0x2,_0x410695=0x2;function _0x3cc5a7(_0x1fc109){const _0x408cf7=_0x392b7a,_0x261a7f=_0x1fc109;return!!(_0x261a7f[_0x408cf7(0x384)]||_0x261a7f[_0x408cf7(0x1e8)]);}function _0x53cb77(_0x55de5e,_0x302d8d){const _0x14925f=_0x392b7a;if(_0x302d8d){const _0x468902=''+_0x55de5e[_0x14925f(0x15c)](_0x45a26c+_0x410695)+_0x302d8d;return _0x468902;}return _0x55de5e;}function _0x2b0cc5(_0x14f71b){const _0x39a0fd=_0x392b7a;return _0x14f71b[_0x39a0fd(0xf9)]('\x0a')[_0x39a0fd(0x2be)](/^/gm,'\x20'[_0x39a0fd(0x1e2)](_0x66c12));}const _0x4763b5=[];_0x4763b5[_0x392b7a(0x183)]('Usage:\x20'+_0x581b5b['commandUsage'](_0x11acec));const _0x2420cb=_0x581b5b['commandDescription'](_0x11acec);_0x2420cb&&(_0x4763b5[_0x392b7a(0x183)](''),_0x4763b5['push'](_0x2420cb));const _0x1c2999=_0x11acec[_0x392b7a(0x300)][_0x392b7a(0x326)](_0x5a7929=>!_0x3cc5a7(_0x5a7929));if(_0x1c2999['length']>0x0){if(_0x11acec['name']()==='tdx'){const _0x323cba=_0x11acec['opts'](),_0x4210a1=!_0x323cba['noColor']&&process[_0x392b7a(0x37b)][_0x392b7a(0x1b2)],_0x317146=COMMAND_CATEGORIES,_0x2ed1b5=(_0x56d19b,_0x4e8eb7)=>_0x4210a1?_0x4e8eb7(_0x56d19b):_0x56d19b,_0x23be2d=new Map();_0x1c2999[_0x392b7a(0x3b6)](_0x50f670=>{const _0x54139d=_0x392b7a;_0x23be2d[_0x54139d(0x1b0)](_0x50f670[_0x54139d(0x113)](),_0x50f670);}),_0x317146[_0x392b7a(0x3b6)](_0x17c647=>{const _0x268f1e=_0x392b7a,_0x780dd5=_0x17c647[_0x268f1e(0x300)][_0x268f1e(0x3db)](_0x26ed86=>_0x23be2d[_0x268f1e(0x36f)](_0x26ed86)??[]);if(_0x780dd5[_0x268f1e(0x20d)]>0x0){_0x4763b5['push'](''),_0x4763b5[_0x268f1e(0x183)](_0x2ed1b5(_0x17c647[_0x268f1e(0x113)]+':',_0x17c647[_0x268f1e(0x1f4)]));const _0x40e371=_0x780dd5['map'](_0x3c7c02=>{const _0x3202a4=_0x268f1e,_0x3c9f26=_0x581b5b[_0x3202a4(0x391)](_0x3c7c02),_0x562117=_0x581b5b['subcommandDescription'](_0x3c7c02);return _0x53cb77(_0x3c9f26,_0x562117);});_0x4763b5[_0x268f1e(0x183)](_0x2b0cc5(_0x40e371));}}),_0x4763b5[_0x392b7a(0x183)](''),_0x4763b5[_0x392b7a(0x183)]('Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22');}else{const _0x4ba7cf=_0x1c2999[_0x392b7a(0x239)](_0x29cf3d=>{const _0x4bf589=_0x392b7a,_0x411870=_0x581b5b[_0x4bf589(0x391)](_0x29cf3d),_0x14677b=_0x581b5b[_0x4bf589(0x20a)](_0x29cf3d);return _0x53cb77(_0x411870,_0x14677b);});_0x4763b5[_0x392b7a(0x183)](''),_0x4763b5[_0x392b7a(0x183)]('Commands:'),_0x4763b5[_0x392b7a(0x183)](_0x2b0cc5(_0x4ba7cf));}}if(showBriefHelp&&_0x11acec['name']()==='tdx')_0x4763b5[_0x392b7a(0x183)](''),_0x4763b5['push']('Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version');else{const _0x55cc32=_0x11acec['options'][_0x392b7a(0x326)](_0x2b631e=>!_0x3cc5a7(_0x2b631e));if(_0x55cc32[_0x392b7a(0x20d)]>0x0){const _0x15cd31=_0x55cc32['map'](_0xc53c8d=>{const _0x57f788=_0x392b7a,_0x519164=_0x581b5b[_0x57f788(0x26b)](_0xc53c8d),_0x322c6f=_0x581b5b[_0x57f788(0x37e)](_0xc53c8d);return _0x53cb77(_0x519164,_0x322c6f);});_0x4763b5[_0x392b7a(0x183)](''),_0x4763b5['push']('Options:'),_0x4763b5[_0x392b7a(0x183)](_0x2b0cc5(_0x15cd31));}}const _0x2af652=(_0x11acec['registeredArguments']||[])[_0x392b7a(0x326)](_0x2d0820=>!_0x3cc5a7(_0x2d0820));if(_0x2af652[_0x392b7a(0x20d)]>0x0){const _0x4493f8=_0x2af652['map'](_0x384680=>{const _0x37a4bf=_0x392b7a,_0x14f956=_0x581b5b[_0x37a4bf(0x17b)](_0x384680),_0x3c871b=_0x581b5b[_0x37a4bf(0x136)](_0x384680);return _0x53cb77(_0x14f956,_0x3c871b);});_0x4763b5[_0x392b7a(0x183)](''),_0x4763b5[_0x392b7a(0x183)](_0x392b7a(0x2dd)),_0x4763b5[_0x392b7a(0x183)](_0x2b0cc5(_0x4493f8));}return _0x4763b5[_0x392b7a(0xf9)]('\x0a')+'\x0a';},'subcommandTerm':_0x375598=>{const _0x78e584=a2_0x551190,_0x4557c9=(_0x375598['registeredArguments']||[])['map'](_0x522f9d=>_0x522f9d['required']?'<'+_0x522f9d[_0x78e584(0x113)]()+'>':'['+_0x522f9d[_0x78e584(0x113)]()+']')['join']('\x20'),_0x2b3ec5=_0x375598[_0x78e584(0x36e)](),_0x15d201=_0x2b3ec5['length']>0x0?_0x375598['name']()+',\x20'+_0x2b3ec5[_0x78e584(0xf9)](',\x20'):_0x375598[_0x78e584(0x113)]();return _0x4557c9?_0x15d201+'\x20'+_0x4557c9:_0x15d201;}}),program[a2_0x551190(0x196)]('preAction',_0x4fd7a1=>{const _0x114b43=a2_0x551190,_0x4e8fbe=_0x4fd7a1['opts']();if(_0x4e8fbe['directory']){const _0x180010=resolve(_0x4e8fbe[_0x114b43(0x2f6)]),_0x4270ee=_0x180010!==_0x4e8fbe[_0x114b43(0x2f6)]?_0x114b43(0x3cb)+_0x180010+')':'';if(!existsSync(_0x180010))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x114b43(0x188)+_0x4e8fbe[_0x114b43(0x2f6)]+_0x4270ee,undefined,{'helpText':_0x114b43(0x34b)});const _0x221231=statSync(_0x180010);if(!_0x221231[_0x114b43(0x18f)]())throw new SDKError(ErrorCode[_0x114b43(0x1d9)],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x4e8fbe[_0x114b43(0x2f6)]+_0x4270ee,undefined,{'helpText':_0x114b43(0x147)});process[_0x114b43(0x39c)](_0x180010);}if(!_0x4e8fbe[_0x114b43(0x33e)]){if(_0x4e8fbe[_0x114b43(0x2bc)])_0x4e8fbe[_0x114b43(0x33e)]=_0x114b43(0x2bc);else{if(_0x4e8fbe[_0x114b43(0x2c3)])_0x4e8fbe[_0x114b43(0x33e)]=_0x114b43(0x2c3);else{if(_0x4e8fbe['jsonl'])_0x4e8fbe[_0x114b43(0x33e)]=_0x114b43(0xdf);else _0x4e8fbe[_0x114b43(0x26c)]&&(_0x4e8fbe[_0x114b43(0x33e)]=_0x114b43(0x26c));}}}if(_0x4e8fbe[_0x114b43(0x34d)])_0x4e8fbe[_0x114b43(0x316)]=LogLevel[_0x114b43(0x3a8)];else{if(_0x4e8fbe[_0x114b43(0x27a)])_0x4e8fbe['logLevel']=LogLevel[_0x114b43(0xd8)];else _0x4e8fbe[_0x114b43(0x316)]===undefined&&(_0x4e8fbe[_0x114b43(0x316)]=LogLevel[_0x114b43(0x1b9)]);}});async function createTDXInstance(_0x5217b1){const _0x239d39=a2_0x551190,_0x133eab=await GlobalContext[_0x239d39(0xc5)](_0x5217b1);_0x133eab[_0x239d39(0x2b8)](_0x5217b1);const _0x53d919=Number(_0x5217b1[_0x239d39(0x21f)]),_0x357077=!isNaN(_0x53d919)&&_0x53d919>0x0?_0x53d919*0x3e8:undefined;return TDX[_0x239d39(0xe3)]({'site':_0x133eab[_0x239d39(0x37d)],'apiKey':_0x133eab['apiKey'],'accessToken':_0x133eab['accessToken'],'logLevel':_0x133eab[_0x239d39(0x316)],'profile':_0x133eab[_0x239d39(0x3c2)],'timeout':_0x357077});}const databaseCmd=program[a2_0x551190(0x151)](a2_0x551190(0x2ab))[a2_0x551190(0x1a6)]('db')['description'](a2_0x551190(0x31a)),databaseListAction=async(_0x4bb756,_0x1a7788)=>{const _0x4fdbc3=a2_0x551190,_0x41913d=new DatabasesCommand(),_0x26791c=program[_0x4fdbc3(0x180)](),_0x4a5a53=await createTDXInstance(_0x26791c),_0x22a82b=await _0x41913d[_0x4fdbc3(0x328)]({'options':{..._0x26791c,..._0x1a7788},'args':_0x4bb756?[_0x4bb756]:[],'tdx':_0x4a5a53});gracefulExit(_0x22a82b);};databaseCmd['command'](a2_0x551190(0xfb))[a2_0x551190(0x28f)]('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x551190(0x246)](databaseListAction),program['command'](a2_0x551190(0x160),{'hidden':!![]})[a2_0x551190(0x28f)]('List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)')[a2_0x551190(0x246)](databaseListAction),program[a2_0x551190(0x151)](a2_0x551190(0xba))[a2_0x551190(0x28f)](a2_0x551190(0x377))['option'](a2_0x551190(0x3af),a2_0x551190(0x293))[a2_0x551190(0x3ea)](a2_0x551190(0x333),'Start\x20a\x20new\x20chat\x20session')['option'](a2_0x551190(0x124),a2_0x551190(0xc3))['option'](a2_0x551190(0x2bf),'Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)')[a2_0x551190(0x246)](async(_0x3b043b,_0x530942)=>{const _0x92ef59=a2_0x551190,_0x1ece62=program[_0x92ef59(0x180)](),_0x575f55=await createTDXInstance(_0x1ece62);if(_0x3b043b[0x0]==='create'){const _0x15cd6c=new ChatCreateCommand();gracefulExit(await _0x15cd6c[_0x92ef59(0x328)]({'options':{..._0x1ece62,..._0x530942},'args':_0x3b043b[_0x92ef59(0x10f)](0x1),'tdx':_0x575f55}));return;}const _0x4d88d6=new ChatCommand(),_0x44ef1a=await _0x4d88d6['run']({'options':{..._0x1ece62,..._0x530942},'args':_0x3b043b,'tdx':_0x575f55});gracefulExit(_0x44ef1a);});const apiCmd=program['command'](a2_0x551190(0x294))[a2_0x551190(0x1e0)](a2_0x551190(0x1f8))[a2_0x551190(0x34e)](a2_0x551190(0x355),a2_0x551190(0xe9))[a2_0x551190(0x3ea)]('-X,\x20--method\x20<method>',a2_0x551190(0xf4),'GET')['option'](a2_0x551190(0x120),a2_0x551190(0x386))[a2_0x551190(0x3ea)](a2_0x551190(0x2f5),'Read\x20request\x20body\x20from\x20file')[a2_0x551190(0x3ea)](a2_0x551190(0x2ed),'Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x4fd997,_0x45df5d)=>{return _0x45df5d?[..._0x45df5d,_0x4fd997]:[_0x4fd997];})['option']('--type\x20<api_type>','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')[a2_0x551190(0x246)](async(_0x4cbda1,_0x1b1baf)=>{const _0x10450a=a2_0x551190;if(!_0x4cbda1){apiCmd['help']();return;}const _0x3d1537=new ApiCommand(),_0x3b400d=program[_0x10450a(0x180)](),_0x5c117f=await createTDXInstance(_0x3b400d),_0x3ff606=await _0x3d1537[_0x10450a(0x328)]({'options':{..._0x3b400d,..._0x1b1baf},'args':[_0x4cbda1],'tdx':_0x5c117f});gracefulExit(_0x3ff606);});program[a2_0x551190(0x151)](a2_0x551190(0x3d6))[a2_0x551190(0x28f)]('Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration')[a2_0x551190(0x34e)](a2_0x551190(0x355),a2_0x551190(0x14d))[a2_0x551190(0x246)](async _0x2e3374=>{const _0x552b2d=a2_0x551190,_0x44f199=new MCPCommand(),_0x53c263=program[_0x552b2d(0x180)](),_0x771fdd=await createTDXInstance(_0x53c263),_0x3735e4=await _0x44f199[_0x552b2d(0x328)]({'options':{..._0x53c263,..._0x2e3374},'args':[],'tdx':_0x771fdd});gracefulExit(_0x3735e4);});const tableCmd=program['command']('table')['description'](a2_0x551190(0x1af)),tableListAction=async(_0x10b88c,_0xd8fd9e)=>{const _0x26fe1e=a2_0x551190,_0x308156=new TablesCommand(),_0x101e25=program[_0x26fe1e(0x180)](),_0xd23476=await createTDXInstance(_0x101e25);_0xd8fd9e['in']&&(_0xd8fd9e[_0x26fe1e(0x2ab)]=_0xd8fd9e['in']);const _0x21a0ac=await _0x308156['run']({'options':{..._0x101e25,..._0xd8fd9e},'args':_0x10b88c?[_0x10b88c]:[],'tdx':_0xd23476});gracefulExit(_0x21a0ac);};tableCmd[a2_0x551190(0x151)](a2_0x551190(0xfb))[a2_0x551190(0x28f)]('List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)')[a2_0x551190(0x3ea)](a2_0x551190(0x361),a2_0x551190(0x2ad))['option'](a2_0x551190(0x34c),a2_0x551190(0x2d9))['action'](tableListAction),program['command'](a2_0x551190(0x1b4),{'hidden':!![]})[a2_0x551190(0x28f)](a2_0x551190(0x311))[a2_0x551190(0x3ea)](a2_0x551190(0x361),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x551190(0x3ea)]('--in\x20<database>',a2_0x551190(0x2d9))['action'](tableListAction),program[a2_0x551190(0x151)](a2_0x551190(0x305))['description'](a2_0x551190(0x177))[a2_0x551190(0x3ea)](a2_0x551190(0x361),a2_0x551190(0x387))[a2_0x551190(0x3ea)](a2_0x551190(0x34c),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](async(_0x2f54e8,_0x402073)=>{const _0x64cd0=a2_0x551190,_0x594350=new ShowCommand(),_0x3a75fc=program['opts'](),_0x10ee7d=await createTDXInstance(_0x3a75fc);_0x402073['in']&&(_0x402073[_0x64cd0(0x2ab)]=_0x402073['in']);const _0xc828fe=await _0x594350['run']({'options':{..._0x3a75fc,..._0x402073},'args':_0x2f54e8?[_0x2f54e8]:[],'tdx':_0x10ee7d});gracefulExit(_0xc828fe);}),program[a2_0x551190(0x151)](a2_0x551190(0x12f))[a2_0x551190(0x1a6)](a2_0x551190(0x133))['description'](a2_0x551190(0x2ee))[a2_0x551190(0x3ea)]('-d,\x20--database\x20<database>',a2_0x551190(0x387))['option']('--in\x20<database>',a2_0x551190(0x2d9))[a2_0x551190(0x246)](async(_0xefdb72,_0xb7e77a)=>{const _0x15373a=a2_0x551190,_0x288c53=new DescribeCommand(),_0x4cb779=program[_0x15373a(0x180)](),_0x1641ed=await createTDXInstance(_0x4cb779);_0xb7e77a['in']&&(_0xb7e77a[_0x15373a(0x2ab)]=_0xb7e77a['in']);const _0xf197c1=await _0x288c53[_0x15373a(0x328)]({'options':{..._0x4cb779,..._0xb7e77a},'args':_0xefdb72?[_0xefdb72]:[],'tdx':_0x1641ed});gracefulExit(_0xf197c1);}),program['command'](a2_0x551190(0x223))[a2_0x551190(0x28f)]('Run\x20Trino\x20query\x20with\x20streaming\x20results')['option'](a2_0x551190(0x361),a2_0x551190(0x256))[a2_0x551190(0x3ea)]('--in\x20<database>',a2_0x551190(0x2d9))['option'](a2_0x551190(0x38f),a2_0x551190(0x279))[a2_0x551190(0x3ea)](a2_0x551190(0x2f5),'Read\x20SQL\x20query\x20from\x20file')[a2_0x551190(0x3ea)](a2_0x551190(0x2d0),a2_0x551190(0x200))['action'](async(_0x39bebe,_0x3fef9e)=>{const _0x3c377d=a2_0x551190,_0x301c3d=new QueryCommand(),_0x56ef22=program[_0x3c377d(0x180)](),_0x43d499=await createTDXInstance(_0x56ef22);_0x3fef9e['in']&&(_0x3fef9e[_0x3c377d(0x2ab)]=_0x3fef9e['in']);const _0x5924d1=await _0x301c3d['run']({'options':mergeCommandOptions(_0x56ef22,_0x3fef9e),'args':_0x39bebe?[_0x39bebe]:[],'tdx':_0x43d499});gracefulExit(_0x5924d1);});const segmentCmd=program[a2_0x551190(0x151)]('segment')[a2_0x551190(0x1a6)]('sg')['description']('CDP\x20segment\x20management\x20commands'),segmentListAction=async(_0x293849,_0x51a8fd)=>{const _0x317241=a2_0x551190,_0x2caa2b=new SegmentsCommand(),_0x491c7b=program['opts'](),_0x261e73=await createTDXInstance(_0x491c7b),_0x17f70a=await _0x2caa2b[_0x317241(0x328)]({'options':{..._0x491c7b,..._0x51a8fd},'args':_0x293849?[_0x293849]:[],'tdx':_0x261e73});gracefulExit(_0x17f70a);};segmentCmd[a2_0x551190(0x151)]('list\x20[path]')[a2_0x551190(0x28f)](a2_0x551190(0x2b7))[a2_0x551190(0x3ea)]('-r,\x20--recursive',a2_0x551190(0x2a8))['option'](a2_0x551190(0x116),a2_0x551190(0x240),'10')[a2_0x551190(0x246)](segmentListAction),program[a2_0x551190(0x151)](a2_0x551190(0xf6),{'hidden':!![]})[a2_0x551190(0x28f)](a2_0x551190(0x161))[a2_0x551190(0x3ea)](a2_0x551190(0x1e3),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x551190(0x3ea)](a2_0x551190(0x116),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')['action'](segmentListAction),segmentCmd[a2_0x551190(0x151)](a2_0x551190(0x159),{'hidden':!![]})[a2_0x551190(0x28f)](a2_0x551190(0x141))[a2_0x551190(0x246)](async(_0x21c9a4,_0x39dc11)=>{const _0x1dca95=a2_0x551190,_0x5208c3=new SegmentUseCommand(),_0xf77d8b=program[_0x1dca95(0x180)](),_0x53566c=await createTDXInstance(_0xf77d8b),_0x2fc8b4=await _0x5208c3['run']({'options':{..._0xf77d8b,..._0x39dc11},'args':[_0x21c9a4],'tdx':_0x53566c});gracefulExit(_0x2fc8b4);});const segmentViewAction=async(_0x37b48e,_0x2a4639)=>{const _0xbd1c22=a2_0x551190,_0x58faae=new SegmentViewCommand(),_0x5caf15=program['opts'](),_0x808461=await createTDXInstance(_0x5caf15),_0x1af254=await _0x58faae[_0xbd1c22(0x328)]({'options':{..._0x5caf15,..._0x2a4639},'args':_0x37b48e?[_0x37b48e]:[],'tdx':_0x808461});gracefulExit(_0x1af254);};segmentCmd[a2_0x551190(0x151)](a2_0x551190(0x3a0))['description'](a2_0x551190(0x12d))[a2_0x551190(0x3ea)](a2_0x551190(0x3a3),a2_0x551190(0x2eb))[a2_0x551190(0x246)](segmentViewAction),segmentCmd[a2_0x551190(0x151)](a2_0x551190(0x3ce),{'hidden':!![]})[a2_0x551190(0x1a6)](a2_0x551190(0xe8))[a2_0x551190(0x3ea)](a2_0x551190(0x3a3),a2_0x551190(0x2eb))[a2_0x551190(0x28f)](a2_0x551190(0x155))['action'](segmentViewAction),segmentCmd[a2_0x551190(0x151)](a2_0x551190(0x267))[a2_0x551190(0x28f)](a2_0x551190(0x353))[a2_0x551190(0x246)](async(_0x32b8bf,_0x245e3f)=>{const _0x1ac0a1=a2_0x551190,_0x10e7e6=new SegmentDescCommand(),_0xb3d763=program[_0x1ac0a1(0x180)](),_0x3abe32=await createTDXInstance(_0xb3d763),_0x1e2e04=await _0x10e7e6[_0x1ac0a1(0x328)]({'options':{..._0xb3d763,..._0x245e3f},'args':_0x32b8bf?[_0x32b8bf]:[],'tdx':_0x3abe32});gracefulExit(_0x1e2e04);}),segmentCmd[a2_0x551190(0x151)]('show\x20[segment_name]')['description'](a2_0x551190(0x247))[a2_0x551190(0x246)](async(_0x369ed2,_0x18e8d7)=>{const _0x50d2da=a2_0x551190,_0x35da9a=new SegmentShowCommand(),_0x38a007=program['opts'](),_0x1fdf22=await createTDXInstance(_0x38a007),_0x1b99ea=await _0x35da9a[_0x50d2da(0x328)]({'options':{..._0x38a007,..._0x18e8d7},'args':_0x369ed2?[_0x369ed2]:[],'tdx':_0x1fdf22});gracefulExit(_0x1b99ea);}),segmentCmd[a2_0x551190(0x151)](a2_0x551190(0x31f),{'hidden':!![]})[a2_0x551190(0x28f)](a2_0x551190(0x1fa))[a2_0x551190(0x246)](async(_0x18d932,_0x5c35bb)=>{const _0x3a76a9=a2_0x551190,_0x2903fe=new SegmentFolderListCommand(),_0x10a4ae=program[_0x3a76a9(0x180)](),_0x59128d=await createTDXInstance(_0x10a4ae),_0x5df4f0=await _0x2903fe[_0x3a76a9(0x328)]({'options':{..._0x10a4ae,..._0x5c35bb},'args':[_0x18d932],'tdx':_0x59128d});gracefulExit(_0x5df4f0);});const folderCmd=segmentCmd['command'](a2_0x551190(0x2ca),{'hidden':!![]})[a2_0x551190(0x28f)](a2_0x551190(0x156));folderCmd['command']('show\x20<folder_ref>')['description']('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')[a2_0x551190(0x246)](async(_0x39fe58,_0x565da1)=>{const _0x38280e=a2_0x551190,_0x567fc2=new SegmentFolderShowCommand(),_0x1bd892=program[_0x38280e(0x180)](),_0x5d3a1e=await createTDXInstance(_0x1bd892),_0x51095a=await _0x567fc2['run']({'options':{..._0x1bd892,..._0x565da1},'args':[_0x39fe58],'tdx':_0x5d3a1e});gracefulExit(_0x51095a);}),segmentCmd['command']('sql\x20[segment_name]')['description'](a2_0x551190(0x108))[a2_0x551190(0x3ea)]('--path\x20<file-path>','YAML\x20file\x20path\x20for\x20unpushed\x20segment')['action'](async(_0x155afd,_0x3dc8c8)=>{const _0x46b470=new SegmentSQLCommand(),_0x454452=program['opts'](),_0x309e7d=await createTDXInstance(_0x454452),_0xb663e=await _0x46b470['run']({'options':{..._0x454452,..._0x3dc8c8},'args':_0x155afd?[_0x155afd]:[],'tdx':_0x309e7d});gracefulExit(_0xb663e);}),segmentCmd['command']('fields\x20[parent_name]')[a2_0x551190(0x28f)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)')[a2_0x551190(0x246)](async(_0x19b7c2,_0x2eac0b)=>{const _0x258191=a2_0x551190,_0x5183ec=new SegmentFieldsCommand(),_0x3282c5=program[_0x258191(0x180)](),_0x147589=await createTDXInstance(_0x3282c5),_0x1effbf=await _0x5183ec[_0x258191(0x328)]({'options':{..._0x3282c5,..._0x2eac0b},'args':_0x19b7c2?[_0x19b7c2]:[],'tdx':_0x147589});gracefulExit(_0x1effbf);}),segmentCmd[a2_0x551190(0x151)](a2_0x551190(0x286))[a2_0x551190(0x28f)](a2_0x551190(0x28d))[a2_0x551190(0x3ea)](a2_0x551190(0x329),a2_0x551190(0x3d8))[a2_0x551190(0x246)](async(_0x92bf77,_0xb6857f)=>{const _0x32872f=a2_0x551190,_0x5009b7=new SegmentPullCommand(),_0x4fe006=program[_0x32872f(0x180)](),_0x481483=await createTDXInstance(_0x4fe006),_0x3a27cd=await _0x5009b7[_0x32872f(0x328)]({'options':{..._0x4fe006,..._0xb6857f},'args':_0x92bf77?[_0x92bf77]:[],'tdx':_0x481483});gracefulExit(_0x3a27cd);}),segmentCmd[a2_0x551190(0x151)](a2_0x551190(0xc8))[a2_0x551190(0x28f)](a2_0x551190(0xd1))['option'](a2_0x551190(0x329),a2_0x551190(0x3d8))[a2_0x551190(0x3ea)](a2_0x551190(0x11a),a2_0x551190(0xeb))['action'](async(_0x2c7752,_0xc0597c)=>{const _0x2d1d28=a2_0x551190,_0xa68fc2=new SegmentPushCommand(),_0x4aebbb=program[_0x2d1d28(0x180)](),_0x4aa65e=await createTDXInstance(_0x4aebbb),_0x5eb445=await _0xa68fc2['run']({'options':{..._0x4aebbb,..._0xc0597c},'args':_0x2c7752?[_0x2c7752]:[],'tdx':_0x4aa65e});gracefulExit(_0x5eb445);}),segmentCmd[a2_0x551190(0x151)](a2_0x551190(0x1de))[a2_0x551190(0x28f)](a2_0x551190(0x189))[a2_0x551190(0x246)](async(_0x2509e7,_0x1ec97b)=>{const _0x4a9a0b=new SegmentValidateCommand(),_0x104315=program['opts'](),_0x208610=await createTDXInstance(_0x104315),_0x4d2594=await _0x4a9a0b['run']({'options':{..._0x104315,..._0x1ec97b},'args':_0x2509e7?[_0x2509e7]:[],'tdx':_0x208610});gracefulExit(_0x4d2594);}),segmentCmd[a2_0x551190(0x151)](a2_0x551190(0x2df),{'hidden':!![]})['description'](a2_0x551190(0x13b))[a2_0x551190(0x3ea)](a2_0x551190(0xe4),'Segment\x20description')[a2_0x551190(0x3ea)]('--rule\x20<json>',a2_0x551190(0x178))['option']('--rule-file\x20<file>',a2_0x551190(0x233))[a2_0x551190(0x3ea)](a2_0x551190(0x348),a2_0x551190(0x380))[a2_0x551190(0x3ea)](a2_0x551190(0x3c3),a2_0x551190(0x1e6))['option'](a2_0x551190(0x3e6),'Make\x20segment\x20invisible\x20(default:\x20visible)')[a2_0x551190(0x3ea)]('--no-count-population',a2_0x551190(0x1ce))[a2_0x551190(0x246)](async(_0x55a9b1,_0x534fef)=>{const _0x22282f=a2_0x551190,_0x543f7d=new SegmentCreateCommand(),_0x1c2ec9=program[_0x22282f(0x180)](),_0x53b9ab=await createTDXInstance(_0x1c2ec9),_0x529ef6=await _0x543f7d['run']({'options':{..._0x1c2ec9,..._0x534fef},'args':[_0x55a9b1],'tdx':_0x53b9ab});gracefulExit(_0x529ef6);}),segmentCmd[a2_0x551190(0x151)]('update\x20<segment_name>',{'hidden':!![]})['description'](a2_0x551190(0x157))[a2_0x551190(0x3ea)](a2_0x551190(0x215),'New\x20segment\x20name')[a2_0x551190(0x3ea)]('--description\x20<text>','Updated\x20description')['option'](a2_0x551190(0x33f),'Updated\x20filtering\x20rule\x20as\x20JSON\x20string')[a2_0x551190(0x3ea)](a2_0x551190(0x3bc),'Updated\x20filtering\x20rule\x20from\x20JSON\x20file')[a2_0x551190(0x3ea)](a2_0x551190(0x348),a2_0x551190(0x390))[a2_0x551190(0x3ea)](a2_0x551190(0x3c3),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x551190(0x246)](async(_0x1f887e,_0x4feb64)=>{const _0x134dce=a2_0x551190,_0x4d4dce=new SegmentUpdateCommand(),_0x3d5a2f=program[_0x134dce(0x180)](),_0x262ba0=await createTDXInstance(_0x3d5a2f),_0x1ce365=await _0x4d4dce['run']({'options':{..._0x3d5a2f,..._0x4feb64},'args':[_0x1f887e],'tdx':_0x262ba0});gracefulExit(_0x1ce365);});const parentCmd=segmentCmd[a2_0x551190(0x151)](a2_0x551190(0xe5),{'hidden':!![]})['description'](a2_0x551190(0x11d)),parentListAction=async(_0x48ae75,_0x44853d)=>{const _0x1f0293=a2_0x551190,_0x552529=new ParentSegmentListCommand(),_0x51eae6=program[_0x1f0293(0x180)](),_0x4085fb=await createTDXInstance(_0x51eae6),_0x31c7f4=await _0x552529[_0x1f0293(0x328)]({'options':{..._0x51eae6,..._0x44853d},'args':_0x48ae75?[_0x48ae75]:[],'tdx':_0x4085fb});gracefulExit(_0x31c7f4);};parentCmd[a2_0x551190(0x151)]('list\x20[pattern]')['description']('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x551190(0x246)](parentListAction),segmentCmd[a2_0x551190(0x151)](a2_0x551190(0x32c),{'hidden':!![]})[a2_0x551190(0x28f)](a2_0x551190(0xca))[a2_0x551190(0x246)](parentListAction),parentCmd[a2_0x551190(0x151)](a2_0x551190(0x3d0))[a2_0x551190(0x28f)](a2_0x551190(0x125))[a2_0x551190(0x3ea)]('-o,\x20--output\x20<file>',a2_0x551190(0x1f5))['action'](async(_0x465a35,_0x6894cd)=>{const _0x45257a=a2_0x551190,_0x23c4a9=new ParentSegmentPullCommand(),_0x4f3ba6=program[_0x45257a(0x180)](),_0x4d114e=await createTDXInstance(_0x4f3ba6),_0x4799a2=await _0x23c4a9[_0x45257a(0x328)]({'options':{..._0x4f3ba6,..._0x6894cd},'args':_0x465a35?[_0x465a35]:[],'tdx':_0x4d114e});gracefulExit(_0x4799a2);}),parentCmd[a2_0x551190(0x151)](a2_0x551190(0x3b3))['description']('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file')[a2_0x551190(0x246)](async(_0x3bdfa4,_0x3ad60f)=>{const _0x2e48d7=a2_0x551190,_0x173c29=new ParentSegmentPushCommand(),_0x89f928=program[_0x2e48d7(0x180)](),_0x4662e5=await createTDXInstance(_0x89f928),_0x494fdc=await _0x173c29[_0x2e48d7(0x328)]({'options':{..._0x89f928,..._0x3ad60f},'args':_0x3bdfa4?[_0x3bdfa4]:[],'tdx':_0x4662e5});gracefulExit(_0x494fdc);}),parentCmd['command'](a2_0x551190(0x175))[a2_0x551190(0x28f)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x551190(0x3ea)](a2_0x551190(0xfd),'Show\x20only\x20master\x20table\x20validation')['option'](a2_0x551190(0x283),a2_0x551190(0x15d))[a2_0x551190(0x3ea)](a2_0x551190(0x2c6),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x551190(0x3ea)]('--enriched',a2_0x551190(0x13d))[a2_0x551190(0x3ea)]('--interval\x20<range>',a2_0x551190(0x2c4),'-1d')[a2_0x551190(0x246)](async(_0x1c2014,_0x3fa527)=>{const _0x3126fd=a2_0x551190,_0x8236ab=new ParentSegmentValidateCommand(),_0x529203=program[_0x3126fd(0x180)](),_0x4557a4=await createTDXInstance(_0x529203),_0x324869=await _0x8236ab[_0x3126fd(0x328)]({'options':{..._0x529203,..._0x3fa527},'args':_0x1c2014?[_0x1c2014]:[],'tdx':_0x4557a4});gracefulExit(_0x324869);}),parentCmd[a2_0x551190(0x151)](a2_0x551190(0x174))['description']('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')['option'](a2_0x551190(0xfd),a2_0x551190(0x3df))[a2_0x551190(0x3ea)](a2_0x551190(0x283),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x551190(0x3ea)](a2_0x551190(0x2c6),a2_0x551190(0x16d))[a2_0x551190(0x3ea)]('--enriched',a2_0x551190(0xcf))[a2_0x551190(0x3ea)](a2_0x551190(0x39a),a2_0x551190(0x2c4),a2_0x551190(0x1bf))[a2_0x551190(0x246)](async(_0x5494e4,_0x5d09e3)=>{const _0x42f425=a2_0x551190,_0x5e45d3=new ParentSegmentPreviewCommand(),_0x2a6612=program['opts'](),_0x185c64=await createTDXInstance(_0x2a6612),_0x52d965=await _0x5e45d3[_0x42f425(0x328)]({'options':{..._0x2a6612,..._0x5d09e3},'args':_0x5494e4?[_0x5494e4]:[],'tdx':_0x185c64});gracefulExit(_0x52d965);}),parentCmd[a2_0x551190(0x151)](a2_0x551190(0x18d))[a2_0x551190(0x28f)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x551190(0x246)](async(_0x569758,_0x4ef7b5)=>{const _0x26785e=a2_0x551190,_0x431641=new ParentSegmentRunCommand(),_0x1597a0=program[_0x26785e(0x180)](),_0x80781d=await createTDXInstance(_0x1597a0),_0x26d3af=await _0x431641[_0x26785e(0x328)]({'options':{..._0x1597a0,..._0x4ef7b5},'args':_0x569758?[_0x569758]:[],'tdx':_0x80781d});gracefulExit(_0x26d3af);});const parentSegmentCmd=program[a2_0x551190(0x151)](a2_0x551190(0x16a))['alias']('ps')[a2_0x551190(0x28f)]('Parent\x20segment\x20management');parentSegmentCmd[a2_0x551190(0x151)](a2_0x551190(0xfb))[a2_0x551190(0x28f)](a2_0x551190(0x2cb))['action'](parentListAction),parentSegmentCmd[a2_0x551190(0x151)](a2_0x551190(0x3d0))[a2_0x551190(0x28f)](a2_0x551190(0x150))['option']('-o,\x20--output\x20<file>','Output\x20file\x20path')[a2_0x551190(0x3ea)](a2_0x551190(0x29d),a2_0x551190(0x1a9))[a2_0x551190(0x246)](async(_0x554795,_0x1c694f)=>{const _0x45e241=a2_0x551190,_0x297ab5=new ParentSegmentPullCommand(),_0x3aec81=program[_0x45e241(0x180)](),_0x32aab5=await createTDXInstance(_0x3aec81),_0x5e3738=await _0x297ab5[_0x45e241(0x328)]({'options':{..._0x3aec81,..._0x1c694f},'args':_0x554795?[_0x554795]:[],'tdx':_0x32aab5});gracefulExit(_0x5e3738);}),parentSegmentCmd[a2_0x551190(0x151)]('push\x20[name]')[a2_0x551190(0x28f)](a2_0x551190(0x2d2))[a2_0x551190(0x246)](async(_0x11dfe8,_0x270cd7)=>{const _0x3a259f=a2_0x551190,_0x4fbaa4=new ParentSegmentPushCommand(),_0x2320a4=program['opts'](),_0x3551cd=await createTDXInstance(_0x2320a4),_0x3fb43c=await _0x4fbaa4[_0x3a259f(0x328)]({'options':{..._0x2320a4,..._0x270cd7},'args':_0x11dfe8?[_0x11dfe8]:[],'tdx':_0x3551cd});gracefulExit(_0x3fb43c);}),parentSegmentCmd[a2_0x551190(0x151)]('validate\x20[name]')[a2_0x551190(0x28f)](a2_0x551190(0x1d0))['option'](a2_0x551190(0xfd),'Show\x20only\x20master\x20table\x20validation')['option'](a2_0x551190(0x283),a2_0x551190(0x15d))[a2_0x551190(0x3ea)](a2_0x551190(0x2c6),a2_0x551190(0xc6))['option'](a2_0x551190(0x393),a2_0x551190(0x13d))[a2_0x551190(0x3ea)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')[a2_0x551190(0x246)](async(_0x1aaafd,_0x32a31c)=>{const _0x12ea0d=a2_0x551190,_0x50e2c7=new ParentSegmentValidateCommand(),_0x34d3d1=program[_0x12ea0d(0x180)](),_0x19c05d=await createTDXInstance(_0x34d3d1),_0x5a6107=await _0x50e2c7[_0x12ea0d(0x328)]({'options':{..._0x34d3d1,..._0x32a31c},'args':_0x1aaafd?[_0x1aaafd]:[],'tdx':_0x19c05d});gracefulExit(_0x5a6107);}),parentSegmentCmd[a2_0x551190(0x151)](a2_0x551190(0x1f2))['description'](a2_0x551190(0xd3))['option'](a2_0x551190(0xfd),a2_0x551190(0x3df))['option'](a2_0x551190(0x283),a2_0x551190(0x226))[a2_0x551190(0x3ea)](a2_0x551190(0x2c6),a2_0x551190(0x16d))[a2_0x551190(0x3ea)](a2_0x551190(0x393),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')['option'](a2_0x551190(0x39a),a2_0x551190(0x2c4),a2_0x551190(0x1bf))[a2_0x551190(0x246)](async(_0x5257ab,_0x428d9b)=>{const _0x25bcd6=a2_0x551190,_0x28f931=new ParentSegmentPreviewCommand(),_0x381fd7=program[_0x25bcd6(0x180)](),_0x304f1a=await createTDXInstance(_0x381fd7),_0x4438a4=await _0x28f931['run']({'options':{..._0x381fd7,..._0x428d9b},'args':_0x5257ab?[_0x5257ab]:[],'tdx':_0x304f1a});gracefulExit(_0x4438a4);}),parentSegmentCmd[a2_0x551190(0x151)](a2_0x551190(0x18d))[a2_0x551190(0x28f)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x551190(0x246)](async(_0x386f58,_0x152b27)=>{const _0x2c86fb=a2_0x551190,_0x48c034=new ParentSegmentRunCommand(),_0x7fab50=program[_0x2c86fb(0x180)](),_0x1b04d4=await createTDXInstance(_0x7fab50),_0x16eb23=await _0x48c034['run']({'options':{..._0x7fab50,..._0x152b27},'args':_0x386f58?[_0x386f58]:[],'tdx':_0x1b04d4});gracefulExit(_0x16eb23);}),parentSegmentCmd['command'](a2_0x551190(0xf8))['description'](a2_0x551190(0x27b))[a2_0x551190(0x3ea)]('--json',a2_0x551190(0x10d))['option']('--jsonl',a2_0x551190(0x198))[a2_0x551190(0x246)](async(_0x627ec9,_0x4fae92)=>{const _0x478ba3=a2_0x551190,_0x16567a=new ParentSegmentFieldsCommand(),_0x277ffa=program[_0x478ba3(0x180)](),_0x41c30b=await createTDXInstance(_0x277ffa),_0x5a3073=await _0x16567a[_0x478ba3(0x328)]({'options':{..._0x277ffa,..._0x4fae92},'args':_0x627ec9?[_0x627ec9]:[],'tdx':_0x41c30b});gracefulExit(_0x5a3073);}),parentSegmentCmd[a2_0x551190(0x151)](a2_0x551190(0x163))[a2_0x551190(0x28f)](a2_0x551190(0x168))[a2_0x551190(0x3ea)](a2_0x551190(0x3a3),'Open\x20parent\x20segment\x20in\x20web\x20browser')[a2_0x551190(0x3ea)]('--json',a2_0x551190(0x10d))[a2_0x551190(0x3ea)](a2_0x551190(0x11c),a2_0x551190(0x198))[a2_0x551190(0x246)](async(_0x30da22,_0x228de8)=>{const _0x5e0af9=a2_0x551190,_0x41d07d=new ParentSegmentViewCommand(),_0xc6eadd=program['opts'](),_0xe1b39f=await createTDXInstance(_0xc6eadd),_0x2c6d2f=await _0x41d07d[_0x5e0af9(0x328)]({'options':{..._0xc6eadd,..._0x228de8},'args':_0x30da22?[_0x30da22]:[],'tdx':_0xe1b39f});gracefulExit(_0x2c6d2f);}),parentSegmentCmd['command'](a2_0x551190(0x32f))[a2_0x551190(0x28f)]('Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')['option']('-o,\x20--output\x20<file>',a2_0x551190(0xef))[a2_0x551190(0x3ea)]('--json','Output\x20as\x20JSON')[a2_0x551190(0x3ea)](a2_0x551190(0x11c),a2_0x551190(0x198))['action'](async(_0x562a6e,_0x15e3e3)=>{const _0x197030=a2_0x551190,_0x1d8582=new ParentSegmentDescCommand(),_0x36f855=program[_0x197030(0x180)](),_0x4dd2ef=await createTDXInstance(_0x36f855),_0x506306=await _0x1d8582['run']({'options':{..._0x36f855,..._0x15e3e3},'args':_0x562a6e?[_0x562a6e]:[],'tdx':_0x4dd2ef});gracefulExit(_0x506306);}),parentSegmentCmd[a2_0x551190(0x151)](a2_0x551190(0xbf))[a2_0x551190(0x28f)](a2_0x551190(0x304))[a2_0x551190(0x3ea)](a2_0x551190(0x214),a2_0x551190(0x10d))[a2_0x551190(0x3ea)](a2_0x551190(0x11c),'Output\x20as\x20JSON\x20Lines')[a2_0x551190(0x246)](async(_0x1646ef,_0x1e601a)=>{const _0x25c273=a2_0x551190,_0x3d871f=new ParentSegmentSQLCommand(),_0x3306f7=program['opts'](),_0x5ab062=await createTDXInstance(_0x3306f7),_0x157f9c=await _0x3d871f[_0x25c273(0x328)]({'options':{..._0x3306f7,..._0x1e601a},'args':_0x1646ef?[_0x1646ef]:[],'tdx':_0x5ab062});gracefulExit(_0x157f9c);}),parentSegmentCmd['command']('show\x20[name]')[a2_0x551190(0x28f)](a2_0x551190(0xfc))[a2_0x551190(0x3ea)](a2_0x551190(0x338),a2_0x551190(0x3ba))[a2_0x551190(0x3ea)]('--json','Output\x20as\x20JSON')[a2_0x551190(0x3ea)](a2_0x551190(0x11c),a2_0x551190(0x198))[a2_0x551190(0x246)](async(_0x2af7e8,_0x33b11d)=>{const _0x36f345=a2_0x551190,_0x10276d=new ParentSegmentShowCommand(),_0x1c7cba=program[_0x36f345(0x180)](),_0x31b4c5=await createTDXInstance(_0x1c7cba),_0x2d3198=await _0x10276d['run']({'options':{..._0x1c7cba,..._0x33b11d},'args':_0x2af7e8?[_0x2af7e8]:[],'tdx':_0x31b4c5});gracefulExit(_0x2d3198);}),parentSegmentCmd[a2_0x551190(0x151)](a2_0x551190(0x284))['description']('Set\x20or\x20show\x20parent\x20segment\x20context')[a2_0x551190(0x246)](async(_0x36e8a2,_0x31ef68)=>{const _0x95cdbc=a2_0x551190,_0x54604c=new UseCommand(),_0x423677=program[_0x95cdbc(0x180)](),_0x5f2eee=_0x36e8a2?[_0x95cdbc(0x1ee),_0x36e8a2]:[],_0xfb4521=await _0x54604c[_0x95cdbc(0x328)]({'options':{..._0x423677,..._0x31ef68},'args':_0x5f2eee,'tdx':null});gracefulExit(_0xfb4521);});const psRtCmd=parentSegmentCmd[a2_0x551190(0x151)]('rt')[a2_0x551190(0x28f)]('RT\x202.0\x20configuration\x20management');psRtCmd[a2_0x551190(0x151)](a2_0x551190(0xfb))[a2_0x551190(0x28f)](a2_0x551190(0x21b))[a2_0x551190(0x246)](async(_0x324267,_0x5682ad)=>{const _0x3285af=a2_0x551190,_0x50057f=new PSRtListCommand(),_0x44239f=program[_0x3285af(0x180)](),_0x5a8c2f=await createTDXInstance(_0x44239f),_0x55ace7=await _0x50057f[_0x3285af(0x328)]({'options':{..._0x44239f,..._0x5682ad},'args':_0x324267?[_0x324267]:[],'tdx':_0x5a8c2f});gracefulExit(_0x55ace7);}),psRtCmd[a2_0x551190(0x151)](a2_0x551190(0x232))[a2_0x551190(0x28f)](a2_0x551190(0x1a1))[a2_0x551190(0x246)](async(_0x3f6121,_0x525d2e)=>{const _0x1a5d1b=a2_0x551190,_0x36766f=new PSRtValidateCommand(),_0x3a6a53=program[_0x1a5d1b(0x180)](),_0x279495=await createTDXInstance(_0x3a6a53),_0x145dc6=await _0x36766f['run']({'options':{..._0x3a6a53,..._0x525d2e},'args':_0x3f6121?[_0x3f6121]:[],'tdx':_0x279495});gracefulExit(_0x145dc6);}),psRtCmd[a2_0x551190(0x151)](a2_0x551190(0xbc))[a2_0x551190(0x28f)]('Get\x20current\x20RT\x20configuration\x20version\x20status')[a2_0x551190(0x246)](async(_0x49e173,_0x367000)=>{const _0x501581=new PSRtConfigVersionCommand(),_0x5a3fb1=program['opts'](),_0x5980f7=await createTDXInstance(_0x5a3fb1),_0x313454=await _0x501581['run']({'options':{..._0x5a3fb1,..._0x367000},'args':_0x49e173?[_0x49e173]:[],'tdx':_0x5980f7});gracefulExit(_0x313454);});const psRtJnCmd=psRtCmd[a2_0x551190(0x151)]('jn')[a2_0x551190(0x28f)](a2_0x551190(0x208));psRtJnCmd['command'](a2_0x551190(0x148))[a2_0x551190(0x28f)](a2_0x551190(0x3d7))[a2_0x551190(0x246)](async(_0x11d00c,_0x8160f2)=>{const _0x4f657f=a2_0x551190,_0x3b95e9=new PSRtJnListCommand(),_0x277cf7=program[_0x4f657f(0x180)](),_0x337276=await createTDXInstance(_0x277cf7),_0x4a194b=await _0x3b95e9[_0x4f657f(0x328)]({'options':{..._0x277cf7,..._0x8160f2},'args':_0x11d00c?[_0x11d00c]:[],'tdx':_0x337276});gracefulExit(_0x4a194b);}),psRtJnCmd[a2_0x551190(0x151)]('pause_activations\x20<journeyId>')[a2_0x551190(0x28f)](a2_0x551190(0x33a))[a2_0x551190(0x246)](async(_0x3b7fa3,_0x621be1)=>{const _0x5e52c7=a2_0x551190,_0x443346=new PSRtJnPauseCommand(),_0x3bdae5=program[_0x5e52c7(0x180)](),_0x11a50f=await createTDXInstance(_0x3bdae5),_0x5b330f=await _0x443346['run']({'options':{..._0x3bdae5,..._0x621be1},'args':[_0x3b7fa3],'tdx':_0x11a50f});gracefulExit(_0x5b330f);}),psRtJnCmd[a2_0x551190(0x151)](a2_0x551190(0x1be))[a2_0x551190(0x28f)](a2_0x551190(0x225))[a2_0x551190(0x246)](async(_0x267f16,_0x13eba1)=>{const _0x3d4fff=a2_0x551190,_0x2a4dde=new PSRtJnResumeCommand(),_0x53ba88=program[_0x3d4fff(0x180)](),_0x4a97c0=await createTDXInstance(_0x53ba88),_0x4883fe=await _0x2a4dde[_0x3d4fff(0x328)]({'options':{..._0x53ba88,..._0x13eba1},'args':[_0x267f16],'tdx':_0x4a97c0});gracefulExit(_0x4883fe);});const parentRtCmd=parentCmd[a2_0x551190(0x151)]('rt',{'hidden':!![]})[a2_0x551190(0x28f)](a2_0x551190(0x341));parentRtCmd[a2_0x551190(0x151)]('list\x20[pattern]')['description']('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')['action'](async(_0x4e798f,_0x3293ac)=>{const _0x1fa27b=a2_0x551190,_0x13dbf4=new PSRtListCommand(),_0x295e22=program[_0x1fa27b(0x180)](),_0x20e4c6=await createTDXInstance(_0x295e22),_0x87fcd0=await _0x13dbf4[_0x1fa27b(0x328)]({'options':{..._0x295e22,..._0x3293ac},'args':_0x4e798f?[_0x4e798f]:[],'tdx':_0x20e4c6});gracefulExit(_0x87fcd0);}),parentRtCmd[a2_0x551190(0x151)](a2_0x551190(0x232))[a2_0x551190(0x28f)]('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')[a2_0x551190(0x246)](async(_0x14d761,_0x562d5b)=>{const _0x4928b8=a2_0x551190,_0x3ba417=new PSRtValidateCommand(),_0x5c9543=program[_0x4928b8(0x180)](),_0x1a3238=await createTDXInstance(_0x5c9543),_0x393457=await _0x3ba417[_0x4928b8(0x328)]({'options':{..._0x5c9543,..._0x562d5b},'args':_0x14d761?[_0x14d761]:[],'tdx':_0x1a3238});gracefulExit(_0x393457);});const psPzCmd=parentSegmentCmd[a2_0x551190(0x151)]('pz')[a2_0x551190(0x28f)](a2_0x551190(0x11b));psPzCmd['command']('list\x20[name]')[a2_0x551190(0x28f)](a2_0x551190(0x35f))['action'](async(_0x6a8703,_0x3fe602)=>{const _0x2ed43c=a2_0x551190,_0x3137e5=new PSPzListCommand(),_0x448bb6=program[_0x2ed43c(0x180)](),_0x3e79a7=await createTDXInstance(_0x448bb6),_0x431489=await _0x3137e5[_0x2ed43c(0x328)]({'options':{..._0x448bb6,..._0x3fe602},'args':_0x6a8703?[_0x6a8703]:[],'tdx':_0x3e79a7});gracefulExit(_0x431489);}),psPzCmd[a2_0x551190(0x151)](a2_0x551190(0x1dc))['description'](a2_0x551190(0x1e5))[a2_0x551190(0x246)](async(_0xe1e4e3,_0x7ca1b9)=>{const _0x169ad6=a2_0x551190,_0x5e3ead=new PSPzShowCommand(),_0x7fbd3a=program[_0x169ad6(0x180)](),_0x357128=await createTDXInstance(_0x7fbd3a),_0x5435e4=await _0x5e3ead[_0x169ad6(0x328)]({'options':{..._0x7fbd3a,..._0x7ca1b9},'args':[_0xe1e4e3],'tdx':_0x357128});gracefulExit(_0x5435e4);}),psPzCmd[a2_0x551190(0x151)](a2_0x551190(0x1ad))[a2_0x551190(0x28f)]('Delete\x20a\x20realtime\x20personalization')[a2_0x551190(0x246)](async(_0x10a5e0,_0xaa2a62)=>{const _0x332da4=a2_0x551190,_0xdbd5df=new PSPzDeleteCommand(),_0x2438ad=program[_0x332da4(0x180)](),_0x3bcd2c=await createTDXInstance(_0x2438ad),_0x58cddb=await _0xdbd5df['run']({'options':{..._0x2438ad,..._0xaa2a62},'args':[_0x10a5e0],'tdx':_0x3bcd2c});gracefulExit(_0x58cddb);}),psPzCmd['command'](a2_0x551190(0xe3))['description']('Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)')['option'](a2_0x551190(0x270),'Personalization\x20name')[a2_0x551190(0x3ea)](a2_0x551190(0xe4),a2_0x551190(0x1fb))[a2_0x551190(0x3ea)](a2_0x551190(0x318),a2_0x551190(0x27c))[a2_0x551190(0x3ea)]('--folder-id\x20<id>','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)')[a2_0x551190(0x3ea)](a2_0x551190(0x29a),a2_0x551190(0x197))[a2_0x551190(0x3ea)]('--file\x20<path>','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)')[a2_0x551190(0x246)](async _0x4bb40a=>{const _0x48fc07=a2_0x551190,_0xc63ac4=new PSPzCreateCommand(),_0x3a6c4f=program[_0x48fc07(0x180)](),_0x427b76=await createTDXInstance(_0x3a6c4f),_0x37a3fb=await _0xc63ac4[_0x48fc07(0x328)]({'options':{..._0x3a6c4f,..._0x4bb40a},'args':[],'tdx':_0x427b76});gracefulExit(_0x37a3fb);}),psPzCmd[a2_0x551190(0x151)](a2_0x551190(0x2d5))[a2_0x551190(0x28f)](a2_0x551190(0x3c7))['option'](a2_0x551190(0x270),a2_0x551190(0x3d3))[a2_0x551190(0x3ea)](a2_0x551190(0xe4),'Personalization\x20description')[a2_0x551190(0x3ea)](a2_0x551190(0x29a),'Sections\x20as\x20an\x20inline\x20JSON\x20array')[a2_0x551190(0x3ea)](a2_0x551190(0x364),'Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)')[a2_0x551190(0x246)](async(_0x503212,_0x1c01c2)=>{const _0x2fd711=new PSPzPatchCommand(),_0x34935a=program['opts'](),_0x126578=await createTDXInstance(_0x34935a),_0x1554cd=await _0x2fd711['run']({'options':{..._0x34935a,..._0x1c01c2},'args':[_0x503212],'tdx':_0x126578});gracefulExit(_0x1554cd);});const psPzServiceCmd=psPzCmd[a2_0x551190(0x151)](a2_0x551190(0x1b6))[a2_0x551190(0x28f)]('Personalization\x20service\x20management');psPzServiceCmd['command'](a2_0x551190(0x148))[a2_0x551190(0x28f)](a2_0x551190(0xe1))[a2_0x551190(0x246)](async(_0x1c6201,_0x20ab49)=>{const _0x4b9153=a2_0x551190,_0x2c84c0=new PSPzServiceListCommand(),_0x1955bf=program[_0x4b9153(0x180)](),_0x26610d=await createTDXInstance(_0x1955bf),_0x337611=await _0x2c84c0[_0x4b9153(0x328)]({'options':{..._0x1955bf,..._0x20ab49},'args':_0x1c6201?[_0x1c6201]:[],'tdx':_0x26610d});gracefulExit(_0x337611);}),psPzServiceCmd[a2_0x551190(0x151)](a2_0x551190(0x276))[a2_0x551190(0x28f)]('Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x551190(0x3ea)]('--description\x20<text>',a2_0x551190(0x27e))[a2_0x551190(0x3ea)](a2_0x551190(0x2b9),a2_0x551190(0x14c))[a2_0x551190(0x246)](async(_0x42e1c3,_0x3bc9fd,_0x52be18)=>{const _0x2473b7=a2_0x551190,_0x94cd85=new PSPzServiceCreateCommand(),_0x546fee=program[_0x2473b7(0x180)](),_0x28d262=await createTDXInstance(_0x546fee),_0x4e081c=await _0x94cd85['run']({'options':{..._0x546fee,..._0x52be18},'args':_0x3bc9fd?[_0x42e1c3,_0x3bc9fd]:[_0x42e1c3],'tdx':_0x28d262});gracefulExit(_0x4e081c);}),psPzServiceCmd[a2_0x551190(0x151)](a2_0x551190(0x3da))[a2_0x551190(0x28f)](a2_0x551190(0x379))['action'](async(_0x15ed23,_0xb66d06,_0x48e68c)=>{const _0x2268e7=a2_0x551190,_0x1da429=new PSPzServiceShowCommand(),_0x4710de=program[_0x2268e7(0x180)](),_0x1ae53b=await createTDXInstance(_0x4710de),_0x2df2b1=await _0x1da429[_0x2268e7(0x328)]({'options':{..._0x4710de,..._0x48e68c},'args':_0xb66d06?[_0x15ed23,_0xb66d06]:[_0x15ed23],'tdx':_0x1ae53b});gracefulExit(_0x2df2b1);}),psPzServiceCmd['command']('delete\x20<service_id>\x20[parent_segment]')[a2_0x551190(0x28f)](a2_0x551190(0x28a))[a2_0x551190(0x246)](async(_0x3ad9a5,_0x34043f,_0x178000)=>{const _0x18bb1a=a2_0x551190,_0x513324=new PSPzServiceDeleteCommand(),_0x5e1fb6=program[_0x18bb1a(0x180)](),_0x35f960=await createTDXInstance(_0x5e1fb6),_0x684943=await _0x513324[_0x18bb1a(0x328)]({'options':{..._0x5e1fb6,..._0x178000},'args':_0x34043f?[_0x3ad9a5,_0x34043f]:[_0x3ad9a5],'tdx':_0x35f960});gracefulExit(_0x684943);}),psPzServiceCmd[a2_0x551190(0x151)](a2_0x551190(0x171))['description'](a2_0x551190(0x2e1))[a2_0x551190(0x3b0)](a2_0x551190(0x397),a2_0x551190(0x2c5))[a2_0x551190(0x3ea)](a2_0x551190(0xe4),a2_0x551190(0x2e9))[a2_0x551190(0x246)](async(_0x582d11,_0x854db7,_0x1b5023)=>{const _0x3bb0e7=a2_0x551190,_0x5ab9b8=new PSPzServiceUpdateCommand(),_0x1fe032=program[_0x3bb0e7(0x180)](),_0x366303=await createTDXInstance(_0x1fe032),_0x8d70f5=await _0x5ab9b8[_0x3bb0e7(0x328)]({'options':{..._0x1fe032,..._0x1b5023},'args':_0x854db7?[_0x582d11,_0x854db7]:[_0x582d11],'tdx':_0x366303});gracefulExit(_0x8d70f5);}),psPzServiceCmd['command'](a2_0x551190(0x358))[a2_0x551190(0x28f)](a2_0x551190(0xda))[a2_0x551190(0x246)](async(_0x3b558c,_0x2a1d90)=>{const _0xadc66e=a2_0x551190,_0x134f23=new PSPzInitCommand(),_0x4619a8=program[_0xadc66e(0x180)](),_0x2305c6=await createTDXInstance(_0x4619a8),_0x1d5687=await _0x134f23[_0xadc66e(0x328)]({'options':{..._0x4619a8,..._0x2a1d90},'args':_0x3b558c?[_0x3b558c]:[],'tdx':_0x2305c6});gracefulExit(_0x1d5687);});const psPzServiceTokenCmd=psPzServiceCmd['command'](a2_0x551190(0x3e5))[a2_0x551190(0x28f)](a2_0x551190(0x260));psPzServiceTokenCmd[a2_0x551190(0x151)](a2_0x551190(0x370))[a2_0x551190(0x28f)](a2_0x551190(0x1f1))[a2_0x551190(0x3ea)](a2_0x551190(0xe6),a2_0x551190(0xee))[a2_0x551190(0x3ea)](a2_0x551190(0xe4),a2_0x551190(0x26e))[a2_0x551190(0x246)](async(_0xed24fa,_0x3ff25f,_0x373b5e,_0x190d30)=>{const _0x4d5a34=a2_0x551190,_0x28026b=new PSPzServiceTokenCreateCommand(),_0x493cfd=program[_0x4d5a34(0x180)](),_0x4562d6=await createTDXInstance(_0x493cfd),_0x38e007=await _0x28026b[_0x4d5a34(0x328)]({'options':{..._0x493cfd,..._0x190d30},'args':_0x373b5e?[_0xed24fa,_0x3ff25f,_0x373b5e]:[_0xed24fa,_0x3ff25f],'tdx':_0x4562d6});gracefulExit(_0x38e007);}),psPzServiceTokenCmd[a2_0x551190(0x151)](a2_0x551190(0x3dd))['description'](a2_0x551190(0x179))[a2_0x551190(0x246)](async(_0x47b019,_0x20e456,_0x27f968)=>{const _0x300c70=a2_0x551190,_0x213851=new PSPzServiceTokenDeleteCommand(),_0x332bad=program[_0x300c70(0x180)](),_0x271ec7=await createTDXInstance(_0x332bad),_0x1e863e=await _0x213851['run']({'options':{..._0x332bad,..._0x27f968},'args':_0x20e456?[_0x47b019,_0x20e456]:[_0x47b019],'tdx':_0x271ec7});gracefulExit(_0x1e863e);}),parentCmd[a2_0x551190(0x151)](a2_0x551190(0x242))['description'](a2_0x551190(0x15b))[a2_0x551190(0x3b0)](a2_0x551190(0x396),a2_0x551190(0x2a5))[a2_0x551190(0x3b0)](a2_0x551190(0x263),a2_0x551190(0x365))[a2_0x551190(0x3ea)](a2_0x551190(0xe4),a2_0x551190(0x139))['option'](a2_0x551190(0x122),a2_0x551190(0xc1))[a2_0x551190(0x3ea)]('--schedule-option\x20<value>',a2_0x551190(0x306))['option'](a2_0x551190(0x1ed),a2_0x551190(0xd5))[a2_0x551190(0x3ea)](a2_0x551190(0x165),'Attributes\x20as\x20JSON\x20string')[a2_0x551190(0x3ea)](a2_0x551190(0x13c),a2_0x551190(0x137))[a2_0x551190(0x3ea)](a2_0x551190(0x181),a2_0x551190(0xe7))[a2_0x551190(0x3ea)](a2_0x551190(0x3a5),a2_0x551190(0x268))['option'](a2_0x551190(0x1cd),a2_0x551190(0x3d4))[a2_0x551190(0x3ea)](a2_0x551190(0x2b1),a2_0x551190(0x1b5))[a2_0x551190(0x246)](async(_0x5425a7,_0x5bbbb9)=>{const _0x29fb15=a2_0x551190,_0x4cee67=new ParentSegmentCreateCommand(),_0xe260bd=program[_0x29fb15(0x180)](),_0x1faa8b=await createTDXInstance(_0xe260bd),_0x544998=await _0x4cee67[_0x29fb15(0x328)]({'options':{..._0xe260bd,..._0x5bbbb9},'args':[_0x5425a7],'tdx':_0x1faa8b});gracefulExit(_0x544998);}),parentCmd['command'](a2_0x551190(0x19d))[a2_0x551190(0x28f)](a2_0x551190(0x2cc))[a2_0x551190(0x3ea)](a2_0x551190(0xe4),a2_0x551190(0x317))[a2_0x551190(0x3ea)]('--schedule-type\x20<type>','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x551190(0x3ea)](a2_0x551190(0x33c),a2_0x551190(0x374))[a2_0x551190(0x3ea)](a2_0x551190(0x1ed),a2_0x551190(0x1a3))['option'](a2_0x551190(0x20b),a2_0x551190(0x166))[a2_0x551190(0x3ea)]('--add-attributes-file\x20<file>',a2_0x551190(0x3a7))[a2_0x551190(0x3ea)](a2_0x551190(0x1cf),a2_0x551190(0x3c0))[a2_0x551190(0x3ea)](a2_0x551190(0x1f3),a2_0x551190(0x1c8))[a2_0x551190(0x246)](async(_0x3f8230,_0x35679c)=>{const _0x5b2a34=a2_0x551190,_0x1db7bb=new ParentSegmentUpdateCommand(),_0x5a6c9f=program[_0x5b2a34(0x180)](),_0x190e9c=await createTDXInstance(_0x5a6c9f),_0x522fa3=await _0x1db7bb[_0x5b2a34(0x328)]({'options':{..._0x5a6c9f,..._0x35679c},'args':[_0x3f8230],'tdx':_0x190e9c});gracefulExit(_0x522fa3);}),folderCmd['command'](a2_0x551190(0x28e))[a2_0x551190(0x28f)](a2_0x551190(0x15a))[a2_0x551190(0x3ea)](a2_0x551190(0xe4),'Folder\x20description')[a2_0x551190(0x3ea)](a2_0x551190(0x2e6),'Parent\x20folder\x20name\x20for\x20nested\x20folders')['action'](async(_0x168c38,_0xa75974,_0x429e09)=>{const _0xc2ccde=a2_0x551190,_0x2078bb=new SegmentFolderCreateCommand(),_0x3c5172=program['opts'](),_0x56cec3=await createTDXInstance(_0x3c5172),_0x145182=await _0x2078bb[_0xc2ccde(0x328)]({'options':{..._0x3c5172,..._0x429e09},'args':[_0x168c38,_0xa75974],'tdx':_0x56cec3});gracefulExit(_0x145182);}),program[a2_0x551190(0x151)](a2_0x551190(0x3e8))[a2_0x551190(0x28f)](a2_0x551190(0x115))['action'](async(_0x47759a,_0xb352ab)=>{const _0x337c63=a2_0x551190,_0x1d4b50=new ActivationsCommand(),_0x2431e0=program['opts'](),_0x1ce4fd=await createTDXInstance(_0x2431e0),_0x14ae5b=await _0x1d4b50[_0x337c63(0x328)]({'options':{..._0x2431e0,..._0xb352ab},'args':[_0x47759a],'tdx':_0x1ce4fd});gracefulExit(_0x14ae5b);});const workflowCmd=program[a2_0x551190(0x151)]('workflow')[a2_0x551190(0x1a6)]('wf')[a2_0x551190(0x28f)](a2_0x551190(0x39b)),wfProjectCmd=workflowCmd[a2_0x551190(0x151)]('project')['description'](a2_0x551190(0x28b)),wfProjectListAction=async(_0x498b6d,_0x466b0e)=>{const _0x2dc14e=a2_0x551190,_0x47f2ea=new WorkflowProjectsCommand(),_0x3c31ec=program[_0x2dc14e(0x180)](),_0x11b812=await createTDXInstance(_0x3c31ec),_0x5c2a0b=await _0x47f2ea[_0x2dc14e(0x328)]({'options':{..._0x3c31ec,..._0x466b0e},'args':_0x498b6d?[_0x498b6d]:[],'tdx':_0x11b812});gracefulExit(_0x5c2a0b);};wfProjectCmd[a2_0x551190(0x151)](a2_0x551190(0xfb))[a2_0x551190(0x28f)](a2_0x551190(0x1c4))[a2_0x551190(0x246)](wfProjectListAction),workflowCmd['command'](a2_0x551190(0x3e9))[a2_0x551190(0x28f)](a2_0x551190(0x3de))['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x1f72b5,_0x44dca5)=>{const _0x2d2596=a2_0x551190,_0x4ad11d=new WorkflowWorkflowsCommand(),_0x47c4d3=program[_0x2d2596(0x180)](),_0x11b1b4=await createTDXInstance(_0x47c4d3),_0x45103d=await _0x4ad11d['run']({'options':{..._0x47c4d3,..._0x44dca5},'args':_0x1f72b5?[_0x1f72b5]:[],'tdx':_0x11b1b4});gracefulExit(_0x45103d);};workflowCmd[a2_0x551190(0x151)](a2_0x551190(0x21c))['description']('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x551190(0x151)](a2_0x551190(0x21e))[a2_0x551190(0x28f)](a2_0x551190(0x13a)),wfSessionListAction=async(_0x459a9e,_0x1f7768)=>{const _0x458f7c=a2_0x551190,_0x4f95d9=new WorkflowSessionsCommand(),_0x305fcf=program['opts'](),_0x1071bb=await createTDXInstance(_0x305fcf),_0x2faddf=await _0x4f95d9[_0x458f7c(0x328)]({'options':{..._0x305fcf,..._0x1f7768},'args':_0x459a9e?[_0x459a9e]:[],'tdx':_0x1071bb});gracefulExit(_0x2faddf);};wfSessionCmd['command'](a2_0x551190(0x265))['description'](a2_0x551190(0x19e))[a2_0x551190(0x3ea)]('--status\x20<status>',a2_0x551190(0x2a9))[a2_0x551190(0x3ea)](a2_0x551190(0x3c6),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x551190(0x3ea)]('--to\x20<timestamp>',a2_0x551190(0xfe))[a2_0x551190(0x246)](wfSessionListAction),workflowCmd['command'](a2_0x551190(0x176))[a2_0x551190(0x28f)](a2_0x551190(0x340))[a2_0x551190(0x3ea)](a2_0x551190(0x34f),a2_0x551190(0x2a9))[a2_0x551190(0x3ea)](a2_0x551190(0x3c6),a2_0x551190(0x3ca))[a2_0x551190(0x3ea)](a2_0x551190(0x19b),'End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x551190(0x246)](wfSessionListAction);const wfAttemptListAction=async(_0x4b5c5b,_0x8e07bb)=>{const _0x2ce8a6=a2_0x551190,_0x80a5bb=new WorkflowAttemptsCommand(),_0x48c478=program['opts'](),_0x4282b8=await createTDXInstance(_0x48c478),_0x3b56dc=await _0x80a5bb[_0x2ce8a6(0x328)]({'options':{..._0x48c478,..._0x8e07bb},'args':_0x4b5c5b?[_0x4b5c5b]:[],'tdx':_0x4282b8});gracefulExit(_0x3b56dc);},attemptCmd=workflowCmd['command']('attempt')[a2_0x551190(0x28f)]('Workflow\x20attempt\x20management')[a2_0x551190(0x37a)](a2_0x551190(0x26f),a2_0x551190(0x3c4))['argument'](a2_0x551190(0x169),a2_0x551190(0x101))[a2_0x551190(0x37a)](a2_0x551190(0x100),a2_0x551190(0x2e5))[a2_0x551190(0x3ea)](a2_0x551190(0x211),a2_0x551190(0x10b))[a2_0x551190(0x3ea)](a2_0x551190(0x299),a2_0x551190(0x360))[a2_0x551190(0x3ea)](a2_0x551190(0x302),'Resume\x20from\x20specific\x20task\x20(retry)')[a2_0x551190(0x3ea)](a2_0x551190(0x3b9),'Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x551190(0x3ea)](a2_0x551190(0x371),a2_0x551190(0x102))['option'](a2_0x551190(0x18a),a2_0x551190(0x389))['action'](async(_0x523135,_0x450cbf,_0xdce185,_0x499650)=>{const _0x36628e=a2_0x551190;if(_0x523135===_0x36628e(0x385)){await wfAttemptListAction(_0x450cbf,_0x499650);return;}if(!_0x523135){attemptCmd['help']();return;}const _0x4dbd5a=program['opts'](),_0x5ca3b4=await createTDXInstance(_0x4dbd5a);let _0x47b4f2=0x0;if(!_0x450cbf){const _0x3aa87b=new WorkflowAttemptCommand();_0x47b4f2=await _0x3aa87b[_0x36628e(0x328)]({'options':{..._0x4dbd5a,..._0x499650},'args':[_0x523135],'tdx':_0x5ca3b4});}else{if(_0x450cbf===_0x36628e(0x1b3)){const _0x3ac08b=new WorkflowLogsCommand();_0x47b4f2=await _0x3ac08b['run']({'options':{..._0x4dbd5a,..._0x499650},'args':_0xdce185?[_0x523135,_0xdce185]:[_0x523135],'tdx':_0x5ca3b4});}else{if(_0x450cbf===_0x36628e(0x22f)){const _0x2d1cca=new WorkflowTasksCommand();_0x47b4f2=await _0x2d1cca[_0x36628e(0x328)]({'options':{..._0x4dbd5a,..._0x499650},'args':[_0x523135],'tdx':_0x5ca3b4});}else{if(_0x450cbf===_0x36628e(0x22e)){const _0x2381a8=new WorkflowKillCommand();_0x47b4f2=await _0x2381a8[_0x36628e(0x328)]({'options':{..._0x4dbd5a,..._0x499650},'args':[_0x523135],'tdx':_0x5ca3b4});}else{if(_0x450cbf===_0x36628e(0x277)){const _0xda97e2=new WorkflowRetryCommand();_0x47b4f2=await _0xda97e2[_0x36628e(0x328)]({'options':{..._0x4dbd5a,..._0x499650},'args':[_0x36628e(0x30d)+_0x523135],'tdx':_0x5ca3b4});}else console[_0x36628e(0x24e)](_0x36628e(0x105)+_0x450cbf),console['error'](_0x36628e(0x36b)),_0x47b4f2=0x1;}}}}gracefulExit(_0x47b4f2);});attemptCmd[a2_0x551190(0x151)]('list\x20[project]')[a2_0x551190(0x28f)]('List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)')['option']('--include-retried','Include\x20retried\x20attempts')[a2_0x551190(0x246)](wfAttemptListAction),workflowCmd[a2_0x551190(0x151)](a2_0x551190(0x278))[a2_0x551190(0x28f)]('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')[a2_0x551190(0x3ea)](a2_0x551190(0x18a),a2_0x551190(0x3a1))['action'](wfAttemptListAction),workflowCmd[a2_0x551190(0x151)](a2_0x551190(0x1a7))[a2_0x551190(0x28f)](a2_0x551190(0x224))['option'](a2_0x551190(0x17d),a2_0x551190(0x269))[a2_0x551190(0x3ea)](a2_0x551190(0x2aa),a2_0x551190(0x2a3))['option'](a2_0x551190(0x107),a2_0x551190(0x14f))['action'](async(_0x424bfe,_0x1d3ce7)=>{const _0x40eb7a=a2_0x551190,_0x57d770=new WorkflowTimelineCommand(),_0x47363b=program[_0x40eb7a(0x180)](),_0x56c279=await createTDXInstance(_0x47363b),_0x28cdb9=await _0x57d770['run']({'options':{..._0x47363b,..._0x1d3ce7},'args':_0x424bfe?[_0x424bfe]:[],'tdx':_0x56c279});gracefulExit(_0x28cdb9);}),workflowCmd['command'](a2_0x551190(0x21d))[a2_0x551190(0x28f)](a2_0x551190(0x210))[a2_0x551190(0x3ea)](a2_0x551190(0x252),a2_0x551190(0x186))[a2_0x551190(0x3ea)](a2_0x551190(0x3b9),a2_0x551190(0x3bb))['action'](async(_0x153578,_0x7b2a4)=>{const _0xa35455=a2_0x551190,_0x455468=new WorkflowRetryCommand(),_0x2531bd=program['opts'](),_0x26d57f=await createTDXInstance(_0x2531bd),_0x5412ef=await _0x455468[_0xa35455(0x328)]({'options':{..._0x2531bd,..._0x7b2a4},'args':[_0x153578],'tdx':_0x26d57f});gracefulExit(_0x5412ef);}),workflowCmd[a2_0x551190(0x151)](a2_0x551190(0x373))['description'](a2_0x551190(0x3b2))[a2_0x551190(0x3ea)]('--param\x20<key=value>','Workflow\x20parameter\x20(repeatable)',(_0xbb7f59,_0x5f23a6=[])=>[..._0x5f23a6,_0xbb7f59],[])[a2_0x551190(0x3ea)](a2_0x551190(0x367),a2_0x551190(0x332))[a2_0x551190(0x246)](async(_0x229c2e,_0x5716b6)=>{const _0x400285=a2_0x551190,_0x518f8d=new WorkflowRunCommand(),_0x3e0682=program[_0x400285(0x180)](),_0x2c4fe8=await createTDXInstance(_0x3e0682),_0x5b80e7=await _0x518f8d[_0x400285(0x328)]({'options':{..._0x3e0682,..._0x5716b6},'args':_0x229c2e?[_0x229c2e]:[],'tdx':_0x2c4fe8});gracefulExit(_0x5b80e7);}),workflowCmd[a2_0x551190(0x151)]('download\x20<project-name>\x20[output-dir]')[a2_0x551190(0x28f)](a2_0x551190(0x292))[a2_0x551190(0x3ea)](a2_0x551190(0x2cf),a2_0x551190(0x13e))[a2_0x551190(0x246)](async(_0x544686,_0x20a98e,_0x301760)=>{const _0x2d1e8b=a2_0x551190,_0x408cd2=new WorkflowDownloadCommand(),_0x215c0d=program['opts'](),_0xbd76d0=await createTDXInstance(_0x215c0d),_0x51807e=await _0x408cd2[_0x2d1e8b(0x328)]({'options':{..._0x215c0d,..._0x301760},'args':[_0x544686,_0x20a98e||'.'],'tdx':_0xbd76d0});gracefulExit(_0x51807e);}),workflowCmd[a2_0x551190(0x151)](a2_0x551190(0x140))[a2_0x551190(0x28f)](a2_0x551190(0x1ec))[a2_0x551190(0x3ea)](a2_0x551190(0x2cf),'Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0x551190(0x3ea)](a2_0x551190(0x329),a2_0x551190(0x1d5))[a2_0x551190(0x246)](async(_0x3f40db,_0x14f293,_0x1f2476)=>{const _0x5681a7=a2_0x551190,_0x4d9e5a=new WorkflowPullCommand(),_0x1e857b=program[_0x5681a7(0x180)](),_0x4f9041=await createTDXInstance(_0x1e857b),_0x3faacb=await _0x4d9e5a[_0x5681a7(0x328)]({'options':{..._0x1e857b,..._0x1f2476},'args':_0x14f293?[_0x3f40db,_0x14f293]:[_0x3f40db],'tdx':_0x4f9041});gracefulExit(_0x3faacb);}),workflowCmd[a2_0x551190(0x151)](a2_0x551190(0x308))[a2_0x551190(0x28f)](a2_0x551190(0x325))[a2_0x551190(0x3ea)](a2_0x551190(0x2cf),a2_0x551190(0x248))[a2_0x551190(0x3ea)](a2_0x551190(0x329),a2_0x551190(0x347))[a2_0x551190(0x3ea)](a2_0x551190(0xd9),a2_0x551190(0x1c3))['action'](async(_0x28dea2,_0xcc8cf7)=>{const _0x5d971f=a2_0x551190,_0x79d156=new WorkflowPushCommand(),_0x27908f=program[_0x5d971f(0x180)](),_0x49b759=await createTDXInstance(_0x27908f),_0x32f612=await _0x79d156['run']({'options':{..._0x27908f,..._0xcc8cf7},'args':_0x28dea2?[_0x28dea2]:[],'tdx':_0x49b759});gracefulExit(_0x32f612);}),workflowCmd[a2_0x551190(0x151)](a2_0x551190(0x162))[a2_0x551190(0x28f)]('Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)')['option'](a2_0x551190(0x397),a2_0x551190(0x1c6))[a2_0x551190(0x3ea)](a2_0x551190(0x2cf),a2_0x551190(0x30c))['option'](a2_0x551190(0xd9),a2_0x551190(0x1c3))[a2_0x551190(0x246)](async(_0x318e1d,_0x379992)=>{const _0x52c8f7=a2_0x551190,_0x790c3a=new WorkflowUploadCommand(),_0x483d60=program[_0x52c8f7(0x180)](),_0x22881b=await createTDXInstance(_0x483d60),_0x4ab036=await _0x790c3a[_0x52c8f7(0x328)]({'options':{..._0x483d60,..._0x379992},'args':_0x318e1d?[_0x318e1d]:[],'tdx':_0x22881b});gracefulExit(_0x4ab036);}),workflowCmd[a2_0x551190(0x151)](a2_0x551190(0x378))['description']('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')[a2_0x551190(0x3ea)](a2_0x551190(0x397),'Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x551190(0x3ea)](a2_0x551190(0x2cf),a2_0x551190(0x248))[a2_0x551190(0x3ea)](a2_0x551190(0x329),a2_0x551190(0x30f))['option'](a2_0x551190(0xd9),a2_0x551190(0x1c3))['action'](async(_0x1f04a3,_0x1de676)=>{const _0x5abdb5=a2_0x551190,_0x2749dc=new WorkflowCloneCommand(),_0x460fe1=program[_0x5abdb5(0x180)](),_0x6c5e65=await createTDXInstance(_0x460fe1),_0x5aec1e=await _0x2749dc['run']({'options':{..._0x460fe1,..._0x1de676},'args':_0x1f04a3?[_0x1f04a3]:[],'tdx':_0x6c5e65});gracefulExit(_0x5aec1e);}),workflowCmd[a2_0x551190(0x151)](a2_0x551190(0x2f2))[a2_0x551190(0x28f)](a2_0x551190(0x309))[a2_0x551190(0x246)](async(_0x489700,_0x105b70)=>{const _0x331a2f=a2_0x551190,_0x41e6f8=new WorkflowDeleteCommand(),_0x4b7a4b=program['opts'](),_0x43f0dc=await createTDXInstance(_0x4b7a4b),_0x3f85ff=await _0x41e6f8[_0x331a2f(0x328)]({'options':{..._0x4b7a4b,..._0x105b70},'args':[_0x489700],'tdx':_0x43f0dc});gracefulExit(_0x3f85ff);}),workflowCmd[a2_0x551190(0x151)](a2_0x551190(0x2b4))[a2_0x551190(0x28f)](a2_0x551190(0x1da))['option']('--clear',a2_0x551190(0x264))[a2_0x551190(0x246)](async(_0x256f79,_0x2a0c6f)=>{const _0x35f0f2=a2_0x551190,_0x43ba17=new WorkflowUseCommand(),_0x353e39=program[_0x35f0f2(0x180)](),_0x4faffb=await createTDXInstance(_0x353e39),_0x2710e5=await _0x43ba17[_0x35f0f2(0x328)]({'options':{..._0x353e39,..._0x2a0c6f},'args':_0x256f79?[_0x256f79]:[],'tdx':_0x4faffb});gracefulExit(_0x2710e5);});const wfSecretsCmd=workflowCmd[a2_0x551190(0x151)](a2_0x551190(0x2fb))[a2_0x551190(0x28f)](a2_0x551190(0x398));wfSecretsCmd[a2_0x551190(0x151)](a2_0x551190(0x265))[a2_0x551190(0x28f)]('List\x20secret\x20keys\x20for\x20a\x20project')['action'](async(_0x47ce0c,_0x3c6b8e)=>{const _0x2fa8e3=new WorkflowSecretsListCommand(),_0x764a99=program['opts'](),_0x978a79=await createTDXInstance(_0x764a99),_0x30d293=await _0x2fa8e3['run']({'options':{..._0x764a99,..._0x3c6b8e},'args':_0x47ce0c?[_0x47ce0c]:[],'tdx':_0x978a79});gracefulExit(_0x30d293);}),wfSecretsCmd[a2_0x551190(0x151)](a2_0x551190(0x203))[a2_0x551190(0x28f)](a2_0x551190(0x2c0))[a2_0x551190(0x246)](async(_0x4d4173,_0x18bce0)=>{const _0x389205=a2_0x551190,_0x71e72c=new WorkflowSecretsSetCommand(),_0x2fe825=program[_0x389205(0x180)](),_0x1ed60e=await createTDXInstance(_0x2fe825),_0x11080d=await _0x71e72c['run']({'options':{..._0x2fe825,..._0x18bce0},'args':_0x4d4173,'tdx':_0x1ed60e});gracefulExit(_0x11080d);}),wfSecretsCmd[a2_0x551190(0x151)](a2_0x551190(0x37c))[a2_0x551190(0x28f)]('Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)')[a2_0x551190(0x246)](async(_0x4bb100,_0x3388ba)=>{const _0x1d07ec=a2_0x551190,_0x42e250=new WorkflowSecretsDeleteCommand(),_0x1e23a6=program['opts'](),_0x2aeb09=await createTDXInstance(_0x1e23a6),_0x1f76c7=await _0x42e250[_0x1d07ec(0x328)]({'options':{..._0x1e23a6,..._0x3388ba},'args':_0x4bb100,'tdx':_0x2aeb09});gracefulExit(_0x1f76c7);});const jobCmd=program[a2_0x551190(0x151)](a2_0x551190(0xc9))[a2_0x551190(0x28f)]('Job\x20management\x20commands'),jobListAction=async _0x3529df=>{const _0x47e4c6=a2_0x551190,_0x181d6c=new JobListCommand(),_0x5f54b1=program[_0x47e4c6(0x180)](),_0x28a137=await createTDXInstance(_0x5f54b1),_0x12dfc8=await _0x181d6c['run']({'options':{..._0x5f54b1,..._0x3529df},'args':[],'tdx':_0x28a137});gracefulExit(_0x12dfc8);};jobCmd[a2_0x551190(0x151)](a2_0x551190(0x385))[a2_0x551190(0x28f)](a2_0x551190(0xc2))[a2_0x551190(0x3ea)](a2_0x551190(0x34f),a2_0x551190(0x369))[a2_0x551190(0x246)](jobListAction),program[a2_0x551190(0x151)](a2_0x551190(0x281),{'hidden':!![]})['description'](a2_0x551190(0x3a9))[a2_0x551190(0x3ea)](a2_0x551190(0x34f),a2_0x551190(0x369))[a2_0x551190(0x246)](jobListAction),jobCmd[a2_0x551190(0x151)](a2_0x551190(0x19a))[a2_0x551190(0x28f)]('Show\x20job\x20details')['action'](async(_0x2f3945,_0x2b4f18)=>{const _0xcc9ccb=a2_0x551190,_0xf347cb=new JobShowCommand(),_0x21a3aa=program[_0xcc9ccb(0x180)](),_0x181882=await createTDXInstance(_0x21a3aa),_0x55f813=await _0xf347cb[_0xcc9ccb(0x328)]({'options':{..._0x21a3aa,..._0x2b4f18},'args':[_0x2f3945],'tdx':_0x181882});gracefulExit(_0x55f813);}),jobCmd[a2_0x551190(0x151)]('kill\x20<job-id>')['description'](a2_0x551190(0x29b))[a2_0x551190(0x246)](async(_0x494d21,_0x5c49a9)=>{const _0x7061c=a2_0x551190,_0x4be13c=new JobKillCommand(),_0xbd9f72=program['opts'](),_0x52ee76=await createTDXInstance(_0xbd9f72),_0x202737=await _0x4be13c[_0x7061c(0x328)]({'options':{..._0xbd9f72,..._0x5c49a9},'args':[_0x494d21],'tdx':_0x52ee76});gracefulExit(_0x202737);}),jobCmd[a2_0x551190(0x151)]('submit\x20[query]')[a2_0x551190(0x28f)](a2_0x551190(0x2fc))[a2_0x551190(0x3ea)]('--job-type\x20<type>',a2_0x551190(0x2d7),a2_0x551190(0x164))[a2_0x551190(0x3ea)](a2_0x551190(0x2f5),'Read\x20query\x20from\x20file')[a2_0x551190(0x3ea)](a2_0x551190(0x349),a2_0x551190(0x16f),a2_0x551190(0x1c7))[a2_0x551190(0x3ea)]('--result\x20<target>',a2_0x551190(0x39d))['action'](async(_0xb2253a,_0xdee829)=>{const _0x5535cb=a2_0x551190,_0x5d1c24=new JobSubmitCommand(),_0x467e36=program[_0x5535cb(0x180)](),_0x2ebe3e=await createTDXInstance(_0x467e36),_0x2c48b3=await _0x5d1c24[_0x5535cb(0x328)]({'options':{..._0x467e36,..._0xdee829},'args':_0xb2253a?[_0xb2253a]:[],'tdx':_0x2ebe3e});gracefulExit(_0x2c48b3);}),jobCmd[a2_0x551190(0x151)](a2_0x551190(0x103))[a2_0x551190(0x28f)](a2_0x551190(0x259))['action'](async(_0x351b64,_0x1edb5b)=>{const _0x313907=a2_0x551190,_0x241919=new JobResultCommand(),_0x2305dc=program[_0x313907(0x180)](),_0x11938b=await createTDXInstance(_0x2305dc),_0x1a757c=await _0x241919[_0x313907(0x328)]({'options':{..._0x2305dc,..._0x1edb5b},'args':[_0x351b64],'tdx':_0x11938b});gracefulExit(_0x1a757c);});const scheduleCmd=jobCmd[a2_0x551190(0x151)](a2_0x551190(0x346))[a2_0x551190(0x28f)]('Scheduled\x20query\x20management\x20commands');scheduleCmd[a2_0x551190(0x151)](a2_0x551190(0xfb))[a2_0x551190(0x28f)](a2_0x551190(0x2f9))[a2_0x551190(0x246)](async(_0x4821b6,_0x287b40)=>{const _0x3e616d=a2_0x551190,_0x1345cc=new ScheduleListCommand(),_0x4822bd=program[_0x3e616d(0x180)](),_0x55b639=await createTDXInstance(_0x4822bd),_0x2d83d6=await _0x1345cc[_0x3e616d(0x328)]({'options':{..._0x4822bd,..._0x287b40},'args':_0x4821b6?[_0x4821b6]:[],'tdx':_0x55b639});gracefulExit(_0x2d83d6);}),scheduleCmd[a2_0x551190(0x151)]('show\x20<name>')[a2_0x551190(0x28f)]('Show\x20schedule\x20details')[a2_0x551190(0x246)](async(_0x5bfd1e,_0x24a2f9)=>{const _0x5d6afe=a2_0x551190,_0xd3d7fa=new ScheduleShowCommand(),_0x345f8=program[_0x5d6afe(0x180)](),_0x180109=await createTDXInstance(_0x345f8),_0x3f11e0=await _0xd3d7fa[_0x5d6afe(0x328)]({'options':{..._0x345f8,..._0x24a2f9},'args':[_0x5bfd1e],'tdx':_0x180109});gracefulExit(_0x3f11e0);}),scheduleCmd[a2_0x551190(0x151)](a2_0x551190(0x242))[a2_0x551190(0x28f)](a2_0x551190(0x3bd))[a2_0x551190(0x3ea)](a2_0x551190(0x25f),a2_0x551190(0x36a))[a2_0x551190(0x3ea)](a2_0x551190(0x1cb),a2_0x551190(0x2d9))[a2_0x551190(0x3b0)]('-f,\x20--file\x20<path>',a2_0x551190(0x1ef))['option'](a2_0x551190(0x2fa),a2_0x551190(0xd4),a2_0x551190(0x164))['option'](a2_0x551190(0x1ac),a2_0x551190(0x375))['option']('--timezone\x20<tz>',a2_0x551190(0x3ae))[a2_0x551190(0x3ea)]('--delay\x20<seconds>',a2_0x551190(0x167))['option']('--priority\x20<-2~2>',a2_0x551190(0x1d8))[a2_0x551190(0x3ea)]('--retry-limit\x20<0~32>','Retry\x20limit\x20(0\x20to\x2032)')[a2_0x551190(0x3ea)](a2_0x551190(0x2d3),a2_0x551190(0x238))['option'](a2_0x551190(0x1f0),a2_0x551190(0x2c2))['action'](async(_0x1fd2c4,_0x36457e)=>{const _0x1bcc30=a2_0x551190,_0x3be14a=new ScheduleCreateCommand(),_0x13e0e8=program[_0x1bcc30(0x180)](),_0x9f2ab8=await createTDXInstance(_0x13e0e8);_0x36457e['in']&&(_0x36457e[_0x1bcc30(0x2ab)]=_0x36457e['in']);const _0x1ce103=await _0x3be14a['run']({'options':{..._0x13e0e8,..._0x36457e},'args':[_0x1fd2c4],'tdx':_0x9f2ab8});gracefulExit(_0x1ce103);}),scheduleCmd[a2_0x551190(0x151)](a2_0x551190(0x19d))['description']('Update\x20a\x20scheduled\x20query')['option'](a2_0x551190(0x25f),'Database\x20name')[a2_0x551190(0x3ea)](a2_0x551190(0x1cb),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['option']('-f,\x20--file\x20<path>',a2_0x551190(0x1ef))['option'](a2_0x551190(0x2fa),'Query\x20type:\x20trino\x20or\x20hive')[a2_0x551190(0x3ea)]('--cron\x20<expression>',a2_0x551190(0x375))[a2_0x551190(0x3ea)](a2_0x551190(0x1ed),a2_0x551190(0xc7))[a2_0x551190(0x3ea)](a2_0x551190(0x191),a2_0x551190(0x167))[a2_0x551190(0x3ea)](a2_0x551190(0x19c),a2_0x551190(0x1d8))[a2_0x551190(0x3ea)](a2_0x551190(0x204),a2_0x551190(0x3e2))[a2_0x551190(0x3ea)]('--engine-version\x20<version>','Query\x20engine\x20version')[a2_0x551190(0x3ea)]('--result\x20<url>',a2_0x551190(0x2c2))['action'](async(_0x107df7,_0x669bb)=>{const _0x1df666=a2_0x551190,_0xde1b76=new ScheduleUpdateCommand(),_0x296c28=program[_0x1df666(0x180)](),_0x4616f1=await createTDXInstance(_0x296c28);_0x669bb['in']&&(_0x669bb['database']=_0x669bb['in']);const _0x58d5e1=await _0xde1b76[_0x1df666(0x328)]({'options':{..._0x296c28,..._0x669bb},'args':[_0x107df7],'tdx':_0x4616f1});gracefulExit(_0x58d5e1);}),scheduleCmd[a2_0x551190(0x151)](a2_0x551190(0x14e))[a2_0x551190(0x28f)](a2_0x551190(0x17f))[a2_0x551190(0x246)](async(_0x18f079,_0xf2122c)=>{const _0x1d8f9c=a2_0x551190,_0x1eecaf=new ScheduleDeleteCommand(),_0x3c98bc=program[_0x1d8f9c(0x180)](),_0x377746=await createTDXInstance(_0x3c98bc),_0xf8ac17=await _0x1eecaf[_0x1d8f9c(0x328)]({'options':{..._0x3c98bc,..._0xf2122c},'args':[_0x18f079],'tdx':_0x377746});gracefulExit(_0xf8ac17);}),scheduleCmd[a2_0x551190(0x151)](a2_0x551190(0x37f))[a2_0x551190(0x28f)](a2_0x551190(0x303))[a2_0x551190(0x3ea)](a2_0x551190(0x123),a2_0x551190(0x24b))[a2_0x551190(0x3ea)](a2_0x551190(0x25d),a2_0x551190(0x320))['action'](async(_0x49df13,_0x34f650)=>{const _0x10a1d4=a2_0x551190,_0x57971c=new ScheduleRunCommand(),_0x1bd322=program['opts'](),_0x371cc0=await createTDXInstance(_0x1bd322),_0x581c63=await _0x57971c[_0x10a1d4(0x328)]({'options':{..._0x1bd322,..._0x34f650},'args':[_0x49df13],'tdx':_0x371cc0});gracefulExit(_0x581c63);}),scheduleCmd[a2_0x551190(0x151)](a2_0x551190(0x262))[a2_0x551190(0x28f)](a2_0x551190(0x285))['option'](a2_0x551190(0x15f),a2_0x551190(0x245))[a2_0x551190(0x3ea)](a2_0x551190(0x18b),a2_0x551190(0x258))[a2_0x551190(0x246)](async(_0x1860b4,_0x45753c)=>{const _0x4df866=a2_0x551190,_0x6bf627=new ScheduleHistoryCommand(),_0x2999e8=program[_0x4df866(0x180)](),_0x2230ed=await createTDXInstance(_0x2999e8),_0x589288=await _0x6bf627[_0x4df866(0x328)]({'options':{..._0x2999e8,..._0x45753c},'args':[_0x1860b4],'tdx':_0x2230ed});gracefulExit(_0x589288);});const llmCmd=program['command']('llm')[a2_0x551190(0x28f)](a2_0x551190(0x2a7));llmCmd['command'](a2_0x551190(0x24d))[a2_0x551190(0x28f)](a2_0x551190(0x1df))['action'](async(_0x4725d7,_0x395440)=>{const _0x5972b2=a2_0x551190,_0xe81b2=new LLMUseCommand(),_0x482648=program[_0x5972b2(0x180)](),_0x22f412=await createTDXInstance(_0x482648),_0xcde347=await _0xe81b2[_0x5972b2(0x328)]({'options':{..._0x482648,..._0x395440},'args':[_0x4725d7],'tdx':_0x22f412});gracefulExit(_0xcde347);}),llmCmd['command']('models')[a2_0x551190(0x28f)](a2_0x551190(0x173))[a2_0x551190(0x246)](async _0x594b1d=>{const _0x3a9c89=a2_0x551190,_0x4f5420=new LLMModelsCommand(),_0x102e05=program[_0x3a9c89(0x180)](),_0x3fb20a=await createTDXInstance(_0x102e05),_0x57715b=await _0x4f5420[_0x3a9c89(0x328)]({'options':{..._0x102e05,..._0x594b1d},'args':[],'tdx':_0x3fb20a});gracefulExit(_0x57715b);});const projectCmd=llmCmd[a2_0x551190(0x151)](a2_0x551190(0x38d))[a2_0x551190(0x28f)](a2_0x551190(0x1bc)),llmProjectListAction=async(_0x1cfb86,_0x5d0366)=>{const _0x1bbf78=a2_0x551190,_0x41f909=new LLMProjectsCommand(),_0x1f2483=program[_0x1bbf78(0x180)](),_0x5a51d7=await createTDXInstance(_0x1f2483),_0x5f0eec=await _0x41f909[_0x1bbf78(0x328)]({'options':{..._0x1f2483,..._0x5d0366},'args':_0x1cfb86?[_0x1cfb86]:[],'tdx':_0x5a51d7});gracefulExit(_0x5f0eec);};projectCmd[a2_0x551190(0x151)]('list\x20[pattern]')['description'](a2_0x551190(0x3bf))[a2_0x551190(0x246)](llmProjectListAction),llmCmd[a2_0x551190(0x151)](a2_0x551190(0x3e9))['description']('List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0x551190(0x246)](llmProjectListAction),projectCmd['command'](a2_0x551190(0x242))[a2_0x551190(0x28f)](a2_0x551190(0x23c))[a2_0x551190(0x3ea)]('--description\x20<text>',a2_0x551190(0x2b2))[a2_0x551190(0x246)](async(_0x1e27d6,_0x253833)=>{const _0x550a6d=a2_0x551190,_0x16e7e6=new LLMProjectCreateCommand(),_0x43da17=program[_0x550a6d(0x180)](),_0x33ad41=await createTDXInstance(_0x43da17),_0x5884cc=await _0x16e7e6['run']({'options':{..._0x43da17,..._0x253833},'args':[_0x1e27d6],'tdx':_0x33ad41});gracefulExit(_0x5884cc);}),projectCmd[a2_0x551190(0x151)]('delete\x20<name>')[a2_0x551190(0x28f)]('Delete\x20an\x20LLM\x20project')[a2_0x551190(0x246)](async(_0x131f97,_0x451871)=>{const _0x3345f4=a2_0x551190,_0x3ed2e9=new LLMProjectDeleteCommand(),_0x40a0b7=program[_0x3345f4(0x180)](),_0x270d97=await createTDXInstance(_0x40a0b7),_0x1157c4=await _0x3ed2e9[_0x3345f4(0x328)]({'options':{..._0x40a0b7,..._0x451871},'args':[_0x131f97],'tdx':_0x270d97});gracefulExit(_0x1157c4);}),projectCmd[a2_0x551190(0x151)](a2_0x551190(0x2bd))[a2_0x551190(0x28f)]('[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)')[a2_0x551190(0x3ea)](a2_0x551190(0x356),a2_0x551190(0x266))[a2_0x551190(0x3ea)]('--dry-run',a2_0x551190(0xcb))[a2_0x551190(0x246)](async(_0x280bd0,_0x314f31)=>{const _0x1ed460=a2_0x551190,_0x244671=new LLMProjectBackupCommand(),_0x4729e0=program[_0x1ed460(0x180)](),_0x87a20=await createTDXInstance(_0x4729e0),_0x1104f2=await _0x244671['run']({'options':{..._0x4729e0,..._0x314f31},'args':[_0x280bd0],'tdx':_0x87a20});gracefulExit(_0x1104f2);}),projectCmd['command'](a2_0x551190(0x31e))[a2_0x551190(0x28f)](a2_0x551190(0x3e4))[a2_0x551190(0x3ea)](a2_0x551190(0xd0),a2_0x551190(0x20e))[a2_0x551190(0x3ea)](a2_0x551190(0x329),a2_0x551190(0x254))[a2_0x551190(0x246)](async(_0x4e03f7,_0x306ee2)=>{const _0x395a1c=a2_0x551190,_0x3a0079=new LLMProjectRestoreCommand(),_0x5d3c7a=program[_0x395a1c(0x180)](),_0xa3f33f=await createTDXInstance(_0x5d3c7a),_0x4cca68=await _0x3a0079[_0x395a1c(0x328)]({'options':{..._0x5d3c7a,..._0x306ee2},'args':[_0x4e03f7],'tdx':_0xa3f33f});gracefulExit(_0x4cca68);});const llmAgentListAction=async(_0x55c520,_0x5a419f)=>{const _0x4da195=a2_0x551190,_0x197991=new LLMAgentsCommand(),_0xcb8825=program[_0x4da195(0x180)](),_0x2d277a=await createTDXInstance(_0xcb8825),_0x5ef4e3=await _0x197991[_0x4da195(0x328)]({'options':{..._0xcb8825,..._0x5a419f},'args':_0x55c520?[_0x55c520]:[],'tdx':_0x2d277a});gracefulExit(_0x5ef4e3);};llmCmd[a2_0x551190(0x151)](a2_0x551190(0x383))[a2_0x551190(0x28f)](a2_0x551190(0x117))[a2_0x551190(0x246)](llmAgentListAction),program[a2_0x551190(0x151)](a2_0x551190(0x383))[a2_0x551190(0x28f)](a2_0x551190(0x117))[a2_0x551190(0x246)](llmAgentListAction),llmCmd['command']('history\x20[chat-id]')['description'](a2_0x551190(0x27d))[a2_0x551190(0x3ea)](a2_0x551190(0x216),a2_0x551190(0x1c5))['action'](async(_0x2a368d,_0x53de46)=>{const _0x5574f3=a2_0x551190,_0x26afcd=new LLMHistoryCommand(),_0x3987ad=program[_0x5574f3(0x180)](),_0xc8aebd=await createTDXInstance(_0x3987ad),_0x1bb00c=await _0x26afcd[_0x5574f3(0x328)]({'options':{..._0x3987ad,..._0x53de46},'args':_0x2a368d?[_0x2a368d]:[],'tdx':_0xc8aebd});gracefulExit(_0x1bb00c);});isExperimentalAvailable()&&llmCmd[a2_0x551190(0x151)]('log\x20<chat-id>')[a2_0x551190(0x28f)](a2_0x551190(0x11f))[a2_0x551190(0x246)](async(_0x218951,_0x5c72b1)=>{const _0x3a161d=a2_0x551190,_0x3969bd=new LLMLogCommand(),_0x3746d8=program[_0x3a161d(0x180)](),_0x54d969=await createTDXInstance(_0x3746d8),_0x27efd5=await _0x3969bd[_0x3a161d(0x328)]({'options':{..._0x3746d8,..._0x5c72b1},'args':[_0x218951],'tdx':_0x54d969});gracefulExit(_0x27efd5);});program[a2_0x551190(0x151)](a2_0x551190(0x119))['usage']('[options]\x20--\x20[claude-code-args...]')[a2_0x551190(0x28f)]('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')[a2_0x551190(0x3ea)](a2_0x551190(0x14b),a2_0x551190(0x3a2))[a2_0x551190(0x3ea)](a2_0x551190(0x18e),a2_0x551190(0x1d3))[a2_0x551190(0x3ea)]('--no-proxy',a2_0x551190(0x1a0))[a2_0x551190(0x354)]()[a2_0x551190(0x199)](!![])['addHelpText']('after',a2_0x551190(0x382))['action'](async(_0x43c5ed,_0x452ff6)=>{const _0x51fc9d=a2_0x551190,_0x3ae642=program[_0x51fc9d(0x180)](),_0xa1774e=Array[_0x51fc9d(0x312)](_0x43c5ed)?_0x43c5ed:[];if(_0xa1774e[0x0]===_0x51fc9d(0x23d)){const _0x3e2cac=new ClaudeStatuslineCommand(),_0x566d54=await _0x3e2cac[_0x51fc9d(0x328)]({'options':{..._0x3ae642,..._0x452ff6},'args':_0xa1774e[_0x51fc9d(0x10f)](0x1),'tdx':null});gracefulExit(_0x566d54);}if(_0xa1774e[0x0]==='usage'){const _0x2b1ca5=new ClaudeUsageCommand(),_0x450a86=await _0x2b1ca5['run']({'options':{..._0x3ae642,..._0x452ff6},'args':_0xa1774e[_0x51fc9d(0x10f)](0x1),'tdx':null});gracefulExit(_0x450a86);}const _0x29e7a7=new ClaudeCommand(),_0x4ec547=await createTDXInstance(_0x3ae642),_0x18f476=await _0x29e7a7[_0x51fc9d(0x328)]({'options':{..._0x3ae642,..._0x452ff6},'args':_0xa1774e,'tdx':_0x4ec547});gracefulExit(_0x18f476);}),program[a2_0x551190(0x151)]('use\x20[resource]\x20[value]')[a2_0x551190(0x28f)]('Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)')['option']('--clear',a2_0x551190(0x1bb))[a2_0x551190(0x3ea)](a2_0x551190(0x231),a2_0x551190(0x1e1))[a2_0x551190(0x246)](async(_0x2faf2f,_0x10f474,_0x45cbf9)=>{const _0x1938e0=a2_0x551190,_0x587070=new UseCommand(),_0x19a442=program[_0x1938e0(0x180)](),_0x381179=[];if(_0x2faf2f)_0x381179['push'](_0x2faf2f);if(_0x10f474)_0x381179[_0x1938e0(0x183)](_0x10f474);const _0x214327=_0x2faf2f===_0x1938e0(0x2ba),_0x2955b0=_0x214327?await createTDXInstance(_0x19a442):null,_0x2b2e79=await _0x587070['run']({'options':{..._0x19a442,..._0x45cbf9},'args':_0x381179,'tdx':_0x2955b0});gracefulExit(_0x2b2e79);}),program['command']('status')['description'](a2_0x551190(0x399))[a2_0x551190(0x246)](async _0x573ebd=>{const _0x291205=a2_0x551190,_0x32e453=new StatusCommand(),_0x4c03ff=program[_0x291205(0x180)](),_0x180d03=await createTDXInstance(_0x4c03ff),_0x47739d=await _0x32e453[_0x291205(0x328)]({'options':{..._0x4c03ff,..._0x573ebd},'args':[],'tdx':_0x180d03});gracefulExit(_0x47739d);}),program[a2_0x551190(0x151)]('upgrade\x20[version]')[a2_0x551190(0x28f)](a2_0x551190(0x3b5))[a2_0x551190(0x3ea)](a2_0x551190(0x329),a2_0x551190(0x295))[a2_0x551190(0x3ea)]('--next',a2_0x551190(0x1a5))['option'](a2_0x551190(0xfa),a2_0x551190(0x2c8))[a2_0x551190(0x246)](async(_0x5f43f9,_0xba4d24)=>{const _0x33c584=a2_0x551190,_0x4e2586=new UpgradeCommand(),_0x5b298e=program[_0x33c584(0x180)](),_0x2049e8=await _0x4e2586[_0x33c584(0x328)]({'options':{..._0x5b298e,..._0xba4d24},'args':_0x5f43f9?[_0x5f43f9]:[],'tdx':null});gracefulExit(_0x2049e8);}),program[a2_0x551190(0x151)](a2_0x551190(0x192))['description'](a2_0x551190(0x2ef))[a2_0x551190(0x3ea)](a2_0x551190(0x231),a2_0x551190(0x272))[a2_0x551190(0x246)](async(_0xcfc326,_0x517928)=>{const _0x29bbc3=a2_0x551190,_0x572b1f=new UnsetCommand(),_0x385105=program[_0x29bbc3(0x180)](),_0x4b12a0=await _0x572b1f['run']({'options':{..._0x385105,..._0x517928},'args':[_0xcfc326],'tdx':null});gracefulExit(_0x4b12a0);}),program[a2_0x551190(0x151)](a2_0x551190(0x249))[a2_0x551190(0x28f)](a2_0x551190(0x27f))[a2_0x551190(0x3ea)](a2_0x551190(0x216),a2_0x551190(0x126))[a2_0x551190(0x246)](async _0x367eb3=>{const _0x4b1ce9=a2_0x551190,_0x39c3be=new ChatsCommand(),_0x21ffc9=program[_0x4b1ce9(0x180)](),_0x193c78=await createTDXInstance(_0x21ffc9),_0x36a196=await _0x39c3be['run']({'options':{..._0x21ffc9,..._0x367eb3},'args':[],'tdx':_0x193c78});gracefulExit(_0x36a196);});const authCmd=program[a2_0x551190(0x151)](a2_0x551190(0x3d5))[a2_0x551190(0x28f)](a2_0x551190(0x3d9));async function runAuthStatusCommand(_0x4c4e9d){const _0x3d34f2=a2_0x551190,_0x5a17cf=new AuthStatusCommand(),_0x12d999=program[_0x3d34f2(0x180)](),_0x4879f7=await createTDXInstance(_0x12d999),_0x1f8099=await _0x5a17cf[_0x3d34f2(0x328)]({'options':{..._0x12d999,..._0x4c4e9d},'args':[],'tdx':_0x4879f7});gracefulExit(_0x1f8099);}authCmd[a2_0x551190(0x246)](runAuthStatusCommand),authCmd[a2_0x551190(0x151)]('status')['description'](a2_0x551190(0x2b6))[a2_0x551190(0x246)](runAuthStatusCommand);async function authSetupAction(_0x3ab673){const _0x44c5c2=a2_0x551190,_0x29c6a3=new AuthSetupCommand(),_0x4234ed=program[_0x44c5c2(0x180)](),_0x53a9a8=await createTDXInstance(_0x4234ed),_0x378465=await _0x29c6a3[_0x44c5c2(0x328)]({'options':{..._0x4234ed,..._0x3ab673},'args':[],'tdx':_0x53a9a8});gracefulExit(_0x378465);}authCmd[a2_0x551190(0x151)]('setup')[a2_0x551190(0x28f)](a2_0x551190(0x3ab))[a2_0x551190(0x3ea)](a2_0x551190(0x1d2),a2_0x551190(0xce))[a2_0x551190(0x34e)]('after',a2_0x551190(0x1ba))[a2_0x551190(0x246)](authSetupAction),authCmd['command'](a2_0x551190(0x2b3),{'hidden':!![]})[a2_0x551190(0x3ea)](a2_0x551190(0x1d2),a2_0x551190(0xce))['action'](authSetupAction),authCmd[a2_0x551190(0x151)](a2_0x551190(0x1cc))[a2_0x551190(0x28f)]('Remove\x20API\x20key\x20from\x20system\x20keychain')[a2_0x551190(0x34e)](a2_0x551190(0x355),a2_0x551190(0x2f0))[a2_0x551190(0x246)](async _0x3dfe36=>{const _0x3396da=a2_0x551190,_0x5d2598=new AuthClearCommand(),_0x10e967=program[_0x3396da(0x180)](),_0x1682d1=await _0x5d2598[_0x3396da(0x328)]({'options':{..._0x10e967,..._0x3dfe36},'args':[],'tdx':null});gracefulExit(_0x1682d1);});const userCmd=program[a2_0x551190(0x151)](a2_0x551190(0x10c))[a2_0x551190(0x28f)](a2_0x551190(0x1fd)),userListAction=async _0x5bf86f=>{const _0x3cd461=a2_0x551190,_0x2d0f61=new UserListCommand(),_0x584a5e=program['opts'](),_0x5586f1=await createTDXInstance(_0x584a5e),_0x1a89ba=await _0x2d0f61[_0x3cd461(0x328)]({'options':{..._0x584a5e,..._0x5bf86f},'args':[],'tdx':_0x5586f1});gracefulExit(_0x1a89ba);};userCmd['action'](async _0x340c72=>{const _0x3b2cd9=a2_0x551190,_0x2749fc=new UserCommand(),_0x325ae7=program[_0x3b2cd9(0x180)](),_0x1a559f=await createTDXInstance(_0x325ae7),_0xc1c875=await _0x2749fc[_0x3b2cd9(0x328)]({'options':{..._0x325ae7,..._0x340c72},'args':[],'tdx':_0x1a559f});gracefulExit(_0xc1c875);}),userCmd['command']('list')['description'](a2_0x551190(0x3b1))[a2_0x551190(0x246)](userListAction),program[a2_0x551190(0x151)](a2_0x551190(0x1eb))[a2_0x551190(0x28f)](a2_0x551190(0x2f8))[a2_0x551190(0x246)](userListAction);const policyCmd=program[a2_0x551190(0x151)]('policy')[a2_0x551190(0x28f)](a2_0x551190(0x1e9));policyCmd[a2_0x551190(0x246)](async _0x41749d=>{const _0x498648=a2_0x551190,_0x2701e9=new PolicyCommand(),_0x1268ae=program['opts'](),_0x18fdaf=await createTDXInstance(_0x1268ae),_0x97619b=await _0x2701e9[_0x498648(0x328)]({'options':{..._0x1268ae,..._0x41749d},'args':[],'tdx':_0x18fdaf});gracefulExit(_0x97619b);}),policyCmd[a2_0x551190(0x151)](a2_0x551190(0x385))['description'](a2_0x551190(0x193))[a2_0x551190(0x246)](async _0x56add6=>{const _0x5e752b=a2_0x551190,_0x5d3b21=new PolicyListCommand(),_0x40ebad=program[_0x5e752b(0x180)](),_0x92415f=await createTDXInstance(_0x40ebad),_0x5f0417=await _0x5d3b21[_0x5e752b(0x328)]({'options':{..._0x40ebad,..._0x56add6},'args':[],'tdx':_0x92415f});gracefulExit(_0x5f0417);}),policyCmd['command'](a2_0x551190(0x1e7))[a2_0x551190(0x28f)](a2_0x551190(0xde))[a2_0x551190(0x246)](async(_0x39e314,_0x2d88df)=>{const _0x11e618=a2_0x551190,_0x370f1b=new PolicyShowCommand(),_0x116bc7=program[_0x11e618(0x180)](),_0x71fcf6=await createTDXInstance(_0x116bc7),_0x58c244=await _0x370f1b[_0x11e618(0x328)]({'options':{..._0x116bc7,..._0x2d88df},'args':[_0x39e314],'tdx':_0x71fcf6});gracefulExit(_0x58c244);}),program[a2_0x551190(0x151)](a2_0x551190(0x381))[a2_0x551190(0x28f)](a2_0x551190(0x1c0))['action'](async _0x1557fb=>{const _0x446542=a2_0x551190,_0x228ea1=new ProfilesCommand(),_0x212634=program[_0x446542(0x180)](),_0x24d017=await _0x228ea1[_0x446542(0x328)]({'options':{..._0x212634,..._0x1557fb},'args':[],'tdx':null});gracefulExit(_0x24d017);});const profileCmd=program[a2_0x551190(0x151)](a2_0x551190(0x3c2))[a2_0x551190(0x28f)](a2_0x551190(0xd7));profileCmd['action'](()=>{const _0x12c6c4=a2_0x551190;profileCmd[_0x12c6c4(0x368)]();});const profileListAction=async _0x1c86b8=>{const _0x1941df=a2_0x551190,_0x59493e=new ProfilesCommand(),_0x38e02d=program[_0x1941df(0x180)](),_0x476f76=await _0x59493e[_0x1941df(0x328)]({'options':{..._0x38e02d,..._0x1c86b8},'args':[],'tdx':null});gracefulExit(_0x476f76);};profileCmd['command']('list')[a2_0x551190(0x28f)]('List\x20all\x20available\x20profiles')['action'](profileListAction),profileCmd[a2_0x551190(0x151)](a2_0x551190(0x2fd))['description'](a2_0x551190(0x3c1))[a2_0x551190(0x3ea)]('--account-name\x20<name>',a2_0x551190(0xce))[a2_0x551190(0x3ea)](a2_0x551190(0x230),'Overwrite\x20existing\x20profile')[a2_0x551190(0x34e)]('after',a2_0x551190(0x1f9))[a2_0x551190(0x246)](async(_0x64a30e,_0x2dddd8)=>{const _0x385ff9=a2_0x551190,_0x794bca=new ProfileCreateCommand(),_0x805779=program[_0x385ff9(0x180)](),_0x2108f7=await _0x794bca['run']({'options':{..._0x805779,..._0x2dddd8},'args':_0x64a30e?[_0x64a30e]:[],'tdx':null});gracefulExit(_0x2108f7);});async function profileDeleteAction(_0x32d650,_0x1ee315){const _0x37c0e6=a2_0x551190,_0x3d16b5=new ProfileDeleteCommand(),_0x3fc519=program[_0x37c0e6(0x180)](),_0x1076ad=await _0x3d16b5[_0x37c0e6(0x328)]({'options':{..._0x3fc519,..._0x1ee315},'args':[_0x32d650],'tdx':null});gracefulExit(_0x1076ad);}profileCmd['command']('delete\x20<name>')[a2_0x551190(0x28f)]('Delete\x20a\x20profile')[a2_0x551190(0x34e)](a2_0x551190(0x355),a2_0x551190(0x366))[a2_0x551190(0x246)](profileDeleteAction),profileCmd[a2_0x551190(0x151)](a2_0x551190(0x25a),{'hidden':!![]})[a2_0x551190(0x246)](profileDeleteAction),profileCmd[a2_0x551190(0x151)](a2_0x551190(0x2f3))[a2_0x551190(0x28f)](a2_0x551190(0x17a))['addHelpText'](a2_0x551190(0x355),a2_0x551190(0x32e))['action'](async(_0x599b01,_0xa7ced8)=>{const _0x45d020=a2_0x551190,_0x1b6335=new ProfileSetCommand(),_0x3e259a=program[_0x45d020(0x180)](),_0x576273=await _0x1b6335[_0x45d020(0x328)]({'options':{..._0x3e259a,..._0xa7ced8},'args':[_0x599b01],'tdx':null});gracefulExit(_0x576273);}),profileCmd[a2_0x551190(0x151)](a2_0x551190(0x2a1))[a2_0x551190(0x28f)]('Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)')['option'](a2_0x551190(0x231),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x551190(0x34e)](a2_0x551190(0x355),a2_0x551190(0x2ac))[a2_0x551190(0x246)](async(_0x20f245,_0x3ed591)=>{const _0x50019d=a2_0x551190,_0x1284b7=new ProfileUseCommand(),_0x558ed0=program[_0x50019d(0x180)](),_0x4eec77=await _0x1284b7[_0x50019d(0x328)]({'options':{..._0x558ed0,..._0x3ed591},'args':[_0x20f245],'tdx':null});gracefulExit(_0x4eec77);});const engageCmd=program[a2_0x551190(0x151)](a2_0x551190(0x153))[a2_0x551190(0x28f)](a2_0x551190(0x144)),createEngageAction=_0x56e029=>{return async(_0x184919,_0x166c37)=>{const _0xdd9eff=new _0x56e029(),_0x260386=program['opts'](),_0x4bb83f=await createTDXInstance(_0x260386),_0x5ac3c2=await _0xdd9eff['run']({'options':{..._0x260386,..._0x166c37},'args':[_0x184919],'tdx':_0x4bb83f});gracefulExit(_0x5ac3c2);};},createEngageNoArgAction=_0x3181ec=>{return async _0x334b69=>{const _0x4c69f8=new _0x3181ec(),_0x4acfeb=program['opts'](),_0x3aa943=await createTDXInstance(_0x4acfeb),_0x41d1d5=await _0x4c69f8['run']({'options':{..._0x4acfeb,..._0x334b69},'args':[],'tdx':_0x3aa943});gracefulExit(_0x41d1d5);};},createEngageListAction=_0x890d21=>{return async(_0x2bf820,_0x219060)=>{const _0x50c0e5=new _0x890d21(),_0x59eea3=program['opts'](),_0x1d743c=await createTDXInstance(_0x59eea3),_0x491654=await _0x50c0e5['run']({'options':{..._0x59eea3,..._0x219060},'args':_0x2bf820?[_0x2bf820]:[],'tdx':_0x1d743c});gracefulExit(_0x491654);};},campaignCmd=engageCmd['command'](a2_0x551190(0x29e))[a2_0x551190(0x28f)](a2_0x551190(0x310));campaignCmd[a2_0x551190(0x151)]('list\x20[pattern]')[a2_0x551190(0x28f)](a2_0x551190(0x1bd))[a2_0x551190(0x3ea)](a2_0x551190(0x2fa),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')['option'](a2_0x551190(0x34f),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x551190(0x3ea)]('--workspace\x20<name>',a2_0x551190(0x170))[a2_0x551190(0x246)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x551190(0x151)]('campaigns\x20[pattern]')[a2_0x551190(0x28f)](a2_0x551190(0x194))[a2_0x551190(0x3ea)](a2_0x551190(0x2fa),a2_0x551190(0x112))[a2_0x551190(0x3ea)](a2_0x551190(0x34f),a2_0x551190(0x3e0))[a2_0x551190(0x3ea)]('--workspace\x20<name>',a2_0x551190(0x170))[a2_0x551190(0x246)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x551190(0x151)](a2_0x551190(0x3ac))['description'](a2_0x551190(0x2f7))[a2_0x551190(0x3ea)](a2_0x551190(0x38b),a2_0x551190(0x170))['option']('--full',a2_0x551190(0x345))['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x551190(0x151)](a2_0x551190(0xe3))['description']('Create\x20a\x20new\x20campaign')[a2_0x551190(0x3b0)](a2_0x551190(0x397),a2_0x551190(0x11e))['requiredOption'](a2_0x551190(0x2fa),a2_0x551190(0x275))[a2_0x551190(0x3ea)](a2_0x551190(0x38b),a2_0x551190(0x363))[a2_0x551190(0x3ea)](a2_0x551190(0x388),'Campaign\x20description')[a2_0x551190(0x3ea)](a2_0x551190(0x2db),a2_0x551190(0x172))['option'](a2_0x551190(0x2af),'Email\x20sender\x20ID\x20for\x20delivery')['option'](a2_0x551190(0x39f),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x551190(0x3ea)](a2_0x551190(0x322),a2_0x551190(0xec))[a2_0x551190(0x3ea)](a2_0x551190(0x1ed),a2_0x551190(0x22c))[a2_0x551190(0x246)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x551190(0x151)](a2_0x551190(0x3eb))[a2_0x551190(0x28f)](a2_0x551190(0xbd))[a2_0x551190(0x3ea)]('--workspace\x20<name>',a2_0x551190(0x170))['option'](a2_0x551190(0x397),a2_0x551190(0x2b0))[a2_0x551190(0x3ea)]('--description\x20<desc>','Campaign\x20description')['option'](a2_0x551190(0x2db),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x551190(0x3ea)](a2_0x551190(0x2af),a2_0x551190(0x16c))[a2_0x551190(0x3ea)]('--json-columns\x20<cols>',a2_0x551190(0x33b))[a2_0x551190(0x3ea)](a2_0x551190(0x322),a2_0x551190(0xec))[a2_0x551190(0x3ea)](a2_0x551190(0x1ed),a2_0x551190(0x22c))[a2_0x551190(0x246)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x551190(0x151)](a2_0x551190(0x31c))[a2_0x551190(0x28f)](a2_0x551190(0xcc))[a2_0x551190(0x3ea)](a2_0x551190(0x38b),a2_0x551190(0x170))[a2_0x551190(0x3ea)](a2_0x551190(0x219),a2_0x551190(0x34a))['action'](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x551190(0x151)](a2_0x551190(0x18c))['description']('Launch\x20a\x20campaign')['option'](a2_0x551190(0x38b),'Workspace\x20name')[a2_0x551190(0x246)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd['command'](a2_0x551190(0x2d6))[a2_0x551190(0x28f)](a2_0x551190(0x335))['option'](a2_0x551190(0x38b),'Workspace\x20name')[a2_0x551190(0x246)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x551190(0x151)]('resume\x20<name-or-id>')[a2_0x551190(0x28f)](a2_0x551190(0x296))['option'](a2_0x551190(0x38b),a2_0x551190(0x170))[a2_0x551190(0x246)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x551190(0x151)]('duplicate\x20<name-or-id>')[a2_0x551190(0x28f)](a2_0x551190(0x109))[a2_0x551190(0x3ea)]('--workspace\x20<name>',a2_0x551190(0x170))['action'](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x551190(0x151)]('pull\x20[workspace-name]')[a2_0x551190(0x28f)](a2_0x551190(0x184))['option'](a2_0x551190(0x38b),'Workspace\x20name')[a2_0x551190(0x3ea)](a2_0x551190(0x397),a2_0x551190(0x222))[a2_0x551190(0x3ea)](a2_0x551190(0x2fa),a2_0x551190(0x112))[a2_0x551190(0x3ea)]('--dry-run','Show\x20what\x20would\x20be\x20written\x20without\x20writing')[a2_0x551190(0x246)](createEngageAction(EngageCampaignPullCommand)),campaignCmd['command'](a2_0x551190(0x104))[a2_0x551190(0x28f)](a2_0x551190(0x339))[a2_0x551190(0x3ea)](a2_0x551190(0x38b),'Workspace\x20name')[a2_0x551190(0x3ea)](a2_0x551190(0x329),a2_0x551190(0x1aa))[a2_0x551190(0x246)](createEngageAction(EngageCampaignPushCommand)),campaignCmd['command'](a2_0x551190(0x1de))[a2_0x551190(0x28f)]('Validate\x20campaign\x20YAML\x20files\x20locally')[a2_0x551190(0x3ea)](a2_0x551190(0x182),'Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x551190(0x246)](createEngageAction(EngageCampaignValidateCommand));function a2_0x19a0(){const _0x4775aa=['Show\x20connection\x20details\x20by\x20name','Database\x20management\x20commands','Finish\x20an\x20always-on\x20campaign','delete\x20<name-or-id>','--include-stats','restore\x20<folder>','folders\x20<parent_name>','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','List\x20all\x20data\x20connections','--start-at\x20<datetime>','entries','Change\x20to\x20directory\x20before\x20executing\x20command','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','filter','--timeout\x20<seconds>','run','--dry-run','flags','--limit\x20<number>','parents\x20[pattern]','Composable\x20segment\x20commands','\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','desc\x20[name]','-y,\x20--yes','Name\x20for\x20the\x20new\x20project\x20(required)','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','--new','--table','Pause\x20a\x20campaign','--output\x20<file>','Push\x20without\x20confirmation','--limit\x20<n>','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','Pause\x20activations\x20in\x20an\x20RT\x20journey','JSON\x20columns\x20for\x20connector\x20(comma-separated)','--schedule-option\x20<value>','--all','format','--rule\x20<json>','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','RT\x202.0\x20configuration\x20management','Enable\x20verbose\x20logging',',\x20version\x20','Run\x20tests\x20for\x20an\x20LLM\x20agent','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','schedule','Preview\x20changes\x20without\x20pushing','--folder\x20<name>','--database\x20<name>','Skip\x20confirmation\x20prompt','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','--in\x20<database>','trace','addHelpText','--status\x20<status>','journeys\x20[pattern]','...','padWidth','Show\x20segment\x20schema\x20(column\x20types)','allowUnknownOption','after','-o,\x20--output\x20<folder>','Agent\x20name','init\x20[name]','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','List\x20all\x20versions\x20of\x20a\x20journey','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Target\x20directory\x20for\x20YAML\x20files','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','Show\x20agent\x20details','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','Reason\x20for\x20killing\x20the\x20attempt','-d,\x20--database\x20<database>','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Workspace\x20name\x20(required)','--file\x20<path>','Master\x20table\x20name','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a','--session-time\x20<time>','outputHelp','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Database\x20name\x20(required)','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','--tags\x20<tags>','Overwrite\x20local\x20changes\x20without\x20confirmation','aliases','get','create\x20<name>\x20<service_id>\x20[parent_segment]','--force','6218hcdYKl','run\x20[workflow]','Updated\x20schedule\x20option','Cron\x20expression\x20for\x20scheduling','List\x20email\x20senders','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','clone\x20[source-dir]','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','argument','stdout','delete\x20<args...>','site','optionDescription','run\x20<name>','Folder\x20name\x20for\x20organization','profiles','\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON','agents\x20[pattern]','_hidden','list','Request\x20body\x20as\x20JSON\x20string','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','--description\x20<desc>','Include\x20retried\x20attempts\x20(for\x20list)','Name\x20for\x20the\x20duplicated\x20campaign','--workspace\x20<name>','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','project','--from\x20<date>','--catalog\x20<catalog>','Move\x20to\x20folder','subcommandTerm','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','--enriched','Update\x20an\x20email\x20template','move\x20<name>\x20<status>','--database\x20<db>','--name\x20<name>','Manage\x20workflow\x20project\x20secrets','Show\x20authentication\x20status\x20and\x20current\x20context','--interval\x20<range>','Workflow\x20(Digdag)\x20management\x20commands','chdir','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','List\x20journeys\x20in\x20current\x20context','--json-columns\x20<cols>','view\x20[segment_name]','Include\x20retried\x20attempts','Continue\x20most\x20recent\x20conversation','-w,\x20--web','Validate\x20template\x20YAML\x20files\x20locally','--behaviors-file\x20<file>','board','Add\x20attributes\x20from\x20JSON\x20file','TRACE','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Invalid\x20editor\x20type:\x20','Setup\x20API\x20key\x20authentication\x20interactively','show\x20<name-or-id>','--session\x20<id>','Timezone\x20for\x20cron\x20(default:\x20UTC)','--agent\x20<ref>','requiredOption','List\x20all\x20users\x20in\x20the\x20account','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','push\x20[file]','Include\x20raw\x20history\x20data\x20in\x20output','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','forEach','--to\x20<date>','duplicate\x20<name-or-id>','--params\x20<json>','Limit\x20number\x20of\x20rows','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','--rule-file\x20<file>','Create\x20a\x20scheduled\x20query','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Add\x20behaviors\x20as\x20JSON\x20string','Create\x20a\x20new\x20profile','profile','--kind\x20<type>','Attempt\x20ID','Initial\x20status','--from\x20<timestamp>','Update\x20a\x20realtime\x20personalization\x20entity','Initialize\x20a\x20new\x20workspace','argv','Start\x20time\x20filter\x20(ISO\x208601\x20format)','\x20(resolved\x20to\x20','New\x20workspace\x20name','Show\x20all\x20files\x20including\x20valid\x20ones','info\x20[segment_name]','--html-file\x20<path>','pull\x20[name]','Update\x20an\x20always-on\x20campaign','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','Personalization\x20name','Customer\x20group\x20as\x20JSON\x20string','auth','mcp','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Authentication\x20management','show\x20<service_id>\x20[parent_segment]','flatMap','templates\x20[pattern]','delete\x20<token_id>\x20[parent_segment]','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Show\x20master\x20table\x20sample\x20data','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','List\x20available\x20connector\x20types','Retry\x20limit\x20(0\x20to\x2032)','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','token','--invisible','exit','activations\x20<segment_name>','projects\x20[pattern]','option','update\x20<name-or-id>','Open\x20journey\x20in\x20web\x20browser','chat\x20[message...]','Set\x20operation\x20timeout\x20in\x20seconds','configuration_versions\x20[name]','Update\x20a\x20campaign','versions\x20<name-or-path>','sql\x20[name]','Composable\x20audience\x20name','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','List\x20jobs','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','Show\x20items\x20updated\x20within\x20N\x20days','createAsync','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Timezone\x20for\x20cron','push\x20[parent_or_file]','job','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Delete\x20a\x20campaign','template','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','--name\x20<new-name>','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Launch\x20an\x20always-on\x20campaign','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Query\x20type:\x20trino\x20or\x20hive','Timezone\x20(e.g.,\x20America/Los_Angeles)','new\x20<title>','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','DEBUG','--skip-validation','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','506bKNDGr','--assignee\x20<assignee>','Transition\x20a\x20task\x20to\x20a\x20new\x20status','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','jsonl','--reeval','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','New\x20template\x20name','create','--description\x20<text>','parent','--allowed-ips\x20<ips>','Behaviors\x20as\x20JSON\x20string','describe','\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','Show\x20email\x20template\x20details','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','types','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','Output\x20file\x20path','Workspace\x20management','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Pause\x20an\x20always-on\x20campaign','AI-native\x20CLI\x20for\x20Treasure\x20Data','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','Enable\x20UTM\x20tracking','segments\x20[path]','--version\x20<number>','fields\x20[name]','join','--method\x20<pm>','list\x20[pattern]','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','--master','End\x20time\x20filter\x20(ISO\x208601\x20format)','Validate\x20journey\x20YAML\x20files\x20locally','[task-name]','Action:\x20logs,\x20tasks,\x20kill,\x20retry','Force\x20retry\x20even\x20if\x20not\x20failed','result\x20<job-id>','push\x20[target]','Unknown\x20action:\x20','--help','--attempt-id\x20<id>','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','Duplicate\x20a\x20campaign','--color','Include\x20subtasks\x20in\x20tasks\x20output','user','Output\x20as\x20JSON','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','slice','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','-n,\x20--name\x20<name>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','name','--dir\x20<dir>','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','--max-depth\x20<depth>','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','claude\x20[args...]','--delete','Personalization\x20management','--jsonl','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Campaign\x20name','[EXPERIMENTAL]\x20Show\x20chat\x20log','--data\x20<data>','show\x20<name>','--schedule-type\x20<type>','--time\x20<iso8601>','--chat-id\x20<id>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Show\x20the\x20most\x20recent\x20chat','senders\x20[pattern]','3742795KZPxLu','AI-native\x20work\x20management','Create\x20a\x20new\x20always-on\x20campaign','clone\x20[source]','version','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','--max-tool-iterations\x20<n>','describe\x20[table]','Data\x20connection\x20management\x20(for\x20activations/exports)','delete\x20<agent-name>','--kind\x20<kind>','desc','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','stringify','argumentDescription','Attributes\x20from\x20JSON\x20file','--template\x20<name>','Parent\x20segment\x20description','Workflow\x20session\x20management','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','--attributes-file\x20<file>','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','LLM\x20project\x20to\x20use\x20(overrides\x20context)','pull\x20<project>\x20[target-dir]','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Preview\x20composable\x20segment\x20query\x20on\x20CDW','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','catch','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','list\x20[name]','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','-c,\x20--continue','Make\x20service\x20public\x20(default:\x20private)','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','delete\x20<name>','Show\x20timeline\x20for\x20specific\x20attempt','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','command','Template\x20name','engage','create\x20<name-or-path>','Show\x20segment\x20details\x20(alias\x20for\x20view)','[DEPRECATED]\x20Segment\x20folder\x20management','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','beefree','use\x20<path>','Create\x20segment\x20folder','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','padEnd','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','--from\x20<n>','databases\x20[pattern]','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','upload\x20[project-name-or-dir]','view\x20[name]','trino','--attributes\x20<json>','Add\x20attributes\x20as\x20JSON\x20string','Delay\x20in\x20seconds\x20before\x20execution','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','[action]','parent-segment','work','Email\x20sender\x20ID\x20for\x20delivery','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','--full','Database\x20name\x20(default:\x20information_schema)','Workspace\x20name','update\x20<service_id>\x20[parent_segment]','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','List\x20available\x20LLM\x20models','preview\x20[file]','validate\x20[file]','sessions\x20[project]','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Filtering\x20rule\x20as\x20JSON\x20string','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Set\x20a\x20profile\x20configuration\x20value','argumentTerm','--starter-message\x20<text>','--follow','configureHelp','Delete\x20a\x20scheduled\x20query','opts','--behaviors\x20<json>','--verbose','push','Pull\x20campaigns\x20to\x20YAML\x20files','test\x20[path]','Resume\x20from\x20specific\x20task','pull\x20[workspace]','Directory\x20does\x20not\x20exist:\x20','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','--include-retried','--to\x20<n>','launch\x20<name-or-id>','run\x20[name]','-r,\x20--resume','isDirectory','Export\x20journey(s)\x20as\x20YAML\x20files','--delay\x20<seconds>','unset\x20<resource>','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Include\x20all\x20items\x20(no\x20stale\x20filtering)','hook','Sections\x20as\x20an\x20inline\x20JSON\x20array','Output\x20as\x20JSON\x20Lines','allowExcessArguments','show\x20<job-id>','--to\x20<timestamp>','--priority\x20<-2~2>','update\x20<name>','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','--tsv','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','--debug','Updated\x20timezone','Pull\x20specific\x20template\x20by\x20name','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','alias','timeline\x20[project.workflow]','Pull\x20templates\x20to\x20YAML\x20files','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','-p,\x20--profile\x20<name>','--cron\x20<expression>','delete\x20<personalization_id>','Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)','Table\x20management\x20commands','set','--prompt\x20<text>','isTTY','logs','tables\x20[pattern]','Customer\x20group\x20from\x20JSON\x20file','service','links\x20<name>','Invalid\x20--limit\x20value:\x20\x22','INFO','\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','Clear\x20session\x20context','LLM\x20project\x20management','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','resume_activations\x20<journeyId>','-1d','List\x20all\x20available\x20profiles','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Skip\x20confirmation\x20prompts','Skip\x20validation\x20of\x20.dig\x20files','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Override\x20project\x20name','information_schema','Add\x20behaviors\x20from\x20JSON\x20file','activations\x20<name-or-path>','required','--in\x20<db>','clear','--customer-group\x20<json>','Skip\x20population\x20counting','--add-behaviors\x20<json>','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','audience','--account-name\x20<name>','Resume\x20a\x20conversation\x20(shows\x20selector)','Priority\x20(critical,\x20high,\x20medium,\x20low)','Preview\x20changes\x20without\x20writing\x20files','Workspace\x20description','--html\x20<html>','Job\x20priority\x20(-2\x20to\x202)','INVALID_ARGUMENT','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','--llm-project\x20<name>','show\x20<personalization_id>','HTML\x20template\x20content','validate\x20[target]','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','summary','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','repeat','-r,\x20--recursive','Show\x20Kanban\x20board\x20view\x20of\x20tasks','Show\x20a\x20specific\x20realtime\x20personalization','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','show\x20<policy>','hidden','Access\x20control\x20policy\x20commands','Starter\x20message','users','Pull\x20workflow\x20project\x20to\x20local\x20folder','--timezone\x20<tz>','parent_segment','Read\x20query\x20from\x20file','--result\x20<url>','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','preview\x20[name]','--add-behaviors-file\x20<file>','colorFn','Output\x20file\x20path\x20(default:\x20<name>.yml)','delivery','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','\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','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','Personalization\x20description','update\x20<agent-name>','User\x20management\x20commands','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Maximum\x20rows\x20to\x20display','Plaintext\x20template\x20content','grapesjs','set\x20<args...>','--retry-limit\x20<0~32>','Assignee','Open\x20a\x20document\x20in\x20$EDITOR','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','RT\x20Journey\x20management','Update\x20a\x20workspace','subcommandDescription','--add-attributes\x20<json>','Document\x20body\x20text','length','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','Delete\x20an\x20agent','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','--include-subtasks','always-on-campaign','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','--json','--name\x20<new_name>','--last','Campaign\x20description','Resume\x20a\x20paused\x20journey','--yes','journey','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','workflows\x20[project]','retry\x20<session-id>','session','timeout','split','Comma-separated\x20tags','Pull\x20specific\x20campaign\x20by\x20name','query\x20[sql]','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Resume\x20activations\x20in\x20an\x20RT\x20journey','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','stats\x20<name-or-path>','Show\x20always-on\x20campaign\x20details','--editor-type\x20<type>','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','--enable-utm-tracking','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','agent','kill','tasks','-f,\x20--force','--default','validate\x20[name]','Filtering\x20rule\x20from\x20JSON\x20file','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','Delete\x20an\x20email\x20template','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Query\x20engine\x20version','map','finish\x20<name-or-id>','workspaces\x20[pattern]','Create\x20a\x20new\x20LLM\x20project','statusline','stderr','Save\x20output\x20to\x20file','Maximum\x20recursion\x20depth\x20(default:\x2010)','view\x20<name-or-path>','create\x20<name>','Update\x20an\x20existing\x20agent','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','Starting\x20offset\x20(default:\x200)','action','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','Custom\x20revision\x20name\x20(default:\x20timestamp)','chats','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','us01','use\x20<project-name>','error','List\x20composable\x20audiences','6218184afRsRm','item','--from-task\x20<task>','settings\x20<type>','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Database\x20to\x20query\x20(default:\x20information_schema)','pause\x20<name-or-path>','Ending\x20offset\x20(default:\x2020)','Get\x20job\x20results','remove\x20<name>','15gLDUmM','--model\x20<name>','--num\x20<1-10>','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','-d,\x20--database\x20<db>','Personalization\x20service\x20token\x20management','\x22.\x20Must\x20be\x20a\x20number.','history\x20<name>','--table\x20<table>','Clear\x20workflow\x20project\x20context','list\x20[project]','Output\x20folder\x20(default:\x20{project_name}.llm)','desc\x20[segment_name]','Behaviors\x20from\x20JSON\x20file','Follow/watch\x20timeline\x20for\x20running\x20attempts','--system-prompt\x20<text>','optionTerm','tsv','resume\x20<name-or-id>','Token\x20description','[attempt-id]','--name\x20<text>','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Read\x20HTML\x20template\x20from\x20file','6334551SgLcfE','Campaign\x20type\x20(email\x20or\x20push)','create\x20<name>\x20[parent_segment]','retry','attempts\x20[project]','Trino\x20catalog\x20(default:\x20td)','debug','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Service\x20description','Interactive\x20chat\x20selector','--temperature\x20<n>','jobs','always-on-campaigns\x20[pattern]','--attribute\x20[name]','use\x20[name]','Show\x20schedule\x20execution\x20history','pull\x20[parent_or_file]','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Show\x20journey\x20details','show\x20<agent-name>','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Workflow\x20project\x20management','--body\x20<body>','Pull\x20child\x20segments\x20to\x20YAML\x20files','create\x20<parent_name>\x20<folder_name>','description','_list-commands','tdx','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','api\x20[endpoint]','Check\x20for\x20updates\x20without\x20installing','Resume\x20a\x20paused\x20campaign','820384iNHDZI','gitRevision','--reason\x20<text>','--sections\x20<json>','Kill\x20a\x20job','Generate\x20test\x20conversations\x20without\x20evaluation','-u,\x20--use','campaign','Duplicate\x20an\x20always-on\x20campaign','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','use\x20<name>','Create\x20a\x20new\x20document','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','List\x20journeys\x20(alias\x20for\x20journey\x20list)','Master\x20database\x20name','View\x20a\x20specific\x20version\x20of\x20a\x20journey','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','--session-id\x20<id>','database','\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','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','tdx\x20','--email-sender-id\x20<id>','New\x20campaign\x20name','--customer-group-file\x20<file>','Project\x20description','login','use\x20[project]','Push\x20YAML\x20files\x20to\x20CAS\x20API','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','injectIntoOptions','--public','engage_workspace','--stage\x20<name>','table','backup\x20<name>','replace','--stream','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','buildTime','Result\x20output\x20destination\x20URL','json','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','New\x20service\x20name','--behavior\x20[name]','--plaintext\x20<text>','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','5208364fwenZh','folder','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Maximum\x20number\x20of\x20nodes','workspace','--revision\x20<revision>','--limit\x20<rows>','Delete\x20a\x20workspace','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--engine-version\x20<version>','Maximum\x20tool\x20iterations\x20(default:\x204)','patch\x20<personalization_id>','pause\x20<name-or-id>','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','Alias\x20for\x20--database\x20(natural\x20language\x20style)','List\x20composable\x20segments\x20for\x20an\x20audience','--segment\x20<path>','Show\x20journey\x20statistics','Arguments:','\x20-\x20built\x20','create\x20<segment_name>','--trace','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','-C,\x20--directory\x20<path>','claude-4.5-sonnet','Task\x20name\x20for\x20logs\x20action','--parent-folder\x20<name>','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Link\x20workspace\x20to\x20a\x20GitHub\x20repository','New\x20service\x20description','-v,\x20--verbose','Open\x20segment\x20in\x20web\x20browser','--format\x20<format>','-H,\x20--header\x20<header>','Describe\x20table\x20schema','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','\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','resume\x20<name-or-path>','delete\x20<project-name-or-id>','set\x20<key=value>','-o,\x20--output\x20<dir>','-f,\x20--file\x20<path>','directory','Show\x20campaign\x20details','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','--type\x20<type>','secrets','Submit\x20a\x20job','create\x20[name]','Delivery\x20operations\x20(email\x20senders)','Agent\x20prompt/instructions','commands','8816598DOUjWq','--resume-from\x20<task>','Run\x20a\x20scheduled\x20query\x20immediately','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','show\x20[table]','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','includes','push\x20[source-dir]','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','--include-history','log','Revision\x20name\x20(default:\x20timestamp)','attempt:','-a,\x20--agent\x20<name>','Preview\x20without\x20creating\x20the\x20project','Campaign\x20management','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','isArray','Email\x20subject\x20template','List\x20agents\x20in\x20current\x20project','upgrade','logLevel','Updated\x20description','--audience-id\x20<id>'];a2_0x19a0=function(){return _0x4775aa;};return a2_0x19a0();}const alwaysOnCampaignCmd=engageCmd[a2_0x551190(0x151)](a2_0x551190(0x212))['description']('Always-on\x20campaign\x20management');alwaysOnCampaignCmd[a2_0x551190(0x151)](a2_0x551190(0xfb))[a2_0x551190(0x28f)](a2_0x551190(0x287))['option'](a2_0x551190(0x2fa),a2_0x551190(0x112))['option'](a2_0x551190(0x34f),a2_0x551190(0x24a))[a2_0x551190(0x3b0)](a2_0x551190(0x38b),a2_0x551190(0x363))[a2_0x551190(0x246)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x551190(0x151)](a2_0x551190(0x282))['description'](a2_0x551190(0x134))[a2_0x551190(0x3ea)](a2_0x551190(0x2fa),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')['option']('--status\x20<status>',a2_0x551190(0x24a))[a2_0x551190(0x3b0)](a2_0x551190(0x38b),a2_0x551190(0x363))['action'](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x551190(0x151)](a2_0x551190(0x3ac))['description'](a2_0x551190(0x228))[a2_0x551190(0x3b0)](a2_0x551190(0x38b),a2_0x551190(0x363))['option'](a2_0x551190(0x16e),a2_0x551190(0x345))[a2_0x551190(0x246)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x551190(0x151)]('create')[a2_0x551190(0x28f)](a2_0x551190(0x12a))[a2_0x551190(0x3b0)](a2_0x551190(0x397),a2_0x551190(0x11e))[a2_0x551190(0x3b0)]('--type\x20<type>',a2_0x551190(0x275))[a2_0x551190(0x3b0)](a2_0x551190(0x38b),a2_0x551190(0x363))[a2_0x551190(0x3ea)](a2_0x551190(0x388),a2_0x551190(0x217))[a2_0x551190(0x3ea)](a2_0x551190(0x2db),'Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')[a2_0x551190(0x3ea)]('--enable-utm-tracking',a2_0x551190(0xf5))[a2_0x551190(0x246)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x551190(0x151)](a2_0x551190(0x3eb))['description'](a2_0x551190(0x3d1))[a2_0x551190(0x3b0)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x551190(0x3ea)](a2_0x551190(0x397),'New\x20campaign\x20name')[a2_0x551190(0x3ea)]('--description\x20<desc>','Campaign\x20description')[a2_0x551190(0x3ea)]('--segment\x20<path>',a2_0x551190(0x359))['option'](a2_0x551190(0x22b),'Enable\x20UTM\x20tracking')[a2_0x551190(0x246)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x551190(0x151)](a2_0x551190(0x31c))[a2_0x551190(0x28f)](a2_0x551190(0x2e2))[a2_0x551190(0x3b0)](a2_0x551190(0x38b),a2_0x551190(0x363))[a2_0x551190(0x3ea)](a2_0x551190(0x219),a2_0x551190(0x34a))[a2_0x551190(0x246)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd['command'](a2_0x551190(0x18c))[a2_0x551190(0x28f)](a2_0x551190(0xd2))[a2_0x551190(0x3b0)](a2_0x551190(0x38b),a2_0x551190(0x363))[a2_0x551190(0x246)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd['command'](a2_0x551190(0x2d6))[a2_0x551190(0x28f)](a2_0x551190(0xf2))['requiredOption'](a2_0x551190(0x38b),a2_0x551190(0x363))['action'](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x551190(0x151)](a2_0x551190(0x26d))[a2_0x551190(0x28f)]('Resume\x20a\x20paused\x20always-on\x20campaign')[a2_0x551190(0x3b0)](a2_0x551190(0x38b),a2_0x551190(0x363))[a2_0x551190(0x246)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x551190(0x151)](a2_0x551190(0x23a))[a2_0x551190(0x28f)](a2_0x551190(0x31b))[a2_0x551190(0x3b0)](a2_0x551190(0x38b),a2_0x551190(0x363))[a2_0x551190(0x3ea)](a2_0x551190(0x219),a2_0x551190(0x34a))[a2_0x551190(0x246)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x551190(0x151)](a2_0x551190(0x3b8))[a2_0x551190(0x28f)](a2_0x551190(0x29f))[a2_0x551190(0x3b0)]('--workspace\x20<name>',a2_0x551190(0x363))[a2_0x551190(0x3b0)](a2_0x551190(0x397),a2_0x551190(0x38a))[a2_0x551190(0x246)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x551190(0x151)](a2_0x551190(0xcd))['description']('Email\x20template\x20management');templateCmd[a2_0x551190(0x151)](a2_0x551190(0xfb))[a2_0x551190(0x28f)]('List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x551190(0x3ea)](a2_0x551190(0x38b),a2_0x551190(0x170))[a2_0x551190(0x246)](createEngageListAction(EngageTemplatesCommand)),engageCmd['command'](a2_0x551190(0x3dc))['description'](a2_0x551190(0x35b))[a2_0x551190(0x3ea)](a2_0x551190(0x38b),'Workspace\x20name')[a2_0x551190(0x246)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x551190(0x151)](a2_0x551190(0x3ac))[a2_0x551190(0x28f)](a2_0x551190(0xea))[a2_0x551190(0x3ea)]('--workspace\x20<name>',a2_0x551190(0x170))['option'](a2_0x551190(0x16e),a2_0x551190(0x345))[a2_0x551190(0x246)](createEngageAction(EngageTemplateShowCommand)),templateCmd['command']('create')[a2_0x551190(0x28f)]('Create\x20an\x20email\x20template')['requiredOption'](a2_0x551190(0x397),a2_0x551190(0x152))[a2_0x551190(0x3b0)]('--subject\x20<subject>',a2_0x551190(0x313))['option'](a2_0x551190(0x1d7),'HTML\x20template\x20content')[a2_0x551190(0x3ea)](a2_0x551190(0x3cf),a2_0x551190(0x273))['option'](a2_0x551190(0x38b),a2_0x551190(0x363))[a2_0x551190(0x3ea)](a2_0x551190(0x2c7),'Plaintext\x20template\x20content')[a2_0x551190(0x3ea)](a2_0x551190(0x229),a2_0x551190(0x2a0),_0x3c9801=>{const _0x4628d0=a2_0x551190;if(![_0x4628d0(0x158),_0x4628d0(0x202)]['includes'](_0x3c9801))throw new SDKError(ErrorCode[_0x4628d0(0x1d9)],_0x4628d0(0x3aa)+_0x3c9801+_0x4628d0(0x142));return _0x3c9801;})['action'](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x551190(0x151)]('update\x20<name-or-id>')[a2_0x551190(0x28f)](a2_0x551190(0x394))[a2_0x551190(0x3ea)](a2_0x551190(0x38b),a2_0x551190(0x170))['option'](a2_0x551190(0x397),a2_0x551190(0xe2))['option']('--subject\x20<subject>','Email\x20subject\x20template')['option']('--html\x20<html>',a2_0x551190(0x1dd))['option'](a2_0x551190(0x3cf),a2_0x551190(0x273))[a2_0x551190(0x3ea)](a2_0x551190(0x2c7),a2_0x551190(0x201))['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x551190(0x151)](a2_0x551190(0x187))[a2_0x551190(0x28f)](a2_0x551190(0x1a8))[a2_0x551190(0x3ea)]('--workspace\x20<name>',a2_0x551190(0x170))[a2_0x551190(0x3ea)]('--name\x20<name>',a2_0x551190(0x1a4))['option'](a2_0x551190(0x330),a2_0x551190(0x34a))[a2_0x551190(0x3ea)](a2_0x551190(0x329),'Show\x20what\x20would\x20be\x20written\x20without\x20writing')[a2_0x551190(0x246)](createEngageAction(EngageTemplatePullCommand)),templateCmd['command'](a2_0x551190(0x104))[a2_0x551190(0x28f)](a2_0x551190(0x271))[a2_0x551190(0x3ea)](a2_0x551190(0x38b),a2_0x551190(0x170))[a2_0x551190(0x3ea)](a2_0x551190(0x330),a2_0x551190(0x34a))[a2_0x551190(0x3ea)](a2_0x551190(0x329),'Show\x20what\x20would\x20be\x20applied\x20without\x20applying')['action'](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x551190(0x151)](a2_0x551190(0x1de))[a2_0x551190(0x28f)](a2_0x551190(0x3a4))[a2_0x551190(0x3ea)]('--verbose',a2_0x551190(0x3cd))[a2_0x551190(0x246)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x551190(0x151)](a2_0x551190(0x31c))[a2_0x551190(0x28f)](a2_0x551190(0x236))[a2_0x551190(0x3ea)](a2_0x551190(0x38b),a2_0x551190(0x170))[a2_0x551190(0x3ea)](a2_0x551190(0x219),'Skip\x20confirmation\x20prompt')['action'](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x551190(0x151)](a2_0x551190(0x2ce))[a2_0x551190(0x28f)](a2_0x551190(0xf0));workspaceCmd[a2_0x551190(0x151)](a2_0x551190(0xfb))['description'](a2_0x551190(0x1f7))[a2_0x551190(0x246)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x551190(0x151)](a2_0x551190(0x23b))[a2_0x551190(0x28f)]('List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)')[a2_0x551190(0x246)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x551190(0x151)](a2_0x551190(0x3ac))['description']('Show\x20workspace\x20details')['option'](a2_0x551190(0x16e),a2_0x551190(0x345))['action'](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x551190(0x151)](a2_0x551190(0xe3))['description']('Create\x20a\x20workspace')['requiredOption']('--name\x20<name>',a2_0x551190(0x170))['option'](a2_0x551190(0x388),'Workspace\x20description')['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x551190(0x151)]('update\x20<name-or-id>')[a2_0x551190(0x28f)](a2_0x551190(0x209))[a2_0x551190(0x3ea)]('--name\x20<name>',a2_0x551190(0x3cc))['option'](a2_0x551190(0x388),a2_0x551190(0x1d6))[a2_0x551190(0x246)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x551190(0x151)](a2_0x551190(0x31c))[a2_0x551190(0x28f)](a2_0x551190(0x2d1))[a2_0x551190(0x3ea)](a2_0x551190(0x219),a2_0x551190(0x34a))[a2_0x551190(0x246)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x551190(0x151)](a2_0x551190(0x2a1))[a2_0x551190(0x28f)]('Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)')[a2_0x551190(0x246)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x551190(0x151)](a2_0x551190(0x1f6))[a2_0x551190(0x28f)](a2_0x551190(0x2fe));deliveryCmd[a2_0x551190(0x151)](a2_0x551190(0x127))[a2_0x551190(0x28f)](a2_0x551190(0x376))[a2_0x551190(0x3ea)](a2_0x551190(0x38b),a2_0x551190(0x170))[a2_0x551190(0x246)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program['command']('connection')['description'](a2_0x551190(0x130)),connectionListAction=async _0x3195ad=>{const _0x54dd5f=a2_0x551190,_0x282193=new ConnectionListCommand(),_0x1ea2df=program[_0x54dd5f(0x180)](),_0x243c87=await createTDXInstance(_0x1ea2df),_0x32142e=await _0x282193[_0x54dd5f(0x328)]({'options':{..._0x1ea2df,..._0x3195ad},'args':[],'tdx':_0x243c87});gracefulExit(_0x32142e);};connectionCmd['command'](a2_0x551190(0x385))[a2_0x551190(0x28f)](a2_0x551190(0x321))[a2_0x551190(0x246)](connectionListAction),program[a2_0x551190(0x151)]('connections',{'hidden':!![]})[a2_0x551190(0x28f)](a2_0x551190(0x110))[a2_0x551190(0x246)](connectionListAction),connectionCmd[a2_0x551190(0x151)](a2_0x551190(0x121))[a2_0x551190(0x28f)](a2_0x551190(0x319))[a2_0x551190(0x246)](async(_0x436895,_0x5d3b89)=>{const _0x532eac=a2_0x551190,_0x2c6948=new ConnectionShowCommand(),_0x34ea9=program[_0x532eac(0x180)](),_0x39fe9f=await createTDXInstance(_0x34ea9),_0x3c7353=await _0x2c6948[_0x532eac(0x328)]({'options':{..._0x34ea9,..._0x5d3b89},'args':[_0x436895],'tdx':_0x39fe9f});gracefulExit(_0x3c7353);}),connectionCmd[a2_0x551190(0x151)]('schema\x20<type>')[a2_0x551190(0x28f)](a2_0x551190(0x1ff))[a2_0x551190(0x246)](async(_0x28d933,_0x463d45)=>{const _0x14850c=a2_0x551190,_0x486a83=new ConnectionSchemaCommand(),_0x394f46=program[_0x14850c(0x180)](),_0x30ba15=await createTDXInstance(_0x394f46),_0x42c996=await _0x486a83[_0x14850c(0x328)]({'options':{..._0x394f46,..._0x463d45},'args':[_0x28d933],'tdx':_0x30ba15});gracefulExit(_0x42c996);}),connectionCmd[a2_0x551190(0x151)](a2_0x551190(0xed))['description'](a2_0x551190(0x3e1))[a2_0x551190(0x246)](async _0x327f4a=>{const _0x599301=a2_0x551190,_0x1d1623=new ConnectionTypesCommand(),_0x412c80=program[_0x599301(0x180)](),_0x2f356e=await createTDXInstance(_0x412c80),_0x339d7c=await _0x1d1623[_0x599301(0x328)]({'options':{..._0x412c80,..._0x327f4a},'args':[],'tdx':_0x2f356e});gracefulExit(_0x339d7c);}),connectionCmd[a2_0x551190(0x151)](a2_0x551190(0x253))[a2_0x551190(0x28f)](a2_0x551190(0x234))[a2_0x551190(0x246)](async(_0x1bafac,_0xb685d2)=>{const _0x403c54=a2_0x551190,_0x5e289d=new ConnectionSettingsCommand(),_0x32b6b1=program[_0x403c54(0x180)](),_0x4f5a07=await createTDXInstance(_0x32b6b1),_0x2832bd=await _0x5e289d['run']({'options':{..._0x32b6b1,..._0xb685d2},'args':[_0x1bafac],'tdx':_0x4f5a07});gracefulExit(_0x2832bd);});const casCmd=program[a2_0x551190(0x151)]('cas')['description'](a2_0x551190(0x14a));casCmd['command'](a2_0x551190(0x385))['description'](a2_0x551190(0x24f))['action'](async _0x191c5e=>{const _0x44eef8=a2_0x551190,_0x42f201=new CASListCommand(),_0x3b63ae=program[_0x44eef8(0x180)](),_0x4903a3=await createTDXInstance(_0x3b63ae),_0x343f14=await _0x42f201[_0x44eef8(0x328)]({'options':{..._0x3b63ae,..._0x191c5e},'args':[],'tdx':_0x4903a3});gracefulExit(_0x343f14);}),casCmd['command'](a2_0x551190(0x32f))[a2_0x551190(0x28f)](a2_0x551190(0x1ae))[a2_0x551190(0x246)](async(_0x575fde,_0x725cc3)=>{const _0x640020=a2_0x551190,_0xdb6bb7=new CASDescCommand(),_0x262615=program[_0x640020(0x180)](),_0x46e8ce=await createTDXInstance(_0x262615),_0x9d4d79=await _0xdb6bb7[_0x640020(0x328)]({'options':{..._0x262615,..._0x725cc3},'args':_0x575fde?[_0x575fde]:[],'tdx':_0x46e8ce});gracefulExit(_0x9d4d79);}),casCmd[a2_0x551190(0x151)](a2_0x551190(0x3d0))[a2_0x551190(0x28f)]('Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x551190(0x3ea)](a2_0x551190(0x114),a2_0x551190(0x35c))['option']('--dry-run','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')['action'](async(_0x5322c5,_0x1028e4)=>{const _0x183d98=a2_0x551190,_0x95767e=new CASPullCommand(),_0x49f8c2=program[_0x183d98(0x180)](),_0xb34aee=await createTDXInstance(_0x49f8c2),_0x4b5cb8=await _0x95767e['run']({'options':{..._0x49f8c2,..._0x1028e4},'args':_0x5322c5?[_0x5322c5]:[],'tdx':_0xb34aee});gracefulExit(_0x4b5cb8);}),casCmd['command'](a2_0x551190(0x104))[a2_0x551190(0x28f)](a2_0x551190(0x2b5))[a2_0x551190(0x3ea)](a2_0x551190(0x329),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x551190(0x246)](async(_0x33f547,_0x165165)=>{const _0x2ba182=a2_0x551190,_0x505d71=new CASPushCommand(),_0x4409e1=program[_0x2ba182(0x180)](),_0x5265e4=await createTDXInstance(_0x4409e1),_0xf0d3f0=await _0x505d71[_0x2ba182(0x328)]({'options':{..._0x4409e1,..._0x165165},'args':_0x33f547?[_0x33f547]:[],'tdx':_0x5265e4});gracefulExit(_0xf0d3f0);}),casCmd[a2_0x551190(0x151)]('preview\x20<segment_name>')['description'](a2_0x551190(0x143))['option']('--audience\x20<name>',a2_0x551190(0xc0))[a2_0x551190(0x246)](async(_0x55382e,_0x429874)=>{const _0x9f1687=a2_0x551190,_0x17fae6=new CASPreviewCommand(),_0x4fe446=program['opts'](),_0x192913=await createTDXInstance(_0x4fe446),_0x8fd55=await _0x17fae6[_0x9f1687(0x328)]({'options':{..._0x4fe446,..._0x429874},'args':[_0x55382e,_0x429874[_0x9f1687(0x1d1)]],'tdx':_0x192913});gracefulExit(_0x8fd55);});const casSgCmd=casCmd['command']('sg')[a2_0x551190(0x28f)](a2_0x551190(0x32d));casSgCmd[a2_0x551190(0x151)]('list\x20[audience_name]')[a2_0x551190(0x28f)](a2_0x551190(0x2da))['action'](async(_0x1631f9,_0x224e8e)=>{const _0x295c55=a2_0x551190,_0x4196c6=new CASSegmentListCommand(),_0x230b69=program['opts'](),_0x16deab=await createTDXInstance(_0x230b69),_0x50a7b7=await _0x4196c6[_0x295c55(0x328)]({'options':{..._0x230b69,..._0x224e8e},'args':_0x1631f9?[_0x1631f9]:[],'tdx':_0x16deab});gracefulExit(_0x50a7b7);});const journeyCmd=program[a2_0x551190(0x151)](a2_0x551190(0x21a))[a2_0x551190(0x28f)]('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0x6feeaa,_0x125618)=>{const _0x25e9a2=a2_0x551190,_0x1a4d53=new JourneyListCommand(),_0x2e1cce=program[_0x25e9a2(0x180)](),_0x250359=await createTDXInstance(_0x2e1cce),_0x5703ca=await _0x1a4d53[_0x25e9a2(0x328)]({'options':{..._0x2e1cce,..._0x125618},'args':_0x6feeaa?[_0x6feeaa]:[],'tdx':_0x250359});gracefulExit(_0x5703ca);};journeyCmd['command'](a2_0x551190(0xfb))['description'](a2_0x551190(0x39e))[a2_0x551190(0x246)](journeyListAction),journeyCmd[a2_0x551190(0x151)](a2_0x551190(0x241))[a2_0x551190(0x28f)](a2_0x551190(0x288))['option'](a2_0x551190(0x3a3),a2_0x551190(0x3ec))[a2_0x551190(0x3ea)](a2_0x551190(0x31d),'Include\x20execution\x20statistics')[a2_0x551190(0x246)](async(_0x3bc91e,_0x1b4d77)=>{const _0x33fef6=a2_0x551190,_0x5acb3e=new JourneyViewCommand(),_0x1ef13a=program[_0x33fef6(0x180)](),_0x58a617=await createTDXInstance(_0x1ef13a),_0x4e883e=await _0x5acb3e['run']({'options':{..._0x1ef13a,..._0x1b4d77},'args':[_0x3bc91e],'tdx':_0x58a617});gracefulExit(_0x4e883e);}),journeyCmd['command'](a2_0x551190(0x227))['description'](a2_0x551190(0x2dc))[a2_0x551190(0x3ea)](a2_0x551190(0x2bb),'Show\x20stats\x20for\x20specific\x20stage')[a2_0x551190(0x3ea)](a2_0x551190(0x38e),a2_0x551190(0x1fe))[a2_0x551190(0x3ea)]('--to\x20<date>','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')['option'](a2_0x551190(0x30a),a2_0x551190(0x3b4))[a2_0x551190(0x246)](async(_0x20ae25,_0x187c1b)=>{const _0x17e84b=a2_0x551190,_0x2bb20b=new JourneyStatsCommand(),_0x5320fc=program[_0x17e84b(0x180)](),_0x454cfa=await createTDXInstance(_0x5320fc),_0x4a0ed6=await _0x2bb20b[_0x17e84b(0x328)]({'options':{..._0x5320fc,..._0x187c1b},'args':[_0x20ae25],'tdx':_0x454cfa});gracefulExit(_0x4a0ed6);}),journeyCmd[a2_0x551190(0x151)]('traffic\x20<name-or-path>')[a2_0x551190(0x28f)](a2_0x551190(0x22a))['option']('--type\x20<type>',a2_0x551190(0x235))[a2_0x551190(0x3ea)]('--from\x20<date>','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x551190(0x3ea)](a2_0x551190(0x3b7),a2_0x551190(0x15e))[a2_0x551190(0x3ea)](a2_0x551190(0x32b),a2_0x551190(0x2cd),_0x138ad4=>{const _0x1e8519=a2_0x551190,_0x321147=parseInt(_0x138ad4,0xa);if(isNaN(_0x321147))throw new Error(_0x1e8519(0x1b8)+_0x138ad4+_0x1e8519(0x261));return _0x321147;})[a2_0x551190(0x246)](async(_0x3d777c,_0x5a027e)=>{const _0xbf9a09=a2_0x551190,_0x4996b0=new JourneyTrafficCommand(),_0x5bf665=program[_0xbf9a09(0x180)](),_0x394e53=await createTDXInstance(_0x5bf665),_0x1a930a=await _0x4996b0['run']({'options':{..._0x5bf665,..._0x5a027e},'args':[_0x3d777c],'tdx':_0x394e53});gracefulExit(_0x1a930a);}),journeyCmd[a2_0x551190(0x151)](a2_0x551190(0x257))['description']('Pause\x20a\x20running\x20journey')[a2_0x551190(0x246)](async(_0x5d1f90,_0x368247)=>{const _0x3481a2=a2_0x551190,_0x393faa=new JourneyPauseCommand(),_0x303c4c=program[_0x3481a2(0x180)](),_0x3acf83=await createTDXInstance(_0x303c4c),_0x12755c=await _0x393faa[_0x3481a2(0x328)]({'options':{..._0x303c4c,..._0x368247},'args':[_0x5d1f90],'tdx':_0x3acf83});gracefulExit(_0x12755c);}),journeyCmd[a2_0x551190(0x151)](a2_0x551190(0x2f1))[a2_0x551190(0x28f)](a2_0x551190(0x218))[a2_0x551190(0x246)](async(_0x5aeb72,_0x547be9)=>{const _0x3293e4=a2_0x551190,_0xfd803d=new JourneyResumeCommand(),_0x116d4a=program[_0x3293e4(0x180)](),_0x37d3f7=await createTDXInstance(_0x116d4a),_0x3d93d3=await _0xfd803d[_0x3293e4(0x328)]({'options':{..._0x116d4a,..._0x547be9},'args':[_0x5aeb72],'tdx':_0x37d3f7});gracefulExit(_0x3d93d3);}),journeyCmd[a2_0x551190(0x151)](a2_0x551190(0x3d0))[a2_0x551190(0x28f)](a2_0x551190(0x190))[a2_0x551190(0x3ea)](a2_0x551190(0x329),a2_0x551190(0x118))[a2_0x551190(0x246)](async(_0x3725ac,_0x1f644c)=>{const _0x3593b3=a2_0x551190,_0x1e0b85=new JourneyPullCommand(),_0x588f00=program[_0x3593b3(0x180)](),_0x3dce44=await createTDXInstance(_0x588f00),_0x239f9d=await _0x1e0b85[_0x3593b3(0x328)]({'options':{..._0x588f00,..._0x1f644c},'args':_0x3725ac?[_0x3725ac]:[],'tdx':_0x3dce44});gracefulExit(_0x239f9d);}),journeyCmd[a2_0x551190(0x151)]('push\x20[target]')[a2_0x551190(0x28f)](a2_0x551190(0x207))[a2_0x551190(0x246)](async(_0x177df6,_0x1700f8)=>{const _0x39df7c=a2_0x551190,_0x53e25e=new JourneyPushCommand(),_0x3037a5=program[_0x39df7c(0x180)](),_0x19ce79=await createTDXInstance(_0x3037a5),_0x7a799f=await _0x53e25e[_0x39df7c(0x328)]({'options':{..._0x3037a5,..._0x1700f8},'args':_0x177df6?[_0x177df6]:[],'tdx':_0x19ce79});gracefulExit(_0x7a799f);}),journeyCmd['command']('columns\x20<name-or-path>')['description']('Show\x20journey\x20table\x20column-to-step\x20mapping')['action'](async(_0x14f1d3,_0xf5ffd3)=>{const _0x5748bb=a2_0x551190,_0x1ca328=new JourneyColumnsCommand(),_0x121eb8=program['opts'](),_0x23feeb=await createTDXInstance(_0x121eb8),_0x23a075=await _0x1ca328[_0x5748bb(0x328)]({'options':{..._0x121eb8,..._0xf5ffd3},'args':[_0x14f1d3],'tdx':_0x23feeb});gracefulExit(_0x23a075);}),journeyCmd[a2_0x551190(0x151)](a2_0x551190(0x1c9))[a2_0x551190(0x28f)]('List\x20activations\x20for\x20a\x20journey')[a2_0x551190(0x246)](async(_0x573127,_0x18f654)=>{const _0x10aa32=a2_0x551190,_0x275825=new JourneyActivationsCommand(),_0x453f31=program[_0x10aa32(0x180)](),_0x18ceef=await createTDXInstance(_0x453f31),_0x551d91=await _0x275825[_0x10aa32(0x328)]({'options':{..._0x453f31,..._0x18f654},'args':[_0x573127],'tdx':_0x18ceef});gracefulExit(_0x551d91);}),journeyCmd[a2_0x551190(0x151)](a2_0x551190(0xbe))[a2_0x551190(0x28f)](a2_0x551190(0x35a))[a2_0x551190(0x246)](async(_0x49a658,_0x5b7765)=>{const _0x479daf=a2_0x551190,_0x1e3a3e=new JourneyVersionsCommand(),_0x5bd6d8=program[_0x479daf(0x180)](),_0x163e2c=await createTDXInstance(_0x5bd6d8),_0x3a2d32=await _0x1e3a3e[_0x479daf(0x328)]({'options':{..._0x5bd6d8,..._0x5b7765},'args':[_0x49a658],'tdx':_0x163e2c});gracefulExit(_0x3a2d32);});const journeyVersionCmd=journeyCmd[a2_0x551190(0x151)](a2_0x551190(0x12c))[a2_0x551190(0x28f)]('Journey\x20version\x20management');journeyVersionCmd[a2_0x551190(0x151)](a2_0x551190(0x154))[a2_0x551190(0x28f)]('Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey')['action'](async(_0x336678,_0x2ce238)=>{const _0x46cc3e=a2_0x551190,_0x2ff213=new JourneyVersionCreateCommand(),_0xc45003=program[_0x46cc3e(0x180)](),_0x5c3cc1=await createTDXInstance(_0xc45003),_0x15d6ee=await _0x2ff213[_0x46cc3e(0x328)]({'options':{..._0xc45003,..._0x2ce238},'args':[_0x336678],'tdx':_0x5c3cc1});gracefulExit(_0x15d6ee);}),journeyVersionCmd['command']('view\x20<name-or-path>')[a2_0x551190(0x28f)](a2_0x551190(0x2a6))[a2_0x551190(0x3b0)](a2_0x551190(0xf7),'Version\x20number\x20to\x20view')[a2_0x551190(0x246)](async(_0x4907ed,_0x2ec7d3)=>{const _0x500cfa=a2_0x551190,_0x2898be=new JourneyVersionViewCommand(),_0x321dca=program[_0x500cfa(0x180)](),_0x320226=await createTDXInstance(_0x321dca),_0x32e99f=await _0x2898be[_0x500cfa(0x328)]({'options':{..._0x321dca,..._0x2ec7d3},'args':[_0x4907ed],'tdx':_0x320226});gracefulExit(_0x32e99f);}),journeyCmd['command']('validate\x20[target]')[a2_0x551190(0x28f)](a2_0x551190(0xff))['action'](async(_0x2181fd,_0x11b50c)=>{const _0x53e145=a2_0x551190,_0x149949=new JourneyValidateCommand(),_0x2ae23c=program[_0x53e145(0x180)](),_0x51f8b4=await createTDXInstance(_0x2ae23c),_0x1ae2b0=await _0x149949[_0x53e145(0x328)]({'options':{..._0x2ae23c,..._0x11b50c},'args':_0x2181fd?[_0x2181fd]:[],'tdx':_0x51f8b4});gracefulExit(_0x1ae2b0);}),program[a2_0x551190(0x151)](a2_0x551190(0x350))[a2_0x551190(0x28f)](a2_0x551190(0x2a4))[a2_0x551190(0x246)](journeyListAction);const agentSyncCmd=program[a2_0x551190(0x151)](a2_0x551190(0x22d))['description']('LLM\x20agent\x20management');agentSyncCmd[a2_0x551190(0x151)]('pull\x20[project]\x20[agent-name]')[a2_0x551190(0x28f)](a2_0x551190(0x213))[a2_0x551190(0x3ea)](a2_0x551190(0x2f4),'Output\x20directory')[a2_0x551190(0x3ea)](a2_0x551190(0x230),a2_0x551190(0x36d))[a2_0x551190(0x3ea)](a2_0x551190(0x30e),'Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)')[a2_0x551190(0x246)](async(_0x1bc5ea,_0x3b005b,_0x2bd8eb)=>{const _0x518814=a2_0x551190,_0xce8d75=new AgentPullCommand(),_0x20d5e2=program['opts'](),_0x31aa6c=await createTDXInstance(_0x20d5e2),_0x54846a=[];if(_0x1bc5ea)_0x54846a[_0x518814(0x183)](_0x1bc5ea);if(_0x3b005b)_0x54846a[_0x518814(0x183)](_0x3b005b);const _0x43b1c4=await _0xce8d75['run']({'options':{..._0x20d5e2,..._0x2bd8eb},'args':_0x54846a,'tdx':_0x31aa6c});gracefulExit(_0x43b1c4);}),agentSyncCmd[a2_0x551190(0x151)]('push\x20[path]')[a2_0x551190(0x28f)](a2_0x551190(0x3be))['option'](a2_0x551190(0x230),a2_0x551190(0x337))[a2_0x551190(0x246)](async(_0x44ed74,_0x160fa6)=>{const _0x52668a=a2_0x551190,_0x28fc2c=new AgentPushCommand(),_0x9562f4=program['opts'](),_0x186411=await createTDXInstance(_0x9562f4),_0x5163b7=await _0x28fc2c[_0x52668a(0x328)]({'options':{..._0x9562f4,..._0x160fa6},'args':_0x44ed74?[_0x44ed74]:[],'tdx':_0x186411});gracefulExit(_0x5163b7);}),agentSyncCmd[a2_0x551190(0x151)](a2_0x551190(0x12b))['description'](a2_0x551190(0x10e))[a2_0x551190(0x3ea)](a2_0x551190(0x111),a2_0x551190(0x331))[a2_0x551190(0x246)](async(_0x52a261,_0x2d129a)=>{const _0x661d0c=new AgentCloneCommand(),_0x1625cb=program['opts'](),_0x4e6266=await createTDXInstance(_0x1625cb),_0x1c5a72=await _0x661d0c['run']({'options':{..._0x1625cb,..._0x2d129a},'args':_0x52a261?[_0x52a261]:[],'tdx':_0x4e6266});gracefulExit(_0x1c5a72);}),agentSyncCmd[a2_0x551190(0x151)](a2_0x551190(0x185))[a2_0x551190(0x28f)](a2_0x551190(0x344))['option']('--name\x20<names>','Run\x20specific\x20tests\x20(comma-separated)')[a2_0x551190(0x3ea)](a2_0x551190(0x36c),'Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)')['option']('--dry-run','Parse\x20and\x20validate\x20without\x20executing')['option']('--no-eval',a2_0x551190(0x29c))['option'](a2_0x551190(0xe0),a2_0x551190(0x2d8))[a2_0x551190(0x246)](async(_0x333739,_0x52faa2)=>{const _0x36c32d=a2_0x551190,_0x40abcf=new AgentTestCommand(),_0x2ed75a=program[_0x36c32d(0x180)](),_0x123b58=await createTDXInstance(_0x2ed75a),_0x4f6d42=await _0x40abcf[_0x36c32d(0x328)]({'options':{..._0x2ed75a,..._0x52faa2},'args':_0x333739?[_0x333739]:[],'tdx':_0x123b58});gracefulExit(_0x4f6d42);}),agentSyncCmd[a2_0x551190(0x151)](a2_0x551190(0xfb))[a2_0x551190(0x28f)](a2_0x551190(0x314))[a2_0x551190(0x246)](llmAgentListAction),agentSyncCmd[a2_0x551190(0x151)](a2_0x551190(0x289))[a2_0x551190(0x28f)](a2_0x551190(0x35e))['action'](async(_0x25e8e9,_0x403328)=>{const _0x2046ea=a2_0x551190,_0xc6e9a5=new LLMAgentShowCommand(),_0x155378=program['opts'](),_0x5b7ac2=await createTDXInstance(_0x155378),_0x46a46d=await _0xc6e9a5[_0x2046ea(0x328)]({'options':{..._0x155378,..._0x403328},'args':[_0x25e8e9],'tdx':_0x5b7ac2});gracefulExit(_0x46a46d);}),agentSyncCmd[a2_0x551190(0x151)](a2_0x551190(0x242))[a2_0x551190(0x28f)](a2_0x551190(0x2e7))[a2_0x551190(0x3ea)](a2_0x551190(0x26a),'System\x20prompt/instructions\x20(default:\x20empty)')[a2_0x551190(0x3ea)](a2_0x551190(0x25c),a2_0x551190(0x1c1),a2_0x551190(0x2e4))['option']('--starter-message\x20<text>','Starter\x20message')['option'](a2_0x551190(0x12e),a2_0x551190(0x2d4),'4')[a2_0x551190(0x3ea)](a2_0x551190(0x280),a2_0x551190(0x237),'0.7')[a2_0x551190(0x246)](async(_0x11e241,_0x475125)=>{const _0x364ed1=a2_0x551190,_0x8b5e31=new LLMAgentCreateCommand(),_0x2a494c=program[_0x364ed1(0x180)](),_0x4ff4e7=await createTDXInstance(_0x2a494c),_0x43a6cb=await _0x8b5e31['run']({'options':{..._0x2a494c,..._0x475125},'args':[_0x11e241],'tdx':_0x4ff4e7});gracefulExit(_0x43a6cb);}),agentSyncCmd[a2_0x551190(0x151)](a2_0x551190(0x1fc))['description'](a2_0x551190(0x243))[a2_0x551190(0x3ea)](a2_0x551190(0x270),a2_0x551190(0x357))[a2_0x551190(0x3ea)](a2_0x551190(0x1b1),a2_0x551190(0x2ff))[a2_0x551190(0x3ea)](a2_0x551190(0xe4),'Agent\x20description')[a2_0x551190(0x3ea)](a2_0x551190(0x17c),a2_0x551190(0x1ea))[a2_0x551190(0x246)](async(_0x35da3d,_0x22021a)=>{const _0x467df1=a2_0x551190,_0x4e6efc=new LLMAgentUpdateCommand(),_0x4550b2=program[_0x467df1(0x180)](),_0x1c933e=await createTDXInstance(_0x4550b2),_0x403690=await _0x4e6efc[_0x467df1(0x328)]({'options':{..._0x4550b2,..._0x22021a},'args':[_0x35da3d],'tdx':_0x1c933e});gracefulExit(_0x403690);}),agentSyncCmd[a2_0x551190(0x151)](a2_0x551190(0x131))[a2_0x551190(0x28f)](a2_0x551190(0x20f))[a2_0x551190(0x246)](async(_0x3b9f8e,_0x5a09d5)=>{const _0xb99833=a2_0x551190,_0x5c6e5a=new LLMAgentDeleteCommand(),_0x4cc0b4=program['opts'](),_0x2fc91b=await createTDXInstance(_0x4cc0b4),_0x35b80a=await _0x5c6e5a[_0xb99833(0x328)]({'options':{..._0x4cc0b4,..._0x5a09d5},'args':[_0x3b9f8e],'tdx':_0x2fc91b});gracefulExit(_0x35b80a);});const workCmd=program[a2_0x551190(0x151)](a2_0x551190(0x16b))[a2_0x551190(0x28f)](a2_0x551190(0x129));workCmd[a2_0x551190(0x3ea)]('--days\x20<n>',a2_0x551190(0xc4))[a2_0x551190(0x3ea)](a2_0x551190(0x33d),a2_0x551190(0x195))[a2_0x551190(0x246)](workSummaryAction),workCmd['command'](a2_0x551190(0x358))[a2_0x551190(0x28f)](a2_0x551190(0x3c8))[a2_0x551190(0x3ea)]('--github\x20<owner/repo>',a2_0x551190(0x2e8))['action'](workInitAction),workCmd[a2_0x551190(0x151)](a2_0x551190(0xd6))[a2_0x551190(0x28f)](a2_0x551190(0x2a2))['option'](a2_0x551190(0x132),'Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)',a2_0x551190(0x251))['option']('--tags\x20<tags>',a2_0x551190(0x221))[a2_0x551190(0x3ea)]('--priority\x20<priority>',a2_0x551190(0x1d4))[a2_0x551190(0x3ea)](a2_0x551190(0x28c),a2_0x551190(0x20c))[a2_0x551190(0x3ea)](a2_0x551190(0x138),'Apply\x20a\x20template')[a2_0x551190(0x3ea)](a2_0x551190(0x34f),a2_0x551190(0x3c5))['option'](a2_0x551190(0xdc),a2_0x551190(0x205))[a2_0x551190(0x246)](workNewAction),workCmd[a2_0x551190(0x151)](a2_0x551190(0x395))[a2_0x551190(0x28f)](a2_0x551190(0xdd))[a2_0x551190(0x246)](workMoveAction),workCmd[a2_0x551190(0x151)](a2_0x551190(0x3a6))['description'](a2_0x551190(0x1e4))[a2_0x551190(0x3ea)]('--days\x20<n>',a2_0x551190(0xc4))['option']('--all',a2_0x551190(0x195))[a2_0x551190(0x246)](workBoardAction),workCmd[a2_0x551190(0x151)](a2_0x551190(0x121))[a2_0x551190(0x28f)]('Show\x20document\x20details')['action'](workShowAction),workCmd[a2_0x551190(0x151)](a2_0x551190(0x1b7))['description'](a2_0x551190(0x244))['action'](workLinksAction),workCmd[a2_0x551190(0x151)]('open\x20<name>')['description'](a2_0x551190(0x206))['action'](workOpenAction),program[a2_0x551190(0x151)](a2_0x551190(0x290),{'hidden':!![]})['action'](()=>{const _0x27a3d5=a2_0x551190;function _0xaf42a6(_0x1916f3,_0x1cb606){const _0x5ee84d=a2_0x2c83,_0x1b5701=[];for(const _0x17cda6 of _0x1916f3[_0x5ee84d(0x300)]){if(_0x17cda6[_0x5ee84d(0x384)])continue;const _0x25620c=_0x1cb606?_0x1cb606+'\x20'+_0x17cda6[_0x5ee84d(0x113)]():_0x17cda6[_0x5ee84d(0x113)](),_0x521714=_0x25620c[_0x5ee84d(0x220)]('\x20')[0x0],_0x580fcc=COMMAND_CATEGORIES['find'](_0x202581=>_0x202581['commands'][_0x5ee84d(0x307)](_0x521714)),_0x2aa366=_0x580fcc?.['name']??'';if(_0x17cda6[_0x5ee84d(0x300)][_0x5ee84d(0x20d)]>0x0)_0x1b5701[_0x5ee84d(0x183)](..._0xaf42a6(_0x17cda6,_0x25620c));else{const _0x41db3a=(_0x17cda6['registeredArguments']||[])[_0x5ee84d(0x239)](_0x232e2b=>{const _0x3a33ee=_0x5ee84d,_0x2c3952=_0x232e2b['variadic']?_0x232e2b['name']()+_0x3a33ee(0x351):_0x232e2b[_0x3a33ee(0x113)]();return _0x232e2b[_0x3a33ee(0x1ca)]?'<'+_0x2c3952+'>':'['+_0x2c3952+']';})[_0x5ee84d(0xf9)]('\x20'),_0x354548=_0x17cda6['options'][_0x5ee84d(0x326)](_0xa0f26a=>!_0xa0f26a[_0x5ee84d(0x1e8)]&&_0xa0f26a['long']!==_0x5ee84d(0x106))['map'](_0x3a8cab=>({'flags':_0x3a8cab[_0x5ee84d(0x32a)],'description':_0x3a8cab[_0x5ee84d(0x28f)]}));_0x1b5701['push']({'name':_0x25620c,'description':_0x17cda6[_0x5ee84d(0x28f)](),'group':_0x2aa366,'usage':_0x41db3a,'options':_0x354548});}}return _0x1b5701;}console[_0x27a3d5(0x30b)](JSON[_0x27a3d5(0x135)](_0xaf42a6(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x69ca0d=a2_0x551190,_0x558905=!process[_0x69ca0d(0x3c9)][_0x69ca0d(0x10f)](0x2)[_0x69ca0d(0x20d)];showBriefHelp=_0x558905,program['parse'](process['argv']);_0x558905&&program[_0x69ca0d(0x368)]();const _0x479b96=process['argv'][0x2]===_0x69ca0d(0x315);if(process[_0x69ca0d(0x23e)][_0x69ca0d(0x1b2)]&&process[_0x69ca0d(0x3c9)][_0x69ca0d(0x20d)]>0x2&&!isDevVersion()&&!_0x479b96){const _0x3692d6=loadReleaseChannel();checkForUpdate(currentVersion,_0x3692d6)['then'](_0x3e7b59=>{_0x3e7b59&&displayUpdateNotification(_0x3e7b59);})[_0x69ca0d(0x146)](()=>{});}}
|