@treasuredata/tdx 2026.3.28 → 2026.3.30
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/auth-login-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/workflow-command.js +1 -1
- package/dist/core/auth.js +1 -1
- package/dist/core/command-output.js +1 -1
- package/dist/core/config.js +1 -1
- package/dist/core/connection-cache.js +1 -1
- package/dist/core/constants.js +1 -1
- package/dist/core/credential-cache.js +1 -1
- package/dist/core/global-context.js +1 -1
- package/dist/core/keychain.js +1 -1
- package/dist/core/oauth-keychain.js +1 -1
- package/dist/core/oauth.js +1 -1
- package/dist/core/profile.js +1 -1
- package/dist/core/project-config.js +1 -1
- package/dist/core/session.js +1 -1
- package/dist/core/user-cache.js +1 -1
- package/dist/core/version.js +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/tools/index.js +1 -1
- package/dist/mcp/tools/tdx-run.js +1 -1
- package/dist/mcp/tools/tdx-search.js +1 -1
- package/dist/mcp/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/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/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/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_0x3e05f6=a2_0x1c3b;(function(_0x3094a7,_0x4433ba){const _0x4f3313=a2_0x1c3b,_0x3c4fbd=_0x3094a7();while(!![]){try{const _0x130df3=parseInt(_0x4f3313(0x29f))/0x1+parseInt(_0x4f3313(0x45d))/0x2+parseInt(_0x4f3313(0x3c1))/0x3*(parseInt(_0x4f3313(0x283))/0x4)+-parseInt(_0x4f3313(0x315))/0x5*(-parseInt(_0x4f3313(0x340))/0x6)+-parseInt(_0x4f3313(0x21f))/0x7+parseInt(_0x4f3313(0x2a0))/0x8+-parseInt(_0x4f3313(0x207))/0x9;if(_0x130df3===_0x4433ba)break;else _0x3c4fbd['push'](_0x3c4fbd['shift']());}catch(_0x524c11){_0x3c4fbd['push'](_0x3c4fbd['shift']());}}}(a2_0x1590,0x201eb));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';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,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{AuthLoginCommand}from'./commands/auth-login-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{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-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_0x3e05f6(0x2d9)][a2_0x3e05f6(0x3f1)](a2_0x3e05f6(0x266))){let versionOutput=a2_0x3e05f6(0x48b)+currentVersion;buildInfo[a2_0x3e05f6(0x1d8)]&&!currentVersion[a2_0x3e05f6(0x3f1)](buildInfo[a2_0x3e05f6(0x1d8)])&&(versionOutput+='\x20('+buildInfo[a2_0x3e05f6(0x1d8)]+')'),buildInfo[a2_0x3e05f6(0x272)]&&(versionOutput+=a2_0x3e05f6(0x2a5)+buildInfo[a2_0x3e05f6(0x272)]),console[a2_0x3e05f6(0x247)](versionOutput),process['exit'](0x0);}const program=new Command();export function mergeCommandOptions(_0x56fc30,_0x190a32){const _0x411fdb=a2_0x3e05f6,_0x132aab={..._0x56fc30};for(const [_0x2cadc9,_0x23fe85]of Object[_0x411fdb(0x1ea)](_0x190a32)){_0x23fe85!==undefined&&(_0x132aab[_0x2cadc9]=_0x23fe85);}return _0x132aab;}let showBriefHelp=![],description='AI-native\x20CLI\x20for\x20Treasure\x20Data';buildInfo[a2_0x3e05f6(0x1d8)]&&!currentVersion['includes'](buildInfo[a2_0x3e05f6(0x1d8)])?description+=a2_0x3e05f6(0x35e)+currentVersion+'\x20('+buildInfo[a2_0x3e05f6(0x1d8)]+')':description+=a2_0x3e05f6(0x35e)+currentVersion;program[a2_0x3e05f6(0x2a9)](a2_0x3e05f6(0x1b7))[a2_0x3e05f6(0x343)](description),program['option'](a2_0x3e05f6(0x1cb),a2_0x3e05f6(0x259))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x29a),a2_0x3e05f6(0x256))['option'](a2_0x3e05f6(0x41e),a2_0x3e05f6(0x1bc),a2_0x3e05f6(0x1ad))['option'](a2_0x3e05f6(0x3f5),'Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x20d),a2_0x3e05f6(0x485))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2e2),a2_0x3e05f6(0x419))[a2_0x3e05f6(0x3fc)]('--jsonl','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x295),a2_0x3e05f6(0x26c))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x289),a2_0x3e05f6(0x1f5))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2a4),a2_0x3e05f6(0x262))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x33c),a2_0x3e05f6(0x463),![])[a2_0x3e05f6(0x3fc)]('--no-color',a2_0x3e05f6(0x1b9),![])[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3e0),'Enable\x20verbose\x20logging',![])[a2_0x3e05f6(0x3fc)]('--debug','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)')['option'](a2_0x3e05f6(0x469),a2_0x3e05f6(0x287))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2e6),'Set\x20operation\x20timeout\x20in\x20seconds','30')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x192),a2_0x3e05f6(0x2a3),![])[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2ac),'Skip\x20confirmation\x20prompts',![])[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2b4),a2_0x3e05f6(0x47e))[a2_0x3e05f6(0x3fc)]('--parent-segment\x20<name>',a2_0x3e05f6(0x27b))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x351),a2_0x3e05f6(0x2bc)),program[a2_0x3e05f6(0x221)]({'formatHelp':(_0x58a9d4,_0x4ce6a4)=>{const _0x132668=a2_0x3e05f6,_0xbd8669=_0x4ce6a4[_0x132668(0x1ff)](_0x58a9d4,_0x4ce6a4),_0x4fe104=0x2,_0x1dd67c=0x2;function _0x1c7f27(_0x24d5f2){const _0x14c62c=_0x132668,_0x1d6519=_0x24d5f2;return!!(_0x1d6519[_0x14c62c(0x2b7)]||_0x1d6519[_0x14c62c(0x404)]);}function _0x32c4c7(_0x2e388c,_0x264918){if(_0x264918){const _0x13114a=''+_0x2e388c['padEnd'](_0xbd8669+_0x1dd67c)+_0x264918;return _0x13114a;}return _0x2e388c;}function _0x293285(_0x1d368f){const _0x25869d=_0x132668;return _0x1d368f[_0x25869d(0x3fa)]('\x0a')[_0x25869d(0x29d)](/^/gm,'\x20'[_0x25869d(0x39a)](_0x4fe104));}const _0x1afd1b=[];_0x1afd1b[_0x132668(0x3c6)](_0x132668(0x2bf)+_0x4ce6a4[_0x132668(0x355)](_0x58a9d4));const _0x55ee2b=_0x4ce6a4[_0x132668(0x43a)](_0x58a9d4);_0x55ee2b&&(_0x1afd1b[_0x132668(0x3c6)](''),_0x1afd1b[_0x132668(0x3c6)](_0x55ee2b));const _0x1202ba=_0x58a9d4[_0x132668(0x1c1)][_0x132668(0x250)](_0x5597d3=>!_0x1c7f27(_0x5597d3));if(_0x1202ba[_0x132668(0x361)]>0x0){if(_0x58a9d4[_0x132668(0x2a9)]()===_0x132668(0x1b7)){const _0x1830ae=_0x58a9d4[_0x132668(0x431)](),_0x28d599=!_0x1830ae[_0x132668(0x201)]&&process[_0x132668(0x217)][_0x132668(0x29e)],_0x476532=COMMAND_CATEGORIES,_0x5d21a2=(_0x27358a,_0x24c166)=>_0x28d599?_0x24c166(_0x27358a):_0x27358a,_0x32e689=new Map();_0x1202ba[_0x132668(0x1d1)](_0x40e4db=>{const _0x217212=_0x132668;_0x32e689[_0x217212(0x494)](_0x40e4db['name'](),_0x40e4db);}),_0x476532['forEach'](_0x5b4cbe=>{const _0x11b53e=_0x132668,_0x10e111=_0x5b4cbe[_0x11b53e(0x1c1)][_0x11b53e(0x490)](_0xdf410c=>_0x32e689[_0x11b53e(0x2be)](_0xdf410c)??[]);if(_0x10e111['length']>0x0){_0x1afd1b[_0x11b53e(0x3c6)](''),_0x1afd1b[_0x11b53e(0x3c6)](_0x5d21a2(_0x5b4cbe[_0x11b53e(0x2a9)]+':',_0x5b4cbe[_0x11b53e(0x1c3)]));const _0x474575=_0x10e111[_0x11b53e(0x392)](_0xfc085f=>{const _0x54fdeb=_0x4ce6a4['subcommandTerm'](_0xfc085f),_0x811f5=_0x4ce6a4['subcommandDescription'](_0xfc085f);return _0x32c4c7(_0x54fdeb,_0x811f5);});_0x1afd1b[_0x11b53e(0x3c6)](_0x293285(_0x474575));}}),_0x1afd1b[_0x132668(0x3c6)](''),_0x1afd1b[_0x132668(0x3c6)](_0x132668(0x314));}else{const _0x5664a3=_0x1202ba['map'](_0x5d96d5=>{const _0x3f5e73=_0x132668,_0x1fdea2=_0x4ce6a4[_0x3f5e73(0x359)](_0x5d96d5),_0x2c390c=_0x4ce6a4[_0x3f5e73(0x33f)](_0x5d96d5);return _0x32c4c7(_0x1fdea2,_0x2c390c);});_0x1afd1b[_0x132668(0x3c6)](''),_0x1afd1b[_0x132668(0x3c6)]('Commands:'),_0x1afd1b[_0x132668(0x3c6)](_0x293285(_0x5664a3));}}if(showBriefHelp&&_0x58a9d4[_0x132668(0x2a9)]()===_0x132668(0x1b7))_0x1afd1b[_0x132668(0x3c6)](''),_0x1afd1b[_0x132668(0x3c6)](_0x132668(0x411));else{const _0x3b2bf3=_0x58a9d4['options'][_0x132668(0x250)](_0x8805ec=>!_0x1c7f27(_0x8805ec));if(_0x3b2bf3[_0x132668(0x361)]>0x0){const _0xce06a7=_0x3b2bf3['map'](_0xab711f=>{const _0x209515=_0x132668,_0x221208=_0x4ce6a4[_0x209515(0x1af)](_0xab711f),_0x548b82=_0x4ce6a4[_0x209515(0x2e1)](_0xab711f);return _0x32c4c7(_0x221208,_0x548b82);});_0x1afd1b['push'](''),_0x1afd1b[_0x132668(0x3c6)](_0x132668(0x313)),_0x1afd1b[_0x132668(0x3c6)](_0x293285(_0xce06a7));}}const _0x557278=(_0x58a9d4[_0x132668(0x3e9)]||[])[_0x132668(0x250)](_0x5e5f77=>!_0x1c7f27(_0x5e5f77));if(_0x557278[_0x132668(0x361)]>0x0){const _0x22aef6=_0x557278[_0x132668(0x392)](_0xd4b93a=>{const _0x58f2d7=_0x132668,_0x32997f=_0x4ce6a4[_0x58f2d7(0x400)](_0xd4b93a),_0x5ac08c=_0x4ce6a4['argumentDescription'](_0xd4b93a);return _0x32c4c7(_0x32997f,_0x5ac08c);});_0x1afd1b['push'](''),_0x1afd1b[_0x132668(0x3c6)](_0x132668(0x213)),_0x1afd1b[_0x132668(0x3c6)](_0x293285(_0x22aef6));}return _0x1afd1b[_0x132668(0x3fa)]('\x0a')+'\x0a';},'subcommandTerm':_0x1a3502=>{const _0x3a9d4d=a2_0x3e05f6,_0xd9be34=(_0x1a3502['registeredArguments']||[])[_0x3a9d4d(0x392)](_0x3c4cb2=>_0x3c4cb2[_0x3a9d4d(0x3a8)]?'<'+_0x3c4cb2[_0x3a9d4d(0x2a9)]()+'>':'['+_0x3c4cb2[_0x3a9d4d(0x2a9)]()+']')[_0x3a9d4d(0x3fa)]('\x20'),_0x2b34e8=_0x1a3502['aliases'](),_0x268bcb=_0x2b34e8[_0x3a9d4d(0x361)]>0x0?_0x1a3502[_0x3a9d4d(0x2a9)]()+',\x20'+_0x2b34e8['join'](',\x20'):_0x1a3502[_0x3a9d4d(0x2a9)]();return _0xd9be34?_0x268bcb+'\x20'+_0xd9be34:_0x268bcb;}}),program[a2_0x3e05f6(0x3b1)]('preAction',_0x2fb558=>{const _0x533763=a2_0x3e05f6,_0xd70fb8=_0x2fb558['opts']();if(_0xd70fb8['directory']){const _0x2c2cf7=resolve(_0xd70fb8[_0x533763(0x32c)]),_0x1ce186=_0x2c2cf7!==_0xd70fb8[_0x533763(0x32c)]?'\x20(resolved\x20to\x20'+_0x2c2cf7+')':'';if(!existsSync(_0x2c2cf7))throw new SDKError(ErrorCode[_0x533763(0x369)],_0x533763(0x407)+_0xd70fb8[_0x533763(0x32c)]+_0x1ce186,undefined,{'helpText':_0x533763(0x3b3)});const _0x4195db=statSync(_0x2c2cf7);if(!_0x4195db['isDirectory']())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Path\x20is\x20not\x20a\x20directory:\x20'+_0xd70fb8[_0x533763(0x32c)]+_0x1ce186,undefined,{'helpText':_0x533763(0x40e)});process[_0x533763(0x225)](_0x2c2cf7);}if(!_0xd70fb8[_0x533763(0x41d)]){if(_0xd70fb8[_0x533763(0x2d4)])_0xd70fb8[_0x533763(0x41d)]=_0x533763(0x2d4);else{if(_0xd70fb8['json'])_0xd70fb8[_0x533763(0x41d)]=_0x533763(0x435);else{if(_0xd70fb8[_0x533763(0x1e8)])_0xd70fb8[_0x533763(0x41d)]=_0x533763(0x1e8);else _0xd70fb8[_0x533763(0x481)]&&(_0xd70fb8[_0x533763(0x41d)]=_0x533763(0x481));}}}if(_0xd70fb8['trace'])_0xd70fb8[_0x533763(0x452)]=LogLevel[_0x533763(0x3ab)];else{if(_0xd70fb8[_0x533763(0x2fc)])_0xd70fb8[_0x533763(0x452)]=LogLevel[_0x533763(0x34d)];else _0xd70fb8[_0x533763(0x452)]===undefined&&(_0xd70fb8[_0x533763(0x452)]=LogLevel['INFO']);}});async function createTDXInstance(_0x38920b){const _0x37b475=a2_0x3e05f6,_0x32553b=await GlobalContext[_0x37b475(0x42d)](_0x38920b);return _0x32553b[_0x37b475(0x2cd)](_0x38920b),TDX[_0x37b475(0x311)]({'site':_0x32553b[_0x37b475(0x2cc)],'apiKey':_0x32553b[_0x37b475(0x402)],'accessToken':_0x32553b[_0x37b475(0x40d)],'logLevel':_0x32553b[_0x37b475(0x452)],'profile':_0x32553b[_0x37b475(0x3b9)]});}const databaseCmd=program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1b6))[a2_0x3e05f6(0x257)]('db')['description'](a2_0x3e05f6(0x335)),databaseListAction=async(_0x132a66,_0x2198f4)=>{const _0x3642d0=a2_0x3e05f6,_0x50644e=new DatabasesCommand(),_0x116750=program[_0x3642d0(0x431)](),_0xb22e3f=await createTDXInstance(_0x116750),_0x7cb4e8=await _0x50644e[_0x3642d0(0x1bf)]({'options':{..._0x116750,..._0x2198f4},'args':_0x132a66?[_0x132a66]:[],'tdx':_0xb22e3f});gracefulExit(_0x7cb4e8);};databaseCmd['command']('list\x20[pattern]')[a2_0x3e05f6(0x343)]('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x3e05f6(0x270)](databaseListAction),program[a2_0x3e05f6(0x416)]('databases\x20[pattern]',{'hidden':!![]})[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1ce))[a2_0x3e05f6(0x270)](databaseListAction),program[a2_0x3e05f6(0x416)]('chat\x20[message...]')['description'](a2_0x3e05f6(0x460))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x1a2),a2_0x3e05f6(0x3ea))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3e8),a2_0x3e05f6(0x2c6))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x28d),a2_0x3e05f6(0x22d))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x36a),a2_0x3e05f6(0x3a4))['action'](async(_0x3b1e75,_0x1be4f6)=>{const _0x2aab8b=a2_0x3e05f6,_0x49c09c=program['opts'](),_0x1ab575=await createTDXInstance(_0x49c09c);if(_0x3b1e75[0x0]===_0x2aab8b(0x311)){const _0x5c00f0=new ChatCreateCommand();gracefulExit(await _0x5c00f0[_0x2aab8b(0x1bf)]({'options':{..._0x49c09c,..._0x1be4f6},'args':_0x3b1e75[_0x2aab8b(0x212)](0x1),'tdx':_0x1ab575}));return;}const _0x81e0c5=new ChatCommand(),_0x3b1ad0=await _0x81e0c5['run']({'options':{..._0x49c09c,..._0x1be4f6},'args':_0x3b1e75,'tdx':_0x1ab575});gracefulExit(_0x3b1ad0);});const apiCmd=program['command'](a2_0x3e05f6(0x1a4))[a2_0x3e05f6(0x3ef)](a2_0x3e05f6(0x200))[a2_0x3e05f6(0x299)](a2_0x3e05f6(0x19c),a2_0x3e05f6(0x2fb))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x317),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a2_0x3e05f6(0x27d))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x252),'Request\x20body\x20as\x20JSON\x20string')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x263),a2_0x3e05f6(0x284))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x31f),'Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x5b1df8,_0x352fbe)=>{return _0x352fbe?[..._0x352fbe,_0x5b1df8]:[_0x5b1df8];})['option'](a2_0x3e05f6(0x2d0),'API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')['action'](async(_0x2c0715,_0x5bef40)=>{const _0x5e46f6=a2_0x3e05f6;if(!_0x2c0715){apiCmd[_0x5e46f6(0x303)]();return;}const _0x373ed9=new ApiCommand(),_0x3ee134=program['opts'](),_0x3e58a3=await createTDXInstance(_0x3ee134),_0x7c5347=await _0x373ed9[_0x5e46f6(0x1bf)]({'options':{..._0x3ee134,..._0x5bef40},'args':[_0x2c0715],'tdx':_0x3e58a3});gracefulExit(_0x7c5347);});program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2ed))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x198))[a2_0x3e05f6(0x299)]('after',a2_0x3e05f6(0x3d8))[a2_0x3e05f6(0x270)](async _0x1b0e73=>{const _0x5fbccd=a2_0x3e05f6,_0x164677=new MCPCommand(),_0x1131b8=program['opts'](),_0x37005f=await createTDXInstance(_0x1131b8),_0x1ea6a3=await _0x164677[_0x5fbccd(0x1bf)]({'options':{..._0x1131b8,..._0x1b0e73},'args':[],'tdx':_0x37005f});gracefulExit(_0x1ea6a3);});const tableCmd=program[a2_0x3e05f6(0x416)]('table')['description'](a2_0x3e05f6(0x226)),tableListAction=async(_0x29db3,_0x3952ac)=>{const _0x5a2bdc=a2_0x3e05f6,_0x237bbc=new TablesCommand(),_0x37c267=program['opts'](),_0x420849=await createTDXInstance(_0x37c267);_0x3952ac['in']&&(_0x3952ac[_0x5a2bdc(0x1b6)]=_0x3952ac['in']);const _0x2e484c=await _0x237bbc[_0x5a2bdc(0x1bf)]({'options':{..._0x37c267,..._0x3952ac},'args':_0x29db3?[_0x29db3]:[],'tdx':_0x420849});gracefulExit(_0x2e484c);};tableCmd[a2_0x3e05f6(0x416)]('list\x20[pattern]')[a2_0x3e05f6(0x343)]('List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)')['option'](a2_0x3e05f6(0x20a),a2_0x3e05f6(0x44e))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2fa),a2_0x3e05f6(0x2f6))['action'](tableListAction),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x448),{'hidden':!![]})[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x328))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x20a),a2_0x3e05f6(0x44e))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2fa),a2_0x3e05f6(0x2f6))['action'](tableListAction),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2e3))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x497))['option']('-d,\x20--database\x20<database>',a2_0x3e05f6(0x27c))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2fa),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](async(_0x16cee0,_0x2e9186)=>{const _0x4af9e8=a2_0x3e05f6,_0xf4e35b=new ShowCommand(),_0x91ddac=program[_0x4af9e8(0x431)](),_0x285b06=await createTDXInstance(_0x91ddac);_0x2e9186['in']&&(_0x2e9186['database']=_0x2e9186['in']);const _0x5277f0=await _0xf4e35b[_0x4af9e8(0x1bf)]({'options':{..._0x91ddac,..._0x2e9186},'args':_0x16cee0?[_0x16cee0]:[],'tdx':_0x285b06});gracefulExit(_0x5277f0);}),program[a2_0x3e05f6(0x416)]('describe\x20[table]')[a2_0x3e05f6(0x257)](a2_0x3e05f6(0x2c7))['description'](a2_0x3e05f6(0x471))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x20a),a2_0x3e05f6(0x27c))['option'](a2_0x3e05f6(0x2fa),a2_0x3e05f6(0x2f6))['action'](async(_0x20b46e,_0x4af6f7)=>{const _0x43f802=a2_0x3e05f6,_0x3084e1=new DescribeCommand(),_0x1bbaf8=program[_0x43f802(0x431)](),_0x41d999=await createTDXInstance(_0x1bbaf8);_0x4af6f7['in']&&(_0x4af6f7[_0x43f802(0x1b6)]=_0x4af6f7['in']);const _0x572597=await _0x3084e1['run']({'options':{..._0x1bbaf8,..._0x4af6f7},'args':_0x20b46e?[_0x20b46e]:[],'tdx':_0x41d999});gracefulExit(_0x572597);}),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x231))['description']('Run\x20Trino\x20query\x20with\x20streaming\x20results')[a2_0x3e05f6(0x3fc)]('-d,\x20--database\x20<database>',a2_0x3e05f6(0x39c))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2fa),a2_0x3e05f6(0x2f6))[a2_0x3e05f6(0x3fc)]('--catalog\x20<catalog>',a2_0x3e05f6(0x462))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x263),a2_0x3e05f6(0x258))[a2_0x3e05f6(0x3fc)]('--limit\x20<rows>',a2_0x3e05f6(0x273))[a2_0x3e05f6(0x270)](async(_0x582966,_0xb85518)=>{const _0x4c03e6=a2_0x3e05f6,_0x40eec5=new QueryCommand(),_0x154ce8=program['opts'](),_0x2bf73a=await createTDXInstance(_0x154ce8);_0xb85518['in']&&(_0xb85518[_0x4c03e6(0x1b6)]=_0xb85518['in']);const _0x870886=await _0x40eec5[_0x4c03e6(0x1bf)]({'options':mergeCommandOptions(_0x154ce8,_0xb85518),'args':_0x582966?[_0x582966]:[],'tdx':_0x2bf73a});gracefulExit(_0x870886);});const segmentCmd=program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3d6))['alias']('sg')[a2_0x3e05f6(0x343)]('CDP\x20segment\x20management\x20commands'),segmentListAction=async(_0x4c8ffe,_0x50d3d6)=>{const _0x1d0c6f=a2_0x3e05f6,_0x19a7d2=new SegmentsCommand(),_0xe39766=program[_0x1d0c6f(0x431)](),_0x443807=await createTDXInstance(_0xe39766),_0x3d187c=await _0x19a7d2[_0x1d0c6f(0x1bf)]({'options':{..._0xe39766,..._0x50d3d6},'args':_0x4c8ffe?[_0x4c8ffe]:[],'tdx':_0x443807});gracefulExit(_0x3d187c);};segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2bd))['description'](a2_0x3e05f6(0x330))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x43e),a2_0x3e05f6(0x2a7))[a2_0x3e05f6(0x3fc)]('--max-depth\x20<depth>',a2_0x3e05f6(0x1dc),'10')[a2_0x3e05f6(0x270)](segmentListAction),program['command']('segments\x20[path]',{'hidden':!![]})['description']('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')['option'](a2_0x3e05f6(0x43e),a2_0x3e05f6(0x2a7))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x306),a2_0x3e05f6(0x1dc),'10')[a2_0x3e05f6(0x270)](segmentListAction),segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x342),{'hidden':!![]})[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2c2))[a2_0x3e05f6(0x270)](async(_0x3cc7fa,_0x251dc8)=>{const _0x4e2b9d=a2_0x3e05f6,_0x17a1c4=new SegmentUseCommand(),_0x24e1bd=program[_0x4e2b9d(0x431)](),_0x201cba=await createTDXInstance(_0x24e1bd),_0x42faee=await _0x17a1c4[_0x4e2b9d(0x1bf)]({'options':{..._0x24e1bd,..._0x251dc8},'args':[_0x3cc7fa],'tdx':_0x201cba});gracefulExit(_0x42faee);});const segmentViewAction=async(_0xdd5874,_0x270a8d)=>{const _0x4d343e=a2_0x3e05f6,_0x2e9ed6=new SegmentViewCommand(),_0x474f67=program[_0x4d343e(0x431)](),_0x235367=await createTDXInstance(_0x474f67),_0x224689=await _0x2e9ed6['run']({'options':{..._0x474f67,..._0x270a8d},'args':_0xdd5874?[_0xdd5874]:[],'tdx':_0x235367});gracefulExit(_0x224689);};segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3fe))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x21e))[a2_0x3e05f6(0x3fc)]('-w,\x20--web','Open\x20segment\x20in\x20web\x20browser')[a2_0x3e05f6(0x270)](segmentViewAction),segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x241),{'hidden':!![]})['alias'](a2_0x3e05f6(0x23f))[a2_0x3e05f6(0x3fc)]('-w,\x20--web',a2_0x3e05f6(0x1d3))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x488))['action'](segmentViewAction),segmentCmd[a2_0x3e05f6(0x416)]('desc\x20[segment_name]')[a2_0x3e05f6(0x343)]('Show\x20segment\x20schema\x20(column\x20types)')['action'](async(_0x55b011,_0x4b165d)=>{const _0x436d18=a2_0x3e05f6,_0x411257=new SegmentDescCommand(),_0x27238b=program[_0x436d18(0x431)](),_0xa901d8=await createTDXInstance(_0x27238b),_0x3265c4=await _0x411257[_0x436d18(0x1bf)]({'options':{..._0x27238b,..._0x4b165d},'args':_0x55b011?[_0x55b011]:[],'tdx':_0xa901d8});gracefulExit(_0x3265c4);}),segmentCmd[a2_0x3e05f6(0x416)]('show\x20[segment_name]')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x194))['action'](async(_0x2a6751,_0x579429)=>{const _0x2fa222=a2_0x3e05f6,_0xd23db7=new SegmentShowCommand(),_0x4a03de=program[_0x2fa222(0x431)](),_0x385eab=await createTDXInstance(_0x4a03de),_0x165611=await _0xd23db7[_0x2fa222(0x1bf)]({'options':{..._0x4a03de,..._0x579429},'args':_0x2a6751?[_0x2a6751]:[],'tdx':_0x385eab});gracefulExit(_0x165611);}),segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x379),{'hidden':!![]})[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x396))[a2_0x3e05f6(0x270)](async(_0x1ca16b,_0x13a11f)=>{const _0x42409d=new SegmentFolderListCommand(),_0x192358=program['opts'](),_0x2ae003=await createTDXInstance(_0x192358),_0x45e465=await _0x42409d['run']({'options':{..._0x192358,..._0x13a11f},'args':[_0x1ca16b],'tdx':_0x2ae003});gracefulExit(_0x45e465);});const folderCmd=segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3ff),{'hidden':!![]})[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x44f));folderCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2a1))['description']('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')[a2_0x3e05f6(0x270)](async(_0x5cfc34,_0x1bd7dd)=>{const _0x186f2a=a2_0x3e05f6,_0x5c6285=new SegmentFolderShowCommand(),_0x4d84a4=program[_0x186f2a(0x431)](),_0xc7be88=await createTDXInstance(_0x4d84a4),_0x200c59=await _0x5c6285[_0x186f2a(0x1bf)]({'options':{..._0x4d84a4,..._0x1bd7dd},'args':[_0x5cfc34],'tdx':_0xc7be88});gracefulExit(_0x200c59);}),segmentCmd['command'](a2_0x3e05f6(0x382))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x334))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x1a7),a2_0x3e05f6(0x35f))[a2_0x3e05f6(0x270)](async(_0xf9450,_0x56b059)=>{const _0x1d0d15=a2_0x3e05f6,_0x69e660=new SegmentSQLCommand(),_0x3026f4=program[_0x1d0d15(0x431)](),_0x45d3e3=await createTDXInstance(_0x3026f4),_0x179487=await _0x69e660['run']({'options':{..._0x3026f4,..._0x56b059},'args':_0xf9450?[_0xf9450]:[],'tdx':_0x45d3e3});gracefulExit(_0x179487);}),segmentCmd['command'](a2_0x3e05f6(0x1a1))['description'](a2_0x3e05f6(0x373))[a2_0x3e05f6(0x270)](async(_0x554bc9,_0x139d7d)=>{const _0x3baea2=a2_0x3e05f6,_0x338546=new SegmentFieldsCommand(),_0x551e2e=program[_0x3baea2(0x431)](),_0x448b2c=await createTDXInstance(_0x551e2e),_0x1f91d6=await _0x338546[_0x3baea2(0x1bf)]({'options':{..._0x551e2e,..._0x139d7d},'args':_0x554bc9?[_0x554bc9]:[],'tdx':_0x448b2c});gracefulExit(_0x1f91d6);}),segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x26e))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2c3))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x192),a2_0x3e05f6(0x1fe))['action'](async(_0x144163,_0x59345b)=>{const _0x524e8c=a2_0x3e05f6,_0x4ff618=new SegmentPullCommand(),_0x57b34d=program[_0x524e8c(0x431)](),_0x2f22fb=await createTDXInstance(_0x57b34d),_0x51bf5f=await _0x4ff618[_0x524e8c(0x1bf)]({'options':{..._0x57b34d,..._0x59345b},'args':_0x144163?[_0x144163]:[],'tdx':_0x2f22fb});gracefulExit(_0x51bf5f);}),segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2c0))['description'](a2_0x3e05f6(0x322))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x192),a2_0x3e05f6(0x1fe))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2f3),a2_0x3e05f6(0x1a6))[a2_0x3e05f6(0x270)](async(_0x177726,_0x232ee0)=>{const _0x39df12=a2_0x3e05f6,_0x5600bb=new SegmentPushCommand(),_0x32be83=program[_0x39df12(0x431)](),_0x3a30ea=await createTDXInstance(_0x32be83),_0x5762b5=await _0x5600bb[_0x39df12(0x1bf)]({'options':{..._0x32be83,..._0x232ee0},'args':_0x177726?[_0x177726]:[],'tdx':_0x3a30ea});gracefulExit(_0x5762b5);}),segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x325))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1f6))[a2_0x3e05f6(0x270)](async(_0x15ba22,_0x6f86db)=>{const _0x63cd7=a2_0x3e05f6,_0x36bdae=new SegmentValidateCommand(),_0x16ad72=program[_0x63cd7(0x431)](),_0xc2bc24=await createTDXInstance(_0x16ad72),_0x5d58cc=await _0x36bdae[_0x63cd7(0x1bf)]({'options':{..._0x16ad72,..._0x6f86db},'args':_0x15ba22?[_0x15ba22]:[],'tdx':_0xc2bc24});gracefulExit(_0x5d58cc);}),segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x248),{'hidden':!![]})[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3d1))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x47a),'Segment\x20description')['option'](a2_0x3e05f6(0x399),'Filtering\x20rule\x20as\x20JSON\x20string')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x28c),a2_0x3e05f6(0x3af))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x37c),a2_0x3e05f6(0x3c2))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x21b),a2_0x3e05f6(0x337))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3fd),a2_0x3e05f6(0x3db))[a2_0x3e05f6(0x3fc)]('--no-count-population',a2_0x3e05f6(0x467))[a2_0x3e05f6(0x270)](async(_0x245e02,_0x37005a)=>{const _0x2d749e=a2_0x3e05f6,_0x4375e3=new SegmentCreateCommand(),_0x9055fd=program[_0x2d749e(0x431)](),_0x134848=await createTDXInstance(_0x9055fd),_0x293087=await _0x4375e3[_0x2d749e(0x1bf)]({'options':{..._0x9055fd,..._0x37005a},'args':[_0x245e02],'tdx':_0x134848});gracefulExit(_0x293087);}),segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2a6),{'hidden':!![]})[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x29c))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x327),a2_0x3e05f6(0x26d))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x47a),a2_0x3e05f6(0x3b4))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x399),a2_0x3e05f6(0x3f2))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x28c),a2_0x3e05f6(0x3ca))['option'](a2_0x3e05f6(0x37c),'Move\x20to\x20folder')['option']('--kind\x20<type>',a2_0x3e05f6(0x337))['action'](async(_0x53ec97,_0x1b5e17)=>{const _0x3452ac=a2_0x3e05f6,_0x1b1ebb=new SegmentUpdateCommand(),_0x28ff7d=program[_0x3452ac(0x431)](),_0x450e9a=await createTDXInstance(_0x28ff7d),_0x56af63=await _0x1b1ebb['run']({'options':{..._0x28ff7d,..._0x1b5e17},'args':[_0x53ec97],'tdx':_0x450e9a});gracefulExit(_0x56af63);});const parentCmd=segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x36c),{'hidden':!![]})[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x48d)),parentListAction=async(_0x4eed93,_0x2862b5)=>{const _0x5ee05b=a2_0x3e05f6,_0x5c82d2=new ParentSegmentListCommand(),_0x512a1c=program[_0x5ee05b(0x431)](),_0x4f7564=await createTDXInstance(_0x512a1c),_0x1e4f8a=await _0x5c82d2[_0x5ee05b(0x1bf)]({'options':{..._0x512a1c,..._0x2862b5},'args':_0x4eed93?[_0x4eed93]:[],'tdx':_0x4f7564});gracefulExit(_0x1e4f8a);};parentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1aa))['description'](a2_0x3e05f6(0x3f7))['action'](parentListAction),segmentCmd['command'](a2_0x3e05f6(0x484),{'hidden':!![]})['description'](a2_0x3e05f6(0x31c))[a2_0x3e05f6(0x270)](parentListAction),parentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x344))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2c8))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x234),a2_0x3e05f6(0x1f7))['action'](async(_0x34b999,_0x164a51)=>{const _0x2b8fda=a2_0x3e05f6,_0x1de561=new ParentSegmentPullCommand(),_0x326aad=program[_0x2b8fda(0x431)](),_0x147dc7=await createTDXInstance(_0x326aad),_0x7f6b=await _0x1de561[_0x2b8fda(0x1bf)]({'options':{..._0x326aad,..._0x164a51},'args':_0x34b999?[_0x34b999]:[],'tdx':_0x147dc7});gracefulExit(_0x7f6b);}),parentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x202))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x38c))[a2_0x3e05f6(0x270)](async(_0x468a5a,_0x4e46c4)=>{const _0x1dab08=a2_0x3e05f6,_0x201a1b=new ParentSegmentPushCommand(),_0x57198f=program[_0x1dab08(0x431)](),_0x153ab4=await createTDXInstance(_0x57198f),_0x33aaf0=await _0x201a1b['run']({'options':{..._0x57198f,..._0x4e46c4},'args':_0x468a5a?[_0x468a5a]:[],'tdx':_0x153ab4});gracefulExit(_0x33aaf0);}),parentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x238))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1e3))[a2_0x3e05f6(0x3fc)]('--master',a2_0x3e05f6(0x1de))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x474),a2_0x3e05f6(0x2f0))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x371),a2_0x3e05f6(0x464))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x26a),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x3e05f6(0x3fc)]('--interval\x20<range>',a2_0x3e05f6(0x385),'-1d')[a2_0x3e05f6(0x270)](async(_0x7be3d1,_0x229d92)=>{const _0x3548a4=a2_0x3e05f6,_0x1a5db9=new ParentSegmentValidateCommand(),_0xba4fa6=program[_0x3548a4(0x431)](),_0x3ac82f=await createTDXInstance(_0xba4fa6),_0x351c1f=await _0x1a5db9[_0x3548a4(0x1bf)]({'options':{..._0xba4fa6,..._0x229d92},'args':_0x7be3d1?[_0x7be3d1]:[],'tdx':_0x3ac82f});gracefulExit(_0x351c1f);}),parentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x24f))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1a9))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x279),a2_0x3e05f6(0x352))[a2_0x3e05f6(0x3fc)]('--attribute\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x371),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x26a),a2_0x3e05f6(0x493))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3c0),a2_0x3e05f6(0x385),a2_0x3e05f6(0x1d7))[a2_0x3e05f6(0x270)](async(_0x12ba32,_0x6a6295)=>{const _0xe5462a=a2_0x3e05f6,_0x310c9c=new ParentSegmentPreviewCommand(),_0x5d2a47=program['opts'](),_0x3a7b95=await createTDXInstance(_0x5d2a47),_0x5bc224=await _0x310c9c[_0xe5462a(0x1bf)]({'options':{..._0x5d2a47,..._0x6a6295},'args':_0x12ba32?[_0x12ba32]:[],'tdx':_0x3a7b95});gracefulExit(_0x5bc224);}),parentCmd[a2_0x3e05f6(0x416)]('run\x20[name]')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1ca))['action'](async(_0x2b3515,_0x24b837)=>{const _0xabefd5=a2_0x3e05f6,_0x5b11aa=new ParentSegmentRunCommand(),_0x3bd688=program[_0xabefd5(0x431)](),_0x29f312=await createTDXInstance(_0x3bd688),_0x51019e=await _0x5b11aa[_0xabefd5(0x1bf)]({'options':{..._0x3bd688,..._0x24b837},'args':_0x2b3515?[_0x2b3515]:[],'tdx':_0x29f312});gracefulExit(_0x51019e);});const parentSegmentCmd=program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x43f))[a2_0x3e05f6(0x257)]('ps')['description']('Parent\x20segment\x20management');parentSegmentCmd['command'](a2_0x3e05f6(0x1aa))['description']('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x3e05f6(0x270)](parentListAction),parentSegmentCmd[a2_0x3e05f6(0x416)]('pull\x20[name]')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1e1))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x234),a2_0x3e05f6(0x466))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x206),'Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')[a2_0x3e05f6(0x270)](async(_0x8633b9,_0xad0b0a)=>{const _0x4cfefd=a2_0x3e05f6,_0x4cda20=new ParentSegmentPullCommand(),_0x29a620=program['opts'](),_0x4197a0=await createTDXInstance(_0x29a620),_0x17c3cb=await _0x4cda20[_0x4cfefd(0x1bf)]({'options':{..._0x29a620,..._0xad0b0a},'args':_0x8633b9?[_0x8633b9]:[],'tdx':_0x4197a0});gracefulExit(_0x17c3cb);}),parentSegmentCmd[a2_0x3e05f6(0x416)]('push\x20[name]')['description'](a2_0x3e05f6(0x353))['action'](async(_0x3b3c2a,_0x55f2f4)=>{const _0x5ac7f8=a2_0x3e05f6,_0x1ce664=new ParentSegmentPushCommand(),_0x24e750=program[_0x5ac7f8(0x431)](),_0x5f4bed=await createTDXInstance(_0x24e750),_0x1609f7=await _0x1ce664[_0x5ac7f8(0x1bf)]({'options':{..._0x24e750,..._0x55f2f4},'args':_0x3b3c2a?[_0x3b3c2a]:[],'tdx':_0x5f4bed});gracefulExit(_0x1609f7);}),parentSegmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x41f))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1e3))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x279),a2_0x3e05f6(0x1de))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x474),a2_0x3e05f6(0x2f0))['option'](a2_0x3e05f6(0x371),a2_0x3e05f6(0x464))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x26a),a2_0x3e05f6(0x338))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3c0),a2_0x3e05f6(0x385),a2_0x3e05f6(0x1d7))['action'](async(_0x467212,_0xcb8172)=>{const _0x1efcdb=a2_0x3e05f6,_0x3a2dca=new ParentSegmentValidateCommand(),_0x3bb520=program['opts'](),_0x3dc0e2=await createTDXInstance(_0x3bb520),_0x248df8=await _0x3a2dca[_0x1efcdb(0x1bf)]({'options':{..._0x3bb520,..._0xcb8172},'args':_0x467212?[_0x467212]:[],'tdx':_0x3dc0e2});gracefulExit(_0x248df8);}),parentSegmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x229))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1a9))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x279),a2_0x3e05f6(0x352))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x474),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x3e05f6(0x3fc)]('--behavior\x20[name]',a2_0x3e05f6(0x35d))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x26a),a2_0x3e05f6(0x493))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3c0),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')[a2_0x3e05f6(0x270)](async(_0xd37a8b,_0xb56756)=>{const _0x39aa4f=a2_0x3e05f6,_0x4b2ce2=new ParentSegmentPreviewCommand(),_0x2ab236=program[_0x39aa4f(0x431)](),_0xe472c9=await createTDXInstance(_0x2ab236),_0x1f9d01=await _0x4b2ce2[_0x39aa4f(0x1bf)]({'options':{..._0x2ab236,..._0xb56756},'args':_0xd37a8b?[_0xd37a8b]:[],'tdx':_0xe472c9});gracefulExit(_0x1f9d01);}),parentSegmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1ed))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1ca))[a2_0x3e05f6(0x270)](async(_0x14e92b,_0x19354b)=>{const _0x2c0a51=a2_0x3e05f6,_0x1e4dde=new ParentSegmentRunCommand(),_0x258af6=program[_0x2c0a51(0x431)](),_0x507e54=await createTDXInstance(_0x258af6),_0x1f6658=await _0x1e4dde['run']({'options':{..._0x258af6,..._0x19354b},'args':_0x14e92b?[_0x14e92b]:[],'tdx':_0x507e54});gracefulExit(_0x1f6658);}),parentSegmentCmd['command'](a2_0x3e05f6(0x40b))['description'](a2_0x3e05f6(0x37e))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2e2),'Output\x20as\x20JSON')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x319),a2_0x3e05f6(0x22f))[a2_0x3e05f6(0x270)](async(_0xacfa19,_0x308a21)=>{const _0x278617=a2_0x3e05f6,_0x203508=new ParentSegmentFieldsCommand(),_0x3fb6d2=program[_0x278617(0x431)](),_0x4388b5=await createTDXInstance(_0x3fb6d2),_0xfeca80=await _0x203508['run']({'options':{..._0x3fb6d2,..._0x308a21},'args':_0xacfa19?[_0xacfa19]:[],'tdx':_0x4388b5});gracefulExit(_0xfeca80);}),parentSegmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x380))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x28b))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2d6),'Open\x20parent\x20segment\x20in\x20web\x20browser')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2e2),a2_0x3e05f6(0x1cc))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x319),a2_0x3e05f6(0x22f))['action'](async(_0x52740d,_0x2b5548)=>{const _0x4d36fa=a2_0x3e05f6,_0x151077=new ParentSegmentViewCommand(),_0x5855fa=program[_0x4d36fa(0x431)](),_0x4352a1=await createTDXInstance(_0x5855fa),_0x58a2f8=await _0x151077[_0x4d36fa(0x1bf)]({'options':{..._0x5855fa,..._0x2b5548},'args':_0x52740d?[_0x52740d]:[],'tdx':_0x4352a1});gracefulExit(_0x58a2f8);}),parentSegmentCmd['command'](a2_0x3e05f6(0x398))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1c6))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x234),a2_0x3e05f6(0x466))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2e2),'Output\x20as\x20JSON')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x319),'Output\x20as\x20JSON\x20Lines')[a2_0x3e05f6(0x270)](async(_0x2ad74f,_0x2557a4)=>{const _0x410b95=a2_0x3e05f6,_0x195862=new ParentSegmentDescCommand(),_0x4ee9e4=program[_0x410b95(0x431)](),_0x2c6deb=await createTDXInstance(_0x4ee9e4),_0x44b12c=await _0x195862[_0x410b95(0x1bf)]({'options':{..._0x4ee9e4,..._0x2557a4},'args':_0x2ad74f?[_0x2ad74f]:[],'tdx':_0x2c6deb});gracefulExit(_0x44b12c);}),parentSegmentCmd['command'](a2_0x3e05f6(0x297))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x227))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2e2),a2_0x3e05f6(0x1cc))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x319),a2_0x3e05f6(0x22f))[a2_0x3e05f6(0x270)](async(_0x1f9c66,_0x1b4201)=>{const _0x4d9d31=a2_0x3e05f6,_0x2f33f7=new ParentSegmentSQLCommand(),_0x6b867d=program[_0x4d9d31(0x431)](),_0x4435cf=await createTDXInstance(_0x6b867d),_0x34e42e=await _0x2f33f7[_0x4d9d31(0x1bf)]({'options':{..._0x6b867d,..._0x1b4201},'args':_0x1f9c66?[_0x1f9c66]:[],'tdx':_0x4435cf});gracefulExit(_0x34e42e);}),parentSegmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2df))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x20c))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x410),'Limit\x20number\x20of\x20rows')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2e2),a2_0x3e05f6(0x1cc))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x319),a2_0x3e05f6(0x22f))['action'](async(_0x26471f,_0x534c99)=>{const _0x146f1a=a2_0x3e05f6,_0x44c880=new ParentSegmentShowCommand(),_0x1e621f=program[_0x146f1a(0x431)](),_0x402c8b=await createTDXInstance(_0x1e621f),_0x3b15b4=await _0x44c880[_0x146f1a(0x1bf)]({'options':{..._0x1e621f,..._0x534c99},'args':_0x26471f?[_0x26471f]:[],'tdx':_0x402c8b});gracefulExit(_0x3b15b4);}),parentSegmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x31d))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x443))['action'](async(_0x485418,_0x5a6b53)=>{const _0x2f8038=a2_0x3e05f6,_0x54179a=new UseCommand(),_0x2c990a=program[_0x2f8038(0x431)](),_0x28d56f=_0x485418?['parent_segment',_0x485418]:[],_0x17d51f=await _0x54179a[_0x2f8038(0x1bf)]({'options':{..._0x2c990a,..._0x5a6b53},'args':_0x28d56f,'tdx':null});gracefulExit(_0x17d51f);});const psRtCmd=parentSegmentCmd[a2_0x3e05f6(0x416)]('rt')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x39d));psRtCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1aa))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x38d))['action'](async(_0x212f9a,_0x9bf7c8)=>{const _0x37303c=a2_0x3e05f6,_0x5938d2=new PSRtListCommand(),_0x20c633=program['opts'](),_0x11c9eb=await createTDXInstance(_0x20c633),_0x21e3df=await _0x5938d2[_0x37303c(0x1bf)]({'options':{..._0x20c633,..._0x9bf7c8},'args':_0x212f9a?[_0x212f9a]:[],'tdx':_0x11c9eb});gracefulExit(_0x21e3df);}),psRtCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x41f))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1db))[a2_0x3e05f6(0x270)](async(_0x27008c,_0x62cfc1)=>{const _0x4c476c=a2_0x3e05f6,_0x43ffd4=new PSRtValidateCommand(),_0x2812b2=program['opts'](),_0x5cb701=await createTDXInstance(_0x2812b2),_0x44723f=await _0x43ffd4[_0x4c476c(0x1bf)]({'options':{..._0x2812b2,..._0x62cfc1},'args':_0x27008c?[_0x27008c]:[],'tdx':_0x5cb701});gracefulExit(_0x44723f);}),psRtCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x394))[a2_0x3e05f6(0x343)]('Get\x20current\x20RT\x20configuration\x20version\x20status')['action'](async(_0x383b26,_0x45db84)=>{const _0x2f8484=a2_0x3e05f6,_0x131c94=new PSRtConfigVersionCommand(),_0x44475d=program[_0x2f8484(0x431)](),_0x573d9a=await createTDXInstance(_0x44475d),_0x5125e4=await _0x131c94[_0x2f8484(0x1bf)]({'options':{..._0x44475d,..._0x45db84},'args':_0x383b26?[_0x383b26]:[],'tdx':_0x573d9a});gracefulExit(_0x5125e4);});const psRtJnCmd=psRtCmd[a2_0x3e05f6(0x416)]('jn')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1b1));psRtJnCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x24a))['description']('List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x5e46f7,_0x18ded2)=>{const _0x531d6e=a2_0x3e05f6,_0x5d94d7=new PSRtJnListCommand(),_0x161c70=program['opts'](),_0x5bdb2b=await createTDXInstance(_0x161c70),_0x559faa=await _0x5d94d7[_0x531d6e(0x1bf)]({'options':{..._0x161c70,..._0x18ded2},'args':_0x5e46f7?[_0x5e46f7]:[],'tdx':_0x5bdb2b});gracefulExit(_0x559faa);}),psRtJnCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x333))[a2_0x3e05f6(0x343)]('Pause\x20activations\x20in\x20an\x20RT\x20journey')[a2_0x3e05f6(0x270)](async(_0x37d674,_0x4bbe02)=>{const _0x53ab40=a2_0x3e05f6,_0x42ad17=new PSRtJnPauseCommand(),_0xf5c5ff=program[_0x53ab40(0x431)](),_0x912a37=await createTDXInstance(_0xf5c5ff),_0x512370=await _0x42ad17[_0x53ab40(0x1bf)]({'options':{..._0xf5c5ff,..._0x4bbe02},'args':[_0x37d674],'tdx':_0x912a37});gracefulExit(_0x512370);}),psRtJnCmd[a2_0x3e05f6(0x416)]('resume_activations\x20<journeyId>')[a2_0x3e05f6(0x343)]('Resume\x20activations\x20in\x20an\x20RT\x20journey')[a2_0x3e05f6(0x270)](async(_0x46a031,_0x263fca)=>{const _0x3d346a=a2_0x3e05f6,_0x3446ae=new PSRtJnResumeCommand(),_0x2274eb=program['opts'](),_0xb6e1ad=await createTDXInstance(_0x2274eb),_0x42f39a=await _0x3446ae[_0x3d346a(0x1bf)]({'options':{..._0x2274eb,..._0x263fca},'args':[_0x46a031],'tdx':_0xb6e1ad});gracefulExit(_0x42f39a);});const parentRtCmd=parentCmd[a2_0x3e05f6(0x416)]('rt',{'hidden':!![]})['description'](a2_0x3e05f6(0x39d));parentRtCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1aa))[a2_0x3e05f6(0x343)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0x3e05f6(0x270)](async(_0x2c6f59,_0x524de3)=>{const _0x45531e=a2_0x3e05f6,_0x59af80=new PSRtListCommand(),_0x59d46d=program['opts'](),_0xcc8afa=await createTDXInstance(_0x59d46d),_0x2db926=await _0x59af80[_0x45531e(0x1bf)]({'options':{..._0x59d46d,..._0x524de3},'args':_0x2c6f59?[_0x2c6f59]:[],'tdx':_0xcc8afa});gracefulExit(_0x2db926);}),parentRtCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x41f))['description'](a2_0x3e05f6(0x1db))[a2_0x3e05f6(0x270)](async(_0x4d5425,_0x247d70)=>{const _0xc95fa8=a2_0x3e05f6,_0x1c9b43=new PSRtValidateCommand(),_0x4a97e7=program[_0xc95fa8(0x431)](),_0x5c8750=await createTDXInstance(_0x4a97e7),_0x367a8d=await _0x1c9b43['run']({'options':{..._0x4a97e7,..._0x247d70},'args':_0x4d5425?[_0x4d5425]:[],'tdx':_0x5c8750});gracefulExit(_0x367a8d);});const psPzCmd=parentSegmentCmd['command']('pz')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x323));psPzCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x24a))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3bc))[a2_0x3e05f6(0x270)](async(_0x546ef2,_0x4f8ade)=>{const _0x42a1b8=a2_0x3e05f6,_0x3dd403=new PSPzListCommand(),_0x853b7=program[_0x42a1b8(0x431)](),_0x543d9d=await createTDXInstance(_0x853b7),_0x59a891=await _0x3dd403[_0x42a1b8(0x1bf)]({'options':{..._0x853b7,..._0x4f8ade},'args':_0x546ef2?[_0x546ef2]:[],'tdx':_0x543d9d});gracefulExit(_0x59a891);}),psPzCmd[a2_0x3e05f6(0x416)]('show\x20<personalization_id>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1a5))[a2_0x3e05f6(0x270)](async(_0x38232f,_0x28dfb6)=>{const _0x3f9435=new PSPzShowCommand(),_0xa25b70=program['opts'](),_0x5353e4=await createTDXInstance(_0xa25b70),_0x725273=await _0x3f9435['run']({'options':{..._0xa25b70,..._0x28dfb6},'args':[_0x38232f],'tdx':_0x5353e4});gracefulExit(_0x725273);}),psPzCmd[a2_0x3e05f6(0x416)]('delete\x20<personalization_id>')['description'](a2_0x3e05f6(0x1be))[a2_0x3e05f6(0x270)](async(_0x32878c,_0x12c4d6)=>{const _0x3c63b9=a2_0x3e05f6,_0x13b864=new PSPzDeleteCommand(),_0x428f51=program[_0x3c63b9(0x431)](),_0x4eff28=await createTDXInstance(_0x428f51),_0x419da3=await _0x13b864[_0x3c63b9(0x1bf)]({'options':{..._0x428f51,..._0x12c4d6},'args':[_0x32878c],'tdx':_0x4eff28});gracefulExit(_0x419da3);}),psPzCmd['command'](a2_0x3e05f6(0x311))[a2_0x3e05f6(0x343)]('Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)')[a2_0x3e05f6(0x3fc)]('--name\x20<text>','Personalization\x20name')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x47a),'Personalization\x20description')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x357),'Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted')['option'](a2_0x3e05f6(0x356),a2_0x3e05f6(0x36b))[a2_0x3e05f6(0x3fc)]('--sections\x20<json>',a2_0x3e05f6(0x278))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x232),a2_0x3e05f6(0x1fc))[a2_0x3e05f6(0x270)](async _0x432a98=>{const _0x10daf2=a2_0x3e05f6,_0xa1cfc2=new PSPzCreateCommand(),_0x138e38=program[_0x10daf2(0x431)](),_0x1dd34c=await createTDXInstance(_0x138e38),_0x5b67a2=await _0xa1cfc2['run']({'options':{..._0x138e38,..._0x432a98},'args':[],'tdx':_0x1dd34c});gracefulExit(_0x5b67a2);}),psPzCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x240))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3d2))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x23d),a2_0x3e05f6(0x1ec))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x47a),a2_0x3e05f6(0x461))['option'](a2_0x3e05f6(0x473),'Sections\x20as\x20an\x20inline\x20JSON\x20array')['option'](a2_0x3e05f6(0x232),'Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)')[a2_0x3e05f6(0x270)](async(_0x42594c,_0x150b89)=>{const _0x3dd050=a2_0x3e05f6,_0x887943=new PSPzPatchCommand(),_0x2b59ef=program[_0x3dd050(0x431)](),_0x1f3d2f=await createTDXInstance(_0x2b59ef),_0x1df1a5=await _0x887943[_0x3dd050(0x1bf)]({'options':{..._0x2b59ef,..._0x150b89},'args':[_0x42594c],'tdx':_0x1f3d2f});gracefulExit(_0x1df1a5);});const psPzServiceCmd=psPzCmd['command'](a2_0x3e05f6(0x3ae))[a2_0x3e05f6(0x343)]('Personalization\x20service\x20management');psPzServiceCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x24a))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x237))['action'](async(_0x360485,_0x5c3a2d)=>{const _0x466d7e=a2_0x3e05f6,_0x44a7bb=new PSPzServiceListCommand(),_0x438239=program[_0x466d7e(0x431)](),_0x1be84d=await createTDXInstance(_0x438239),_0x1be081=await _0x44a7bb[_0x466d7e(0x1bf)]({'options':{..._0x438239,..._0x5c3a2d},'args':_0x360485?[_0x360485]:[],'tdx':_0x1be84d});gracefulExit(_0x1be081);}),psPzServiceCmd['command'](a2_0x3e05f6(0x48a))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x37d))[a2_0x3e05f6(0x3fc)]('--description\x20<text>',a2_0x3e05f6(0x223))['option'](a2_0x3e05f6(0x395),a2_0x3e05f6(0x372))[a2_0x3e05f6(0x270)](async(_0x4b9f0d,_0x3f76db,_0x22e6c9)=>{const _0x3fbcdb=a2_0x3e05f6,_0x547fb2=new PSPzServiceCreateCommand(),_0x29085b=program[_0x3fbcdb(0x431)](),_0x39de84=await createTDXInstance(_0x29085b),_0x2508d7=await _0x547fb2['run']({'options':{..._0x29085b,..._0x22e6c9},'args':_0x3f76db?[_0x4b9f0d,_0x3f76db]:[_0x4b9f0d],'tdx':_0x39de84});gracefulExit(_0x2508d7);}),psPzServiceCmd['command']('show\x20<service_id>\x20[parent_segment]')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2aa))[a2_0x3e05f6(0x270)](async(_0x3c44b1,_0xbe8d6,_0xd2cc4f)=>{const _0x1c544b=a2_0x3e05f6,_0x59fb1b=new PSPzServiceShowCommand(),_0x4495b0=program[_0x1c544b(0x431)](),_0x2be9de=await createTDXInstance(_0x4495b0),_0x23efaf=await _0x59fb1b[_0x1c544b(0x1bf)]({'options':{..._0x4495b0,..._0xd2cc4f},'args':_0xbe8d6?[_0x3c44b1,_0xbe8d6]:[_0x3c44b1],'tdx':_0x2be9de});gracefulExit(_0x23efaf);}),psPzServiceCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x389))[a2_0x3e05f6(0x343)]('Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')['action'](async(_0x50b3a6,_0x23ce29,_0x130ece)=>{const _0x116dce=a2_0x3e05f6,_0x670bfd=new PSPzServiceDeleteCommand(),_0x1800ff=program['opts'](),_0x113b13=await createTDXInstance(_0x1800ff),_0x192e20=await _0x670bfd[_0x116dce(0x1bf)]({'options':{..._0x1800ff,..._0x130ece},'args':_0x23ce29?[_0x50b3a6,_0x23ce29]:[_0x50b3a6],'tdx':_0x113b13});gracefulExit(_0x192e20);}),psPzServiceCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x429))[a2_0x3e05f6(0x343)]('Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x3e05f6(0x2af)]('--name\x20<name>',a2_0x3e05f6(0x376))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x47a),'New\x20service\x20description')['action'](async(_0x5cb5db,_0x5c92e1,_0x3252a6)=>{const _0x42e22e=new PSPzServiceUpdateCommand(),_0x3e5dd6=program['opts'](),_0x3b0f23=await createTDXInstance(_0x3e5dd6),_0x18597c=await _0x42e22e['run']({'options':{..._0x3e5dd6,..._0x3252a6},'args':_0x5c92e1?[_0x5cb5db,_0x5c92e1]:[_0x5cb5db],'tdx':_0x3b0f23});gracefulExit(_0x18597c);}),psPzServiceCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x25b))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x191))['action'](async(_0x37204d,_0x4effe0)=>{const _0xf1919e=new PSPzInitCommand(),_0x5831fd=program['opts'](),_0x51df26=await createTDXInstance(_0x5831fd),_0x488d00=await _0xf1919e['run']({'options':{..._0x5831fd,..._0x4effe0},'args':_0x37204d?[_0x37204d]:[],'tdx':_0x51df26});gracefulExit(_0x488d00);});const psPzServiceTokenCmd=psPzServiceCmd['command'](a2_0x3e05f6(0x2ab))[a2_0x3e05f6(0x343)]('Personalization\x20service\x20token\x20management');psPzServiceTokenCmd['command']('create\x20<name>\x20<service_id>\x20[parent_segment]')[a2_0x3e05f6(0x343)]('Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')['option']('--allowed-ips\x20<ips>',a2_0x3e05f6(0x341))[a2_0x3e05f6(0x3fc)]('--description\x20<text>','Token\x20description')[a2_0x3e05f6(0x270)](async(_0x33400f,_0x21f7c7,_0x195683,_0x24a006)=>{const _0x4abd32=a2_0x3e05f6,_0x5cb072=new PSPzServiceTokenCreateCommand(),_0x4b230a=program['opts'](),_0x1c1972=await createTDXInstance(_0x4b230a),_0x4dbb90=await _0x5cb072[_0x4abd32(0x1bf)]({'options':{..._0x4b230a,..._0x24a006},'args':_0x195683?[_0x33400f,_0x21f7c7,_0x195683]:[_0x33400f,_0x21f7c7],'tdx':_0x1c1972});gracefulExit(_0x4dbb90);}),psPzServiceTokenCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x386))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x190))[a2_0x3e05f6(0x270)](async(_0xd1fc32,_0x1c4ed9,_0x16d5ac)=>{const _0x5ea64e=new PSPzServiceTokenDeleteCommand(),_0x5c51e1=program['opts'](),_0x3d89d9=await createTDXInstance(_0x5c51e1),_0x528748=await _0x5ea64e['run']({'options':{..._0x5c51e1,..._0x16d5ac},'args':_0x1c4ed9?[_0xd1fc32,_0x1c4ed9]:[_0xd1fc32],'tdx':_0x3d89d9});gracefulExit(_0x528748);}),parentCmd['command'](a2_0x3e05f6(0x375))['description']('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')['requiredOption']('--database\x20<db>',a2_0x3e05f6(0x3a9))[a2_0x3e05f6(0x2af)](a2_0x3e05f6(0x3cb),'Master\x20table\x20name')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x47a),a2_0x3e05f6(0x1b0))['option'](a2_0x3e05f6(0x39e),'Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x487),a2_0x3e05f6(0x1f0))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x43c),a2_0x3e05f6(0x3c4))['option'](a2_0x3e05f6(0x25c),a2_0x3e05f6(0x193))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x1f9),a2_0x3e05f6(0x472))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2b3),a2_0x3e05f6(0x1e5))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2de),'Behaviors\x20from\x20JSON\x20file')['option'](a2_0x3e05f6(0x2c1),a2_0x3e05f6(0x305))[a2_0x3e05f6(0x3fc)]('--customer-group-file\x20<file>',a2_0x3e05f6(0x245))[a2_0x3e05f6(0x270)](async(_0x208925,_0x3f9cf2)=>{const _0x2293f2=a2_0x3e05f6,_0x5c5799=new ParentSegmentCreateCommand(),_0x327203=program[_0x2293f2(0x431)](),_0x140384=await createTDXInstance(_0x327203),_0x3f446a=await _0x5c5799[_0x2293f2(0x1bf)]({'options':{..._0x327203,..._0x3f9cf2},'args':[_0x208925],'tdx':_0x140384});gracefulExit(_0x3f446a);}),parentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2d8))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2a2))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x47a),a2_0x3e05f6(0x3b4))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x39e),a2_0x3e05f6(0x46b))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x487),'Updated\x20schedule\x20option')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x43c),'Updated\x20timezone')['option']('--add-attributes\x20<json>',a2_0x3e05f6(0x39b))['option'](a2_0x3e05f6(0x224),a2_0x3e05f6(0x3e7))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x422),a2_0x3e05f6(0x260))['option']('--add-behaviors-file\x20<file>',a2_0x3e05f6(0x420))[a2_0x3e05f6(0x270)](async(_0x3ade4e,_0x396487)=>{const _0x40914b=new ParentSegmentUpdateCommand(),_0x4e2c22=program['opts'](),_0x4e658f=await createTDXInstance(_0x4e2c22),_0x44a856=await _0x40914b['run']({'options':{..._0x4e2c22,..._0x396487},'args':[_0x3ade4e],'tdx':_0x4e658f});gracefulExit(_0x44a856);}),folderCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x26f))['description'](a2_0x3e05f6(0x203))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x47a),a2_0x3e05f6(0x19f))[a2_0x3e05f6(0x3fc)]('--parent-folder\x20<name>',a2_0x3e05f6(0x2fe))['action'](async(_0x47db7f,_0x3ed998,_0x430f60)=>{const _0x353fa6=a2_0x3e05f6,_0x34ff12=new SegmentFolderCreateCommand(),_0x2945b0=program[_0x353fa6(0x431)](),_0x12467e=await createTDXInstance(_0x2945b0),_0x1f140b=await _0x34ff12[_0x353fa6(0x1bf)]({'options':{..._0x2945b0,..._0x430f60},'args':[_0x47db7f,_0x3ed998],'tdx':_0x12467e});gracefulExit(_0x1f140b);}),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x255))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1e4))[a2_0x3e05f6(0x270)](async(_0x1c1551,_0x286dc7)=>{const _0x13089f=a2_0x3e05f6,_0x575d95=new ActivationsCommand(),_0x2fbcd4=program['opts'](),_0x4ec6af=await createTDXInstance(_0x2fbcd4),_0x219906=await _0x575d95[_0x13089f(0x1bf)]({'options':{..._0x2fbcd4,..._0x286dc7},'args':[_0x1c1551],'tdx':_0x4ec6af});gracefulExit(_0x219906);});const workflowCmd=program['command'](a2_0x3e05f6(0x32a))['alias']('wf')['description']('Workflow\x20(Digdag)\x20management\x20commands'),wfProjectCmd=workflowCmd[a2_0x3e05f6(0x416)]('project')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1fd)),wfProjectListAction=async(_0x310944,_0x646792)=>{const _0x51080d=new WorkflowProjectsCommand(),_0x13f65f=program['opts'](),_0x4f0aa6=await createTDXInstance(_0x13f65f),_0x20aec3=await _0x51080d['run']({'options':{..._0x13f65f,..._0x646792},'args':_0x310944?[_0x310944]:[],'tdx':_0x4f0aa6});gracefulExit(_0x20aec3);};wfProjectCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1aa))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x204))[a2_0x3e05f6(0x270)](wfProjectListAction),workflowCmd['command']('projects\x20[pattern]')['description']('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0x3e05f6(0x270)](wfProjectListAction);const wfWorkflowListAction=async(_0x2c55a2,_0x4e1710)=>{const _0x85b808=a2_0x3e05f6,_0x136aec=new WorkflowWorkflowsCommand(),_0xad7715=program[_0x85b808(0x431)](),_0x9d6ad=await createTDXInstance(_0xad7715),_0xfa8b5b=await _0x136aec[_0x85b808(0x1bf)]({'options':{..._0xad7715,..._0x4e1710},'args':_0x2c55a2?[_0x2c55a2]:[],'tdx':_0x9d6ad});gracefulExit(_0xfa8b5b);};workflowCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x25d))['description'](a2_0x3e05f6(0x251))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command'](a2_0x3e05f6(0x3ee))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2e0)),wfSessionListAction=async(_0x378035,_0x1ec990)=>{const _0x38de09=a2_0x3e05f6,_0x1096d8=new WorkflowSessionsCommand(),_0x11e5c7=program[_0x38de09(0x431)](),_0x437f05=await createTDXInstance(_0x11e5c7),_0x55320b=await _0x1096d8[_0x38de09(0x1bf)]({'options':{..._0x11e5c7,..._0x1ec990},'args':_0x378035?[_0x378035]:[],'tdx':_0x437f05});gracefulExit(_0x55320b);};wfSessionCmd[a2_0x3e05f6(0x416)]('list\x20[project]')['description'](a2_0x3e05f6(0x28e))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x440),a2_0x3e05f6(0x1e0))[a2_0x3e05f6(0x3fc)]('--from\x20<timestamp>',a2_0x3e05f6(0x24b))['option']('--to\x20<timestamp>',a2_0x3e05f6(0x235))['action'](wfSessionListAction),workflowCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2f9))[a2_0x3e05f6(0x343)]('List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x440),a2_0x3e05f6(0x1e0))['option'](a2_0x3e05f6(0x2b9),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option'](a2_0x3e05f6(0x25e),a2_0x3e05f6(0x235))['action'](wfSessionListAction);const wfAttemptListAction=async(_0xf0374,_0x1c01d6)=>{const _0x5bff43=a2_0x3e05f6,_0x76a93d=new WorkflowAttemptsCommand(),_0x747d11=program[_0x5bff43(0x431)](),_0x4853bb=await createTDXInstance(_0x747d11),_0x34a461=await _0x76a93d[_0x5bff43(0x1bf)]({'options':{..._0x747d11,..._0x1c01d6},'args':_0xf0374?[_0xf0374]:[],'tdx':_0x4853bb});gracefulExit(_0x34a461);},attemptCmd=workflowCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x211))[a2_0x3e05f6(0x343)]('Workflow\x20attempt\x20management')[a2_0x3e05f6(0x3f6)](a2_0x3e05f6(0x1ac),a2_0x3e05f6(0x2bb))['argument'](a2_0x3e05f6(0x1d5),a2_0x3e05f6(0x365))['argument'](a2_0x3e05f6(0x31e),'Task\x20name\x20for\x20logs\x20action')[a2_0x3e05f6(0x3fc)]('--include-subtasks',a2_0x3e05f6(0x1c0))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x1e2),'Reason\x20for\x20killing\x20the\x20attempt')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x292),a2_0x3e05f6(0x21d))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x454),a2_0x3e05f6(0x3a5))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x46d),'Force\x20retry\x20even\x20if\x20not\x20failed')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x34b),a2_0x3e05f6(0x33e))['action'](async(_0x3a7080,_0x4cc953,_0x3eecd0,_0x29185c)=>{const _0x126739=a2_0x3e05f6;if(_0x3a7080===_0x126739(0x22a)){await wfAttemptListAction(_0x4cc953,_0x29185c);return;}if(!_0x3a7080){attemptCmd[_0x126739(0x303)]();return;}const _0x436b5a=program['opts'](),_0xa4e8e0=await createTDXInstance(_0x436b5a);let _0x1ac52d=0x0;if(!_0x4cc953){const _0x4b94a2=new WorkflowAttemptCommand();_0x1ac52d=await _0x4b94a2['run']({'options':{..._0x436b5a,..._0x29185c},'args':[_0x3a7080],'tdx':_0xa4e8e0});}else{if(_0x4cc953===_0x126739(0x1b3)){const _0x220e10=new WorkflowLogsCommand();_0x1ac52d=await _0x220e10[_0x126739(0x1bf)]({'options':{..._0x436b5a,..._0x29185c},'args':_0x3eecd0?[_0x3a7080,_0x3eecd0]:[_0x3a7080],'tdx':_0xa4e8e0});}else{if(_0x4cc953===_0x126739(0x2c5)){const _0x3fdfec=new WorkflowTasksCommand();_0x1ac52d=await _0x3fdfec[_0x126739(0x1bf)]({'options':{..._0x436b5a,..._0x29185c},'args':[_0x3a7080],'tdx':_0xa4e8e0});}else{if(_0x4cc953===_0x126739(0x48f)){const _0xc09a5c=new WorkflowKillCommand();_0x1ac52d=await _0xc09a5c[_0x126739(0x1bf)]({'options':{..._0x436b5a,..._0x29185c},'args':[_0x3a7080],'tdx':_0xa4e8e0});}else{if(_0x4cc953===_0x126739(0x42b)){const _0x127590=new WorkflowRetryCommand();_0x1ac52d=await _0x127590[_0x126739(0x1bf)]({'options':{..._0x436b5a,..._0x29185c},'args':[_0x126739(0x2e7)+_0x3a7080],'tdx':_0xa4e8e0});}else console[_0x126739(0x3ec)](_0x126739(0x236)+_0x4cc953),console[_0x126739(0x3ec)](_0x126739(0x2b2)),_0x1ac52d=0x1;}}}}gracefulExit(_0x1ac52d);});attemptCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x326))[a2_0x3e05f6(0x343)]('List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x34b),'Include\x20retried\x20attempts')['action'](wfAttemptListAction),workflowCmd['command'](a2_0x3e05f6(0x1f4))['description'](a2_0x3e05f6(0x3a7))['option'](a2_0x3e05f6(0x34b),a2_0x3e05f6(0x479))['action'](wfAttemptListAction),workflowCmd['command'](a2_0x3e05f6(0x47d))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1b2))['option']('--follow',a2_0x3e05f6(0x28a))['option']('--session-id\x20<id>',a2_0x3e05f6(0x30b))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x383),a2_0x3e05f6(0x3b8))[a2_0x3e05f6(0x270)](async(_0x5bb85d,_0x448a16)=>{const _0x39cd28=a2_0x3e05f6,_0x4ab079=new WorkflowTimelineCommand(),_0x54aa48=program[_0x39cd28(0x431)](),_0x438711=await createTDXInstance(_0x54aa48),_0x4800c6=await _0x4ab079['run']({'options':{..._0x54aa48,..._0x448a16},'args':_0x5bb85d?[_0x5bb85d]:[],'tdx':_0x438711});gracefulExit(_0x4800c6);}),workflowCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3d5))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x42a))['option'](a2_0x3e05f6(0x331),'Resume\x20from\x20specific\x20task')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x454),a2_0x3e05f6(0x2e8))[a2_0x3e05f6(0x270)](async(_0x14120b,_0x59766f)=>{const _0x481b39=a2_0x3e05f6,_0x34e6e1=new WorkflowRetryCommand(),_0x3d3ff8=program[_0x481b39(0x431)](),_0x607968=await createTDXInstance(_0x3d3ff8),_0x7cd05d=await _0x34e6e1[_0x481b39(0x1bf)]({'options':{..._0x3d3ff8,..._0x59766f},'args':[_0x14120b],'tdx':_0x607968});gracefulExit(_0x7cd05d);}),workflowCmd['command']('run\x20[workflow]')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3c8))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x28f),a2_0x3e05f6(0x451),(_0x4a844c,_0x1b1282=[])=>[..._0x1b1282,_0x4a844c],[])[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x27e),'Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')[a2_0x3e05f6(0x270)](async(_0x47fd21,_0x4abd11)=>{const _0x51b9aa=a2_0x3e05f6,_0x94fce0=new WorkflowRunCommand(),_0x22664b=program[_0x51b9aa(0x431)](),_0x544d5f=await createTDXInstance(_0x22664b),_0x3fb94c=await _0x94fce0[_0x51b9aa(0x1bf)]({'options':{..._0x22664b,..._0x4abd11},'args':_0x47fd21?[_0x47fd21]:[],'tdx':_0x544d5f});gracefulExit(_0x3fb94c);}),workflowCmd[a2_0x3e05f6(0x416)]('download\x20<project-name>\x20[output-dir]')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3cd))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x45c),a2_0x3e05f6(0x275))[a2_0x3e05f6(0x270)](async(_0x21df9f,_0x2bbeae,_0xe27752)=>{const _0x2262bd=a2_0x3e05f6,_0x513775=new WorkflowDownloadCommand(),_0x565ed1=program['opts'](),_0x57f640=await createTDXInstance(_0x565ed1),_0x120d24=await _0x513775[_0x2262bd(0x1bf)]({'options':{..._0x565ed1,..._0xe27752},'args':[_0x21df9f,_0x2bbeae||'.'],'tdx':_0x57f640});gracefulExit(_0x120d24);}),workflowCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1ef))['description']('Pull\x20workflow\x20project\x20to\x20local\x20folder')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x45c),a2_0x3e05f6(0x45b))['option'](a2_0x3e05f6(0x192),'Preview\x20changes\x20without\x20writing\x20files')[a2_0x3e05f6(0x270)](async(_0x3de3ce,_0x2fa886,_0x385cee)=>{const _0x4e8b64=a2_0x3e05f6,_0x89b4cf=new WorkflowPullCommand(),_0x5136c2=program[_0x4e8b64(0x431)](),_0x132937=await createTDXInstance(_0x5136c2),_0x5f26ee=await _0x89b4cf['run']({'options':{..._0x5136c2,..._0x385cee},'args':_0x2fa886?[_0x3de3ce,_0x2fa886]:[_0x3de3ce],'tdx':_0x132937});gracefulExit(_0x5f26ee);}),workflowCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x46c))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x220))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x45c),a2_0x3e05f6(0x26b))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x192),'Preview\x20changes\x20without\x20pushing')['option'](a2_0x3e05f6(0x261),a2_0x3e05f6(0x3f3))[a2_0x3e05f6(0x270)](async(_0x513799,_0xb97a20)=>{const _0x1acc9f=a2_0x3e05f6,_0x2fe163=new WorkflowPushCommand(),_0x3ff4d8=program[_0x1acc9f(0x431)](),_0x597d9c=await createTDXInstance(_0x3ff4d8),_0x568cb1=await _0x2fe163[_0x1acc9f(0x1bf)]({'options':{..._0x3ff4d8,..._0xb97a20},'args':_0x513799?[_0x513799]:[],'tdx':_0x597d9c});gracefulExit(_0x568cb1);}),workflowCmd[a2_0x3e05f6(0x416)]('upload\x20[project-name-or-dir]')['description']('Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3e2),a2_0x3e05f6(0x3b2))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x45c),a2_0x3e05f6(0x401))['option'](a2_0x3e05f6(0x261),a2_0x3e05f6(0x3f3))[a2_0x3e05f6(0x270)](async(_0x5f022b,_0x1b64df)=>{const _0x2b075a=a2_0x3e05f6,_0x5a67cc=new WorkflowUploadCommand(),_0x5a6a9a=program[_0x2b075a(0x431)](),_0x45df80=await createTDXInstance(_0x5a6a9a),_0x172cfd=await _0x5a67cc[_0x2b075a(0x1bf)]({'options':{..._0x5a6a9a,..._0x1b64df},'args':_0x5f022b?[_0x5f022b]:[],'tdx':_0x45df80});gracefulExit(_0x172cfd);}),workflowCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2b8))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x34c))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3e2),'Name\x20for\x20the\x20new\x20project\x20(required)')['option']('--revision\x20<revision>',a2_0x3e05f6(0x26b))['option'](a2_0x3e05f6(0x192),a2_0x3e05f6(0x274))[a2_0x3e05f6(0x3fc)]('--skip-validation','Skip\x20validation\x20of\x20.dig\x20files')[a2_0x3e05f6(0x270)](async(_0x2937d9,_0x444722)=>{const _0x2145ca=a2_0x3e05f6,_0x384513=new WorkflowCloneCommand(),_0x3df765=program[_0x2145ca(0x431)](),_0x34bcc2=await createTDXInstance(_0x3df765),_0xc69202=await _0x384513[_0x2145ca(0x1bf)]({'options':{..._0x3df765,..._0x444722},'args':_0x2937d9?[_0x2937d9]:[],'tdx':_0x34bcc2});gracefulExit(_0xc69202);}),workflowCmd['command'](a2_0x3e05f6(0x495))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x31a))[a2_0x3e05f6(0x270)](async(_0xf7bdaa,_0x331b59)=>{const _0x23d453=a2_0x3e05f6,_0x9d06aa=new WorkflowDeleteCommand(),_0x13aae7=program[_0x23d453(0x431)](),_0x17d8af=await createTDXInstance(_0x13aae7),_0x10b7c7=await _0x9d06aa[_0x23d453(0x1bf)]({'options':{..._0x13aae7,..._0x331b59},'args':[_0xf7bdaa],'tdx':_0x17d8af});gracefulExit(_0x10b7c7);}),workflowCmd['command'](a2_0x3e05f6(0x20e))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x42f))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x25a),'Clear\x20workflow\x20project\x20context')['action'](async(_0x39e1f5,_0x451906)=>{const _0x408eb7=a2_0x3e05f6,_0x4200b1=new WorkflowUseCommand(),_0x3d3da5=program[_0x408eb7(0x431)](),_0x494710=await createTDXInstance(_0x3d3da5),_0x19772e=await _0x4200b1[_0x408eb7(0x1bf)]({'options':{..._0x3d3da5,..._0x451906},'args':_0x39e1f5?[_0x39e1f5]:[],'tdx':_0x494710});gracefulExit(_0x19772e);});const wfSecretsCmd=workflowCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3c5))['description']('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x326))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1c8))[a2_0x3e05f6(0x270)](async(_0xcfc5fc,_0x321290)=>{const _0x2e313d=a2_0x3e05f6,_0x4d3e6b=new WorkflowSecretsListCommand(),_0xaf036b=program['opts'](),_0x5adf2b=await createTDXInstance(_0xaf036b),_0x48eed0=await _0x4d3e6b[_0x2e313d(0x1bf)]({'options':{..._0xaf036b,..._0x321290},'args':_0xcfc5fc?[_0xcfc5fc]:[],'tdx':_0x5adf2b});gracefulExit(_0x48eed0);}),wfSecretsCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2c9))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1d2))[a2_0x3e05f6(0x270)](async(_0xc2fa0e,_0x101836)=>{const _0x13bb65=a2_0x3e05f6,_0xf4398e=new WorkflowSecretsSetCommand(),_0x2bc466=program['opts'](),_0x3bf5c6=await createTDXInstance(_0x2bc466),_0x5ce96f=await _0xf4398e[_0x13bb65(0x1bf)]({'options':{..._0x2bc466,..._0x101836},'args':_0xc2fa0e,'tdx':_0x3bf5c6});gracefulExit(_0x5ce96f);}),wfSecretsCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x430))[a2_0x3e05f6(0x343)]('Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)')[a2_0x3e05f6(0x270)](async(_0x358d75,_0x488fae)=>{const _0x7346fd=a2_0x3e05f6,_0x368a5c=new WorkflowSecretsDeleteCommand(),_0x24bb4e=program[_0x7346fd(0x431)](),_0x552939=await createTDXInstance(_0x24bb4e),_0x60e496=await _0x368a5c['run']({'options':{..._0x24bb4e,..._0x488fae},'args':_0x358d75,'tdx':_0x552939});gracefulExit(_0x60e496);});const jobCmd=program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1d9))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x446)),jobListAction=async _0x2298ab=>{const _0x3e12f6=a2_0x3e05f6,_0x1d08d6=new JobListCommand(),_0x357891=program[_0x3e12f6(0x431)](),_0x5e9f66=await createTDXInstance(_0x357891),_0x233b51=await _0x1d08d6[_0x3e12f6(0x1bf)]({'options':{..._0x357891,..._0x2298ab},'args':[],'tdx':_0x5e9f66});gracefulExit(_0x233b51);};jobCmd[a2_0x3e05f6(0x416)]('list')[a2_0x3e05f6(0x343)]('List\x20jobs')['option'](a2_0x3e05f6(0x440),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')['action'](jobListAction),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x456),{'hidden':!![]})['description']('List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)')[a2_0x3e05f6(0x3fc)]('--status\x20<status>',a2_0x3e05f6(0x406))['action'](jobListAction),jobCmd['command'](a2_0x3e05f6(0x492))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3d9))[a2_0x3e05f6(0x270)](async(_0x551e32,_0x5b9608)=>{const _0x14a73c=new JobShowCommand(),_0x6a82dd=program['opts'](),_0x4ce3b0=await createTDXInstance(_0x6a82dd),_0x587361=await _0x14a73c['run']({'options':{..._0x6a82dd,..._0x5b9608},'args':[_0x551e32],'tdx':_0x4ce3b0});gracefulExit(_0x587361);}),jobCmd[a2_0x3e05f6(0x416)]('kill\x20<job-id>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x22c))[a2_0x3e05f6(0x270)](async(_0x1dde37,_0x21d781)=>{const _0x2c6a45=a2_0x3e05f6,_0x1c3e95=new JobKillCommand(),_0x3e5ebd=program[_0x2c6a45(0x431)](),_0x224052=await createTDXInstance(_0x3e5ebd),_0x575120=await _0x1c3e95[_0x2c6a45(0x1bf)]({'options':{..._0x3e5ebd,..._0x21d781},'args':[_0x1dde37],'tdx':_0x224052});gracefulExit(_0x575120);}),jobCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x282))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x368))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x418),a2_0x3e05f6(0x214),a2_0x3e05f6(0x281))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x263),a2_0x3e05f6(0x1d0))['option'](a2_0x3e05f6(0x1cd),a2_0x3e05f6(0x1d6),a2_0x3e05f6(0x3fb))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x45a),a2_0x3e05f6(0x478))['action'](async(_0x262f8f,_0x30c1f1)=>{const _0x345ac8=a2_0x3e05f6,_0x50b992=new JobSubmitCommand(),_0x92d588=program[_0x345ac8(0x431)](),_0x5cdddf=await createTDXInstance(_0x92d588),_0x579963=await _0x50b992['run']({'options':{..._0x92d588,..._0x30c1f1},'args':_0x262f8f?[_0x262f8f]:[],'tdx':_0x5cdddf});gracefulExit(_0x579963);}),jobCmd['command']('result\x20<job-id>')['description']('Get\x20job\x20results')['action'](async(_0x3126c1,_0x3a6741)=>{const _0x4301f4=a2_0x3e05f6,_0x2f31e9=new JobResultCommand(),_0x5a582c=program['opts'](),_0x335186=await createTDXInstance(_0x5a582c),_0x31ed69=await _0x2f31e9[_0x4301f4(0x1bf)]({'options':{..._0x5a582c,..._0x3a6741},'args':[_0x3126c1],'tdx':_0x335186});gracefulExit(_0x31ed69);});const scheduleCmd=jobCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3a1))['description'](a2_0x3e05f6(0x23a));scheduleCmd[a2_0x3e05f6(0x416)]('list\x20[pattern]')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3d0))[a2_0x3e05f6(0x270)](async(_0x5986c1,_0x995b3)=>{const _0x213b31=a2_0x3e05f6,_0x3354fd=new ScheduleListCommand(),_0xd0bcad=program[_0x213b31(0x431)](),_0x5e2f8b=await createTDXInstance(_0xd0bcad),_0x45ce60=await _0x3354fd[_0x213b31(0x1bf)]({'options':{..._0xd0bcad,..._0x995b3},'args':_0x5986c1?[_0x5986c1]:[],'tdx':_0x5e2f8b});gracefulExit(_0x45ce60);}),scheduleCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x38f))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1fa))[a2_0x3e05f6(0x270)](async(_0x541cd3,_0x252ad7)=>{const _0x4da9e1=a2_0x3e05f6,_0x7aaf75=new ScheduleShowCommand(),_0x47e48b=program[_0x4da9e1(0x431)](),_0x3fb296=await createTDXInstance(_0x47e48b),_0x39cdaa=await _0x7aaf75[_0x4da9e1(0x1bf)]({'options':{..._0x47e48b,..._0x252ad7},'args':[_0x541cd3],'tdx':_0x3fb296});gracefulExit(_0x39cdaa);}),scheduleCmd['command'](a2_0x3e05f6(0x375))['description'](a2_0x3e05f6(0x442))[a2_0x3e05f6(0x3fc)]('-d,\x20--database\x20<db>',a2_0x3e05f6(0x35a))['option'](a2_0x3e05f6(0x2f2),a2_0x3e05f6(0x2f6))[a2_0x3e05f6(0x2af)](a2_0x3e05f6(0x263),a2_0x3e05f6(0x1d0))['option'](a2_0x3e05f6(0x34e),a2_0x3e05f6(0x476),'trino')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x44c),'Cron\x20expression\x20for\x20scheduling')['option'](a2_0x3e05f6(0x43c),a2_0x3e05f6(0x413))['option'](a2_0x3e05f6(0x197),a2_0x3e05f6(0x347))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x27f),a2_0x3e05f6(0x432))['option'](a2_0x3e05f6(0x2ba),a2_0x3e05f6(0x1ba))['option']('--engine-version\x20<version>',a2_0x3e05f6(0x3f8))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x1a8),a2_0x3e05f6(0x32b))[a2_0x3e05f6(0x270)](async(_0x443c7b,_0x548709)=>{const _0x5f07bb=a2_0x3e05f6,_0x418052=new ScheduleCreateCommand(),_0x910c0e=program['opts'](),_0x286a13=await createTDXInstance(_0x910c0e);_0x548709['in']&&(_0x548709[_0x5f07bb(0x1b6)]=_0x548709['in']);const _0x13beac=await _0x418052['run']({'options':{..._0x910c0e,..._0x548709},'args':[_0x443c7b],'tdx':_0x286a13});gracefulExit(_0x13beac);}),scheduleCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2d8))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x44a))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x249),a2_0x3e05f6(0x290))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2f2),a2_0x3e05f6(0x2f6))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x263),'Read\x20query\x20from\x20file')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x34e),a2_0x3e05f6(0x476))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x44c),'Cron\x20expression\x20for\x20scheduling')[a2_0x3e05f6(0x3fc)]('--timezone\x20<tz>',a2_0x3e05f6(0x2e4))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x197),a2_0x3e05f6(0x347))['option'](a2_0x3e05f6(0x27f),a2_0x3e05f6(0x432))[a2_0x3e05f6(0x3fc)]('--retry-limit\x20<0~32>',a2_0x3e05f6(0x1ba))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x288),a2_0x3e05f6(0x3f8))[a2_0x3e05f6(0x3fc)]('--result\x20<url>',a2_0x3e05f6(0x32b))['action'](async(_0x926cc,_0x22b6e7)=>{const _0x3142a5=a2_0x3e05f6,_0xa1a598=new ScheduleUpdateCommand(),_0x34eded=program[_0x3142a5(0x431)](),_0x51c193=await createTDXInstance(_0x34eded);_0x22b6e7['in']&&(_0x22b6e7[_0x3142a5(0x1b6)]=_0x22b6e7['in']);const _0x5e7926=await _0xa1a598[_0x3142a5(0x1bf)]({'options':{..._0x34eded,..._0x22b6e7},'args':[_0x926cc],'tdx':_0x51c193});gracefulExit(_0x5e7926);}),scheduleCmd['command'](a2_0x3e05f6(0x44d))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1e9))[a2_0x3e05f6(0x270)](async(_0x488ab3,_0x202a59)=>{const _0x471987=a2_0x3e05f6,_0x568679=new ScheduleDeleteCommand(),_0x89694c=program[_0x471987(0x431)](),_0x2aae4e=await createTDXInstance(_0x89694c),_0x223a33=await _0x568679['run']({'options':{..._0x89694c,..._0x202a59},'args':[_0x488ab3],'tdx':_0x2aae4e});gracefulExit(_0x223a33);}),scheduleCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3c3))[a2_0x3e05f6(0x343)]('Run\x20a\x20scheduled\x20query\x20immediately')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2ea),a2_0x3e05f6(0x457))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x348),a2_0x3e05f6(0x3e4))[a2_0x3e05f6(0x270)](async(_0x56c126,_0x362508)=>{const _0x82ce44=a2_0x3e05f6,_0x39d9ea=new ScheduleRunCommand(),_0x265146=program[_0x82ce44(0x431)](),_0x46ad7a=await createTDXInstance(_0x265146),_0x15324c=await _0x39d9ea[_0x82ce44(0x1bf)]({'options':{..._0x265146,..._0x362508},'args':[_0x56c126],'tdx':_0x46ad7a});gracefulExit(_0x15324c);}),scheduleCmd['command'](a2_0x3e05f6(0x3bf))['description'](a2_0x3e05f6(0x2db))['option'](a2_0x3e05f6(0x48c),a2_0x3e05f6(0x244))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x27a),'Ending\x20offset\x20(default:\x2020)')[a2_0x3e05f6(0x270)](async(_0x318f0c,_0xc48f64)=>{const _0x5286e4=a2_0x3e05f6,_0x47e066=new ScheduleHistoryCommand(),_0x24bf94=program['opts'](),_0x243b6e=await createTDXInstance(_0x24bf94),_0x60f2c8=await _0x47e066[_0x5286e4(0x1bf)]({'options':{..._0x24bf94,..._0xc48f64},'args':[_0x318f0c],'tdx':_0x243b6e});gracefulExit(_0x60f2c8);});const llmCmd=program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x29b))[a2_0x3e05f6(0x343)]('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x30a))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x209))['action'](async(_0x330560,_0xfa4cc6)=>{const _0x524249=a2_0x3e05f6,_0x5255d2=new LLMUseCommand(),_0x13d7d5=program[_0x524249(0x431)](),_0x1a1c81=await createTDXInstance(_0x13d7d5),_0x2ffd35=await _0x5255d2[_0x524249(0x1bf)]({'options':{..._0x13d7d5,..._0xfa4cc6},'args':[_0x330560],'tdx':_0x1a1c81});gracefulExit(_0x2ffd35);}),llmCmd['command'](a2_0x3e05f6(0x3ce))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x23b))['action'](async _0x2d97a3=>{const _0x5ca6e0=a2_0x3e05f6,_0x44e84f=new LLMModelsCommand(),_0x2a7645=program[_0x5ca6e0(0x431)](),_0x277c22=await createTDXInstance(_0x2a7645),_0x412b8a=await _0x44e84f[_0x5ca6e0(0x1bf)]({'options':{..._0x2a7645,..._0x2d97a3},'args':[],'tdx':_0x277c22});gracefulExit(_0x412b8a);});const projectCmd=llmCmd[a2_0x3e05f6(0x416)]('project')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2c4)),llmProjectListAction=async(_0x4ad4d7,_0x1c12dd)=>{const _0x4f2650=a2_0x3e05f6,_0x3b0342=new LLMProjectsCommand(),_0xb68df2=program[_0x4f2650(0x431)](),_0x3f3b9b=await createTDXInstance(_0xb68df2),_0x2af4a0=await _0x3b0342[_0x4f2650(0x1bf)]({'options':{..._0xb68df2,..._0x1c12dd},'args':_0x4ad4d7?[_0x4ad4d7]:[],'tdx':_0x3f3b9b});gracefulExit(_0x2af4a0);};projectCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1aa))['description'](a2_0x3e05f6(0x24d))[a2_0x3e05f6(0x270)](llmProjectListAction),llmCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3a2))['description'](a2_0x3e05f6(0x1cf))[a2_0x3e05f6(0x270)](llmProjectListAction),projectCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x375))['description'](a2_0x3e05f6(0x21c))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x47a),a2_0x3e05f6(0x39f))[a2_0x3e05f6(0x270)](async(_0x382445,_0x3546a2)=>{const _0x575a33=a2_0x3e05f6,_0x2f8e74=new LLMProjectCreateCommand(),_0x88ebf9=program[_0x575a33(0x431)](),_0x198425=await createTDXInstance(_0x88ebf9),_0x280720=await _0x2f8e74[_0x575a33(0x1bf)]({'options':{..._0x88ebf9,..._0x3546a2},'args':[_0x382445],'tdx':_0x198425});gracefulExit(_0x280720);}),projectCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x44d))['description'](a2_0x3e05f6(0x32f))[a2_0x3e05f6(0x270)](async(_0x3a7252,_0xda9b11)=>{const _0x149684=a2_0x3e05f6,_0x3306c9=new LLMProjectDeleteCommand(),_0x4ce4a6=program[_0x149684(0x431)](),_0x88dddd=await createTDXInstance(_0x4ce4a6),_0x41aaeb=await _0x3306c9[_0x149684(0x1bf)]({'options':{..._0x4ce4a6,..._0xda9b11},'args':[_0x3a7252],'tdx':_0x88dddd});gracefulExit(_0x41aaeb);}),projectCmd['command'](a2_0x3e05f6(0x304))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x280))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x37b),a2_0x3e05f6(0x30d))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x192),a2_0x3e05f6(0x30e))[a2_0x3e05f6(0x270)](async(_0x25242a,_0x354291)=>{const _0x19f18c=a2_0x3e05f6,_0x45598b=new LLMProjectBackupCommand(),_0x2ccaea=program['opts'](),_0x375634=await createTDXInstance(_0x2ccaea),_0x4daae4=await _0x45598b[_0x19f18c(0x1bf)]({'options':{..._0x2ccaea,..._0x354291},'args':[_0x25242a],'tdx':_0x375634});gracefulExit(_0x4daae4);}),projectCmd[a2_0x3e05f6(0x416)]('restore\x20<folder>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3ed))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x33d),a2_0x3e05f6(0x46a))['option'](a2_0x3e05f6(0x192),a2_0x3e05f6(0x316))['action'](async(_0x30a278,_0x478610)=>{const _0x4f22dc=a2_0x3e05f6,_0x5a6a94=new LLMProjectRestoreCommand(),_0x3ba811=program[_0x4f22dc(0x431)](),_0x1dce26=await createTDXInstance(_0x3ba811),_0x2d2af9=await _0x5a6a94[_0x4f22dc(0x1bf)]({'options':{..._0x3ba811,..._0x478610},'args':[_0x30a278],'tdx':_0x1dce26});gracefulExit(_0x2d2af9);});const llmAgentListAction=async(_0x2b1d15,_0x5e7f63)=>{const _0xccf687=a2_0x3e05f6,_0x234bf2=new LLMAgentsCommand(),_0x23d9bd=program[_0xccf687(0x431)](),_0x2cc65c=await createTDXInstance(_0x23d9bd),_0x3198c3=await _0x234bf2[_0xccf687(0x1bf)]({'options':{..._0x23d9bd,..._0x5e7f63},'args':_0x2b1d15?[_0x2b1d15]:[],'tdx':_0x2cc65c});gracefulExit(_0x3198c3);};llmCmd['command'](a2_0x3e05f6(0x230))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3bb))[a2_0x3e05f6(0x270)](llmAgentListAction),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x230))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3bb))['action'](llmAgentListAction),llmCmd['command']('history\x20[chat-id]')['description'](a2_0x3e05f6(0x38b))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x269),a2_0x3e05f6(0x33b))[a2_0x3e05f6(0x270)](async(_0x590f6d,_0x4a4068)=>{const _0x30f4c3=a2_0x3e05f6,_0x224227=new LLMHistoryCommand(),_0xf77b35=program[_0x30f4c3(0x431)](),_0x33aafd=await createTDXInstance(_0xf77b35),_0x5ae28d=await _0x224227[_0x30f4c3(0x1bf)]({'options':{..._0xf77b35,..._0x4a4068},'args':_0x590f6d?[_0x590f6d]:[],'tdx':_0x33aafd});gracefulExit(_0x5ae28d);});isExperimentalAvailable()&&llmCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x254))['description']('[EXPERIMENTAL]\x20Show\x20chat\x20log')[a2_0x3e05f6(0x270)](async(_0x3a90f6,_0x4b3965)=>{const _0x1ae59f=a2_0x3e05f6,_0x27387f=new LLMLogCommand(),_0x5b09b0=program[_0x1ae59f(0x431)](),_0x4005e7=await createTDXInstance(_0x5b09b0),_0xe449c1=await _0x27387f[_0x1ae59f(0x1bf)]({'options':{..._0x5b09b0,..._0x4b3965},'args':[_0x3a90f6],'tdx':_0x4005e7});gracefulExit(_0xe449c1);});program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x293))['usage'](a2_0x3e05f6(0x40f))[a2_0x3e05f6(0x343)]('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')[a2_0x3e05f6(0x3fc)]('-c,\x20--continue',a2_0x3e05f6(0x3cf))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x1d4),a2_0x3e05f6(0x3a6))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x253),'Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')[a2_0x3e05f6(0x414)]()[a2_0x3e05f6(0x428)](!![])[a2_0x3e05f6(0x299)](a2_0x3e05f6(0x19c),a2_0x3e05f6(0x2f5))[a2_0x3e05f6(0x270)](async(_0xbc137b,_0x3b968b)=>{const _0x29add7=a2_0x3e05f6,_0x2e3a43=program[_0x29add7(0x431)](),_0x5cbfe3=Array[_0x29add7(0x20f)](_0xbc137b)?_0xbc137b:[];if(_0x5cbfe3[0x0]==='statusline'){const _0x327cc7=new ClaudeStatuslineCommand(),_0x292b06=await _0x327cc7[_0x29add7(0x1bf)]({'options':{..._0x2e3a43,..._0x3b968b},'args':_0x5cbfe3['slice'](0x1),'tdx':null});gracefulExit(_0x292b06);}if(_0x5cbfe3[0x0]===_0x29add7(0x308)){const _0x5521e4=new ClaudeUsageCommand(),_0x803331=await _0x5521e4[_0x29add7(0x1bf)]({'options':{..._0x2e3a43,..._0x3b968b},'args':_0x5cbfe3[_0x29add7(0x212)](0x1),'tdx':null});gracefulExit(_0x803331);}const _0x51ac25=new ClaudeCommand(),_0x429042=await createTDXInstance(_0x2e3a43),_0x21e098=await _0x51ac25[_0x29add7(0x1bf)]({'options':{..._0x2e3a43,..._0x3b968b},'args':_0x5cbfe3,'tdx':_0x429042});gracefulExit(_0x21e098);}),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x423))[a2_0x3e05f6(0x343)]('Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)')['option'](a2_0x3e05f6(0x25a),a2_0x3e05f6(0x2ad))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x384),a2_0x3e05f6(0x205))[a2_0x3e05f6(0x270)](async(_0x7fe11c,_0x1c976f,_0x36fa02)=>{const _0x27fff7=a2_0x3e05f6,_0x28c139=new UseCommand(),_0x471a14=program[_0x27fff7(0x431)](),_0x35d7ad=[];if(_0x7fe11c)_0x35d7ad[_0x27fff7(0x3c6)](_0x7fe11c);if(_0x1c976f)_0x35d7ad[_0x27fff7(0x3c6)](_0x1c976f);const _0x58e9ee=_0x7fe11c===_0x27fff7(0x444),_0x484a9d=_0x58e9ee?await createTDXInstance(_0x471a14):null,_0x15f0fd=await _0x28c139[_0x27fff7(0x1bf)]({'options':{..._0x471a14,..._0x36fa02},'args':_0x35d7ad,'tdx':_0x484a9d});gracefulExit(_0x15f0fd);}),program['command'](a2_0x3e05f6(0x47c))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x32d))[a2_0x3e05f6(0x270)](async _0x87123b=>{const _0x47b237=a2_0x3e05f6,_0x1867f6=new StatusCommand(),_0x70d95a=program['opts'](),_0x940d2b=await createTDXInstance(_0x70d95a),_0x170a16=await _0x1867f6[_0x47b237(0x1bf)]({'options':{..._0x70d95a,..._0x87123b},'args':[],'tdx':_0x940d2b});gracefulExit(_0x170a16);}),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x264))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3bd))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x192),'Check\x20for\x20updates\x20without\x20installing')['option'](a2_0x3e05f6(0x38e),a2_0x3e05f6(0x3df))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3e1),a2_0x3e05f6(0x2a8))['action'](async(_0x2e3100,_0x57b7a0)=>{const _0x4714c8=a2_0x3e05f6,_0x7b050e=new UpgradeCommand(),_0x50bf8=program[_0x4714c8(0x431)](),_0x3484ca=await _0x7b050e['run']({'options':{..._0x50bf8,..._0x57b7a0},'args':_0x2e3100?[_0x2e3100]:[],'tdx':null});gracefulExit(_0x3484ca);}),program[a2_0x3e05f6(0x416)]('unset\x20<resource>')['description'](a2_0x3e05f6(0x210))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x384),a2_0x3e05f6(0x3dc))[a2_0x3e05f6(0x270)](async(_0x46007a,_0x1a5b7a)=>{const _0x496481=a2_0x3e05f6,_0x5f0add=new UnsetCommand(),_0x4f0073=program['opts'](),_0x164273=await _0x5f0add[_0x496481(0x1bf)]({'options':{..._0x4f0073,..._0x1a5b7a},'args':[_0x46007a],'tdx':null});gracefulExit(_0x164273);}),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x480))[a2_0x3e05f6(0x343)]('Interactive\x20chat\x20selector')['option'](a2_0x3e05f6(0x269),a2_0x3e05f6(0x455))[a2_0x3e05f6(0x270)](async _0x378d5c=>{const _0xe32a7a=a2_0x3e05f6,_0x381531=new ChatsCommand(),_0x3e31a8=program[_0xe32a7a(0x431)](),_0x5cb189=await createTDXInstance(_0x3e31a8),_0x2413dd=await _0x381531[_0xe32a7a(0x1bf)]({'options':{..._0x3e31a8,..._0x378d5c},'args':[],'tdx':_0x5cb189});gracefulExit(_0x2413dd);});const authCmd=program['command'](a2_0x3e05f6(0x3b5))['description'](a2_0x3e05f6(0x318));async function runAuthStatusCommand(_0x7ae067){const _0x5b974b=a2_0x3e05f6,_0x3edfdf=new AuthStatusCommand(),_0x253f3c=program[_0x5b974b(0x431)](),_0x15b9d8=await createTDXInstance(_0x253f3c),_0x17362f=await _0x3edfdf[_0x5b974b(0x1bf)]({'options':{..._0x253f3c,..._0x7ae067},'args':[],'tdx':_0x15b9d8});gracefulExit(_0x17362f);}authCmd[a2_0x3e05f6(0x270)](runAuthStatusCommand),authCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x47c))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1b8))[a2_0x3e05f6(0x270)](runAuthStatusCommand),authCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2cf))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2d1))[a2_0x3e05f6(0x299)](a2_0x3e05f6(0x19c),a2_0x3e05f6(0x243))['action'](async _0x1828d7=>{const _0x1f0ed3=a2_0x3e05f6,_0x486f84=new AuthSetupCommand(),_0x916f4f=program[_0x1f0ed3(0x431)](),_0x598029=await createTDXInstance(_0x916f4f),_0x1398e9=await _0x486f84['run']({'options':{..._0x916f4f,..._0x1828d7},'args':[],'tdx':_0x598029});gracefulExit(_0x1398e9);}),authCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2ee))['description'](a2_0x3e05f6(0x1e6))[a2_0x3e05f6(0x299)](a2_0x3e05f6(0x19c),a2_0x3e05f6(0x3be))['action'](async _0x400a8e=>{const _0x1cc3f8=a2_0x3e05f6,_0x5f1e5f=new AuthLoginCommand(),_0x14934a=program[_0x1cc3f8(0x431)](),_0x4c5472=await _0x5f1e5f[_0x1cc3f8(0x1bf)]({'options':{..._0x14934a,..._0x400a8e},'args':[],'tdx':null});gracefulExit(_0x4c5472);}),authCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x450))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x286))[a2_0x3e05f6(0x299)]('after',a2_0x3e05f6(0x367))[a2_0x3e05f6(0x270)](async _0x2b6185=>{const _0x319355=a2_0x3e05f6,_0x4fa41e=new AuthClearCommand(),_0x49cc13=program['opts'](),_0x52e9ac=await _0x4fa41e[_0x319355(0x1bf)]({'options':{..._0x49cc13,..._0x2b6185},'args':[],'tdx':null});gracefulExit(_0x52e9ac);});const userCmd=program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x222))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1c9)),userListAction=async _0x40a269=>{const _0x32530d=a2_0x3e05f6,_0x42eb3a=new UserListCommand(),_0x5969f3=program[_0x32530d(0x431)](),_0x38e558=await createTDXInstance(_0x5969f3),_0x3bfcd1=await _0x42eb3a['run']({'options':{..._0x5969f3,..._0x40a269},'args':[],'tdx':_0x38e558});gracefulExit(_0x3bfcd1);};userCmd[a2_0x3e05f6(0x270)](async _0x45f2c6=>{const _0x389dd8=a2_0x3e05f6,_0x32544f=new UserCommand(),_0x550b3e=program[_0x389dd8(0x431)](),_0xbcd037=await createTDXInstance(_0x550b3e),_0x2c7e1c=await _0x32544f[_0x389dd8(0x1bf)]({'options':{..._0x550b3e,..._0x45f2c6},'args':[],'tdx':_0xbcd037});gracefulExit(_0x2c7e1c);}),userCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x22a))['description']('List\x20all\x20users\x20in\x20the\x20account')[a2_0x3e05f6(0x270)](userListAction),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3b6))[a2_0x3e05f6(0x343)]('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')[a2_0x3e05f6(0x270)](userListAction);const policyCmd=program['command']('policy')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3eb));policyCmd['action'](async _0x4d3565=>{const _0x1ce01c=a2_0x3e05f6,_0x47cf17=new PolicyCommand(),_0x575273=program['opts'](),_0x2fc033=await createTDXInstance(_0x575273),_0x24decb=await _0x47cf17[_0x1ce01c(0x1bf)]({'options':{..._0x575273,..._0x4d3565},'args':[],'tdx':_0x2fc033});gracefulExit(_0x24decb);}),policyCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x22a))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x491))[a2_0x3e05f6(0x270)](async _0x3e94ed=>{const _0xc6b75b=new PolicyListCommand(),_0x1e14d6=program['opts'](),_0x1993d7=await createTDXInstance(_0x1e14d6),_0x184e27=await _0xc6b75b['run']({'options':{..._0x1e14d6,..._0x3e94ed},'args':[],'tdx':_0x1993d7});gracefulExit(_0x184e27);}),policyCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x19b))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x294))[a2_0x3e05f6(0x270)](async(_0x2215f6,_0x57be1c)=>{const _0x1eae33=a2_0x3e05f6,_0x3834e7=new PolicyShowCommand(),_0x56f2ba=program[_0x1eae33(0x431)](),_0x44db3d=await createTDXInstance(_0x56f2ba),_0x2c8acc=await _0x3834e7[_0x1eae33(0x1bf)]({'options':{..._0x56f2ba,..._0x57be1c},'args':[_0x2215f6],'tdx':_0x44db3d});gracefulExit(_0x2c8acc);}),program['command']('profiles')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2f4))['action'](async _0x35aff1=>{const _0x15449f=a2_0x3e05f6,_0x5d3b40=new ProfilesCommand(),_0x29b63f=program[_0x15449f(0x431)](),_0x16ff84=await _0x5d3b40[_0x15449f(0x1bf)]({'options':{..._0x29b63f,..._0x35aff1},'args':[],'tdx':null});gracefulExit(_0x16ff84);});function a2_0x1c3b(_0x13280f,_0x4d973f){_0x13280f=_0x13280f-0x190;const _0x1590fc=a2_0x1590();let _0x1c3bbd=_0x1590fc[_0x13280f];return _0x1c3bbd;}const profileCmd=program['command'](a2_0x3e05f6(0x3b9))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x360));profileCmd['action'](()=>{const _0x3beb05=a2_0x3e05f6;profileCmd[_0x3beb05(0x377)]();});const profileListAction=async _0x399e20=>{const _0x3f7fe9=a2_0x3e05f6,_0x37f938=new ProfilesCommand(),_0x49e0c8=program[_0x3f7fe9(0x431)](),_0x17709b=await _0x37f938[_0x3f7fe9(0x1bf)]({'options':{..._0x49e0c8,..._0x399e20},'args':[],'tdx':null});gracefulExit(_0x17709b);};profileCmd[a2_0x3e05f6(0x416)]('list')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2f4))[a2_0x3e05f6(0x270)](profileListAction),profileCmd[a2_0x3e05f6(0x416)]('create\x20[name]')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x321))[a2_0x3e05f6(0x299)]('after','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a\x20\x20$\x20tdx\x20profile\x20create\x20production\x20\x20\x20#\x20Create\x20profile\x20named\x20\x27production\x27\x0a')[a2_0x3e05f6(0x270)](async(_0x3658cb,_0x2ab681)=>{const _0x3359d3=a2_0x3e05f6,_0x5bb77d=new ProfileCreateCommand(),_0x1098b8=program[_0x3359d3(0x431)](),_0x3c4a1e=await _0x5bb77d['run']({'options':{..._0x1098b8,..._0x2ab681},'args':_0x3658cb?[_0x3658cb]:[],'tdx':null});gracefulExit(_0x3c4a1e);}),profileCmd['command'](a2_0x3e05f6(0x477))[a2_0x3e05f6(0x343)]('Remove\x20a\x20profile')[a2_0x3e05f6(0x299)](a2_0x3e05f6(0x19c),a2_0x3e05f6(0x465))[a2_0x3e05f6(0x270)](async(_0x1e22ba,_0x2da356)=>{const _0xd8dbc4=a2_0x3e05f6,_0x7f904e=new ProfileRemoveCommand(),_0x39d15e=program['opts'](),_0x2961cd=await _0x7f904e[_0xd8dbc4(0x1bf)]({'options':{..._0x39d15e,..._0x2da356},'args':[_0x1e22ba],'tdx':null});gracefulExit(_0x2961cd);}),profileCmd['command'](a2_0x3e05f6(0x426))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x23c))['addHelpText'](a2_0x3e05f6(0x19c),a2_0x3e05f6(0x215))[a2_0x3e05f6(0x270)](async(_0x3adc73,_0x25b4df)=>{const _0x3f5e9f=a2_0x3e05f6,_0x2eb7f3=new ProfileSetCommand(),_0x55c284=program[_0x3f5e9f(0x431)](),_0x556635=await _0x2eb7f3[_0x3f5e9f(0x1bf)]({'options':{..._0x55c284,..._0x25b4df},'args':[_0x3adc73],'tdx':null});gracefulExit(_0x556635);}),profileCmd[a2_0x3e05f6(0x416)]('use\x20<name>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x354))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x384),a2_0x3e05f6(0x205))['addHelpText'](a2_0x3e05f6(0x19c),'\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')['action'](async(_0x198915,_0x4db906)=>{const _0x14db82=a2_0x3e05f6,_0x578386=new ProfileUseCommand(),_0x305b4c=program[_0x14db82(0x431)](),_0x372969=await _0x578386[_0x14db82(0x1bf)]({'options':{..._0x305b4c,..._0x4db906},'args':[_0x198915],'tdx':null});gracefulExit(_0x372969);});function a2_0x1590(){const _0x1e2316=['--method\x20<pm>','--name\x20<name>','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','Pause\x20a\x20running\x20journey','use\x20<name>','Add\x20attributes\x20from\x20JSON\x20file','--new','registeredArguments','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Access\x20control\x20policy\x20commands','error','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','session','summary','Run\x20specific\x20tests\x20(comma-separated)','includes','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Skip\x20validation\x20of\x20.dig\x20files','Validate\x20campaign\x20YAML\x20files\x20locally','--format\x20<format>','argument','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Query\x20engine\x20version','settings\x20<type>','join','information_schema','option','--invisible','view\x20[segment_name]','folder','argumentTerm','Revision\x20name\x20(default:\x20timestamp)','apiKey','List\x20journeys\x20(alias\x20for\x20journey\x20list)','hidden','journey','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Directory\x20does\x20not\x20exist:\x20','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','finish\x20<name-or-id>','duplicate\x20<name-or-id>','fields\x20[name]','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','accessToken','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','[options]\x20--\x20[claude-code-args...]','--limit\x20<n>','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','--subject\x20<subject>','Timezone\x20for\x20cron\x20(default:\x20UTC)','allowUnknownOption','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','command','New\x20campaign\x20name','--job-type\x20<type>','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','--full','Delete\x20an\x20agent','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','format','--site\x20<site>','validate\x20[name]','Add\x20behaviors\x20from\x20JSON\x20file','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','--add-behaviors\x20<json>','use\x20[resource]\x20[value]','agent','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','set\x20<key=value>','List\x20all\x20versions\x20of\x20a\x20journey','allowExcessArguments','update\x20<service_id>\x20[parent_segment]','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','retry','--verbose','createAsync','Read\x20HTML\x20template\x20from\x20file','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','delete\x20<args...>','opts','Job\x20priority\x20(-2\x20to\x202)','--tags\x20<tags>','-f,\x20--force','json','Name\x20for\x20the\x20duplicated\x20campaign','Generate\x20test\x20conversations\x20without\x20evaluation','--editor-type\x20<type>','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','commandDescription','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','--timezone\x20<tz>','version','-r,\x20--recursive','parent-segment','--status\x20<status>','pull\x20[workspace]','Create\x20a\x20scheduled\x20query','Set\x20or\x20show\x20parent\x20segment\x20context','engage_workspace','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Job\x20management\x20commands','delete\x20<agent-name>','tables\x20[pattern]','Agent\x20name','Update\x20a\x20scheduled\x20query','CDP\x20Journey\x20Orchestration\x20commands','--cron\x20<expression>','delete\x20<name>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','[DEPRECATED]\x20Segment\x20folder\x20management','clear','Workflow\x20parameter\x20(repeatable)','logLevel','--enable-utm-tracking','--params\x20<json>','Show\x20the\x20most\x20recent\x20chat','jobs','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Show\x20connection\x20details\x20by\x20name','--result\x20<target>','Pull\x20specific\x20revision\x20(default:\x20latest)','--revision\x20<revision>','153206Pzornt','Launch\x20an\x20always-on\x20campaign','New\x20workspace\x20name','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Personalization\x20description','Trino\x20catalog\x20(default:\x20td)','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','Output\x20file\x20path','Skip\x20population\x20counting','Data\x20connection\x20management\x20(for\x20activations/exports)','--trace','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','push\x20[source-dir]','--force','List\x20journeys\x20in\x20current\x20context','launch\x20<name-or-id>','Create\x20a\x20new\x20always-on\x20campaign','Describe\x20table\x20schema','Attributes\x20from\x20JSON\x20file','--sections\x20<json>','--attribute\x20[name]','Update\x20an\x20email\x20template','Query\x20type:\x20trino\x20or\x20hive','remove\x20<name>','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Include\x20retried\x20attempts','--description\x20<text>','flags','status','timeline\x20[project.workflow]','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','Push\x20without\x20confirmation','chats','tsv','Pull\x20templates\x20to\x20YAML\x20files','columns\x20<name-or-path>','parents\x20[pattern]','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','System\x20prompt/instructions\x20(default:\x20empty)','--schedule-option\x20<value>','Show\x20segment\x20details\x20(alias\x20for\x20view)','--to\x20<date>','create\x20<name>\x20[parent_segment]','tdx\x20','--from\x20<n>','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','--include-history','kill','flatMap','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','show\x20<job-id>','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','set','delete\x20<project-name-or-id>','upgrade','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Workspace\x20description','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','--dry-run','Attributes\x20as\x20JSON\x20string','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','test\x20[path]','LLM\x20agent\x20management','--delay\x20<seconds>','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','Maximum\x20number\x20of\x20nodes','--temperature\x20<n>','show\x20<policy>','after','Campaign\x20description','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','Folder\x20description','--html-file\x20<path>','fields\x20[parent_name]','--agent\x20<ref>','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','api\x20[endpoint]','Show\x20a\x20specific\x20realtime\x20personalization','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','--path\x20<file-path>','--result\x20<url>','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','list\x20[pattern]','--model\x20<name>','[attempt-id]','us01','Email\x20template\x20management','optionTerm','Parent\x20segment\x20description','RT\x20Journey\x20management','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','logs','Show\x20journey\x20table\x20column-to-step\x20mapping','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','database','tdx','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Retry\x20limit\x20(0\x20to\x2032)','find','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','Always-on\x20campaign\x20management','Delete\x20a\x20realtime\x20personalization','run','Include\x20subtasks\x20in\x20tasks\x20output','commands','Delete\x20a\x20campaign','colorFn','List\x20available\x20connector\x20types','Show\x20email\x20template\x20details','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','Email\x20sender\x20ID\x20for\x20delivery','List\x20secret\x20keys\x20for\x20a\x20project','User\x20management\x20commands','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','-C,\x20--directory\x20<path>','Output\x20as\x20JSON','--database\x20<name>','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Read\x20query\x20from\x20file','forEach','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','Open\x20segment\x20in\x20web\x20browser','-r,\x20--resume','[action]','Database\x20name\x20(default:\x20information_schema)','-1d','gitRevision','job','--segment\x20<path>','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Maximum\x20recursion\x20depth\x20(default:\x2010)','List\x20all\x20data\x20connections','Show\x20only\x20master\x20table\x20validation','--starter-message\x20<text>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--reason\x20<text>','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Behaviors\x20as\x20JSON\x20string','Login\x20via\x20OAuth\x20(dev\x20sites\x20only)','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','jsonl','Delete\x20a\x20scheduled\x20query','entries','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','Personalization\x20name','run\x20[name]','workspaces\x20[pattern]','pull\x20<project>\x20[target-dir]','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Invalid\x20editor\x20type:\x20','Include\x20execution\x20statistics','Workspace\x20name','attempts\x20[project]','Save\x20output\x20to\x20file','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Output\x20file\x20path\x20(default:\x20<name>.yml)','update\x20<agent-name>','--attributes-file\x20<file>','Show\x20schedule\x20details','Launch\x20a\x20campaign','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','Workflow\x20project\x20management','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','padWidth','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','noColor','push\x20[file]','Create\x20segment\x20folder','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','-u,\x20--use','1518471iIkIzG','Workspace\x20name\x20(required)','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','-d,\x20--database\x20<database>','Enable\x20UTM\x20tracking','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','--table','use\x20[project]','isArray','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','attempt','slice','Arguments:','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','\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','schema\x20<type>','stdout','\x22.\x20Must\x20be\x20a\x20number.','grapesjs','--name\x20<names>','--kind\x20<type>','Create\x20a\x20new\x20LLM\x20project','Resume\x20from\x20specific\x20task\x20(retry)','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','161518OrfaDA','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','configureHelp','user','Service\x20description','--add-attributes-file\x20<file>','chdir','Table\x20management\x20commands','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','Update\x20a\x20campaign','preview\x20[name]','list','Workspace\x20management','Kill\x20a\x20job','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','--yes','Output\x20as\x20JSON\x20Lines','agents\x20[pattern]','query\x20[sql]','--file\x20<path>','Show\x20what\x20would\x20be\x20written\x20without\x20writing','-o,\x20--output\x20<file>','End\x20time\x20filter\x20(ISO\x208601\x20format)','Unknown\x20action:\x20','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','validate\x20[file]','Show\x20always-on\x20campaign\x20details','Scheduled\x20query\x20management\x20commands','List\x20available\x20LLM\x20models','Set\x20a\x20profile\x20configuration\x20value','--name\x20<text>','New\x20template\x20name','describe','patch\x20<personalization_id>','info\x20[segment_name]','variadic','\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','Starting\x20offset\x20(default:\x200)','Customer\x20group\x20from\x20JSON\x20file','--plaintext\x20<text>','log','create\x20<segment_name>','-d,\x20--database\x20<db>','list\x20[name]','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Version\x20number\x20to\x20view','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Agent\x20description','preview\x20[file]','filter','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','--data\x20<data>','--no-proxy','log\x20<chat-id>','activations\x20<segment_name>','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','alias','Read\x20SQL\x20query\x20from\x20file','Change\x20to\x20directory\x20before\x20executing\x20command','--clear','init\x20[name]','--attributes\x20<json>','workflows\x20[project]','--to\x20<timestamp>','--email-sender-id\x20<id>','Add\x20behaviors\x20as\x20JSON\x20string','--skip-validation','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','-f,\x20--file\x20<path>','upgrade\x20[version]','Show\x20all\x20files\x20including\x20valid\x20ones','--version','--description\x20<desc>','parse','--last','--enriched','Custom\x20revision\x20name\x20(default:\x20timestamp)','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','New\x20segment\x20name','pull\x20[parent_or_file]','create\x20<parent_name>\x20<folder_name>','action','--from\x20<date>','buildTime','Maximum\x20rows\x20to\x20display','Preview\x20without\x20creating\x20the\x20project','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','--html\x20<html>','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','Sections\x20as\x20an\x20inline\x20JSON\x20array','--master','--to\x20<n>','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','GET','--session-time\x20<time>','--priority\x20<-2~2>','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','trino','submit\x20[query]','24844ZQaWIh','Read\x20request\x20body\x20from\x20file','connection','Remove\x20API\x20key\x20from\x20system\x20keychain','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','--engine-version\x20<version>','--output\x20<file>','Follow/watch\x20timeline\x20for\x20running\x20attempts','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','--rule-file\x20<file>','--chat-id\x20<id>','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','--param\x20<key=value>','Database\x20name','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','--resume-from\x20<task>','claude\x20[args...]','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','--tsv','Delete\x20a\x20workspace','sql\x20[name]','workspace','addHelpText','-p,\x20--profile\x20<name>','llm','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','replace','isTTY','12004MXxsfL','218568sTDGiR','show\x20<folder_ref>','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Preview\x20operation\x20without\x20executing','--limit\x20<number>','\x20-\x20built\x20','update\x20<segment_name>','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','name','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','token','-y,\x20--yes','Clear\x20session\x20context','Show\x20workspace\x20details','requiredOption','Duplicate\x20a\x20campaign','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','--behaviors\x20<json>','--session\x20<id>','--version\x20<number>','view\x20<name-or-path>','_hidden','clone\x20[source-dir]','--from\x20<timestamp>','--retry-limit\x20<0~32>','Attempt\x20ID','LLM\x20project\x20to\x20use\x20(overrides\x20context)','list\x20[path]','get','Usage:\x20','push\x20[parent_or_file]','--customer-group\x20<json>','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','Pull\x20child\x20segments\x20to\x20YAML\x20files','LLM\x20project\x20management','tasks','Start\x20a\x20new\x20chat\x20session','desc','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','set\x20<args...>','push\x20[target]','0.7','site','injectIntoOptions','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','setup','--type\x20<api_type>','Setup\x20API\x20key\x20authentication\x20interactively','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Validate\x20journey\x20YAML\x20files\x20locally','table','Resume\x20a\x20paused\x20always-on\x20campaign','-w,\x20--web','resume\x20<name-or-id>','update\x20<name>','argv','--workspace\x20<name>','Show\x20schedule\x20execution\x20history','-o,\x20--output\x20<dir>','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','--behaviors-file\x20<file>','show\x20[name]','Workflow\x20session\x20management','optionDescription','--json','show\x20[table]','Timezone\x20for\x20cron','--reeval','--timeout\x20<seconds>','attempt:','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Campaign\x20name','--time\x20<iso8601>','Show\x20campaign\x20details','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','mcp','login','Pull\x20campaigns\x20to\x20YAML\x20files','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','--help','--in\x20<db>','--delete','List\x20all\x20available\x20profiles','\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','Alias\x20for\x20--database\x20(natural\x20language\x20style)','push\x20[path]','--system-prompt\x20<text>','sessions\x20[project]','--in\x20<database>','\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','Delete\x20an\x20email\x20template','Parent\x20folder\x20name\x20for\x20nested\x20folders','Show\x20stats\x20for\x20specific\x20stage','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','resume\x20<name-or-path>','--no-eval','help','backup\x20<name>','Customer\x20group\x20as\x20JSON\x20string','--max-depth\x20<depth>','Include\x20raw\x20history\x20data\x20in\x20output','usage','Overwrite\x20local\x20changes\x20without\x20confirmation','use\x20<project-name>','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','Output\x20folder\x20(default:\x20{project_name}.llm)','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Plaintext\x20template\x20content','--start-at\x20<datetime>','create','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','Options:','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','35lDepCN','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','-X,\x20--method\x20<method>','Authentication\x20management','--jsonl','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','update\x20<name-or-id>','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','use\x20[name]','[task-name]','-H,\x20--header\x20<header>','Starter\x20message','Create\x20a\x20new\x20profile','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Personalization\x20management','--prompt\x20<text>','validate\x20[target]','list\x20[project]','--name\x20<new_name>','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Pull\x20specific\x20template\x20by\x20name','workflow','Result\x20output\x20destination\x20URL','directory','Show\x20authentication\x20status\x20and\x20current\x20context','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','Delete\x20an\x20LLM\x20project','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','--from-task\x20<task>','HTML\x20template\x20content','pause_activations\x20<journeyId>','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','Database\x20management\x20commands','Validate\x20template\x20YAML\x20files\x20locally','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Pause\x20a\x20campaign','clone\x20[source]','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','--color','--name\x20<new-name>','Include\x20retried\x20attempts\x20(for\x20list)','subcommandDescription','129882LJxjdB','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','use\x20<path>','description','pull\x20[name]','then','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Delay\x20in\x20seconds\x20before\x20execution','--num\x20<1-10>','engage','Update\x20an\x20existing\x20agent','--include-retried','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','DEBUG','--type\x20<type>','senders\x20[pattern]','Campaign\x20type\x20(email\x20or\x20push)','--llm-project\x20<name>','Show\x20master\x20table\x20sample\x20data','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','commandUsage','--folder-id\x20<id>','--audience-id\x20<id>','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','subcommandTerm','Database\x20name\x20(required)','Email\x20subject\x20template','templates\x20[pattern]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior',',\x20version\x20','YAML\x20file\x20path\x20for\x20unpushed\x20segment','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','length','delete\x20<name-or-id>','Journey\x20version\x20management','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Action:\x20logs,\x20tasks,\x20kill,\x20retry','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','\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','Submit\x20a\x20job','INVALID_ARGUMENT','--stream','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','parent','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','beefree','pull\x20[workspace-name]','--stage\x20<name>','--behavior\x20[name]','Make\x20service\x20public\x20(default:\x20private)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Update\x20a\x20workspace','create\x20<name>','New\x20service\x20name','outputHelp','create\x20<name-or-path>','folders\x20<parent_name>','Name\x20for\x20the\x20new\x20project\x20(required)','-o,\x20--output\x20<folder>','--folder\x20<name>','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','view\x20[name]','Create\x20a\x20workspace','sql\x20[segment_name]','--attempt-id\x20<id>','--default','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','delete\x20<token_id>\x20[parent_segment]','Campaign\x20management','_list-commands','delete\x20<service_id>\x20[parent_segment]','Invalid\x20--limit\x20value:\x20\x22','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','--next','show\x20<name>','catch','claude-4.5-sonnet','map','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','configuration_versions\x20[name]','--public','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','desc\x20[name]','--rule\x20<json>','repeat','Add\x20attributes\x20as\x20JSON\x20string','Database\x20to\x20query\x20(default:\x20information_schema)','RT\x202.0\x20configuration\x20management','--schedule-type\x20<type>','Project\x20description','--json-columns\x20<cols>','schedule','projects\x20[pattern]','Show\x20journey\x20details','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','Resume\x20a\x20conversation\x20(shows\x20selector)','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','required','Master\x20database\x20name','--max-tool-iterations\x20<n>','TRACE','pause\x20<name-or-id>','Output\x20directory','service','Filtering\x20rule\x20from\x20JSON\x20file','Update\x20an\x20always-on\x20campaign','hook','Override\x20project\x20name','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','Updated\x20description','auth','users','Finish\x20an\x20always-on\x20campaign','Show\x20timeline\x20for\x20specific\x20attempt','profile','split','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','\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\x20OAuth\x20tokens\x20to\x20profile-specific\x20keychain)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20OAuth\x20login\x20for\x20default\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--site\x20ap01\x20\x20\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20for\x20Japan\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--profile\x20dev\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20saved\x20to\x20\x27dev\x27\x20profile\x0a','history\x20<name>','--interval\x20<range>','27EVEyOk','Folder\x20name\x20for\x20organization','run\x20<name>','Timezone\x20(e.g.,\x20America/Los_Angeles)','secrets','push','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','options','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','--table\x20<table>','Skip\x20confirmation\x20prompt','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','models','Continue\x20most\x20recent\x20conversation','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Update\x20a\x20realtime\x20personalization\x20entity','Export\x20journey(s)\x20as\x20YAML\x20files','Create\x20a\x20new\x20campaign','retry\x20<session-id>','segment','Pull\x20specific\x20campaign\x20by\x20name','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','Show\x20job\x20details','List\x20activations\x20for\x20a\x20journey','Make\x20segment\x20invisible\x20(default:\x20visible)','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','List\x20agents\x20in\x20current\x20project','campaigns\x20[pattern]','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','-v,\x20--verbose'];a2_0x1590=function(){return _0x1e2316;};return a2_0x1590();}const engageCmd=program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x349))['description']('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x4351ef=>{return async(_0x4d5e71,_0x32db11)=>{const _0x203e40=new _0x4351ef(),_0x10e208=program['opts'](),_0x402300=await createTDXInstance(_0x10e208),_0x48ad22=await _0x203e40['run']({'options':{..._0x10e208,..._0x32db11},'args':[_0x4d5e71],'tdx':_0x402300});gracefulExit(_0x48ad22);};},createEngageNoArgAction=_0x5d9a4e=>{return async _0x5106eb=>{const _0x294428=a2_0x1c3b,_0x32de48=new _0x5d9a4e(),_0x78ef8c=program[_0x294428(0x431)](),_0x1f8605=await createTDXInstance(_0x78ef8c),_0x217aca=await _0x32de48[_0x294428(0x1bf)]({'options':{..._0x78ef8c,..._0x5106eb},'args':[],'tdx':_0x1f8605});gracefulExit(_0x217aca);};},createEngageListAction=_0x117a4d=>{return async(_0xa33bdf,_0x48e59e)=>{const _0x8d80ef=a2_0x1c3b,_0x43f8be=new _0x117a4d(),_0x1e0f99=program[_0x8d80ef(0x431)](),_0x21e4e9=await createTDXInstance(_0x1e0f99),_0x116f59=await _0x43f8be['run']({'options':{..._0x1e0f99,..._0x48e59e},'args':_0xa33bdf?[_0xa33bdf]:[],'tdx':_0x21e4e9});gracefulExit(_0x116f59);};},campaignCmd=engageCmd[a2_0x3e05f6(0x416)]('campaign')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x387));campaignCmd['command'](a2_0x3e05f6(0x1aa))['description'](a2_0x3e05f6(0x499))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x34e),a2_0x3e05f6(0x43b))['option']('--status\x20<status>',a2_0x3e05f6(0x2ec))[a2_0x3e05f6(0x3fc)]('--workspace\x20<name>',a2_0x3e05f6(0x1f3))[a2_0x3e05f6(0x270)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3de))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x37f))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x34e),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x440),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x3e05f6(0x3fc)]('--workspace\x20<name>','Workspace\x20name')[a2_0x3e05f6(0x270)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x3e05f6(0x416)]('show\x20<name-or-id>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2eb))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),'Workspace\x20name')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x41a),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x311))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3d4))[a2_0x3e05f6(0x2af)](a2_0x3e05f6(0x3e2),a2_0x3e05f6(0x2e9))[a2_0x3e05f6(0x2af)](a2_0x3e05f6(0x34e),'Campaign\x20type\x20(email\x20or\x20push)')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x208))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x267),'Campaign\x20description')['option']('--segment\x20<path>',a2_0x3e05f6(0x421))['option'](a2_0x3e05f6(0x25f),a2_0x3e05f6(0x1c7))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3a0),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')['option'](a2_0x3e05f6(0x310),a2_0x3e05f6(0x397))[a2_0x3e05f6(0x3fc)]('--timezone\x20<tz>',a2_0x3e05f6(0x300))[a2_0x3e05f6(0x270)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x31b))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x228))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3e2),'New\x20campaign\x20name')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x267),a2_0x3e05f6(0x19d))[a2_0x3e05f6(0x3fc)]('--segment\x20<path>',a2_0x3e05f6(0x421))['option'](a2_0x3e05f6(0x25f),a2_0x3e05f6(0x1c7))['option'](a2_0x3e05f6(0x3a0),a2_0x3e05f6(0x445))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x310),a2_0x3e05f6(0x397))[a2_0x3e05f6(0x3fc)]('--timezone\x20<tz>',a2_0x3e05f6(0x300))[a2_0x3e05f6(0x270)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x362))['description'](a2_0x3e05f6(0x1c2))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x22e),a2_0x3e05f6(0x3cc))[a2_0x3e05f6(0x270)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command'](a2_0x3e05f6(0x46f))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1fb))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))[a2_0x3e05f6(0x270)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3ac))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x339))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))[a2_0x3e05f6(0x270)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2d7))[a2_0x3e05f6(0x343)]('Resume\x20a\x20paused\x20campaign')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),'Workspace\x20name')[a2_0x3e05f6(0x270)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x3e05f6(0x416)]('duplicate\x20<name-or-id>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2b0))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))[a2_0x3e05f6(0x270)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x36f))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2ef))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),'Workspace\x20name')['option'](a2_0x3e05f6(0x3e2),a2_0x3e05f6(0x3d7))['option']('--type\x20<type>',a2_0x3e05f6(0x43b))[a2_0x3e05f6(0x3fc)]('--dry-run',a2_0x3e05f6(0x233))['action'](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2ca))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x19e))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))['option'](a2_0x3e05f6(0x192),a2_0x3e05f6(0x312))[a2_0x3e05f6(0x270)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x325))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3f4))[a2_0x3e05f6(0x3fc)]('--verbose',a2_0x3e05f6(0x265))[a2_0x3e05f6(0x270)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x3e05f6(0x416)]('always-on-campaign')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1bd));alwaysOnCampaignCmd['command'](a2_0x3e05f6(0x1aa))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2d2))[a2_0x3e05f6(0x3fc)]('--type\x20<type>',a2_0x3e05f6(0x43b))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x440),a2_0x3e05f6(0x3c7))[a2_0x3e05f6(0x2af)](a2_0x3e05f6(0x2da),'Workspace\x20name\x20(required)')[a2_0x3e05f6(0x270)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x3e05f6(0x416)]('always-on-campaigns\x20[pattern]')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x40c))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x34e),a2_0x3e05f6(0x43b))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x440),'Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')['requiredOption'](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x208))['action'](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x3e05f6(0x416)]('show\x20<name-or-id>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x239))[a2_0x3e05f6(0x2af)]('--workspace\x20<name>',a2_0x3e05f6(0x208))['option'](a2_0x3e05f6(0x41a),a2_0x3e05f6(0x2dd))[a2_0x3e05f6(0x270)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x3e05f6(0x416)]('create')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x470))[a2_0x3e05f6(0x2af)]('--name\x20<name>',a2_0x3e05f6(0x2e9))['requiredOption'](a2_0x3e05f6(0x34e),a2_0x3e05f6(0x350))[a2_0x3e05f6(0x2af)](a2_0x3e05f6(0x2da),'Workspace\x20name\x20(required)')[a2_0x3e05f6(0x3fc)]('--description\x20<desc>',a2_0x3e05f6(0x19d))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x1da),a2_0x3e05f6(0x425))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x453),a2_0x3e05f6(0x20b))[a2_0x3e05f6(0x270)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x31b))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3b0))[a2_0x3e05f6(0x2af)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x208))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3e2),a2_0x3e05f6(0x417))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x267),a2_0x3e05f6(0x19d))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x1da),a2_0x3e05f6(0x425))['option']('--enable-utm-tracking',a2_0x3e05f6(0x20b))['action'](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x362))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x291))[a2_0x3e05f6(0x2af)]('--workspace\x20<name>',a2_0x3e05f6(0x208))[a2_0x3e05f6(0x3fc)]('--yes',a2_0x3e05f6(0x3cc))['action'](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x46f))['description'](a2_0x3e05f6(0x45e))['requiredOption'](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x208))[a2_0x3e05f6(0x270)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3ac))[a2_0x3e05f6(0x343)]('Pause\x20an\x20always-on\x20campaign')[a2_0x3e05f6(0x2af)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x208))[a2_0x3e05f6(0x270)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2d7))['description'](a2_0x3e05f6(0x2d5))[a2_0x3e05f6(0x2af)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x208))['action'](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x409))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3b7))['requiredOption'](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x208))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x22e),a2_0x3e05f6(0x3cc))[a2_0x3e05f6(0x270)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd['command'](a2_0x3e05f6(0x40a))[a2_0x3e05f6(0x343)]('Duplicate\x20an\x20always-on\x20campaign')['requiredOption']('--workspace\x20<name>',a2_0x3e05f6(0x208))['requiredOption'](a2_0x3e05f6(0x3e2),a2_0x3e05f6(0x436))['action'](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd['command']('template')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1ae));templateCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1aa))['description'](a2_0x3e05f6(0x1b5))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))[a2_0x3e05f6(0x270)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x35c))[a2_0x3e05f6(0x343)]('List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))[a2_0x3e05f6(0x270)](createEngageListAction(EngageTemplatesCommand)),templateCmd['command']('show\x20<name-or-id>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1c5))['option']('--workspace\x20<name>',a2_0x3e05f6(0x1f3))[a2_0x3e05f6(0x3fc)]('--full',a2_0x3e05f6(0x2dd))['action'](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x3e05f6(0x416)]('create')['description']('Create\x20an\x20email\x20template')[a2_0x3e05f6(0x2af)]('--name\x20<name>','Template\x20name')['requiredOption'](a2_0x3e05f6(0x412),a2_0x3e05f6(0x35b))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x276),a2_0x3e05f6(0x332))[a2_0x3e05f6(0x3fc)]('--html-file\x20<path>',a2_0x3e05f6(0x42e))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x208))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x246),a2_0x3e05f6(0x30f))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x438),a2_0x3e05f6(0x277),_0x29ccca=>{const _0x5c6830=a2_0x3e05f6;if(![_0x5c6830(0x36e),_0x5c6830(0x219)]['includes'](_0x29ccca))throw new SDKError(ErrorCode[_0x5c6830(0x369)],_0x5c6830(0x1f1)+_0x29ccca+_0x5c6830(0x1e7));return _0x29ccca;})[a2_0x3e05f6(0x270)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x31b))['description'](a2_0x3e05f6(0x475))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))['option'](a2_0x3e05f6(0x3e2),a2_0x3e05f6(0x23e))['option'](a2_0x3e05f6(0x412),a2_0x3e05f6(0x35b))['option']('--html\x20<html>',a2_0x3e05f6(0x332))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x1a0),a2_0x3e05f6(0x42e))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x246),a2_0x3e05f6(0x30f))['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x441))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x482))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),'Workspace\x20name')['option'](a2_0x3e05f6(0x3e2),a2_0x3e05f6(0x329))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2ac),'Skip\x20confirmation\x20prompt')['option'](a2_0x3e05f6(0x192),a2_0x3e05f6(0x233))[a2_0x3e05f6(0x270)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2ca))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1eb))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))['option'](a2_0x3e05f6(0x2ac),a2_0x3e05f6(0x3cc))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x192),a2_0x3e05f6(0x312))[a2_0x3e05f6(0x270)](createEngageAction(EngageTemplatePushCommand)),templateCmd['command'](a2_0x3e05f6(0x325))['description'](a2_0x3e05f6(0x336))['option'](a2_0x3e05f6(0x42c),'Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x3e05f6(0x270)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x362))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2fd))['option'](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))['option'](a2_0x3e05f6(0x22e),a2_0x3e05f6(0x3cc))[a2_0x3e05f6(0x270)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x298))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x22b));workspaceCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1aa))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x366))['action'](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1ee))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x30c))['action'](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd['command']('show\x20<name-or-id>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2ae))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x41a),a2_0x3e05f6(0x2dd))[a2_0x3e05f6(0x270)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x311))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x381))[a2_0x3e05f6(0x2af)]('--name\x20<name>','Workspace\x20name')[a2_0x3e05f6(0x3fc)]('--description\x20<desc>',a2_0x3e05f6(0x498))[a2_0x3e05f6(0x270)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x31b))['description'](a2_0x3e05f6(0x374))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3e2),a2_0x3e05f6(0x45f))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x267),a2_0x3e05f6(0x498))[a2_0x3e05f6(0x270)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x362))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x296))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x22e),a2_0x3e05f6(0x3cc))[a2_0x3e05f6(0x270)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3e6))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x358))[a2_0x3e05f6(0x270)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x3e05f6(0x416)]('delivery')[a2_0x3e05f6(0x343)]('Delivery\x20operations\x20(email\x20senders)');deliveryCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x34f))['description']('List\x20email\x20senders')[a2_0x3e05f6(0x3fc)]('--workspace\x20<name>','Workspace\x20name')[a2_0x3e05f6(0x270)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x285))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x468)),connectionListAction=async _0x3d9e95=>{const _0x55369b=a2_0x3e05f6,_0x551e11=new ConnectionListCommand(),_0x210045=program[_0x55369b(0x431)](),_0x3674c7=await createTDXInstance(_0x210045),_0x3fc229=await _0x551e11['run']({'options':{..._0x210045,..._0x3d9e95},'args':[],'tdx':_0x3674c7});gracefulExit(_0x3fc229);};connectionCmd['command'](a2_0x3e05f6(0x22a))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1dd))[a2_0x3e05f6(0x270)](connectionListAction),program[a2_0x3e05f6(0x416)]('connections',{'hidden':!![]})[a2_0x3e05f6(0x343)]('List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)')[a2_0x3e05f6(0x270)](connectionListAction),connectionCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x38f))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x459))[a2_0x3e05f6(0x270)](async(_0x3ccfce,_0x211272)=>{const _0x2c03c4=a2_0x3e05f6,_0x7cf87=new ConnectionShowCommand(),_0x30b7e7=program[_0x2c03c4(0x431)](),_0x4150b5=await createTDXInstance(_0x30b7e7),_0x55243d=await _0x7cf87[_0x2c03c4(0x1bf)]({'options':{..._0x30b7e7,..._0x211272},'args':[_0x3ccfce],'tdx':_0x4150b5});gracefulExit(_0x55243d);}),connectionCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x216))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1a3))[a2_0x3e05f6(0x270)](async(_0xf0fe1c,_0x467639)=>{const _0x84a3f0=a2_0x3e05f6,_0x258177=new ConnectionSchemaCommand(),_0xed1569=program[_0x84a3f0(0x431)](),_0x38a0ff=await createTDXInstance(_0xed1569),_0x400cc3=await _0x258177[_0x84a3f0(0x1bf)]({'options':{..._0xed1569,..._0x467639},'args':[_0xf0fe1c],'tdx':_0x38a0ff});gracefulExit(_0x400cc3);}),connectionCmd[a2_0x3e05f6(0x416)]('types')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1c4))['action'](async _0x4aaea7=>{const _0x5f21ba=a2_0x3e05f6,_0x469fa3=new ConnectionTypesCommand(),_0x405a13=program[_0x5f21ba(0x431)](),_0x1a6259=await createTDXInstance(_0x405a13),_0x394aa0=await _0x469fa3[_0x5f21ba(0x1bf)]({'options':{..._0x405a13,..._0x4aaea7},'args':[],'tdx':_0x1a6259});gracefulExit(_0x394aa0);}),connectionCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3f9))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x408))[a2_0x3e05f6(0x270)](async(_0x329026,_0x5110b7)=>{const _0x447a46=a2_0x3e05f6,_0x344cbd=new ConnectionSettingsCommand(),_0x3fa786=program['opts'](),_0xd16df9=await createTDXInstance(_0x3fa786),_0x363354=await _0x344cbd[_0x447a46(0x1bf)]({'options':{..._0x3fa786,..._0x5110b7},'args':[_0x329026],'tdx':_0xd16df9});gracefulExit(_0x363354);});const journeyCmd=program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x405))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x44b)),journeyListAction=async(_0x57878b,_0x4b33a7)=>{const _0x2208fb=a2_0x3e05f6,_0xac217c=new JourneyListCommand(),_0x4573bc=program[_0x2208fb(0x431)](),_0x3482cb=await createTDXInstance(_0x4573bc),_0x58a17a=await _0xac217c['run']({'options':{..._0x4573bc,..._0x4b33a7},'args':_0x57878b?[_0x57878b]:[],'tdx':_0x3482cb});gracefulExit(_0x58a17a);};journeyCmd['command'](a2_0x3e05f6(0x1aa))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x46e))[a2_0x3e05f6(0x270)](journeyListAction),journeyCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2b6))['description'](a2_0x3e05f6(0x3a3))[a2_0x3e05f6(0x3fc)]('-w,\x20--web','Open\x20journey\x20in\x20web\x20browser')[a2_0x3e05f6(0x3fc)]('--include-stats',a2_0x3e05f6(0x1f2))['action'](async(_0x5c5770,_0x180e3a)=>{const _0x32992a=a2_0x3e05f6,_0x44c6a5=new JourneyViewCommand(),_0x1756e4=program[_0x32992a(0x431)](),_0x153a55=await createTDXInstance(_0x1756e4),_0x3265e2=await _0x44c6a5[_0x32992a(0x1bf)]({'options':{..._0x1756e4,..._0x180e3a},'args':[_0x5c5770],'tdx':_0x153a55});gracefulExit(_0x3265e2);}),journeyCmd[a2_0x3e05f6(0x416)]('stats\x20<name-or-path>')[a2_0x3e05f6(0x343)]('Show\x20journey\x20statistics')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x370),a2_0x3e05f6(0x2ff))['option'](a2_0x3e05f6(0x271),a2_0x3e05f6(0x364))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x489),a2_0x3e05f6(0x439))['option'](a2_0x3e05f6(0x48e),a2_0x3e05f6(0x307))[a2_0x3e05f6(0x270)](async(_0x5d096e,_0x34b5ff)=>{const _0x277eae=a2_0x3e05f6,_0x12de77=new JourneyStatsCommand(),_0x33727e=program[_0x277eae(0x431)](),_0x53ecd6=await createTDXInstance(_0x33727e),_0x322bc0=await _0x12de77['run']({'options':{..._0x33727e,..._0x34b5ff},'args':[_0x5d096e],'tdx':_0x53ecd6});gracefulExit(_0x322bc0);}),journeyCmd[a2_0x3e05f6(0x416)]('traffic\x20<name-or-path>')['description'](a2_0x3e05f6(0x36d))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x34e),a2_0x3e05f6(0x32e))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x271),'Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')['option']('--to\x20<date>','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x3e05f6(0x3fc)]('--limit\x20<number>',a2_0x3e05f6(0x199),_0xeb9e16=>{const _0x1de280=a2_0x3e05f6,_0x346300=parseInt(_0xeb9e16,0xa);if(isNaN(_0x346300))throw new Error(_0x1de280(0x38a)+_0xeb9e16+_0x1de280(0x218));return _0x346300;})[a2_0x3e05f6(0x270)](async(_0x1731c5,_0x2e8923)=>{const _0x593c8=a2_0x3e05f6,_0xbbc6aa=new JourneyTrafficCommand(),_0x391852=program[_0x593c8(0x431)](),_0x4f787f=await createTDXInstance(_0x391852),_0x200a09=await _0xbbc6aa['run']({'options':{..._0x391852,..._0x2e8923},'args':[_0x1731c5],'tdx':_0x4f787f});gracefulExit(_0x200a09);}),journeyCmd[a2_0x3e05f6(0x416)]('pause\x20<name-or-path>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3e5))['action'](async(_0x3cadaf,_0x178052)=>{const _0x2b75b3=a2_0x3e05f6,_0x251ad5=new JourneyPauseCommand(),_0x1c2511=program[_0x2b75b3(0x431)](),_0x29a345=await createTDXInstance(_0x1c2511),_0x4936fe=await _0x251ad5['run']({'options':{..._0x1c2511,..._0x178052},'args':[_0x3cadaf],'tdx':_0x29a345});gracefulExit(_0x4936fe);}),journeyCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x301))[a2_0x3e05f6(0x343)]('Resume\x20a\x20paused\x20journey')['action'](async(_0x27542e,_0x273228)=>{const _0x1c41f7=a2_0x3e05f6,_0x3890c8=new JourneyResumeCommand(),_0x31f32a=program[_0x1c41f7(0x431)](),_0xf2c15b=await createTDXInstance(_0x31f32a),_0x3c1b29=await _0x3890c8[_0x1c41f7(0x1bf)]({'options':{..._0x31f32a,..._0x273228},'args':[_0x27542e],'tdx':_0xf2c15b});gracefulExit(_0x3c1b29);}),journeyCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x344))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3d3))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x192),a2_0x3e05f6(0x346))[a2_0x3e05f6(0x270)](async(_0x1d8733,_0x3f6d52)=>{const _0x3f3223=a2_0x3e05f6,_0x229cfe=new JourneyPullCommand(),_0x24357f=program[_0x3f3223(0x431)](),_0x14acaf=await createTDXInstance(_0x24357f),_0x435878=await _0x229cfe[_0x3f3223(0x1bf)]({'options':{..._0x24357f,..._0x3f6d52},'args':_0x1d8733?[_0x1d8733]:[],'tdx':_0x14acaf});gracefulExit(_0x435878);}),journeyCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2ca))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x41c))[a2_0x3e05f6(0x270)](async(_0x557b21,_0x177392)=>{const _0x11e2b2=a2_0x3e05f6,_0x54166a=new JourneyPushCommand(),_0x49716b=program[_0x11e2b2(0x431)](),_0xcc321a=await createTDXInstance(_0x49716b),_0x526385=await _0x54166a[_0x11e2b2(0x1bf)]({'options':{..._0x49716b,..._0x177392},'args':_0x557b21?[_0x557b21]:[],'tdx':_0xcc321a});gracefulExit(_0x526385);}),journeyCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x483))['description'](a2_0x3e05f6(0x1b4))['action'](async(_0x1d79a3,_0x5e2194)=>{const _0x5647f2=a2_0x3e05f6,_0x2e35d6=new JourneyColumnsCommand(),_0x1fae7a=program[_0x5647f2(0x431)](),_0x45073=await createTDXInstance(_0x1fae7a),_0x3bf67e=await _0x2e35d6['run']({'options':{..._0x1fae7a,..._0x5e2194},'args':[_0x1d79a3],'tdx':_0x45073});gracefulExit(_0x3bf67e);}),journeyCmd[a2_0x3e05f6(0x416)]('activations\x20<name-or-path>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3da))[a2_0x3e05f6(0x270)](async(_0x25bc75,_0x26d8b7)=>{const _0x4ec734=a2_0x3e05f6,_0x341c85=new JourneyActivationsCommand(),_0x53a965=program[_0x4ec734(0x431)](),_0x25c6eb=await createTDXInstance(_0x53a965),_0xd4fb60=await _0x341c85['run']({'options':{..._0x53a965,..._0x26d8b7},'args':[_0x25bc75],'tdx':_0x25c6eb});gracefulExit(_0xd4fb60);}),journeyCmd[a2_0x3e05f6(0x416)]('versions\x20<name-or-path>')['description'](a2_0x3e05f6(0x427))[a2_0x3e05f6(0x270)](async(_0x413318,_0x3709f5)=>{const _0x4656a8=a2_0x3e05f6,_0x4df8ed=new JourneyVersionsCommand(),_0x25ca0e=program[_0x4656a8(0x431)](),_0x565aaa=await createTDXInstance(_0x25ca0e),_0x518631=await _0x4df8ed[_0x4656a8(0x1bf)]({'options':{..._0x25ca0e,..._0x3709f5},'args':[_0x413318],'tdx':_0x565aaa});gracefulExit(_0x518631);});const journeyVersionCmd=journeyCmd['command'](a2_0x3e05f6(0x43d))['description'](a2_0x3e05f6(0x363));journeyVersionCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x378))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x393))[a2_0x3e05f6(0x270)](async(_0x4ed352,_0x378aae)=>{const _0x2e6d84=a2_0x3e05f6,_0x4cece0=new JourneyVersionCreateCommand(),_0x38cba7=program[_0x2e6d84(0x431)](),_0x598a29=await createTDXInstance(_0x38cba7),_0x37ca1f=await _0x4cece0['run']({'options':{..._0x38cba7,..._0x378aae},'args':[_0x4ed352],'tdx':_0x598a29});gracefulExit(_0x37ca1f);}),journeyVersionCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2b6))[a2_0x3e05f6(0x343)]('View\x20a\x20specific\x20version\x20of\x20a\x20journey')[a2_0x3e05f6(0x2af)](a2_0x3e05f6(0x2b5),a2_0x3e05f6(0x24c))[a2_0x3e05f6(0x270)](async(_0x5d5dd6,_0x2ac9e2)=>{const _0x458467=a2_0x3e05f6,_0x77e239=new JourneyVersionViewCommand(),_0x53a7ae=program[_0x458467(0x431)](),_0xcea7e4=await createTDXInstance(_0x53a7ae),_0x248ff6=await _0x77e239[_0x458467(0x1bf)]({'options':{..._0x53a7ae,..._0x2ac9e2},'args':[_0x5d5dd6],'tdx':_0xcea7e4});gracefulExit(_0x248ff6);}),journeyCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x325))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2d3))[a2_0x3e05f6(0x270)](async(_0x4d1408,_0x33d442)=>{const _0x29cca8=a2_0x3e05f6,_0x116bc8=new JourneyValidateCommand(),_0x2e4857=program[_0x29cca8(0x431)](),_0x4f18f6=await createTDXInstance(_0x2e4857),_0x1412f3=await _0x116bc8[_0x29cca8(0x1bf)]({'options':{..._0x2e4857,..._0x33d442},'args':_0x4d1408?[_0x4d1408]:[],'tdx':_0x4f18f6});gracefulExit(_0x1412f3);}),program[a2_0x3e05f6(0x416)]('journeys\x20[pattern]')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x403))['action'](journeyListAction);const agentSyncCmd=program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x424))['description'](a2_0x3e05f6(0x196));agentSyncCmd[a2_0x3e05f6(0x416)]('pull\x20[project]\x20[agent-name]')[a2_0x3e05f6(0x343)]('Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2dc),a2_0x3e05f6(0x3ad))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x434),a2_0x3e05f6(0x309))[a2_0x3e05f6(0x3fc)]('-a,\x20--agent\x20<name>',a2_0x3e05f6(0x415))['action'](async(_0xd8b1e4,_0x237edf,_0x4aec8f)=>{const _0x2be5be=a2_0x3e05f6,_0x4b2420=new AgentPullCommand(),_0x44b1f0=program['opts'](),_0x258166=await createTDXInstance(_0x44b1f0),_0x3e6207=[];if(_0xd8b1e4)_0x3e6207[_0x2be5be(0x3c6)](_0xd8b1e4);if(_0x237edf)_0x3e6207[_0x2be5be(0x3c6)](_0x237edf);const _0x3cc02a=await _0x4b2420[_0x2be5be(0x1bf)]({'options':{..._0x44b1f0,..._0x4aec8f},'args':_0x3e6207,'tdx':_0x258166});gracefulExit(_0x3cc02a);}),agentSyncCmd['command'](a2_0x3e05f6(0x2f7))[a2_0x3e05f6(0x343)]('Push\x20local\x20agent\x20files\x20to\x20LLM\x20project')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x434),a2_0x3e05f6(0x47f))[a2_0x3e05f6(0x270)](async(_0xbdba22,_0x50bf44)=>{const _0x2d1be5=new AgentPushCommand(),_0x1dc599=program['opts'](),_0x66b023=await createTDXInstance(_0x1dc599),_0x10ecdb=await _0x2d1be5['run']({'options':{..._0x1dc599,..._0x50bf44},'args':_0xbdba22?[_0xbdba22]:[],'tdx':_0x66b023});gracefulExit(_0x10ecdb);}),agentSyncCmd['command'](a2_0x3e05f6(0x33a))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2b1))[a2_0x3e05f6(0x3fc)]('-n,\x20--name\x20<name>',a2_0x3e05f6(0x37a))[a2_0x3e05f6(0x270)](async(_0x4c3e90,_0x223f73)=>{const _0x5eaf57=a2_0x3e05f6,_0x9b467=new AgentCloneCommand(),_0x5f4d85=program[_0x5eaf57(0x431)](),_0x3f354c=await createTDXInstance(_0x5f4d85),_0x448944=await _0x9b467[_0x5eaf57(0x1bf)]({'options':{..._0x5f4d85,..._0x223f73},'args':_0x4c3e90?[_0x4c3e90]:[],'tdx':_0x3f354c});gracefulExit(_0x448944);}),agentSyncCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x195))[a2_0x3e05f6(0x343)]('Run\x20tests\x20for\x20an\x20LLM\x20agent')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x21a),a2_0x3e05f6(0x3f0))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x433),a2_0x3e05f6(0x2ce))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x192),'Parse\x20and\x20validate\x20without\x20executing')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x302),a2_0x3e05f6(0x437))['option'](a2_0x3e05f6(0x2e5),a2_0x3e05f6(0x3e3))[a2_0x3e05f6(0x270)](async(_0x110ce1,_0x2cc90d)=>{const _0x569d91=a2_0x3e05f6,_0x3b0dce=new AgentTestCommand(),_0x4081c4=program[_0x569d91(0x431)](),_0x4f414d=await createTDXInstance(_0x4081c4),_0x2d0257=await _0x3b0dce['run']({'options':{..._0x4081c4,..._0x2cc90d},'args':_0x110ce1?[_0x110ce1]:[],'tdx':_0x4f414d});gracefulExit(_0x2d0257);}),agentSyncCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1aa))['description'](a2_0x3e05f6(0x3dd))[a2_0x3e05f6(0x270)](llmAgentListAction),agentSyncCmd['command']('show\x20<agent-name>')[a2_0x3e05f6(0x343)]('Show\x20agent\x20details')[a2_0x3e05f6(0x270)](async(_0x3bcccc,_0x2986ec)=>{const _0x73a802=a2_0x3e05f6,_0x4c41f6=new LLMAgentShowCommand(),_0x1b1fee=program[_0x73a802(0x431)](),_0x224a2e=await createTDXInstance(_0x1b1fee),_0x3b49d1=await _0x4c41f6['run']({'options':{..._0x1b1fee,..._0x2986ec},'args':[_0x3bcccc],'tdx':_0x224a2e});gracefulExit(_0x3b49d1);}),agentSyncCmd['command'](a2_0x3e05f6(0x375))[a2_0x3e05f6(0x343)]('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2f8),a2_0x3e05f6(0x486))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x1ab),a2_0x3e05f6(0x458),a2_0x3e05f6(0x391))['option'](a2_0x3e05f6(0x1df),'Starter\x20message')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3aa),'Maximum\x20tool\x20iterations\x20(default:\x204)','4')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x19a),'Temperature\x20(0.0-2.0,\x20default:\x200.7)',a2_0x3e05f6(0x2cb))[a2_0x3e05f6(0x270)](async(_0x4e3b6c,_0x3cf711)=>{const _0x14ecc6=a2_0x3e05f6,_0x2d4679=new LLMAgentCreateCommand(),_0x481b9c=program[_0x14ecc6(0x431)](),_0x7d8d89=await createTDXInstance(_0x481b9c),_0x3236a6=await _0x2d4679[_0x14ecc6(0x1bf)]({'options':{..._0x481b9c,..._0x3cf711},'args':[_0x4e3b6c],'tdx':_0x7d8d89});gracefulExit(_0x3236a6);}),agentSyncCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1f8))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x34a))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x23d),a2_0x3e05f6(0x449))['option'](a2_0x3e05f6(0x324),'Agent\x20prompt/instructions')['option'](a2_0x3e05f6(0x47a),a2_0x3e05f6(0x24e))['option'](a2_0x3e05f6(0x1df),a2_0x3e05f6(0x320))[a2_0x3e05f6(0x270)](async(_0x42a50c,_0x3e69b8)=>{const _0x46f719=a2_0x3e05f6,_0xe904c4=new LLMAgentUpdateCommand(),_0x5bcf42=program['opts'](),_0xa73044=await createTDXInstance(_0x5bcf42),_0x40ba50=await _0xe904c4[_0x46f719(0x1bf)]({'options':{..._0x5bcf42,..._0x3e69b8},'args':[_0x42a50c],'tdx':_0xa73044});gracefulExit(_0x40ba50);}),agentSyncCmd['command'](a2_0x3e05f6(0x447))['description'](a2_0x3e05f6(0x41b))[a2_0x3e05f6(0x270)](async(_0x565187,_0x2e9ccb)=>{const _0x4c3fc2=a2_0x3e05f6,_0x12d3a9=new LLMAgentDeleteCommand(),_0x322f29=program[_0x4c3fc2(0x431)](),_0x2cfcb4=await createTDXInstance(_0x322f29),_0x36c035=await _0x12d3a9[_0x4c3fc2(0x1bf)]({'options':{..._0x322f29,..._0x2e9ccb},'args':[_0x565187],'tdx':_0x2cfcb4});gracefulExit(_0x36c035);}),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x388),{'hidden':!![]})[a2_0x3e05f6(0x270)](()=>{const _0x1ed841=a2_0x3e05f6;function _0x261aa0(_0x162b39,_0x4caf1c){const _0xcb781a=a2_0x1c3b,_0x4e2cc0=[];for(const _0x182c5e of _0x162b39[_0xcb781a(0x1c1)]){if(_0x182c5e[_0xcb781a(0x2b7)])continue;const _0x44dea5=_0x4caf1c?_0x4caf1c+'\x20'+_0x182c5e[_0xcb781a(0x2a9)]():_0x182c5e[_0xcb781a(0x2a9)](),_0x1b143b=_0x44dea5[_0xcb781a(0x3ba)]('\x20')[0x0],_0x4f0a4e=COMMAND_CATEGORIES[_0xcb781a(0x1bb)](_0x478767=>_0x478767[_0xcb781a(0x1c1)][_0xcb781a(0x3f1)](_0x1b143b)),_0x23c57c=_0x4f0a4e?.[_0xcb781a(0x2a9)]??'';if(_0x182c5e[_0xcb781a(0x1c1)][_0xcb781a(0x361)]>0x0)_0x4e2cc0['push'](..._0x261aa0(_0x182c5e,_0x44dea5));else{const _0x3f97b2=(_0x182c5e[_0xcb781a(0x3e9)]||[])[_0xcb781a(0x392)](_0x4bc73a=>{const _0xbe7179=_0xcb781a,_0x56c1cb=_0x4bc73a[_0xbe7179(0x242)]?_0x4bc73a[_0xbe7179(0x2a9)]()+'...':_0x4bc73a[_0xbe7179(0x2a9)]();return _0x4bc73a['required']?'<'+_0x56c1cb+'>':'['+_0x56c1cb+']';})[_0xcb781a(0x3fa)]('\x20'),_0xcfd5d2=_0x182c5e[_0xcb781a(0x3c9)]['filter'](_0x18ed89=>!_0x18ed89[_0xcb781a(0x404)]&&_0x18ed89['long']!==_0xcb781a(0x2f1))[_0xcb781a(0x392)](_0x5cfece=>({'flags':_0x5cfece[_0xcb781a(0x47b)],'description':_0x5cfece[_0xcb781a(0x343)]}));_0x4e2cc0[_0xcb781a(0x3c6)]({'name':_0x44dea5,'description':_0x182c5e['description'](),'group':_0x23c57c,'usage':_0x3f97b2,'options':_0xcfd5d2});}}return _0x4e2cc0;}console[_0x1ed841(0x247)](JSON['stringify'](_0x261aa0(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x4a87af=a2_0x3e05f6,_0x43e7fc=!process[_0x4a87af(0x2d9)][_0x4a87af(0x212)](0x2)[_0x4a87af(0x361)];showBriefHelp=_0x43e7fc,program[_0x4a87af(0x268)](process['argv']);_0x43e7fc&&program[_0x4a87af(0x377)]();const _0xd1cc27=process[_0x4a87af(0x2d9)][0x2]===_0x4a87af(0x496);if(process['stderr']['isTTY']&&process[_0x4a87af(0x2d9)][_0x4a87af(0x361)]>0x2&&!isDevVersion()&&!_0xd1cc27){const _0x34ac04=loadReleaseChannel();checkForUpdate(currentVersion,_0x34ac04)[_0x4a87af(0x345)](_0x29a682=>{_0x29a682&&displayUpdateNotification(_0x29a682);})[_0x4a87af(0x390)](()=>{});}}
|
|
1
|
+
const a2_0x3b23a2=a2_0x2d5f;(function(_0x33512a,_0x4ea07b){const _0x4c25ca=a2_0x2d5f,_0x4968b2=_0x33512a();while(!![]){try{const _0x2c8c92=-parseInt(_0x4c25ca(0x2f3))/0x1+-parseInt(_0x4c25ca(0x3d7))/0x2*(parseInt(_0x4c25ca(0x1b1))/0x3)+-parseInt(_0x4c25ca(0x262))/0x4*(-parseInt(_0x4c25ca(0x384))/0x5)+parseInt(_0x4c25ca(0x11b))/0x6*(parseInt(_0x4c25ca(0x177))/0x7)+parseInt(_0x4c25ca(0x39f))/0x8*(parseInt(_0x4c25ca(0x423))/0x9)+-parseInt(_0x4c25ca(0x20f))/0xa+parseInt(_0x4c25ca(0x301))/0xb;if(_0x2c8c92===_0x4ea07b)break;else _0x4968b2['push'](_0x4968b2['shift']());}catch(_0x21908e){_0x4968b2['push'](_0x4968b2['shift']());}}}(a2_0xe6b5,0xf34b1));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';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,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{AuthLoginCommand}from'./commands/auth-login-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{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process['argv'][a2_0x3b23a2(0x3f7)]('--version')){let versionOutput=a2_0x3b23a2(0x3e9)+currentVersion;buildInfo[a2_0x3b23a2(0x122)]&&!currentVersion[a2_0x3b23a2(0x3f7)](buildInfo[a2_0x3b23a2(0x122)])&&(versionOutput+='\x20('+buildInfo[a2_0x3b23a2(0x122)]+')'),buildInfo['buildTime']&&(versionOutput+=a2_0x3b23a2(0x37c)+buildInfo['buildTime']),console[a2_0x3b23a2(0x208)](versionOutput),process[a2_0x3b23a2(0x141)](0x0);}const program=new Command();export function mergeCommandOptions(_0x457ce5,_0x22ac10){const _0x5d5ea6=a2_0x3b23a2,_0x41f3bf={..._0x457ce5};for(const [_0x5f1ad1,_0xf9800d]of Object[_0x5d5ea6(0x31d)](_0x22ac10)){_0xf9800d!==undefined&&(_0x41f3bf[_0x5f1ad1]=_0xf9800d);}return _0x41f3bf;}let showBriefHelp=![],description='AI-native\x20CLI\x20for\x20Treasure\x20Data';buildInfo[a2_0x3b23a2(0x122)]&&!currentVersion[a2_0x3b23a2(0x3f7)](buildInfo[a2_0x3b23a2(0x122)])?description+=a2_0x3b23a2(0x1ea)+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=',\x20version\x20'+currentVersion;program[a2_0x3b23a2(0x3f3)](a2_0x3b23a2(0x34e))['description'](description),program['option'](a2_0x3b23a2(0x13e),a2_0x3b23a2(0x292))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x372),a2_0x3b23a2(0x1aa))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x31a),a2_0x3b23a2(0x1a6),a2_0x3b23a2(0x250))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x32b),a2_0x3b23a2(0x22a))['option']('--table',a2_0x3b23a2(0x170))['option'](a2_0x3b23a2(0x118),a2_0x3b23a2(0x279))[a2_0x3b23a2(0x2de)]('--jsonl',a2_0x3b23a2(0x2b0))[a2_0x3b23a2(0x2de)]('--tsv',a2_0x3b23a2(0x1fe))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x353),a2_0x3b23a2(0x3d2))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x402),'Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)')[a2_0x3b23a2(0x2de)]('--color',a2_0x3b23a2(0x3ac),![])[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x2a2),'Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)',![])[a2_0x3b23a2(0x2de)]('-v,\x20--verbose',a2_0x3b23a2(0x32d),![])[a2_0x3b23a2(0x2de)]('--debug',a2_0x3b23a2(0x41c))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x211),a2_0x3b23a2(0x248))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x166),a2_0x3b23a2(0x2f9),'30')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3ff),'Preview\x20operation\x20without\x20executing',![])[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x1ad),a2_0x3b23a2(0x217),![])[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x229),a2_0x3b23a2(0x22b))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x2c5),a2_0x3b23a2(0x158))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x25e),a2_0x3b23a2(0x35e)),program['configureHelp']({'formatHelp':(_0x1822f0,_0x1024c9)=>{const _0x23dc99=a2_0x3b23a2,_0x279d27=_0x1024c9[_0x23dc99(0x28d)](_0x1822f0,_0x1024c9),_0x29c26e=0x2,_0x31c548=0x2;function _0x257637(_0x338fcb){const _0x1d7557=_0x23dc99,_0x93849f=_0x338fcb;return!!(_0x93849f['_hidden']||_0x93849f[_0x1d7557(0x241)]);}function _0x1b3737(_0x5e9847,_0x337661){const _0x5a3dc5=_0x23dc99;if(_0x337661){const _0x54d38f=''+_0x5e9847[_0x5a3dc5(0x312)](_0x279d27+_0x31c548)+_0x337661;return _0x54d38f;}return _0x5e9847;}function _0x11684b(_0x3b211a){const _0x619f1f=_0x23dc99;return _0x3b211a[_0x619f1f(0x1e6)]('\x0a')[_0x619f1f(0x252)](/^/gm,'\x20'[_0x619f1f(0x157)](_0x29c26e));}const _0x88081a=[];_0x88081a[_0x23dc99(0x37b)](_0x23dc99(0x172)+_0x1024c9[_0x23dc99(0x31f)](_0x1822f0));const _0x5885c9=_0x1024c9[_0x23dc99(0x259)](_0x1822f0);_0x5885c9&&(_0x88081a[_0x23dc99(0x37b)](''),_0x88081a[_0x23dc99(0x37b)](_0x5885c9));const _0x402706=_0x1822f0['commands']['filter'](_0x4ae481=>!_0x257637(_0x4ae481));if(_0x402706['length']>0x0){if(_0x1822f0[_0x23dc99(0x3f3)]()===_0x23dc99(0x34e)){const _0x3c2b71=_0x1822f0[_0x23dc99(0x1b0)](),_0xb3d321=!_0x3c2b71[_0x23dc99(0x3b7)]&&process[_0x23dc99(0x133)][_0x23dc99(0x1c4)],_0x333077=COMMAND_CATEGORIES,_0x39734b=(_0x2155b4,_0x1accea)=>_0xb3d321?_0x1accea(_0x2155b4):_0x2155b4,_0x3d295e=new Map();_0x402706[_0x23dc99(0x2d2)](_0x1c87e8=>{const _0x2e41f6=_0x23dc99;_0x3d295e[_0x2e41f6(0x40b)](_0x1c87e8[_0x2e41f6(0x3f3)](),_0x1c87e8);}),_0x333077[_0x23dc99(0x2d2)](_0x1b0aba=>{const _0x3fa5ef=_0x23dc99,_0x1b9683=_0x1b0aba['commands'][_0x3fa5ef(0x2a5)](_0x1e2964=>_0x3d295e[_0x3fa5ef(0x3df)](_0x1e2964)??[]);if(_0x1b9683[_0x3fa5ef(0x2da)]>0x0){_0x88081a['push'](''),_0x88081a[_0x3fa5ef(0x37b)](_0x39734b(_0x1b0aba[_0x3fa5ef(0x3f3)]+':',_0x1b0aba[_0x3fa5ef(0x17d)]));const _0x56ccbe=_0x1b9683[_0x3fa5ef(0x16c)](_0x40aa84=>{const _0x34b63d=_0x3fa5ef,_0x4bbdb6=_0x1024c9[_0x34b63d(0x201)](_0x40aa84),_0x2f4c4e=_0x1024c9['subcommandDescription'](_0x40aa84);return _0x1b3737(_0x4bbdb6,_0x2f4c4e);});_0x88081a[_0x3fa5ef(0x37b)](_0x11684b(_0x56ccbe));}}),_0x88081a[_0x23dc99(0x37b)](''),_0x88081a[_0x23dc99(0x37b)](_0x23dc99(0x131));}else{const _0x4f99e3=_0x402706[_0x23dc99(0x16c)](_0x1697d2=>{const _0x4bdcbd=_0x23dc99,_0x3af291=_0x1024c9[_0x4bdcbd(0x201)](_0x1697d2),_0x2cc633=_0x1024c9[_0x4bdcbd(0x182)](_0x1697d2);return _0x1b3737(_0x3af291,_0x2cc633);});_0x88081a[_0x23dc99(0x37b)](''),_0x88081a[_0x23dc99(0x37b)]('Commands:'),_0x88081a[_0x23dc99(0x37b)](_0x11684b(_0x4f99e3));}}if(showBriefHelp&&_0x1822f0[_0x23dc99(0x3f3)]()===_0x23dc99(0x34e))_0x88081a[_0x23dc99(0x37b)](''),_0x88081a['push'](_0x23dc99(0x371));else{const _0xe2633f=_0x1822f0[_0x23dc99(0x33c)][_0x23dc99(0x375)](_0x287e9e=>!_0x257637(_0x287e9e));if(_0xe2633f['length']>0x0){const _0x188b5e=_0xe2633f[_0x23dc99(0x16c)](_0xd9dcb4=>{const _0x26a542=_0x23dc99,_0x445d3d=_0x1024c9[_0x26a542(0x1bb)](_0xd9dcb4),_0x1d9b1d=_0x1024c9['optionDescription'](_0xd9dcb4);return _0x1b3737(_0x445d3d,_0x1d9b1d);});_0x88081a[_0x23dc99(0x37b)](''),_0x88081a[_0x23dc99(0x37b)](_0x23dc99(0x410)),_0x88081a[_0x23dc99(0x37b)](_0x11684b(_0x188b5e));}}const _0x12266a=(_0x1822f0[_0x23dc99(0x3cb)]||[])[_0x23dc99(0x375)](_0x15fd01=>!_0x257637(_0x15fd01));if(_0x12266a[_0x23dc99(0x2da)]>0x0){const _0x1ef682=_0x12266a['map'](_0x3f9b4d=>{const _0x5a8204=_0x23dc99,_0x50425a=_0x1024c9['argumentTerm'](_0x3f9b4d),_0x397bf7=_0x1024c9[_0x5a8204(0x31c)](_0x3f9b4d);return _0x1b3737(_0x50425a,_0x397bf7);});_0x88081a[_0x23dc99(0x37b)](''),_0x88081a['push'](_0x23dc99(0x1e1)),_0x88081a[_0x23dc99(0x37b)](_0x11684b(_0x1ef682));}return _0x88081a[_0x23dc99(0x1e6)]('\x0a')+'\x0a';},'subcommandTerm':_0x4cb5da=>{const _0x57c87c=a2_0x3b23a2,_0x36dc6b=(_0x4cb5da['registeredArguments']||[])[_0x57c87c(0x16c)](_0x31da10=>_0x31da10['required']?'<'+_0x31da10[_0x57c87c(0x3f3)]()+'>':'['+_0x31da10[_0x57c87c(0x3f3)]()+']')['join']('\x20'),_0x550022=_0x4cb5da[_0x57c87c(0x234)](),_0x11283d=_0x550022['length']>0x0?_0x4cb5da['name']()+',\x20'+_0x550022[_0x57c87c(0x1e6)](',\x20'):_0x4cb5da[_0x57c87c(0x3f3)]();return _0x36dc6b?_0x11283d+'\x20'+_0x36dc6b:_0x11283d;}}),program[a2_0x3b23a2(0x385)](a2_0x3b23a2(0x295),_0xbe5916=>{const _0x1f44e5=a2_0x3b23a2,_0x469a3c=_0xbe5916['opts']();if(_0x469a3c['directory']){const _0xc52c75=resolve(_0x469a3c[_0x1f44e5(0x38f)]),_0x5da9a3=_0xc52c75!==_0x469a3c[_0x1f44e5(0x38f)]?_0x1f44e5(0x27c)+_0xc52c75+')':'';if(!existsSync(_0xc52c75))throw new SDKError(ErrorCode[_0x1f44e5(0x28c)],'Directory\x20does\x20not\x20exist:\x20'+_0x469a3c[_0x1f44e5(0x38f)]+_0x5da9a3,undefined,{'helpText':_0x1f44e5(0x212)});const _0x52ff65=statSync(_0xc52c75);if(!_0x52ff65[_0x1f44e5(0x1d8)]())throw new SDKError(ErrorCode[_0x1f44e5(0x28c)],_0x1f44e5(0x308)+_0x469a3c[_0x1f44e5(0x38f)]+_0x5da9a3,undefined,{'helpText':_0x1f44e5(0x1fd)});process['chdir'](_0xc52c75);}if(!_0x469a3c[_0x1f44e5(0x363)]){if(_0x469a3c[_0x1f44e5(0x328)])_0x469a3c[_0x1f44e5(0x363)]=_0x1f44e5(0x328);else{if(_0x469a3c[_0x1f44e5(0x227)])_0x469a3c[_0x1f44e5(0x363)]=_0x1f44e5(0x227);else{if(_0x469a3c[_0x1f44e5(0x27f)])_0x469a3c[_0x1f44e5(0x363)]=_0x1f44e5(0x27f);else _0x469a3c['tsv']&&(_0x469a3c[_0x1f44e5(0x363)]=_0x1f44e5(0x283));}}}if(_0x469a3c[_0x1f44e5(0x2af)])_0x469a3c['logLevel']=LogLevel['TRACE'];else{if(_0x469a3c[_0x1f44e5(0x2ef)])_0x469a3c[_0x1f44e5(0x1cd)]=LogLevel[_0x1f44e5(0x1ae)];else _0x469a3c[_0x1f44e5(0x1cd)]===undefined&&(_0x469a3c[_0x1f44e5(0x1cd)]=LogLevel[_0x1f44e5(0x3c9)]);}});async function createTDXInstance(_0x8cd4c7){const _0x3bba47=a2_0x3b23a2,_0x158d2a=await GlobalContext[_0x3bba47(0x32e)](_0x8cd4c7);return _0x158d2a[_0x3bba47(0x238)](_0x8cd4c7),TDX[_0x3bba47(0x195)]({'site':_0x158d2a[_0x3bba47(0x3e0)],'apiKey':_0x158d2a[_0x3bba47(0x1d0)],'accessToken':_0x158d2a[_0x3bba47(0x2e2)],'logLevel':_0x158d2a[_0x3bba47(0x1cd)],'profile':_0x158d2a[_0x3bba47(0x142)]});}const databaseCmd=program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x1e7))[a2_0x3b23a2(0x15f)]('db')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x349)),databaseListAction=async(_0x102f8b,_0x14cfd2)=>{const _0xe46f96=a2_0x3b23a2,_0x36f76e=new DatabasesCommand(),_0x579bf0=program[_0xe46f96(0x1b0)](),_0x68e57c=await createTDXInstance(_0x579bf0),_0x31ed15=await _0x36f76e[_0xe46f96(0x2e4)]({'options':{..._0x579bf0,..._0x14cfd2},'args':_0x102f8b?[_0x102f8b]:[],'tdx':_0x68e57c});gracefulExit(_0x31ed15);};databaseCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x32c))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3a0))[a2_0x3b23a2(0x1f8)](databaseListAction),program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x275),{'hidden':!![]})[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x407))['action'](databaseListAction),program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x139))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x405))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x226),a2_0x3b23a2(0x14b))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x26a),a2_0x3b23a2(0x1f7))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x281),'Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x120),a2_0x3b23a2(0x231))[a2_0x3b23a2(0x1f8)](async(_0x5c718d,_0x1d13c8)=>{const _0x3b9034=a2_0x3b23a2,_0x3c039b=program[_0x3b9034(0x1b0)](),_0x59fa2c=await createTDXInstance(_0x3c039b);if(_0x5c718d[0x0]===_0x3b9034(0x195)){const _0xa75d85=new ChatCreateCommand();gracefulExit(await _0xa75d85[_0x3b9034(0x2e4)]({'options':{..._0x3c039b,..._0x1d13c8},'args':_0x5c718d[_0x3b9034(0x2ed)](0x1),'tdx':_0x59fa2c}));return;}const _0x1e0cdc=new ChatCommand(),_0x3e9ef9=await _0x1e0cdc[_0x3b9034(0x2e4)]({'options':{..._0x3c039b,..._0x1d13c8},'args':_0x5c718d,'tdx':_0x59fa2c});gracefulExit(_0x3e9ef9);});const apiCmd=program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x233))[a2_0x3b23a2(0x3d1)]('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs')['addHelpText'](a2_0x3b23a2(0x267),a2_0x3b23a2(0x237))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x272),a2_0x3b23a2(0x3f5),a2_0x3b23a2(0x400))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x2ce),a2_0x3b23a2(0x345))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x35a),'Read\x20request\x20body\x20from\x20file')['option'](a2_0x3b23a2(0x15b),a2_0x3b23a2(0x299),(_0x2315b9,_0x45c40a)=>{return _0x45c40a?[..._0x45c40a,_0x2315b9]:[_0x2315b9];})[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3fc),a2_0x3b23a2(0x3ab),'td')[a2_0x3b23a2(0x1f8)](async(_0x44bfd2,_0x43f901)=>{const _0x5c9df3=a2_0x3b23a2;if(!_0x44bfd2){apiCmd[_0x5c9df3(0x317)]();return;}const _0x1d1f3f=new ApiCommand(),_0x17631d=program[_0x5c9df3(0x1b0)](),_0x2f1895=await createTDXInstance(_0x17631d),_0x479107=await _0x1d1f3f[_0x5c9df3(0x2e4)]({'options':{..._0x17631d,..._0x43f901},'args':[_0x44bfd2],'tdx':_0x2f1895});gracefulExit(_0x479107);});program['command']('mcp')[a2_0x3b23a2(0x3db)]('Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration')['addHelpText'](a2_0x3b23a2(0x267),a2_0x3b23a2(0x197))[a2_0x3b23a2(0x1f8)](async _0x6e67c1=>{const _0x446389=a2_0x3b23a2,_0x2e515e=new MCPCommand(),_0x125f4e=program[_0x446389(0x1b0)](),_0xf4f4c7=await createTDXInstance(_0x125f4e),_0x33f525=await _0x2e515e[_0x446389(0x2e4)]({'options':{..._0x125f4e,..._0x6e67c1},'args':[],'tdx':_0xf4f4c7});gracefulExit(_0x33f525);});const tableCmd=program['command'](a2_0x3b23a2(0x328))['description']('Table\x20management\x20commands'),tableListAction=async(_0xaa86a1,_0x207ed7)=>{const _0x1cb3ff=a2_0x3b23a2,_0x424b8f=new TablesCommand(),_0x332c70=program['opts'](),_0x349a30=await createTDXInstance(_0x332c70);_0x207ed7['in']&&(_0x207ed7[_0x1cb3ff(0x1e7)]=_0x207ed7['in']);const _0x288b55=await _0x424b8f['run']({'options':{..._0x332c70,..._0x207ed7},'args':_0xaa86a1?[_0xaa86a1]:[],'tdx':_0x349a30});gracefulExit(_0x288b55);};tableCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x32c))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x36e))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x408),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x346),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x3b23a2(0x1f8)](tableListAction),program[a2_0x3b23a2(0x316)]('tables\x20[pattern]',{'hidden':!![]})['description']('List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)')[a2_0x3b23a2(0x2de)]('-d,\x20--database\x20<database>',a2_0x3b23a2(0x35f))['option'](a2_0x3b23a2(0x346),a2_0x3b23a2(0x334))[a2_0x3b23a2(0x1f8)](tableListAction),program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x147))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3bc))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x408),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x3b23a2(0x2de)]('--in\x20<database>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x3b23a2(0x1f8)](async(_0x1778ff,_0x5a6c73)=>{const _0x23cbd4=a2_0x3b23a2,_0x2fdef6=new ShowCommand(),_0x13d941=program[_0x23cbd4(0x1b0)](),_0x18cba1=await createTDXInstance(_0x13d941);_0x5a6c73['in']&&(_0x5a6c73[_0x23cbd4(0x1e7)]=_0x5a6c73['in']);const _0x5cdeef=await _0x2fdef6['run']({'options':{..._0x13d941,..._0x5a6c73},'args':_0x1778ff?[_0x1778ff]:[],'tdx':_0x18cba1});gracefulExit(_0x5cdeef);}),program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x3ef))[a2_0x3b23a2(0x15f)]('desc')['description'](a2_0x3b23a2(0x36f))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x408),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x346),a2_0x3b23a2(0x334))[a2_0x3b23a2(0x1f8)](async(_0xeaf54a,_0x1b3dd0)=>{const _0x6f6708=a2_0x3b23a2,_0x1a975d=new DescribeCommand(),_0xb717eb=program['opts'](),_0x40b084=await createTDXInstance(_0xb717eb);_0x1b3dd0['in']&&(_0x1b3dd0[_0x6f6708(0x1e7)]=_0x1b3dd0['in']);const _0x3b62cb=await _0x1a975d['run']({'options':{..._0xb717eb,..._0x1b3dd0},'args':_0xeaf54a?[_0xeaf54a]:[],'tdx':_0x40b084});gracefulExit(_0x3b62cb);}),program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x1d3))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x300))['option']('-d,\x20--database\x20<database>','Database\x20to\x20query\x20(default:\x20information_schema)')[a2_0x3b23a2(0x2de)]('--in\x20<database>',a2_0x3b23a2(0x334))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x1c1),'Trino\x20catalog\x20(default:\x20td)')[a2_0x3b23a2(0x2de)]('-f,\x20--file\x20<path>','Read\x20SQL\x20query\x20from\x20file')['option'](a2_0x3b23a2(0x1c3),a2_0x3b23a2(0x3eb))['action'](async(_0x4dcda9,_0x324548)=>{const _0x234349=a2_0x3b23a2,_0x39fd3e=new QueryCommand(),_0x37859b=program['opts'](),_0x46af39=await createTDXInstance(_0x37859b);_0x324548['in']&&(_0x324548[_0x234349(0x1e7)]=_0x324548['in']);const _0x332d91=await _0x39fd3e['run']({'options':mergeCommandOptions(_0x37859b,_0x324548),'args':_0x4dcda9?[_0x4dcda9]:[],'tdx':_0x46af39});gracefulExit(_0x332d91);});const segmentCmd=program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x11a))[a2_0x3b23a2(0x15f)]('sg')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x37d)),segmentListAction=async(_0x401338,_0x129315)=>{const _0x211047=a2_0x3b23a2,_0xd19766=new SegmentsCommand(),_0x3230c7=program[_0x211047(0x1b0)](),_0x18d59e=await createTDXInstance(_0x3230c7),_0x434f11=await _0xd19766['run']({'options':{..._0x3230c7,..._0x129315},'args':_0x401338?[_0x401338]:[],'tdx':_0x18d59e});gracefulExit(_0x434f11);};segmentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x206))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x39c))[a2_0x3b23a2(0x2de)]('-r,\x20--recursive','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')['option']('--max-depth\x20<depth>',a2_0x3b23a2(0x136),'10')[a2_0x3b23a2(0x1f8)](segmentListAction),program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x137),{'hidden':!![]})['description'](a2_0x3b23a2(0x3c6))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x365),a2_0x3b23a2(0x3a1))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x223),a2_0x3b23a2(0x136),'10')[a2_0x3b23a2(0x1f8)](segmentListAction),segmentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x32a),{'hidden':!![]})[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x2a0))['action'](async(_0x3adbee,_0x4d0c86)=>{const _0x1a0b61=new SegmentUseCommand(),_0x238785=program['opts'](),_0x5ce0f2=await createTDXInstance(_0x238785),_0x2f92bb=await _0x1a0b61['run']({'options':{..._0x238785,..._0x4d0c86},'args':[_0x3adbee],'tdx':_0x5ce0f2});gracefulExit(_0x2f92bb);});const segmentViewAction=async(_0x540f1b,_0x52225a)=>{const _0x373f95=a2_0x3b23a2,_0x187d0f=new SegmentViewCommand(),_0x5561d7=program[_0x373f95(0x1b0)](),_0x326764=await createTDXInstance(_0x5561d7),_0x3f4fb5=await _0x187d0f[_0x373f95(0x2e4)]({'options':{..._0x5561d7,..._0x52225a},'args':_0x540f1b?[_0x540f1b]:[],'tdx':_0x326764});gracefulExit(_0x3f4fb5);};segmentCmd['command']('view\x20[segment_name]')[a2_0x3b23a2(0x3db)]('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x213),a2_0x3b23a2(0x119))[a2_0x3b23a2(0x1f8)](segmentViewAction),segmentCmd['command'](a2_0x3b23a2(0x318),{'hidden':!![]})[a2_0x3b23a2(0x15f)](a2_0x3b23a2(0x1d6))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x213),a2_0x3b23a2(0x119))[a2_0x3b23a2(0x3db)]('Show\x20segment\x20details\x20(alias\x20for\x20view)')[a2_0x3b23a2(0x1f8)](segmentViewAction),segmentCmd['command'](a2_0x3b23a2(0x28e))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x221))[a2_0x3b23a2(0x1f8)](async(_0x39d0ec,_0x21c2d9)=>{const _0x34708d=a2_0x3b23a2,_0x16b61b=new SegmentDescCommand(),_0x4a6a04=program[_0x34708d(0x1b0)](),_0x1b4c33=await createTDXInstance(_0x4a6a04),_0x1e9bc5=await _0x16b61b[_0x34708d(0x2e4)]({'options':{..._0x4a6a04,..._0x21c2d9},'args':_0x39d0ec?[_0x39d0ec]:[],'tdx':_0x1b4c33});gracefulExit(_0x1e9bc5);}),segmentCmd[a2_0x3b23a2(0x316)]('show\x20[segment_name]')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x191))['action'](async(_0x23a5f1,_0x13f16b)=>{const _0x44e13a=a2_0x3b23a2,_0x5cfbcd=new SegmentShowCommand(),_0x256278=program[_0x44e13a(0x1b0)](),_0x5e5e3d=await createTDXInstance(_0x256278),_0x1fe4ea=await _0x5cfbcd[_0x44e13a(0x2e4)]({'options':{..._0x256278,..._0x13f16b},'args':_0x23a5f1?[_0x23a5f1]:[],'tdx':_0x5e5e3d});gracefulExit(_0x1fe4ea);}),segmentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x19c),{'hidden':!![]})[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x321))[a2_0x3b23a2(0x1f8)](async(_0x5994a3,_0x57733a)=>{const _0x104dd9=a2_0x3b23a2,_0x33ddb3=new SegmentFolderListCommand(),_0x38e29d=program[_0x104dd9(0x1b0)](),_0x3803dc=await createTDXInstance(_0x38e29d),_0x2e69d8=await _0x33ddb3[_0x104dd9(0x2e4)]({'options':{..._0x38e29d,..._0x57733a},'args':[_0x5994a3],'tdx':_0x3803dc});gracefulExit(_0x2e69d8);});const folderCmd=segmentCmd['command']('folder',{'hidden':!![]})[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3e8));folderCmd[a2_0x3b23a2(0x316)]('show\x20<folder_ref>')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x22f))[a2_0x3b23a2(0x1f8)](async(_0x3459b2,_0x48b055)=>{const _0x301ab6=a2_0x3b23a2,_0x3ac108=new SegmentFolderShowCommand(),_0x3d4a02=program[_0x301ab6(0x1b0)](),_0x458790=await createTDXInstance(_0x3d4a02),_0x26f042=await _0x3ac108[_0x301ab6(0x2e4)]({'options':{..._0x3d4a02,..._0x48b055},'args':[_0x3459b2],'tdx':_0x458790});gracefulExit(_0x26f042);}),segmentCmd['command'](a2_0x3b23a2(0x140))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x282))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x175),'YAML\x20file\x20path\x20for\x20unpushed\x20segment')['action'](async(_0x1f659e,_0x1da2f4)=>{const _0x20e45e=a2_0x3b23a2,_0x2a719e=new SegmentSQLCommand(),_0x3e6455=program[_0x20e45e(0x1b0)](),_0xf927cd=await createTDXInstance(_0x3e6455),_0x73b868=await _0x2a719e[_0x20e45e(0x2e4)]({'options':{..._0x3e6455,..._0x1da2f4},'args':_0x1f659e?[_0x1f659e]:[],'tdx':_0xf927cd});gracefulExit(_0x73b868);}),segmentCmd[a2_0x3b23a2(0x316)]('fields\x20[parent_name]')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x198))[a2_0x3b23a2(0x1f8)](async(_0x59a1d3,_0x4bc3d1)=>{const _0x8d03a4=a2_0x3b23a2,_0x3af410=new SegmentFieldsCommand(),_0x2ff76d=program[_0x8d03a4(0x1b0)](),_0x203551=await createTDXInstance(_0x2ff76d),_0x3ce691=await _0x3af410['run']({'options':{..._0x2ff76d,..._0x4bc3d1},'args':_0x59a1d3?[_0x59a1d3]:[],'tdx':_0x203551});gracefulExit(_0x3ce691);}),segmentCmd[a2_0x3b23a2(0x316)]('pull\x20[parent_or_file]')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x276))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3ff),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x3b23a2(0x1f8)](async(_0x2656ae,_0xffab2a)=>{const _0x52fefa=a2_0x3b23a2,_0x41f987=new SegmentPullCommand(),_0x22ca51=program[_0x52fefa(0x1b0)](),_0x349633=await createTDXInstance(_0x22ca51),_0x2d941b=await _0x41f987[_0x52fefa(0x2e4)]({'options':{..._0x22ca51,..._0xffab2a},'args':_0x2656ae?[_0x2656ae]:[],'tdx':_0x349633});gracefulExit(_0x2d941b);}),segmentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x1bf))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x391))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3ff),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')['option'](a2_0x3b23a2(0x2a7),a2_0x3b23a2(0x153))[a2_0x3b23a2(0x1f8)](async(_0x5dca7c,_0x22ffc7)=>{const _0x3b3485=a2_0x3b23a2,_0x470284=new SegmentPushCommand(),_0x557d8c=program[_0x3b3485(0x1b0)](),_0x37f1ab=await createTDXInstance(_0x557d8c),_0x41e0b5=await _0x470284[_0x3b3485(0x2e4)]({'options':{..._0x557d8c,..._0x22ffc7},'args':_0x5dca7c?[_0x5dca7c]:[],'tdx':_0x37f1ab});gracefulExit(_0x41e0b5);}),segmentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x12c))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x418))[a2_0x3b23a2(0x1f8)](async(_0x31955b,_0x58d505)=>{const _0x11d5dc=a2_0x3b23a2,_0x5b8430=new SegmentValidateCommand(),_0x1c9988=program[_0x11d5dc(0x1b0)](),_0x2439cc=await createTDXInstance(_0x1c9988),_0x196db2=await _0x5b8430['run']({'options':{..._0x1c9988,..._0x58d505},'args':_0x31955b?[_0x31955b]:[],'tdx':_0x2439cc});gracefulExit(_0x196db2);}),segmentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x1ba),{'hidden':!![]})[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3d0))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x356),a2_0x3b23a2(0x362))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x335),'Filtering\x20rule\x20as\x20JSON\x20string')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3b3),a2_0x3b23a2(0x2d0))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3a2),a2_0x3b23a2(0x270))['option']('--kind\x20<type>',a2_0x3b23a2(0x149))['option'](a2_0x3b23a2(0x1a7),a2_0x3b23a2(0x132))['option'](a2_0x3b23a2(0x33a),a2_0x3b23a2(0x29f))['action'](async(_0x57aeac,_0xed9a6e)=>{const _0x1fff70=a2_0x3b23a2,_0x80b599=new SegmentCreateCommand(),_0x591293=program[_0x1fff70(0x1b0)](),_0x318833=await createTDXInstance(_0x591293),_0x40b07d=await _0x80b599['run']({'options':{..._0x591293,..._0xed9a6e},'args':[_0x57aeac],'tdx':_0x318833});gracefulExit(_0x40b07d);}),segmentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x2f0),{'hidden':!![]})[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3f4))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3be),'New\x20segment\x20name')[a2_0x3b23a2(0x2de)]('--description\x20<text>','Updated\x20description')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x335),a2_0x3b23a2(0x2b3))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3b3),'Updated\x20filtering\x20rule\x20from\x20JSON\x20file')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3a2),a2_0x3b23a2(0x1a0))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x20e),a2_0x3b23a2(0x149))['action'](async(_0x36b791,_0xfa6888)=>{const _0x1657c9=a2_0x3b23a2,_0x496d95=new SegmentUpdateCommand(),_0x314862=program['opts'](),_0x26d2f7=await createTDXInstance(_0x314862),_0x22a2c2=await _0x496d95[_0x1657c9(0x2e4)]({'options':{..._0x314862,..._0xfa6888},'args':[_0x36b791],'tdx':_0x26d2f7});gracefulExit(_0x22a2c2);});const parentCmd=segmentCmd['command']('parent',{'hidden':!![]})['description'](a2_0x3b23a2(0x41a)),parentListAction=async(_0x5f03f2,_0xac0745)=>{const _0x9a7a76=new ParentSegmentListCommand(),_0x5441ee=program['opts'](),_0x2dc03c=await createTDXInstance(_0x5441ee),_0x806c52=await _0x9a7a76['run']({'options':{..._0x5441ee,..._0xac0745},'args':_0x5f03f2?[_0x5f03f2]:[],'tdx':_0x2dc03c});gracefulExit(_0x806c52);};parentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x32c))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x415))[a2_0x3b23a2(0x1f8)](parentListAction),segmentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x3e4),{'hidden':!![]})[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x204))['action'](parentListAction),parentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x24a))['description']('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x29b),a2_0x3b23a2(0x34c))[a2_0x3b23a2(0x1f8)](async(_0x36e400,_0x261a21)=>{const _0x148304=a2_0x3b23a2,_0x80d733=new ParentSegmentPullCommand(),_0x2f919a=program[_0x148304(0x1b0)](),_0x4c423f=await createTDXInstance(_0x2f919a),_0x353123=await _0x80d733[_0x148304(0x2e4)]({'options':{..._0x2f919a,..._0x261a21},'args':_0x36e400?[_0x36e400]:[],'tdx':_0x4c423f});gracefulExit(_0x353123);}),parentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x1c2))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x340))[a2_0x3b23a2(0x1f8)](async(_0x4ae202,_0x2cc350)=>{const _0x887496=a2_0x3b23a2,_0x2d056a=new ParentSegmentPushCommand(),_0x4ff815=program['opts'](),_0x545219=await createTDXInstance(_0x4ff815),_0x163df0=await _0x2d056a[_0x887496(0x2e4)]({'options':{..._0x4ff815,..._0x2cc350},'args':_0x4ae202?[_0x4ae202]:[],'tdx':_0x545219});gracefulExit(_0x163df0);}),parentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x30e))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x2e8))['option'](a2_0x3b23a2(0x18b),'Show\x20only\x20master\x20table\x20validation')['option']('--attribute\x20[name]',a2_0x3b23a2(0x214))[a2_0x3b23a2(0x2de)]('--behavior\x20[name]',a2_0x3b23a2(0x16d))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x274),a2_0x3b23a2(0x193))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3b9),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x3b23a2(0x383))['action'](async(_0x455c29,_0x5445da)=>{const _0x22a241=a2_0x3b23a2,_0x1de9a6=new ParentSegmentValidateCommand(),_0xd600b1=program[_0x22a241(0x1b0)](),_0x3ca85=await createTDXInstance(_0xd600b1),_0x317346=await _0x1de9a6[_0x22a241(0x2e4)]({'options':{..._0xd600b1,..._0x5445da},'args':_0x455c29?[_0x455c29]:[],'tdx':_0x3ca85});gracefulExit(_0x317346);}),parentCmd['command'](a2_0x3b23a2(0x1f9))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x261))['option'](a2_0x3b23a2(0x18b),a2_0x3b23a2(0x39a))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x2c2),a2_0x3b23a2(0x389))[a2_0x3b23a2(0x2de)]('--behavior\x20[name]',a2_0x3b23a2(0x3ba))['option'](a2_0x3b23a2(0x274),a2_0x3b23a2(0x151))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3b9),a2_0x3b23a2(0x3a8),a2_0x3b23a2(0x383))['action'](async(_0x21b1f3,_0x3fce6b)=>{const _0x3d9d43=a2_0x3b23a2,_0x2fe46f=new ParentSegmentPreviewCommand(),_0x314622=program[_0x3d9d43(0x1b0)](),_0x4f23f0=await createTDXInstance(_0x314622),_0x524d97=await _0x2fe46f[_0x3d9d43(0x2e4)]({'options':{..._0x314622,..._0x3fce6b},'args':_0x21b1f3?[_0x21b1f3]:[],'tdx':_0x4f23f0});gracefulExit(_0x524d97);}),parentCmd[a2_0x3b23a2(0x316)]('run\x20[name]')[a2_0x3b23a2(0x3db)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x3b23a2(0x1f8)](async(_0x558aba,_0xb4d4e4)=>{const _0x3a6802=a2_0x3b23a2,_0x154063=new ParentSegmentRunCommand(),_0x1a6e63=program[_0x3a6802(0x1b0)](),_0x2b000d=await createTDXInstance(_0x1a6e63),_0x5984b0=await _0x154063[_0x3a6802(0x2e4)]({'options':{..._0x1a6e63,..._0xb4d4e4},'args':_0x558aba?[_0x558aba]:[],'tdx':_0x2b000d});gracefulExit(_0x5984b0);});const parentSegmentCmd=program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x2d4))['alias']('ps')['description'](a2_0x3b23a2(0x199));parentSegmentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x32c))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x415))[a2_0x3b23a2(0x1f8)](parentListAction),parentSegmentCmd['command'](a2_0x3b23a2(0x24a))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x388))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x29b),a2_0x3b23a2(0x2b1))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x26e),a2_0x3b23a2(0x3e1))['action'](async(_0x5694d3,_0x25624b)=>{const _0x177d11=a2_0x3b23a2,_0x2fab94=new ParentSegmentPullCommand(),_0x3ea3e7=program[_0x177d11(0x1b0)](),_0x543eb5=await createTDXInstance(_0x3ea3e7),_0x161ba1=await _0x2fab94['run']({'options':{..._0x3ea3e7,..._0x25624b},'args':_0x5694d3?[_0x5694d3]:[],'tdx':_0x543eb5});gracefulExit(_0x161ba1);}),parentSegmentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x11e))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3ee))[a2_0x3b23a2(0x1f8)](async(_0x73abac,_0x406ebb)=>{const _0x13bbe3=a2_0x3b23a2,_0xd545d8=new ParentSegmentPushCommand(),_0x1472f2=program[_0x13bbe3(0x1b0)](),_0xf8aa22=await createTDXInstance(_0x1472f2),_0x5b78f0=await _0xd545d8[_0x13bbe3(0x2e4)]({'options':{..._0x1472f2,..._0x406ebb},'args':_0x73abac?[_0x73abac]:[],'tdx':_0xf8aa22});gracefulExit(_0x5b78f0);}),parentSegmentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x186))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x2e8))[a2_0x3b23a2(0x2de)]('--master',a2_0x3b23a2(0x1c6))[a2_0x3b23a2(0x2de)]('--attribute\x20[name]',a2_0x3b23a2(0x214))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3c8),a2_0x3b23a2(0x16d))['option']('--enriched',a2_0x3b23a2(0x193))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3b9),a2_0x3b23a2(0x3a8),a2_0x3b23a2(0x383))[a2_0x3b23a2(0x1f8)](async(_0x897413,_0x17c936)=>{const _0x212b68=a2_0x3b23a2,_0x271064=new ParentSegmentValidateCommand(),_0x3831d7=program[_0x212b68(0x1b0)](),_0xde7682=await createTDXInstance(_0x3831d7),_0x22a2ec=await _0x271064[_0x212b68(0x2e4)]({'options':{..._0x3831d7,..._0x17c936},'args':_0x897413?[_0x897413]:[],'tdx':_0xde7682});gracefulExit(_0x22a2ec);}),parentSegmentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x327))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x261))[a2_0x3b23a2(0x2de)]('--master',a2_0x3b23a2(0x39a))['option'](a2_0x3b23a2(0x2c2),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x3b23a2(0x2de)]('--behavior\x20[name]',a2_0x3b23a2(0x3ba))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x274),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3b9),a2_0x3b23a2(0x3a8),a2_0x3b23a2(0x383))[a2_0x3b23a2(0x1f8)](async(_0x2a8dd2,_0x27da6a)=>{const _0x50f30b=a2_0x3b23a2,_0x2aed74=new ParentSegmentPreviewCommand(),_0x199e30=program[_0x50f30b(0x1b0)](),_0x5f5670=await createTDXInstance(_0x199e30),_0x31cd6c=await _0x2aed74[_0x50f30b(0x2e4)]({'options':{..._0x199e30,..._0x27da6a},'args':_0x2a8dd2?[_0x2a8dd2]:[],'tdx':_0x5f5670});gracefulExit(_0x31cd6c);}),parentSegmentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x21a))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x263))[a2_0x3b23a2(0x1f8)](async(_0x493fbf,_0x213985)=>{const _0x38eb02=a2_0x3b23a2,_0x306d45=new ParentSegmentRunCommand(),_0x26dfeb=program[_0x38eb02(0x1b0)](),_0x349ae6=await createTDXInstance(_0x26dfeb),_0x2436f9=await _0x306d45[_0x38eb02(0x2e4)]({'options':{..._0x26dfeb,..._0x213985},'args':_0x493fbf?[_0x493fbf]:[],'tdx':_0x349ae6});gracefulExit(_0x2436f9);}),parentSegmentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x376))['description']('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3b23a2(0x2de)]('--json',a2_0x3b23a2(0x1d2))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x358),'Output\x20as\x20JSON\x20Lines')[a2_0x3b23a2(0x1f8)](async(_0x4766bc,_0x1ac06e)=>{const _0x161a15=a2_0x3b23a2,_0x49a21a=new ParentSegmentFieldsCommand(),_0x2a0914=program[_0x161a15(0x1b0)](),_0x1b9ed1=await createTDXInstance(_0x2a0914),_0xeb47aa=await _0x49a21a['run']({'options':{..._0x2a0914,..._0x1ac06e},'args':_0x4766bc?[_0x4766bc]:[],'tdx':_0x1b9ed1});gracefulExit(_0xeb47aa);}),parentSegmentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x3a5))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x2f1))['option'](a2_0x3b23a2(0x213),'Open\x20parent\x20segment\x20in\x20web\x20browser')['option'](a2_0x3b23a2(0x118),a2_0x3b23a2(0x1d2))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x358),a2_0x3b23a2(0x29e))[a2_0x3b23a2(0x1f8)](async(_0x77e90,_0x15ce59)=>{const _0x178067=a2_0x3b23a2,_0x43e2d9=new ParentSegmentViewCommand(),_0x340fa1=program[_0x178067(0x1b0)](),_0x5aa94f=await createTDXInstance(_0x340fa1),_0x296b27=await _0x43e2d9['run']({'options':{..._0x340fa1,..._0x15ce59},'args':_0x77e90?[_0x77e90]:[],'tdx':_0x5aa94f});gracefulExit(_0x296b27);}),parentSegmentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x25b))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x235))['option'](a2_0x3b23a2(0x29b),a2_0x3b23a2(0x2b1))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x118),a2_0x3b23a2(0x1d2))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x358),a2_0x3b23a2(0x29e))[a2_0x3b23a2(0x1f8)](async(_0x11ed71,_0x53bb6a)=>{const _0x3b21e5=new ParentSegmentDescCommand(),_0x2a4d43=program['opts'](),_0x30f7e7=await createTDXInstance(_0x2a4d43),_0x34ae12=await _0x3b21e5['run']({'options':{..._0x2a4d43,..._0x53bb6a},'args':_0x11ed71?[_0x11ed71]:[],'tdx':_0x30f7e7});gracefulExit(_0x34ae12);}),parentSegmentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x11c))[a2_0x3b23a2(0x3db)]('Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3b23a2(0x2de)]('--json',a2_0x3b23a2(0x1d2))[a2_0x3b23a2(0x2de)]('--jsonl','Output\x20as\x20JSON\x20Lines')[a2_0x3b23a2(0x1f8)](async(_0x47d549,_0x111694)=>{const _0x185702=a2_0x3b23a2,_0x2a6408=new ParentSegmentSQLCommand(),_0x3eb6de=program['opts'](),_0x22d9b8=await createTDXInstance(_0x3eb6de),_0x1c25af=await _0x2a6408[_0x185702(0x2e4)]({'options':{..._0x3eb6de,..._0x111694},'args':_0x47d549?[_0x47d549]:[],'tdx':_0x22d9b8});gracefulExit(_0x1c25af);}),parentSegmentCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x3b0))['description'](a2_0x3b23a2(0x2c0))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x1ca),a2_0x3b23a2(0x386))['option'](a2_0x3b23a2(0x118),'Output\x20as\x20JSON')[a2_0x3b23a2(0x2de)]('--jsonl','Output\x20as\x20JSON\x20Lines')[a2_0x3b23a2(0x1f8)](async(_0x2a0d8b,_0x8e550a)=>{const _0xbbe4ba=a2_0x3b23a2,_0x226e95=new ParentSegmentShowCommand(),_0x50c79b=program[_0xbbe4ba(0x1b0)](),_0x58182a=await createTDXInstance(_0x50c79b),_0x58c1c4=await _0x226e95['run']({'options':{..._0x50c79b,..._0x8e550a},'args':_0x2a0d8b?[_0x2a0d8b]:[],'tdx':_0x58182a});gracefulExit(_0x58c1c4);}),parentSegmentCmd[a2_0x3b23a2(0x316)]('use\x20[name]')['description'](a2_0x3b23a2(0x3c1))[a2_0x3b23a2(0x1f8)](async(_0x151e73,_0x2d4660)=>{const _0x41ceef=a2_0x3b23a2,_0x171c5c=new UseCommand(),_0x3f1a75=program['opts'](),_0x22c1e9=_0x151e73?[_0x41ceef(0x12e),_0x151e73]:[],_0x4cc4db=await _0x171c5c[_0x41ceef(0x2e4)]({'options':{..._0x3f1a75,..._0x2d4660},'args':_0x22c1e9,'tdx':null});gracefulExit(_0x4cc4db);});const psRtCmd=parentSegmentCmd[a2_0x3b23a2(0x316)]('rt')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x1f6));psRtCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x32c))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3fd))['action'](async(_0x4d9af6,_0x23b05a)=>{const _0x4c57cc=a2_0x3b23a2,_0x4d595d=new PSRtListCommand(),_0x543191=program[_0x4c57cc(0x1b0)](),_0x111c8e=await createTDXInstance(_0x543191),_0x2ba54c=await _0x4d595d[_0x4c57cc(0x2e4)]({'options':{..._0x543191,..._0x23b05a},'args':_0x4d9af6?[_0x4d9af6]:[],'tdx':_0x111c8e});gracefulExit(_0x2ba54c);}),psRtCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x186))[a2_0x3b23a2(0x3db)]('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')[a2_0x3b23a2(0x1f8)](async(_0x28697a,_0x7bcfa4)=>{const _0x3fb4df=a2_0x3b23a2,_0x47c8ec=new PSRtValidateCommand(),_0x54678c=program[_0x3fb4df(0x1b0)](),_0x1418d7=await createTDXInstance(_0x54678c),_0x550554=await _0x47c8ec['run']({'options':{..._0x54678c,..._0x7bcfa4},'args':_0x28697a?[_0x28697a]:[],'tdx':_0x1418d7});gracefulExit(_0x550554);}),psRtCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x36a))['description'](a2_0x3b23a2(0x184))[a2_0x3b23a2(0x1f8)](async(_0x43187f,_0x12cbe4)=>{const _0x128542=a2_0x3b23a2,_0x400575=new PSRtConfigVersionCommand(),_0x290a11=program['opts'](),_0x928d6c=await createTDXInstance(_0x290a11),_0x4a3ab4=await _0x400575[_0x128542(0x2e4)]({'options':{..._0x290a11,..._0x12cbe4},'args':_0x43187f?[_0x43187f]:[],'tdx':_0x928d6c});gracefulExit(_0x4a3ab4);});const psRtJnCmd=psRtCmd[a2_0x3b23a2(0x316)]('jn')['description'](a2_0x3b23a2(0x130));psRtJnCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x1e8))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3c4))['action'](async(_0x55632f,_0x2bd1d0)=>{const _0x519f91=a2_0x3b23a2,_0x1e0e06=new PSRtJnListCommand(),_0x3a0548=program[_0x519f91(0x1b0)](),_0x5db4b0=await createTDXInstance(_0x3a0548),_0x183216=await _0x1e0e06[_0x519f91(0x2e4)]({'options':{..._0x3a0548,..._0x2bd1d0},'args':_0x55632f?[_0x55632f]:[],'tdx':_0x5db4b0});gracefulExit(_0x183216);}),psRtJnCmd['command'](a2_0x3b23a2(0x38e))['description']('Pause\x20activations\x20in\x20an\x20RT\x20journey')[a2_0x3b23a2(0x1f8)](async(_0x186737,_0x195d89)=>{const _0x5cba52=a2_0x3b23a2,_0x4d2155=new PSRtJnPauseCommand(),_0x171ebb=program[_0x5cba52(0x1b0)](),_0x2b0544=await createTDXInstance(_0x171ebb),_0x3994b1=await _0x4d2155[_0x5cba52(0x2e4)]({'options':{..._0x171ebb,..._0x195d89},'args':[_0x186737],'tdx':_0x2b0544});gracefulExit(_0x3994b1);}),psRtJnCmd['command'](a2_0x3b23a2(0x2c8))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x156))[a2_0x3b23a2(0x1f8)](async(_0x30e141,_0x289f5d)=>{const _0xde5aec=a2_0x3b23a2,_0x140f4b=new PSRtJnResumeCommand(),_0x1d1acb=program[_0xde5aec(0x1b0)](),_0x38556a=await createTDXInstance(_0x1d1acb),_0x496177=await _0x140f4b[_0xde5aec(0x2e4)]({'options':{..._0x1d1acb,..._0x289f5d},'args':[_0x30e141],'tdx':_0x38556a});gracefulExit(_0x496177);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x1f6));parentRtCmd[a2_0x3b23a2(0x316)]('list\x20[pattern]')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3fd))['action'](async(_0x439f52,_0x43a38f)=>{const _0x2deceb=a2_0x3b23a2,_0x4c64f8=new PSRtListCommand(),_0x475926=program[_0x2deceb(0x1b0)](),_0x53bd0e=await createTDXInstance(_0x475926),_0x2cfdec=await _0x4c64f8[_0x2deceb(0x2e4)]({'options':{..._0x475926,..._0x43a38f},'args':_0x439f52?[_0x439f52]:[],'tdx':_0x53bd0e});gracefulExit(_0x2cfdec);}),parentRtCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x186))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x12b))[a2_0x3b23a2(0x1f8)](async(_0x4ed0e5,_0x3c6e07)=>{const _0x12f9bb=a2_0x3b23a2,_0x8307f7=new PSRtValidateCommand(),_0x5dfb26=program[_0x12f9bb(0x1b0)](),_0x3bd7fe=await createTDXInstance(_0x5dfb26),_0x2ab618=await _0x8307f7[_0x12f9bb(0x2e4)]({'options':{..._0x5dfb26,..._0x3c6e07},'args':_0x4ed0e5?[_0x4ed0e5]:[],'tdx':_0x3bd7fe});gracefulExit(_0x2ab618);});const psPzCmd=parentSegmentCmd[a2_0x3b23a2(0x316)]('pz')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x202));psPzCmd['command']('list\x20[name]')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x17a))[a2_0x3b23a2(0x1f8)](async(_0x5ef0c9,_0x2e4dda)=>{const _0x19af18=a2_0x3b23a2,_0xf94ccc=new PSPzListCommand(),_0x484658=program[_0x19af18(0x1b0)](),_0x59b81d=await createTDXInstance(_0x484658),_0x5c7c3d=await _0xf94ccc[_0x19af18(0x2e4)]({'options':{..._0x484658,..._0x2e4dda},'args':_0x5ef0c9?[_0x5ef0c9]:[],'tdx':_0x59b81d});gracefulExit(_0x5c7c3d);}),psPzCmd[a2_0x3b23a2(0x316)]('show\x20<personalization_id>')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x337))[a2_0x3b23a2(0x1f8)](async(_0x5251ba,_0x31629d)=>{const _0x367669=a2_0x3b23a2,_0x114f83=new PSPzShowCommand(),_0x52f395=program[_0x367669(0x1b0)](),_0x1532b2=await createTDXInstance(_0x52f395),_0x4cad4f=await _0x114f83[_0x367669(0x2e4)]({'options':{..._0x52f395,..._0x31629d},'args':[_0x5251ba],'tdx':_0x1532b2});gracefulExit(_0x4cad4f);}),psPzCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x1f2))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x23f))['action'](async(_0x16e050,_0x34e426)=>{const _0x4c0def=a2_0x3b23a2,_0x1f3476=new PSPzDeleteCommand(),_0xca5295=program[_0x4c0def(0x1b0)](),_0x1bb0fa=await createTDXInstance(_0xca5295),_0x3ae7bc=await _0x1f3476[_0x4c0def(0x2e4)]({'options':{..._0xca5295,..._0x34e426},'args':[_0x16e050],'tdx':_0x1bb0fa});gracefulExit(_0x3ae7bc);}),psPzCmd[a2_0x3b23a2(0x316)]('create')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x302))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x1d9),a2_0x3b23a2(0x187))['option'](a2_0x3b23a2(0x356),a2_0x3b23a2(0x1ee))['option'](a2_0x3b23a2(0x2b8),a2_0x3b23a2(0x2a9))['option'](a2_0x3b23a2(0x27d),a2_0x3b23a2(0x286))[a2_0x3b23a2(0x2de)]('--sections\x20<json>','Sections\x20as\x20an\x20inline\x20JSON\x20array')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x255),'Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)')[a2_0x3b23a2(0x1f8)](async _0x565a6a=>{const _0x2d4b13=new PSPzCreateCommand(),_0x2604aa=program['opts'](),_0x6056f7=await createTDXInstance(_0x2604aa),_0x53426b=await _0x2d4b13['run']({'options':{..._0x2604aa,..._0x565a6a},'args':[],'tdx':_0x6056f7});gracefulExit(_0x53426b);}),psPzCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x399))['description']('Update\x20a\x20realtime\x20personalization\x20entity')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x1d9),a2_0x3b23a2(0x187))[a2_0x3b23a2(0x2de)]('--description\x20<text>',a2_0x3b23a2(0x1ee))['option'](a2_0x3b23a2(0x2c7),a2_0x3b23a2(0x2a6))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x255),a2_0x3b23a2(0x3e6))[a2_0x3b23a2(0x1f8)](async(_0x29f020,_0x5e0c64)=>{const _0x4a185e=a2_0x3b23a2,_0x1825f2=new PSPzPatchCommand(),_0x570890=program['opts'](),_0x55d910=await createTDXInstance(_0x570890),_0xf8fca6=await _0x1825f2[_0x4a185e(0x2e4)]({'options':{..._0x570890,..._0x5e0c64},'args':[_0x29f020],'tdx':_0x55d910});gracefulExit(_0xf8fca6);});const psPzServiceCmd=psPzCmd[a2_0x3b23a2(0x316)]('service')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x124));psPzServiceCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x1e8))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3f0))[a2_0x3b23a2(0x1f8)](async(_0x399b35,_0x16df51)=>{const _0x115ac3=a2_0x3b23a2,_0x2be93d=new PSPzServiceListCommand(),_0x3210d7=program['opts'](),_0x1845de=await createTDXInstance(_0x3210d7),_0x3f9305=await _0x2be93d[_0x115ac3(0x2e4)]({'options':{..._0x3210d7,..._0x16df51},'args':_0x399b35?[_0x399b35]:[],'tdx':_0x1845de});gracefulExit(_0x3f9305);}),psPzServiceCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x285))['description'](a2_0x3b23a2(0x14e))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x356),'Service\x20description')['option']('--public',a2_0x3b23a2(0x249))[a2_0x3b23a2(0x1f8)](async(_0x3e3262,_0x5ba4f2,_0x1c0e1a)=>{const _0x1633b3=a2_0x3b23a2,_0x57697a=new PSPzServiceCreateCommand(),_0x178db6=program[_0x1633b3(0x1b0)](),_0xd4064b=await createTDXInstance(_0x178db6),_0x4fc31b=await _0x57697a[_0x1633b3(0x2e4)]({'options':{..._0x178db6,..._0x1c0e1a},'args':_0x5ba4f2?[_0x3e3262,_0x5ba4f2]:[_0x3e3262],'tdx':_0xd4064b});gracefulExit(_0x4fc31b);}),psPzServiceCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x413))[a2_0x3b23a2(0x3db)]('Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x3b23a2(0x1f8)](async(_0x284091,_0x74e41c,_0xabcb48)=>{const _0x2eb977=a2_0x3b23a2,_0x15a139=new PSPzServiceShowCommand(),_0x4868fa=program[_0x2eb977(0x1b0)](),_0x1462c9=await createTDXInstance(_0x4868fa),_0x3ee761=await _0x15a139[_0x2eb977(0x2e4)]({'options':{..._0x4868fa,..._0xabcb48},'args':_0x74e41c?[_0x284091,_0x74e41c]:[_0x284091],'tdx':_0x1462c9});gracefulExit(_0x3ee761);}),psPzServiceCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x37f))['description'](a2_0x3b23a2(0x11f))[a2_0x3b23a2(0x1f8)](async(_0x5657df,_0xa6eb1c,_0x4b4b32)=>{const _0x8e20e2=a2_0x3b23a2,_0x47a313=new PSPzServiceDeleteCommand(),_0x1ace33=program[_0x8e20e2(0x1b0)](),_0x1b9522=await createTDXInstance(_0x1ace33),_0x21019b=await _0x47a313[_0x8e20e2(0x2e4)]({'options':{..._0x1ace33,..._0x4b4b32},'args':_0xa6eb1c?[_0x5657df,_0xa6eb1c]:[_0x5657df],'tdx':_0x1b9522});gracefulExit(_0x21019b);}),psPzServiceCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x21b))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x1c9))[a2_0x3b23a2(0x277)](a2_0x3b23a2(0x3b2),a2_0x3b23a2(0x244))['option'](a2_0x3b23a2(0x356),a2_0x3b23a2(0x2b5))['action'](async(_0x986e88,_0x4fe54e,_0x3aebb5)=>{const _0x3fb61d=a2_0x3b23a2,_0x46b3d7=new PSPzServiceUpdateCommand(),_0x12e70a=program['opts'](),_0x1a321b=await createTDXInstance(_0x12e70a),_0x3e51d5=await _0x46b3d7[_0x3fb61d(0x2e4)]({'options':{..._0x12e70a,..._0x3aebb5},'args':_0x4fe54e?[_0x986e88,_0x4fe54e]:[_0x986e88],'tdx':_0x1a321b});gracefulExit(_0x3e51d5);}),psPzServiceCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x26b))[a2_0x3b23a2(0x3db)]('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3b23a2(0x1f8)](async(_0x56163a,_0x422f5c)=>{const _0x329375=a2_0x3b23a2,_0x56df29=new PSPzInitCommand(),_0x4c44cd=program['opts'](),_0x27c27b=await createTDXInstance(_0x4c44cd),_0x381620=await _0x56df29[_0x329375(0x2e4)]({'options':{..._0x4c44cd,..._0x422f5c},'args':_0x56163a?[_0x56163a]:[],'tdx':_0x27c27b});gracefulExit(_0x381620);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x22c))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x189));psPzServiceTokenCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x370))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x305))['option'](a2_0x3b23a2(0x379),a2_0x3b23a2(0x173))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x356),a2_0x3b23a2(0x1e9))[a2_0x3b23a2(0x1f8)](async(_0x1d0746,_0xf2aa5a,_0x49c353,_0x9d7d0f)=>{const _0x2ec4a8=a2_0x3b23a2,_0x5aa466=new PSPzServiceTokenCreateCommand(),_0x565755=program['opts'](),_0x29a7ef=await createTDXInstance(_0x565755),_0x51aa0f=await _0x5aa466[_0x2ec4a8(0x2e4)]({'options':{..._0x565755,..._0x9d7d0f},'args':_0x49c353?[_0x1d0746,_0xf2aa5a,_0x49c353]:[_0x1d0746,_0xf2aa5a],'tdx':_0x29a7ef});gracefulExit(_0x51aa0f);}),psPzServiceTokenCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x2be))['description'](a2_0x3b23a2(0x2c3))[a2_0x3b23a2(0x1f8)](async(_0x247c6d,_0x584c92,_0x4b6e52)=>{const _0x1260fb=a2_0x3b23a2,_0x1d9c11=new PSPzServiceTokenDeleteCommand(),_0x2829e1=program[_0x1260fb(0x1b0)](),_0xadf3c0=await createTDXInstance(_0x2829e1),_0x502fd3=await _0x1d9c11[_0x1260fb(0x2e4)]({'options':{..._0x2829e1,..._0x4b6e52},'args':_0x584c92?[_0x247c6d,_0x584c92]:[_0x247c6d],'tdx':_0xadf3c0});gracefulExit(_0x502fd3);}),parentCmd[a2_0x3b23a2(0x316)]('create\x20<name>')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3c0))['requiredOption']('--database\x20<db>',a2_0x3b23a2(0x192))[a2_0x3b23a2(0x277)](a2_0x3b23a2(0x3ad),a2_0x3b23a2(0x30d))['option'](a2_0x3b23a2(0x356),a2_0x3b23a2(0x37a))['option'](a2_0x3b23a2(0x1df),'Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x2f6),'Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x40a),a2_0x3b23a2(0x24b))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3a7),a2_0x3b23a2(0x26c))['option'](a2_0x3b23a2(0x3bd),'Attributes\x20from\x20JSON\x20file')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x116),a2_0x3b23a2(0x178))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x2d7),a2_0x3b23a2(0x339))['option']('--customer-group\x20<json>',a2_0x3b23a2(0x36d))['option'](a2_0x3b23a2(0x3a3),a2_0x3b23a2(0x31e))[a2_0x3b23a2(0x1f8)](async(_0x132051,_0x58f56a)=>{const _0x487b40=a2_0x3b23a2,_0x3f4b43=new ParentSegmentCreateCommand(),_0x4c84d4=program['opts'](),_0x1429a2=await createTDXInstance(_0x4c84d4),_0x66aa1d=await _0x3f4b43[_0x487b40(0x2e4)]({'options':{..._0x4c84d4,..._0x58f56a},'args':[_0x132051],'tdx':_0x1429a2});gracefulExit(_0x66aa1d);}),parentCmd[a2_0x3b23a2(0x316)]('update\x20<name>')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3d9))[a2_0x3b23a2(0x2de)]('--description\x20<text>',a2_0x3b23a2(0x2db))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x1df),a2_0x3b23a2(0x309))[a2_0x3b23a2(0x2de)]('--schedule-option\x20<value>',a2_0x3b23a2(0x3ca))['option'](a2_0x3b23a2(0x40a),a2_0x3b23a2(0x323))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x33b),'Add\x20attributes\x20as\x20JSON\x20string')['option'](a2_0x3b23a2(0x19b),a2_0x3b23a2(0x17e))[a2_0x3b23a2(0x2de)]('--add-behaviors\x20<json>','Add\x20behaviors\x20as\x20JSON\x20string')['option'](a2_0x3b23a2(0x13b),a2_0x3b23a2(0x1b2))['action'](async(_0x6bebf3,_0x18a760)=>{const _0xa82f23=a2_0x3b23a2,_0x5c5c7b=new ParentSegmentUpdateCommand(),_0x229a29=program[_0xa82f23(0x1b0)](),_0x58fe83=await createTDXInstance(_0x229a29),_0x207ed6=await _0x5c5c7b[_0xa82f23(0x2e4)]({'options':{..._0x229a29,..._0x18a760},'args':[_0x6bebf3],'tdx':_0x58fe83});gracefulExit(_0x207ed6);}),folderCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x2e9))[a2_0x3b23a2(0x3db)]('Create\x20segment\x20folder')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x356),a2_0x3b23a2(0x30c))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x29a),a2_0x3b23a2(0x13f))[a2_0x3b23a2(0x1f8)](async(_0x35492d,_0x23bb94,_0x2fab5f)=>{const _0x246132=a2_0x3b23a2,_0x53820e=new SegmentFolderCreateCommand(),_0x3fef83=program[_0x246132(0x1b0)](),_0x1b18fe=await createTDXInstance(_0x3fef83),_0x36dd06=await _0x53820e['run']({'options':{..._0x3fef83,..._0x2fab5f},'args':[_0x35492d,_0x23bb94],'tdx':_0x1b18fe});gracefulExit(_0x36dd06);}),program['command'](a2_0x3b23a2(0x209))['description'](a2_0x3b23a2(0x2e0))[a2_0x3b23a2(0x1f8)](async(_0x4d8963,_0x193316)=>{const _0x3c264e=a2_0x3b23a2,_0x1cdc4d=new ActivationsCommand(),_0x1c9fe4=program[_0x3c264e(0x1b0)](),_0x114d8c=await createTDXInstance(_0x1c9fe4),_0x43c13d=await _0x1cdc4d[_0x3c264e(0x2e4)]({'options':{..._0x1c9fe4,..._0x193316},'args':[_0x4d8963],'tdx':_0x114d8c});gracefulExit(_0x43c13d);});const workflowCmd=program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x27e))[a2_0x3b23a2(0x15f)]('wf')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3b5)),wfProjectCmd=workflowCmd['command'](a2_0x3b23a2(0x258))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3b1)),wfProjectListAction=async(_0x5a69ee,_0x1ce55d)=>{const _0x170a9a=a2_0x3b23a2,_0x2f49e9=new WorkflowProjectsCommand(),_0x445945=program[_0x170a9a(0x1b0)](),_0x199f0d=await createTDXInstance(_0x445945),_0x29d72d=await _0x2f49e9[_0x170a9a(0x2e4)]({'options':{..._0x445945,..._0x1ce55d},'args':_0x5a69ee?[_0x5a69ee]:[],'tdx':_0x199f0d});gracefulExit(_0x29d72d);};wfProjectCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x32c))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x12d))[a2_0x3b23a2(0x1f8)](wfProjectListAction),workflowCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x1ab))['description']('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0x3b23a2(0x1f8)](wfProjectListAction);const wfWorkflowListAction=async(_0x13918b,_0x2a695f)=>{const _0x599ee5=a2_0x3b23a2,_0xc314a0=new WorkflowWorkflowsCommand(),_0x5ceb90=program[_0x599ee5(0x1b0)](),_0x435acf=await createTDXInstance(_0x5ceb90),_0x450c3b=await _0xc314a0[_0x599ee5(0x2e4)]({'options':{..._0x5ceb90,..._0x2a695f},'args':_0x13918b?[_0x13918b]:[],'tdx':_0x435acf});gracefulExit(_0x450c3b);};workflowCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x265))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x225))[a2_0x3b23a2(0x1f8)](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command'](a2_0x3b23a2(0x169))[a2_0x3b23a2(0x3db)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0xeae929,_0x15c5cc)=>{const _0x241ecc=a2_0x3b23a2,_0x14fbc5=new WorkflowSessionsCommand(),_0x36e8b4=program[_0x241ecc(0x1b0)](),_0x58a7bf=await createTDXInstance(_0x36e8b4),_0x58b29d=await _0x14fbc5['run']({'options':{..._0x36e8b4,..._0x15c5cc},'args':_0xeae929?[_0xeae929]:[],'tdx':_0x58a7bf});gracefulExit(_0x58b29d);};wfSessionCmd['command'](a2_0x3b23a2(0x341))['description'](a2_0x3b23a2(0x393))['option'](a2_0x3b23a2(0x219),a2_0x3b23a2(0x319))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x218),a2_0x3b23a2(0x284))['option'](a2_0x3b23a2(0x38d),a2_0x3b23a2(0x16b))['action'](wfSessionListAction),workflowCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x320))['description'](a2_0x3b23a2(0x2e7))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x219),a2_0x3b23a2(0x319))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x218),a2_0x3b23a2(0x284))['option'](a2_0x3b23a2(0x38d),'End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x3b23a2(0x1f8)](wfSessionListAction);const wfAttemptListAction=async(_0x1487ef,_0x56e696)=>{const _0x3d97b8=a2_0x3b23a2,_0x168ae4=new WorkflowAttemptsCommand(),_0x4903cc=program[_0x3d97b8(0x1b0)](),_0xd4a173=await createTDXInstance(_0x4903cc),_0x4b4f5d=await _0x168ae4[_0x3d97b8(0x2e4)]({'options':{..._0x4903cc,..._0x56e696},'args':_0x1487ef?[_0x1487ef]:[],'tdx':_0xd4a173});gracefulExit(_0x4b4f5d);},attemptCmd=workflowCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x39b))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x2fd))[a2_0x3b23a2(0x3dd)](a2_0x3b23a2(0x2ca),a2_0x3b23a2(0x2dc))[a2_0x3b23a2(0x3dd)](a2_0x3b23a2(0x165),'Action:\x20logs,\x20tasks,\x20kill,\x20retry')[a2_0x3b23a2(0x3dd)](a2_0x3b23a2(0x2fe),a2_0x3b23a2(0x35b))['option'](a2_0x3b23a2(0x429),a2_0x3b23a2(0x27b))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x17c),'Reason\x20for\x20killing\x20the\x20attempt')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x2ec),'Resume\x20from\x20specific\x20task\x20(retry)')['option'](a2_0x3b23a2(0x324),a2_0x3b23a2(0x13d))[a2_0x3b23a2(0x2de)]('--force',a2_0x3b23a2(0x15e))[a2_0x3b23a2(0x2de)]('--include-retried',a2_0x3b23a2(0x355))['action'](async(_0x3da432,_0x5b4b3c,_0x3578c3,_0x238def)=>{const _0x4478fb=a2_0x3b23a2;if(_0x3da432===_0x4478fb(0x254)){await wfAttemptListAction(_0x5b4b3c,_0x238def);return;}if(!_0x3da432){attemptCmd[_0x4478fb(0x317)]();return;}const _0x1697e3=program['opts'](),_0x55e6a7=await createTDXInstance(_0x1697e3);let _0x3a765b=0x0;if(!_0x5b4b3c){const _0x7a4d4d=new WorkflowAttemptCommand();_0x3a765b=await _0x7a4d4d[_0x4478fb(0x2e4)]({'options':{..._0x1697e3,..._0x238def},'args':[_0x3da432],'tdx':_0x55e6a7});}else{if(_0x5b4b3c===_0x4478fb(0x41d)){const _0x1b430c=new WorkflowLogsCommand();_0x3a765b=await _0x1b430c[_0x4478fb(0x2e4)]({'options':{..._0x1697e3,..._0x238def},'args':_0x3578c3?[_0x3da432,_0x3578c3]:[_0x3da432],'tdx':_0x55e6a7});}else{if(_0x5b4b3c==='tasks'){const _0x973d8b=new WorkflowTasksCommand();_0x3a765b=await _0x973d8b['run']({'options':{..._0x1697e3,..._0x238def},'args':[_0x3da432],'tdx':_0x55e6a7});}else{if(_0x5b4b3c==='kill'){const _0xa657d1=new WorkflowKillCommand();_0x3a765b=await _0xa657d1[_0x4478fb(0x2e4)]({'options':{..._0x1697e3,..._0x238def},'args':[_0x3da432],'tdx':_0x55e6a7});}else{if(_0x5b4b3c===_0x4478fb(0x19e)){const _0x25a4aa=new WorkflowRetryCommand();_0x3a765b=await _0x25a4aa[_0x4478fb(0x2e4)]({'options':{..._0x1697e3,..._0x238def},'args':[_0x4478fb(0x145)+_0x3da432],'tdx':_0x55e6a7});}else console[_0x4478fb(0x126)](_0x4478fb(0x143)+_0x5b4b3c),console[_0x4478fb(0x126)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x3a765b=0x1;}}}}gracefulExit(_0x3a765b);});attemptCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x341))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x2dd))['option'](a2_0x3b23a2(0x3fb),a2_0x3b23a2(0x1ac))[a2_0x3b23a2(0x1f8)](wfAttemptListAction),workflowCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x304))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3d8))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3fb),a2_0x3b23a2(0x1ac))[a2_0x3b23a2(0x1f8)](wfAttemptListAction),workflowCmd[a2_0x3b23a2(0x316)]('timeline\x20[project.workflow]')['description'](a2_0x3b23a2(0x3d4))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x41b),'Follow/watch\x20timeline\x20for\x20running\x20attempts')['option'](a2_0x3b23a2(0x16a),a2_0x3b23a2(0x1a8))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x1e4),a2_0x3b23a2(0x117))['action'](async(_0xb4db8b,_0x5278fe)=>{const _0x2c5ba9=a2_0x3b23a2,_0x7c1544=new WorkflowTimelineCommand(),_0x16bafb=program[_0x2c5ba9(0x1b0)](),_0x1ca9fc=await createTDXInstance(_0x16bafb),_0x3ac341=await _0x7c1544[_0x2c5ba9(0x2e4)]({'options':{..._0x16bafb,..._0x5278fe},'args':_0xb4db8b?[_0xb4db8b]:[],'tdx':_0x1ca9fc});gracefulExit(_0x3ac341);}),workflowCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x185))[a2_0x3b23a2(0x3db)]('Retry\x20a\x20session\x20(prefix\x20with\x20session:)')[a2_0x3b23a2(0x2de)]('--from-task\x20<task>','Resume\x20from\x20specific\x20task')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x324),a2_0x3b23a2(0x150))[a2_0x3b23a2(0x1f8)](async(_0x389d99,_0x5b0d2c)=>{const _0x33ef66=a2_0x3b23a2,_0x3338d1=new WorkflowRetryCommand(),_0x52490c=program[_0x33ef66(0x1b0)](),_0xee14d=await createTDXInstance(_0x52490c),_0x3602d9=await _0x3338d1[_0x33ef66(0x2e4)]({'options':{..._0x52490c,..._0x5b0d2c},'args':[_0x389d99],'tdx':_0xee14d});gracefulExit(_0x3602d9);}),workflowCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x1a2))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x1c7))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3f1),a2_0x3b23a2(0x416),(_0x3727fe,_0x1095d6=[])=>[..._0x1095d6,_0x3727fe],[])[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3ae),a2_0x3b23a2(0x24c))[a2_0x3b23a2(0x1f8)](async(_0x4dfa24,_0x3e84d2)=>{const _0x34e4bc=a2_0x3b23a2,_0x122041=new WorkflowRunCommand(),_0x583490=program[_0x34e4bc(0x1b0)](),_0x28f211=await createTDXInstance(_0x583490),_0x568399=await _0x122041[_0x34e4bc(0x2e4)]({'options':{..._0x583490,..._0x3e84d2},'args':_0x4dfa24?[_0x4dfa24]:[],'tdx':_0x28f211});gracefulExit(_0x568399);}),workflowCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x30a))[a2_0x3b23a2(0x3db)]('Download\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x3b23a2(0x2de)]('--revision\x20<revision>','Specific\x20revision\x20to\x20download\x20(default:\x20latest)')['action'](async(_0x4232d8,_0x442425,_0x4cb97e)=>{const _0x306d48=a2_0x3b23a2,_0xc353a7=new WorkflowDownloadCommand(),_0x4bfcb4=program[_0x306d48(0x1b0)](),_0x4f71d1=await createTDXInstance(_0x4bfcb4),_0x45f77d=await _0xc353a7[_0x306d48(0x2e4)]({'options':{..._0x4bfcb4,..._0x4cb97e},'args':[_0x4232d8,_0x442425||'.'],'tdx':_0x4f71d1});gracefulExit(_0x45f77d);}),workflowCmd[a2_0x3b23a2(0x316)]('pull\x20<project>\x20[target-dir]')[a2_0x3b23a2(0x3db)]('Pull\x20workflow\x20project\x20to\x20local\x20folder')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x1fa),'Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3ff),'Preview\x20changes\x20without\x20writing\x20files')[a2_0x3b23a2(0x1f8)](async(_0x29ca4a,_0x148da6,_0x3c86e6)=>{const _0x4264a7=a2_0x3b23a2,_0x23d4ec=new WorkflowPullCommand(),_0x5b6f6a=program[_0x4264a7(0x1b0)](),_0x585b62=await createTDXInstance(_0x5b6f6a),_0x1e4223=await _0x23d4ec['run']({'options':{..._0x5b6f6a,..._0x3c86e6},'args':_0x148da6?[_0x29ca4a,_0x148da6]:[_0x29ca4a],'tdx':_0x585b62});gracefulExit(_0x1e4223);}),workflowCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x330))[a2_0x3b23a2(0x3db)]('Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x1fa),a2_0x3b23a2(0x194))['option'](a2_0x3b23a2(0x3ff),a2_0x3b23a2(0x203))['option'](a2_0x3b23a2(0x20d),a2_0x3b23a2(0x243))['action'](async(_0x26f174,_0x5c076c)=>{const _0x46bff8=a2_0x3b23a2,_0x29de20=new WorkflowPushCommand(),_0x26123c=program[_0x46bff8(0x1b0)](),_0x52f93a=await createTDXInstance(_0x26123c),_0x5137d1=await _0x29de20[_0x46bff8(0x2e4)]({'options':{..._0x26123c,..._0x5c076c},'args':_0x26f174?[_0x26f174]:[],'tdx':_0x52f93a});gracefulExit(_0x5137d1);}),workflowCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x1ec))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x2c6))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3b2),a2_0x3b23a2(0x426))[a2_0x3b23a2(0x2de)]('--revision\x20<revision>',a2_0x3b23a2(0x35d))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x20d),a2_0x3b23a2(0x243))[a2_0x3b23a2(0x1f8)](async(_0x64a93f,_0x120fa4)=>{const _0xac9df1=a2_0x3b23a2,_0x506370=new WorkflowUploadCommand(),_0x53743e=program['opts'](),_0x512cb6=await createTDXInstance(_0x53743e),_0x46295b=await _0x506370[_0xac9df1(0x2e4)]({'options':{..._0x53743e,..._0x120fa4},'args':_0x64a93f?[_0x64a93f]:[],'tdx':_0x512cb6});gracefulExit(_0x46295b);}),workflowCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x3fa))['description'](a2_0x3b23a2(0x154))['option'](a2_0x3b23a2(0x3b2),'Name\x20for\x20the\x20new\x20project\x20(required)')['option'](a2_0x3b23a2(0x1fa),a2_0x3b23a2(0x194))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3ff),a2_0x3b23a2(0x228))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x20d),a2_0x3b23a2(0x243))[a2_0x3b23a2(0x1f8)](async(_0x42b730,_0x19de74)=>{const _0x3dde86=a2_0x3b23a2,_0x190087=new WorkflowCloneCommand(),_0x2b1a9c=program[_0x3dde86(0x1b0)](),_0x315414=await createTDXInstance(_0x2b1a9c),_0x597b80=await _0x190087[_0x3dde86(0x2e4)]({'options':{..._0x2b1a9c,..._0x19de74},'args':_0x42b730?[_0x42b730]:[],'tdx':_0x315414});gracefulExit(_0x597b80);}),workflowCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x1e3))[a2_0x3b23a2(0x3db)]('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x3b23a2(0x1f8)](async(_0x2a506f,_0x54a7ee)=>{const _0x2f247a=a2_0x3b23a2,_0x30c8d7=new WorkflowDeleteCommand(),_0x14fb82=program['opts'](),_0x5006c6=await createTDXInstance(_0x14fb82),_0x5994c5=await _0x30c8d7[_0x2f247a(0x2e4)]({'options':{..._0x14fb82,..._0x54a7ee},'args':[_0x2a506f],'tdx':_0x5006c6});gracefulExit(_0x5994c5);}),workflowCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x2cd))['description'](a2_0x3b23a2(0x40c))['option'](a2_0x3b23a2(0x373),'Clear\x20workflow\x20project\x20context')[a2_0x3b23a2(0x1f8)](async(_0x32bc32,_0x42b5d3)=>{const _0x2c1c8a=a2_0x3b23a2,_0x10a8d8=new WorkflowUseCommand(),_0x290a12=program[_0x2c1c8a(0x1b0)](),_0x11294f=await createTDXInstance(_0x290a12),_0x39d135=await _0x10a8d8[_0x2c1c8a(0x2e4)]({'options':{..._0x290a12,..._0x42b5d3},'args':_0x32bc32?[_0x32bc32]:[],'tdx':_0x11294f});gracefulExit(_0x39d135);});const wfSecretsCmd=workflowCmd[a2_0x3b23a2(0x316)]('secrets')[a2_0x3b23a2(0x3db)]('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x341))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x42b))[a2_0x3b23a2(0x1f8)](async(_0x110c7f,_0x5f43b1)=>{const _0x2728af=a2_0x3b23a2,_0x4244b3=new WorkflowSecretsListCommand(),_0x1adad7=program[_0x2728af(0x1b0)](),_0x44fba3=await createTDXInstance(_0x1adad7),_0x483348=await _0x4244b3[_0x2728af(0x2e4)]({'options':{..._0x1adad7,..._0x5f43b1},'args':_0x110c7f?[_0x110c7f]:[],'tdx':_0x44fba3});gracefulExit(_0x483348);}),wfSecretsCmd['command']('set\x20<args...>')[a2_0x3b23a2(0x3db)]('Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])')[a2_0x3b23a2(0x1f8)](async(_0x1ab351,_0x1e7803)=>{const _0x202d91=a2_0x3b23a2,_0xac89ae=new WorkflowSecretsSetCommand(),_0x7e04fc=program[_0x202d91(0x1b0)](),_0x4f1437=await createTDXInstance(_0x7e04fc),_0x4b7e74=await _0xac89ae[_0x202d91(0x2e4)]({'options':{..._0x7e04fc,..._0x1e7803},'args':_0x1ab351,'tdx':_0x4f1437});gracefulExit(_0x4b7e74);}),wfSecretsCmd['command'](a2_0x3b23a2(0x39d))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x314))[a2_0x3b23a2(0x1f8)](async(_0x44ab5c,_0x35a459)=>{const _0x457b19=a2_0x3b23a2,_0x180f27=new WorkflowSecretsDeleteCommand(),_0x1f06b5=program[_0x457b19(0x1b0)](),_0xc22f91=await createTDXInstance(_0x1f06b5),_0x450ec8=await _0x180f27[_0x457b19(0x2e4)]({'options':{..._0x1f06b5,..._0x35a459},'args':_0x44ab5c,'tdx':_0xc22f91});gracefulExit(_0x450ec8);});const jobCmd=program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x14f))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x42a)),jobListAction=async _0x39d027=>{const _0x58f859=a2_0x3b23a2,_0x4b7943=new JobListCommand(),_0x3611f7=program[_0x58f859(0x1b0)](),_0x90885f=await createTDXInstance(_0x3611f7),_0x1a9622=await _0x4b7943[_0x58f859(0x2e4)]({'options':{..._0x3611f7,..._0x39d027},'args':[],'tdx':_0x90885f});gracefulExit(_0x1a9622);};jobCmd[a2_0x3b23a2(0x316)]('list')['description'](a2_0x3b23a2(0x20a))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x219),a2_0x3b23a2(0x240))[a2_0x3b23a2(0x1f8)](jobListAction),program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x350),{'hidden':!![]})[a2_0x3b23a2(0x3db)]('List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)')[a2_0x3b23a2(0x2de)]('--status\x20<status>',a2_0x3b23a2(0x240))[a2_0x3b23a2(0x1f8)](jobListAction),jobCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x14a))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x2ae))['action'](async(_0x3dbd16,_0x1495b9)=>{const _0x566914=a2_0x3b23a2,_0x3fdbd6=new JobShowCommand(),_0x3c3156=program[_0x566914(0x1b0)](),_0x5e6d2b=await createTDXInstance(_0x3c3156),_0x561d48=await _0x3fdbd6['run']({'options':{..._0x3c3156,..._0x1495b9},'args':[_0x3dbd16],'tdx':_0x5e6d2b});gracefulExit(_0x561d48);}),jobCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x40f))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x162))[a2_0x3b23a2(0x1f8)](async(_0x31bbe5,_0x2a8c1e)=>{const _0x270d9b=a2_0x3b23a2,_0xed5aa2=new JobKillCommand(),_0x5aa1e5=program[_0x270d9b(0x1b0)](),_0x5ddfd7=await createTDXInstance(_0x5aa1e5),_0x502d4c=await _0xed5aa2[_0x270d9b(0x2e4)]({'options':{..._0x5aa1e5,..._0x2a8c1e},'args':[_0x31bbe5],'tdx':_0x5ddfd7});gracefulExit(_0x502d4c);}),jobCmd['command']('submit\x20[query]')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x1be))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x251),a2_0x3b23a2(0x1fc),'trino')['option'](a2_0x3b23a2(0x35a),a2_0x3b23a2(0x1b8))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x25f),a2_0x3b23a2(0x216),a2_0x3b23a2(0x123))['option'](a2_0x3b23a2(0x378),a2_0x3b23a2(0x291))[a2_0x3b23a2(0x1f8)](async(_0x3592e3,_0x23311b)=>{const _0x18b29c=a2_0x3b23a2,_0x262779=new JobSubmitCommand(),_0x23aead=program[_0x18b29c(0x1b0)](),_0x34bd8a=await createTDXInstance(_0x23aead),_0x47c9b5=await _0x262779[_0x18b29c(0x2e4)]({'options':{..._0x23aead,..._0x23311b},'args':_0x3592e3?[_0x3592e3]:[],'tdx':_0x34bd8a});gracefulExit(_0x47c9b5);}),jobCmd[a2_0x3b23a2(0x316)]('result\x20<job-id>')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x406))[a2_0x3b23a2(0x1f8)](async(_0x1e1c2a,_0x20e9b1)=>{const _0x2a16bd=a2_0x3b23a2,_0x1ad525=new JobResultCommand(),_0x27948c=program['opts'](),_0x1087b8=await createTDXInstance(_0x27948c),_0x325d2e=await _0x1ad525[_0x2a16bd(0x2e4)]({'options':{..._0x27948c,..._0x20e9b1},'args':[_0x1e1c2a],'tdx':_0x1087b8});gracefulExit(_0x325d2e);});const scheduleCmd=jobCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x1ed))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x2bb));scheduleCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x32c))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3cf))[a2_0x3b23a2(0x1f8)](async(_0x548106,_0x1d13ae)=>{const _0x56a636=a2_0x3b23a2,_0x29f673=new ScheduleListCommand(),_0x2d5435=program[_0x56a636(0x1b0)](),_0x252e45=await createTDXInstance(_0x2d5435),_0xd00bc2=await _0x29f673[_0x56a636(0x2e4)]({'options':{..._0x2d5435,..._0x1d13ae},'args':_0x548106?[_0x548106]:[],'tdx':_0x252e45});gracefulExit(_0xd00bc2);}),scheduleCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x36c))['description'](a2_0x3b23a2(0x344))[a2_0x3b23a2(0x1f8)](async(_0x4e6033,_0x322d82)=>{const _0x39de2f=a2_0x3b23a2,_0x346952=new ScheduleShowCommand(),_0x2ad39b=program[_0x39de2f(0x1b0)](),_0x4f7e01=await createTDXInstance(_0x2ad39b),_0x29a3c4=await _0x346952['run']({'options':{..._0x2ad39b,..._0x322d82},'args':[_0x4e6033],'tdx':_0x4f7e01});gracefulExit(_0x29a3c4);}),scheduleCmd[a2_0x3b23a2(0x316)]('create\x20<name>')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x180))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x1ff),a2_0x3b23a2(0x424))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x348),a2_0x3b23a2(0x334))[a2_0x3b23a2(0x277)](a2_0x3b23a2(0x35a),a2_0x3b23a2(0x1b8))[a2_0x3b23a2(0x2de)]('--type\x20<type>',a2_0x3b23a2(0x23d),a2_0x3b23a2(0x38a))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x41e),a2_0x3b23a2(0x336))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x40a),a2_0x3b23a2(0x2d9))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x2bd),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x364),a2_0x3b23a2(0x331))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x12a),a2_0x3b23a2(0x1fb))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x21c),'Query\x20engine\x20version')[a2_0x3b23a2(0x2de)]('--result\x20<url>',a2_0x3b23a2(0x33d))[a2_0x3b23a2(0x1f8)](async(_0x72b18f,_0x42eac8)=>{const _0x2d0528=a2_0x3b23a2,_0xe6f7a7=new ScheduleCreateCommand(),_0x25bb26=program[_0x2d0528(0x1b0)](),_0x1190b4=await createTDXInstance(_0x25bb26);_0x42eac8['in']&&(_0x42eac8['database']=_0x42eac8['in']);const _0x3879fc=await _0xe6f7a7[_0x2d0528(0x2e4)]({'options':{..._0x25bb26,..._0x42eac8},'args':[_0x72b18f],'tdx':_0x1190b4});gracefulExit(_0x3879fc);}),scheduleCmd['command'](a2_0x3b23a2(0x34d))['description'](a2_0x3b23a2(0x374))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x1ff),'Database\x20name')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x348),a2_0x3b23a2(0x334))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x35a),a2_0x3b23a2(0x1b8))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x174),a2_0x3b23a2(0x23d))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x41e),'Cron\x20expression\x20for\x20scheduling')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x40a),a2_0x3b23a2(0x2eb))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x2bd),a2_0x3b23a2(0x280))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x364),a2_0x3b23a2(0x331))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x12a),a2_0x3b23a2(0x1fb))['option'](a2_0x3b23a2(0x21c),a2_0x3b23a2(0x171))['option'](a2_0x3b23a2(0x3c5),a2_0x3b23a2(0x33d))[a2_0x3b23a2(0x1f8)](async(_0x38d556,_0x1cb811)=>{const _0x41752b=a2_0x3b23a2,_0x32f519=new ScheduleUpdateCommand(),_0x33581c=program['opts'](),_0x169b06=await createTDXInstance(_0x33581c);_0x1cb811['in']&&(_0x1cb811[_0x41752b(0x1e7)]=_0x1cb811['in']);const _0x3cec52=await _0x32f519['run']({'options':{..._0x33581c,..._0x1cb811},'args':[_0x38d556],'tdx':_0x169b06});gracefulExit(_0x3cec52);}),scheduleCmd['command'](a2_0x3b23a2(0x2a4))['description'](a2_0x3b23a2(0x28f))[a2_0x3b23a2(0x1f8)](async(_0x2ef633,_0x420e58)=>{const _0x42dc2e=a2_0x3b23a2,_0x2baa3b=new ScheduleDeleteCommand(),_0xf9a55f=program['opts'](),_0x4cd396=await createTDXInstance(_0xf9a55f),_0x305c76=await _0x2baa3b[_0x42dc2e(0x2e4)]({'options':{..._0xf9a55f,..._0x420e58},'args':[_0x2ef633],'tdx':_0x4cd396});gracefulExit(_0x305c76);}),scheduleCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x2aa))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x2b2))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x1dd),a2_0x3b23a2(0x19d))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x28a),a2_0x3b23a2(0x3a6))[a2_0x3b23a2(0x1f8)](async(_0x20e2f6,_0x4d394d)=>{const _0x336787=a2_0x3b23a2,_0x277521=new ScheduleRunCommand(),_0x8cb01=program[_0x336787(0x1b0)](),_0x4695b=await createTDXInstance(_0x8cb01),_0x5b176b=await _0x277521[_0x336787(0x2e4)]({'options':{..._0x8cb01,..._0x4d394d},'args':[_0x20e2f6],'tdx':_0x4695b});gracefulExit(_0x5b176b);}),scheduleCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x2ac))['description'](a2_0x3b23a2(0x17b))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x288),a2_0x3b23a2(0x1cf))['option']('--to\x20<n>',a2_0x3b23a2(0x168))[a2_0x3b23a2(0x1f8)](async(_0x3a969d,_0x4f9a47)=>{const _0xcc7bcf=a2_0x3b23a2,_0x3e8e8d=new ScheduleHistoryCommand(),_0x3b9769=program['opts'](),_0x292e6a=await createTDXInstance(_0x3b9769),_0x5ed71d=await _0x3e8e8d[_0xcc7bcf(0x2e4)]({'options':{..._0x3b9769,..._0x4f9a47},'args':[_0x3a969d],'tdx':_0x292e6a});gracefulExit(_0x5ed71d);});const llmCmd=program['command']('llm')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x179));llmCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x332))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x425))[a2_0x3b23a2(0x1f8)](async(_0x16b738,_0x2c4b71)=>{const _0x4c14f1=a2_0x3b23a2,_0x5799a0=new LLMUseCommand(),_0x4f0a68=program[_0x4c14f1(0x1b0)](),_0x2e1ae7=await createTDXInstance(_0x4f0a68),_0x1bb27c=await _0x5799a0[_0x4c14f1(0x2e4)]({'options':{..._0x4f0a68,..._0x2c4b71},'args':[_0x16b738],'tdx':_0x2e1ae7});gracefulExit(_0x1bb27c);}),llmCmd['command'](a2_0x3b23a2(0x421))[a2_0x3b23a2(0x3db)]('List\x20available\x20LLM\x20models')[a2_0x3b23a2(0x1f8)](async _0x3ceb6d=>{const _0x85500a=a2_0x3b23a2,_0x4185a8=new LLMModelsCommand(),_0x227ea4=program[_0x85500a(0x1b0)](),_0x5820ed=await createTDXInstance(_0x227ea4),_0x21c68b=await _0x4185a8[_0x85500a(0x2e4)]({'options':{..._0x227ea4,..._0x3ceb6d},'args':[],'tdx':_0x5820ed});gracefulExit(_0x21c68b);});const projectCmd=llmCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x258))['description'](a2_0x3b23a2(0x1e0)),llmProjectListAction=async(_0x638382,_0x524cb5)=>{const _0x4f936f=a2_0x3b23a2,_0x334d23=new LLMProjectsCommand(),_0x3a1ec4=program[_0x4f936f(0x1b0)](),_0x9acf61=await createTDXInstance(_0x3a1ec4),_0x5d6173=await _0x334d23[_0x4f936f(0x2e4)]({'options':{..._0x3a1ec4,..._0x524cb5},'args':_0x638382?[_0x638382]:[],'tdx':_0x9acf61});gracefulExit(_0x5d6173);};projectCmd['command']('list\x20[pattern]')['description']('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x3b23a2(0x1f8)](llmProjectListAction),llmCmd['command'](a2_0x3b23a2(0x1ab))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x207))[a2_0x3b23a2(0x1f8)](llmProjectListAction),projectCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x34a))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3b6))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x356),a2_0x3b23a2(0x3d3))['action'](async(_0xbc7b27,_0x1d3787)=>{const _0x5a316f=a2_0x3b23a2,_0x48dd4c=new LLMProjectCreateCommand(),_0x5d700b=program[_0x5a316f(0x1b0)](),_0x49a35b=await createTDXInstance(_0x5d700b),_0x56984e=await _0x48dd4c['run']({'options':{..._0x5d700b,..._0x1d3787},'args':[_0xbc7b27],'tdx':_0x49a35b});gracefulExit(_0x56984e);}),projectCmd['command'](a2_0x3b23a2(0x2a4))['description'](a2_0x3b23a2(0x190))[a2_0x3b23a2(0x1f8)](async(_0x255bec,_0x3382ed)=>{const _0x2799b6=a2_0x3b23a2,_0x1ecc0f=new LLMProjectDeleteCommand(),_0x577895=program['opts'](),_0x57a5d0=await createTDXInstance(_0x577895),_0x1d89d0=await _0x1ecc0f[_0x2799b6(0x2e4)]({'options':{..._0x577895,..._0x3382ed},'args':[_0x255bec],'tdx':_0x57a5d0});gracefulExit(_0x1d89d0);}),projectCmd['command'](a2_0x3b23a2(0x1b4))['description'](a2_0x3b23a2(0x3cc))[a2_0x3b23a2(0x2de)]('-o,\x20--output\x20<folder>',a2_0x3b23a2(0x1c0))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3ff),'Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files')[a2_0x3b23a2(0x1f8)](async(_0x23821d,_0x482724)=>{const _0x55e52b=a2_0x3b23a2,_0x3f041e=new LLMProjectBackupCommand(),_0x3c2e25=program['opts'](),_0x1dc76a=await createTDXInstance(_0x3c2e25),_0x3a00ad=await _0x3f041e[_0x55e52b(0x2e4)]({'options':{..._0x3c2e25,..._0x482724},'args':[_0x23821d],'tdx':_0x1dc76a});gracefulExit(_0x3a00ad);}),projectCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x3da))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x236))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x2bf),a2_0x3b23a2(0x1ef))['option'](a2_0x3b23a2(0x3ff),a2_0x3b23a2(0x2ea))[a2_0x3b23a2(0x1f8)](async(_0x4819dd,_0x3876f0)=>{const _0x1e04d4=a2_0x3b23a2,_0x391b64=new LLMProjectRestoreCommand(),_0x4265de=program['opts'](),_0x41dc2d=await createTDXInstance(_0x4265de),_0x114f0f=await _0x391b64[_0x1e04d4(0x2e4)]({'options':{..._0x4265de,..._0x3876f0},'args':[_0x4819dd],'tdx':_0x41dc2d});gracefulExit(_0x114f0f);});const llmAgentListAction=async(_0x3d8594,_0x1efab0)=>{const _0x3bbbbc=a2_0x3b23a2,_0x15868e=new LLMAgentsCommand(),_0xb62721=program['opts'](),_0x45b847=await createTDXInstance(_0xb62721),_0x134c33=await _0x15868e[_0x3bbbbc(0x2e4)]({'options':{..._0xb62721,..._0x1efab0},'args':_0x3d8594?[_0x3d8594]:[],'tdx':_0x45b847});gracefulExit(_0x134c33);};llmCmd['command']('agents\x20[pattern]')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3bf))[a2_0x3b23a2(0x1f8)](llmAgentListAction),program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x2ff))['description'](a2_0x3b23a2(0x3bf))['action'](llmAgentListAction),llmCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x146))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x17f))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x377),a2_0x3b23a2(0x387))[a2_0x3b23a2(0x1f8)](async(_0xe04d7f,_0xc065b5)=>{const _0x1cbb90=a2_0x3b23a2,_0x38b6fd=new LLMHistoryCommand(),_0x4d34a8=program[_0x1cbb90(0x1b0)](),_0x3fb399=await createTDXInstance(_0x4d34a8),_0x35b9c4=await _0x38b6fd[_0x1cbb90(0x2e4)]({'options':{..._0x4d34a8,..._0xc065b5},'args':_0xe04d7f?[_0xe04d7f]:[],'tdx':_0x3fb399});gracefulExit(_0x35b9c4);});isExperimentalAvailable()&&llmCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x19f))[a2_0x3b23a2(0x3db)]('[EXPERIMENTAL]\x20Show\x20chat\x20log')['action'](async(_0x5a9c9e,_0x4c619c)=>{const _0xafd993=a2_0x3b23a2,_0x469378=new LLMLogCommand(),_0xb67d21=program[_0xafd993(0x1b0)](),_0x5c8e97=await createTDXInstance(_0xb67d21),_0x4254a1=await _0x469378[_0xafd993(0x2e4)]({'options':{..._0xb67d21,..._0x4c619c},'args':[_0x5a9c9e],'tdx':_0x5c8e97});gracefulExit(_0x4254a1);});program[a2_0x3b23a2(0x316)]('claude\x20[args...]')[a2_0x3b23a2(0x397)](a2_0x3b23a2(0x23c))['description'](a2_0x3b23a2(0x368))[a2_0x3b23a2(0x2de)]('-c,\x20--continue',a2_0x3b23a2(0x359))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x144),a2_0x3b23a2(0x2cc))[a2_0x3b23a2(0x2de)]('--no-proxy',a2_0x3b23a2(0x152))[a2_0x3b23a2(0x246)]()['allowExcessArguments'](!![])['addHelpText'](a2_0x3b23a2(0x267),'\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON')[a2_0x3b23a2(0x1f8)](async(_0x51781a,_0x5d2334)=>{const _0x3f3fc8=a2_0x3b23a2,_0x28260d=program[_0x3f3fc8(0x1b0)](),_0x6e47cf=Array[_0x3f3fc8(0x347)](_0x51781a)?_0x51781a:[];if(_0x6e47cf[0x0]===_0x3f3fc8(0x33e)){const _0x237f18=new ClaudeStatuslineCommand(),_0x2e5e7b=await _0x237f18[_0x3f3fc8(0x2e4)]({'options':{..._0x28260d,..._0x5d2334},'args':_0x6e47cf['slice'](0x1),'tdx':null});gracefulExit(_0x2e5e7b);}if(_0x6e47cf[0x0]===_0x3f3fc8(0x397)){const _0x5337a5=new ClaudeUsageCommand(),_0x2b6de3=await _0x5337a5[_0x3f3fc8(0x2e4)]({'options':{..._0x28260d,..._0x5d2334},'args':_0x6e47cf['slice'](0x1),'tdx':null});gracefulExit(_0x2b6de3);}const _0x167cf7=new ClaudeCommand(),_0x241804=await createTDXInstance(_0x28260d),_0x47a3a9=await _0x167cf7[_0x3f3fc8(0x2e4)]({'options':{..._0x28260d,..._0x5d2334},'args':_0x6e47cf,'tdx':_0x241804});gracefulExit(_0x47a3a9);}),program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x40e))['description'](a2_0x3b23a2(0x278))[a2_0x3b23a2(0x2de)]('--clear','Clear\x20session\x20context')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x268),a2_0x3b23a2(0x222))[a2_0x3b23a2(0x1f8)](async(_0x14738c,_0x5eae11,_0xb98eba)=>{const _0x5af14c=a2_0x3b23a2,_0x5f30c5=new UseCommand(),_0x4d2919=program[_0x5af14c(0x1b0)](),_0x123f1c=[];if(_0x14738c)_0x123f1c[_0x5af14c(0x37b)](_0x14738c);if(_0x5eae11)_0x123f1c[_0x5af14c(0x37b)](_0x5eae11);const _0x7aebe2=_0x14738c==='engage_workspace',_0x44a56a=_0x7aebe2?await createTDXInstance(_0x4d2919):null,_0x28bfdf=await _0x5f30c5['run']({'options':{..._0x4d2919,..._0xb98eba},'args':_0x123f1c,'tdx':_0x44a56a});gracefulExit(_0x28bfdf);}),program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x428))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3c7))['action'](async _0x8f0a7a=>{const _0x2d2431=a2_0x3b23a2,_0x53669d=new StatusCommand(),_0x1e1736=program[_0x2d2431(0x1b0)](),_0x277c90=await createTDXInstance(_0x1e1736),_0x76f15a=await _0x53669d['run']({'options':{..._0x1e1736,..._0x8f0a7a},'args':[],'tdx':_0x277c90});gracefulExit(_0x76f15a);}),program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x357))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x2cf))['option']('--dry-run',a2_0x3b23a2(0x2e5))['option'](a2_0x3b23a2(0x2df),a2_0x3b23a2(0x25a))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x37e),a2_0x3b23a2(0x22d))[a2_0x3b23a2(0x1f8)](async(_0x11a9a2,_0x55765e)=>{const _0x34005a=new UpgradeCommand(),_0x11c869=program['opts'](),_0x528675=await _0x34005a['run']({'options':{..._0x11c869,..._0x55765e},'args':_0x11a9a2?[_0x11a9a2]:[],'tdx':null});gracefulExit(_0x528675);}),program['command']('unset\x20<resource>')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x290))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x268),a2_0x3b23a2(0x161))[a2_0x3b23a2(0x1f8)](async(_0x1f032a,_0x1d3fad)=>{const _0x354ae6=a2_0x3b23a2,_0xe9c886=new UnsetCommand(),_0x5d7c29=program[_0x354ae6(0x1b0)](),_0x142f6=await _0xe9c886[_0x354ae6(0x2e4)]({'options':{..._0x5d7c29,..._0x1d3fad},'args':[_0x1f032a],'tdx':null});gracefulExit(_0x142f6);}),program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x18e))['description'](a2_0x3b23a2(0x167))['option'](a2_0x3b23a2(0x377),a2_0x3b23a2(0x342))[a2_0x3b23a2(0x1f8)](async _0x5d5df7=>{const _0x259ffb=a2_0x3b23a2,_0x33c02f=new ChatsCommand(),_0xbbc4a7=program[_0x259ffb(0x1b0)](),_0x3178e1=await createTDXInstance(_0xbbc4a7),_0x1c2e0c=await _0x33c02f['run']({'options':{..._0xbbc4a7,..._0x5d5df7},'args':[],'tdx':_0x3178e1});gracefulExit(_0x1c2e0c);});const authCmd=program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x303))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x2b9));async function runAuthStatusCommand(_0x1e1749){const _0x27e61=a2_0x3b23a2,_0x5b9a2d=new AuthStatusCommand(),_0x91b46=program[_0x27e61(0x1b0)](),_0x50d392=await createTDXInstance(_0x91b46),_0x5e82af=await _0x5b9a2d['run']({'options':{..._0x91b46,..._0x1e1749},'args':[],'tdx':_0x50d392});gracefulExit(_0x5e82af);}authCmd[a2_0x3b23a2(0x1f8)](runAuthStatusCommand),authCmd['command'](a2_0x3b23a2(0x428))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x313))['action'](runAuthStatusCommand),authCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x1b9))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x390))[a2_0x3b23a2(0x366)](a2_0x3b23a2(0x267),'\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20ap01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a')[a2_0x3b23a2(0x1f8)](async _0x543b48=>{const _0x1046a4=a2_0x3b23a2,_0x250a5c=new AuthSetupCommand(),_0x13869f=program['opts'](),_0x18542e=await createTDXInstance(_0x13869f),_0x18616f=await _0x250a5c[_0x1046a4(0x2e4)]({'options':{..._0x13869f,..._0x543b48},'args':[],'tdx':_0x18542e});gracefulExit(_0x18616f);}),authCmd['command'](a2_0x3b23a2(0x2ba))[a2_0x3b23a2(0x3db)]('Login\x20via\x20OAuth\x20(dev\x20sites\x20only)')[a2_0x3b23a2(0x366)](a2_0x3b23a2(0x267),a2_0x3b23a2(0x3ce))[a2_0x3b23a2(0x1f8)](async _0x21cfcb=>{const _0xa9cfed=a2_0x3b23a2,_0x5ae72d=new AuthLoginCommand(),_0x42f428=program[_0xa9cfed(0x1b0)](),_0x184766=await _0x5ae72d[_0xa9cfed(0x2e4)]({'options':{..._0x42f428,..._0x21cfcb},'args':[],'tdx':null});gracefulExit(_0x184766);}),authCmd['command']('clear')[a2_0x3b23a2(0x3db)]('Remove\x20API\x20key\x20from\x20system\x20keychain')[a2_0x3b23a2(0x366)]('after',a2_0x3b23a2(0x16f))['action'](async _0x57794e=>{const _0x65797c=a2_0x3b23a2,_0x5cbe6a=new AuthClearCommand(),_0x533176=program[_0x65797c(0x1b0)](),_0x284686=await _0x5cbe6a['run']({'options':{..._0x533176,..._0x57794e},'args':[],'tdx':null});gracefulExit(_0x284686);});const userCmd=program['command'](a2_0x3b23a2(0x2b7))[a2_0x3b23a2(0x3db)]('User\x20management\x20commands'),userListAction=async _0x5a8bc2=>{const _0x5afee6=a2_0x3b23a2,_0x348686=new UserListCommand(),_0x4e380e=program[_0x5afee6(0x1b0)](),_0x45f5b7=await createTDXInstance(_0x4e380e),_0x582641=await _0x348686[_0x5afee6(0x2e4)]({'options':{..._0x4e380e,..._0x5a8bc2},'args':[],'tdx':_0x45f5b7});gracefulExit(_0x582641);};userCmd[a2_0x3b23a2(0x1f8)](async _0x16fe5c=>{const _0x105f16=a2_0x3b23a2,_0x3726e9=new UserCommand(),_0x45be81=program[_0x105f16(0x1b0)](),_0x57e981=await createTDXInstance(_0x45be81),_0x1cc5c2=await _0x3726e9[_0x105f16(0x2e4)]({'options':{..._0x45be81,..._0x16fe5c},'args':[],'tdx':_0x57e981});gracefulExit(_0x1cc5c2);}),userCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x254))['description']('List\x20all\x20users\x20in\x20the\x20account')[a2_0x3b23a2(0x1f8)](userListAction),program[a2_0x3b23a2(0x316)]('users')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x414))['action'](userListAction);const policyCmd=program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x2bc))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x256));policyCmd['action'](async _0x4c9cf3=>{const _0x5878a2=a2_0x3b23a2,_0x243ac6=new PolicyCommand(),_0x666913=program[_0x5878a2(0x1b0)](),_0x20fcc8=await createTDXInstance(_0x666913),_0x37de2d=await _0x243ac6[_0x5878a2(0x2e4)]({'options':{..._0x666913,..._0x4c9cf3},'args':[],'tdx':_0x20fcc8});gracefulExit(_0x37de2d);}),policyCmd['command'](a2_0x3b23a2(0x254))['description'](a2_0x3b23a2(0x329))[a2_0x3b23a2(0x1f8)](async _0x5327bd=>{const _0x236318=a2_0x3b23a2,_0x5351e0=new PolicyListCommand(),_0xc8cead=program['opts'](),_0x47650a=await createTDXInstance(_0xc8cead),_0x1af7d5=await _0x5351e0[_0x236318(0x2e4)]({'options':{..._0xc8cead,..._0x5327bd},'args':[],'tdx':_0x47650a});gracefulExit(_0x1af7d5);}),policyCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x245))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3ec))['action'](async(_0x36afae,_0x4fadbd)=>{const _0x407d91=a2_0x3b23a2,_0x2a7a56=new PolicyShowCommand(),_0x389e1a=program[_0x407d91(0x1b0)](),_0xd2b3b8=await createTDXInstance(_0x389e1a),_0xd5b133=await _0x2a7a56['run']({'options':{..._0x389e1a,..._0x4fadbd},'args':[_0x36afae],'tdx':_0xd2b3b8});gracefulExit(_0xd5b133);}),program['command'](a2_0x3b23a2(0x35c))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x159))[a2_0x3b23a2(0x1f8)](async _0x4fbd98=>{const _0x1d3798=a2_0x3b23a2,_0x5a09a0=new ProfilesCommand(),_0x463e4e=program[_0x1d3798(0x1b0)](),_0x1742b6=await _0x5a09a0['run']({'options':{..._0x463e4e,..._0x4fbd98},'args':[],'tdx':null});gracefulExit(_0x1742b6);});const profileCmd=program['command']('profile')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x411));profileCmd[a2_0x3b23a2(0x1f8)](()=>{const _0x48b435=a2_0x3b23a2;profileCmd[_0x48b435(0x36b)]();});const profileListAction=async _0x44f46f=>{const _0x52ac63=a2_0x3b23a2,_0x58658d=new ProfilesCommand(),_0x41ce74=program[_0x52ac63(0x1b0)](),_0x3fd4a8=await _0x58658d['run']({'options':{..._0x41ce74,..._0x44f46f},'args':[],'tdx':null});gracefulExit(_0x3fd4a8);};profileCmd['command'](a2_0x3b23a2(0x254))[a2_0x3b23a2(0x3db)]('List\x20all\x20available\x20profiles')['action'](profileListAction),profileCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x361))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x127))[a2_0x3b23a2(0x366)](a2_0x3b23a2(0x267),'\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')['action'](async(_0x5919bb,_0xacdcb3)=>{const _0x41efa8=a2_0x3b23a2,_0x1261c2=new ProfileCreateCommand(),_0x3d92b1=program[_0x41efa8(0x1b0)](),_0x25639c=await _0x1261c2[_0x41efa8(0x2e4)]({'options':{..._0x3d92b1,..._0xacdcb3},'args':_0x5919bb?[_0x5919bb]:[],'tdx':null});gracefulExit(_0x25639c);}),profileCmd['command']('remove\x20<name>')[a2_0x3b23a2(0x3db)]('Remove\x20a\x20profile')[a2_0x3b23a2(0x366)](a2_0x3b23a2(0x267),a2_0x3b23a2(0x3a4))[a2_0x3b23a2(0x1f8)](async(_0x269828,_0x14cb4f)=>{const _0x4af01a=a2_0x3b23a2,_0x1ab7b4=new ProfileRemoveCommand(),_0xdfa438=program[_0x4af01a(0x1b0)](),_0x4225d8=await _0x1ab7b4[_0x4af01a(0x2e4)]({'options':{..._0xdfa438,..._0x14cb4f},'args':[_0x269828],'tdx':null});gracefulExit(_0x4225d8);}),profileCmd['command'](a2_0x3b23a2(0x352))['description'](a2_0x3b23a2(0x42c))[a2_0x3b23a2(0x366)]('after',a2_0x3b23a2(0x13c))[a2_0x3b23a2(0x1f8)](async(_0x3e5c9a,_0x44ef67)=>{const _0x25349d=a2_0x3b23a2,_0x5e80ba=new ProfileSetCommand(),_0x3f1da8=program['opts'](),_0xa9bbab=await _0x5e80ba[_0x25349d(0x2e4)]({'options':{..._0x3f1da8,..._0x44ef67},'args':[_0x3e5c9a],'tdx':null});gracefulExit(_0xa9bbab);}),profileCmd[a2_0x3b23a2(0x316)]('use\x20<name>')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3e3))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x268),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x3b23a2(0x366)](a2_0x3b23a2(0x267),'\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')['action'](async(_0x3e082a,_0x37b25c)=>{const _0x124c89=a2_0x3b23a2,_0x91c7bb=new ProfileUseCommand(),_0x2e1a4c=program[_0x124c89(0x1b0)](),_0xba21bd=await _0x91c7bb[_0x124c89(0x2e4)]({'options':{..._0x2e1a4c,..._0x37b25c},'args':[_0x3e082a],'tdx':null});gracefulExit(_0xba21bd);});const engageCmd=program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x2c9))[a2_0x3b23a2(0x3db)]('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x1ff9f9=>{return async(_0xfca8e3,_0x5ba350)=>{const _0xa45bf6=a2_0x2d5f,_0x1a6343=new _0x1ff9f9(),_0x1dcccb=program['opts'](),_0x55ee7a=await createTDXInstance(_0x1dcccb),_0x4b3775=await _0x1a6343[_0xa45bf6(0x2e4)]({'options':{..._0x1dcccb,..._0x5ba350},'args':[_0xfca8e3],'tdx':_0x55ee7a});gracefulExit(_0x4b3775);};},createEngageNoArgAction=_0x4402d2=>{return async _0x100662=>{const _0x5b0c0b=a2_0x2d5f,_0x20cc36=new _0x4402d2(),_0x4c4a1e=program[_0x5b0c0b(0x1b0)](),_0x531f80=await createTDXInstance(_0x4c4a1e),_0x4e7a43=await _0x20cc36['run']({'options':{..._0x4c4a1e,..._0x100662},'args':[],'tdx':_0x531f80});gracefulExit(_0x4e7a43);};},createEngageListAction=_0x18390b=>{return async(_0x10d4c3,_0xd272e2)=>{const _0x12663e=a2_0x2d5f,_0x38d4b5=new _0x18390b(),_0x3c4721=program[_0x12663e(0x1b0)](),_0x344dd4=await createTDXInstance(_0x3c4721),_0x5b0375=await _0x38d4b5[_0x12663e(0x2e4)]({'options':{..._0x3c4721,..._0xd272e2},'args':_0x10d4c3?[_0x10d4c3]:[],'tdx':_0x344dd4});gracefulExit(_0x5b0375);};},campaignCmd=engageCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x1db))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x1b7));campaignCmd[a2_0x3b23a2(0x316)]('list\x20[pattern]')['description'](a2_0x3b23a2(0x1eb))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x174),a2_0x3b23a2(0x296))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x219),a2_0x3b23a2(0x2fa))[a2_0x3b23a2(0x2de)]('--workspace\x20<name>',a2_0x3b23a2(0x395))[a2_0x3b23a2(0x1f8)](createEngageListAction(EngageCampaignsCommand)),engageCmd['command'](a2_0x3b23a2(0x273))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x12f))['option'](a2_0x3b23a2(0x174),a2_0x3b23a2(0x296))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x219),a2_0x3b23a2(0x2fa))['option'](a2_0x3b23a2(0x2a1),a2_0x3b23a2(0x395))[a2_0x3b23a2(0x1f8)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x3b23a2(0x316)]('show\x20<name-or-id>')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x1b3))['option']('--workspace\x20<name>',a2_0x3b23a2(0x395))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x18a),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd['command'](a2_0x3b23a2(0x195))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x381))['requiredOption']('--name\x20<name>',a2_0x3b23a2(0x2f4))[a2_0x3b23a2(0x277)](a2_0x3b23a2(0x174),a2_0x3b23a2(0x160))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x2a1),a2_0x3b23a2(0x1d5))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x41f),a2_0x3b23a2(0x3ea))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x242),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')['option'](a2_0x3b23a2(0x38c),a2_0x3b23a2(0x266))['option'](a2_0x3b23a2(0x24e),a2_0x3b23a2(0x196))[a2_0x3b23a2(0x2de)]('--start-at\x20<datetime>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x40a),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x3b23a2(0x1f8)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd['command'](a2_0x3b23a2(0x16e))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x38b))[a2_0x3b23a2(0x2de)]('--workspace\x20<name>',a2_0x3b23a2(0x395))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3b2),a2_0x3b23a2(0x26f))[a2_0x3b23a2(0x2de)]('--description\x20<desc>',a2_0x3b23a2(0x3ea))['option'](a2_0x3b23a2(0x242),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x38c),a2_0x3b23a2(0x266))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x24e),a2_0x3b23a2(0x196))['option'](a2_0x3b23a2(0x163),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')['option'](a2_0x3b23a2(0x40a),a2_0x3b23a2(0x15c))[a2_0x3b23a2(0x1f8)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command'](a2_0x3b23a2(0x1a9))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x31b))['option'](a2_0x3b23a2(0x2a1),'Workspace\x20name')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x269),'Skip\x20confirmation\x20prompt')[a2_0x3b23a2(0x1f8)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x412))['description'](a2_0x3b23a2(0x1f3))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x2a1),a2_0x3b23a2(0x395))[a2_0x3b23a2(0x1f8)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x2f2))[a2_0x3b23a2(0x3db)]('Pause\x20a\x20campaign')['option']('--workspace\x20<name>',a2_0x3b23a2(0x395))[a2_0x3b23a2(0x1f8)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x3b23a2(0x316)]('resume\x20<name-or-id>')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3cd))['option']('--workspace\x20<name>','Workspace\x20name')['action'](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command'](a2_0x3b23a2(0x138))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x380))['option'](a2_0x3b23a2(0x2a1),a2_0x3b23a2(0x395))[a2_0x3b23a2(0x1f8)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x155))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x30b))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x2a1),a2_0x3b23a2(0x395))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3b2),a2_0x3b23a2(0x1b5))[a2_0x3b23a2(0x2de)]('--type\x20<type>',a2_0x3b23a2(0x296))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3ff),a2_0x3b23a2(0x2f5))[a2_0x3b23a2(0x1f8)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x360))[a2_0x3b23a2(0x3db)]('Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns')['option'](a2_0x3b23a2(0x2a1),a2_0x3b23a2(0x395))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3ff),'Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0x3b23a2(0x1f8)](createEngageAction(EngageCampaignPushCommand)),campaignCmd['command']('validate\x20[target]')[a2_0x3b23a2(0x3db)]('Validate\x20campaign\x20YAML\x20files\x20locally')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x367),'Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x3b23a2(0x1f8)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x239))[a2_0x3b23a2(0x3db)]('Always-on\x20campaign\x20management');alwaysOnCampaignCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x32c))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x2d3))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x174),a2_0x3b23a2(0x296))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x219),a2_0x3b23a2(0x28b))[a2_0x3b23a2(0x277)](a2_0x3b23a2(0x2a1),a2_0x3b23a2(0x1d5))[a2_0x3b23a2(0x1f8)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x3b23a2(0x316)]('always-on-campaigns\x20[pattern]')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3a9))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x174),a2_0x3b23a2(0x296))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x219),'Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')[a2_0x3b23a2(0x277)](a2_0x3b23a2(0x2a1),'Workspace\x20name\x20(required)')[a2_0x3b23a2(0x1f8)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd['command'](a2_0x3b23a2(0x19a))[a2_0x3b23a2(0x3db)]('Show\x20always-on\x20campaign\x20details')['requiredOption']('--workspace\x20<name>',a2_0x3b23a2(0x1d5))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x18a),a2_0x3b23a2(0x409))[a2_0x3b23a2(0x1f8)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x3b23a2(0x316)]('create')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x2c1))[a2_0x3b23a2(0x277)](a2_0x3b23a2(0x3b2),a2_0x3b23a2(0x2f4))[a2_0x3b23a2(0x277)](a2_0x3b23a2(0x174),a2_0x3b23a2(0x160))[a2_0x3b23a2(0x277)](a2_0x3b23a2(0x2a1),a2_0x3b23a2(0x1d5))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x41f),a2_0x3b23a2(0x3ea))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x242),a2_0x3b23a2(0x181))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x338),a2_0x3b23a2(0x257))[a2_0x3b23a2(0x1f8)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd['command']('update\x20<name-or-id>')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x1a5))[a2_0x3b23a2(0x277)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3b2),a2_0x3b23a2(0x26f))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x41f),a2_0x3b23a2(0x3ea))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x242),a2_0x3b23a2(0x181))['option'](a2_0x3b23a2(0x338),a2_0x3b23a2(0x257))[a2_0x3b23a2(0x1f8)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x1a9))['description'](a2_0x3b23a2(0x3e2))[a2_0x3b23a2(0x277)](a2_0x3b23a2(0x2a1),a2_0x3b23a2(0x1d5))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x269),a2_0x3b23a2(0x2f8))[a2_0x3b23a2(0x1f8)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x3b23a2(0x316)]('launch\x20<name-or-id>')['description']('Launch\x20an\x20always-on\x20campaign')['requiredOption'](a2_0x3b23a2(0x2a1),a2_0x3b23a2(0x1d5))[a2_0x3b23a2(0x1f8)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd['command'](a2_0x3b23a2(0x2f2))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x2e6))[a2_0x3b23a2(0x277)](a2_0x3b23a2(0x2a1),a2_0x3b23a2(0x1d5))[a2_0x3b23a2(0x1f8)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd['command'](a2_0x3b23a2(0x1af))[a2_0x3b23a2(0x3db)]('Resume\x20a\x20paused\x20always-on\x20campaign')[a2_0x3b23a2(0x277)]('--workspace\x20<name>',a2_0x3b23a2(0x1d5))[a2_0x3b23a2(0x1f8)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x3d6))['description']('Finish\x20an\x20always-on\x20campaign')[a2_0x3b23a2(0x277)](a2_0x3b23a2(0x2a1),'Workspace\x20name\x20(required)')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x269),a2_0x3b23a2(0x2f8))[a2_0x3b23a2(0x1f8)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x3b23a2(0x316)]('duplicate\x20<name-or-id>')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x21f))['requiredOption'](a2_0x3b23a2(0x2a1),'Workspace\x20name\x20(required)')[a2_0x3b23a2(0x277)]('--name\x20<name>','Name\x20for\x20the\x20duplicated\x20campaign')[a2_0x3b23a2(0x1f8)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd['command'](a2_0x3b23a2(0x220))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3f9));templateCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x32c))[a2_0x3b23a2(0x3db)]('List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x3b23a2(0x2de)]('--workspace\x20<name>','Workspace\x20name')[a2_0x3b23a2(0x1f8)](createEngageListAction(EngageTemplatesCommand)),engageCmd['command'](a2_0x3b23a2(0x351))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3c2))['option'](a2_0x3b23a2(0x2a1),a2_0x3b23a2(0x395))[a2_0x3b23a2(0x1f8)](createEngageListAction(EngageTemplatesCommand)),templateCmd['command'](a2_0x3b23a2(0x19a))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x1bd))['option'](a2_0x3b23a2(0x2a1),a2_0x3b23a2(0x395))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x18a),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x3b23a2(0x1f8)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x3b23a2(0x316)]('create')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x1f4))['requiredOption'](a2_0x3b23a2(0x3b2),'Template\x20name')[a2_0x3b23a2(0x277)](a2_0x3b23a2(0x2a3),a2_0x3b23a2(0x2e3))['option'](a2_0x3b23a2(0x293),a2_0x3b23a2(0x1d7))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x1b6),'Read\x20HTML\x20template\x20from\x20file')['option'](a2_0x3b23a2(0x2a1),'Workspace\x20name\x20(required)')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x135),a2_0x3b23a2(0x3f2))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x176),'Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)',_0x3c5fb7=>{const _0x313a0b=a2_0x3b23a2;if(![_0x313a0b(0x205),_0x313a0b(0x26d)][_0x313a0b(0x3f7)](_0x3c5fb7))throw new SDKError(ErrorCode[_0x313a0b(0x28c)],_0x313a0b(0x404)+_0x3c5fb7+'.\x20Must\x20be\x20beefree\x20or\x20grapesjs');return _0x3c5fb7;})[a2_0x3b23a2(0x1f8)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x16e))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x1c5))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x2a1),'Workspace\x20name')['option'](a2_0x3b23a2(0x3b2),a2_0x3b23a2(0x294))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x2a3),a2_0x3b23a2(0x2e3))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x293),a2_0x3b23a2(0x1d7))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x1b6),a2_0x3b23a2(0x200))['option'](a2_0x3b23a2(0x135),a2_0x3b23a2(0x3f2))[a2_0x3b23a2(0x1f8)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x40d))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x125))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x2a1),'Workspace\x20name')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3b2),a2_0x3b23a2(0x210))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x1ad),a2_0x3b23a2(0x2f8))['option'](a2_0x3b23a2(0x3ff),a2_0x3b23a2(0x2f5))[a2_0x3b23a2(0x1f8)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x360))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x25d))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x2a1),a2_0x3b23a2(0x395))[a2_0x3b23a2(0x2de)]('-y,\x20--yes','Skip\x20confirmation\x20prompt')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3ff),'Show\x20what\x20would\x20be\x20applied\x20without\x20applying')['action'](createEngageAction(EngageTemplatePushCommand)),templateCmd['command']('validate\x20[target]')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x419))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x367),a2_0x3b23a2(0x401))[a2_0x3b23a2(0x1f8)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x1a9))['description'](a2_0x3b23a2(0x2ee))[a2_0x3b23a2(0x2de)]('--workspace\x20<name>',a2_0x3b23a2(0x395))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x269),a2_0x3b23a2(0x2f8))[a2_0x3b23a2(0x1f8)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x3dc))['description'](a2_0x3b23a2(0x310));function a2_0xe6b5(){const _0x4580c6=['--attributes\x20<json>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','--no-eval','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','--table\x20<table>','--session-time\x20<time>','--stage\x20<name>','show\x20[name]','Workflow\x20project\x20management','--name\x20<name>','--rule-file\x20<file>','commands','Workflow\x20(Digdag)\x20management\x20commands','Create\x20a\x20new\x20LLM\x20project','noColor','List\x20all\x20data\x20connections','--interval\x20<range>','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Parse\x20and\x20validate\x20without\x20executing','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','--attributes-file\x20<file>','--name\x20<new_name>','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Set\x20or\x20show\x20parent\x20segment\x20context','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Export\x20journey(s)\x20as\x20YAML\x20files','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','--result\x20<url>','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','Show\x20authentication\x20status\x20and\x20current\x20context','--behavior\x20[name]','INFO','Updated\x20schedule\x20option','registeredArguments','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','Resume\x20a\x20paused\x20campaign','\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\x20OAuth\x20tokens\x20to\x20profile-specific\x20keychain)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20OAuth\x20login\x20for\x20default\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--site\x20ap01\x20\x20\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20for\x20Japan\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--profile\x20dev\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20saved\x20to\x20\x27dev\x27\x20profile\x0a','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','summary','Save\x20output\x20to\x20file','Project\x20description','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','finish\x20<name-or-id>','2iIjzID','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','restore\x20<folder>','description','workspace','argument','types','get','site','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','parents\x20[pattern]','upgrade','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','List\x20agents\x20in\x20current\x20project','[DEPRECATED]\x20Segment\x20folder\x20management','tdx\x20','Campaign\x20description','Maximum\x20rows\x20to\x20display','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','LLM\x20agent\x20management','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','describe\x20[table]','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','--param\x20<key=value>','Plaintext\x20template\x20content','name','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','List\x20activations\x20for\x20a\x20journey','includes','stringify','Email\x20template\x20management','clone\x20[source-dir]','--include-retried','--type\x20<api_type>','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','--version\x20<number>','--dry-run','GET','Show\x20all\x20files\x20including\x20valid\x20ones','--limit\x20<number>','Agent\x20description','Invalid\x20editor\x20type:\x20','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Get\x20job\x20results','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','-d,\x20--database\x20<database>','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','--timezone\x20<tz>','set','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','pull\x20[workspace]','use\x20[resource]\x20[value]','kill\x20<job-id>','Options:','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','launch\x20<name-or-id>','show\x20<service_id>\x20[parent_segment]','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Workflow\x20parameter\x20(repeatable)','version','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Validate\x20template\x20YAML\x20files\x20locally','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','--follow','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','logs','--cron\x20<expression>','--description\x20<desc>','split','models','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','69777JEnyeW','Database\x20name\x20(required)','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Override\x20project\x20name','\x22.\x20Must\x20be\x20a\x20number.','status','--include-subtasks','Job\x20management\x20commands','List\x20secret\x20keys\x20for\x20a\x20project','Set\x20a\x20profile\x20configuration\x20value','--behaviors\x20<json>','Show\x20timeline\x20for\x20specific\x20attempt','--json','Open\x20segment\x20in\x20web\x20browser','segment','132BrUmhp','sql\x20[name]','0.7','push\x20[name]','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','--stream','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','gitRevision','information_schema','Personalization\x20service\x20management','Pull\x20templates\x20to\x20YAML\x20files','error','Create\x20a\x20new\x20profile','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','--retry-limit\x20<0~32>','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','validate\x20[target]','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','parent_segment','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','RT\x20Journey\x20management','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Make\x20segment\x20invisible\x20(default:\x20visible)','stdout','List\x20all\x20versions\x20of\x20a\x20journey','--plaintext\x20<text>','Maximum\x20recursion\x20depth\x20(default:\x2010)','segments\x20[path]','duplicate\x20<name-or-id>','chat\x20[message...]','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','--add-behaviors-file\x20<file>','\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=ap01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','-C,\x20--directory\x20<path>','Parent\x20folder\x20name\x20for\x20nested\x20folders','sql\x20[segment_name]','exit','profile','Unknown\x20action:\x20','-r,\x20--resume','attempt:','history\x20[chat-id]','show\x20[table]','--name\x20<names>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','show\x20<job-id>','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','long','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','job','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','pull\x20[workspace-name]','Resume\x20activations\x20in\x20an\x20RT\x20journey','repeat','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','List\x20all\x20available\x20profiles','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','-H,\x20--header\x20<header>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','-o,\x20--output\x20<dir>','Force\x20retry\x20even\x20if\x20not\x20failed','alias','Campaign\x20type\x20(email\x20or\x20push)','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Kill\x20a\x20job','--start-at\x20<datetime>','_list-commands','[action]','--timeout\x20<seconds>','Interactive\x20chat\x20selector','Ending\x20offset\x20(default:\x2020)','session','--session-id\x20<id>','End\x20time\x20filter\x20(ISO\x208601\x20format)','map','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','update\x20<name-or-id>','\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','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','Query\x20engine\x20version','Usage:\x20','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','--type\x20<type>','--path\x20<file-path>','--editor-type\x20<type>','580517fmvikQ','Behaviors\x20as\x20JSON\x20string','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20schedule\x20execution\x20history','--reason\x20<text>','colorFn','Add\x20attributes\x20from\x20JSON\x20file','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Create\x20a\x20scheduled\x20query','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','subcommandDescription','settings\x20<type>','Get\x20current\x20RT\x20configuration\x20version\x20status','retry\x20<session-id>','validate\x20[name]','Personalization\x20name','connection','Personalization\x20service\x20token\x20management','--full','--master','Create\x20a\x20workspace','connections','chats','Validate\x20journey\x20YAML\x20files\x20locally','Delete\x20an\x20LLM\x20project','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','Master\x20database\x20name','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Custom\x20revision\x20name\x20(default:\x20timestamp)','create','JSON\x20columns\x20for\x20connector\x20(comma-separated)','\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','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Parent\x20segment\x20management','show\x20<name-or-id>','--add-attributes-file\x20<file>','folders\x20<parent_name>','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','retry','log\x20<chat-id>','Move\x20to\x20folder','-a,\x20--agent\x20<name>','run\x20[workflow]','-f,\x20--force','Push\x20without\x20confirmation','Update\x20an\x20always-on\x20campaign','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','--invisible','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','delete\x20<name-or-id>','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','projects\x20[pattern]','Include\x20retried\x20attempts','-y,\x20--yes','DEBUG','resume\x20<name-or-id>','opts','5141349jRbahV','Add\x20behaviors\x20from\x20JSON\x20file','Show\x20campaign\x20details','backup\x20<name>','Pull\x20specific\x20campaign\x20by\x20name','--html-file\x20<path>','Campaign\x20management','Read\x20query\x20from\x20file','setup','create\x20<segment_name>','optionTerm','Name\x20for\x20the\x20new\x20project\x20(required)','Show\x20email\x20template\x20details','Submit\x20a\x20job','push\x20[parent_or_file]','Output\x20folder\x20(default:\x20{project_name}.llm)','--catalog\x20<catalog>','push\x20[file]','--limit\x20<rows>','isTTY','Update\x20an\x20email\x20template','Show\x20only\x20master\x20table\x20validation','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','variadic','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','--limit\x20<n>','--temperature\x20<n>','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','logLevel','journey','Starting\x20offset\x20(default:\x200)','apiKey','traffic\x20<name-or-path>','Output\x20as\x20JSON','query\x20[sql]','delete\x20<agent-name>','Workspace\x20name\x20(required)','describe','HTML\x20template\x20content','isDirectory','--name\x20<text>','Run\x20tests\x20for\x20an\x20LLM\x20agent','campaign','Show\x20journey\x20details','--time\x20<iso8601>','Agent\x20prompt/instructions','--schedule-type\x20<type>','LLM\x20project\x20management','Arguments:','activations\x20<name-or-path>','delete\x20<project-name-or-id>','--attempt-id\x20<id>','then','join','database','list\x20[name]','Token\x20description',',\x20version\x20','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','upload\x20[project-name-or-dir]','schedule','Personalization\x20description','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','delete\x20<personalization_id>','Launch\x20a\x20campaign','Create\x20an\x20email\x20template','claude-4.5-sonnet','RT\x202.0\x20configuration\x20management','Start\x20a\x20new\x20chat\x20session','action','preview\x20[file]','--revision\x20<revision>','Retry\x20limit\x20(0\x20to\x2032)','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','-d,\x20--database\x20<db>','Read\x20HTML\x20template\x20from\x20file','subcommandTerm','Personalization\x20management','Preview\x20changes\x20without\x20pushing','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','beefree','list\x20[path]','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','log','activations\x20<segment_name>','List\x20jobs','Show\x20journey\x20table\x20column-to-step\x20mapping','Show\x20journey\x20statistics','--skip-validation','--kind\x20<type>','9732780fkOeBa','Pull\x20specific\x20template\x20by\x20name','--trace','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','-w,\x20--web','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','CDP\x20Journey\x20Orchestration\x20commands','Database\x20name\x20(default:\x20information_schema)','Skip\x20confirmation\x20prompts','--from\x20<timestamp>','--status\x20<status>','run\x20[name]','update\x20<service_id>\x20[parent_segment]','--engine-version\x20<version>','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','create\x20<name-or-path>','Duplicate\x20an\x20always-on\x20campaign','template','Show\x20segment\x20schema\x20(column\x20types)','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','--max-depth\x20<depth>','--starter-message\x20<text>','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','--agent\x20<ref>','json','Preview\x20without\x20creating\x20the\x20project','--session\x20<id>','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','token','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','Workspace\x20description','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','Show\x20agent\x20details','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Agent\x20name','api\x20[endpoint]','aliases','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','\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','injectIntoOptions','always-on-campaign','view\x20<name-or-path>','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','[options]\x20--\x20[claude-code-args...]','Query\x20type:\x20trino\x20or\x20hive','Generate\x20test\x20conversations\x20without\x20evaluation','Delete\x20a\x20realtime\x20personalization','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','hidden','--segment\x20<path>','Skip\x20validation\x20of\x20.dig\x20files','New\x20service\x20name','show\x20<policy>','allowUnknownOption','journeys\x20[pattern]','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Make\x20service\x20public\x20(default:\x20private)','pull\x20[name]','Timezone\x20(e.g.,\x20America/Los_Angeles)','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','stats\x20<name-or-path>','--json-columns\x20<cols>','catch','us01','--job-type\x20<type>','replace','--help','list','--file\x20<path>','Access\x20control\x20policy\x20commands','Enable\x20UTM\x20tracking','project','commandDescription','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','desc\x20[name]','parse','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','--llm-project\x20<name>','--database\x20<name>','senders\x20[pattern]','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','4JoDyjs','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','--from\x20<date>','workflows\x20[project]','Email\x20sender\x20ID\x20for\x20delivery','after','--default','--yes','--new','init\x20[name]','Attributes\x20as\x20JSON\x20string','grapesjs','-u,\x20--use','New\x20campaign\x20name','Folder\x20name\x20for\x20organization','Maximum\x20tool\x20iterations\x20(default:\x204)','-X,\x20--method\x20<method>','campaigns\x20[pattern]','--enriched','databases\x20[pattern]','Pull\x20child\x20segments\x20to\x20YAML\x20files','requiredOption','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','stderr','Include\x20subtasks\x20in\x20tasks\x20output','\x20(resolved\x20to\x20','--folder-id\x20<id>','workflow','jsonl','Delay\x20in\x20seconds\x20before\x20execution','--chat-id\x20<id>','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','tsv','Start\x20time\x20filter\x20(ISO\x208601\x20format)','create\x20<name>\x20[parent_segment]','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','--from\x20<n>','--max-tool-iterations\x20<n>','--num\x20<1-10>','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','INVALID_ARGUMENT','padWidth','desc\x20[segment_name]','Delete\x20a\x20scheduled\x20query','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Change\x20to\x20directory\x20before\x20executing\x20command','--html\x20<html>','New\x20template\x20name','preAction','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','--include-stats','--include-history','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','--parent-folder\x20<name>','-o,\x20--output\x20<file>','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','argv','Output\x20as\x20JSON\x20Lines','Skip\x20population\x20counting','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','--workspace\x20<name>','--no-color','--subject\x20<subject>','delete\x20<name>','flatMap','Sections\x20as\x20an\x20inline\x20JSON\x20array','--delete','_hidden','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','run\x20<name>','View\x20a\x20specific\x20version\x20of\x20a\x20journey','history\x20<name>','Show\x20stats\x20for\x20specific\x20stage','Show\x20job\x20details','trace','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Output\x20file\x20path','Run\x20a\x20scheduled\x20query\x20immediately','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Journey\x20version\x20management','New\x20service\x20description','show\x20<agent-name>','user','--audience-id\x20<id>','Authentication\x20management','login','Scheduled\x20query\x20management\x20commands','policy','--delay\x20<seconds>','delete\x20<token_id>\x20[parent_segment]','--name\x20<new-name>','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Create\x20a\x20new\x20always-on\x20campaign','--attribute\x20[name]','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','--parent-segment\x20<name>','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','--sections\x20<json>','resume_activations\x20<journeyId>','engage','[attempt-id]','New\x20workspace\x20name','Resume\x20a\x20conversation\x20(shows\x20selector)','use\x20[project]','--data\x20<data>','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','Filtering\x20rule\x20from\x20JSON\x20file','clone\x20[source]','forEach','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','parent-segment','Maximum\x20number\x20of\x20nodes','Delete\x20a\x20workspace','--behaviors-file\x20<file>','Include\x20execution\x20statistics','Timezone\x20for\x20cron\x20(default:\x20UTC)','length','Updated\x20description','Attempt\x20ID','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','option','--next','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Open\x20journey\x20in\x20web\x20browser','accessToken','Email\x20subject\x20template','run','Check\x20for\x20updates\x20without\x20installing','Pause\x20an\x20always-on\x20campaign','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','create\x20<parent_name>\x20<folder_name>','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Timezone\x20for\x20cron','--resume-from\x20<task>','slice','Delete\x20an\x20email\x20template','debug','update\x20<segment_name>','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','pause\x20<name-or-id>','1933176RGxtgT','Campaign\x20name','Show\x20what\x20would\x20be\x20written\x20without\x20writing','--schedule-option\x20<value>','versions\x20<name-or-path>','Skip\x20confirmation\x20prompt','Set\x20operation\x20timeout\x20in\x20seconds','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','columns\x20<name-or-path>','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Workflow\x20attempt\x20management','[task-name]','agents\x20[pattern]','Run\x20Trino\x20query\x20with\x20streaming\x20results','4713698AmkkPU','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','auth','attempts\x20[project]','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Delete\x20an\x20agent','--prompt\x20<text>','Path\x20is\x20not\x20a\x20directory:\x20','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','download\x20<project-name>\x20[output-dir]','Pull\x20campaigns\x20to\x20YAML\x20files','Folder\x20description','Master\x20table\x20name','validate\x20[file]','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Workspace\x20management','List\x20journeys\x20in\x20current\x20context','padEnd','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','Pause\x20a\x20running\x20journey','command','help','info\x20[segment_name]','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','--site\x20<site>','Delete\x20a\x20campaign','argumentDescription','entries','Customer\x20group\x20from\x20JSON\x20file','commandUsage','sessions\x20[project]','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','agent','Updated\x20timezone','--params\x20<json>','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','pause\x20<name-or-path>','preview\x20[name]','table','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','use\x20<path>','--format\x20<format>','list\x20[pattern]','Enable\x20verbose\x20logging','createAsync','Update\x20a\x20workspace','push\x20[source-dir]','Job\x20priority\x20(-2\x20to\x202)','use\x20<project-name>','Version\x20number\x20to\x20view','Alias\x20for\x20--database\x20(natural\x20language\x20style)','--rule\x20<json>','Cron\x20expression\x20for\x20scheduling','Show\x20a\x20specific\x20realtime\x20personalization','--enable-utm-tracking','Behaviors\x20from\x20JSON\x20file','--no-count-population','--add-attributes\x20<json>','options','Result\x20output\x20destination\x20URL','statusline','resume\x20<name-or-path>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','list\x20[project]','Show\x20the\x20most\x20recent\x20chat','Delivery\x20operations\x20(email\x20senders)','Show\x20schedule\x20details','Request\x20body\x20as\x20JSON\x20string','--in\x20<database>','isArray','--in\x20<db>','Database\x20management\x20commands','create\x20<name>','Include\x20raw\x20history\x20data\x20in\x20output','Output\x20file\x20path\x20(default:\x20<name>.yml)','update\x20<name>','tdx','Run\x20specific\x20tests\x20(comma-separated)','jobs','templates\x20[pattern]','set\x20<key=value>','--output\x20<file>','pull\x20[project]\x20[agent-name]','Include\x20retried\x20attempts\x20(for\x20list)','--description\x20<text>','upgrade\x20[version]','--jsonl','Continue\x20most\x20recent\x20conversation','-f,\x20--file\x20<path>','Task\x20name\x20for\x20logs\x20action','profiles','Revision\x20name\x20(default:\x20timestamp)','LLM\x20project\x20to\x20use\x20(overrides\x20context)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','push\x20[target]','create\x20[name]','Segment\x20description','format','--priority\x20<-2~2>','-r,\x20--recursive','addHelpText','--verbose','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','Output\x20directory','configuration_versions\x20[name]','outputHelp','show\x20<name>','Customer\x20group\x20as\x20JSON\x20string','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Describe\x20table\x20schema','create\x20<name>\x20<service_id>\x20[parent_segment]','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','-p,\x20--profile\x20<name>','--clear','Update\x20a\x20scheduled\x20query','filter','fields\x20[name]','--last','--result\x20<target>','--allowed-ips\x20<ips>','Parent\x20segment\x20description','push','\x20-\x20built\x20','CDP\x20segment\x20management\x20commands','--method\x20<pm>','delete\x20<service_id>\x20[parent_segment]','Duplicate\x20a\x20campaign','Create\x20a\x20new\x20campaign','Starter\x20message','-1d','8523120rFYCFh','hook','Limit\x20number\x20of\x20rows','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','trino','Update\x20a\x20campaign','--email-sender-id\x20<id>','--to\x20<timestamp>','pause_activations\x20<journeyId>','directory','Setup\x20API\x20key\x20authentication\x20interactively','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Temperature\x20(0.0-2.0,\x20default:\x200.7)','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','--model\x20<name>','Workspace\x20name','--to\x20<date>','usage','--system-prompt\x20<text>','patch\x20<personalization_id>','Show\x20master\x20table\x20sample\x20data','attempt','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','delete\x20<args...>','-n,\x20--name\x20<name>','1712HrCwLp','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','--folder\x20<name>','--customer-group-file\x20<file>','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','view\x20[name]','Number\x20of\x20executions\x20(1-10,\x20default:\x201)'];a2_0xe6b5=function(){return _0x4580c6;};return a2_0xe6b5();}workspaceCmd['command'](a2_0x3b23a2(0x32c))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x2c4))['action'](createEngageListAction(EngageWorkspacesCommand)),engageCmd['command']('workspaces\x20[pattern]')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x325))[a2_0x3b23a2(0x1f8)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x19a))[a2_0x3b23a2(0x3db)]('Show\x20workspace\x20details')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x18a),a2_0x3b23a2(0x409))[a2_0x3b23a2(0x1f8)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x195))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x18c))[a2_0x3b23a2(0x277)](a2_0x3b23a2(0x3b2),a2_0x3b23a2(0x395))['option'](a2_0x3b23a2(0x41f),a2_0x3b23a2(0x22e))['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x16e))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x32f))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3b2),a2_0x3b23a2(0x2cb))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x41f),a2_0x3b23a2(0x22e))[a2_0x3b23a2(0x1f8)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x1a9))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x2d6))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x269),'Skip\x20confirmation\x20prompt')[a2_0x3b23a2(0x1f8)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x3b23a2(0x316)]('use\x20<name>')['description'](a2_0x3b23a2(0x13a))[a2_0x3b23a2(0x1f8)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x3b23a2(0x316)]('delivery')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x343));function a2_0x2d5f(_0xc1d9e3,_0x4650d8){_0xc1d9e3=_0xc1d9e3-0x116;const _0xe6b5f1=a2_0xe6b5();let _0x2d5fed=_0xe6b5f1[_0xc1d9e3];return _0x2d5fed;}deliveryCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x260))[a2_0x3b23a2(0x3db)]('List\x20email\x20senders')['option'](a2_0x3b23a2(0x2a1),a2_0x3b23a2(0x395))[a2_0x3b23a2(0x1f8)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x188))[a2_0x3b23a2(0x3db)]('Data\x20connection\x20management\x20(for\x20activations/exports)'),connectionListAction=async _0x3302b6=>{const _0x57aa58=new ConnectionListCommand(),_0x123881=program['opts'](),_0x42dba5=await createTDXInstance(_0x123881),_0x2e0037=await _0x57aa58['run']({'options':{..._0x123881,..._0x3302b6},'args':[],'tdx':_0x42dba5});gracefulExit(_0x2e0037);};connectionCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x254))['description'](a2_0x3b23a2(0x3b8))['action'](connectionListAction),program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x18d),{'hidden':!![]})[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x21d))['action'](connectionListAction),connectionCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x36c))[a2_0x3b23a2(0x3db)]('Show\x20connection\x20details\x20by\x20name')[a2_0x3b23a2(0x1f8)](async(_0x2e3a28,_0x3909e9)=>{const _0x140c94=a2_0x3b23a2,_0x3bcad2=new ConnectionShowCommand(),_0x2d0d8b=program['opts'](),_0x438f2d=await createTDXInstance(_0x2d0d8b),_0x2c55b5=await _0x3bcad2[_0x140c94(0x2e4)]({'options':{..._0x2d0d8b,..._0x3909e9},'args':[_0x2e3a28],'tdx':_0x438f2d});gracefulExit(_0x2c55b5);}),connectionCmd[a2_0x3b23a2(0x316)]('schema\x20<type>')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x30f))[a2_0x3b23a2(0x1f8)](async(_0x4be5aa,_0x286b04)=>{const _0x51413a=a2_0x3b23a2,_0x3700df=new ConnectionSchemaCommand(),_0x43322a=program[_0x51413a(0x1b0)](),_0x58678e=await createTDXInstance(_0x43322a),_0x5656d7=await _0x3700df[_0x51413a(0x2e4)]({'options':{..._0x43322a,..._0x286b04},'args':[_0x4be5aa],'tdx':_0x58678e});gracefulExit(_0x5656d7);}),connectionCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x3de))['description']('List\x20available\x20connector\x20types')['action'](async _0x5c02c5=>{const _0x8f1148=a2_0x3b23a2,_0x193b93=new ConnectionTypesCommand(),_0x4ee4e7=program[_0x8f1148(0x1b0)](),_0x29fe70=await createTDXInstance(_0x4ee4e7),_0x30fb6e=await _0x193b93[_0x8f1148(0x2e4)]({'options':{..._0x4ee4e7,..._0x5c02c5},'args':[],'tdx':_0x29fe70});gracefulExit(_0x30fb6e);}),connectionCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x183))['description'](a2_0x3b23a2(0x287))[a2_0x3b23a2(0x1f8)](async(_0x442300,_0x21a26e)=>{const _0x1adc1d=a2_0x3b23a2,_0x420059=new ConnectionSettingsCommand(),_0x28d530=program['opts'](),_0xe8e9da=await createTDXInstance(_0x28d530),_0x44b7f0=await _0x420059[_0x1adc1d(0x2e4)]({'options':{..._0x28d530,..._0x21a26e},'args':[_0x442300],'tdx':_0xe8e9da});gracefulExit(_0x44b7f0);});const journeyCmd=program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x1ce))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x215)),journeyListAction=async(_0x480b3a,_0x1c3ae3)=>{const _0x1ed4d2=a2_0x3b23a2,_0x3b4906=new JourneyListCommand(),_0x211cbc=program[_0x1ed4d2(0x1b0)](),_0x1cb1d1=await createTDXInstance(_0x211cbc),_0x35e87e=await _0x3b4906['run']({'options':{..._0x211cbc,..._0x1c3ae3},'args':_0x480b3a?[_0x480b3a]:[],'tdx':_0x1cb1d1});gracefulExit(_0x35e87e);};journeyCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x32c))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x311))[a2_0x3b23a2(0x1f8)](journeyListAction),journeyCmd[a2_0x3b23a2(0x316)]('view\x20<name-or-path>')['description'](a2_0x3b23a2(0x1dc))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x213),a2_0x3b23a2(0x2e1))['option'](a2_0x3b23a2(0x297),a2_0x3b23a2(0x2d8))[a2_0x3b23a2(0x1f8)](async(_0x420105,_0x553804)=>{const _0x38e2ee=a2_0x3b23a2,_0x34352e=new JourneyViewCommand(),_0x4af51d=program['opts'](),_0x244386=await createTDXInstance(_0x4af51d),_0x375973=await _0x34352e[_0x38e2ee(0x2e4)]({'options':{..._0x4af51d,..._0x553804},'args':[_0x420105],'tdx':_0x244386});gracefulExit(_0x375973);}),journeyCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x24d))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x20c))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3af),a2_0x3b23a2(0x2ad))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x264),a2_0x3b23a2(0x128))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x396),a2_0x3b23a2(0x1cc))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x298),a2_0x3b23a2(0x34b))['action'](async(_0x36eb10,_0x292bce)=>{const _0x3280a5=new JourneyStatsCommand(),_0x4743d0=program['opts'](),_0x7a8fb1=await createTDXInstance(_0x4743d0),_0x55f1bc=await _0x3280a5['run']({'options':{..._0x4743d0,..._0x292bce},'args':[_0x36eb10],'tdx':_0x7a8fb1});gracefulExit(_0x55f1bc);}),journeyCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x1d1))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x422))[a2_0x3b23a2(0x2de)]('--type\x20<type>',a2_0x3b23a2(0x14c))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x264),a2_0x3b23a2(0x128))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x396),a2_0x3b23a2(0x1cc))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x402),a2_0x3b23a2(0x2d5),_0x43805f=>{const _0x5d53a4=a2_0x3b23a2,_0x130d0c=parseInt(_0x43805f,0xa);if(isNaN(_0x130d0c))throw new Error('Invalid\x20--limit\x20value:\x20\x22'+_0x43805f+_0x5d53a4(0x427));return _0x130d0c;})['action'](async(_0x59b665,_0x5b4b6c)=>{const _0x37aa22=a2_0x3b23a2,_0x186301=new JourneyTrafficCommand(),_0x39304=program[_0x37aa22(0x1b0)](),_0x42f79e=await createTDXInstance(_0x39304),_0x4d1e55=await _0x186301[_0x37aa22(0x2e4)]({'options':{..._0x39304,..._0x5b4b6c},'args':[_0x59b665],'tdx':_0x42f79e});gracefulExit(_0x4d1e55);}),journeyCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x326))['description'](a2_0x3b23a2(0x315))[a2_0x3b23a2(0x1f8)](async(_0x414370,_0x2201e8)=>{const _0x57b5c6=a2_0x3b23a2,_0x41de35=new JourneyPauseCommand(),_0x5543c8=program[_0x57b5c6(0x1b0)](),_0x1eab1e=await createTDXInstance(_0x5543c8),_0x2eae84=await _0x41de35[_0x57b5c6(0x2e4)]({'options':{..._0x5543c8,..._0x2201e8},'args':[_0x414370],'tdx':_0x1eab1e});gracefulExit(_0x2eae84);}),journeyCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x33f))[a2_0x3b23a2(0x3db)]('Resume\x20a\x20paused\x20journey')[a2_0x3b23a2(0x1f8)](async(_0x34c7a6,_0x4ee454)=>{const _0x102648=a2_0x3b23a2,_0x993fcb=new JourneyResumeCommand(),_0x58aea5=program[_0x102648(0x1b0)](),_0x4781a7=await createTDXInstance(_0x58aea5),_0x211a3b=await _0x993fcb['run']({'options':{..._0x58aea5,..._0x4ee454},'args':[_0x34c7a6],'tdx':_0x4781a7});gracefulExit(_0x211a3b);}),journeyCmd[a2_0x3b23a2(0x316)]('pull\x20[name]')['description'](a2_0x3b23a2(0x3c3))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3ff),a2_0x3b23a2(0x1f1))['action'](async(_0x1d32c4,_0x1c8318)=>{const _0x20664b=a2_0x3b23a2,_0x3661bd=new JourneyPullCommand(),_0x3565e8=program[_0x20664b(0x1b0)](),_0x2ccfcd=await createTDXInstance(_0x3565e8),_0x76fb6a=await _0x3661bd[_0x20664b(0x2e4)]({'options':{..._0x3565e8,..._0x1c8318},'args':_0x1d32c4?[_0x1d32c4]:[],'tdx':_0x2ccfcd});gracefulExit(_0x76fb6a);}),journeyCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x360))['description']('Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data')[a2_0x3b23a2(0x1f8)](async(_0x336bf9,_0x2e0e19)=>{const _0x2ec582=a2_0x3b23a2,_0x27bdbe=new JourneyPushCommand(),_0x4ebef2=program[_0x2ec582(0x1b0)](),_0x17104f=await createTDXInstance(_0x4ebef2),_0x3ab545=await _0x27bdbe[_0x2ec582(0x2e4)]({'options':{..._0x4ebef2,..._0x2e0e19},'args':_0x336bf9?[_0x336bf9]:[],'tdx':_0x17104f});gracefulExit(_0x3ab545);}),journeyCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x2fb))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x20b))[a2_0x3b23a2(0x1f8)](async(_0x2577ea,_0x424d0a)=>{const _0x34eac4=new JourneyColumnsCommand(),_0x4924db=program['opts'](),_0x1d735c=await createTDXInstance(_0x4924db),_0x409ef3=await _0x34eac4['run']({'options':{..._0x4924db,..._0x424d0a},'args':[_0x2577ea],'tdx':_0x1d735c});gracefulExit(_0x409ef3);}),journeyCmd['command'](a2_0x3b23a2(0x1e2))['description'](a2_0x3b23a2(0x3f6))[a2_0x3b23a2(0x1f8)](async(_0x3fc393,_0x305342)=>{const _0x3151d6=a2_0x3b23a2,_0x288948=new JourneyActivationsCommand(),_0x150656=program['opts'](),_0x3183e9=await createTDXInstance(_0x150656),_0x40ea15=await _0x288948[_0x3151d6(0x2e4)]({'options':{..._0x150656,..._0x305342},'args':[_0x3fc393],'tdx':_0x3183e9});gracefulExit(_0x40ea15);}),journeyCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x2f7))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x134))['action'](async(_0x258f84,_0x5ad455)=>{const _0x316a26=a2_0x3b23a2,_0xf2af76=new JourneyVersionsCommand(),_0x2ba57f=program[_0x316a26(0x1b0)](),_0x3ca35d=await createTDXInstance(_0x2ba57f),_0x267f67=await _0xf2af76[_0x316a26(0x2e4)]({'options':{..._0x2ba57f,..._0x5ad455},'args':[_0x258f84],'tdx':_0x3ca35d});gracefulExit(_0x267f67);});const journeyVersionCmd=journeyCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x417))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x2b4));journeyVersionCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x21e))['description'](a2_0x3b23a2(0x15a))[a2_0x3b23a2(0x1f8)](async(_0x52e84c,_0x3727c7)=>{const _0x5a5c36=a2_0x3b23a2,_0x1a75cd=new JourneyVersionCreateCommand(),_0x3c8c8c=program['opts'](),_0x2af73e=await createTDXInstance(_0x3c8c8c),_0x17e2a7=await _0x1a75cd[_0x5a5c36(0x2e4)]({'options':{..._0x3c8c8c,..._0x3727c7},'args':[_0x52e84c],'tdx':_0x2af73e});gracefulExit(_0x17e2a7);}),journeyVersionCmd['command'](a2_0x3b23a2(0x23a))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x2ab))[a2_0x3b23a2(0x277)](a2_0x3b23a2(0x3fe),a2_0x3b23a2(0x333))[a2_0x3b23a2(0x1f8)](async(_0x4bd324,_0x98abe8)=>{const _0x406b87=a2_0x3b23a2,_0x5f37e7=new JourneyVersionViewCommand(),_0xfd57e1=program[_0x406b87(0x1b0)](),_0x42aafa=await createTDXInstance(_0xfd57e1),_0x32c39a=await _0x5f37e7[_0x406b87(0x2e4)]({'options':{..._0xfd57e1,..._0x98abe8},'args':[_0x4bd324],'tdx':_0x42aafa});gracefulExit(_0x32c39a);}),journeyCmd['command'](a2_0x3b23a2(0x12c))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x18f))[a2_0x3b23a2(0x1f8)](async(_0x3db32b,_0x19ece6)=>{const _0x2c5ac6=a2_0x3b23a2,_0x33128b=new JourneyValidateCommand(),_0x5b0ead=program[_0x2c5ac6(0x1b0)](),_0x372a8e=await createTDXInstance(_0x5b0ead),_0x12e35c=await _0x33128b['run']({'options':{..._0x5b0ead,..._0x19ece6},'args':_0x3db32b?[_0x3db32b]:[],'tdx':_0x372a8e});gracefulExit(_0x12e35c);}),program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x247))[a2_0x3b23a2(0x3db)]('List\x20journeys\x20(alias\x20for\x20journey\x20list)')[a2_0x3b23a2(0x1f8)](journeyListAction);const agentSyncCmd=program['command'](a2_0x3b23a2(0x322))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3ed));agentSyncCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x354))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x23b))['option'](a2_0x3b23a2(0x15d),a2_0x3b23a2(0x369))[a2_0x3b23a2(0x2de)]('-f,\x20--force','Overwrite\x20local\x20changes\x20without\x20confirmation')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x1a1),a2_0x3b23a2(0x29c))['action'](async(_0x5bc3a9,_0x4e1fed,_0x45ab72)=>{const _0x20273d=a2_0x3b23a2,_0x2455fb=new AgentPullCommand(),_0x5dc1f4=program[_0x20273d(0x1b0)](),_0x50185a=await createTDXInstance(_0x5dc1f4),_0x3a701f=[];if(_0x5bc3a9)_0x3a701f[_0x20273d(0x37b)](_0x5bc3a9);if(_0x4e1fed)_0x3a701f[_0x20273d(0x37b)](_0x4e1fed);const _0x2de6df=await _0x2455fb['run']({'options':{..._0x5dc1f4,..._0x45ab72},'args':_0x3a701f,'tdx':_0x50185a});gracefulExit(_0x2de6df);}),agentSyncCmd[a2_0x3b23a2(0x316)]('push\x20[path]')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x3d5))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x1a3),a2_0x3b23a2(0x1a4))[a2_0x3b23a2(0x1f8)](async(_0x52f1cd,_0x5ab04d)=>{const _0x57d379=a2_0x3b23a2,_0x488dc3=new AgentPushCommand(),_0x489877=program[_0x57d379(0x1b0)](),_0x343ef4=await createTDXInstance(_0x489877),_0x4842c3=await _0x488dc3[_0x57d379(0x2e4)]({'options':{..._0x489877,..._0x5ab04d},'args':_0x52f1cd?[_0x52f1cd]:[],'tdx':_0x343ef4});gracefulExit(_0x4842c3);}),agentSyncCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x2d1))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x1f0))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x39e),a2_0x3b23a2(0x1bc))[a2_0x3b23a2(0x1f8)](async(_0x5c0837,_0x2ca411)=>{const _0x2d4a3e=a2_0x3b23a2,_0x2ec289=new AgentCloneCommand(),_0x27cf81=program['opts'](),_0x15707e=await createTDXInstance(_0x27cf81),_0x324f41=await _0x2ec289[_0x2d4a3e(0x2e4)]({'options':{..._0x27cf81,..._0x2ca411},'args':_0x5c0837?[_0x5c0837]:[],'tdx':_0x15707e});gracefulExit(_0x324f41);}),agentSyncCmd[a2_0x3b23a2(0x316)]('test\x20[path]')[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x1da))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x148),a2_0x3b23a2(0x34f))[a2_0x3b23a2(0x2de)]('--tags\x20<tags>',a2_0x3b23a2(0x121))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x3ff),a2_0x3b23a2(0x3bb))['option'](a2_0x3b23a2(0x3aa),a2_0x3b23a2(0x23e))[a2_0x3b23a2(0x2de)]('--reeval',a2_0x3b23a2(0x129))['action'](async(_0x4fc6e8,_0x3102ff)=>{const _0x32598a=a2_0x3b23a2,_0x27dad7=new AgentTestCommand(),_0x580eed=program['opts'](),_0x4c25b8=await createTDXInstance(_0x580eed),_0x4b3ea5=await _0x27dad7[_0x32598a(0x2e4)]({'options':{..._0x580eed,..._0x3102ff},'args':_0x4fc6e8?[_0x4fc6e8]:[],'tdx':_0x4c25b8});gracefulExit(_0x4b3ea5);}),agentSyncCmd['command'](a2_0x3b23a2(0x32c))['description'](a2_0x3b23a2(0x3e7))['action'](llmAgentListAction),agentSyncCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x2b6))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x230))[a2_0x3b23a2(0x1f8)](async(_0xdd25d2,_0x4f760a)=>{const _0x379bc4=a2_0x3b23a2,_0x47b578=new LLMAgentShowCommand(),_0x588261=program[_0x379bc4(0x1b0)](),_0x2fd077=await createTDXInstance(_0x588261),_0x14f850=await _0x47b578[_0x379bc4(0x2e4)]({'options':{..._0x588261,..._0x4f760a},'args':[_0xdd25d2],'tdx':_0x2fd077});gracefulExit(_0x14f850);}),agentSyncCmd['command'](a2_0x3b23a2(0x34a))[a2_0x3b23a2(0x3db)]('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x398),'System\x20prompt/instructions\x20(default:\x20empty)')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x394),a2_0x3b23a2(0x2fc),a2_0x3b23a2(0x1f5))['option'](a2_0x3b23a2(0x224),'Starter\x20message')[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x289),a2_0x3b23a2(0x271),'4')['option'](a2_0x3b23a2(0x1cb),a2_0x3b23a2(0x392),a2_0x3b23a2(0x11d))[a2_0x3b23a2(0x1f8)](async(_0x21fb85,_0x2a3f6e)=>{const _0x321a54=new LLMAgentCreateCommand(),_0x166bd2=program['opts'](),_0x51b415=await createTDXInstance(_0x166bd2),_0x4941b2=await _0x321a54['run']({'options':{..._0x166bd2,..._0x2a3f6e},'args':[_0x21fb85],'tdx':_0x51b415});gracefulExit(_0x4941b2);}),agentSyncCmd['command']('update\x20<agent-name>')['description']('Update\x20an\x20existing\x20agent')['option'](a2_0x3b23a2(0x1d9),a2_0x3b23a2(0x232))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x307),a2_0x3b23a2(0x1de))['option'](a2_0x3b23a2(0x356),a2_0x3b23a2(0x403))[a2_0x3b23a2(0x2de)](a2_0x3b23a2(0x224),a2_0x3b23a2(0x382))[a2_0x3b23a2(0x1f8)](async(_0xf3a425,_0x19dca4)=>{const _0x38b133=a2_0x3b23a2,_0x410ac0=new LLMAgentUpdateCommand(),_0x3a9ae6=program['opts'](),_0xd82c15=await createTDXInstance(_0x3a9ae6),_0xa0af5c=await _0x410ac0[_0x38b133(0x2e4)]({'options':{..._0x3a9ae6,..._0x19dca4},'args':[_0xf3a425],'tdx':_0xd82c15});gracefulExit(_0xa0af5c);}),agentSyncCmd[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x1d4))[a2_0x3b23a2(0x3db)](a2_0x3b23a2(0x306))[a2_0x3b23a2(0x1f8)](async(_0x20bb8a,_0x175d12)=>{const _0x3744ce=a2_0x3b23a2,_0x1dc8af=new LLMAgentDeleteCommand(),_0xcac98e=program[_0x3744ce(0x1b0)](),_0x352bbf=await createTDXInstance(_0xcac98e),_0xb2ba80=await _0x1dc8af[_0x3744ce(0x2e4)]({'options':{..._0xcac98e,..._0x175d12},'args':[_0x20bb8a],'tdx':_0x352bbf});gracefulExit(_0xb2ba80);}),program[a2_0x3b23a2(0x316)](a2_0x3b23a2(0x164),{'hidden':!![]})[a2_0x3b23a2(0x1f8)](()=>{const _0x4e9db0=a2_0x3b23a2;function _0x3600fe(_0x4562b1,_0xadbd3f){const _0x305858=a2_0x2d5f,_0x1a0d6a=[];for(const _0x5679be of _0x4562b1['commands']){if(_0x5679be[_0x305858(0x2a8)])continue;const _0x24cb24=_0xadbd3f?_0xadbd3f+'\x20'+_0x5679be[_0x305858(0x3f3)]():_0x5679be['name'](),_0x5cf79e=_0x24cb24[_0x305858(0x420)]('\x20')[0x0],_0x46efdf=COMMAND_CATEGORIES['find'](_0x566665=>_0x566665[_0x305858(0x3b4)]['includes'](_0x5cf79e)),_0x4338b3=_0x46efdf?.['name']??'';if(_0x5679be[_0x305858(0x3b4)][_0x305858(0x2da)]>0x0)_0x1a0d6a[_0x305858(0x37b)](..._0x3600fe(_0x5679be,_0x24cb24));else{const _0x42eb55=(_0x5679be[_0x305858(0x3cb)]||[])[_0x305858(0x16c)](_0x2f4645=>{const _0x13aaa6=_0x305858,_0x41a066=_0x2f4645[_0x13aaa6(0x1c8)]?_0x2f4645[_0x13aaa6(0x3f3)]()+'...':_0x2f4645[_0x13aaa6(0x3f3)]();return _0x2f4645['required']?'<'+_0x41a066+'>':'['+_0x41a066+']';})[_0x305858(0x1e6)]('\x20'),_0x1a0956=_0x5679be[_0x305858(0x33c)][_0x305858(0x375)](_0x27103c=>!_0x27103c[_0x305858(0x241)]&&_0x27103c[_0x305858(0x14d)]!==_0x305858(0x253))['map'](_0x37bb47=>({'flags':_0x37bb47['flags'],'description':_0x37bb47['description']}));_0x1a0d6a[_0x305858(0x37b)]({'name':_0x24cb24,'description':_0x5679be[_0x305858(0x3db)](),'group':_0x4338b3,'usage':_0x42eb55,'options':_0x1a0956});}}return _0x1a0d6a;}console[_0x4e9db0(0x208)](JSON[_0x4e9db0(0x3f8)](_0x3600fe(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x5a64d5=a2_0x3b23a2,_0x361c81=!process[_0x5a64d5(0x29d)][_0x5a64d5(0x2ed)](0x2)['length'];showBriefHelp=_0x361c81,program[_0x5a64d5(0x25c)](process[_0x5a64d5(0x29d)]);_0x361c81&&program['outputHelp']();const _0x47bdd7=process['argv'][0x2]===_0x5a64d5(0x3e5);if(process[_0x5a64d5(0x27a)][_0x5a64d5(0x1c4)]&&process['argv'][_0x5a64d5(0x2da)]>0x2&&!isDevVersion()&&!_0x47bdd7){const _0x2eccc3=loadReleaseChannel();checkForUpdate(currentVersion,_0x2eccc3)[_0x5a64d5(0x1e5)](_0x52f825=>{_0x52f825&&displayUpdateNotification(_0x52f825);})[_0x5a64d5(0x24f)](()=>{});}}
|