@treasuredata/tdx 2026.3.16 → 2026.3.18
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/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/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 +2 -2
package/dist/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a2_0x3a6c32=a2_0x434e;(function(_0xf140ae,_0x21dcfa){const _0x4360f5=a2_0x434e,_0x274d37=_0xf140ae();while(!![]){try{const _0x127d14=-parseInt(_0x4360f5(0x382))/0x1*(parseInt(_0x4360f5(0x44f))/0x2)+-parseInt(_0x4360f5(0x277))/0x3*(-parseInt(_0x4360f5(0x3c6))/0x4)+parseInt(_0x4360f5(0x298))/0x5+-parseInt(_0x4360f5(0x33f))/0x6*(parseInt(_0x4360f5(0x454))/0x7)+parseInt(_0x4360f5(0x32e))/0x8+-parseInt(_0x4360f5(0x448))/0x9+-parseInt(_0x4360f5(0x274))/0xa*(-parseInt(_0x4360f5(0x2dc))/0xb);if(_0x127d14===_0x21dcfa)break;else _0x274d37['push'](_0x274d37['shift']());}catch(_0x4e70d8){_0x274d37['push'](_0x274d37['shift']());}}}(a2_0x2396,0xc4f70));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,PSPzListCommand,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{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_0x3a6c32(0x313)][a2_0x3a6c32(0x3eb)]('--version')){let versionOutput=a2_0x3a6c32(0x380)+currentVersion;buildInfo[a2_0x3a6c32(0x35e)]&&!currentVersion[a2_0x3a6c32(0x3eb)](buildInfo['gitRevision'])&&(versionOutput+='\x20('+buildInfo['gitRevision']+')'),buildInfo[a2_0x3a6c32(0x48b)]&&(versionOutput+='\x20-\x20built\x20'+buildInfo[a2_0x3a6c32(0x48b)]),console[a2_0x3a6c32(0x3b8)](versionOutput),process['exit'](0x0);}function a2_0x434e(_0x1b7824,_0x380f0a){_0x1b7824=_0x1b7824-0x1c7;const _0x2396cd=a2_0x2396();let _0x434e9=_0x2396cd[_0x1b7824];return _0x434e9;}const program=new Command();export function mergeCommandOptions(_0x3b39de,_0x13f191){const _0x28bf49=a2_0x3a6c32,_0x4d9841={..._0x3b39de};for(const [_0x2b9100,_0x3d2b95]of Object[_0x28bf49(0x38e)](_0x13f191)){_0x3d2b95!==undefined&&(_0x4d9841[_0x2b9100]=_0x3d2b95);}return _0x4d9841;}let showBriefHelp=![],description=a2_0x3a6c32(0x3af);buildInfo['gitRevision']&&!currentVersion[a2_0x3a6c32(0x3eb)](buildInfo[a2_0x3a6c32(0x35e)])?description+=a2_0x3a6c32(0x21f)+currentVersion+'\x20('+buildInfo[a2_0x3a6c32(0x35e)]+')':description+=',\x20version\x20'+currentVersion;program['name'](a2_0x3a6c32(0x38f))['description'](description),program[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x211),'Change\x20to\x20directory\x20before\x20executing\x20command')['option']('-p,\x20--profile\x20<name>',a2_0x3a6c32(0x465))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a3),a2_0x3a6c32(0x400),a2_0x3a6c32(0x31f))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2ac),a2_0x3a6c32(0x269))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x288),'Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)')[a2_0x3a6c32(0x3b3)]('--json','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')['option'](a2_0x3a6c32(0x2a8),a2_0x3a6c32(0x2c7))['option'](a2_0x3a6c32(0x273),a2_0x3a6c32(0x2cc))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1e0),a2_0x3a6c32(0x22f))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a5),a2_0x3a6c32(0x28f))[a2_0x3a6c32(0x3b3)]('--color','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x318),a2_0x3a6c32(0x235),![])['option'](a2_0x3a6c32(0x410),a2_0x3a6c32(0x300),![])[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x30d),'Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1d5),a2_0x3a6c32(0x412))[a2_0x3a6c32(0x3b3)]('--timeout\x20<seconds>',a2_0x3a6c32(0x482),'30')[a2_0x3a6c32(0x3b3)]('--dry-run',a2_0x3a6c32(0x2c9),![])[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3cf),a2_0x3a6c32(0x1d0),![])['option'](a2_0x3a6c32(0x30b),a2_0x3a6c32(0x264))['option'](a2_0x3a6c32(0x323),a2_0x3a6c32(0x493))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x440),a2_0x3a6c32(0x319)),program[a2_0x3a6c32(0x399)]({'formatHelp':(_0x432040,_0x2c4b09)=>{const _0x242d5d=a2_0x3a6c32,_0xc8b32=_0x2c4b09[_0x242d5d(0x249)](_0x432040,_0x2c4b09),_0x249fbd=0x2,_0x255021=0x2;function _0x471edb(_0x1f40f4){const _0x3b96ce=_0x242d5d,_0x190bbd=_0x1f40f4;return!!(_0x190bbd[_0x3b96ce(0x4a3)]||_0x190bbd['hidden']);}function _0x9b35b7(_0x15d0f7,_0x4a98fc){const _0x357281=_0x242d5d;if(_0x4a98fc){const _0x2d3bf9=''+_0x15d0f7[_0x357281(0x1fb)](_0xc8b32+_0x255021)+_0x4a98fc;return _0x2d3bf9;}return _0x15d0f7;}function _0x50c749(_0x137fbd){const _0x46ed45=_0x242d5d;return _0x137fbd[_0x46ed45(0x336)]('\x0a')[_0x46ed45(0x294)](/^/gm,'\x20'[_0x46ed45(0x344)](_0x249fbd));}const _0x1ac88d=[];_0x1ac88d[_0x242d5d(0x3e1)]('Usage:\x20'+_0x2c4b09['commandUsage'](_0x432040));const _0x5055c9=_0x2c4b09[_0x242d5d(0x387)](_0x432040);_0x5055c9&&(_0x1ac88d[_0x242d5d(0x3e1)](''),_0x1ac88d[_0x242d5d(0x3e1)](_0x5055c9));const _0x22a4be=_0x432040['commands'][_0x242d5d(0x39e)](_0x459526=>!_0x471edb(_0x459526));if(_0x22a4be[_0x242d5d(0x3d7)]>0x0){if(_0x432040['name']()==='tdx'){const _0x25630c=_0x432040[_0x242d5d(0x34e)](),_0x3dc2e0=!_0x25630c[_0x242d5d(0x397)]&&process[_0x242d5d(0x301)][_0x242d5d(0x316)],_0x3570ab=COMMAND_CATEGORIES,_0x553ff8=(_0x2b4b7e,_0x1bcf34)=>_0x3dc2e0?_0x1bcf34(_0x2b4b7e):_0x2b4b7e,_0x166303=new Map();_0x22a4be['forEach'](_0x53f2e3=>{const _0x384c59=_0x242d5d;_0x166303[_0x384c59(0x25e)](_0x53f2e3[_0x384c59(0x3e2)](),_0x53f2e3);}),_0x3570ab[_0x242d5d(0x3a0)](_0x48fea4=>{const _0x1c92d8=_0x242d5d,_0x4e4824=_0x48fea4[_0x1c92d8(0x42e)]['flatMap'](_0x4ea8e2=>_0x166303[_0x1c92d8(0x469)](_0x4ea8e2)??[]);if(_0x4e4824[_0x1c92d8(0x3d7)]>0x0){_0x1ac88d[_0x1c92d8(0x3e1)](''),_0x1ac88d[_0x1c92d8(0x3e1)](_0x553ff8(_0x48fea4[_0x1c92d8(0x3e2)]+':',_0x48fea4[_0x1c92d8(0x3ec)]));const _0x1334d0=_0x4e4824[_0x1c92d8(0x385)](_0x56656d=>{const _0x465c2a=_0x1c92d8,_0x1add45=_0x2c4b09[_0x465c2a(0x2f9)](_0x56656d),_0x1e0573=_0x2c4b09['subcommandDescription'](_0x56656d);return _0x9b35b7(_0x1add45,_0x1e0573);});_0x1ac88d[_0x1c92d8(0x3e1)](_0x50c749(_0x1334d0));}}),_0x1ac88d[_0x242d5d(0x3e1)](''),_0x1ac88d['push'](_0x242d5d(0x251));}else{const _0x10c3dd=_0x22a4be[_0x242d5d(0x385)](_0x794924=>{const _0x4c623b=_0x242d5d,_0xda15d1=_0x2c4b09[_0x4c623b(0x2f9)](_0x794924),_0x41b509=_0x2c4b09[_0x4c623b(0x3b9)](_0x794924);return _0x9b35b7(_0xda15d1,_0x41b509);});_0x1ac88d[_0x242d5d(0x3e1)](''),_0x1ac88d['push'](_0x242d5d(0x44b)),_0x1ac88d[_0x242d5d(0x3e1)](_0x50c749(_0x10c3dd));}}if(showBriefHelp&&_0x432040[_0x242d5d(0x3e2)]()===_0x242d5d(0x38f))_0x1ac88d['push'](''),_0x1ac88d[_0x242d5d(0x3e1)](_0x242d5d(0x1f2));else{const _0x4357d7=_0x432040['options'][_0x242d5d(0x39e)](_0x5af3e5=>!_0x471edb(_0x5af3e5));if(_0x4357d7[_0x242d5d(0x3d7)]>0x0){const _0x5a0bd7=_0x4357d7[_0x242d5d(0x385)](_0x208f33=>{const _0x1a4bf6=_0x242d5d,_0x212dae=_0x2c4b09[_0x1a4bf6(0x24d)](_0x208f33),_0x56225c=_0x2c4b09[_0x1a4bf6(0x41d)](_0x208f33);return _0x9b35b7(_0x212dae,_0x56225c);});_0x1ac88d[_0x242d5d(0x3e1)](''),_0x1ac88d[_0x242d5d(0x3e1)](_0x242d5d(0x2aa)),_0x1ac88d[_0x242d5d(0x3e1)](_0x50c749(_0x5a0bd7));}}const _0x240e88=(_0x432040[_0x242d5d(0x4a4)]||[])['filter'](_0x5f498b=>!_0x471edb(_0x5f498b));if(_0x240e88[_0x242d5d(0x3d7)]>0x0){const _0x666e83=_0x240e88[_0x242d5d(0x385)](_0x13ba11=>{const _0x3e808c=_0x242d5d,_0x180f74=_0x2c4b09[_0x3e808c(0x39b)](_0x13ba11),_0x28684c=_0x2c4b09[_0x3e808c(0x29e)](_0x13ba11);return _0x9b35b7(_0x180f74,_0x28684c);});_0x1ac88d[_0x242d5d(0x3e1)](''),_0x1ac88d[_0x242d5d(0x3e1)](_0x242d5d(0x432)),_0x1ac88d[_0x242d5d(0x3e1)](_0x50c749(_0x666e83));}return _0x1ac88d['join']('\x0a')+'\x0a';},'subcommandTerm':_0x28134a=>{const _0x5de234=a2_0x3a6c32,_0x392e37=(_0x28134a[_0x5de234(0x4a4)]||[])[_0x5de234(0x385)](_0x42988b=>_0x42988b[_0x5de234(0x46e)]?'<'+_0x42988b[_0x5de234(0x3e2)]()+'>':'['+_0x42988b['name']()+']')[_0x5de234(0x336)]('\x20'),_0x4c8a5f=_0x28134a[_0x5de234(0x473)](),_0x230b29=_0x4c8a5f[_0x5de234(0x3d7)]>0x0?_0x28134a[_0x5de234(0x3e2)]()+',\x20'+_0x4c8a5f[_0x5de234(0x336)](',\x20'):_0x28134a['name']();return _0x392e37?_0x230b29+'\x20'+_0x392e37:_0x230b29;}}),program[a2_0x3a6c32(0x41a)]('preAction',_0x242be9=>{const _0x567b7=a2_0x3a6c32,_0x1bfb80=_0x242be9[_0x567b7(0x34e)]();if(_0x1bfb80[_0x567b7(0x329)]){const _0x3209c1=resolve(_0x1bfb80[_0x567b7(0x329)]),_0x568ad6=_0x3209c1!==_0x1bfb80[_0x567b7(0x329)]?_0x567b7(0x47a)+_0x3209c1+')':'';if(!existsSync(_0x3209c1))throw new SDKError(ErrorCode[_0x567b7(0x366)],'Directory\x20does\x20not\x20exist:\x20'+_0x1bfb80[_0x567b7(0x329)]+_0x568ad6,undefined,{'helpText':_0x567b7(0x325)});const _0x50420e=statSync(_0x3209c1);if(!_0x50420e[_0x567b7(0x3b7)]())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x1bfb80[_0x567b7(0x329)]+_0x568ad6,undefined,{'helpText':'The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.'});process['chdir'](_0x3209c1);}if(!_0x1bfb80[_0x567b7(0x3f3)]){if(_0x1bfb80[_0x567b7(0x451)])_0x1bfb80['format']=_0x567b7(0x451);else{if(_0x1bfb80[_0x567b7(0x259)])_0x1bfb80['format']='json';else{if(_0x1bfb80[_0x567b7(0x3f9)])_0x1bfb80[_0x567b7(0x3f3)]='jsonl';else _0x1bfb80[_0x567b7(0x334)]&&(_0x1bfb80[_0x567b7(0x3f3)]=_0x567b7(0x334));}}}if(_0x1bfb80[_0x567b7(0x34a)])_0x1bfb80[_0x567b7(0x21d)]=LogLevel[_0x567b7(0x3ff)];else{if(_0x1bfb80['debug'])_0x1bfb80[_0x567b7(0x21d)]=LogLevel[_0x567b7(0x30c)];else _0x1bfb80[_0x567b7(0x21d)]===undefined&&(_0x1bfb80[_0x567b7(0x21d)]=LogLevel[_0x567b7(0x255)]);}});async function createTDXInstance(_0x35e583){const _0x11364b=a2_0x3a6c32,_0x58ad6b=await GlobalContext[_0x11364b(0x279)](_0x35e583);return _0x58ad6b['injectIntoOptions'](_0x35e583),TDX[_0x11364b(0x1eb)]({'site':_0x58ad6b[_0x11364b(0x42a)],'apiKey':_0x58ad6b[_0x11364b(0x305)],'accessToken':_0x58ad6b[_0x11364b(0x425)],'logLevel':_0x58ad6b[_0x11364b(0x21d)],'profile':_0x58ad6b['profile']});}const databaseCmd=program['command']('database')['alias']('db')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x40e)),databaseListAction=async(_0x320bff,_0x13f7ec)=>{const _0x109d74=a2_0x3a6c32,_0x329b39=new DatabasesCommand(),_0x68ae99=program['opts'](),_0x52d47b=await createTDXInstance(_0x68ae99),_0x6b62e1=await _0x329b39[_0x109d74(0x3c2)]({'options':{..._0x68ae99,..._0x13f7ec},'args':_0x320bff?[_0x320bff]:[],'tdx':_0x52d47b});gracefulExit(_0x6b62e1);};databaseCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x402))[a2_0x3a6c32(0x219)](databaseListAction),program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x1fa),{'hidden':!![]})[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x1f7))[a2_0x3a6c32(0x219)](databaseListAction),program[a2_0x3a6c32(0x2f4)]('chat\x20[message...]')['description'](a2_0x3a6c32(0x443))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x22e),a2_0x3a6c32(0x215))['option'](a2_0x3a6c32(0x2f2),a2_0x3a6c32(0x2a0))['option'](a2_0x3a6c32(0x459),'Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x353),a2_0x3a6c32(0x24f))['action'](async(_0x1d1c62,_0x15dfcf)=>{const _0x420e5d=a2_0x3a6c32,_0x247735=program[_0x420e5d(0x34e)](),_0x138091=await createTDXInstance(_0x247735);if(_0x1d1c62[0x0]==='create'){const _0x41a755=new ChatCreateCommand();gracefulExit(await _0x41a755[_0x420e5d(0x3c2)]({'options':{..._0x247735,..._0x15dfcf},'args':_0x1d1c62[_0x420e5d(0x383)](0x1),'tdx':_0x138091}));return;}const _0x336271=new ChatCommand(),_0x422fd6=await _0x336271['run']({'options':{..._0x247735,..._0x15dfcf},'args':_0x1d1c62,'tdx':_0x138091});gracefulExit(_0x422fd6);});const apiCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x43b))[a2_0x3a6c32(0x354)](a2_0x3a6c32(0x295))[a2_0x3a6c32(0x20a)](a2_0x3a6c32(0x2e7),a2_0x3a6c32(0x3f1))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x200),a2_0x3a6c32(0x49b),a2_0x3a6c32(0x34c))['option'](a2_0x3a6c32(0x3ab),'Request\x20body\x20as\x20JSON\x20string')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2b0),a2_0x3a6c32(0x1cc))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3da),a2_0x3a6c32(0x442),(_0x195cd0,_0x5ae1c6)=>{return _0x5ae1c6?[..._0x5ae1c6,_0x195cd0]:[_0x195cd0];})[a2_0x3a6c32(0x3b3)]('--type\x20<api_type>',a2_0x3a6c32(0x420),'td')[a2_0x3a6c32(0x219)](async(_0x27fbbb,_0xcf42ec)=>{const _0x535277=a2_0x3a6c32;if(!_0x27fbbb){apiCmd[_0x535277(0x205)]();return;}const _0x526df8=new ApiCommand(),_0x580009=program[_0x535277(0x34e)](),_0x24cbf9=await createTDXInstance(_0x580009),_0x5bdd10=await _0x526df8['run']({'options':{..._0x580009,..._0xcf42ec},'args':[_0x27fbbb],'tdx':_0x24cbf9});gracefulExit(_0x5bdd10);});program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x1de))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x270))[a2_0x3a6c32(0x20a)](a2_0x3a6c32(0x2e7),a2_0x3a6c32(0x3fc))[a2_0x3a6c32(0x219)](async _0x13c0f8=>{const _0xe79b3a=a2_0x3a6c32,_0x397a12=new MCPCommand(),_0x36bc86=program[_0xe79b3a(0x34e)](),_0x59c8bd=await createTDXInstance(_0x36bc86),_0x2f8717=await _0x397a12[_0xe79b3a(0x3c2)]({'options':{..._0x36bc86,..._0x13c0f8},'args':[],'tdx':_0x59c8bd});gracefulExit(_0x2f8717);});const tableCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x451))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x233)),tableListAction=async(_0x261603,_0x5da288)=>{const _0x2185c5=a2_0x3a6c32,_0x1f0b98=new TablesCommand(),_0x2e1aac=program[_0x2185c5(0x34e)](),_0x5cc081=await createTDXInstance(_0x2e1aac);_0x5da288['in']&&(_0x5da288[_0x2185c5(0x419)]=_0x5da288['in']);const _0x2bc814=await _0x1f0b98[_0x2185c5(0x3c2)]({'options':{..._0x2e1aac,..._0x5da288},'args':_0x261603?[_0x261603]:[],'tdx':_0x5cc081});gracefulExit(_0x2bc814);};tableCmd['command'](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x30e))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x23a),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2bf),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x3a6c32(0x219)](tableListAction),program['command'](a2_0x3a6c32(0x2b9),{'hidden':!![]})[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x206))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x23a),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2bf),a2_0x3a6c32(0x1f9))[a2_0x3a6c32(0x219)](tableListAction),program[a2_0x3a6c32(0x2f4)]('show\x20[table]')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x1ef))['option']('-d,\x20--database\x20<database>',a2_0x3a6c32(0x25d))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2bf),a2_0x3a6c32(0x1f9))[a2_0x3a6c32(0x219)](async(_0x1160fd,_0x51002e)=>{const _0x3ac0f5=a2_0x3a6c32,_0x343631=new ShowCommand(),_0x2f6839=program['opts'](),_0x405307=await createTDXInstance(_0x2f6839);_0x51002e['in']&&(_0x51002e['database']=_0x51002e['in']);const _0x54ee57=await _0x343631[_0x3ac0f5(0x3c2)]({'options':{..._0x2f6839,..._0x51002e},'args':_0x1160fd?[_0x1160fd]:[],'tdx':_0x405307});gracefulExit(_0x54ee57);}),program[a2_0x3a6c32(0x2f4)]('describe\x20[table]')[a2_0x3a6c32(0x20b)](a2_0x3a6c32(0x293))['description'](a2_0x3a6c32(0x34b))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x23a),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2bf),a2_0x3a6c32(0x1f9))[a2_0x3a6c32(0x219)](async(_0x3ec0e5,_0x3a610c)=>{const _0x21096b=a2_0x3a6c32,_0x1b1a74=new DescribeCommand(),_0x47d642=program[_0x21096b(0x34e)](),_0x25875d=await createTDXInstance(_0x47d642);_0x3a610c['in']&&(_0x3a610c[_0x21096b(0x419)]=_0x3a610c['in']);const _0x54c687=await _0x1b1a74[_0x21096b(0x3c2)]({'options':{..._0x47d642,..._0x3a610c},'args':_0x3ec0e5?[_0x3ec0e5]:[],'tdx':_0x25875d});gracefulExit(_0x54c687);}),program[a2_0x3a6c32(0x2f4)]('query\x20[sql]')['description']('Run\x20Trino\x20query\x20with\x20streaming\x20results')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x23a),a2_0x3a6c32(0x44d))['option'](a2_0x3a6c32(0x2bf),a2_0x3a6c32(0x1f9))['option'](a2_0x3a6c32(0x418),'Trino\x20catalog\x20(default:\x20td)')['option'](a2_0x3a6c32(0x2b0),'Read\x20SQL\x20query\x20from\x20file')['option'](a2_0x3a6c32(0x42d),'Maximum\x20rows\x20to\x20display')['action'](async(_0x360cfa,_0x54beb4)=>{const _0x3335b2=a2_0x3a6c32,_0x309bbf=new QueryCommand(),_0x333d80=program['opts'](),_0x40b84d=await createTDXInstance(_0x333d80);_0x54beb4['in']&&(_0x54beb4[_0x3335b2(0x419)]=_0x54beb4['in']);const _0x533055=await _0x309bbf[_0x3335b2(0x3c2)]({'options':mergeCommandOptions(_0x333d80,_0x54beb4),'args':_0x360cfa?[_0x360cfa]:[],'tdx':_0x40b84d});gracefulExit(_0x533055);});const segmentCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3ce))[a2_0x3a6c32(0x20b)]('sg')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x36c)),segmentListAction=async(_0x1373bb,_0x28e919)=>{const _0x2012a8=a2_0x3a6c32,_0x359e93=new SegmentsCommand(),_0x5ba304=program[_0x2012a8(0x34e)](),_0x5e3415=await createTDXInstance(_0x5ba304),_0xcea201=await _0x359e93['run']({'options':{..._0x5ba304,..._0x28e919},'args':_0x1373bb?[_0x1373bb]:[],'tdx':_0x5e3415});gracefulExit(_0xcea201);};segmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x445))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x351))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x26d),a2_0x3a6c32(0x3fb))[a2_0x3a6c32(0x3b3)]('--max-depth\x20<depth>',a2_0x3a6c32(0x308),'10')[a2_0x3a6c32(0x219)](segmentListAction),program['command'](a2_0x3a6c32(0x48f),{'hidden':!![]})[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x33c))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x26d),a2_0x3a6c32(0x3fb))['option'](a2_0x3a6c32(0x37c),a2_0x3a6c32(0x308),'10')[a2_0x3a6c32(0x219)](segmentListAction),segmentCmd[a2_0x3a6c32(0x2f4)]('use\x20<path>',{'hidden':!![]})[a2_0x3a6c32(0x2f0)]('[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)')[a2_0x3a6c32(0x219)](async(_0x5d2696,_0x310680)=>{const _0x97e175=a2_0x3a6c32,_0x3ea516=new SegmentUseCommand(),_0x2cfdef=program[_0x97e175(0x34e)](),_0x350ba9=await createTDXInstance(_0x2cfdef),_0x533144=await _0x3ea516[_0x97e175(0x3c2)]({'options':{..._0x2cfdef,..._0x310680},'args':[_0x5d2696],'tdx':_0x350ba9});gracefulExit(_0x533144);});const segmentViewAction=async(_0x430629,_0x32aef3)=>{const _0x15d849=a2_0x3a6c32,_0x3d7798=new SegmentViewCommand(),_0x347482=program[_0x15d849(0x34e)](),_0x296e03=await createTDXInstance(_0x347482),_0x1203dd=await _0x3d7798[_0x15d849(0x3c2)]({'options':{..._0x347482,..._0x32aef3},'args':_0x430629?[_0x430629]:[],'tdx':_0x296e03});gracefulExit(_0x1203dd);};segmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2dd))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x2a9))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x381),a2_0x3a6c32(0x431))[a2_0x3a6c32(0x219)](segmentViewAction),segmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x337),{'hidden':!![]})['alias']('describe')['option'](a2_0x3a6c32(0x381),a2_0x3a6c32(0x431))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x27c))['action'](segmentViewAction),segmentCmd['command'](a2_0x3a6c32(0x2a1))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x322))[a2_0x3a6c32(0x219)](async(_0x444045,_0xeb5994)=>{const _0x50de73=a2_0x3a6c32,_0x2e63f6=new SegmentDescCommand(),_0x30a68c=program[_0x50de73(0x34e)](),_0x1c2ce6=await createTDXInstance(_0x30a68c),_0x330fb7=await _0x2e63f6['run']({'options':{..._0x30a68c,..._0xeb5994},'args':_0x444045?[_0x444045]:[],'tdx':_0x1c2ce6});gracefulExit(_0x330fb7);}),segmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3c1))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x478))[a2_0x3a6c32(0x219)](async(_0x42c1ce,_0x3457df)=>{const _0x57f6d4=a2_0x3a6c32,_0x6a879d=new SegmentShowCommand(),_0x515246=program[_0x57f6d4(0x34e)](),_0x521f61=await createTDXInstance(_0x515246),_0x1f16dc=await _0x6a879d[_0x57f6d4(0x3c2)]({'options':{..._0x515246,..._0x3457df},'args':_0x42c1ce?[_0x42c1ce]:[],'tdx':_0x521f61});gracefulExit(_0x1f16dc);}),segmentCmd['command'](a2_0x3a6c32(0x46d),{'hidden':!![]})['description']('[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)')[a2_0x3a6c32(0x219)](async(_0x266713,_0x301929)=>{const _0xa1f3f8=a2_0x3a6c32,_0x35d6e9=new SegmentFolderListCommand(),_0x2f6851=program[_0xa1f3f8(0x34e)](),_0x1c2e8c=await createTDXInstance(_0x2f6851),_0xbb22c0=await _0x35d6e9[_0xa1f3f8(0x3c2)]({'options':{..._0x2f6851,..._0x301929},'args':[_0x266713],'tdx':_0x1c2e8c});gracefulExit(_0xbb22c0);});const folderCmd=segmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x447),{'hidden':!![]})[a2_0x3a6c32(0x2f0)]('[DEPRECATED]\x20Segment\x20folder\x20management');folderCmd[a2_0x3a6c32(0x2f4)]('show\x20<folder_ref>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x23b))[a2_0x3a6c32(0x219)](async(_0x32df71,_0x13a978)=>{const _0x2abc93=a2_0x3a6c32,_0x5846f7=new SegmentFolderShowCommand(),_0xcda67a=program['opts'](),_0x699bc=await createTDXInstance(_0xcda67a),_0x3da388=await _0x5846f7[_0x2abc93(0x3c2)]({'options':{..._0xcda67a,..._0x13a978},'args':[_0x32df71],'tdx':_0x699bc});gracefulExit(_0x3da388);}),segmentCmd['command'](a2_0x3a6c32(0x339))['description'](a2_0x3a6c32(0x31d))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x401),a2_0x3a6c32(0x1e1))['action'](async(_0x28a708,_0xc478af)=>{const _0x3a8cb3=a2_0x3a6c32,_0xaeff29=new SegmentSQLCommand(),_0x7a3a2=program[_0x3a8cb3(0x34e)](),_0x4d0f18=await createTDXInstance(_0x7a3a2),_0x3ea8d8=await _0xaeff29[_0x3a8cb3(0x3c2)]({'options':{..._0x7a3a2,..._0xc478af},'args':_0x28a708?[_0x28a708]:[],'tdx':_0x4d0f18});gracefulExit(_0x3ea8d8);}),segmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x396))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x398))[a2_0x3a6c32(0x219)](async(_0x5bf757,_0x1206a3)=>{const _0xe12746=a2_0x3a6c32,_0x183cdf=new SegmentFieldsCommand(),_0x3968df=program['opts'](),_0x21575c=await createTDXInstance(_0x3968df),_0x426b74=await _0x183cdf[_0xe12746(0x3c2)]({'options':{..._0x3968df,..._0x1206a3},'args':_0x5bf757?[_0x5bf757]:[],'tdx':_0x21575c});gracefulExit(_0x426b74);}),segmentCmd[a2_0x3a6c32(0x2f4)]('pull\x20[parent_or_file]')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3fd))['option'](a2_0x3a6c32(0x3c8),a2_0x3a6c32(0x2d3))[a2_0x3a6c32(0x219)](async(_0x325d41,_0x9038e3)=>{const _0x26d4f3=a2_0x3a6c32,_0x478e22=new SegmentPullCommand(),_0x3db6fa=program[_0x26d4f3(0x34e)](),_0x3d7ce8=await createTDXInstance(_0x3db6fa),_0x522086=await _0x478e22[_0x26d4f3(0x3c2)]({'options':{..._0x3db6fa,..._0x9038e3},'args':_0x325d41?[_0x325d41]:[],'tdx':_0x3d7ce8});gracefulExit(_0x522086);}),segmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x1d7))['description'](a2_0x3a6c32(0x2eb))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3c8),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2e2),a2_0x3a6c32(0x37d))['action'](async(_0x3211f4,_0x26b731)=>{const _0x2ccb22=a2_0x3a6c32,_0x437ae3=new SegmentPushCommand(),_0x32ca94=program[_0x2ccb22(0x34e)](),_0x86dbfe=await createTDXInstance(_0x32ca94),_0x5634d6=await _0x437ae3[_0x2ccb22(0x3c2)]({'options':{..._0x32ca94,..._0x26b731},'args':_0x3211f4?[_0x3211f4]:[],'tdx':_0x86dbfe});gracefulExit(_0x5634d6);}),segmentCmd[a2_0x3a6c32(0x2f4)]('validate\x20[target]')['description'](a2_0x3a6c32(0x260))[a2_0x3a6c32(0x219)](async(_0x49bfc4,_0x143a56)=>{const _0x252151=a2_0x3a6c32,_0xe52e72=new SegmentValidateCommand(),_0x2ef302=program[_0x252151(0x34e)](),_0x2ea8d9=await createTDXInstance(_0x2ef302),_0x4ffeaf=await _0xe52e72[_0x252151(0x3c2)]({'options':{..._0x2ef302,..._0x143a56},'args':_0x49bfc4?[_0x49bfc4]:[],'tdx':_0x2ea8d9});gracefulExit(_0x4ffeaf);}),segmentCmd[a2_0x3a6c32(0x2f4)]('create\x20<segment_name>',{'hidden':!![]})[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x479))[a2_0x3a6c32(0x3b3)]('--description\x20<text>','Segment\x20description')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x395),a2_0x3a6c32(0x434))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x36e),'Filtering\x20rule\x20from\x20JSON\x20file')['option']('--folder\x20<name>',a2_0x3a6c32(0x2ec))['option'](a2_0x3a6c32(0x430),a2_0x3a6c32(0x2ca))['option']('--invisible',a2_0x3a6c32(0x27e))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x393),a2_0x3a6c32(0x444))[a2_0x3a6c32(0x219)](async(_0x597520,_0x35259a)=>{const _0x58578a=a2_0x3a6c32,_0x5b7892=new SegmentCreateCommand(),_0xbd70d4=program[_0x58578a(0x34e)](),_0x4126ee=await createTDXInstance(_0xbd70d4),_0x1a209a=await _0x5b7892[_0x58578a(0x3c2)]({'options':{..._0xbd70d4,..._0x35259a},'args':[_0x597520],'tdx':_0x4126ee});gracefulExit(_0x1a209a);}),segmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2a5),{'hidden':!![]})['description'](a2_0x3a6c32(0x1ee))['option']('--name\x20<new_name>','New\x20segment\x20name')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x38b),a2_0x3a6c32(0x304))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x395),a2_0x3a6c32(0x441))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x36e),a2_0x3a6c32(0x495))[a2_0x3a6c32(0x3b3)]('--folder\x20<name>','Move\x20to\x20folder')[a2_0x3a6c32(0x3b3)]('--kind\x20<type>',a2_0x3a6c32(0x2ca))[a2_0x3a6c32(0x219)](async(_0x2f084b,_0x3aa67f)=>{const _0x431227=a2_0x3a6c32,_0x3c85ed=new SegmentUpdateCommand(),_0x474a75=program[_0x431227(0x34e)](),_0x2142ed=await createTDXInstance(_0x474a75),_0x2285ec=await _0x3c85ed[_0x431227(0x3c2)]({'options':{..._0x474a75,..._0x3aa67f},'args':[_0x2f084b],'tdx':_0x2142ed});gracefulExit(_0x2285ec);});const parentCmd=segmentCmd['command'](a2_0x3a6c32(0x4a1),{'hidden':!![]})['description'](a2_0x3a6c32(0x2ff)),parentListAction=async(_0x5c39ed,_0x1abe16)=>{const _0x3a21b3=a2_0x3a6c32,_0x4c9ed8=new ParentSegmentListCommand(),_0x41f242=program[_0x3a21b3(0x34e)](),_0x5b0892=await createTDXInstance(_0x41f242),_0x433d53=await _0x4c9ed8[_0x3a21b3(0x3c2)]({'options':{..._0x41f242,..._0x1abe16},'args':_0x5c39ed?[_0x5c39ed]:[],'tdx':_0x5b0892});gracefulExit(_0x433d53);};parentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x2df))[a2_0x3a6c32(0x219)](parentListAction),segmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x207),{'hidden':!![]})['description'](a2_0x3a6c32(0x370))[a2_0x3a6c32(0x219)](parentListAction),parentCmd[a2_0x3a6c32(0x2f4)]('pull\x20[name]')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x46b))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3d3),a2_0x3a6c32(0x3b5))[a2_0x3a6c32(0x219)](async(_0x5620db,_0x283448)=>{const _0x3964dc=a2_0x3a6c32,_0x54a339=new ParentSegmentPullCommand(),_0x3db18d=program[_0x3964dc(0x34e)](),_0x2720b6=await createTDXInstance(_0x3db18d),_0x460642=await _0x54a339[_0x3964dc(0x3c2)]({'options':{..._0x3db18d,..._0x283448},'args':_0x5620db?[_0x5620db]:[],'tdx':_0x2720b6});gracefulExit(_0x460642);}),parentCmd['command'](a2_0x3a6c32(0x39f))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x1da))[a2_0x3a6c32(0x219)](async(_0x35c64d,_0x25cec5)=>{const _0x30b8f5=a2_0x3a6c32,_0x307eb8=new ParentSegmentPushCommand(),_0x492fec=program[_0x30b8f5(0x34e)](),_0xdd71ba=await createTDXInstance(_0x492fec),_0x76380c=await _0x307eb8[_0x30b8f5(0x3c2)]({'options':{..._0x492fec,..._0x25cec5},'args':_0x35c64d?[_0x35c64d]:[],'tdx':_0xdd71ba});gracefulExit(_0x76380c);}),parentCmd[a2_0x3a6c32(0x2f4)]('validate\x20[file]')[a2_0x3a6c32(0x2f0)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3b2),'Show\x20only\x20master\x20table\x20validation')['option'](a2_0x3a6c32(0x299),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')['option'](a2_0x3a6c32(0x47e),a2_0x3a6c32(0x306))['option']('--enriched',a2_0x3a6c32(0x31a))[a2_0x3a6c32(0x3b3)]('--interval\x20<range>',a2_0x3a6c32(0x242),a2_0x3a6c32(0x2c1))[a2_0x3a6c32(0x219)](async(_0x2fa694,_0x4673cd)=>{const _0x416286=new ParentSegmentValidateCommand(),_0xbe634f=program['opts'](),_0x2bc550=await createTDXInstance(_0xbe634f),_0x1a4fe0=await _0x416286['run']({'options':{..._0xbe634f,..._0x4673cd},'args':_0x2fa694?[_0x2fa694]:[],'tdx':_0x2bc550});gracefulExit(_0x1a4fe0);}),parentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x229))[a2_0x3a6c32(0x2f0)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3b2),a2_0x3a6c32(0x20d))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x299),a2_0x3a6c32(0x368))[a2_0x3a6c32(0x3b3)]('--behavior\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')['option']('--enriched','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x345),a2_0x3a6c32(0x242),'-1d')[a2_0x3a6c32(0x219)](async(_0xbe0da,_0x23be31)=>{const _0x615e30=a2_0x3a6c32,_0x12e9b7=new ParentSegmentPreviewCommand(),_0x352b0b=program[_0x615e30(0x34e)](),_0x2d4b65=await createTDXInstance(_0x352b0b),_0x4bc15f=await _0x12e9b7['run']({'options':{..._0x352b0b,..._0x23be31},'args':_0xbe0da?[_0xbe0da]:[],'tdx':_0x2d4b65});gracefulExit(_0x4bc15f);}),parentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x466))[a2_0x3a6c32(0x2f0)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x3a6c32(0x219)](async(_0x412313,_0x479b52)=>{const _0x9d1e3f=a2_0x3a6c32,_0x4192dd=new ParentSegmentRunCommand(),_0x4d8085=program[_0x9d1e3f(0x34e)](),_0x2025af=await createTDXInstance(_0x4d8085),_0x332c65=await _0x4192dd[_0x9d1e3f(0x3c2)]({'options':{..._0x4d8085,..._0x479b52},'args':_0x412313?[_0x412313]:[],'tdx':_0x2025af});gracefulExit(_0x332c65);});const parentSegmentCmd=program[a2_0x3a6c32(0x2f4)]('parent-segment')[a2_0x3a6c32(0x20b)]('ps')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x42c));parentSegmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x2df))[a2_0x3a6c32(0x219)](parentListAction),parentSegmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x221))[a2_0x3a6c32(0x2f0)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')['option']('-o,\x20--output\x20<file>','Output\x20file\x20path')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x45f),a2_0x3a6c32(0x2fe))[a2_0x3a6c32(0x219)](async(_0x327d36,_0x2b8840)=>{const _0x138354=a2_0x3a6c32,_0x41e0a0=new ParentSegmentPullCommand(),_0x597067=program['opts'](),_0xfd566b=await createTDXInstance(_0x597067),_0x543f97=await _0x41e0a0[_0x138354(0x3c2)]({'options':{..._0x597067,..._0x2b8840},'args':_0x327d36?[_0x327d36]:[],'tdx':_0xfd566b});gracefulExit(_0x543f97);}),parentSegmentCmd['command'](a2_0x3a6c32(0x33e))['description'](a2_0x3a6c32(0x3f6))[a2_0x3a6c32(0x219)](async(_0xb2ec61,_0x30a182)=>{const _0x121697=a2_0x3a6c32,_0xb7b851=new ParentSegmentPushCommand(),_0x5dc5d7=program[_0x121697(0x34e)](),_0x48fdcc=await createTDXInstance(_0x5dc5d7),_0x2e4142=await _0xb7b851[_0x121697(0x3c2)]({'options':{..._0x5dc5d7,..._0x30a182},'args':_0xb2ec61?[_0xb2ec61]:[],'tdx':_0x48fdcc});gracefulExit(_0x2e4142);}),parentSegmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x373))[a2_0x3a6c32(0x2f0)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')['option']('--master',a2_0x3a6c32(0x352))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x299),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')['option'](a2_0x3a6c32(0x47e),a2_0x3a6c32(0x306))['option'](a2_0x3a6c32(0x31e),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x3a6c32(0x3b3)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x3a6c32(0x2c1))[a2_0x3a6c32(0x219)](async(_0xb3c8d0,_0x10b81c)=>{const _0x580e1e=a2_0x3a6c32,_0x22a8bc=new ParentSegmentValidateCommand(),_0x430e5c=program[_0x580e1e(0x34e)](),_0x413106=await createTDXInstance(_0x430e5c),_0x5e8af8=await _0x22a8bc[_0x580e1e(0x3c2)]({'options':{..._0x430e5c,..._0x10b81c},'args':_0xb3c8d0?[_0xb3c8d0]:[],'tdx':_0x413106});gracefulExit(_0x5e8af8);}),parentSegmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3d2))['description'](a2_0x3a6c32(0x2f6))['option'](a2_0x3a6c32(0x3b2),a2_0x3a6c32(0x20d))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x299),a2_0x3a6c32(0x368))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x47e),a2_0x3a6c32(0x2c0))['option'](a2_0x3a6c32(0x31e),a2_0x3a6c32(0x3aa))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x345),a2_0x3a6c32(0x242),a2_0x3a6c32(0x2c1))[a2_0x3a6c32(0x219)](async(_0xed2b6d,_0x1c526a)=>{const _0x185334=a2_0x3a6c32,_0x39afbe=new ParentSegmentPreviewCommand(),_0x5b05f1=program[_0x185334(0x34e)](),_0x3f5661=await createTDXInstance(_0x5b05f1),_0x4b317e=await _0x39afbe[_0x185334(0x3c2)]({'options':{..._0x5b05f1,..._0x1c526a},'args':_0xed2b6d?[_0xed2b6d]:[],'tdx':_0x3f5661});gracefulExit(_0x4b317e);}),parentSegmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x466))['description'](a2_0x3a6c32(0x227))['action'](async(_0x3b54b0,_0x23292e)=>{const _0xebca80=a2_0x3a6c32,_0x1783a3=new ParentSegmentRunCommand(),_0x41b127=program[_0xebca80(0x34e)](),_0x2d639d=await createTDXInstance(_0x41b127),_0x5ae52b=await _0x1783a3[_0xebca80(0x3c2)]({'options':{..._0x41b127,..._0x23292e},'args':_0x3b54b0?[_0x3b54b0]:[],'tdx':_0x2d639d});gracefulExit(_0x5ae52b);}),parentSegmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x48d))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x450))['option'](a2_0x3a6c32(0x37f),a2_0x3a6c32(0x39c))[a2_0x3a6c32(0x3b3)]('--jsonl',a2_0x3a6c32(0x208))['action'](async(_0x4c8547,_0x37a3b5)=>{const _0x3984bc=a2_0x3a6c32,_0x106aac=new ParentSegmentFieldsCommand(),_0x10d4d4=program[_0x3984bc(0x34e)](),_0x417c3c=await createTDXInstance(_0x10d4d4),_0x22ce47=await _0x106aac[_0x3984bc(0x3c2)]({'options':{..._0x10d4d4,..._0x37a3b5},'args':_0x4c8547?[_0x4c8547]:[],'tdx':_0x417c3c});gracefulExit(_0x22ce47);}),parentSegmentCmd['command'](a2_0x3a6c32(0x224))[a2_0x3a6c32(0x2f0)]('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')['option']('-w,\x20--web',a2_0x3a6c32(0x21e))['option'](a2_0x3a6c32(0x37f),a2_0x3a6c32(0x39c))['option'](a2_0x3a6c32(0x2a8),'Output\x20as\x20JSON\x20Lines')[a2_0x3a6c32(0x219)](async(_0x1b52d1,_0x4a438c)=>{const _0x31bdc2=a2_0x3a6c32,_0x29ec55=new ParentSegmentViewCommand(),_0xcd92b8=program[_0x31bdc2(0x34e)](),_0x284328=await createTDXInstance(_0xcd92b8),_0x59755a=await _0x29ec55[_0x31bdc2(0x3c2)]({'options':{..._0xcd92b8,..._0x4a438c},'args':_0x1b52d1?[_0x1b52d1]:[],'tdx':_0x284328});gracefulExit(_0x59755a);}),parentSegmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x252))['description'](a2_0x3a6c32(0x245))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3d3),a2_0x3a6c32(0x3b1))['option'](a2_0x3a6c32(0x37f),a2_0x3a6c32(0x39c))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2a8),'Output\x20as\x20JSON\x20Lines')[a2_0x3a6c32(0x219)](async(_0x14f05d,_0x5b7d5c)=>{const _0x276e90=a2_0x3a6c32,_0x2c6546=new ParentSegmentDescCommand(),_0x380d90=program[_0x276e90(0x34e)](),_0x49541c=await createTDXInstance(_0x380d90),_0x2e9575=await _0x2c6546[_0x276e90(0x3c2)]({'options':{..._0x380d90,..._0x5b7d5c},'args':_0x14f05d?[_0x14f05d]:[],'tdx':_0x49541c});gracefulExit(_0x2e9575);}),parentSegmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2bb))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x230))[a2_0x3a6c32(0x3b3)]('--json','Output\x20as\x20JSON')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2a8),a2_0x3a6c32(0x208))[a2_0x3a6c32(0x219)](async(_0x11020d,_0x43a334)=>{const _0x4d4c22=new ParentSegmentSQLCommand(),_0x4b713f=program['opts'](),_0x3f7cba=await createTDXInstance(_0x4b713f),_0x5f0608=await _0x4d4c22['run']({'options':{..._0x4b713f,..._0x43a334},'args':_0x11020d?[_0x11020d]:[],'tdx':_0x3f7cba});gracefulExit(_0x5f0608);}),parentSegmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x41e))['description'](a2_0x3a6c32(0x271))['option'](a2_0x3a6c32(0x36d),a2_0x3a6c32(0x2af))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x37f),'Output\x20as\x20JSON')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2a8),a2_0x3a6c32(0x208))[a2_0x3a6c32(0x219)](async(_0x3238fe,_0x5a4009)=>{const _0x4dec64=a2_0x3a6c32,_0x5dbb43=new ParentSegmentShowCommand(),_0x2af75e=program[_0x4dec64(0x34e)](),_0x30b622=await createTDXInstance(_0x2af75e),_0x5f270e=await _0x5dbb43[_0x4dec64(0x3c2)]({'options':{..._0x2af75e,..._0x5a4009},'args':_0x3238fe?[_0x3238fe]:[],'tdx':_0x30b622});gracefulExit(_0x5f270e);}),parentSegmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2d7))[a2_0x3a6c32(0x2f0)]('Set\x20or\x20show\x20parent\x20segment\x20context')[a2_0x3a6c32(0x219)](async(_0x27ffb1,_0x576350)=>{const _0x5e2352=a2_0x3a6c32,_0x3d4d16=new UseCommand(),_0x57e2d2=program['opts'](),_0x486d13=_0x27ffb1?[_0x5e2352(0x1cb),_0x27ffb1]:[],_0x27dcf2=await _0x3d4d16[_0x5e2352(0x3c2)]({'options':{..._0x57e2d2,..._0x576350},'args':_0x486d13,'tdx':null});gracefulExit(_0x27dcf2);});const psRtCmd=parentSegmentCmd['command']('rt')['description'](a2_0x3a6c32(0x220));psRtCmd['command']('list\x20[pattern]')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x371))[a2_0x3a6c32(0x219)](async(_0x48b842,_0x220ea6)=>{const _0x495eb1=a2_0x3a6c32,_0x6240a5=new PSRtListCommand(),_0x540192=program[_0x495eb1(0x34e)](),_0x557093=await createTDXInstance(_0x540192),_0x8d94e0=await _0x6240a5[_0x495eb1(0x3c2)]({'options':{..._0x540192,..._0x220ea6},'args':_0x48b842?[_0x48b842]:[],'tdx':_0x557093});gracefulExit(_0x8d94e0);}),psRtCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x373))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3e8))['action'](async(_0x4255f8,_0x4adb0f)=>{const _0x2a7a92=a2_0x3a6c32,_0x3f17a2=new PSRtValidateCommand(),_0xf48ebe=program[_0x2a7a92(0x34e)](),_0xcd2d6b=await createTDXInstance(_0xf48ebe),_0x228efe=await _0x3f17a2['run']({'options':{..._0xf48ebe,..._0x4adb0f},'args':_0x4255f8?[_0x4255f8]:[],'tdx':_0xcd2d6b});gracefulExit(_0x228efe);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})[a2_0x3a6c32(0x2f0)]('RT\x202.0\x20configuration\x20management');parentRtCmd['command']('list\x20[pattern]')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x371))[a2_0x3a6c32(0x219)](async(_0x4d4433,_0x59a3f0)=>{const _0xa62f40=a2_0x3a6c32,_0x211bce=new PSRtListCommand(),_0x56f3a5=program[_0xa62f40(0x34e)](),_0x1ee58f=await createTDXInstance(_0x56f3a5),_0x171d7a=await _0x211bce[_0xa62f40(0x3c2)]({'options':{..._0x56f3a5,..._0x59a3f0},'args':_0x4d4433?[_0x4d4433]:[],'tdx':_0x1ee58f});gracefulExit(_0x171d7a);}),parentRtCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x373))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3e8))[a2_0x3a6c32(0x219)](async(_0x548931,_0x28c6b7)=>{const _0x4caef2=a2_0x3a6c32,_0x242b46=new PSRtValidateCommand(),_0x49aac1=program[_0x4caef2(0x34e)](),_0x35eba7=await createTDXInstance(_0x49aac1),_0x2d811d=await _0x242b46[_0x4caef2(0x3c2)]({'options':{..._0x49aac1,..._0x28c6b7},'args':_0x548931?[_0x548931]:[],'tdx':_0x35eba7});gracefulExit(_0x2d811d);});const psPzCmd=parentSegmentCmd['command']('pz')['description'](a2_0x3a6c32(0x2a7));psPzCmd['command'](a2_0x3a6c32(0x216))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3bf))['action'](async(_0x1adc31,_0x520583)=>{const _0x2747af=a2_0x3a6c32,_0x2b580e=new PSPzListCommand(),_0xafd1eb=program[_0x2747af(0x34e)](),_0xf0e9cb=await createTDXInstance(_0xafd1eb),_0x28498d=await _0x2b580e[_0x2747af(0x3c2)]({'options':{..._0xafd1eb,..._0x520583},'args':_0x1adc31?[_0x1adc31]:[],'tdx':_0xf0e9cb});gracefulExit(_0x28498d);}),psPzCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x36b))['description'](a2_0x3a6c32(0x20c))['action'](async(_0x31132f,_0x270051)=>{const _0x4122b7=a2_0x3a6c32,_0x1b183b=new PSPzInitCommand(),_0x39b942=program['opts'](),_0x1b9eb2=await createTDXInstance(_0x39b942),_0x2f87d3=await _0x1b183b[_0x4122b7(0x3c2)]({'options':{..._0x39b942,..._0x270051},'args':_0x31132f?[_0x31132f]:[],'tdx':_0x1b9eb2});gracefulExit(_0x2f87d3);});const parentPzCmd=parentCmd[a2_0x3a6c32(0x2f4)]('pz',{'hidden':!![]})['description'](a2_0x3a6c32(0x2a7));parentPzCmd['command'](a2_0x3a6c32(0x216))[a2_0x3a6c32(0x2f0)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3a6c32(0x219)](async(_0x6f9b6d,_0x793023)=>{const _0x5ed725=a2_0x3a6c32,_0x5d2d04=new PSPzListCommand(),_0x95e0c9=program[_0x5ed725(0x34e)](),_0x85cbc9=await createTDXInstance(_0x95e0c9),_0x55ef8a=await _0x5d2d04[_0x5ed725(0x3c2)]({'options':{..._0x95e0c9,..._0x793023},'args':_0x6f9b6d?[_0x6f9b6d]:[],'tdx':_0x85cbc9});gracefulExit(_0x55ef8a);}),parentPzCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x36b))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x20c))['action'](async(_0x2c23ad,_0x5c0c28)=>{const _0x432e12=a2_0x3a6c32,_0x1bd571=new PSPzInitCommand(),_0x2442e4=program['opts'](),_0x2bb949=await createTDXInstance(_0x2442e4),_0x1db667=await _0x1bd571[_0x432e12(0x3c2)]({'options':{..._0x2442e4,..._0x5c0c28},'args':_0x2c23ad?[_0x2c23ad]:[],'tdx':_0x2bb949});gracefulExit(_0x1db667);}),parentCmd['command'](a2_0x3a6c32(0x338))[a2_0x3a6c32(0x2f0)]('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x253),a2_0x3a6c32(0x290))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3e9),a2_0x3a6c32(0x332))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x38b),a2_0x3a6c32(0x2e3))['option'](a2_0x3a6c32(0x320),a2_0x3a6c32(0x3e6))['option'](a2_0x3a6c32(0x45b),a2_0x3a6c32(0x1e3))[a2_0x3a6c32(0x3b3)]('--timezone\x20<tz>',a2_0x3a6c32(0x209))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2f3),a2_0x3a6c32(0x2cd))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2f5),'Attributes\x20from\x20JSON\x20file')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x32c),a2_0x3a6c32(0x2ae))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3d8),'Behaviors\x20from\x20JSON\x20file')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x44c),a2_0x3a6c32(0x347))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3e5),a2_0x3a6c32(0x358))['action'](async(_0x569e00,_0x548f68)=>{const _0x490973=a2_0x3a6c32,_0x155076=new ParentSegmentCreateCommand(),_0x2924b4=program['opts'](),_0x4d330b=await createTDXInstance(_0x2924b4),_0x383959=await _0x155076[_0x490973(0x3c2)]({'options':{..._0x2924b4,..._0x548f68},'args':[_0x569e00],'tdx':_0x4d330b});gracefulExit(_0x383959);}),parentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x333))['description']('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x38b),a2_0x3a6c32(0x304))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x320),a2_0x3a6c32(0x390))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x45b),a2_0x3a6c32(0x3bd))[a2_0x3a6c32(0x3b3)]('--timezone\x20<tz>','Updated\x20timezone')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1e4),a2_0x3a6c32(0x3b6))['option'](a2_0x3a6c32(0x23c),'Add\x20attributes\x20from\x20JSON\x20file')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c8),a2_0x3a6c32(0x449))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3db),a2_0x3a6c32(0x29b))['action'](async(_0x3e1c3e,_0x5a9f77)=>{const _0x206e41=a2_0x3a6c32,_0x397a56=new ParentSegmentUpdateCommand(),_0x4031fd=program[_0x206e41(0x34e)](),_0x51b18c=await createTDXInstance(_0x4031fd),_0x7e63aa=await _0x397a56[_0x206e41(0x3c2)]({'options':{..._0x4031fd,..._0x5a9f77},'args':[_0x3e1c3e],'tdx':_0x51b18c});gracefulExit(_0x7e63aa);}),folderCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2a2))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x31c))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x38b),a2_0x3a6c32(0x1ea))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2ed),'Parent\x20folder\x20name\x20for\x20nested\x20folders')[a2_0x3a6c32(0x219)](async(_0x442b44,_0x420839,_0x18cf3c)=>{const _0x2acd19=a2_0x3a6c32,_0x3f34e6=new SegmentFolderCreateCommand(),_0x574788=program[_0x2acd19(0x34e)](),_0x216bb5=await createTDXInstance(_0x574788),_0x3ebc82=await _0x3f34e6['run']({'options':{..._0x574788,..._0x18cf3c},'args':[_0x442b44,_0x420839],'tdx':_0x216bb5});gracefulExit(_0x3ebc82);}),program[a2_0x3a6c32(0x2f4)]('activations\x20<segment_name>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x2d1))[a2_0x3a6c32(0x219)](async(_0x4ec3fb,_0x27efeb)=>{const _0x56c6af=a2_0x3a6c32,_0x238384=new ActivationsCommand(),_0x143cfb=program[_0x56c6af(0x34e)](),_0x26240e=await createTDXInstance(_0x143cfb),_0x5e95c0=await _0x238384['run']({'options':{..._0x143cfb,..._0x27efeb},'args':[_0x4ec3fb],'tdx':_0x26240e});gracefulExit(_0x5e95c0);});const workflowCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x424))[a2_0x3a6c32(0x20b)]('wf')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x49a)),wfProjectCmd=workflowCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3be))[a2_0x3a6c32(0x2f0)]('Workflow\x20project\x20management'),wfProjectListAction=async(_0x4ae449,_0x13f77f)=>{const _0xd03ddc=a2_0x3a6c32,_0x1bd505=new WorkflowProjectsCommand(),_0x49739d=program[_0xd03ddc(0x34e)](),_0x395c10=await createTDXInstance(_0x49739d),_0x556ac2=await _0x1bd505[_0xd03ddc(0x3c2)]({'options':{..._0x49739d,..._0x13f77f},'args':_0x4ae449?[_0x4ae449]:[],'tdx':_0x395c10});gracefulExit(_0x556ac2);};wfProjectCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)]('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x3a6c32(0x219)](wfProjectListAction),workflowCmd[a2_0x3a6c32(0x2f4)]('projects\x20[pattern]')['description'](a2_0x3a6c32(0x2ce))['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x18df9a,_0x236649)=>{const _0x2677b0=a2_0x3a6c32,_0xbc7def=new WorkflowWorkflowsCommand(),_0xcc0d45=program[_0x2677b0(0x34e)](),_0x52f93b=await createTDXInstance(_0xcc0d45),_0x10b5cd=await _0xbc7def[_0x2677b0(0x3c2)]({'options':{..._0xcc0d45,..._0x236649},'args':_0x18df9a?[_0x18df9a]:[],'tdx':_0x52f93b});gracefulExit(_0x10b5cd);};workflowCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x376))['description'](a2_0x3a6c32(0x342))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command'](a2_0x3a6c32(0x30a))[a2_0x3a6c32(0x2f0)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0x117379,_0x512b56)=>{const _0x5743eb=new WorkflowSessionsCommand(),_0x2ff1b7=program['opts'](),_0x2faca9=await createTDXInstance(_0x2ff1b7),_0x2352a8=await _0x5743eb['run']({'options':{..._0x2ff1b7,..._0x512b56},'args':_0x117379?[_0x117379]:[],'tdx':_0x2faca9});gracefulExit(_0x2352a8);};wfSessionCmd['command'](a2_0x3a6c32(0x22b))['description'](a2_0x3a6c32(0x2ab))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3cd),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x365),a2_0x3a6c32(0x41f))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x243),a2_0x3a6c32(0x3d5))[a2_0x3a6c32(0x219)](wfSessionListAction),workflowCmd['command'](a2_0x3a6c32(0x20e))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x40f))[a2_0x3a6c32(0x3b3)]('--status\x20<status>',a2_0x3a6c32(0x2c5))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x365),a2_0x3a6c32(0x41f))[a2_0x3a6c32(0x3b3)]('--to\x20<timestamp>',a2_0x3a6c32(0x3d5))[a2_0x3a6c32(0x219)](wfSessionListAction);const wfAttemptListAction=async(_0x58d96f,_0x3f6a53)=>{const _0x2231ed=a2_0x3a6c32,_0x1f2a93=new WorkflowAttemptsCommand(),_0x2eba2d=program[_0x2231ed(0x34e)](),_0x52b7a8=await createTDXInstance(_0x2eba2d),_0x507ba6=await _0x1f2a93['run']({'options':{..._0x2eba2d,..._0x3f6a53},'args':_0x58d96f?[_0x58d96f]:[],'tdx':_0x52b7a8});gracefulExit(_0x507ba6);},attemptCmd=workflowCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x238))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x23e))[a2_0x3a6c32(0x463)](a2_0x3a6c32(0x262),a2_0x3a6c32(0x45c))['argument'](a2_0x3a6c32(0x436),'Action:\x20logs,\x20tasks,\x20kill,\x20retry')[a2_0x3a6c32(0x463)]('[task-name]','Task\x20name\x20for\x20logs\x20action')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2d0),'Include\x20subtasks\x20in\x20tasks\x20output')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x44e),a2_0x3a6c32(0x241))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1e5),a2_0x3a6c32(0x1d3))[a2_0x3a6c32(0x3b3)]('--params\x20<json>','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3f5),a2_0x3a6c32(0x2c3))[a2_0x3a6c32(0x3b3)]('--include-retried','Include\x20retried\x20attempts\x20(for\x20list)')['action'](async(_0x18aef5,_0x3df965,_0x453361,_0x842153)=>{const _0x102dc5=a2_0x3a6c32;if(_0x18aef5===_0x102dc5(0x470)){await wfAttemptListAction(_0x3df965,_0x842153);return;}if(!_0x18aef5){attemptCmd[_0x102dc5(0x205)]();return;}const _0x48023b=program[_0x102dc5(0x34e)](),_0x386ae4=await createTDXInstance(_0x48023b);let _0x5f059a=0x0;if(!_0x3df965){const _0x121a48=new WorkflowAttemptCommand();_0x5f059a=await _0x121a48['run']({'options':{..._0x48023b,..._0x842153},'args':[_0x18aef5],'tdx':_0x386ae4});}else{if(_0x3df965===_0x102dc5(0x439)){const _0x5dc26f=new WorkflowLogsCommand();_0x5f059a=await _0x5dc26f[_0x102dc5(0x3c2)]({'options':{..._0x48023b,..._0x842153},'args':_0x453361?[_0x18aef5,_0x453361]:[_0x18aef5],'tdx':_0x386ae4});}else{if(_0x3df965==='tasks'){const _0xe84627=new WorkflowTasksCommand();_0x5f059a=await _0xe84627[_0x102dc5(0x3c2)]({'options':{..._0x48023b,..._0x842153},'args':[_0x18aef5],'tdx':_0x386ae4});}else{if(_0x3df965===_0x102dc5(0x32f)){const _0x4d7d10=new WorkflowKillCommand();_0x5f059a=await _0x4d7d10[_0x102dc5(0x3c2)]({'options':{..._0x48023b,..._0x842153},'args':[_0x18aef5],'tdx':_0x386ae4});}else{if(_0x3df965==='retry'){const _0x49d66b=new WorkflowRetryCommand();_0x5f059a=await _0x49d66b['run']({'options':{..._0x48023b,..._0x842153},'args':['attempt:'+_0x18aef5],'tdx':_0x386ae4});}else console[_0x102dc5(0x24c)](_0x102dc5(0x389)+_0x3df965),console[_0x102dc5(0x24c)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x5f059a=0x1;}}}}gracefulExit(_0x5f059a);});attemptCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x22b))['description'](a2_0x3a6c32(0x24b))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x26c),a2_0x3a6c32(0x2f7))[a2_0x3a6c32(0x219)](wfAttemptListAction),workflowCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x464))['description']('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x26c),'Include\x20retried\x20attempts')[a2_0x3a6c32(0x219)](wfAttemptListAction),workflowCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3ac))[a2_0x3a6c32(0x2f0)]('Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt')['option'](a2_0x3a6c32(0x491),'Follow/watch\x20timeline\x20for\x20running\x20attempts')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x237),a2_0x3a6c32(0x3a6))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x355),'Show\x20timeline\x20for\x20specific\x20attempt')[a2_0x3a6c32(0x219)](async(_0x464dcd,_0x121211)=>{const _0x2aaa35=a2_0x3a6c32,_0x333782=new WorkflowTimelineCommand(),_0x28a37c=program[_0x2aaa35(0x34e)](),_0x317b24=await createTDXInstance(_0x28a37c),_0x4cdf1c=await _0x333782[_0x2aaa35(0x3c2)]({'options':{..._0x28a37c,..._0x121211},'args':_0x464dcd?[_0x464dcd]:[],'tdx':_0x317b24});gracefulExit(_0x4cdf1c);}),workflowCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3ee))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x364))[a2_0x3a6c32(0x3b3)]('--from-task\x20<task>','Resume\x20from\x20specific\x20task')['option'](a2_0x3a6c32(0x34f),'Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')['action'](async(_0xb03a5d,_0x5d3ebd)=>{const _0x138512=a2_0x3a6c32,_0xdc5acc=new WorkflowRetryCommand(),_0x4af392=program[_0x138512(0x34e)](),_0x72fada=await createTDXInstance(_0x4af392),_0x49db48=await _0xdc5acc['run']({'options':{..._0x4af392,..._0x5d3ebd},'args':[_0xb03a5d],'tdx':_0x72fada});gracefulExit(_0x49db48);}),workflowCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3f4))['description'](a2_0x3a6c32(0x408))['option'](a2_0x3a6c32(0x2a3),a2_0x3a6c32(0x485),(_0x31044a,_0x5d8911=[])=>[..._0x5d8911,_0x31044a],[])[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x29f),a2_0x3a6c32(0x2b4))[a2_0x3a6c32(0x219)](async(_0x7f9211,_0x2004b1)=>{const _0x332f89=a2_0x3a6c32,_0x204c4d=new WorkflowRunCommand(),_0x49db0d=program[_0x332f89(0x34e)](),_0x1a8af8=await createTDXInstance(_0x49db0d),_0x2b104a=await _0x204c4d[_0x332f89(0x3c2)]({'options':{..._0x49db0d,..._0x2004b1},'args':_0x7f9211?[_0x7f9211]:[],'tdx':_0x1a8af8});gracefulExit(_0x2b104a);}),workflowCmd[a2_0x3a6c32(0x2f4)]('download\x20<project-name>\x20[output-dir]')['description'](a2_0x3a6c32(0x328))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c2),'Specific\x20revision\x20to\x20download\x20(default:\x20latest)')[a2_0x3a6c32(0x219)](async(_0x2ba33e,_0x3dea6b,_0x5dc91f)=>{const _0x35c7cb=a2_0x3a6c32,_0x400998=new WorkflowDownloadCommand(),_0x3a0468=program[_0x35c7cb(0x34e)](),_0x94a7e9=await createTDXInstance(_0x3a0468),_0xe0dacf=await _0x400998[_0x35c7cb(0x3c2)]({'options':{..._0x3a0468,..._0x5dc91f},'args':[_0x2ba33e,_0x3dea6b||'.'],'tdx':_0x94a7e9});gracefulExit(_0xe0dacf);}),workflowCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x388))[a2_0x3a6c32(0x2f0)]('Pull\x20workflow\x20project\x20to\x20local\x20folder')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c2),a2_0x3a6c32(0x403))[a2_0x3a6c32(0x3b3)]('--dry-run','Preview\x20changes\x20without\x20writing\x20files')[a2_0x3a6c32(0x219)](async(_0x5dd463,_0x3b3c35,_0xeafc7a)=>{const _0xdf6ea8=a2_0x3a6c32,_0x567e94=new WorkflowPullCommand(),_0xd26f68=program[_0xdf6ea8(0x34e)](),_0x5bf815=await createTDXInstance(_0xd26f68),_0x464063=await _0x567e94[_0xdf6ea8(0x3c2)]({'options':{..._0xd26f68,..._0xeafc7a},'args':_0x3b3c35?[_0x5dd463,_0x3b3c35]:[_0x5dd463],'tdx':_0x5bf815});gracefulExit(_0x464063);}),workflowCmd['command']('push\x20[source-dir]')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x33a))['option'](a2_0x3a6c32(0x2c2),a2_0x3a6c32(0x2f8))['option'](a2_0x3a6c32(0x3c8),a2_0x3a6c32(0x20f))['option'](a2_0x3a6c32(0x1d8),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x3a6c32(0x219)](async(_0x28c134,_0x314353)=>{const _0x1e647c=a2_0x3a6c32,_0x2288c4=new WorkflowPushCommand(),_0x41140c=program['opts'](),_0x12d033=await createTDXInstance(_0x41140c),_0x2c76b4=await _0x2288c4[_0x1e647c(0x3c2)]({'options':{..._0x41140c,..._0x314353},'args':_0x28c134?[_0x28c134]:[],'tdx':_0x12d033});gracefulExit(_0x2c76b4);}),workflowCmd[a2_0x3a6c32(0x2f4)]('upload\x20[project-name-or-dir]')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x350))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c6),a2_0x3a6c32(0x36f))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c2),a2_0x3a6c32(0x499))['option'](a2_0x3a6c32(0x1d8),a2_0x3a6c32(0x457))[a2_0x3a6c32(0x219)](async(_0x1e87aa,_0x19f3b7)=>{const _0x3fd291=a2_0x3a6c32,_0x456c70=new WorkflowUploadCommand(),_0x5128e9=program[_0x3fd291(0x34e)](),_0x4053ad=await createTDXInstance(_0x5128e9),_0x44c4fa=await _0x456c70['run']({'options':{..._0x5128e9,..._0x19f3b7},'args':_0x1e87aa?[_0x1e87aa]:[],'tdx':_0x4053ad});gracefulExit(_0x44c4fa);}),workflowCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x218))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x37a))['option'](a2_0x3a6c32(0x2c6),'Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c2),a2_0x3a6c32(0x2f8))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3c8),'Preview\x20without\x20creating\x20the\x20project')[a2_0x3a6c32(0x3b3)]('--skip-validation','Skip\x20validation\x20of\x20.dig\x20files')[a2_0x3a6c32(0x219)](async(_0x396b35,_0x5077aa)=>{const _0x45117d=a2_0x3a6c32,_0x3a8333=new WorkflowCloneCommand(),_0xebac77=program[_0x45117d(0x34e)](),_0x1e5bb8=await createTDXInstance(_0xebac77),_0x3db329=await _0x3a8333['run']({'options':{..._0xebac77,..._0x5077aa},'args':_0x396b35?[_0x396b35]:[],'tdx':_0x1e5bb8});gracefulExit(_0x3db329);}),workflowCmd['command'](a2_0x3a6c32(0x213))[a2_0x3a6c32(0x2f0)]('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x3a6c32(0x219)](async(_0x497879,_0x2d2822)=>{const _0x76898=a2_0x3a6c32,_0x455f7e=new WorkflowDeleteCommand(),_0x45a0c7=program[_0x76898(0x34e)](),_0x282ea9=await createTDXInstance(_0x45a0c7),_0x3b5378=await _0x455f7e[_0x76898(0x3c2)]({'options':{..._0x45a0c7,..._0x2d2822},'args':[_0x497879],'tdx':_0x282ea9});gracefulExit(_0x3b5378);}),workflowCmd[a2_0x3a6c32(0x2f4)]('use\x20[project]')[a2_0x3a6c32(0x2f0)]('Set\x20default\x20workflow\x20project\x20for\x20this\x20session')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3de),'Clear\x20workflow\x20project\x20context')[a2_0x3a6c32(0x219)](async(_0x5bb3ab,_0x534e9f)=>{const _0x2a3fef=a2_0x3a6c32,_0x4c04e6=new WorkflowUseCommand(),_0x4ed875=program['opts'](),_0x57eaff=await createTDXInstance(_0x4ed875),_0x2f4e2c=await _0x4c04e6[_0x2a3fef(0x3c2)]({'options':{..._0x4ed875,..._0x534e9f},'args':_0x5bb3ab?[_0x5bb3ab]:[],'tdx':_0x57eaff});gracefulExit(_0x2f4e2c);});const wfSecretsCmd=workflowCmd['command']('secrets')['description'](a2_0x3a6c32(0x426));wfSecretsCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x22b))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x46c))[a2_0x3a6c32(0x219)](async(_0x36f613,_0x20746c)=>{const _0x58bab2=a2_0x3a6c32,_0x54dbb4=new WorkflowSecretsListCommand(),_0x456777=program[_0x58bab2(0x34e)](),_0x49c050=await createTDXInstance(_0x456777),_0x552e16=await _0x54dbb4[_0x58bab2(0x3c2)]({'options':{..._0x456777,..._0x20746c},'args':_0x36f613?[_0x36f613]:[],'tdx':_0x49c050});gracefulExit(_0x552e16);}),wfSecretsCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x201))[a2_0x3a6c32(0x2f0)]('Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])')[a2_0x3a6c32(0x219)](async(_0x4f9b81,_0xcc6060)=>{const _0x340bdb=a2_0x3a6c32,_0x597138=new WorkflowSecretsSetCommand(),_0x3d4d68=program[_0x340bdb(0x34e)](),_0x27cad3=await createTDXInstance(_0x3d4d68),_0x19f90b=await _0x597138[_0x340bdb(0x3c2)]({'options':{..._0x3d4d68,..._0xcc6060},'args':_0x4f9b81,'tdx':_0x27cad3});gracefulExit(_0x19f90b);}),wfSecretsCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x232))['description'](a2_0x3a6c32(0x28c))[a2_0x3a6c32(0x219)](async(_0x39afa8,_0x359766)=>{const _0x3d1841=new WorkflowSecretsDeleteCommand(),_0x1d6413=program['opts'](),_0x31b36b=await createTDXInstance(_0x1d6413),_0x402532=await _0x3d1841['run']({'options':{..._0x1d6413,..._0x359766},'args':_0x39afa8,'tdx':_0x31b36b});gracefulExit(_0x402532);});const jobCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x275))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x40d)),jobListAction=async _0x3c2c63=>{const _0x4b27a1=a2_0x3a6c32,_0x40fc18=new JobListCommand(),_0x4c9f82=program[_0x4b27a1(0x34e)](),_0x2cf3ef=await createTDXInstance(_0x4c9f82),_0x474a02=await _0x40fc18['run']({'options':{..._0x4c9f82,..._0x3c2c63},'args':[],'tdx':_0x2cf3ef});gracefulExit(_0x474a02);};jobCmd[a2_0x3a6c32(0x2f4)]('list')['description'](a2_0x3a6c32(0x455))[a2_0x3a6c32(0x3b3)]('--status\x20<status>',a2_0x3a6c32(0x257))['action'](jobListAction),program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x236),{'hidden':!![]})['description'](a2_0x3a6c32(0x256))['option'](a2_0x3a6c32(0x3cd),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x3a6c32(0x219)](jobListAction),jobCmd[a2_0x3a6c32(0x2f4)]('show\x20<job-id>')[a2_0x3a6c32(0x2f0)]('Show\x20job\x20details')['action'](async(_0x46443b,_0x4f1182)=>{const _0x5c1086=a2_0x3a6c32,_0x9e2fc2=new JobShowCommand(),_0xdc69b=program['opts'](),_0x1b5cc2=await createTDXInstance(_0xdc69b),_0x271d36=await _0x9e2fc2[_0x5c1086(0x3c2)]({'options':{..._0xdc69b,..._0x4f1182},'args':[_0x46443b],'tdx':_0x1b5cc2});gracefulExit(_0x271d36);}),jobCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x421))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x292))[a2_0x3a6c32(0x219)](async(_0x4957ac,_0x300c35)=>{const _0x21021e=a2_0x3a6c32,_0x1163f9=new JobKillCommand(),_0x346915=program['opts'](),_0x58f374=await createTDXInstance(_0x346915),_0x41efca=await _0x1163f9[_0x21021e(0x3c2)]({'options':{..._0x346915,..._0x300c35},'args':[_0x4957ac],'tdx':_0x58f374});gracefulExit(_0x41efca);}),jobCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x372))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x429))[a2_0x3a6c32(0x3b3)]('--job-type\x20<type>',a2_0x3a6c32(0x356),a2_0x3a6c32(0x452))['option'](a2_0x3a6c32(0x2b0),a2_0x3a6c32(0x476))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3c0),a2_0x3a6c32(0x43c),'information_schema')['option']('--result\x20<target>',a2_0x3a6c32(0x314))['action'](async(_0x51c330,_0x4943ef)=>{const _0x5e442d=a2_0x3a6c32,_0x40fd05=new JobSubmitCommand(),_0x1b6620=program[_0x5e442d(0x34e)](),_0x1f93f6=await createTDXInstance(_0x1b6620),_0x473027=await _0x40fd05[_0x5e442d(0x3c2)]({'options':{..._0x1b6620,..._0x4943ef},'args':_0x51c330?[_0x51c330]:[],'tdx':_0x1f93f6});gracefulExit(_0x473027);}),jobCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x22c))[a2_0x3a6c32(0x2f0)]('Get\x20job\x20results')['action'](async(_0x2edcb6,_0x12933e)=>{const _0x29b665=a2_0x3a6c32,_0x3ce066=new JobResultCommand(),_0x320e2a=program[_0x29b665(0x34e)](),_0x4ae5ae=await createTDXInstance(_0x320e2a),_0x3d2b96=await _0x3ce066[_0x29b665(0x3c2)]({'options':{..._0x320e2a,..._0x12933e},'args':[_0x2edcb6],'tdx':_0x4ae5ae});gracefulExit(_0x3d2b96);});const scheduleCmd=jobCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x254))['description'](a2_0x3a6c32(0x3cc));scheduleCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42b))['description'](a2_0x3a6c32(0x37b))[a2_0x3a6c32(0x219)](async(_0x235539,_0x55340f)=>{const _0x34bc19=a2_0x3a6c32,_0x591334=new ScheduleListCommand(),_0x413da7=program[_0x34bc19(0x34e)](),_0x42f5ce=await createTDXInstance(_0x413da7),_0x415421=await _0x591334[_0x34bc19(0x3c2)]({'options':{..._0x413da7,..._0x55340f},'args':_0x235539?[_0x235539]:[],'tdx':_0x42f5ce});gracefulExit(_0x415421);}),scheduleCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x416))[a2_0x3a6c32(0x2f0)]('Show\x20schedule\x20details')[a2_0x3a6c32(0x219)](async(_0x39de56,_0x14010d)=>{const _0x9a066e=a2_0x3a6c32,_0x33ec42=new ScheduleShowCommand(),_0x2e095d=program[_0x9a066e(0x34e)](),_0x460fef=await createTDXInstance(_0x2e095d),_0x4ef7bc=await _0x33ec42['run']({'options':{..._0x2e095d,..._0x14010d},'args':[_0x39de56],'tdx':_0x460fef});gracefulExit(_0x4ef7bc);}),scheduleCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x338))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x4a0))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1e8),'Database\x20name\x20(required)')['option'](a2_0x3a6c32(0x239),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['requiredOption']('-f,\x20--file\x20<path>',a2_0x3a6c32(0x476))[a2_0x3a6c32(0x3b3)]('--type\x20<type>','Query\x20type:\x20trino\x20or\x20hive',a2_0x3a6c32(0x452))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x23d),a2_0x3a6c32(0x315))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x310),'Timezone\x20for\x20cron\x20(default:\x20UTC)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x391),a2_0x3a6c32(0x38d))['option'](a2_0x3a6c32(0x437),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x3a6c32(0x3b3)]('--retry-limit\x20<0~32>',a2_0x3a6c32(0x477))['option']('--engine-version\x20<version>',a2_0x3a6c32(0x302))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1df),'Result\x20output\x20destination\x20URL')[a2_0x3a6c32(0x219)](async(_0x3b7573,_0x58cb16)=>{const _0x452c31=a2_0x3a6c32,_0x3f31f3=new ScheduleCreateCommand(),_0x526c05=program[_0x452c31(0x34e)](),_0x551e3e=await createTDXInstance(_0x526c05);_0x58cb16['in']&&(_0x58cb16['database']=_0x58cb16['in']);const _0x45b427=await _0x3f31f3[_0x452c31(0x3c2)]({'options':{..._0x526c05,..._0x58cb16},'args':[_0x3b7573],'tdx':_0x551e3e});gracefulExit(_0x45b427);}),scheduleCmd[a2_0x3a6c32(0x2f4)]('update\x20<name>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x26a))[a2_0x3a6c32(0x3b3)]('-d,\x20--database\x20<db>',a2_0x3a6c32(0x3b4))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x239),a2_0x3a6c32(0x1f9))[a2_0x3a6c32(0x3b3)]('-f,\x20--file\x20<path>',a2_0x3a6c32(0x476))['option']('--type\x20<type>',a2_0x3a6c32(0x2b3))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x23d),a2_0x3a6c32(0x315))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x310),a2_0x3a6c32(0x26b))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x391),a2_0x3a6c32(0x38d))[a2_0x3a6c32(0x3b3)]('--priority\x20<-2~2>',a2_0x3a6c32(0x411))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x377),'Retry\x20limit\x20(0\x20to\x2032)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x384),a2_0x3a6c32(0x302))['option'](a2_0x3a6c32(0x1df),a2_0x3a6c32(0x1fc))['action'](async(_0x3c51e7,_0x36fb17)=>{const _0x110486=a2_0x3a6c32,_0x33fd01=new ScheduleUpdateCommand(),_0x319253=program['opts'](),_0x5406bf=await createTDXInstance(_0x319253);_0x36fb17['in']&&(_0x36fb17[_0x110486(0x419)]=_0x36fb17['in']);const _0x31a59f=await _0x33fd01[_0x110486(0x3c2)]({'options':{..._0x319253,..._0x36fb17},'args':[_0x3c51e7],'tdx':_0x5406bf});gracefulExit(_0x31a59f);}),scheduleCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x28d))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3c9))[a2_0x3a6c32(0x219)](async(_0x301179,_0x5f20b3)=>{const _0x2377be=a2_0x3a6c32,_0x2e10f2=new ScheduleDeleteCommand(),_0x1fef74=program[_0x2377be(0x34e)](),_0x2c939a=await createTDXInstance(_0x1fef74),_0x49c173=await _0x2e10f2[_0x2377be(0x3c2)]({'options':{..._0x1fef74,..._0x5f20b3},'args':[_0x301179],'tdx':_0x2c939a});gracefulExit(_0x49c173);}),scheduleCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42f))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3a2))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2db),'Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3d0),'Number\x20of\x20executions\x20(1-10,\x20default:\x201)')[a2_0x3a6c32(0x219)](async(_0x1edee6,_0x3b32fe)=>{const _0x3fa5af=a2_0x3a6c32,_0x2e5cc4=new ScheduleRunCommand(),_0x511f5f=program[_0x3fa5af(0x34e)](),_0x22e84f=await createTDXInstance(_0x511f5f),_0x354bdc=await _0x2e5cc4['run']({'options':{..._0x511f5f,..._0x3b32fe},'args':[_0x1edee6],'tdx':_0x22e84f});gracefulExit(_0x354bdc);}),scheduleCmd['command']('history\x20<name>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x472))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x45d),a2_0x3a6c32(0x3e4))['option'](a2_0x3a6c32(0x203),a2_0x3a6c32(0x438))[a2_0x3a6c32(0x219)](async(_0x1417c2,_0x564d1f)=>{const _0x4fb1ac=a2_0x3a6c32,_0xe3fe40=new ScheduleHistoryCommand(),_0x27ae5b=program['opts'](),_0x130f6f=await createTDXInstance(_0x27ae5b),_0x1daf71=await _0xe3fe40[_0x4fb1ac(0x3c2)]({'options':{..._0x27ae5b,..._0x564d1f},'args':[_0x1417c2],'tdx':_0x130f6f});gracefulExit(_0x1daf71);});const llmCmd=program[a2_0x3a6c32(0x2f4)]('llm')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3f8));llmCmd['command'](a2_0x3a6c32(0x331))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x407))['action'](async(_0x1015ac,_0x1f4a7d)=>{const _0x46d1d9=a2_0x3a6c32,_0x7af92d=new LLMUseCommand(),_0x159245=program['opts'](),_0x1dd4e9=await createTDXInstance(_0x159245),_0x17aed5=await _0x7af92d[_0x46d1d9(0x3c2)]({'options':{..._0x159245,..._0x1f4a7d},'args':[_0x1015ac],'tdx':_0x1dd4e9});gracefulExit(_0x17aed5);}),llmCmd[a2_0x3a6c32(0x2f4)]('models')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x2e0))[a2_0x3a6c32(0x219)](async _0xfb8dbe=>{const _0x555df6=a2_0x3a6c32,_0x3b7005=new LLMModelsCommand(),_0x2f079b=program['opts'](),_0x3e269e=await createTDXInstance(_0x2f079b),_0x2c7b79=await _0x3b7005[_0x555df6(0x3c2)]({'options':{..._0x2f079b,..._0xfb8dbe},'args':[],'tdx':_0x3e269e});gracefulExit(_0x2c7b79);});const projectCmd=llmCmd['command'](a2_0x3a6c32(0x3be))[a2_0x3a6c32(0x2f0)]('LLM\x20project\x20management'),llmProjectListAction=async(_0x43e4bb,_0x1b614c)=>{const _0x12a443=a2_0x3a6c32,_0x217aa0=new LLMProjectsCommand(),_0x200ecb=program[_0x12a443(0x34e)](),_0x182630=await createTDXInstance(_0x200ecb),_0x45999c=await _0x217aa0[_0x12a443(0x3c2)]({'options':{..._0x200ecb,..._0x1b614c},'args':_0x43e4bb?[_0x43e4bb]:[],'tdx':_0x182630});gracefulExit(_0x45999c);};projectCmd['command'](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x41b))['action'](llmProjectListAction),llmCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3cb))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x31b))[a2_0x3a6c32(0x219)](llmProjectListAction),projectCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x338))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x21a))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x38b),a2_0x3a6c32(0x414))[a2_0x3a6c32(0x219)](async(_0x7716d3,_0x244fa5)=>{const _0x2a519e=new LLMProjectCreateCommand(),_0x12060b=program['opts'](),_0x324756=await createTDXInstance(_0x12060b),_0x367c18=await _0x2a519e['run']({'options':{..._0x12060b,..._0x244fa5},'args':[_0x7716d3],'tdx':_0x324756});gracefulExit(_0x367c18);}),projectCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x28d))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3e3))[a2_0x3a6c32(0x219)](async(_0x58b2b4,_0x3c04cc)=>{const _0xd135df=a2_0x3a6c32,_0x16e4ea=new LLMProjectDeleteCommand(),_0x27144d=program[_0xd135df(0x34e)](),_0x488d7c=await createTDXInstance(_0x27144d),_0xeb1f3b=await _0x16e4ea[_0xd135df(0x3c2)]({'options':{..._0x27144d,..._0x3c04cc},'args':[_0x58b2b4],'tdx':_0x488d7c});gracefulExit(_0xeb1f3b);}),projectCmd['command'](a2_0x3a6c32(0x41c))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x45a))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1d9),a2_0x3a6c32(0x2b7))[a2_0x3a6c32(0x3b3)]('--dry-run',a2_0x3a6c32(0x3c5))['action'](async(_0x5908c9,_0x7307d9)=>{const _0x4f16d2=a2_0x3a6c32,_0x20bddc=new LLMProjectBackupCommand(),_0x539a8a=program[_0x4f16d2(0x34e)](),_0x4e14bb=await createTDXInstance(_0x539a8a),_0x458000=await _0x20bddc[_0x4f16d2(0x3c2)]({'options':{..._0x539a8a,..._0x7307d9},'args':[_0x5908c9],'tdx':_0x4e14bb});gracefulExit(_0x458000);}),projectCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x22a))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x258))['option']('--name\x20<new-name>',a2_0x3a6c32(0x287))['option']('--dry-run',a2_0x3a6c32(0x1d6))[a2_0x3a6c32(0x219)](async(_0x1e6a71,_0x3d4169)=>{const _0x555483=a2_0x3a6c32,_0x5e055b=new LLMProjectRestoreCommand(),_0x1728d2=program[_0x555483(0x34e)](),_0x189b90=await createTDXInstance(_0x1728d2),_0x315c78=await _0x5e055b[_0x555483(0x3c2)]({'options':{..._0x1728d2,..._0x3d4169},'args':[_0x1e6a71],'tdx':_0x189b90});gracefulExit(_0x315c78);});const llmAgentListAction=async(_0x29ad91,_0x1f4395)=>{const _0x297d64=a2_0x3a6c32,_0x329865=new LLMAgentsCommand(),_0xb10f2d=program[_0x297d64(0x34e)](),_0x54b9e6=await createTDXInstance(_0xb10f2d),_0x65e7b=await _0x329865[_0x297d64(0x3c2)]({'options':{..._0xb10f2d,..._0x1f4395},'args':_0x29ad91?[_0x29ad91]:[],'tdx':_0x54b9e6});gracefulExit(_0x65e7b);};llmCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x379))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x228))[a2_0x3a6c32(0x219)](llmAgentListAction),program['command'](a2_0x3a6c32(0x379))['description'](a2_0x3a6c32(0x228))[a2_0x3a6c32(0x219)](llmAgentListAction),llmCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x405))[a2_0x3a6c32(0x2f0)]('Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x34d),a2_0x3a6c32(0x1ff))[a2_0x3a6c32(0x219)](async(_0x5835ca,_0x2da4dd)=>{const _0x1e4a2f=a2_0x3a6c32,_0x4498e5=new LLMHistoryCommand(),_0x420428=program[_0x1e4a2f(0x34e)](),_0x4ab71f=await createTDXInstance(_0x420428),_0x402cf7=await _0x4498e5[_0x1e4a2f(0x3c2)]({'options':{..._0x420428,..._0x2da4dd},'args':_0x5835ca?[_0x5835ca]:[],'tdx':_0x4ab71f});gracefulExit(_0x402cf7);});isExperimentalAvailable()&&llmCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x312))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x461))[a2_0x3a6c32(0x219)](async(_0x38fe2d,_0x1f5e9b)=>{const _0x202ab0=a2_0x3a6c32,_0x2007c1=new LLMLogCommand(),_0x108935=program[_0x202ab0(0x34e)](),_0x331228=await createTDXInstance(_0x108935),_0x2d9163=await _0x2007c1['run']({'options':{..._0x108935,..._0x1f5e9b},'args':[_0x38fe2d],'tdx':_0x331228});gracefulExit(_0x2d9163);});program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x248))[a2_0x3a6c32(0x3f7)](a2_0x3a6c32(0x456))[a2_0x3a6c32(0x2f0)]('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')['option']('-c,\x20--continue',a2_0x3a6c32(0x261))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x321),'Resume\x20a\x20conversation\x20(shows\x20selector)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2a4),a2_0x3a6c32(0x35c))[a2_0x3a6c32(0x32d)]()[a2_0x3a6c32(0x27f)](!![])[a2_0x3a6c32(0x20a)](a2_0x3a6c32(0x2e7),a2_0x3a6c32(0x33d))['action'](async(_0x295826,_0x219e8b)=>{const _0x381920=a2_0x3a6c32,_0x38163f=program[_0x381920(0x34e)](),_0x5d88da=Array[_0x381920(0x231)](_0x295826)?_0x295826:[];if(_0x5d88da[0x0]===_0x381920(0x324)){const _0x573468=new ClaudeStatuslineCommand(),_0x3faf5f=await _0x573468['run']({'options':{..._0x38163f,..._0x219e8b},'args':_0x5d88da['slice'](0x1),'tdx':null});gracefulExit(_0x3faf5f);}if(_0x5d88da[0x0]==='usage'){const _0x1b801e=new ClaudeUsageCommand(),_0x3c5a7f=await _0x1b801e[_0x381920(0x3c2)]({'options':{..._0x38163f,..._0x219e8b},'args':_0x5d88da[_0x381920(0x383)](0x1),'tdx':null});gracefulExit(_0x3c5a7f);}const _0x4a08ff=new ClaudeCommand(),_0x5159b0=await createTDXInstance(_0x38163f),_0x220123=await _0x4a08ff[_0x381920(0x3c2)]({'options':{..._0x38163f,..._0x219e8b},'args':_0x5d88da,'tdx':_0x5159b0});gracefulExit(_0x220123);}),program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x394))['description'](a2_0x3a6c32(0x369))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3de),a2_0x3a6c32(0x1cf))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1e7),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x3a6c32(0x219)](async(_0x4f6f54,_0x2e98c4,_0x364583)=>{const _0x51a7f9=a2_0x3a6c32,_0x191408=new UseCommand(),_0x216607=program['opts'](),_0xff2f55=[];if(_0x4f6f54)_0xff2f55['push'](_0x4f6f54);if(_0x2e98c4)_0xff2f55[_0x51a7f9(0x3e1)](_0x2e98c4);const _0x536225=_0x4f6f54===_0x51a7f9(0x283),_0x567fe3=_0x536225?await createTDXInstance(_0x216607):null,_0xe7a9b3=await _0x191408[_0x51a7f9(0x3c2)]({'options':{..._0x216607,..._0x364583},'args':_0xff2f55,'tdx':_0x567fe3});gracefulExit(_0xe7a9b3);}),program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x28e))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x480))[a2_0x3a6c32(0x219)](async _0x181331=>{const _0x71d4a2=a2_0x3a6c32,_0x2b36e0=new StatusCommand(),_0x55b213=program['opts'](),_0x1f20d8=await createTDXInstance(_0x55b213),_0x2a4dd0=await _0x2b36e0[_0x71d4a2(0x3c2)]({'options':{..._0x55b213,..._0x181331},'args':[],'tdx':_0x1f20d8});gracefulExit(_0x2a4dd0);}),program['command'](a2_0x3a6c32(0x289))['description'](a2_0x3a6c32(0x223))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3c8),'Check\x20for\x20updates\x20without\x20installing')['option'](a2_0x3a6c32(0x2e4),a2_0x3a6c32(0x35d))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1f3),'Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)')[a2_0x3a6c32(0x219)](async(_0x2b3579,_0x27df09)=>{const _0x1ee85a=a2_0x3a6c32,_0x55969c=new UpgradeCommand(),_0xf18670=program[_0x1ee85a(0x34e)](),_0x17fbc0=await _0x55969c[_0x1ee85a(0x3c2)]({'options':{..._0xf18670,..._0x27df09},'args':_0x2b3579?[_0x2b3579]:[],'tdx':null});gracefulExit(_0x17fbc0);}),program[a2_0x3a6c32(0x2f4)]('unset\x20<resource>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x29c))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1e7),a2_0x3a6c32(0x23f))['action'](async(_0x5ba77e,_0x4056b7)=>{const _0x42723b=a2_0x3a6c32,_0x17cfc3=new UnsetCommand(),_0x3af414=program[_0x42723b(0x34e)](),_0x31f616=await _0x17cfc3['run']({'options':{..._0x3af414,..._0x4056b7},'args':[_0x5ba77e],'tdx':null});gracefulExit(_0x31f616);}),program[a2_0x3a6c32(0x2f4)]('chats')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x435))['option']('--last','Show\x20the\x20most\x20recent\x20chat')[a2_0x3a6c32(0x219)](async _0x5c4e9c=>{const _0x5e4712=a2_0x3a6c32,_0x371cdf=new ChatsCommand(),_0x44f2d1=program[_0x5e4712(0x34e)](),_0x118ab6=await createTDXInstance(_0x44f2d1),_0x44c128=await _0x371cdf[_0x5e4712(0x3c2)]({'options':{..._0x44f2d1,..._0x5c4e9c},'args':[],'tdx':_0x118ab6});gracefulExit(_0x44c128);});const authCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x428))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3dc));async function runAuthStatusCommand(_0x381b75){const _0x4066cf=a2_0x3a6c32,_0xd9082f=new AuthStatusCommand(),_0x1ef58a=program[_0x4066cf(0x34e)](),_0x44272f=await createTDXInstance(_0x1ef58a),_0x4a76fe=await _0xd9082f[_0x4066cf(0x3c2)]({'options':{..._0x1ef58a,..._0x381b75},'args':[],'tdx':_0x44272f});gracefulExit(_0x4a76fe);}authCmd['action'](runAuthStatusCommand),authCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x28e))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3c3))[a2_0x3a6c32(0x219)](runAuthStatusCommand),authCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x38a))['description'](a2_0x3a6c32(0x2cb))['addHelpText'](a2_0x3a6c32(0x2e7),'\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_0x3a6c32(0x219)](async _0x5bdb59=>{const _0x4b84f4=a2_0x3a6c32,_0x50df08=new AuthSetupCommand(),_0x2b56fe=program['opts'](),_0x524d7e=await createTDXInstance(_0x2b56fe),_0x56eaf4=await _0x50df08[_0x4b84f4(0x3c2)]({'options':{..._0x2b56fe,..._0x5bdb59},'args':[],'tdx':_0x524d7e});gracefulExit(_0x56eaf4);}),authCmd[a2_0x3a6c32(0x2f4)]('login')[a2_0x3a6c32(0x2f0)]('Login\x20via\x20OAuth\x20(dev\x20sites\x20only)')[a2_0x3a6c32(0x20a)](a2_0x3a6c32(0x2e7),'\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')['action'](async _0x2f329f=>{const _0x2844ce=a2_0x3a6c32,_0xa53953=new AuthLoginCommand(),_0x5e3bfd=program[_0x2844ce(0x34e)](),_0x36366d=await _0xa53953[_0x2844ce(0x3c2)]({'options':{..._0x5e3bfd,..._0x2f329f},'args':[],'tdx':null});gracefulExit(_0x36366d);}),authCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x1dc))['description'](a2_0x3a6c32(0x467))[a2_0x3a6c32(0x20a)](a2_0x3a6c32(0x2e7),'\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')['action'](async _0x7e81b6=>{const _0x5b4160=a2_0x3a6c32,_0x33fc13=new AuthClearCommand(),_0x184ece=program[_0x5b4160(0x34e)](),_0x1691cc=await _0x33fc13[_0x5b4160(0x3c2)]({'options':{..._0x184ece,..._0x7e81b6},'args':[],'tdx':null});gracefulExit(_0x1691cc);});const userCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x240))[a2_0x3a6c32(0x2f0)]('User\x20management\x20commands'),userListAction=async _0x7b91c9=>{const _0x1dd5d9=a2_0x3a6c32,_0x293c65=new UserListCommand(),_0x5672b7=program[_0x1dd5d9(0x34e)](),_0x620aaa=await createTDXInstance(_0x5672b7),_0x184606=await _0x293c65['run']({'options':{..._0x5672b7,..._0x7b91c9},'args':[],'tdx':_0x620aaa});gracefulExit(_0x184606);};userCmd[a2_0x3a6c32(0x219)](async _0x3e7497=>{const _0x2d9d30=a2_0x3a6c32,_0x4e98c1=new UserCommand(),_0x4b9592=program[_0x2d9d30(0x34e)](),_0x36cbce=await createTDXInstance(_0x4b9592),_0x5bc62b=await _0x4e98c1[_0x2d9d30(0x3c2)]({'options':{..._0x4b9592,..._0x3e7497},'args':[],'tdx':_0x36cbce});gracefulExit(_0x5bc62b);}),userCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x470))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x35a))[a2_0x3a6c32(0x219)](userListAction),program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2fa))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x303))['action'](userListAction),program[a2_0x3a6c32(0x2f4)]('profiles')[a2_0x3a6c32(0x2f0)]('List\x20all\x20available\x20profiles')['action'](async _0x5eb19a=>{const _0x123198=a2_0x3a6c32,_0x385b2a=new ProfilesCommand(),_0x4a751a=program[_0x123198(0x34e)](),_0x3ee2b4=await _0x385b2a['run']({'options':{..._0x4a751a,..._0x5eb19a},'args':[],'tdx':null});gracefulExit(_0x3ee2b4);});const profileCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x494))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x285));profileCmd['action'](()=>{const _0x3440c3=a2_0x3a6c32;profileCmd[_0x3440c3(0x1d4)]();});const profileListAction=async _0x548865=>{const _0x4b9d93=a2_0x3a6c32,_0x188036=new ProfilesCommand(),_0x5797b3=program['opts'](),_0xa5fdff=await _0x188036[_0x4b9d93(0x3c2)]({'options':{..._0x5797b3,..._0x548865},'args':[],'tdx':null});gracefulExit(_0xa5fdff);};profileCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x470))['description'](a2_0x3a6c32(0x1ed))[a2_0x3a6c32(0x219)](profileListAction),profileCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x483))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x4a2))[a2_0x3a6c32(0x20a)]('after',a2_0x3a6c32(0x1cd))['action'](async(_0x5e5257,_0x292713)=>{const _0x41e19e=a2_0x3a6c32,_0x52b20a=new ProfileCreateCommand(),_0x168178=program[_0x41e19e(0x34e)](),_0x1f37eb=await _0x52b20a[_0x41e19e(0x3c2)]({'options':{..._0x168178,..._0x292713},'args':_0x5e5257?[_0x5e5257]:[],'tdx':null});gracefulExit(_0x1f37eb);}),profileCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2c4))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x367))[a2_0x3a6c32(0x20a)]('after',a2_0x3a6c32(0x43d))[a2_0x3a6c32(0x219)](async(_0x3794b0,_0x4cdb50)=>{const _0x316a90=a2_0x3a6c32,_0xf2e31c=new ProfileRemoveCommand(),_0x25a17e=program[_0x316a90(0x34e)](),_0x23c526=await _0xf2e31c['run']({'options':{..._0x25a17e,..._0x4cdb50},'args':[_0x3794b0],'tdx':null});gracefulExit(_0x23c526);}),profileCmd['command'](a2_0x3a6c32(0x1fe))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x2de))[a2_0x3a6c32(0x20a)](a2_0x3a6c32(0x2e7),'\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')[a2_0x3a6c32(0x219)](async(_0x5dc900,_0x22f1b7)=>{const _0x17cffa=a2_0x3a6c32,_0x3a0c17=new ProfileSetCommand(),_0x522957=program[_0x17cffa(0x34e)](),_0x579912=await _0x3a0c17[_0x17cffa(0x3c2)]({'options':{..._0x522957,..._0x22f1b7},'args':[_0x5dc900],'tdx':null});gracefulExit(_0x579912);}),profileCmd[a2_0x3a6c32(0x2f4)]('use\x20<name>')['description'](a2_0x3a6c32(0x2a6))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1e7),a2_0x3a6c32(0x3dd))['addHelpText'](a2_0x3a6c32(0x2e7),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27prod\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20staging\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27staging\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20--default\x20#\x20Set\x20default\x20profile\x20permanently\x0a')[a2_0x3a6c32(0x219)](async(_0xf5d44,_0x179476)=>{const _0x434fa9=a2_0x3a6c32,_0x1ac7cc=new ProfileUseCommand(),_0x2ea238=program[_0x434fa9(0x34e)](),_0x39518d=await _0x1ac7cc[_0x434fa9(0x3c2)]({'options':{..._0x2ea238,..._0x179476},'args':[_0xf5d44],'tdx':null});gracefulExit(_0x39518d);});const engageCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2da))['description'](a2_0x3a6c32(0x490)),createEngageAction=_0x50d946=>{return async(_0x4cba1c,_0x561fe6)=>{const _0x52f6e7=new _0x50d946(),_0x1b314a=program['opts'](),_0x2e3b55=await createTDXInstance(_0x1b314a),_0x33db2f=await _0x52f6e7['run']({'options':{..._0x1b314a,..._0x561fe6},'args':[_0x4cba1c],'tdx':_0x2e3b55});gracefulExit(_0x33db2f);};},createEngageNoArgAction=_0x2e4683=>{return async _0x231b11=>{const _0x3f3987=a2_0x434e,_0x2de9e5=new _0x2e4683(),_0x5d74bb=program[_0x3f3987(0x34e)](),_0x282af2=await createTDXInstance(_0x5d74bb),_0x21a37f=await _0x2de9e5[_0x3f3987(0x3c2)]({'options':{..._0x5d74bb,..._0x231b11},'args':[],'tdx':_0x282af2});gracefulExit(_0x21a37f);};},createEngageListAction=_0x430d74=>{return async(_0x54e7a9,_0x7f9a4e)=>{const _0x41aa9f=a2_0x434e,_0x123b3e=new _0x430d74(),_0x209a06=program[_0x41aa9f(0x34e)](),_0x2cffef=await createTDXInstance(_0x209a06),_0x537989=await _0x123b3e[_0x41aa9f(0x3c2)]({'options':{..._0x209a06,..._0x7f9a4e},'args':_0x54e7a9?[_0x54e7a9]:[],'tdx':_0x2cffef});gracefulExit(_0x537989);};},campaignCmd=engageCmd['command'](a2_0x3a6c32(0x2e5))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x343));campaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x272))['option'](a2_0x3a6c32(0x496),a2_0x3a6c32(0x2d4))[a2_0x3a6c32(0x3b3)]('--status\x20<status>',a2_0x3a6c32(0x2bd))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),'Workspace\x20name')[a2_0x3a6c32(0x219)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x282))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x335))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x496),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')['option'](a2_0x3a6c32(0x3cd),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x219)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x3a6c32(0x2f4)]('show\x20<name-or-id>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3fa))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x3b3)]('--full',a2_0x3a6c32(0x1f0))[a2_0x3a6c32(0x219)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x1eb))['description'](a2_0x3a6c32(0x3ed))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x2c6),a2_0x3a6c32(0x47b))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x496),'Campaign\x20type\x20(email\x20or\x20push)')['option'](a2_0x3a6c32(0x3a7),'Workspace\x20name\x20(required)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x25b),'Campaign\x20description')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x40c),a2_0x3a6c32(0x25f))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x32a),a2_0x3a6c32(0x341))[a2_0x3a6c32(0x3b3)]('--json-columns\x20<cols>',a2_0x3a6c32(0x3e0))['option']('--start-at\x20<datetime>',a2_0x3a6c32(0x33b))['option'](a2_0x3a6c32(0x310),a2_0x3a6c32(0x48e))[a2_0x3a6c32(0x219)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x247))['description'](a2_0x3a6c32(0x30f))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c6),'New\x20campaign\x20name')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x25b),a2_0x3a6c32(0x362))['option'](a2_0x3a6c32(0x40c),a2_0x3a6c32(0x25f))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x32a),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x49d),a2_0x3a6c32(0x3e0))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x492),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')['option'](a2_0x3a6c32(0x310),a2_0x3a6c32(0x48e))[a2_0x3a6c32(0x219)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3ca))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x2e9))[a2_0x3a6c32(0x3b3)]('--workspace\x20<name>',a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x297),a2_0x3a6c32(0x453))[a2_0x3a6c32(0x219)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x3a6c32(0x2f4)]('launch\x20<name-or-id>')['description'](a2_0x3a6c32(0x2d6))['option']('--workspace\x20<name>','Workspace\x20name')[a2_0x3a6c32(0x219)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd['command'](a2_0x3a6c32(0x29a))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x327))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),'Workspace\x20name')[a2_0x3a6c32(0x219)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x284))[a2_0x3a6c32(0x2f0)]('Resume\x20a\x20paused\x20campaign')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x219)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x21c))[a2_0x3a6c32(0x2f0)]('Duplicate\x20a\x20campaign')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x219)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x488))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x1f6))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c6),a2_0x3a6c32(0x2fd))[a2_0x3a6c32(0x3b3)]('--type\x20<type>',a2_0x3a6c32(0x2d4))['option']('--dry-run','Show\x20what\x20would\x20be\x20written\x20without\x20writing')[a2_0x3a6c32(0x219)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x3a6c32(0x2f4)]('push\x20[target]')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x1e2))['option'](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x3b3)]('--dry-run','Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0x3a6c32(0x219)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2ba))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x291))['option'](a2_0x3a6c32(0x2d5),a2_0x3a6c32(0x392))[a2_0x3a6c32(0x219)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd['command'](a2_0x3a6c32(0x276))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3bb));alwaysOnCampaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)]('List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')['option'](a2_0x3a6c32(0x496),a2_0x3a6c32(0x2d4))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3cd),a2_0x3a6c32(0x49f))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x375))[a2_0x3a6c32(0x219)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x3a6c32(0x2f4)]('always-on-campaigns\x20[pattern]')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x386))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x496),a2_0x3a6c32(0x2d4))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3cd),'Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x375))[a2_0x3a6c32(0x219)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x1fd))['description']('Show\x20always-on\x20campaign\x20details')[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x375))[a2_0x3a6c32(0x3b3)]('--full',a2_0x3a6c32(0x1f0))['action'](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd['command'](a2_0x3a6c32(0x1eb))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x47c))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x2c6),a2_0x3a6c32(0x47b))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x496),a2_0x3a6c32(0x1d1))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x375))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x25b),a2_0x3a6c32(0x362))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x40c),a2_0x3a6c32(0x39a))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3d9),a2_0x3a6c32(0x25c))[a2_0x3a6c32(0x219)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd['command'](a2_0x3a6c32(0x247))['description'](a2_0x3a6c32(0x47f))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3a7),'Workspace\x20name\x20(required)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c6),a2_0x3a6c32(0x330))[a2_0x3a6c32(0x3b3)]('--description\x20<desc>',a2_0x3a6c32(0x362))[a2_0x3a6c32(0x3b3)]('--segment\x20<path>','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3d9),a2_0x3a6c32(0x25c))[a2_0x3a6c32(0x219)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd['command'](a2_0x3a6c32(0x3ca))['description'](a2_0x3a6c32(0x234))[a2_0x3a6c32(0x361)]('--workspace\x20<name>',a2_0x3a6c32(0x375))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x297),a2_0x3a6c32(0x453))[a2_0x3a6c32(0x219)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2fc))[a2_0x3a6c32(0x2f0)]('Launch\x20an\x20always-on\x20campaign')[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x375))[a2_0x3a6c32(0x219)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x3a6c32(0x2f4)]('pause\x20<name-or-id>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x44a))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x375))[a2_0x3a6c32(0x219)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x3a6c32(0x2f4)]('resume\x20<name-or-id>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x2e8))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3a7),'Workspace\x20name\x20(required)')[a2_0x3a6c32(0x219)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x3a6c32(0x2f4)]('finish\x20<name-or-id>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x278))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x375))['option'](a2_0x3a6c32(0x297),a2_0x3a6c32(0x453))['action'](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x3a6c32(0x2f4)]('duplicate\x20<name-or-id>')['description'](a2_0x3a6c32(0x406))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x375))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x2c6),a2_0x3a6c32(0x37e))[a2_0x3a6c32(0x219)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));function a2_0x2396(){const _0x4bb1aa=['Show\x20what\x20would\x20be\x20written\x20without\x20writing','stderr','Query\x20type:\x20trino\x20or\x20hive','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Workspace\x20name','catch','Output\x20folder\x20(default:\x20{project_name}.llm)','delivery','tables\x20[pattern]','validate\x20[target]','sql\x20[name]','Delete\x20a\x20workspace','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','activations\x20<name-or-path>','--in\x20<database>','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','-1d','--revision\x20<revision>','Force\x20retry\x20even\x20if\x20not\x20failed','remove\x20<name>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','--name\x20<name>','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','--add-behaviors\x20<json>','Preview\x20operation\x20without\x20executing','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Setup\x20API\x20key\x20authentication\x20interactively','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Attributes\x20as\x20JSON\x20string','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','stats\x20<name-or-path>','--include-subtasks','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','--verbose','Launch\x20a\x20campaign','use\x20[name]','settings\x20<type>','--html-file\x20<path>','engage','--time\x20<iso8601>','407KWqdxo','view\x20[segment_name]','Set\x20a\x20profile\x20configuration\x20value','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','List\x20available\x20LLM\x20models','pull\x20[project]\x20[agent-name]','--delete','Parent\x20segment\x20description','--next','campaign','Template\x20name','after','Resume\x20a\x20paused\x20always-on\x20campaign','Delete\x20a\x20campaign','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Folder\x20name\x20for\x20organization','--parent-folder\x20<name>','HTML\x20template\x20content','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','description','then','--new','--attributes\x20<json>','command','--attributes-file\x20<file>','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Include\x20retried\x20attempts','Custom\x20revision\x20name\x20(default:\x20timestamp)','subcommandTerm','users','versions\x20<name-or-path>','launch\x20<name-or-id>','Pull\x20specific\x20campaign\x20by\x20name','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Enable\x20verbose\x20logging','stdout','Query\x20engine\x20version','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','Updated\x20description','apiKey','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','Maximum\x20recursion\x20depth\x20(default:\x2010)','List\x20all\x20versions\x20of\x20a\x20journey','session','--session\x20<id>','DEBUG','--debug','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Update\x20a\x20campaign','--timezone\x20<tz>','Delete\x20an\x20agent','log\x20<chat-id>','argv','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Cron\x20expression\x20for\x20scheduling','isTTY','Pull\x20templates\x20to\x20YAML\x20files','--no-color','LLM\x20project\x20to\x20use\x20(overrides\x20context)','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Create\x20segment\x20folder','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','--enriched','us01','--schedule-type\x20<type>','-r,\x20--resume','Show\x20segment\x20schema\x20(column\x20types)','--parent-segment\x20<name>','statusline','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','test\x20[path]','Pause\x20a\x20campaign','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','directory','--email-sender-id\x20<id>','--no-eval','--behaviors\x20<json>','allowUnknownOption','1693672KJegSF','kill','New\x20campaign\x20name','use\x20<project-name>','Master\x20table\x20name','update\x20<name>','tsv','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','join','info\x20[segment_name]','create\x20<name>','sql\x20[segment_name]','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','\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','push\x20[name]','60DRxLMT','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Email\x20sender\x20ID\x20for\x20delivery','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','Campaign\x20management','repeat','--interval\x20<range>','agent','Customer\x20group\x20as\x20JSON\x20string','Update\x20a\x20workspace','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','trace','Describe\x20table\x20schema','GET','--last','opts','--params\x20<json>','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','Show\x20only\x20master\x20table\x20validation','--stream','summary','--attempt-id\x20<id>','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Pull\x20specific\x20template\x20by\x20name','Customer\x20group\x20from\x20JSON\x20file','List\x20journeys\x20(alias\x20for\x20journey\x20list)','List\x20all\x20users\x20in\x20the\x20account','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','gitRevision','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Show\x20journey\x20table\x20column-to-step\x20mapping','requiredOption','Campaign\x20description','template','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','--from\x20<timestamp>','INVALID_ARGUMENT','Remove\x20a\x20profile','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Data\x20connection\x20management\x20(for\x20activations/exports)','init\x20[name]','CDP\x20segment\x20management\x20commands','--limit\x20<n>','--rule-file\x20<file>','Override\x20project\x20name','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','submit\x20[query]','validate\x20[name]','--starter-message\x20<text>','Workspace\x20name\x20(required)','workflows\x20[project]','--retry-limit\x20<0~32>','find','agents\x20[pattern]','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','--max-depth\x20<depth>','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Name\x20for\x20the\x20duplicated\x20campaign','--json','tdx\x20','-w,\x20--web','9anSwih','slice','--engine-version\x20<version>','map','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','commandDescription','pull\x20<project>\x20[target-dir]','Unknown\x20action:\x20','setup','--description\x20<text>','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Delay\x20in\x20seconds\x20before\x20execution','entries','tdx','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--delay\x20<seconds>','Show\x20all\x20files\x20including\x20valid\x20ones','--no-count-population','use\x20[resource]\x20[value]','--rule\x20<json>','fields\x20[parent_name]','noColor','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','configureHelp','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','argumentTerm','Output\x20as\x20JSON','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','filter','push\x20[file]','forEach','Show\x20stats\x20for\x20specific\x20stage','Run\x20a\x20scheduled\x20query\x20immediately','--site\x20<site>','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','--limit\x20<number>','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','--workspace\x20<name>','connection','...','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','--data\x20<data>','timeline\x20[project.workflow]','List\x20journeys\x20in\x20current\x20context','Agent\x20prompt/instructions','AI-native\x20CLI\x20for\x20Treasure\x20Data','--temperature\x20<n>','Output\x20file\x20path','--master','option','Database\x20name','Output\x20file\x20path\x20(default:\x20<name>.yml)','Add\x20attributes\x20as\x20JSON\x20string','isDirectory','log','subcommandDescription','flags','Always-on\x20campaign\x20management','view\x20<name-or-path>','Updated\x20schedule\x20option','project','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','--database\x20<name>','show\x20[segment_name]','run','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','--to\x20<date>','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','404612LHRDdX','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','--dry-run','Delete\x20a\x20scheduled\x20query','delete\x20<name-or-id>','projects\x20[pattern]','Scheduled\x20query\x20management\x20commands','--status\x20<status>','segment','-y,\x20--yes','--num\x20<1-10>','delete\x20<agent-name>','preview\x20[name]','-o,\x20--output\x20<file>','Maximum\x20number\x20of\x20nodes','End\x20time\x20filter\x20(ISO\x208601\x20format)','traffic\x20<name-or-path>','length','--behaviors-file\x20<file>','--enable-utm-tracking','-H,\x20--header\x20<header>','--add-behaviors-file\x20<file>','Authentication\x20management','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','--clear','journey','JSON\x20columns\x20for\x20connector\x20(comma-separated)','push','name','Delete\x20an\x20LLM\x20project','Starting\x20offset\x20(default:\x200)','--customer-group-file\x20<file>','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','push\x20[path]','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','--table\x20<table>','Run\x20specific\x20tests\x20(comma-separated)','includes','colorFn','Create\x20a\x20new\x20campaign','retry\x20<session-id>','workspaces\x20[pattern]','hidden','\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','format','run\x20[workflow]','--force','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','usage','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','jsonl','Show\x20campaign\x20details','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','\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','Pull\x20child\x20segments\x20to\x20YAML\x20files','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','TRACE','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','--path\x20<file-path>','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Pull\x20specific\x20revision\x20(default:\x20latest)','Generate\x20test\x20conversations\x20without\x20evaluation','history\x20[chat-id]','Duplicate\x20an\x20always-on\x20campaign','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','-o,\x20--output\x20<dir>','resume\x20<name-or-path>','use\x20<name>','--segment\x20<path>','Job\x20management\x20commands','Database\x20management\x20commands','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','-v,\x20--verbose','Job\x20priority\x20(-2\x20to\x202)','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Show\x20email\x20template\x20details','Project\x20description','--model\x20<name>','show\x20<name>','--name\x20<text>','--catalog\x20<catalog>','database','hook','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','backup\x20<name>','optionDescription','show\x20[name]','Start\x20time\x20filter\x20(ISO\x208601\x20format)','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','kill\x20<job-id>','CDP\x20Journey\x20Orchestration\x20commands','templates\x20[pattern]','workflow','accessToken','Manage\x20workflow\x20project\x20secrets','--max-tool-iterations\x20<n>','auth','Submit\x20a\x20job','site','list\x20[pattern]','Parent\x20segment\x20management','--limit\x20<rows>','commands','run\x20<name>','--kind\x20<type>','Open\x20segment\x20in\x20web\x20browser','Arguments:','columns\x20<name-or-path>','Filtering\x20rule\x20as\x20JSON\x20string','Interactive\x20chat\x20selector','[action]','--priority\x20<-2~2>','Ending\x20offset\x20(default:\x2020)','logs','-a,\x20--agent\x20<name>','api\x20[endpoint]','Database\x20name\x20(default:\x20information_schema)','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','senders\x20[pattern]','Email\x20subject\x20template','--llm-project\x20<name>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Skip\x20population\x20counting','list\x20[path]','Overwrite\x20local\x20changes\x20without\x20confirmation','folder','4584204DPaIId','Add\x20behaviors\x20as\x20JSON\x20string','Pause\x20an\x20always-on\x20campaign','Commands:','--customer-group\x20<json>','Database\x20to\x20query\x20(default:\x20information_schema)','--reason\x20<text>','166154FjmafY','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','table','trino','Skip\x20confirmation\x20prompt','575561yEkJxL','List\x20jobs','[options]\x20--\x20[claude-code-args...]','Skip\x20validation\x20of\x20.dig\x20files','--subject\x20<subject>','--chat-id\x20<id>','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','--schedule-option\x20<value>','Attempt\x20ID','--from\x20<n>','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','-u,\x20--use','Show\x20agent\x20details','[EXPERIMENTAL]\x20Show\x20chat\x20log','Include\x20raw\x20history\x20data\x20in\x20output','argument','attempts\x20[project]','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','run\x20[name]','Remove\x20API\x20key\x20from\x20system\x20keychain','\x22.\x20Must\x20be\x20a\x20number.','get','Validate\x20journey\x20YAML\x20files\x20locally','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','List\x20secret\x20keys\x20for\x20a\x20project','folders\x20<parent_name>','required','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','list','--include-stats','Show\x20schedule\x20execution\x20history','aliases','variadic','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','Read\x20query\x20from\x20file','Retry\x20limit\x20(0\x20to\x2032)','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','\x20(resolved\x20to\x20','Campaign\x20name','Create\x20a\x20new\x20always-on\x20campaign','Workspace\x20management','--behavior\x20[name]','Update\x20an\x20always-on\x20campaign','Show\x20authentication\x20status\x20and\x20current\x20context','Run\x20tests\x20for\x20an\x20LLM\x20agent','Set\x20operation\x20timeout\x20in\x20seconds','create\x20[name]','types','Workflow\x20parameter\x20(repeatable)','grapesjs','-f,\x20--force','pull\x20[workspace-name]','Show\x20journey\x20details','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','buildTime','New\x20workspace\x20name','fields\x20[name]','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','segments\x20[path]','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','--follow','--start-at\x20<datetime>','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','profile','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','--type\x20<type>','Include\x20execution\x20statistics','Name\x20for\x20the\x20new\x20project\x20(required)','Revision\x20name\x20(default:\x20timestamp)','Workflow\x20(Digdag)\x20management\x20commands','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','--plaintext\x20<text>','--json-columns\x20<cols>','pull\x20[workspace]','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','Create\x20a\x20scheduled\x20query','parent','Create\x20a\x20new\x20profile','_hidden','registeredArguments','Version\x20number\x20to\x20view','LLM\x20agent\x20management','stringify','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','parent_segment','Read\x20request\x20body\x20from\x20file','\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','-n,\x20--name\x20<name>','Clear\x20session\x20context','Skip\x20confirmation\x20prompts','Campaign\x20type\x20(email\x20or\x20push)','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Resume\x20from\x20specific\x20task\x20(retry)','outputHelp','--trace','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','push\x20[parent_or_file]','--skip-validation','-o,\x20--output\x20<folder>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Read\x20HTML\x20template\x20from\x20file','clear','--version\x20<number>','mcp','--result\x20<url>','--output\x20<file>','YAML\x20file\x20path\x20for\x20unpushed\x20segment','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','--add-attributes\x20<json>','--resume-from\x20<task>','Show\x20journey\x20statistics','--default','-d,\x20--database\x20<db>','System\x20prompt/instructions\x20(default:\x20empty)','Folder\x20description','create','Agent\x20name','List\x20all\x20available\x20profiles','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','pause\x20<name-or-path>','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','--method\x20<pm>','Validate\x20template\x20YAML\x20files\x20locally','0.7','Pull\x20campaigns\x20to\x20YAML\x20files','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','List\x20activations\x20for\x20a\x20journey','Alias\x20for\x20--database\x20(natural\x20language\x20style)','databases\x20[pattern]','padEnd','Result\x20output\x20destination\x20URL','show\x20<name-or-id>','set\x20<key=value>','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','-X,\x20--method\x20<method>','set\x20<args...>','Resume\x20a\x20paused\x20journey','--to\x20<n>','clone\x20[source]','help','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','parents\x20[pattern]','Output\x20as\x20JSON\x20Lines','Timezone\x20(e.g.,\x20America/Los_Angeles)','addHelpText','alias','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20master\x20table\x20sample\x20data','sessions\x20[project]','Preview\x20changes\x20without\x20pushing','Journey\x20version\x20management','-C,\x20--directory\x20<path>','--full','delete\x20<project-name-or-id>','Starter\x20message','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','list\x20[name]','--tags\x20<tags>','clone\x20[source-dir]','action','Create\x20a\x20new\x20LLM\x20project','Plaintext\x20template\x20content','duplicate\x20<name-or-id>','logLevel','Open\x20parent\x20segment\x20in\x20web\x20browser',',\x20version\x20','RT\x202.0\x20configuration\x20management','pull\x20[name]','create\x20<name-or-path>','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','view\x20[name]','Update\x20an\x20existing\x20agent','Email\x20template\x20management','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','preview\x20[file]','restore\x20<folder>','list\x20[project]','result\x20<job-id>','upgrade','--agent\x20<ref>','Save\x20output\x20to\x20file','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','isArray','delete\x20<args...>','Table\x20management\x20commands','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','jobs','--session-id\x20<id>','attempt','--in\x20<db>','-d,\x20--database\x20<database>','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','--add-attributes-file\x20<file>','--cron\x20<expression>','Workflow\x20attempt\x20management','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','user','Reason\x20for\x20killing\x20the\x20attempt','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','--to\x20<timestamp>','long','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','View\x20a\x20specific\x20version\x20of\x20a\x20journey','update\x20<name-or-id>','claude\x20[args...]','padWidth','Push\x20without\x20confirmation','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','error','optionTerm','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','List\x20agents\x20in\x20current\x20project','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','desc\x20[name]','--database\x20<db>','schedule','INFO','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','json','Create\x20a\x20workspace','--description\x20<desc>','Enable\x20UTM\x20tracking','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','set','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Continue\x20most\x20recent\x20conversation','[attempt-id]','Create\x20an\x20email\x20template','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','Workspace\x20description','Agent\x20description','parse','Delete\x20an\x20email\x20template','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Update\x20a\x20scheduled\x20query','Timezone\x20for\x20cron','--include-retried','-r,\x20--recursive','update\x20<agent-name>','Export\x20journey(s)\x20as\x20YAML\x20files','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','--tsv','101840jlGUTs','job','always-on-campaign','33QgBxFo','Finish\x20an\x20always-on\x20campaign','createAsync','Maximum\x20tool\x20iterations\x20(default:\x204)','--from\x20<date>','Show\x20segment\x20details\x20(alias\x20for\x20view)','journeys\x20[pattern]','Make\x20segment\x20invisible\x20(default:\x20visible)','allowExcessArguments','push\x20[target]','Invalid\x20editor\x20type:\x20','campaigns\x20[pattern]','engage_workspace','resume\x20<name-or-id>','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','workspace','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','--table','upgrade\x20[version]','_list-commands','--stage\x20<name>','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','delete\x20<name>','status','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Master\x20database\x20name','Validate\x20campaign\x20YAML\x20files\x20locally','Kill\x20a\x20job','desc','replace','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','List\x20email\x20senders','--yes','5924235BUyLzQ','--attribute\x20[name]','pause\x20<name-or-id>','Add\x20behaviors\x20from\x20JSON\x20file','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Pause\x20a\x20running\x20journey','argumentDescription','--session-time\x20<time>','Start\x20a\x20new\x20chat\x20session','desc\x20[segment_name]','create\x20<parent_name>\x20<folder_name>','--param\x20<key=value>','--no-proxy','update\x20<segment_name>','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Personalization\x20service\x20management','--jsonl','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','Options:','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','--format\x20<format>','--prompt\x20<text>','Behaviors\x20as\x20JSON\x20string','Limit\x20number\x20of\x20rows','-f,\x20--file\x20<path>'];a2_0x2396=function(){return _0x4bb1aa;};return a2_0x2396();}const templateCmd=engageCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x363))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x226));templateCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3c7))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x219)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x423))['description']('List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),'Workspace\x20name')['action'](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x1fd))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x413))[a2_0x3a6c32(0x3b3)]('--workspace\x20<name>',a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x212),a2_0x3a6c32(0x1f0))[a2_0x3a6c32(0x219)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x1eb))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x263))['requiredOption'](a2_0x3a6c32(0x2c6),a2_0x3a6c32(0x2e6))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x458),a2_0x3a6c32(0x43f))[a2_0x3a6c32(0x3b3)]('--html\x20<html>',a2_0x3a6c32(0x2ee))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2d9),'Read\x20HTML\x20template\x20from\x20file')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x375))[a2_0x3a6c32(0x3b3)]('--plaintext\x20<text>','Plaintext\x20template\x20content')[a2_0x3a6c32(0x3b3)]('--editor-type\x20<type>',a2_0x3a6c32(0x2d2),_0x17387d=>{const _0x544452=a2_0x3a6c32;if(!['beefree',_0x544452(0x486)][_0x544452(0x3eb)](_0x17387d))throw new SDKError(ErrorCode[_0x544452(0x366)],_0x544452(0x281)+_0x17387d+'.\x20Must\x20be\x20beefree\x20or\x20grapesjs');return _0x17387d;})[a2_0x3a6c32(0x219)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x247))[a2_0x3a6c32(0x2f0)]('Update\x20an\x20email\x20template')[a2_0x3a6c32(0x3b3)]('--workspace\x20<name>',a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c6),'New\x20template\x20name')['option'](a2_0x3a6c32(0x458),'Email\x20subject\x20template')['option']('--html\x20<html>',a2_0x3a6c32(0x2ee))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2d9),a2_0x3a6c32(0x1db))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x49c),a2_0x3a6c32(0x21b))['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x49e))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x317))['option'](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c6),a2_0x3a6c32(0x357))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3cf),a2_0x3a6c32(0x453))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3c8),a2_0x3a6c32(0x2b1))['action'](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x280))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x1ca))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3cf),'Skip\x20confirmation\x20prompt')['option'](a2_0x3a6c32(0x3c8),a2_0x3a6c32(0x46f))[a2_0x3a6c32(0x219)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2ba))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x1f4))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2d5),a2_0x3a6c32(0x392))[a2_0x3a6c32(0x219)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3ca))['description'](a2_0x3a6c32(0x268))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x297),a2_0x3a6c32(0x453))[a2_0x3a6c32(0x219)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command'](a2_0x3a6c32(0x286))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x47d));workspaceCmd['command'](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)]('List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x3a6c32(0x219)](createEngageListAction(EngageWorkspacesCommand)),engageCmd['command'](a2_0x3a6c32(0x3ef))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3fe))[a2_0x3a6c32(0x219)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x3a6c32(0x2f4)]('show\x20<name-or-id>')[a2_0x3a6c32(0x2f0)]('Show\x20workspace\x20details')['option'](a2_0x3a6c32(0x212),a2_0x3a6c32(0x1f0))['action'](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd['command'](a2_0x3a6c32(0x1eb))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x25a))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x2c6),'Workspace\x20name')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x25b),a2_0x3a6c32(0x265))['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x247))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x348))['option'](a2_0x3a6c32(0x2c6),a2_0x3a6c32(0x48c))[a2_0x3a6c32(0x3b3)]('--description\x20<desc>','Workspace\x20description')[a2_0x3a6c32(0x219)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3ca))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x2bc))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x297),a2_0x3a6c32(0x453))[a2_0x3a6c32(0x219)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x40b))[a2_0x3a6c32(0x2f0)]('Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)')[a2_0x3a6c32(0x219)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program['command'](a2_0x3a6c32(0x2b8))[a2_0x3a6c32(0x2f0)]('Delivery\x20operations\x20(email\x20senders)');deliveryCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x43e))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x296))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x219)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3a8))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x36a)),connectionListAction=async _0x5ba0c7=>{const _0x2e22f5=a2_0x3a6c32,_0x16e9b8=new ConnectionListCommand(),_0x2b07a9=program[_0x2e22f5(0x34e)](),_0x433a66=await createTDXInstance(_0x2b07a9),_0x20080e=await _0x16e9b8[_0x2e22f5(0x3c2)]({'options':{..._0x2b07a9,..._0x5ba0c7},'args':[],'tdx':_0x433a66});gracefulExit(_0x20080e);};connectionCmd[a2_0x3a6c32(0x2f4)]('list')[a2_0x3a6c32(0x2f0)]('List\x20all\x20data\x20connections')[a2_0x3a6c32(0x219)](connectionListAction),program[a2_0x3a6c32(0x2f4)]('connections',{'hidden':!![]})[a2_0x3a6c32(0x2f0)]('List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)')[a2_0x3a6c32(0x219)](connectionListAction),connectionCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x416))['description']('Show\x20connection\x20details\x20by\x20name')['action'](async(_0x117212,_0x3a03a9)=>{const _0x1f95ec=a2_0x3a6c32,_0x5c94fd=new ConnectionShowCommand(),_0x2fe7e6=program[_0x1f95ec(0x34e)](),_0x96c178=await createTDXInstance(_0x2fe7e6),_0x30d26a=await _0x5c94fd[_0x1f95ec(0x3c2)]({'options':{..._0x2fe7e6,..._0x3a03a9},'args':[_0x117212],'tdx':_0x96c178});gracefulExit(_0x30d26a);}),connectionCmd[a2_0x3a6c32(0x2f4)]('schema\x20<type>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3f2))['action'](async(_0x3f07a6,_0x5f2638)=>{const _0x7fada=a2_0x3a6c32,_0x33fa50=new ConnectionSchemaCommand(),_0x5e1c73=program['opts'](),_0x424598=await createTDXInstance(_0x5e1c73),_0x1dd941=await _0x33fa50[_0x7fada(0x3c2)]({'options':{..._0x5e1c73,..._0x5f2638},'args':[_0x3f07a6],'tdx':_0x424598});gracefulExit(_0x1dd941);}),connectionCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x484))[a2_0x3a6c32(0x2f0)]('List\x20available\x20connector\x20types')[a2_0x3a6c32(0x219)](async _0x4351f9=>{const _0x12984e=a2_0x3a6c32,_0x3c1a7d=new ConnectionTypesCommand(),_0x84d8d5=program[_0x12984e(0x34e)](),_0x1679d5=await createTDXInstance(_0x84d8d5),_0x221b71=await _0x3c1a7d[_0x12984e(0x3c2)]({'options':{..._0x84d8d5,..._0x4351f9},'args':[],'tdx':_0x1679d5});gracefulExit(_0x221b71);}),connectionCmd['command'](a2_0x3a6c32(0x2d8))[a2_0x3a6c32(0x2f0)]('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x3a6c32(0x219)](async(_0x2c2fc4,_0x3455af)=>{const _0x5ec3cc=a2_0x3a6c32,_0x43af55=new ConnectionSettingsCommand(),_0x20e897=program[_0x5ec3cc(0x34e)](),_0x491bf5=await createTDXInstance(_0x20e897),_0x1e1081=await _0x43af55[_0x5ec3cc(0x3c2)]({'options':{..._0x20e897,..._0x3455af},'args':[_0x2c2fc4],'tdx':_0x491bf5});gracefulExit(_0x1e1081);});const journeyCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3df))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x422)),journeyListAction=async(_0x3bbcb4,_0x5a92f8)=>{const _0x332311=a2_0x3a6c32,_0x47752f=new JourneyListCommand(),_0x46e5ee=program['opts'](),_0x36499d=await createTDXInstance(_0x46e5ee),_0x1a27c4=await _0x47752f[_0x332311(0x3c2)]({'options':{..._0x46e5ee,..._0x5a92f8},'args':_0x3bbcb4?[_0x3bbcb4]:[],'tdx':_0x36499d});gracefulExit(_0x1a27c4);};journeyCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3ad))[a2_0x3a6c32(0x219)](journeyListAction),journeyCmd['command'](a2_0x3a6c32(0x3bc))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x489))[a2_0x3a6c32(0x3b3)]('-w,\x20--web','Open\x20journey\x20in\x20web\x20browser')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x471),a2_0x3a6c32(0x497))[a2_0x3a6c32(0x219)](async(_0x33c6ba,_0x2d85de)=>{const _0x8b2cba=a2_0x3a6c32,_0x375f02=new JourneyViewCommand(),_0x494dbc=program[_0x8b2cba(0x34e)](),_0x3e403a=await createTDXInstance(_0x494dbc),_0xc5d414=await _0x375f02['run']({'options':{..._0x494dbc,..._0x2d85de},'args':[_0x33c6ba],'tdx':_0x3e403a});gracefulExit(_0xc5d414);}),journeyCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2cf))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x1e6))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x28b),a2_0x3a6c32(0x3a1))['option'](a2_0x3a6c32(0x27b),a2_0x3a6c32(0x2ef))[a2_0x3a6c32(0x3b3)]('--to\x20<date>',a2_0x3a6c32(0x45e))[a2_0x3a6c32(0x3b3)]('--include-history',a2_0x3a6c32(0x462))['action'](async(_0x394104,_0x3db438)=>{const _0x26ebd6=a2_0x3a6c32,_0x41f975=new JourneyStatsCommand(),_0x53876b=program['opts'](),_0x54b061=await createTDXInstance(_0x53876b),_0x5cde23=await _0x41f975[_0x26ebd6(0x3c2)]({'options':{..._0x53876b,..._0x3db438},'args':[_0x394104],'tdx':_0x54b061});gracefulExit(_0x5cde23);}),journeyCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3d6))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x475))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x496),a2_0x3a6c32(0x3a4))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x27b),a2_0x3a6c32(0x2ef))['option'](a2_0x3a6c32(0x3c4),a2_0x3a6c32(0x45e))[a2_0x3a6c32(0x3b3)]('--limit\x20<number>',a2_0x3a6c32(0x3d4),_0x58f3f9=>{const _0x4d855b=a2_0x3a6c32,_0x52c03a=parseInt(_0x58f3f9,0xa);if(isNaN(_0x52c03a))throw new Error('Invalid\x20--limit\x20value:\x20\x22'+_0x58f3f9+_0x4d855b(0x468));return _0x52c03a;})['action'](async(_0x28ac09,_0x1f5d11)=>{const _0x245752=a2_0x3a6c32,_0x11d922=new JourneyTrafficCommand(),_0x1aba64=program[_0x245752(0x34e)](),_0x4a33cd=await createTDXInstance(_0x1aba64),_0x57cb72=await _0x11d922[_0x245752(0x3c2)]({'options':{..._0x1aba64,..._0x1f5d11},'args':[_0x28ac09],'tdx':_0x4a33cd});gracefulExit(_0x57cb72);}),journeyCmd['command'](a2_0x3a6c32(0x1f1))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x29d))[a2_0x3a6c32(0x219)](async(_0x354e9b,_0x4de76e)=>{const _0x5ab2a9=a2_0x3a6c32,_0x21cda9=new JourneyPauseCommand(),_0x5dcf70=program['opts'](),_0x34f353=await createTDXInstance(_0x5dcf70),_0x5974b3=await _0x21cda9[_0x5ab2a9(0x3c2)]({'options':{..._0x5dcf70,..._0x4de76e},'args':[_0x354e9b],'tdx':_0x34f353});gracefulExit(_0x5974b3);}),journeyCmd['command'](a2_0x3a6c32(0x40a))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x202))['action'](async(_0x1c7329,_0x1e0b2b)=>{const _0x1d6925=a2_0x3a6c32,_0x31faa6=new JourneyResumeCommand(),_0x594d69=program[_0x1d6925(0x34e)](),_0x355c01=await createTDXInstance(_0x594d69),_0x156494=await _0x31faa6[_0x1d6925(0x3c2)]({'options':{..._0x594d69,..._0x1e0b2b},'args':[_0x1c7329],'tdx':_0x355c01});gracefulExit(_0x156494);}),journeyCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x221))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x26f))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3c8),a2_0x3a6c32(0x35f))[a2_0x3a6c32(0x219)](async(_0x2583d0,_0x28ff4d)=>{const _0x328bfa=a2_0x3a6c32,_0x54f897=new JourneyPullCommand(),_0x819136=program[_0x328bfa(0x34e)](),_0x4929c7=await createTDXInstance(_0x819136),_0x29518d=await _0x54f897[_0x328bfa(0x3c2)]({'options':{..._0x819136,..._0x28ff4d},'args':_0x2583d0?[_0x2583d0]:[],'tdx':_0x4929c7});gracefulExit(_0x29518d);}),journeyCmd['command'](a2_0x3a6c32(0x280))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x24e))[a2_0x3a6c32(0x219)](async(_0x138e9f,_0x3d9d35)=>{const _0x12848d=a2_0x3a6c32,_0x4ca3ba=new JourneyPushCommand(),_0x35f09e=program[_0x12848d(0x34e)](),_0x35bb3c=await createTDXInstance(_0x35f09e),_0x1df27e=await _0x4ca3ba[_0x12848d(0x3c2)]({'options':{..._0x35f09e,..._0x3d9d35},'args':_0x138e9f?[_0x138e9f]:[],'tdx':_0x35bb3c});gracefulExit(_0x1df27e);}),journeyCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x433))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x360))[a2_0x3a6c32(0x219)](async(_0x17933f,_0x6cbad9)=>{const _0x2200b9=new JourneyColumnsCommand(),_0x27ba68=program['opts'](),_0x2e358f=await createTDXInstance(_0x27ba68),_0x27b460=await _0x2200b9['run']({'options':{..._0x27ba68,..._0x6cbad9},'args':[_0x17933f],'tdx':_0x2e358f});gracefulExit(_0x27b460);}),journeyCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2be))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x1f8))['action'](async(_0x2956dc,_0x3bf9e1)=>{const _0x344992=a2_0x3a6c32,_0x45cffe=new JourneyActivationsCommand(),_0xc76eb9=program[_0x344992(0x34e)](),_0x7be4dd=await createTDXInstance(_0xc76eb9),_0x41762c=await _0x45cffe[_0x344992(0x3c2)]({'options':{..._0xc76eb9,..._0x3bf9e1},'args':[_0x2956dc],'tdx':_0x7be4dd});gracefulExit(_0x41762c);}),journeyCmd['command'](a2_0x3a6c32(0x2fb))['description'](a2_0x3a6c32(0x309))[a2_0x3a6c32(0x219)](async(_0x1190d8,_0x792215)=>{const _0x4ffd2a=a2_0x3a6c32,_0x13213d=new JourneyVersionsCommand(),_0x25a3ec=program[_0x4ffd2a(0x34e)](),_0x5d8065=await createTDXInstance(_0x25a3ec),_0x35cbdf=await _0x13213d[_0x4ffd2a(0x3c2)]({'options':{..._0x25a3ec,..._0x792215},'args':[_0x1190d8],'tdx':_0x5d8065});gracefulExit(_0x35cbdf);});const journeyVersionCmd=journeyCmd['command']('version')['description'](a2_0x3a6c32(0x210));journeyVersionCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x222))['description'](a2_0x3a6c32(0x48a))[a2_0x3a6c32(0x219)](async(_0x415324,_0x1c1588)=>{const _0x2f645f=a2_0x3a6c32,_0x9a40d4=new JourneyVersionCreateCommand(),_0x42a5ba=program[_0x2f645f(0x34e)](),_0x75331=await createTDXInstance(_0x42a5ba),_0x3e4a03=await _0x9a40d4[_0x2f645f(0x3c2)]({'options':{..._0x42a5ba,..._0x1c1588},'args':[_0x415324],'tdx':_0x75331});gracefulExit(_0x3e4a03);}),journeyVersionCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3bc))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x246))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x1dd),a2_0x3a6c32(0x1c7))[a2_0x3a6c32(0x219)](async(_0x545ea7,_0x288d11)=>{const _0x150afe=a2_0x3a6c32,_0x127d39=new JourneyVersionViewCommand(),_0x33c325=program['opts'](),_0x12aaea=await createTDXInstance(_0x33c325),_0xeb131e=await _0x127d39[_0x150afe(0x3c2)]({'options':{..._0x33c325,..._0x288d11},'args':[_0x545ea7],'tdx':_0x12aaea});gracefulExit(_0xeb131e);}),journeyCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2ba))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x46a))['action'](async(_0xf1a011,_0x599c3e)=>{const _0x41b061=a2_0x3a6c32,_0x239781=new JourneyValidateCommand(),_0x3eefa8=program['opts'](),_0x56e5f2=await createTDXInstance(_0x3eefa8),_0x43dc85=await _0x239781[_0x41b061(0x3c2)]({'options':{..._0x3eefa8,..._0x599c3e},'args':_0xf1a011?[_0xf1a011]:[],'tdx':_0x56e5f2});gracefulExit(_0x43dc85);}),program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x27d))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x359))[a2_0x3a6c32(0x219)](journeyListAction);const agentSyncCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x346))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x1c8));agentSyncCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2e1))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x307))['option'](a2_0x3a6c32(0x409),'Output\x20directory')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x487),a2_0x3a6c32(0x446))['option'](a2_0x3a6c32(0x43a),a2_0x3a6c32(0x35b))[a2_0x3a6c32(0x219)](async(_0x28870b,_0x34f856,_0x4569d2)=>{const _0x3aa170=a2_0x3a6c32,_0x11993d=new AgentPullCommand(),_0x584d4a=program[_0x3aa170(0x34e)](),_0x293f3e=await createTDXInstance(_0x584d4a),_0x2e50fe=[];if(_0x28870b)_0x2e50fe[_0x3aa170(0x3e1)](_0x28870b);if(_0x34f856)_0x2e50fe[_0x3aa170(0x3e1)](_0x34f856);const _0x24ff43=await _0x11993d[_0x3aa170(0x3c2)]({'options':{..._0x584d4a,..._0x4569d2},'args':_0x2e50fe,'tdx':_0x293f3e});gracefulExit(_0x24ff43);}),agentSyncCmd['command'](a2_0x3a6c32(0x3e7))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x2ea))[a2_0x3a6c32(0x3b3)]('-f,\x20--force',a2_0x3a6c32(0x24a))[a2_0x3a6c32(0x219)](async(_0x45cdc9,_0x133873)=>{const _0x48cba1=a2_0x3a6c32,_0x1e6e04=new AgentPushCommand(),_0x3357b0=program[_0x48cba1(0x34e)](),_0x573cb6=await createTDXInstance(_0x3357b0),_0x2e6a51=await _0x1e6e04[_0x48cba1(0x3c2)]({'options':{..._0x3357b0,..._0x133873},'args':_0x45cdc9?[_0x45cdc9]:[],'tdx':_0x573cb6});gracefulExit(_0x2e6a51);}),agentSyncCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x204))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x39d))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1ce),a2_0x3a6c32(0x498))[a2_0x3a6c32(0x219)](async(_0x14c361,_0x160989)=>{const _0x4dd3fa=new AgentCloneCommand(),_0x190098=program['opts'](),_0x3db48e=await createTDXInstance(_0x190098),_0x5eb62a=await _0x4dd3fa['run']({'options':{..._0x190098,..._0x160989},'args':_0x14c361?[_0x14c361]:[],'tdx':_0x3db48e});gracefulExit(_0x5eb62a);}),agentSyncCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x326))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x481))['option']('--name\x20<names>',a2_0x3a6c32(0x3ea))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x217),a2_0x3a6c32(0x340))['option'](a2_0x3a6c32(0x3c8),'Parse\x20and\x20validate\x20without\x20executing')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x32b),a2_0x3a6c32(0x404))[a2_0x3a6c32(0x3b3)]('--reeval',a2_0x3a6c32(0x349))[a2_0x3a6c32(0x219)](async(_0x35c069,_0x496b77)=>{const _0x574117=a2_0x3a6c32,_0x5d3d29=new AgentTestCommand(),_0xec5ae3=program[_0x574117(0x34e)](),_0x3f7322=await createTDXInstance(_0xec5ae3),_0x2c6856=await _0x5d3d29[_0x574117(0x3c2)]({'options':{..._0xec5ae3,..._0x496b77},'args':_0x35c069?[_0x35c069]:[],'tdx':_0x3f7322});gracefulExit(_0x2c6856);}),agentSyncCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42b))['description'](a2_0x3a6c32(0x250))[a2_0x3a6c32(0x219)](llmAgentListAction),agentSyncCmd[a2_0x3a6c32(0x2f4)]('show\x20<agent-name>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x460))[a2_0x3a6c32(0x219)](async(_0x244604,_0x24c801)=>{const _0x124b96=new LLMAgentShowCommand(),_0x456f61=program['opts'](),_0x5aeef5=await createTDXInstance(_0x456f61),_0x48fc3a=await _0x124b96['run']({'options':{..._0x456f61,..._0x24c801},'args':[_0x244604],'tdx':_0x5aeef5});gracefulExit(_0x48fc3a);}),agentSyncCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x338))['description'](a2_0x3a6c32(0x38c))[a2_0x3a6c32(0x3b3)]('--system-prompt\x20<text>',a2_0x3a6c32(0x1e9))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x415),'Model\x20type\x20(default:\x20claude-4.5-sonnet)','claude-4.5-sonnet')['option'](a2_0x3a6c32(0x374),a2_0x3a6c32(0x214))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x427),a2_0x3a6c32(0x27a),'4')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3b0),a2_0x3a6c32(0x1d2),a2_0x3a6c32(0x1f5))[a2_0x3a6c32(0x219)](async(_0x57e701,_0x4f7836)=>{const _0x35ba28=a2_0x3a6c32,_0x1f1fa7=new LLMAgentCreateCommand(),_0x2e98c8=program[_0x35ba28(0x34e)](),_0x2c256d=await createTDXInstance(_0x2e98c8),_0x293d2d=await _0x1f1fa7['run']({'options':{..._0x2e98c8,..._0x4f7836},'args':[_0x57e701],'tdx':_0x2c256d});gracefulExit(_0x293d2d);}),agentSyncCmd['command'](a2_0x3a6c32(0x26e))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x225))['option'](a2_0x3a6c32(0x417),a2_0x3a6c32(0x1ec))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2ad),a2_0x3a6c32(0x3ae))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x38b),a2_0x3a6c32(0x266))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x374),a2_0x3a6c32(0x214))[a2_0x3a6c32(0x219)](async(_0xe8c5cc,_0x4e11af)=>{const _0x26e696=a2_0x3a6c32,_0x495f8f=new LLMAgentUpdateCommand(),_0x161361=program[_0x26e696(0x34e)](),_0x298d8d=await createTDXInstance(_0x161361),_0x1b05c7=await _0x495f8f[_0x26e696(0x3c2)]({'options':{..._0x161361,..._0x4e11af},'args':[_0xe8c5cc],'tdx':_0x298d8d});gracefulExit(_0x1b05c7);}),agentSyncCmd['command'](a2_0x3a6c32(0x3d1))['description'](a2_0x3a6c32(0x311))[a2_0x3a6c32(0x219)](async(_0x1062d9,_0x3ad9e3)=>{const _0x3d0ac7=a2_0x3a6c32,_0x15e463=new LLMAgentDeleteCommand(),_0x51c396=program[_0x3d0ac7(0x34e)](),_0x181f6e=await createTDXInstance(_0x51c396),_0x156465=await _0x15e463[_0x3d0ac7(0x3c2)]({'options':{..._0x51c396,..._0x3ad9e3},'args':[_0x1062d9],'tdx':_0x181f6e});gracefulExit(_0x156465);}),program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x28a),{'hidden':!![]})[a2_0x3a6c32(0x219)](()=>{const _0x19a464=a2_0x3a6c32;function _0x2d1726(_0x129550,_0x5a64e3){const _0x3784e6=a2_0x434e,_0x13789b=[];for(const _0x4c4340 of _0x129550[_0x3784e6(0x42e)]){if(_0x4c4340[_0x3784e6(0x4a3)])continue;const _0x4b68f0=_0x5a64e3?_0x5a64e3+'\x20'+_0x4c4340['name']():_0x4c4340[_0x3784e6(0x3e2)](),_0x51dbed=_0x4b68f0['split']('\x20')[0x0],_0xe764f0=COMMAND_CATEGORIES[_0x3784e6(0x378)](_0x230ddf=>_0x230ddf['commands'][_0x3784e6(0x3eb)](_0x51dbed)),_0x13c309=_0xe764f0?.[_0x3784e6(0x3e2)]??'';if(_0x4c4340[_0x3784e6(0x42e)][_0x3784e6(0x3d7)]>0x0)_0x13789b[_0x3784e6(0x3e1)](..._0x2d1726(_0x4c4340,_0x4b68f0));else{const _0x35ecec=(_0x4c4340[_0x3784e6(0x4a4)]||[])[_0x3784e6(0x385)](_0x1ca281=>{const _0x455de7=_0x3784e6,_0x20f412=_0x1ca281[_0x455de7(0x474)]?_0x1ca281[_0x455de7(0x3e2)]()+_0x455de7(0x3a9):_0x1ca281[_0x455de7(0x3e2)]();return _0x1ca281[_0x455de7(0x46e)]?'<'+_0x20f412+'>':'['+_0x20f412+']';})[_0x3784e6(0x336)]('\x20'),_0xbbf795=_0x4c4340['options']['filter'](_0x267344=>!_0x267344[_0x3784e6(0x3f0)]&&_0x267344[_0x3784e6(0x244)]!=='--help')['map'](_0x1901e7=>({'flags':_0x1901e7[_0x3784e6(0x3ba)],'description':_0x1901e7[_0x3784e6(0x2f0)]}));_0x13789b[_0x3784e6(0x3e1)]({'name':_0x4b68f0,'description':_0x4c4340[_0x3784e6(0x2f0)](),'group':_0x13c309,'usage':_0x35ecec,'options':_0xbbf795});}}return _0x13789b;}console[_0x19a464(0x3b8)](JSON[_0x19a464(0x1c9)](_0x2d1726(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x262bb1=a2_0x3a6c32,_0x2f5115=!process[_0x262bb1(0x313)][_0x262bb1(0x383)](0x2)[_0x262bb1(0x3d7)];showBriefHelp=_0x2f5115,program[_0x262bb1(0x267)](process[_0x262bb1(0x313)]);_0x2f5115&&program[_0x262bb1(0x1d4)]();const _0x217969=process['argv'][0x2]===_0x262bb1(0x22d);if(process[_0x262bb1(0x2b2)][_0x262bb1(0x316)]&&process[_0x262bb1(0x313)][_0x262bb1(0x3d7)]>0x2&&!isDevVersion()&&!_0x217969){const _0x487ce3=loadReleaseChannel();checkForUpdate(currentVersion,_0x487ce3)[_0x262bb1(0x2f1)](_0x98283e=>{_0x98283e&&displayUpdateNotification(_0x98283e);})[_0x262bb1(0x2b6)](()=>{});}}
|
|
1
|
+
const a2_0x53bc94=a2_0x21dc;(function(_0x17d163,_0x59ba90){const _0x2fc49b=a2_0x21dc,_0x1cabd2=_0x17d163();while(!![]){try{const _0xb292d9=parseInt(_0x2fc49b(0x142))/0x1+parseInt(_0x2fc49b(0x29e))/0x2+parseInt(_0x2fc49b(0x2c6))/0x3*(parseInt(_0x2fc49b(0x2d3))/0x4)+parseInt(_0x2fc49b(0xf3))/0x5*(-parseInt(_0x2fc49b(0x2b6))/0x6)+-parseInt(_0x2fc49b(0x305))/0x7+parseInt(_0x2fc49b(0x2e8))/0x8+-parseInt(_0x2fc49b(0x271))/0x9;if(_0xb292d9===_0x59ba90)break;else _0x1cabd2['push'](_0x1cabd2['shift']());}catch(_0x51b9ff){_0x1cabd2['push'](_0x1cabd2['shift']());}}}(a2_0x14d6,0xc899e));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';function a2_0x14d6(){const _0x28338f=['--default','use\x20[name]','validate\x20[name]','Always-on\x20campaign\x20management','Behaviors\x20from\x20JSON\x20file','Create\x20segment\x20folder','--version\x20<number>','Show\x20the\x20most\x20recent\x20chat','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','argv','208zYJhyZ','--json','--temperature\x20<n>','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','--segment\x20<path>','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','-f,\x20--file\x20<path>','settings\x20<type>','secrets','folder','unset\x20<resource>','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','download\x20<project-name>\x20[output-dir]','New\x20segment\x20name','log\x20<chat-id>','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','resume\x20<name-or-id>','\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','Name\x20for\x20the\x20new\x20project\x20(required)','8460680LrAszr','use\x20[project]','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Include\x20retried\x20attempts','update\x20<segment_name>','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','Database\x20name\x20(default:\x20information_schema)','noColor','Launch\x20an\x20always-on\x20campaign','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','--delay\x20<seconds>','Show\x20only\x20master\x20table\x20validation','--name\x20<new-name>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','-d,\x20--database\x20<db>','--no-count-population','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','Name\x20for\x20the\x20duplicated\x20campaign','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Create\x20a\x20new\x20profile','--clear','Run\x20a\x20scheduled\x20query\x20immediately','--result\x20<url>','-y,\x20--yes','after','--html\x20<html>','--timezone\x20<tz>','7025459cXlgJL','argumentTerm','push\x20[target]','Attributes\x20as\x20JSON\x20string','job','log','0.7','aliases','Set\x20operation\x20timeout\x20in\x20seconds','Show\x20campaign\x20details','stdout','Cron\x20expression\x20for\x20scheduling','grapesjs','traffic\x20<name-or-path>','Workspace\x20name\x20(required)','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Add\x20behaviors\x20as\x20JSON\x20string','schema\x20<type>','--from\x20<timestamp>','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','--tags\x20<tags>','summary','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','run\x20[name]','--name\x20<names>','--invisible','Continue\x20most\x20recent\x20conversation','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Enable\x20UTM\x20tracking','sql\x20[name]','INFO','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','user','Show\x20always-on\x20campaign\x20details','Arguments:','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--max-depth\x20<depth>','columns\x20<name-or-path>','--max-tool-iterations\x20<n>','-o,\x20--output\x20<folder>','chat\x20[message...]','Finish\x20an\x20always-on\x20campaign','Trino\x20catalog\x20(default:\x20td)','duplicate\x20<name-or-id>','Delete\x20an\x20email\x20template','Update\x20a\x20campaign','Job\x20priority\x20(-2\x20to\x202)','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','injectIntoOptions','\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','-1d','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','push\x20[file]','apiKey','Include\x20retried\x20attempts\x20(for\x20list)','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','attempt','resume\x20<name-or-path>','\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','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','--html-file\x20<path>','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','Resume\x20a\x20conversation\x20(shows\x20selector)','[EXPERIMENTAL]\x20Show\x20chat\x20log','Change\x20to\x20directory\x20before\x20executing\x20command','--engine-version\x20<version>','Make\x20segment\x20invisible\x20(default:\x20visible)','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','pause\x20<name-or-path>','Set\x20or\x20show\x20parent\x20segment\x20context','beefree','--status\x20<status>','buildTime','--limit\x20<rows>','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','\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','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Plaintext\x20template\x20content','Open\x20journey\x20in\x20web\x20browser','Override\x20project\x20name','isArray','Parent\x20segment\x20management','fields\x20[name]','List\x20journeys\x20(alias\x20for\x20journey\x20list)','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','delete\x20<args...>','[options]\x20--\x20[claude-code-args...]','subcommandDescription','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','-u,\x20--use','--force','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','agent','debug','--skip-validation','list','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','--interval\x20<range>','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','--version','--enable-utm-tracking','parent-segment','Save\x20output\x20to\x20file','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','Project\x20description','--parent-folder\x20<name>','List\x20available\x20LLM\x20models','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Personalization\x20service\x20management','Workflow\x20(Digdag)\x20management\x20commands','llm','Workspace\x20name','--verbose','Overwrite\x20local\x20changes\x20without\x20confirmation','Show\x20journey\x20statistics','Skip\x20validation\x20of\x20.dig\x20files','api\x20[endpoint]','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','List\x20agents\x20in\x20current\x20project','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','-r,\x20--recursive','--attribute\x20[name]','attempts\x20[project]','test\x20[path]','--attributes\x20<json>','slice','statusline','Launch\x20a\x20campaign','--result\x20<target>','Scheduled\x20query\x20management\x20commands','Show\x20email\x20template\x20details','\x20-\x20built\x20','delete\x20<name>','--session\x20<id>','agents\x20[pattern]','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','Email\x20subject\x20template','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','create','--include-history','tables\x20[pattern]','--behavior\x20[name]','--revision\x20<revision>','tasks','description','show\x20[segment_name]','Workflow\x20attempt\x20management','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Enable\x20verbose\x20logging','Force\x20retry\x20even\x20if\x20not\x20failed','--database\x20<db>','Database\x20name','LLM\x20project\x20to\x20use\x20(overrides\x20context)','--name\x20<new_name>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','sessions\x20[project]','Validate\x20template\x20YAML\x20files\x20locally','set\x20<args...>','Include\x20subtasks\x20in\x20tasks\x20output','Show\x20all\x20files\x20including\x20valid\x20ones','subcommandTerm','--in\x20<database>','commands','68465CmptbP','profile','optionTerm','--no-eval','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','--catalog\x20<catalog>','view\x20[segment_name]','usage','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','Delay\x20in\x20seconds\x20before\x20execution','Output\x20folder\x20(default:\x20{project_name}.llm)','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','database','trino','show\x20<job-id>','--path\x20<file-path>','--description\x20<text>','create\x20<name>','filter','workspaces\x20[pattern]','options','--workspace\x20<name>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','fields\x20[parent_name]','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Output\x20as\x20JSON\x20Lines','flatMap','Show\x20authentication\x20status\x20and\x20current\x20context','--resume-from\x20<task>','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Follow/watch\x20timeline\x20for\x20running\x20attempts','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','List\x20all\x20users\x20in\x20the\x20account','show\x20<name-or-id>','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','--kind\x20<type>','Customer\x20group\x20from\x20JSON\x20file','set','--behaviors\x20<json>','Starting\x20offset\x20(default:\x200)','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Delete\x20an\x20LLM\x20project','pull\x20[project]\x20[agent-name]','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','--retry-limit\x20<0~32>','List\x20all\x20data\x20connections','Template\x20name','--full','--cron\x20<expression>','-v,\x20--verbose','--type\x20<type>','desc\x20[name]','retry\x20<session-id>','create\x20<parent_name>\x20<folder_name>','Campaign\x20name','Pause\x20a\x20campaign','Temperature\x20(0.0-2.0,\x20default:\x200.7)','history\x20<name>','Result\x20output\x20destination\x20URL','Remove\x20API\x20key\x20from\x20system\x20keychain','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','claude-4.5-sonnet','Create\x20a\x20new\x20LLM\x20project','Master\x20table\x20name','--limit\x20<number>','desc\x20[segment_name]','--follow','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Update\x20a\x20scheduled\x20query','validate\x20[file]','Preview\x20changes\x20without\x20pushing','--next','timeline\x20[project.workflow]','1490464DdOMAt','login','--reeval','create\x20<name-or-path>','claude\x20[args...]','Filtering\x20rule\x20from\x20JSON\x20file','templates\x20[pattern]','schedule','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','--dry-run','optionDescription','Pull\x20templates\x20to\x20YAML\x20files','-X,\x20--method\x20<method>','list\x20[pattern]','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','push','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','GET','New\x20campaign\x20name','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','--chat-id\x20<id>','Run\x20specific\x20tests\x20(comma-separated)','Agent\x20name','clone\x20[source]','Run\x20Trino\x20query\x20with\x20streaming\x20results','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Workflow\x20session\x20management','--reason\x20<text>','help','chats','Starter\x20message','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Setup\x20API\x20key\x20authentication\x20interactively','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','upgrade','Email\x20sender\x20ID\x20for\x20delivery','list\x20[path]','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','--description\x20<desc>','TRACE','--add-attributes\x20<json>','site','Start\x20time\x20filter\x20(ISO\x208601\x20format)','list\x20[project]','-C,\x20--directory\x20<path>','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','End\x20time\x20filter\x20(ISO\x208601\x20format)','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','List\x20journeys\x20in\x20current\x20context','--rule\x20<json>','--rule-file\x20<file>','--prompt\x20<text>','List\x20all\x20available\x20profiles','--site\x20<site>','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','upload\x20[project-name-or-dir]','create\x20<segment_name>','action','retry','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Timezone\x20for\x20cron','RT\x202.0\x20configuration\x20management','attempt:','tdx','kill\x20<job-id>','Add\x20attributes\x20from\x20JSON\x20file','parents\x20[pattern]','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','use\x20<name>','Create\x20an\x20email\x20template','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','--json-columns\x20<cols>','--stream','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Delete\x20a\x20campaign','Output\x20as\x20JSON','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','engage','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','--to\x20<timestamp>','profiles','Reason\x20for\x20killing\x20the\x20attempt','List\x20activations\x20for\x20a\x20journey','Validate\x20campaign\x20YAML\x20files\x20locally','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','INVALID_ARGUMENT','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Attributes\x20from\x20JSON\x20file','\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','upgrade\x20[version]','campaigns\x20[pattern]','Data\x20connection\x20management\x20(for\x20activations/exports)','update\x20<name-or-id>','-d,\x20--database\x20<database>','CDP\x20segment\x20management\x20commands','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','Updated\x20timezone','_hidden','--params\x20<json>','Task\x20name\x20for\x20logs\x20action','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','engage_workspace','Output\x20file\x20path','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','\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','preview\x20[file]','--from-task\x20<task>','query\x20[sql]','parent_segment','Add\x20behaviors\x20from\x20JSON\x20file','exit','show\x20[name]','delete\x20<name-or-id>','Login\x20via\x20OAuth\x20(dev\x20sites\x20only)','Campaign\x20description','Read\x20query\x20from\x20file','command','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','workflows\x20[project]','logLevel','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','--format\x20<format>','Open\x20parent\x20segment\x20in\x20web\x20browser','Duplicate\x20a\x20campaign','allowExcessArguments','journey','remove\x20<name>','--session-id\x20<id>','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Model\x20type\x20(default:\x20claude-4.5-sonnet)','update\x20<agent-name>',',\x20version\x20','Options:','Skip\x20confirmation\x20prompts','list\x20[name]','Update\x20an\x20always-on\x20campaign','Move\x20to\x20folder','name','desc','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','always-on-campaign','Include\x20execution\x20statistics','Workflow\x20project\x20management','--database\x20<name>','--last','gitRevision','HTML\x20template\x20content','--master','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','run','auth','activations\x20<name-or-path>','Push\x20without\x20confirmation','Remove\x20a\x20profile','journeys\x20[pattern]','Database\x20to\x20query\x20(default:\x20information_schema)','repeat','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','long','List\x20email\x20senders','pull\x20[name]','--folder\x20<name>','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Delivery\x20operations\x20(email\x20senders)','--attributes-file\x20<file>','Request\x20body\x20as\x20JSON\x20string','Show\x20agent\x20details','launch\x20<name-or-id>','init\x20[name]','Pull\x20specific\x20campaign\x20by\x20name','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Skip\x20confirmation\x20prompt','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','--in\x20<db>','describe','-w,\x20--web','Maximum\x20tool\x20iterations\x20(default:\x204)','--new','Show\x20what\x20would\x20be\x20written\x20without\x20writing','--from\x20<date>','Timezone\x20for\x20cron\x20(default:\x20UTC)','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','view\x20<name-or-path>','Workflow\x20parameter\x20(repeatable)','info\x20[segment_name]','argumentDescription','--llm-project\x20<name>','jsonl','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','show\x20<name>','Include\x20raw\x20history\x20data\x20in\x20output','_list-commands','[attempt-id]','Query\x20type:\x20trino\x20or\x20hive','YAML\x20file\x20path\x20for\x20unpushed\x20segment','-a,\x20--agent\x20<name>','--stage\x20<name>','--editor-type\x20<type>','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','variadic','segments\x20[path]','Agent\x20description','Folder\x20description','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','opts','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','logs','addHelpText','--table','history\x20[chat-id]','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','Behaviors\x20as\x20JSON\x20string','Generate\x20test\x20conversations\x20without\x20evaluation','table','join','connection','Preview\x20without\x20creating\x20the\x20project','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Unknown\x20action:\x20','Update\x20an\x20existing\x20agent','--add-behaviors-file\x20<file>','--no-color','option','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','Parse\x20and\x20validate\x20without\x20executing','isTTY','Get\x20job\x20results','Show\x20journey\x20details','Create\x20a\x20new\x20campaign','create\x20[name]','clear','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','required','Read\x20request\x20body\x20from\x20file','--job-type\x20<type>','Preview\x20operation\x20without\x20executing','Timezone\x20(e.g.,\x20America/Los_Angeles)','Updated\x20description','--behaviors-file\x20<file>','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','format','--model\x20<name>','Describe\x20table\x20schema','alias','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Maximum\x20recursion\x20depth\x20(default:\x2010)','Alias\x20for\x20--database\x20(natural\x20language\x20style)','workspace','Add\x20attributes\x20as\x20JSON\x20string','parse','Retry\x20limit\x20(0\x20to\x2032)','map','LLM\x20project\x20management','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Validate\x20journey\x20YAML\x20files\x20locally','Resume\x20from\x20specific\x20task\x20(retry)','-n,\x20--name\x20<name>','createAsync','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','error','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','...','--method\x20<pm>','Updated\x20schedule\x20option','Campaign\x20management','Invalid\x20editor\x20type:\x20','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','--yes','project','Delete\x20a\x20scheduled\x20query','--tsv','finish\x20<name-or-id>','--include-subtasks','-f,\x20--force','-o,\x20--output\x20<file>','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Skip\x20population\x20counting','Query\x20engine\x20version','--attempt-id\x20<id>','Segment\x20description','Custom\x20revision\x20name\x20(default:\x20timestamp)','--schedule-option\x20<value>','hidden','information_schema','delete\x20<agent-name>','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','Create\x20a\x20new\x20agent\x20in\x20current\x20project','run\x20[workflow]','commandUsage','--limit\x20<n>','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','colorFn','20332494iksynt','--to\x20<n>','Read\x20HTML\x20template\x20from\x20file','[task-name]','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','push\x20[source-dir]','flags','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','Show\x20master\x20table\x20sample\x20data','preAction','Maximum\x20rows\x20to\x20display','projects\x20[pattern]','Revision\x20name\x20(default:\x20timestamp)','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','List\x20all\x20versions\x20of\x20a\x20journey','campaign','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','describe\x20[table]','--debug','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','sql\x20[segment_name]','--name\x20<name>','Database\x20name\x20(required)','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Job\x20management\x20commands','padWidth','--jsonl','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','tsv','Authentication\x20management','--customer-group\x20<json>','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','trace','Database\x20management\x20commands','Run\x20tests\x20for\x20an\x20LLM\x20agent','validate\x20[target]','Update\x20a\x20workspace','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','directory','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','argument','includes','3166618BcjXLC','Clear\x20workflow\x20project\x20context','registeredArguments','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','Delete\x20an\x20agent','Commands:','chdir','Create\x20a\x20scheduled\x20query','Master\x20database\x20name','parent','jobs','-o,\x20--output\x20<dir>','activations\x20<segment_name>','status','--type\x20<api_type>','Resume\x20from\x20specific\x20task','Parent\x20segment\x20description','forEach','requiredOption','models','Workspace\x20description','--start-at\x20<datetime>','length','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','510itklMp','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Version\x20number\x20to\x20view','--plaintext\x20<text>','Attempt\x20ID','Show\x20timeline\x20for\x20specific\x20attempt','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','Create\x20a\x20workspace','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','--priority\x20<-2~2>','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','pause\x20<name-or-id>','Show\x20segment\x20details\x20(alias\x20for\x20view)','push\x20[name]','Pull\x20campaigns\x20to\x20YAML\x20files','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','64443flsJnK','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead'];a2_0x14d6=function(){return _0x28338f;};return a2_0x14d6();}import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSPzListCommand,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';function a2_0x21dc(_0x154bee,_0x2111eb){_0x154bee=_0x154bee-0xcb;const _0x14d65e=a2_0x14d6();let _0x21dc58=_0x14d65e[_0x154bee];return _0x21dc58;}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{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_0x53bc94(0x29d)](a2_0x53bc94(0x36f))){let versionOutput='tdx\x20'+currentVersion;buildInfo[a2_0x53bc94(0x1d5)]&&!currentVersion['includes'](buildInfo['gitRevision'])&&(versionOutput+='\x20('+buildInfo[a2_0x53bc94(0x1d5)]+')'),buildInfo[a2_0x53bc94(0x34f)]&&(versionOutput+=a2_0x53bc94(0xd2)+buildInfo[a2_0x53bc94(0x34f)]),console[a2_0x53bc94(0x30a)](versionOutput),process[a2_0x53bc94(0x1b2)](0x0);}const program=new Command();export function mergeCommandOptions(_0x28e61e,_0x367ed4){const _0x7c227b={..._0x28e61e};for(const [_0x5c5cd4,_0x104e05]of Object['entries'](_0x367ed4)){_0x104e05!==undefined&&(_0x7c227b[_0x5c5cd4]=_0x104e05);}return _0x7c227b;}let showBriefHelp=![],description='AI-native\x20CLI\x20for\x20Treasure\x20Data';buildInfo[a2_0x53bc94(0x1d5)]&&!currentVersion[a2_0x53bc94(0x29d)](buildInfo['gitRevision'])?description+=a2_0x53bc94(0x1c7)+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=a2_0x53bc94(0x1c7)+currentVersion;program[a2_0x53bc94(0x1cd)](a2_0x53bc94(0x183))[a2_0x53bc94(0xe0)](description),program[a2_0x53bc94(0x228)](a2_0x53bc94(0x170),a2_0x53bc94(0x347))['option']('-p,\x20--profile\x20<name>',a2_0x53bc94(0x275))[a2_0x53bc94(0x228)](a2_0x53bc94(0x179),a2_0x53bc94(0x299),'us01')[a2_0x53bc94(0x228)](a2_0x53bc94(0x1bd),a2_0x53bc94(0x254))[a2_0x53bc94(0x228)](a2_0x53bc94(0x21a),a2_0x53bc94(0x342))[a2_0x53bc94(0x228)](a2_0x53bc94(0x2d4),a2_0x53bc94(0xfb))[a2_0x53bc94(0x228)]('--jsonl',a2_0x53bc94(0x314))['option'](a2_0x53bc94(0x258),a2_0x53bc94(0x156))[a2_0x53bc94(0x228)]('--output\x20<file>',a2_0x53bc94(0x372))[a2_0x53bc94(0x228)](a2_0x53bc94(0x139),'Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)')[a2_0x53bc94(0x228)]('--color',a2_0x53bc94(0x378),![])[a2_0x53bc94(0x228)](a2_0x53bc94(0x227),'Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)',![])[a2_0x53bc94(0x228)](a2_0x53bc94(0x12a),a2_0x53bc94(0xe4),![])['option'](a2_0x53bc94(0x285),a2_0x53bc94(0xe3))[a2_0x53bc94(0x228)]('--trace',a2_0x53bc94(0x2f2))['option']('--timeout\x20<seconds>',a2_0x53bc94(0x30d),'30')[a2_0x53bc94(0x228)]('--dry-run',a2_0x53bc94(0x235),![])[a2_0x53bc94(0x228)](a2_0x53bc94(0x301),a2_0x53bc94(0x1c9),![])['option'](a2_0x53bc94(0xd4),'Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)')[a2_0x53bc94(0x228)]('--parent-segment\x20<name>',a2_0x53bc94(0x17a))[a2_0x53bc94(0x228)](a2_0x53bc94(0x203),a2_0x53bc94(0xe8)),program['configureHelp']({'formatHelp':(_0x214ab2,_0x1d1f91)=>{const _0x312997=a2_0x53bc94,_0x2fb4c4=_0x1d1f91[_0x312997(0x28d)](_0x214ab2,_0x1d1f91),_0x2cf189=0x2,_0x590b62=0x2;function _0x3fba55(_0x1c8802){const _0x2f2b0c=_0x1c8802;return!!(_0x2f2b0c['_hidden']||_0x2f2b0c['hidden']);}function _0x10f7dd(_0x3a2a3b,_0x3c8546){if(_0x3c8546){const _0x16d175=''+_0x3a2a3b['padEnd'](_0x2fb4c4+_0x590b62)+_0x3c8546;return _0x16d175;}return _0x3a2a3b;}function _0x187b75(_0x2aaffa){const _0x39bb21=_0x312997;return _0x2aaffa[_0x39bb21(0x220)]('\x0a')['replace'](/^/gm,'\x20'[_0x39bb21(0x1e0)](_0x2cf189));}const _0x254b75=[];_0x254b75[_0x312997(0x152)]('Usage:\x20'+_0x1d1f91[_0x312997(0x26c)](_0x214ab2));const _0x56ba50=_0x1d1f91['commandDescription'](_0x214ab2);_0x56ba50&&(_0x254b75[_0x312997(0x152)](''),_0x254b75[_0x312997(0x152)](_0x56ba50));const _0x3aa6c4=_0x214ab2[_0x312997(0xf2)]['filter'](_0x446bf9=>!_0x3fba55(_0x446bf9));if(_0x3aa6c4[_0x312997(0x2b4)]>0x0){if(_0x214ab2[_0x312997(0x1cd)]()==='tdx'){const _0x5e8dc6=_0x214ab2[_0x312997(0x216)](),_0x15beee=!_0x5e8dc6[_0x312997(0x2f0)]&&process[_0x312997(0x30f)][_0x312997(0x22b)],_0x5e10f4=COMMAND_CATEGORIES,_0x5be1ab=(_0x3ef950,_0x58819e)=>_0x15beee?_0x58819e(_0x3ef950):_0x3ef950,_0x2170ed=new Map();_0x3aa6c4[_0x312997(0x2af)](_0x127cfb=>{const _0x2a350c=_0x312997;_0x2170ed[_0x2a350c(0x11b)](_0x127cfb[_0x2a350c(0x1cd)](),_0x127cfb);}),_0x5e10f4[_0x312997(0x2af)](_0x10f0b5=>{const _0xde84d0=_0x312997,_0x1a212f=_0x10f0b5[_0xde84d0(0xf2)][_0xde84d0(0x10e)](_0xe5d798=>_0x2170ed['get'](_0xe5d798)??[]);if(_0x1a212f['length']>0x0){_0x254b75[_0xde84d0(0x152)](''),_0x254b75[_0xde84d0(0x152)](_0x5be1ab(_0x10f0b5[_0xde84d0(0x1cd)]+':',_0x10f0b5[_0xde84d0(0x270)]));const _0x3200ff=_0x1a212f[_0xde84d0(0x245)](_0x25a552=>{const _0x22888f=_0xde84d0,_0x5f2948=_0x1d1f91[_0x22888f(0xf0)](_0x25a552),_0x2a352e=_0x1d1f91['subcommandDescription'](_0x25a552);return _0x10f7dd(_0x5f2948,_0x2a352e);});_0x254b75[_0xde84d0(0x152)](_0x187b75(_0x3200ff));}}),_0x254b75['push'](''),_0x254b75[_0x312997(0x152)](_0x312997(0x151));}else{const _0x1202cb=_0x3aa6c4['map'](_0x254627=>{const _0x2900ab=_0x312997,_0x908156=_0x1d1f91['subcommandTerm'](_0x254627),_0x869e70=_0x1d1f91[_0x2900ab(0x360)](_0x254627);return _0x10f7dd(_0x908156,_0x869e70);});_0x254b75[_0x312997(0x152)](''),_0x254b75[_0x312997(0x152)](_0x312997(0x2a3)),_0x254b75[_0x312997(0x152)](_0x187b75(_0x1202cb));}}if(showBriefHelp&&_0x214ab2[_0x312997(0x1cd)]()===_0x312997(0x183))_0x254b75['push'](''),_0x254b75['push']('Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version');else{const _0x567fc5=_0x214ab2['options'][_0x312997(0x106)](_0x60c0b7=>!_0x3fba55(_0x60c0b7));if(_0x567fc5[_0x312997(0x2b4)]>0x0){const _0x36439a=_0x567fc5[_0x312997(0x245)](_0x4fe0f0=>{const _0x3e3ca7=_0x312997,_0x2a4f60=_0x1d1f91[_0x3e3ca7(0xf5)](_0x4fe0f0),_0x54cb4b=_0x1d1f91[_0x3e3ca7(0x14c)](_0x4fe0f0);return _0x10f7dd(_0x2a4f60,_0x54cb4b);});_0x254b75[_0x312997(0x152)](''),_0x254b75[_0x312997(0x152)](_0x312997(0x1c8)),_0x254b75['push'](_0x187b75(_0x36439a));}}const _0x4ff8b9=(_0x214ab2[_0x312997(0x2a0)]||[])[_0x312997(0x106)](_0x367677=>!_0x3fba55(_0x367677));if(_0x4ff8b9[_0x312997(0x2b4)]>0x0){const _0x4366ab=_0x4ff8b9[_0x312997(0x245)](_0x410c8a=>{const _0x24ef89=_0x312997,_0x290c33=_0x1d1f91[_0x24ef89(0x306)](_0x410c8a),_0x5f448b=_0x1d1f91[_0x24ef89(0x202)](_0x410c8a);return _0x10f7dd(_0x290c33,_0x5f448b);});_0x254b75[_0x312997(0x152)](''),_0x254b75[_0x312997(0x152)](_0x312997(0x329)),_0x254b75[_0x312997(0x152)](_0x187b75(_0x4366ab));}return _0x254b75[_0x312997(0x220)]('\x0a')+'\x0a';},'subcommandTerm':_0x796f57=>{const _0x224d37=a2_0x53bc94,_0x4ae2c9=(_0x796f57['registeredArguments']||[])['map'](_0x3f9750=>_0x3f9750[_0x224d37(0x232)]?'<'+_0x3f9750[_0x224d37(0x1cd)]()+'>':'['+_0x3f9750['name']()+']')[_0x224d37(0x220)]('\x20'),_0x14609d=_0x796f57[_0x224d37(0x30c)](),_0x5372a3=_0x14609d[_0x224d37(0x2b4)]>0x0?_0x796f57[_0x224d37(0x1cd)]()+',\x20'+_0x14609d[_0x224d37(0x220)](',\x20'):_0x796f57[_0x224d37(0x1cd)]();return _0x4ae2c9?_0x5372a3+'\x20'+_0x4ae2c9:_0x5372a3;}}),program['hook'](a2_0x53bc94(0x27b),_0x27bda3=>{const _0x28b507=a2_0x53bc94,_0x456bc3=_0x27bda3[_0x28b507(0x216)]();if(_0x456bc3['directory']){const _0x14c7c6=resolve(_0x456bc3[_0x28b507(0x29a)]),_0x4c43ae=_0x14c7c6!==_0x456bc3[_0x28b507(0x29a)]?'\x20(resolved\x20to\x20'+_0x14c7c6+')':'';if(!existsSync(_0x14c7c6))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Directory\x20does\x20not\x20exist:\x20'+_0x456bc3[_0x28b507(0x29a)]+_0x4c43ae,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x4ffae5=statSync(_0x14c7c6);if(!_0x4ffae5['isDirectory']())throw new SDKError(ErrorCode[_0x28b507(0x199)],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x456bc3[_0x28b507(0x29a)]+_0x4c43ae,undefined,{'helpText':_0x28b507(0x162)});process[_0x28b507(0x2a4)](_0x14c7c6);}if(!_0x456bc3[_0x28b507(0x23a)]){if(_0x456bc3[_0x28b507(0x21f)])_0x456bc3[_0x28b507(0x23a)]='table';else{if(_0x456bc3['json'])_0x456bc3[_0x28b507(0x23a)]='json';else{if(_0x456bc3[_0x28b507(0x204)])_0x456bc3[_0x28b507(0x23a)]='jsonl';else _0x456bc3['tsv']&&(_0x456bc3['format']=_0x28b507(0x290));}}}if(_0x456bc3[_0x28b507(0x294)])_0x456bc3[_0x28b507(0x1bb)]=LogLevel[_0x28b507(0x16b)];else{if(_0x456bc3[_0x28b507(0x366)])_0x456bc3[_0x28b507(0x1bb)]=LogLevel['DEBUG'];else _0x456bc3[_0x28b507(0x1bb)]===undefined&&(_0x456bc3['logLevel']=LogLevel[_0x28b507(0x324)]);}});async function createTDXInstance(_0x40ec92){const _0x3d9dda=a2_0x53bc94,_0x3c01eb=await GlobalContext[_0x3d9dda(0x24b)](_0x40ec92);return _0x3c01eb[_0x3d9dda(0x337)](_0x40ec92),TDX[_0x3d9dda(0xda)]({'site':_0x3c01eb[_0x3d9dda(0x16d)],'apiKey':_0x3c01eb[_0x3d9dda(0x33c)],'accessToken':_0x3c01eb['accessToken'],'logLevel':_0x3c01eb[_0x3d9dda(0x1bb)],'profile':_0x3c01eb[_0x3d9dda(0xf4)]});}const databaseCmd=program[a2_0x53bc94(0x1b8)]('database')[a2_0x53bc94(0x23d)]('db')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x295)),databaseListAction=async(_0x542acb,_0x1bfb97)=>{const _0x29bb78=a2_0x53bc94,_0x2f2154=new DatabasesCommand(),_0x316584=program[_0x29bb78(0x216)](),_0x2aa0c2=await createTDXInstance(_0x316584),_0x2d90f2=await _0x2f2154[_0x29bb78(0x1d9)]({'options':{..._0x316584,..._0x1bfb97},'args':_0x542acb?[_0x542acb]:[],'tdx':_0x2aa0c2});gracefulExit(_0x2d90f2);};databaseCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x14f))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x19a))[a2_0x53bc94(0x17d)](databaseListAction),program[a2_0x53bc94(0x1b8)]('databases\x20[pattern]',{'hidden':!![]})[a2_0x53bc94(0xe0)](a2_0x53bc94(0x1e8))[a2_0x53bc94(0x17d)](databaseListAction),program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x32f))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x111))['option']('--agent\x20<ref>',a2_0x53bc94(0x36b))[a2_0x53bc94(0x228)](a2_0x53bc94(0x1fa),'Start\x20a\x20new\x20chat\x20session')[a2_0x53bc94(0x228)](a2_0x53bc94(0x157),a2_0x53bc94(0x169))[a2_0x53bc94(0x228)](a2_0x53bc94(0x18c),a2_0x53bc94(0xd8))[a2_0x53bc94(0x17d)](async(_0x501d85,_0x4452be)=>{const _0x265d5f=a2_0x53bc94,_0xe3d0c3=program[_0x265d5f(0x216)](),_0x525d7a=await createTDXInstance(_0xe3d0c3);if(_0x501d85[0x0]==='create'){const _0x5cb228=new ChatCreateCommand();gracefulExit(await _0x5cb228[_0x265d5f(0x1d9)]({'options':{..._0xe3d0c3,..._0x4452be},'args':_0x501d85[_0x265d5f(0xcc)](0x1),'tdx':_0x525d7a}));return;}const _0xc331d1=new ChatCommand(),_0x5bb7ee=await _0xc331d1[_0x265d5f(0x1d9)]({'options':{..._0xe3d0c3,..._0x4452be},'args':_0x501d85,'tdx':_0x525d7a});gracefulExit(_0x5bb7ee);});const apiCmd=program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x381))[a2_0x53bc94(0x31a)](a2_0x53bc94(0x2d9))[a2_0x53bc94(0x219)](a2_0x53bc94(0x302),a2_0x53bc94(0x2e6))[a2_0x53bc94(0x228)](a2_0x53bc94(0x14e),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a2_0x53bc94(0x154))[a2_0x53bc94(0x228)]('--data\x20<data>',a2_0x53bc94(0x1eb))['option']('-f,\x20--file\x20<path>',a2_0x53bc94(0x233))[a2_0x53bc94(0x228)]('-H,\x20--header\x20<header>','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x23bec5,_0x3a532a)=>{return _0x3a532a?[..._0x3a532a,_0x23bec5]:[_0x23bec5];})[a2_0x53bc94(0x228)](a2_0x53bc94(0x2ac),a2_0x53bc94(0x135),'td')[a2_0x53bc94(0x17d)](async(_0x55553a,_0x10358c)=>{const _0x9571b7=a2_0x53bc94;if(!_0x55553a){apiCmd['help']();return;}const _0x216018=new ApiCommand(),_0x1ca72b=program[_0x9571b7(0x216)](),_0x32272a=await createTDXInstance(_0x1ca72b),_0x5ea208=await _0x216018['run']({'options':{..._0x1ca72b,..._0x10358c},'args':[_0x55553a],'tdx':_0x32272a});gracefulExit(_0x5ea208);});program['command']('mcp')[a2_0x53bc94(0xe0)]('Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration')[a2_0x53bc94(0x219)](a2_0x53bc94(0x302),'\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a')[a2_0x53bc94(0x17d)](async _0x271175=>{const _0x51dea2=a2_0x53bc94,_0x15c595=new MCPCommand(),_0x29b9ee=program[_0x51dea2(0x216)](),_0x16b9fd=await createTDXInstance(_0x29b9ee),_0x37fb8d=await _0x15c595['run']({'options':{..._0x29b9ee,..._0x271175},'args':[],'tdx':_0x16b9fd});gracefulExit(_0x37fb8d);});const tableCmd=program['command'](a2_0x53bc94(0x21f))[a2_0x53bc94(0xe0)]('Table\x20management\x20commands'),tableListAction=async(_0x5b4e7,_0x47e6dc)=>{const _0x35e493=a2_0x53bc94,_0x1e05c7=new TablesCommand(),_0x433cde=program[_0x35e493(0x216)](),_0x12ba8c=await createTDXInstance(_0x433cde);_0x47e6dc['in']&&(_0x47e6dc[_0x35e493(0x100)]=_0x47e6dc['in']);const _0x7ddd6e=await _0x1e05c7[_0x35e493(0x1d9)]({'options':{..._0x433cde,..._0x47e6dc},'args':_0x5b4e7?[_0x5b4e7]:[],'tdx':_0x12ba8c});gracefulExit(_0x7ddd6e);};tableCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x14f))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x11f))[a2_0x53bc94(0x228)](a2_0x53bc94(0x1a1),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x53bc94(0x228)](a2_0x53bc94(0xf1),a2_0x53bc94(0x240))[a2_0x53bc94(0x17d)](tableListAction),program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0xdc),{'hidden':!![]})[a2_0x53bc94(0xe0)](a2_0x53bc94(0x1c4))[a2_0x53bc94(0x228)](a2_0x53bc94(0x1a1),a2_0x53bc94(0xea))[a2_0x53bc94(0x228)](a2_0x53bc94(0xf1),a2_0x53bc94(0x240))[a2_0x53bc94(0x17d)](tableListAction),program[a2_0x53bc94(0x1b8)]('show\x20[table]')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x385))[a2_0x53bc94(0x228)]('-d,\x20--database\x20<database>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x53bc94(0x228)](a2_0x53bc94(0xf1),a2_0x53bc94(0x240))[a2_0x53bc94(0x17d)](async(_0x4db90a,_0x5c6a7a)=>{const _0x1c1036=a2_0x53bc94,_0x347853=new ShowCommand(),_0x10f202=program[_0x1c1036(0x216)](),_0x5e05d4=await createTDXInstance(_0x10f202);_0x5c6a7a['in']&&(_0x5c6a7a[_0x1c1036(0x100)]=_0x5c6a7a['in']);const _0x5e2920=await _0x347853['run']({'options':{..._0x10f202,..._0x5c6a7a},'args':_0x4db90a?[_0x4db90a]:[],'tdx':_0x5e05d4});gracefulExit(_0x5e2920);}),program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x284))[a2_0x53bc94(0x23d)](a2_0x53bc94(0x1ce))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x23c))[a2_0x53bc94(0x228)](a2_0x53bc94(0x1a1),a2_0x53bc94(0x326))[a2_0x53bc94(0x228)]('--in\x20<database>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x53bc94(0x17d)](async(_0x11750e,_0x5117bc)=>{const _0x3f2cd5=a2_0x53bc94,_0x35637d=new DescribeCommand(),_0x55d728=program[_0x3f2cd5(0x216)](),_0xa818ef=await createTDXInstance(_0x55d728);_0x5117bc['in']&&(_0x5117bc[_0x3f2cd5(0x100)]=_0x5117bc['in']);const _0x2fab43=await _0x35637d['run']({'options':{..._0x55d728,..._0x5117bc},'args':_0x11750e?[_0x11750e]:[],'tdx':_0xa818ef});gracefulExit(_0x2fab43);}),program['command'](a2_0x53bc94(0x1af))['description'](a2_0x53bc94(0x15b))[a2_0x53bc94(0x228)](a2_0x53bc94(0x1a1),a2_0x53bc94(0x1df))[a2_0x53bc94(0x228)]('--in\x20<database>',a2_0x53bc94(0x240))[a2_0x53bc94(0x228)](a2_0x53bc94(0xf8),a2_0x53bc94(0x331))[a2_0x53bc94(0x228)]('-f,\x20--file\x20<path>','Read\x20SQL\x20query\x20from\x20file')[a2_0x53bc94(0x228)](a2_0x53bc94(0x350),a2_0x53bc94(0x27c))[a2_0x53bc94(0x17d)](async(_0xf15f45,_0x6f041e)=>{const _0x58bd31=a2_0x53bc94,_0x46585c=new QueryCommand(),_0xa95e45=program['opts'](),_0x3de728=await createTDXInstance(_0xa95e45);_0x6f041e['in']&&(_0x6f041e[_0x58bd31(0x100)]=_0x6f041e['in']);const _0xfab4dc=await _0x46585c['run']({'options':mergeCommandOptions(_0xa95e45,_0x6f041e),'args':_0xf15f45?[_0xf15f45]:[],'tdx':_0x3de728});gracefulExit(_0xfab4dc);});const segmentCmd=program['command']('segment')[a2_0x53bc94(0x23d)]('sg')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x1a2)),segmentListAction=async(_0x3dba4c,_0xefe978)=>{const _0x53b408=a2_0x53bc94,_0x27d03f=new SegmentsCommand(),_0xfb4648=program[_0x53b408(0x216)](),_0x1f59df=await createTDXInstance(_0xfb4648),_0xc74bba=await _0x27d03f[_0x53b408(0x1d9)]({'options':{..._0xfb4648,..._0xefe978},'args':_0x3dba4c?[_0x3dba4c]:[],'tdx':_0x1f59df});gracefulExit(_0xc74bba);};segmentCmd['command'](a2_0x53bc94(0x168))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x373))[a2_0x53bc94(0x228)](a2_0x53bc94(0x386),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x53bc94(0x228)](a2_0x53bc94(0x32b),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x53bc94(0x17d)](segmentListAction),program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x212),{'hidden':!![]})[a2_0x53bc94(0xe0)](a2_0x53bc94(0x21c))[a2_0x53bc94(0x228)](a2_0x53bc94(0x386),a2_0x53bc94(0x247))['option'](a2_0x53bc94(0x32b),a2_0x53bc94(0x23f),'10')[a2_0x53bc94(0x17d)](segmentListAction),segmentCmd[a2_0x53bc94(0x1b8)]('use\x20<path>',{'hidden':!![]})['description'](a2_0x53bc94(0x124))[a2_0x53bc94(0x17d)](async(_0x425e63,_0x5c3c6e)=>{const _0x10f723=a2_0x53bc94,_0x596b30=new SegmentUseCommand(),_0x1dbc5e=program[_0x10f723(0x216)](),_0x8fe9a1=await createTDXInstance(_0x1dbc5e),_0x3ab5d7=await _0x596b30[_0x10f723(0x1d9)]({'options':{..._0x1dbc5e,..._0x5c3c6e},'args':[_0x425e63],'tdx':_0x8fe9a1});gracefulExit(_0x3ab5d7);});const segmentViewAction=async(_0x16870f,_0x1c5b88)=>{const _0x4b09f5=a2_0x53bc94,_0x12be01=new SegmentViewCommand(),_0x42e144=program['opts'](),_0x5aac2d=await createTDXInstance(_0x42e144),_0x2cfd2e=await _0x12be01[_0x4b09f5(0x1d9)]({'options':{..._0x42e144,..._0x1c5b88},'args':_0x16870f?[_0x16870f]:[],'tdx':_0x5aac2d});gracefulExit(_0x2cfd2e);};segmentCmd['command'](a2_0x53bc94(0xf9))['description'](a2_0x53bc94(0x171))[a2_0x53bc94(0x228)](a2_0x53bc94(0x1f8),'Open\x20segment\x20in\x20web\x20browser')[a2_0x53bc94(0x17d)](segmentViewAction),segmentCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x201),{'hidden':!![]})[a2_0x53bc94(0x23d)](a2_0x53bc94(0x1f7))[a2_0x53bc94(0x228)]('-w,\x20--web','Open\x20segment\x20in\x20web\x20browser')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x2c2))['action'](segmentViewAction),segmentCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x13a))['description']('Show\x20segment\x20schema\x20(column\x20types)')['action'](async(_0x5d58be,_0x36668)=>{const _0x122b66=a2_0x53bc94,_0x47d25d=new SegmentDescCommand(),_0xe96243=program['opts'](),_0x3eb3f7=await createTDXInstance(_0xe96243),_0x243bdf=await _0x47d25d[_0x122b66(0x1d9)]({'options':{..._0xe96243,..._0x36668},'args':_0x5d58be?[_0x5d58be]:[],'tdx':_0x3eb3f7});gracefulExit(_0x243bdf);}),segmentCmd['command'](a2_0x53bc94(0xe1))[a2_0x53bc94(0xe0)](a2_0x53bc94(0xd6))[a2_0x53bc94(0x17d)](async(_0x571066,_0x50f05a)=>{const _0xa341ba=a2_0x53bc94,_0x373a45=new SegmentShowCommand(),_0x1ee62f=program[_0xa341ba(0x216)](),_0x11dd0a=await createTDXInstance(_0x1ee62f),_0x5b238a=await _0x373a45[_0xa341ba(0x1d9)]({'options':{..._0x1ee62f,..._0x50f05a},'args':_0x571066?[_0x571066]:[],'tdx':_0x11dd0a});gracefulExit(_0x5b238a);}),segmentCmd['command']('folders\x20<parent_name>',{'hidden':!![]})[a2_0x53bc94(0xe0)]('[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)')[a2_0x53bc94(0x17d)](async(_0x595b01,_0x235673)=>{const _0xbb7765=a2_0x53bc94,_0x3314a1=new SegmentFolderListCommand(),_0x48454a=program[_0xbb7765(0x216)](),_0x1cd8c9=await createTDXInstance(_0x48454a),_0x45e9e8=await _0x3314a1[_0xbb7765(0x1d9)]({'options':{..._0x48454a,..._0x235673},'args':[_0x595b01],'tdx':_0x1cd8c9});gracefulExit(_0x45e9e8);});const folderCmd=segmentCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x2dd),{'hidden':!![]})[a2_0x53bc94(0xe0)]('[DEPRECATED]\x20Segment\x20folder\x20management');folderCmd[a2_0x53bc94(0x1b8)]('show\x20<folder_ref>')[a2_0x53bc94(0xe0)]('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')[a2_0x53bc94(0x17d)](async(_0x387e11,_0x5c62a0)=>{const _0xcfa110=a2_0x53bc94,_0x1e35a9=new SegmentFolderShowCommand(),_0x297d2b=program[_0xcfa110(0x216)](),_0x23d233=await createTDXInstance(_0x297d2b),_0x36bc09=await _0x1e35a9['run']({'options':{..._0x297d2b,..._0x5c62a0},'args':[_0x387e11],'tdx':_0x23d233});gracefulExit(_0x36bc09);}),segmentCmd['command'](a2_0x53bc94(0x288))['description'](a2_0x53bc94(0xd9))['option'](a2_0x53bc94(0x103),a2_0x53bc94(0x20b))['action'](async(_0x33e6d9,_0x511093)=>{const _0x4b541a=a2_0x53bc94,_0x19e66c=new SegmentSQLCommand(),_0x1f7313=program[_0x4b541a(0x216)](),_0x460378=await createTDXInstance(_0x1f7313),_0x30168a=await _0x19e66c['run']({'options':{..._0x1f7313,..._0x511093},'args':_0x33e6d9?[_0x33e6d9]:[],'tdx':_0x460378});gracefulExit(_0x30168a);}),segmentCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x10b))[a2_0x53bc94(0xe0)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)')[a2_0x53bc94(0x17d)](async(_0xb0e225,_0x694d1c)=>{const _0x94f9fd=a2_0x53bc94,_0x6d2902=new SegmentFieldsCommand(),_0x54394d=program['opts'](),_0x5af0e9=await createTDXInstance(_0x54394d),_0x348027=await _0x6d2902[_0x94f9fd(0x1d9)]({'options':{..._0x54394d,..._0x694d1c},'args':_0xb0e225?[_0xb0e225]:[],'tdx':_0x5af0e9});gracefulExit(_0x348027);}),segmentCmd[a2_0x53bc94(0x1b8)]('pull\x20[parent_or_file]')['description']('Pull\x20child\x20segments\x20to\x20YAML\x20files')['option'](a2_0x53bc94(0x14b),a2_0x53bc94(0x187))[a2_0x53bc94(0x17d)](async(_0x3f5983,_0x5cdc11)=>{const _0x5a4c29=a2_0x53bc94,_0x1f88e0=new SegmentPullCommand(),_0x1fb79c=program[_0x5a4c29(0x216)](),_0xab19bf=await createTDXInstance(_0x1fb79c),_0x5b0b1d=await _0x1f88e0[_0x5a4c29(0x1d9)]({'options':{..._0x1fb79c,..._0x5cdc11},'args':_0x3f5983?[_0x3f5983]:[],'tdx':_0xab19bf});gracefulExit(_0x5b0b1d);}),segmentCmd['command']('push\x20[parent_or_file]')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x173))[a2_0x53bc94(0x228)](a2_0x53bc94(0x14b),a2_0x53bc94(0x187))[a2_0x53bc94(0x228)]('--delete','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)')[a2_0x53bc94(0x17d)](async(_0x5ce4a0,_0x2142b8)=>{const _0x9c21bc=a2_0x53bc94,_0x2e0fe4=new SegmentPushCommand(),_0x4dfcd5=program[_0x9c21bc(0x216)](),_0x52cf54=await createTDXInstance(_0x4dfcd5),_0x3bf688=await _0x2e0fe4[_0x9c21bc(0x1d9)]({'options':{..._0x4dfcd5,..._0x2142b8},'args':_0x5ce4a0?[_0x5ce4a0]:[],'tdx':_0x52cf54});gracefulExit(_0x3bf688);}),segmentCmd['command']('validate\x20[target]')[a2_0x53bc94(0xe0)]('Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally')[a2_0x53bc94(0x17d)](async(_0x2fd107,_0x32f82d)=>{const _0x222d65=a2_0x53bc94,_0x23964e=new SegmentValidateCommand(),_0x26f38b=program[_0x222d65(0x216)](),_0x4f3f1a=await createTDXInstance(_0x26f38b),_0x392c8d=await _0x23964e[_0x222d65(0x1d9)]({'options':{..._0x26f38b,..._0x32f82d},'args':_0x2fd107?[_0x2fd107]:[],'tdx':_0x4f3f1a});gracefulExit(_0x392c8d);}),segmentCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x17c),{'hidden':!![]})[a2_0x53bc94(0xe0)](a2_0x53bc94(0x33e))[a2_0x53bc94(0x228)]('--description\x20<text>',a2_0x53bc94(0x262))[a2_0x53bc94(0x228)](a2_0x53bc94(0x175),'Filtering\x20rule\x20as\x20JSON\x20string')[a2_0x53bc94(0x228)](a2_0x53bc94(0x176),a2_0x53bc94(0x147))['option'](a2_0x53bc94(0x1e7),'Folder\x20name\x20for\x20organization')[a2_0x53bc94(0x228)](a2_0x53bc94(0x119),a2_0x53bc94(0x1f4))[a2_0x53bc94(0x228)](a2_0x53bc94(0x31f),a2_0x53bc94(0x349))[a2_0x53bc94(0x228)](a2_0x53bc94(0x2f8),a2_0x53bc94(0x25f))[a2_0x53bc94(0x17d)](async(_0x7b7c84,_0x3b8fa7)=>{const _0x26924f=a2_0x53bc94,_0x2b30cf=new SegmentCreateCommand(),_0x3b8d08=program[_0x26924f(0x216)](),_0x19a5c9=await createTDXInstance(_0x3b8d08),_0x29c2f1=await _0x2b30cf[_0x26924f(0x1d9)]({'options':{..._0x3b8d08,..._0x3b8fa7},'args':[_0x7b7c84],'tdx':_0x19a5c9});gracefulExit(_0x29c2f1);}),segmentCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x2ed),{'hidden':!![]})['description'](a2_0x53bc94(0x361))[a2_0x53bc94(0x228)](a2_0x53bc94(0xe9),a2_0x53bc94(0x2e2))[a2_0x53bc94(0x228)](a2_0x53bc94(0x104),a2_0x53bc94(0x237))[a2_0x53bc94(0x228)](a2_0x53bc94(0x175),a2_0x53bc94(0x31b))['option']('--rule-file\x20<file>',a2_0x53bc94(0x344))['option'](a2_0x53bc94(0x1e7),a2_0x53bc94(0x1cc))[a2_0x53bc94(0x228)](a2_0x53bc94(0x119),a2_0x53bc94(0x1f4))[a2_0x53bc94(0x17d)](async(_0x10ad75,_0x2081fe)=>{const _0x5a70a6=new SegmentUpdateCommand(),_0x235b21=program['opts'](),_0x30c5c2=await createTDXInstance(_0x235b21),_0x9811e=await _0x5a70a6['run']({'options':{..._0x235b21,..._0x2081fe},'args':[_0x10ad75],'tdx':_0x30c5c2});gracefulExit(_0x9811e);});const parentCmd=segmentCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x2a7),{'hidden':!![]})[a2_0x53bc94(0xe0)](a2_0x53bc94(0x118)),parentListAction=async(_0xdd2116,_0x334c1a)=>{const _0x4ab9b2=a2_0x53bc94,_0x49fe91=new ParentSegmentListCommand(),_0x25eb4e=program[_0x4ab9b2(0x216)](),_0x37b5db=await createTDXInstance(_0x25eb4e),_0x4d97c3=await _0x49fe91[_0x4ab9b2(0x1d9)]({'options':{..._0x25eb4e,..._0x334c1a},'args':_0xdd2116?[_0xdd2116]:[],'tdx':_0x37b5db});gracefulExit(_0x4d97c3);};parentCmd['command'](a2_0x53bc94(0x14f))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x1b9))['action'](parentListAction),segmentCmd['command'](a2_0x53bc94(0x186),{'hidden':!![]})[a2_0x53bc94(0xe0)](a2_0x53bc94(0x15c))['action'](parentListAction),parentCmd[a2_0x53bc94(0x1b8)]('pull\x20[name]')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x2d7))['option']('-o,\x20--output\x20<file>','Output\x20file\x20path\x20(default:\x20<name>.yml)')[a2_0x53bc94(0x17d)](async(_0xea4538,_0x5aea4b)=>{const _0x421d0a=a2_0x53bc94,_0x1c008f=new ParentSegmentPullCommand(),_0x29f4bc=program[_0x421d0a(0x216)](),_0x86a2d8=await createTDXInstance(_0x29f4bc),_0x1d52f2=await _0x1c008f[_0x421d0a(0x1d9)]({'options':{..._0x29f4bc,..._0x5aea4b},'args':_0xea4538?[_0xea4538]:[],'tdx':_0x86a2d8});gracefulExit(_0x1d52f2);}),parentCmd['command'](a2_0x53bc94(0x33b))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x123))[a2_0x53bc94(0x17d)](async(_0x246efb,_0x2a88cd)=>{const _0x58cb5e=a2_0x53bc94,_0x7f25db=new ParentSegmentPushCommand(),_0x32c81c=program[_0x58cb5e(0x216)](),_0x11124c=await createTDXInstance(_0x32c81c),_0x3f7f57=await _0x7f25db['run']({'options':{..._0x32c81c,..._0x2a88cd},'args':_0x246efb?[_0x246efb]:[],'tdx':_0x11124c});gracefulExit(_0x3f7f57);}),parentCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x13e))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x351))[a2_0x53bc94(0x228)](a2_0x53bc94(0x1d7),'Show\x20only\x20master\x20table\x20validation')[a2_0x53bc94(0x228)](a2_0x53bc94(0x387),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')['option'](a2_0x53bc94(0xdd),a2_0x53bc94(0x2eb))['option']('--enriched',a2_0x53bc94(0x2d6))['option'](a2_0x53bc94(0x36a),a2_0x53bc94(0x223),a2_0x53bc94(0x339))[a2_0x53bc94(0x17d)](async(_0x63e9e9,_0x56ea03)=>{const _0x5e79f9=a2_0x53bc94,_0x5cf645=new ParentSegmentValidateCommand(),_0x32af2c=program[_0x5e79f9(0x216)](),_0x213d7b=await createTDXInstance(_0x32af2c),_0x3c5d5f=await _0x5cf645['run']({'options':{..._0x32af2c,..._0x56ea03},'args':_0x63e9e9?[_0x63e9e9]:[],'tdx':_0x213d7b});gracefulExit(_0x3c5d5f);}),parentCmd['command'](a2_0x53bc94(0x1ad))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x2ea))[a2_0x53bc94(0x228)](a2_0x53bc94(0x1d7),a2_0x53bc94(0x27a))[a2_0x53bc94(0x228)](a2_0x53bc94(0x387),a2_0x53bc94(0x268))[a2_0x53bc94(0x228)](a2_0x53bc94(0xdd),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x53bc94(0x228)]('--enriched',a2_0x53bc94(0x377))[a2_0x53bc94(0x228)](a2_0x53bc94(0x36a),a2_0x53bc94(0x223),a2_0x53bc94(0x339))[a2_0x53bc94(0x17d)](async(_0x2b88f1,_0x8abe62)=>{const _0x27e5b6=a2_0x53bc94,_0x473cad=new ParentSegmentPreviewCommand(),_0x31a573=program[_0x27e5b6(0x216)](),_0xbef786=await createTDXInstance(_0x31a573),_0x11b67a=await _0x473cad[_0x27e5b6(0x1d9)]({'options':{..._0x31a573,..._0x8abe62},'args':_0x2b88f1?[_0x2b88f1]:[],'tdx':_0xbef786});gracefulExit(_0x11b67a);}),parentCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x31d))[a2_0x53bc94(0xe0)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x53bc94(0x17d)](async(_0xfa0e,_0x528c1c)=>{const _0xec3e58=a2_0x53bc94,_0x4e715f=new ParentSegmentRunCommand(),_0x472db5=program[_0xec3e58(0x216)](),_0x121a74=await createTDXInstance(_0x472db5),_0x7c98e=await _0x4e715f[_0xec3e58(0x1d9)]({'options':{..._0x472db5,..._0x528c1c},'args':_0xfa0e?[_0xfa0e]:[],'tdx':_0x121a74});gracefulExit(_0x7c98e);});const parentSegmentCmd=program['command'](a2_0x53bc94(0x371))[a2_0x53bc94(0x23d)]('ps')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x35a));parentSegmentCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x14f))[a2_0x53bc94(0xe0)]('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')['action'](parentListAction),parentSegmentCmd['command'](a2_0x53bc94(0x1e6))['description'](a2_0x53bc94(0x1ab))[a2_0x53bc94(0x228)](a2_0x53bc94(0x25c),'Output\x20file\x20path')[a2_0x53bc94(0x228)](a2_0x53bc94(0x362),a2_0x53bc94(0x321))[a2_0x53bc94(0x17d)](async(_0x1d41de,_0x17259d)=>{const _0x55b0df=a2_0x53bc94,_0x18bcd2=new ParentSegmentPullCommand(),_0x232a19=program[_0x55b0df(0x216)](),_0xbb8529=await createTDXInstance(_0x232a19),_0x47baa6=await _0x18bcd2[_0x55b0df(0x1d9)]({'options':{..._0x232a19,..._0x17259d},'args':_0x1d41de?[_0x1d41de]:[],'tdx':_0xbb8529});gracefulExit(_0x47baa6);}),parentSegmentCmd['command'](a2_0x53bc94(0x2c3))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x32a))['action'](async(_0x335246,_0x491a89)=>{const _0x5ecd1a=new ParentSegmentPushCommand(),_0x49fcfb=program['opts'](),_0x17a365=await createTDXInstance(_0x49fcfb),_0x1501e3=await _0x5ecd1a['run']({'options':{..._0x49fcfb,..._0x491a89},'args':_0x335246?[_0x335246]:[],'tdx':_0x17a365});gracefulExit(_0x1501e3);}),parentSegmentCmd['command'](a2_0x53bc94(0x2cb))[a2_0x53bc94(0xe0)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x53bc94(0x228)](a2_0x53bc94(0x1d7),a2_0x53bc94(0x2f4))[a2_0x53bc94(0x228)](a2_0x53bc94(0x387),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x53bc94(0x228)](a2_0x53bc94(0xdd),a2_0x53bc94(0x2eb))[a2_0x53bc94(0x228)]('--enriched',a2_0x53bc94(0x2d6))[a2_0x53bc94(0x228)](a2_0x53bc94(0x36a),a2_0x53bc94(0x223),a2_0x53bc94(0x339))[a2_0x53bc94(0x17d)](async(_0xc13994,_0x244a90)=>{const _0x251db6=a2_0x53bc94,_0x3261e9=new ParentSegmentValidateCommand(),_0x42fc80=program[_0x251db6(0x216)](),_0xf429a6=await createTDXInstance(_0x42fc80),_0x23e70c=await _0x3261e9[_0x251db6(0x1d9)]({'options':{..._0x42fc80,..._0x244a90},'args':_0xc13994?[_0xc13994]:[],'tdx':_0xf429a6});gracefulExit(_0x23e70c);}),parentSegmentCmd[a2_0x53bc94(0x1b8)]('preview\x20[name]')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x2ea))[a2_0x53bc94(0x228)](a2_0x53bc94(0x1d7),a2_0x53bc94(0x27a))['option'](a2_0x53bc94(0x387),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x53bc94(0x228)]('--behavior\x20[name]',a2_0x53bc94(0x1e2))['option']('--enriched',a2_0x53bc94(0x377))[a2_0x53bc94(0x228)](a2_0x53bc94(0x36a),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x53bc94(0x339))[a2_0x53bc94(0x17d)](async(_0x264a52,_0x1e92f3)=>{const _0x56fe25=new ParentSegmentPreviewCommand(),_0x54d16b=program['opts'](),_0x19601b=await createTDXInstance(_0x54d16b),_0x41ec60=await _0x56fe25['run']({'options':{..._0x54d16b,..._0x1e92f3},'args':_0x264a52?[_0x264a52]:[],'tdx':_0x19601b});gracefulExit(_0x41ec60);}),parentSegmentCmd[a2_0x53bc94(0x1b8)]('run\x20[name]')[a2_0x53bc94(0xe0)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x53bc94(0x17d)](async(_0x13547c,_0x17e365)=>{const _0x147b75=a2_0x53bc94,_0x123d1a=new ParentSegmentRunCommand(),_0x157c9e=program['opts'](),_0x422ce8=await createTDXInstance(_0x157c9e),_0x2a03ab=await _0x123d1a[_0x147b75(0x1d9)]({'options':{..._0x157c9e,..._0x17e365},'args':_0x13547c?[_0x13547c]:[],'tdx':_0x422ce8});gracefulExit(_0x2a03ab);}),parentSegmentCmd['command'](a2_0x53bc94(0x35b))['description']('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x53bc94(0x228)](a2_0x53bc94(0x2d4),a2_0x53bc94(0x18f))[a2_0x53bc94(0x228)](a2_0x53bc94(0x28e),a2_0x53bc94(0x10d))['action'](async(_0x1577d8,_0x26009a)=>{const _0x447ce2=a2_0x53bc94,_0x54de13=new ParentSegmentFieldsCommand(),_0x3d73e2=program['opts'](),_0x1f445a=await createTDXInstance(_0x3d73e2),_0x393ad6=await _0x54de13[_0x447ce2(0x1d9)]({'options':{..._0x3d73e2,..._0x26009a},'args':_0x1577d8?[_0x1577d8]:[],'tdx':_0x1f445a});gracefulExit(_0x393ad6);}),parentSegmentCmd[a2_0x53bc94(0x1b8)]('view\x20[name]')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x325))[a2_0x53bc94(0x228)](a2_0x53bc94(0x1f8),a2_0x53bc94(0x1be))[a2_0x53bc94(0x228)](a2_0x53bc94(0x2d4),a2_0x53bc94(0x18f))[a2_0x53bc94(0x228)](a2_0x53bc94(0x28e),a2_0x53bc94(0x10d))[a2_0x53bc94(0x17d)](async(_0x55d548,_0xee2e15)=>{const _0x259620=a2_0x53bc94,_0x2ecbee=new ParentSegmentViewCommand(),_0x42da03=program[_0x259620(0x216)](),_0x548e48=await createTDXInstance(_0x42da03),_0x56f9d5=await _0x2ecbee[_0x259620(0x1d9)]({'options':{..._0x42da03,..._0xee2e15},'args':_0x55d548?[_0x55d548]:[],'tdx':_0x548e48});gracefulExit(_0x56f9d5);}),parentSegmentCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x12c))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x153))[a2_0x53bc94(0x228)](a2_0x53bc94(0x25c),a2_0x53bc94(0x1aa))['option'](a2_0x53bc94(0x2d4),a2_0x53bc94(0x18f))[a2_0x53bc94(0x228)]('--jsonl',a2_0x53bc94(0x10d))[a2_0x53bc94(0x17d)](async(_0x35c57f,_0x261876)=>{const _0x8c82f4=a2_0x53bc94,_0x3bbb2e=new ParentSegmentDescCommand(),_0xb9dbd1=program['opts'](),_0xaee410=await createTDXInstance(_0xb9dbd1),_0x3de453=await _0x3bbb2e[_0x8c82f4(0x1d9)]({'options':{..._0xb9dbd1,..._0x261876},'args':_0x35c57f?[_0x35c57f]:[],'tdx':_0xaee410});gracefulExit(_0x3de453);}),parentSegmentCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x323))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x2e4))[a2_0x53bc94(0x228)](a2_0x53bc94(0x2d4),a2_0x53bc94(0x18f))['option']('--jsonl','Output\x20as\x20JSON\x20Lines')[a2_0x53bc94(0x17d)](async(_0x329969,_0x4f1273)=>{const _0x576d55=new ParentSegmentSQLCommand(),_0x317027=program['opts'](),_0x152b24=await createTDXInstance(_0x317027),_0x2d5dad=await _0x576d55['run']({'options':{..._0x317027,..._0x4f1273},'args':_0x329969?[_0x329969]:[],'tdx':_0x152b24});gracefulExit(_0x2d5dad);}),parentSegmentCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x1b3))['description'](a2_0x53bc94(0x26f))[a2_0x53bc94(0x228)](a2_0x53bc94(0x26d),'Limit\x20number\x20of\x20rows')[a2_0x53bc94(0x228)](a2_0x53bc94(0x2d4),'Output\x20as\x20JSON')[a2_0x53bc94(0x228)](a2_0x53bc94(0x28e),'Output\x20as\x20JSON\x20Lines')[a2_0x53bc94(0x17d)](async(_0xdc152f,_0xe86a30)=>{const _0x9f2048=a2_0x53bc94,_0x52dbb2=new ParentSegmentShowCommand(),_0x1c87fb=program[_0x9f2048(0x216)](),_0x3e49e8=await createTDXInstance(_0x1c87fb),_0x460bce=await _0x52dbb2[_0x9f2048(0x1d9)]({'options':{..._0x1c87fb,..._0xe86a30},'args':_0xdc152f?[_0xdc152f]:[],'tdx':_0x3e49e8});gracefulExit(_0x460bce);}),parentSegmentCmd['command'](a2_0x53bc94(0x2ca))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x34c))[a2_0x53bc94(0x17d)](async(_0x469d25,_0x1ab920)=>{const _0x7ae994=a2_0x53bc94,_0x44ad2c=new UseCommand(),_0x225a0f=program['opts'](),_0x238414=_0x469d25?[_0x7ae994(0x1b0),_0x469d25]:[],_0x37ceed=await _0x44ad2c['run']({'options':{..._0x225a0f,..._0x1ab920},'args':_0x238414,'tdx':null});gracefulExit(_0x37ceed);});const psRtCmd=parentSegmentCmd[a2_0x53bc94(0x1b8)]('rt')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x181));psRtCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x14f))[a2_0x53bc94(0xe0)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0x53bc94(0x17d)](async(_0x1c5681,_0xa4b53)=>{const _0x140d8d=a2_0x53bc94,_0x3f1433=new PSRtListCommand(),_0x32027e=program[_0x140d8d(0x216)](),_0x4ef56d=await createTDXInstance(_0x32027e),_0x12f41a=await _0x3f1433['run']({'options':{..._0x32027e,..._0xa4b53},'args':_0x1c5681?[_0x1c5681]:[],'tdx':_0x4ef56d});gracefulExit(_0x12f41a);}),psRtCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x2cb))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x28f))[a2_0x53bc94(0x17d)](async(_0xc951ab,_0x30483e)=>{const _0x49fd19=a2_0x53bc94,_0x46af04=new PSRtValidateCommand(),_0x270e47=program[_0x49fd19(0x216)](),_0x2ffb10=await createTDXInstance(_0x270e47),_0x6c8972=await _0x46af04[_0x49fd19(0x1d9)]({'options':{..._0x270e47,..._0x30483e},'args':_0xc951ab?[_0xc951ab]:[],'tdx':_0x2ffb10});gracefulExit(_0x6c8972);});const parentRtCmd=parentCmd[a2_0x53bc94(0x1b8)]('rt',{'hidden':!![]})[a2_0x53bc94(0xe0)](a2_0x53bc94(0x181));parentRtCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x14f))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x353))['action'](async(_0x54f11a,_0x5dc3b5)=>{const _0x44d191=a2_0x53bc94,_0x56c25a=new PSRtListCommand(),_0x172bca=program[_0x44d191(0x216)](),_0x3c362f=await createTDXInstance(_0x172bca),_0xa483c8=await _0x56c25a[_0x44d191(0x1d9)]({'options':{..._0x172bca,..._0x5dc3b5},'args':_0x54f11a?[_0x54f11a]:[],'tdx':_0x3c362f});gracefulExit(_0xa483c8);}),parentRtCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x2cb))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x28f))['action'](async(_0x41bb35,_0x2c2323)=>{const _0x1c4594=a2_0x53bc94,_0x174893=new PSRtValidateCommand(),_0x3a15e9=program['opts'](),_0xbd4509=await createTDXInstance(_0x3a15e9),_0x42afb4=await _0x174893[_0x1c4594(0x1d9)]({'options':{..._0x3a15e9,..._0x2c2323},'args':_0x41bb35?[_0x41bb35]:[],'tdx':_0xbd4509});gracefulExit(_0x42afb4);});const psPzCmd=parentSegmentCmd[a2_0x53bc94(0x1b8)]('pz')['description'](a2_0x53bc94(0x379));psPzCmd['command'](a2_0x53bc94(0x1ca))[a2_0x53bc94(0xe0)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x53bc94(0x17d)](async(_0x3a26e5,_0x6c3820)=>{const _0x964f99=a2_0x53bc94,_0x5d09dd=new PSPzListCommand(),_0x35fd67=program[_0x964f99(0x216)](),_0x107387=await createTDXInstance(_0x35fd67),_0x243620=await _0x5d09dd[_0x964f99(0x1d9)]({'options':{..._0x35fd67,..._0x6c3820},'args':_0x3a26e5?[_0x3a26e5]:[],'tdx':_0x107387});gracefulExit(_0x243620);}),psPzCmd['command'](a2_0x53bc94(0x1ee))[a2_0x53bc94(0xe0)]('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x53bc94(0x17d)](async(_0x5a5324,_0x12dc9c)=>{const _0x257051=a2_0x53bc94,_0x3351db=new PSPzInitCommand(),_0x244f59=program[_0x257051(0x216)](),_0x45a03b=await createTDXInstance(_0x244f59),_0x33c4a3=await _0x3351db[_0x257051(0x1d9)]({'options':{..._0x244f59,..._0x12dc9c},'args':_0x5a5324?[_0x5a5324]:[],'tdx':_0x45a03b});gracefulExit(_0x33c4a3);});const parentPzCmd=parentCmd[a2_0x53bc94(0x1b8)]('pz',{'hidden':!![]})['description'](a2_0x53bc94(0x379));parentPzCmd[a2_0x53bc94(0x1b8)]('list\x20[name]')['description'](a2_0x53bc94(0x231))['action'](async(_0x29b5ca,_0x3c7bc6)=>{const _0x34fe2b=a2_0x53bc94,_0x2da12f=new PSPzListCommand(),_0x1b2ff9=program[_0x34fe2b(0x216)](),_0x3f65d9=await createTDXInstance(_0x1b2ff9),_0x1cd348=await _0x2da12f[_0x34fe2b(0x1d9)]({'options':{..._0x1b2ff9,..._0x3c7bc6},'args':_0x29b5ca?[_0x29b5ca]:[],'tdx':_0x3f65d9});gracefulExit(_0x1cd348);}),parentPzCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x1ee))['description'](a2_0x53bc94(0x2c5))[a2_0x53bc94(0x17d)](async(_0x75b922,_0x48d616)=>{const _0x343b60=a2_0x53bc94,_0x5e3979=new PSPzInitCommand(),_0x2b5b3e=program[_0x343b60(0x216)](),_0x5e200f=await createTDXInstance(_0x2b5b3e),_0x1f38d1=await _0x5e3979[_0x343b60(0x1d9)]({'options':{..._0x2b5b3e,..._0x48d616},'args':_0x75b922?[_0x75b922]:[],'tdx':_0x5e200f});gracefulExit(_0x1f38d1);}),parentCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x105))[a2_0x53bc94(0xe0)](a2_0x53bc94(0xfe))[a2_0x53bc94(0x2b0)](a2_0x53bc94(0xe6),a2_0x53bc94(0x2a6))[a2_0x53bc94(0x2b0)]('--table\x20<table>',a2_0x53bc94(0x138))[a2_0x53bc94(0x228)]('--description\x20<text>',a2_0x53bc94(0x2ae))[a2_0x53bc94(0x228)]('--schedule-type\x20<type>','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x53bc94(0x228)](a2_0x53bc94(0x264),a2_0x53bc94(0x1cf))[a2_0x53bc94(0x228)](a2_0x53bc94(0x304),a2_0x53bc94(0x236))[a2_0x53bc94(0x228)](a2_0x53bc94(0xcb),a2_0x53bc94(0x308))[a2_0x53bc94(0x228)](a2_0x53bc94(0x1ea),a2_0x53bc94(0x19b))[a2_0x53bc94(0x228)](a2_0x53bc94(0x11c),a2_0x53bc94(0x21d))['option'](a2_0x53bc94(0x238),a2_0x53bc94(0x2cd))[a2_0x53bc94(0x228)](a2_0x53bc94(0x292),'Customer\x20group\x20as\x20JSON\x20string')[a2_0x53bc94(0x228)]('--customer-group-file\x20<file>',a2_0x53bc94(0x11a))['action'](async(_0x11c4b8,_0xa27106)=>{const _0x5f2fbe=a2_0x53bc94,_0x1ba8cc=new ParentSegmentCreateCommand(),_0x2a44ba=program[_0x5f2fbe(0x216)](),_0x48049a=await createTDXInstance(_0x2a44ba),_0x1d8121=await _0x1ba8cc[_0x5f2fbe(0x1d9)]({'options':{..._0x2a44ba,..._0xa27106},'args':[_0x11c4b8],'tdx':_0x48049a});gracefulExit(_0x1d8121);}),parentCmd['command']('update\x20<name>')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x2c8))[a2_0x53bc94(0x228)]('--description\x20<text>',a2_0x53bc94(0x237))[a2_0x53bc94(0x228)]('--schedule-type\x20<type>',a2_0x53bc94(0x34a))[a2_0x53bc94(0x228)](a2_0x53bc94(0x264),a2_0x53bc94(0x251))['option'](a2_0x53bc94(0x304),a2_0x53bc94(0x1a4))['option'](a2_0x53bc94(0x16c),a2_0x53bc94(0x242))[a2_0x53bc94(0x228)]('--add-attributes-file\x20<file>',a2_0x53bc94(0x185))['option']('--add-behaviors\x20<json>',a2_0x53bc94(0x315))[a2_0x53bc94(0x228)](a2_0x53bc94(0x226),a2_0x53bc94(0x1b1))[a2_0x53bc94(0x17d)](async(_0x466524,_0x55d511)=>{const _0x3b8571=a2_0x53bc94,_0x2637dd=new ParentSegmentUpdateCommand(),_0x34eb95=program['opts'](),_0x78c28f=await createTDXInstance(_0x34eb95),_0x580e0f=await _0x2637dd[_0x3b8571(0x1d9)]({'options':{..._0x34eb95,..._0x55d511},'args':[_0x466524],'tdx':_0x78c28f});gracefulExit(_0x580e0f);}),folderCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x12e))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x2ce))[a2_0x53bc94(0x228)](a2_0x53bc94(0x104),a2_0x53bc94(0x214))[a2_0x53bc94(0x228)](a2_0x53bc94(0x375),'Parent\x20folder\x20name\x20for\x20nested\x20folders')[a2_0x53bc94(0x17d)](async(_0x10d1f2,_0x42c117,_0x51b1fc)=>{const _0x10d152=a2_0x53bc94,_0x1a2eaf=new SegmentFolderCreateCommand(),_0x2d04a3=program[_0x10d152(0x216)](),_0x190ace=await createTDXInstance(_0x2d04a3),_0x51d8c9=await _0x1a2eaf[_0x10d152(0x1d9)]({'options':{..._0x2d04a3,..._0x51b1fc},'args':[_0x10d1f2,_0x42c117],'tdx':_0x190ace});gracefulExit(_0x51d8c9);}),program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x2aa))['description'](a2_0x53bc94(0x24c))[a2_0x53bc94(0x17d)](async(_0x346bbe,_0x25fbaf)=>{const _0x3bf1a4=a2_0x53bc94,_0x2fc327=new ActivationsCommand(),_0xe9cd25=program[_0x3bf1a4(0x216)](),_0x146bc0=await createTDXInstance(_0xe9cd25),_0x42fca2=await _0x2fc327[_0x3bf1a4(0x1d9)]({'options':{..._0xe9cd25,..._0x25fbaf},'args':[_0x346bbe],'tdx':_0x146bc0});gracefulExit(_0x42fca2);});const workflowCmd=program[a2_0x53bc94(0x1b8)]('workflow')[a2_0x53bc94(0x23d)]('wf')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x37a)),wfProjectCmd=workflowCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x256))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x1d2)),wfProjectListAction=async(_0x331aa3,_0x475c4d)=>{const _0x1441f4=a2_0x53bc94,_0x4b4387=new WorkflowProjectsCommand(),_0x2d538f=program['opts'](),_0x339383=await createTDXInstance(_0x2d538f),_0x5b8bda=await _0x4b4387[_0x1441f4(0x1d9)]({'options':{..._0x2d538f,..._0x475c4d},'args':_0x331aa3?[_0x331aa3]:[],'tdx':_0x339383});gracefulExit(_0x5b8bda);};wfProjectCmd['command'](a2_0x53bc94(0x14f))['description']('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x53bc94(0x17d)](wfProjectListAction),workflowCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x27d))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x36d))[a2_0x53bc94(0x17d)](wfProjectListAction);const wfWorkflowListAction=async(_0xeb4f6d,_0x3e3f65)=>{const _0x3710f2=new WorkflowWorkflowsCommand(),_0x5908a8=program['opts'](),_0x6ca193=await createTDXInstance(_0x5908a8),_0x4b8db9=await _0x3710f2['run']({'options':{..._0x5908a8,..._0x3e3f65},'args':_0xeb4f6d?[_0xeb4f6d]:[],'tdx':_0x6ca193});gracefulExit(_0x4b8db9);};workflowCmd['command'](a2_0x53bc94(0x1ba))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x2d1))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x53bc94(0x1b8)]('session')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x15d)),wfSessionListAction=async(_0x247026,_0x3a9909)=>{const _0x2ace91=a2_0x53bc94,_0x36f54a=new WorkflowSessionsCommand(),_0x4b33be=program[_0x2ace91(0x216)](),_0x105eee=await createTDXInstance(_0x4b33be),_0xd789ba=await _0x36f54a[_0x2ace91(0x1d9)]({'options':{..._0x4b33be,..._0x3a9909},'args':_0x247026?[_0x247026]:[],'tdx':_0x105eee});gracefulExit(_0xd789ba);};wfSessionCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x16f))['description'](a2_0x53bc94(0x18d))[a2_0x53bc94(0x228)](a2_0x53bc94(0x34e),a2_0x53bc94(0x1fe))[a2_0x53bc94(0x228)](a2_0x53bc94(0x317),a2_0x53bc94(0x16e))[a2_0x53bc94(0x228)]('--to\x20<timestamp>','End\x20time\x20filter\x20(ISO\x208601\x20format)')['action'](wfSessionListAction),workflowCmd['command'](a2_0x53bc94(0xeb))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x2fb))[a2_0x53bc94(0x228)](a2_0x53bc94(0x34e),a2_0x53bc94(0x1fe))[a2_0x53bc94(0x228)]('--from\x20<timestamp>','Start\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x53bc94(0x228)](a2_0x53bc94(0x193),a2_0x53bc94(0x172))[a2_0x53bc94(0x17d)](wfSessionListAction);const wfAttemptListAction=async(_0x18a819,_0x11c70b)=>{const _0x3e2a5a=a2_0x53bc94,_0x40aa84=new WorkflowAttemptsCommand(),_0x1e111d=program[_0x3e2a5a(0x216)](),_0x5c87e0=await createTDXInstance(_0x1e111d),_0x21ee17=await _0x40aa84[_0x3e2a5a(0x1d9)]({'options':{..._0x1e111d,..._0x11c70b},'args':_0x18a819?[_0x18a819]:[],'tdx':_0x5c87e0});gracefulExit(_0x21ee17);},attemptCmd=workflowCmd['command'](a2_0x53bc94(0x33f))['description'](a2_0x53bc94(0xe2))[a2_0x53bc94(0x29c)](a2_0x53bc94(0x209),a2_0x53bc94(0x2ba))[a2_0x53bc94(0x29c)]('[action]','Action:\x20logs,\x20tasks,\x20kill,\x20retry')['argument'](a2_0x53bc94(0x274),a2_0x53bc94(0x1a7))['option'](a2_0x53bc94(0x25a),a2_0x53bc94(0xee))['option'](a2_0x53bc94(0x15e),a2_0x53bc94(0x195))[a2_0x53bc94(0x228)](a2_0x53bc94(0x110),a2_0x53bc94(0x249))[a2_0x53bc94(0x228)]('--params\x20<json>',a2_0x53bc94(0x36e))[a2_0x53bc94(0x228)](a2_0x53bc94(0x363),a2_0x53bc94(0xe5))[a2_0x53bc94(0x228)]('--include-retried',a2_0x53bc94(0x33d))[a2_0x53bc94(0x17d)](async(_0x5319cc,_0x5cca0b,_0x2448e6,_0x1fc8e2)=>{const _0x4a85a2=a2_0x53bc94;if(_0x5319cc===_0x4a85a2(0x368)){await wfAttemptListAction(_0x5cca0b,_0x1fc8e2);return;}if(!_0x5319cc){attemptCmd[_0x4a85a2(0x15f)]();return;}const _0x10d2f2=program[_0x4a85a2(0x216)](),_0x2e0fb8=await createTDXInstance(_0x10d2f2);let _0xf938ca=0x0;if(!_0x5cca0b){const _0x154bcf=new WorkflowAttemptCommand();_0xf938ca=await _0x154bcf[_0x4a85a2(0x1d9)]({'options':{..._0x10d2f2,..._0x1fc8e2},'args':[_0x5319cc],'tdx':_0x2e0fb8});}else{if(_0x5cca0b===_0x4a85a2(0x218)){const _0x36ad00=new WorkflowLogsCommand();_0xf938ca=await _0x36ad00[_0x4a85a2(0x1d9)]({'options':{..._0x10d2f2,..._0x1fc8e2},'args':_0x2448e6?[_0x5319cc,_0x2448e6]:[_0x5319cc],'tdx':_0x2e0fb8});}else{if(_0x5cca0b===_0x4a85a2(0xdf)){const _0xc8bd97=new WorkflowTasksCommand();_0xf938ca=await _0xc8bd97[_0x4a85a2(0x1d9)]({'options':{..._0x10d2f2,..._0x1fc8e2},'args':[_0x5319cc],'tdx':_0x2e0fb8});}else{if(_0x5cca0b==='kill'){const _0x144116=new WorkflowKillCommand();_0xf938ca=await _0x144116[_0x4a85a2(0x1d9)]({'options':{..._0x10d2f2,..._0x1fc8e2},'args':[_0x5319cc],'tdx':_0x2e0fb8});}else{if(_0x5cca0b===_0x4a85a2(0x17e)){const _0x1b43de=new WorkflowRetryCommand();_0xf938ca=await _0x1b43de[_0x4a85a2(0x1d9)]({'options':{..._0x10d2f2,..._0x1fc8e2},'args':[_0x4a85a2(0x182)+_0x5319cc],'tdx':_0x2e0fb8});}else console[_0x4a85a2(0x24d)](_0x4a85a2(0x224)+_0x5cca0b),console[_0x4a85a2(0x24d)](_0x4a85a2(0x114)),_0xf938ca=0x1;}}}}gracefulExit(_0xf938ca);});attemptCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x16f))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x190))[a2_0x53bc94(0x228)]('--include-retried',a2_0x53bc94(0x2ec))[a2_0x53bc94(0x17d)](wfAttemptListAction),workflowCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x388))[a2_0x53bc94(0xe0)]('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')[a2_0x53bc94(0x228)]('--include-retried',a2_0x53bc94(0x2ec))['action'](wfAttemptListAction),workflowCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x141))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x25e))['option'](a2_0x53bc94(0x13b),a2_0x53bc94(0x112))['option'](a2_0x53bc94(0x1c3),a2_0x53bc94(0x336))[a2_0x53bc94(0x228)](a2_0x53bc94(0x261),a2_0x53bc94(0x2bb))[a2_0x53bc94(0x17d)](async(_0x3f02db,_0x47d743)=>{const _0x47dc29=a2_0x53bc94,_0xf54509=new WorkflowTimelineCommand(),_0x3f6a4d=program[_0x47dc29(0x216)](),_0x320c22=await createTDXInstance(_0x3f6a4d),_0x497a66=await _0xf54509[_0x47dc29(0x1d9)]({'options':{..._0x3f6a4d,..._0x47d743},'args':_0x3f02db?[_0x3f02db]:[],'tdx':_0x320c22});gracefulExit(_0x497a66);}),workflowCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x12d))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x1e1))[a2_0x53bc94(0x228)](a2_0x53bc94(0x1ae),a2_0x53bc94(0x2ad))['option'](a2_0x53bc94(0x1a6),a2_0x53bc94(0x192))['action'](async(_0x5a1ecf,_0x521077)=>{const _0x2466a0=a2_0x53bc94,_0x4d210d=new WorkflowRetryCommand(),_0x45d470=program['opts'](),_0x495e2a=await createTDXInstance(_0x45d470),_0x59e249=await _0x4d210d[_0x2466a0(0x1d9)]({'options':{..._0x45d470,..._0x521077},'args':[_0x5a1ecf],'tdx':_0x495e2a});gracefulExit(_0x59e249);}),workflowCmd['command'](a2_0x53bc94(0x26b))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x165))[a2_0x53bc94(0x228)]('--param\x20<key=value>',a2_0x53bc94(0x200),(_0x572b95,_0x26ebf2=[])=>[..._0x26ebf2,_0x572b95],[])[a2_0x53bc94(0x228)]('--session-time\x20<time>','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')[a2_0x53bc94(0x17d)](async(_0x3da46c,_0x13f585)=>{const _0x19a8da=a2_0x53bc94,_0x3725bf=new WorkflowRunCommand(),_0xbf3d83=program[_0x19a8da(0x216)](),_0x50e17d=await createTDXInstance(_0xbf3d83),_0x1fd9bf=await _0x3725bf['run']({'options':{..._0xbf3d83,..._0x13f585},'args':_0x3da46c?[_0x3da46c]:[],'tdx':_0x50e17d});gracefulExit(_0x1fd9bf);}),workflowCmd['command'](a2_0x53bc94(0x2e1))[a2_0x53bc94(0xe0)]('Download\x20workflow\x20project\x20from\x20Treasure\x20Data')['option'](a2_0x53bc94(0xde),a2_0x53bc94(0x278))[a2_0x53bc94(0x17d)](async(_0x48c1de,_0x2c9985,_0x47f11f)=>{const _0x2673b7=a2_0x53bc94,_0x510785=new WorkflowDownloadCommand(),_0x3e3e54=program['opts'](),_0x110a91=await createTDXInstance(_0x3e3e54),_0x3666f8=await _0x510785[_0x2673b7(0x1d9)]({'options':{..._0x3e3e54,..._0x47f11f},'args':[_0x48c1de,_0x2c9985||'.'],'tdx':_0x110a91});gracefulExit(_0x3666f8);}),workflowCmd['command']('pull\x20<project>\x20[target-dir]')[a2_0x53bc94(0xe0)]('Pull\x20workflow\x20project\x20to\x20local\x20folder')['option'](a2_0x53bc94(0xde),'Pull\x20specific\x20revision\x20(default:\x20latest)')['option'](a2_0x53bc94(0x14b),'Preview\x20changes\x20without\x20writing\x20files')[a2_0x53bc94(0x17d)](async(_0x5f2d4d,_0x5b462b,_0x174a02)=>{const _0x5cc8a0=a2_0x53bc94,_0x3555c1=new WorkflowPullCommand(),_0x4228c1=program[_0x5cc8a0(0x216)](),_0x3081b8=await createTDXInstance(_0x4228c1),_0x27d3d5=await _0x3555c1[_0x5cc8a0(0x1d9)]({'options':{..._0x4228c1,..._0x174a02},'args':_0x5b462b?[_0x5f2d4d,_0x5b462b]:[_0x5f2d4d],'tdx':_0x3081b8});gracefulExit(_0x27d3d5);}),workflowCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x276))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x1bc))[a2_0x53bc94(0x228)](a2_0x53bc94(0xde),a2_0x53bc94(0x263))[a2_0x53bc94(0x228)](a2_0x53bc94(0x14b),a2_0x53bc94(0x13f))['option'](a2_0x53bc94(0x367),a2_0x53bc94(0x380))[a2_0x53bc94(0x17d)](async(_0x238304,_0x1a3f53)=>{const _0x23d8f7=a2_0x53bc94,_0x355061=new WorkflowPushCommand(),_0x4b8506=program[_0x23d8f7(0x216)](),_0x1f2c57=await createTDXInstance(_0x4b8506),_0xac0b41=await _0x355061[_0x23d8f7(0x1d9)]({'options':{..._0x4b8506,..._0x1a3f53},'args':_0x238304?[_0x238304]:[],'tdx':_0x1f2c57});gracefulExit(_0xac0b41);}),workflowCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x17b))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x33a))[a2_0x53bc94(0x228)](a2_0x53bc94(0x289),a2_0x53bc94(0x358))[a2_0x53bc94(0x228)](a2_0x53bc94(0xde),a2_0x53bc94(0x27e))[a2_0x53bc94(0x228)](a2_0x53bc94(0x367),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x53bc94(0x17d)](async(_0x5b1e2b,_0x58c387)=>{const _0x4599bd=a2_0x53bc94,_0x2425b3=new WorkflowUploadCommand(),_0x49f6d4=program[_0x4599bd(0x216)](),_0x504e02=await createTDXInstance(_0x49f6d4),_0x48520f=await _0x2425b3[_0x4599bd(0x1d9)]({'options':{..._0x49f6d4,..._0x58c387},'args':_0x5b1e2b?[_0x5b1e2b]:[],'tdx':_0x504e02});gracefulExit(_0x48520f);}),workflowCmd[a2_0x53bc94(0x1b8)]('clone\x20[source-dir]')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x2c0))[a2_0x53bc94(0x228)](a2_0x53bc94(0x289),a2_0x53bc94(0x2e7))['option']('--revision\x20<revision>',a2_0x53bc94(0x263))[a2_0x53bc94(0x228)](a2_0x53bc94(0x14b),a2_0x53bc94(0x222))[a2_0x53bc94(0x228)](a2_0x53bc94(0x367),'Skip\x20validation\x20of\x20.dig\x20files')['action'](async(_0x1c88e7,_0x1774b4)=>{const _0x4c0707=a2_0x53bc94,_0x3a7124=new WorkflowCloneCommand(),_0x1e9444=program['opts'](),_0x20224f=await createTDXInstance(_0x1e9444),_0x11e749=await _0x3a7124[_0x4c0707(0x1d9)]({'options':{..._0x1e9444,..._0x1774b4},'args':_0x1c88e7?[_0x1c88e7]:[],'tdx':_0x20224f});gracefulExit(_0x11e749);}),workflowCmd[a2_0x53bc94(0x1b8)]('delete\x20<project-name-or-id>')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x2b5))[a2_0x53bc94(0x17d)](async(_0x519d06,_0x1b5a85)=>{const _0x454c55=a2_0x53bc94,_0x5977d3=new WorkflowDeleteCommand(),_0x1d6fef=program[_0x454c55(0x216)](),_0x51398f=await createTDXInstance(_0x1d6fef),_0x4df7cd=await _0x5977d3[_0x454c55(0x1d9)]({'options':{..._0x1d6fef,..._0x1b5a85},'args':[_0x519d06],'tdx':_0x51398f});gracefulExit(_0x4df7cd);}),workflowCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x2e9))[a2_0x53bc94(0xe0)]('Set\x20default\x20workflow\x20project\x20for\x20this\x20session')[a2_0x53bc94(0x228)](a2_0x53bc94(0x2fe),a2_0x53bc94(0x29f))[a2_0x53bc94(0x17d)](async(_0x540e78,_0x515dc0)=>{const _0x2bb74b=a2_0x53bc94,_0x356211=new WorkflowUseCommand(),_0x12f798=program['opts'](),_0x1ef4a4=await createTDXInstance(_0x12f798),_0x7abc92=await _0x356211[_0x2bb74b(0x1d9)]({'options':{..._0x12f798,..._0x515dc0},'args':_0x540e78?[_0x540e78]:[],'tdx':_0x1ef4a4});gracefulExit(_0x7abc92);});const wfSecretsCmd=workflowCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x2dc))[a2_0x53bc94(0xe0)]('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x16f))[a2_0x53bc94(0xe0)]('List\x20secret\x20keys\x20for\x20a\x20project')['action'](async(_0xaf3a9f,_0xc4f144)=>{const _0x4ca4fb=a2_0x53bc94,_0x5b04de=new WorkflowSecretsListCommand(),_0x385cf1=program[_0x4ca4fb(0x216)](),_0x3925d8=await createTDXInstance(_0x385cf1),_0x2f851=await _0x5b04de[_0x4ca4fb(0x1d9)]({'options':{..._0x385cf1,..._0xc4f144},'args':_0xaf3a9f?[_0xaf3a9f]:[],'tdx':_0x3925d8});gracefulExit(_0x2f851);}),wfSecretsCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0xed))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x364))[a2_0x53bc94(0x17d)](async(_0x3f9286,_0x1c4b66)=>{const _0xdeaea2=a2_0x53bc94,_0x14ec8a=new WorkflowSecretsSetCommand(),_0x4ae2ac=program[_0xdeaea2(0x216)](),_0x3129c6=await createTDXInstance(_0x4ae2ac),_0x5e626c=await _0x14ec8a[_0xdeaea2(0x1d9)]({'options':{..._0x4ae2ac,..._0x1c4b66},'args':_0x3f9286,'tdx':_0x3129c6});gracefulExit(_0x5e626c);}),wfSecretsCmd['command'](a2_0x53bc94(0x35e))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x287))[a2_0x53bc94(0x17d)](async(_0x46c76f,_0x1da47a)=>{const _0x559e1c=a2_0x53bc94,_0x3afe37=new WorkflowSecretsDeleteCommand(),_0xef0e94=program[_0x559e1c(0x216)](),_0x29d74e=await createTDXInstance(_0xef0e94),_0x9d182a=await _0x3afe37[_0x559e1c(0x1d9)]({'options':{..._0xef0e94,..._0x1da47a},'args':_0x46c76f,'tdx':_0x29d74e});gracefulExit(_0x9d182a);});const jobCmd=program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x309))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x28c)),jobListAction=async _0x47673e=>{const _0x583e67=a2_0x53bc94,_0x311a67=new JobListCommand(),_0x5b39fa=program[_0x583e67(0x216)](),_0x3af691=await createTDXInstance(_0x5b39fa),_0x2fa501=await _0x311a67[_0x583e67(0x1d9)]({'options':{..._0x5b39fa,..._0x47673e},'args':[],'tdx':_0x3af691});gracefulExit(_0x2fa501);};jobCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x368))[a2_0x53bc94(0xe0)]('List\x20jobs')[a2_0x53bc94(0x228)](a2_0x53bc94(0x34e),a2_0x53bc94(0x18a))[a2_0x53bc94(0x17d)](jobListAction),program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x2a8),{'hidden':!![]})[a2_0x53bc94(0xe0)](a2_0x53bc94(0x23e))[a2_0x53bc94(0x228)](a2_0x53bc94(0x34e),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x53bc94(0x17d)](jobListAction),jobCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x102))[a2_0x53bc94(0xe0)]('Show\x20job\x20details')[a2_0x53bc94(0x17d)](async(_0x2f0149,_0x3ec4d3)=>{const _0x607f65=a2_0x53bc94,_0x32c273=new JobShowCommand(),_0x2569ae=program['opts'](),_0x594fb7=await createTDXInstance(_0x2569ae),_0x42df0c=await _0x32c273[_0x607f65(0x1d9)]({'options':{..._0x2569ae,..._0x3ec4d3},'args':[_0x2f0149],'tdx':_0x594fb7});gracefulExit(_0x42df0c);}),jobCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x184))[a2_0x53bc94(0xe0)]('Kill\x20a\x20job')[a2_0x53bc94(0x17d)](async(_0x129c71,_0x17f882)=>{const _0xda1b=a2_0x53bc94,_0x54b916=new JobKillCommand(),_0x11f96e=program[_0xda1b(0x216)](),_0x5e82c6=await createTDXInstance(_0x11f96e),_0x58ce6c=await _0x54b916[_0xda1b(0x1d9)]({'options':{..._0x11f96e,..._0x17f882},'args':[_0x129c71],'tdx':_0x5e82c6});gracefulExit(_0x58ce6c);}),jobCmd[a2_0x53bc94(0x1b8)]('submit\x20[query]')[a2_0x53bc94(0xe0)]('Submit\x20a\x20job')[a2_0x53bc94(0x228)](a2_0x53bc94(0x234),'Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','trino')[a2_0x53bc94(0x228)](a2_0x53bc94(0x2da),a2_0x53bc94(0x1b7))['option'](a2_0x53bc94(0x1d3),a2_0x53bc94(0x2ef),a2_0x53bc94(0x266))['option'](a2_0x53bc94(0xcf),a2_0x53bc94(0x2c7))[a2_0x53bc94(0x17d)](async(_0x461fcb,_0x4ca4a3)=>{const _0x3bcce8=a2_0x53bc94,_0x4d3950=new JobSubmitCommand(),_0x3fbad4=program['opts'](),_0x458d7a=await createTDXInstance(_0x3fbad4),_0x51ae42=await _0x4d3950[_0x3bcce8(0x1d9)]({'options':{..._0x3fbad4,..._0x4ca4a3},'args':_0x461fcb?[_0x461fcb]:[],'tdx':_0x458d7a});gracefulExit(_0x51ae42);}),jobCmd[a2_0x53bc94(0x1b8)]('result\x20<job-id>')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x22c))[a2_0x53bc94(0x17d)](async(_0x5efa57,_0x1cdf80)=>{const _0xbbf45a=a2_0x53bc94,_0x5ef5ad=new JobResultCommand(),_0x3302f1=program[_0xbbf45a(0x216)](),_0x10139d=await createTDXInstance(_0x3302f1),_0x14b5ed=await _0x5ef5ad[_0xbbf45a(0x1d9)]({'options':{..._0x3302f1,..._0x1cdf80},'args':[_0x5efa57],'tdx':_0x10139d});gracefulExit(_0x14b5ed);});const scheduleCmd=jobCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x149))[a2_0x53bc94(0xe0)](a2_0x53bc94(0xd0));scheduleCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x14f))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x117))[a2_0x53bc94(0x17d)](async(_0x1070e1,_0x1d19a7)=>{const _0x5af462=a2_0x53bc94,_0x1151fc=new ScheduleListCommand(),_0x1820d5=program[_0x5af462(0x216)](),_0x2decdc=await createTDXInstance(_0x1820d5),_0x2d1794=await _0x1151fc[_0x5af462(0x1d9)]({'options':{..._0x1820d5,..._0x1d19a7},'args':_0x1070e1?[_0x1070e1]:[],'tdx':_0x2decdc});gracefulExit(_0x2d1794);}),scheduleCmd[a2_0x53bc94(0x1b8)]('show\x20<name>')[a2_0x53bc94(0xe0)]('Show\x20schedule\x20details')['action'](async(_0x57fa41,_0x543124)=>{const _0x4ed612=a2_0x53bc94,_0x46747e=new ScheduleShowCommand(),_0x268dca=program[_0x4ed612(0x216)](),_0x2ce1ec=await createTDXInstance(_0x268dca),_0x2af320=await _0x46747e[_0x4ed612(0x1d9)]({'options':{..._0x268dca,..._0x543124},'args':[_0x57fa41],'tdx':_0x2ce1ec});gracefulExit(_0x2af320);}),scheduleCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x105))['description'](a2_0x53bc94(0x2a5))[a2_0x53bc94(0x228)]('-d,\x20--database\x20<db>',a2_0x53bc94(0x28a))['option'](a2_0x53bc94(0x1f6),a2_0x53bc94(0x240))[a2_0x53bc94(0x2b0)](a2_0x53bc94(0x2da),a2_0x53bc94(0x1b7))[a2_0x53bc94(0x228)](a2_0x53bc94(0x12b),a2_0x53bc94(0x20a),a2_0x53bc94(0x101))[a2_0x53bc94(0x228)]('--cron\x20<expression>',a2_0x53bc94(0x310))[a2_0x53bc94(0x228)](a2_0x53bc94(0x304),a2_0x53bc94(0x1fd))[a2_0x53bc94(0x228)](a2_0x53bc94(0x2f3),a2_0x53bc94(0xfc))[a2_0x53bc94(0x228)](a2_0x53bc94(0x2bf),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x53bc94(0x228)](a2_0x53bc94(0x125),'Retry\x20limit\x20(0\x20to\x2032)')[a2_0x53bc94(0x228)](a2_0x53bc94(0x348),a2_0x53bc94(0x260))[a2_0x53bc94(0x228)](a2_0x53bc94(0x300),a2_0x53bc94(0x133))[a2_0x53bc94(0x17d)](async(_0x3a12cf,_0x4e40b8)=>{const _0x1bdc8a=a2_0x53bc94,_0x3bd6f7=new ScheduleCreateCommand(),_0x40d9ae=program[_0x1bdc8a(0x216)](),_0x2a5ef7=await createTDXInstance(_0x40d9ae);_0x4e40b8['in']&&(_0x4e40b8[_0x1bdc8a(0x100)]=_0x4e40b8['in']);const _0x2f5feb=await _0x3bd6f7[_0x1bdc8a(0x1d9)]({'options':{..._0x40d9ae,..._0x4e40b8},'args':[_0x3a12cf],'tdx':_0x2a5ef7});gracefulExit(_0x2f5feb);}),scheduleCmd['command']('update\x20<name>')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x13d))['option'](a2_0x53bc94(0x2f7),a2_0x53bc94(0xe7))[a2_0x53bc94(0x228)](a2_0x53bc94(0x1f6),a2_0x53bc94(0x240))[a2_0x53bc94(0x228)]('-f,\x20--file\x20<path>','Read\x20query\x20from\x20file')['option'](a2_0x53bc94(0x12b),a2_0x53bc94(0x20a))[a2_0x53bc94(0x228)](a2_0x53bc94(0x129),a2_0x53bc94(0x310))[a2_0x53bc94(0x228)](a2_0x53bc94(0x304),a2_0x53bc94(0x180))['option']('--delay\x20<seconds>',a2_0x53bc94(0xfc))['option'](a2_0x53bc94(0x2bf),a2_0x53bc94(0x335))[a2_0x53bc94(0x228)](a2_0x53bc94(0x125),a2_0x53bc94(0x244))[a2_0x53bc94(0x228)](a2_0x53bc94(0x348),a2_0x53bc94(0x260))['option'](a2_0x53bc94(0x300),a2_0x53bc94(0x133))[a2_0x53bc94(0x17d)](async(_0x2d31cb,_0x4326dc)=>{const _0x5532c8=a2_0x53bc94,_0x5499c2=new ScheduleUpdateCommand(),_0x5d3e73=program[_0x5532c8(0x216)](),_0x39e906=await createTDXInstance(_0x5d3e73);_0x4326dc['in']&&(_0x4326dc[_0x5532c8(0x100)]=_0x4326dc['in']);const _0x1d78f4=await _0x5499c2[_0x5532c8(0x1d9)]({'options':{..._0x5d3e73,..._0x4326dc},'args':[_0x2d31cb],'tdx':_0x39e906});gracefulExit(_0x1d78f4);}),scheduleCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0xd3))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x257))[a2_0x53bc94(0x17d)](async(_0x2e3de7,_0x1a2322)=>{const _0xf466c=a2_0x53bc94,_0x4b7fc8=new ScheduleDeleteCommand(),_0x24f565=program[_0xf466c(0x216)](),_0x422112=await createTDXInstance(_0x24f565),_0x26cfd5=await _0x4b7fc8[_0xf466c(0x1d9)]({'options':{..._0x24f565,..._0x1a2322},'args':[_0x2e3de7],'tdx':_0x422112});gracefulExit(_0x26cfd5);}),scheduleCmd[a2_0x53bc94(0x1b8)]('run\x20<name>')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x2ff))[a2_0x53bc94(0x228)]('--time\x20<iso8601>',a2_0x53bc94(0x239))[a2_0x53bc94(0x228)]('--num\x20<1-10>',a2_0x53bc94(0x217))[a2_0x53bc94(0x17d)](async(_0x42e2f0,_0x32e8af)=>{const _0x32ea10=new ScheduleRunCommand(),_0x18b19a=program['opts'](),_0x4e5721=await createTDXInstance(_0x18b19a),_0x251e4b=await _0x32ea10['run']({'options':{..._0x18b19a,..._0x32e8af},'args':[_0x42e2f0],'tdx':_0x4e5721});gracefulExit(_0x251e4b);}),scheduleCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x132))[a2_0x53bc94(0xe0)]('Show\x20schedule\x20execution\x20history')[a2_0x53bc94(0x228)]('--from\x20<n>',a2_0x53bc94(0x11d))[a2_0x53bc94(0x228)](a2_0x53bc94(0x272),'Ending\x20offset\x20(default:\x2020)')['action'](async(_0x55a909,_0x4d4eab)=>{const _0x1bb0b3=a2_0x53bc94,_0x25ae82=new ScheduleHistoryCommand(),_0x445067=program['opts'](),_0x3dcdcc=await createTDXInstance(_0x445067),_0x140ad2=await _0x25ae82[_0x1bb0b3(0x1d9)]({'options':{..._0x445067,..._0x4d4eab},'args':[_0x55a909],'tdx':_0x3dcdcc});gracefulExit(_0x140ad2);});const llmCmd=program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x37b))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x2fc));llmCmd[a2_0x53bc94(0x1b8)]('use\x20<project-name>')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x286))[a2_0x53bc94(0x17d)](async(_0x21f0eb,_0x28b8db)=>{const _0x4f81df=a2_0x53bc94,_0x57bcbf=new LLMUseCommand(),_0x521930=program['opts'](),_0x729920=await createTDXInstance(_0x521930),_0x378382=await _0x57bcbf[_0x4f81df(0x1d9)]({'options':{..._0x521930,..._0x28b8db},'args':[_0x21f0eb],'tdx':_0x729920});gracefulExit(_0x378382);}),llmCmd['command'](a2_0x53bc94(0x2b1))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x376))[a2_0x53bc94(0x17d)](async _0x570178=>{const _0x199247=a2_0x53bc94,_0x36d784=new LLMModelsCommand(),_0x3b32cc=program[_0x199247(0x216)](),_0xef8be3=await createTDXInstance(_0x3b32cc),_0x31a5d2=await _0x36d784['run']({'options':{..._0x3b32cc,..._0x570178},'args':[],'tdx':_0xef8be3});gracefulExit(_0x31a5d2);});const projectCmd=llmCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x256))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x246)),llmProjectListAction=async(_0x17b3d1,_0x470ca6)=>{const _0x1d83d2=a2_0x53bc94,_0x58a237=new LLMProjectsCommand(),_0x4c05a7=program[_0x1d83d2(0x216)](),_0x4ce629=await createTDXInstance(_0x4c05a7),_0x59c4d0=await _0x58a237['run']({'options':{..._0x4c05a7,..._0x470ca6},'args':_0x17b3d1?[_0x17b3d1]:[],'tdx':_0x4ce629});gracefulExit(_0x59c4d0);};projectCmd[a2_0x53bc94(0x1b8)]('list\x20[pattern]')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x26e))[a2_0x53bc94(0x17d)](llmProjectListAction),llmCmd['command'](a2_0x53bc94(0x27d))['description'](a2_0x53bc94(0x163))[a2_0x53bc94(0x17d)](llmProjectListAction),projectCmd['command'](a2_0x53bc94(0x105))['description'](a2_0x53bc94(0x137))['option'](a2_0x53bc94(0x104),a2_0x53bc94(0x374))[a2_0x53bc94(0x17d)](async(_0x5878f7,_0x1a80f1)=>{const _0x431bbc=a2_0x53bc94,_0x2ba7aa=new LLMProjectCreateCommand(),_0x298e6a=program['opts'](),_0x549edb=await createTDXInstance(_0x298e6a),_0x4a89cf=await _0x2ba7aa[_0x431bbc(0x1d9)]({'options':{..._0x298e6a,..._0x1a80f1},'args':[_0x5878f7],'tdx':_0x549edb});gracefulExit(_0x4a89cf);}),projectCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0xd3))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x120))['action'](async(_0x326cf8,_0x14849b)=>{const _0x40aa4e=a2_0x53bc94,_0x113196=new LLMProjectDeleteCommand(),_0x483c43=program[_0x40aa4e(0x216)](),_0xc263ba=await createTDXInstance(_0x483c43),_0x47101e=await _0x113196[_0x40aa4e(0x1d9)]({'options':{..._0x483c43,..._0x14849b},'args':[_0x326cf8],'tdx':_0xc263ba});gracefulExit(_0x47101e);}),projectCmd['command']('backup\x20<name>')['description'](a2_0x53bc94(0x2ee))[a2_0x53bc94(0x228)](a2_0x53bc94(0x32e),a2_0x53bc94(0xfd))[a2_0x53bc94(0x228)](a2_0x53bc94(0x14b),a2_0x53bc94(0x2df))[a2_0x53bc94(0x17d)](async(_0x4913ee,_0x4c9e93)=>{const _0x506433=a2_0x53bc94,_0x2b2a84=new LLMProjectBackupCommand(),_0x1ca1cb=program[_0x506433(0x216)](),_0x3daf96=await createTDXInstance(_0x1ca1cb),_0x413b32=await _0x2b2a84[_0x506433(0x1d9)]({'options':{..._0x1ca1cb,..._0x4c9e93},'args':[_0x4913ee],'tdx':_0x3daf96});gracefulExit(_0x413b32);}),projectCmd[a2_0x53bc94(0x1b8)]('restore\x20<folder>')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x113))[a2_0x53bc94(0x228)](a2_0x53bc94(0x2f5),a2_0x53bc94(0x2f9))[a2_0x53bc94(0x228)](a2_0x53bc94(0x14b),a2_0x53bc94(0x1a8))[a2_0x53bc94(0x17d)](async(_0x25d87f,_0x1488c8)=>{const _0x59dfa5=a2_0x53bc94,_0xb8620a=new LLMProjectRestoreCommand(),_0x2af111=program['opts'](),_0x48340f=await createTDXInstance(_0x2af111),_0x137762=await _0xb8620a[_0x59dfa5(0x1d9)]({'options':{..._0x2af111,..._0x1488c8},'args':[_0x25d87f],'tdx':_0x48340f});gracefulExit(_0x137762);});const llmAgentListAction=async(_0x177df,_0x49ae4c)=>{const _0x224bdb=a2_0x53bc94,_0x3590a4=new LLMAgentsCommand(),_0x1ceee7=program[_0x224bdb(0x216)](),_0x57cc36=await createTDXInstance(_0x1ceee7),_0x1aa66d=await _0x3590a4[_0x224bdb(0x1d9)]({'options':{..._0x1ceee7,..._0x49ae4c},'args':_0x177df?[_0x177df]:[],'tdx':_0x57cc36});gracefulExit(_0x1aa66d);};llmCmd[a2_0x53bc94(0x1b8)]('agents\x20[pattern]')['description'](a2_0x53bc94(0x205))[a2_0x53bc94(0x17d)](llmAgentListAction),program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0xd5))['description'](a2_0x53bc94(0x205))[a2_0x53bc94(0x17d)](llmAgentListAction),llmCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x21b))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x293))['option']('--last','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')['action'](async(_0x1e30b5,_0x49cfef)=>{const _0x24298e=a2_0x53bc94,_0x3af32f=new LLMHistoryCommand(),_0x59e306=program[_0x24298e(0x216)](),_0x3c591d=await createTDXInstance(_0x59e306),_0x25cd24=await _0x3af32f['run']({'options':{..._0x59e306,..._0x49cfef},'args':_0x1e30b5?[_0x1e30b5]:[],'tdx':_0x3c591d});gracefulExit(_0x25cd24);});isExperimentalAvailable()&&llmCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x2e3))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x346))[a2_0x53bc94(0x17d)](async(_0x4c9281,_0x84a105)=>{const _0x18310e=a2_0x53bc94,_0x29ab68=new LLMLogCommand(),_0x389ac8=program[_0x18310e(0x216)](),_0x4e58d0=await createTDXInstance(_0x389ac8),_0x3ac2e6=await _0x29ab68[_0x18310e(0x1d9)]({'options':{..._0x389ac8,..._0x84a105},'args':[_0x4c9281],'tdx':_0x4e58d0});gracefulExit(_0x3ac2e6);});program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x146))[a2_0x53bc94(0xfa)](a2_0x53bc94(0x35f))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x279))[a2_0x53bc94(0x228)]('-c,\x20--continue',a2_0x53bc94(0x320))[a2_0x53bc94(0x228)]('-r,\x20--resume',a2_0x53bc94(0x345))[a2_0x53bc94(0x228)]('--no-proxy',a2_0x53bc94(0x210))['allowUnknownOption']()[a2_0x53bc94(0x1c0)](!![])['addHelpText'](a2_0x53bc94(0x302),'\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_0x53bc94(0x17d)](async(_0x6f4d5c,_0x171170)=>{const _0x5bbb50=a2_0x53bc94,_0x55b02f=program[_0x5bbb50(0x216)](),_0x341c4a=Array[_0x5bbb50(0x359)](_0x6f4d5c)?_0x6f4d5c:[];if(_0x341c4a[0x0]===_0x5bbb50(0xcd)){const _0x441415=new ClaudeStatuslineCommand(),_0x18dfbb=await _0x441415[_0x5bbb50(0x1d9)]({'options':{..._0x55b02f,..._0x171170},'args':_0x341c4a[_0x5bbb50(0xcc)](0x1),'tdx':null});gracefulExit(_0x18dfbb);}if(_0x341c4a[0x0]===_0x5bbb50(0xfa)){const _0x37d795=new ClaudeUsageCommand(),_0x3381e3=await _0x37d795[_0x5bbb50(0x1d9)]({'options':{..._0x55b02f,..._0x171170},'args':_0x341c4a[_0x5bbb50(0xcc)](0x1),'tdx':null});gracefulExit(_0x3381e3);}const _0x3e3ca2=new ClaudeCommand(),_0x48cef0=await createTDXInstance(_0x55b02f),_0x4beb75=await _0x3e3ca2[_0x5bbb50(0x1d9)]({'options':{..._0x55b02f,..._0x171170},'args':_0x341c4a,'tdx':_0x48cef0});gracefulExit(_0x4beb75);}),program[a2_0x53bc94(0x1b8)]('use\x20[resource]\x20[value]')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x150))[a2_0x53bc94(0x228)](a2_0x53bc94(0x2fe),'Clear\x20session\x20context')[a2_0x53bc94(0x228)](a2_0x53bc94(0x2c9),a2_0x53bc94(0x17f))[a2_0x53bc94(0x17d)](async(_0x4d70dc,_0xa4bcd7,_0x4d4984)=>{const _0x5c9ce5=a2_0x53bc94,_0x7e20aa=new UseCommand(),_0x55ed63=program['opts'](),_0x553139=[];if(_0x4d70dc)_0x553139[_0x5c9ce5(0x152)](_0x4d70dc);if(_0xa4bcd7)_0x553139[_0x5c9ce5(0x152)](_0xa4bcd7);const _0x1d3eff=_0x4d70dc===_0x5c9ce5(0x1a9),_0x132d27=_0x1d3eff?await createTDXInstance(_0x55ed63):null,_0x594ae0=await _0x7e20aa[_0x5c9ce5(0x1d9)]({'options':{..._0x55ed63,..._0x4d4984},'args':_0x553139,'tdx':_0x132d27});gracefulExit(_0x594ae0);}),program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x2ab))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x10f))[a2_0x53bc94(0x17d)](async _0x6769fb=>{const _0x548665=a2_0x53bc94,_0x5a95fa=new StatusCommand(),_0x3593d4=program[_0x548665(0x216)](),_0x25a0b0=await createTDXInstance(_0x3593d4),_0x13cdf2=await _0x5a95fa[_0x548665(0x1d9)]({'options':{..._0x3593d4,..._0x6769fb},'args':[],'tdx':_0x25a0b0});gracefulExit(_0x13cdf2);}),program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x19d))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x14a))[a2_0x53bc94(0x228)](a2_0x53bc94(0x14b),'Check\x20for\x20updates\x20without\x20installing')[a2_0x53bc94(0x228)](a2_0x53bc94(0x140),a2_0x53bc94(0x25d))[a2_0x53bc94(0x228)](a2_0x53bc94(0x250),a2_0x53bc94(0x122))[a2_0x53bc94(0x17d)](async(_0x2b8f68,_0x21edcd)=>{const _0x3f5710=a2_0x53bc94,_0x348b2d=new UpgradeCommand(),_0x5dfe83=program['opts'](),_0x15fb30=await _0x348b2d[_0x3f5710(0x1d9)]({'options':{..._0x5dfe83,..._0x21edcd},'args':_0x2b8f68?[_0x2b8f68]:[],'tdx':null});gracefulExit(_0x15fb30);}),program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x2de))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x283))[a2_0x53bc94(0x228)](a2_0x53bc94(0x2c9),'Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x53bc94(0x17d)](async(_0x1de90f,_0x3a6213)=>{const _0x18d7a7=a2_0x53bc94,_0x4ce691=new UnsetCommand(),_0x1222b8=program[_0x18d7a7(0x216)](),_0x336f44=await _0x4ce691[_0x18d7a7(0x1d9)]({'options':{..._0x1222b8,..._0x3a6213},'args':[_0x1de90f],'tdx':null});gracefulExit(_0x336f44);}),program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x160))[a2_0x53bc94(0xe0)]('Interactive\x20chat\x20selector')[a2_0x53bc94(0x228)](a2_0x53bc94(0x1d4),a2_0x53bc94(0x2d0))[a2_0x53bc94(0x17d)](async _0x20f81f=>{const _0x41ea0f=new ChatsCommand(),_0x5c0a2b=program['opts'](),_0x11922a=await createTDXInstance(_0x5c0a2b),_0x4ab957=await _0x41ea0f['run']({'options':{..._0x5c0a2b,..._0x20f81f},'args':[],'tdx':_0x11922a});gracefulExit(_0x4ab957);});const authCmd=program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x1da))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x291));async function runAuthStatusCommand(_0xd98854){const _0x40873f=a2_0x53bc94,_0x2fb712=new AuthStatusCommand(),_0x124d7a=program[_0x40873f(0x216)](),_0x36e978=await createTDXInstance(_0x124d7a),_0x45ae4a=await _0x2fb712[_0x40873f(0x1d9)]({'options':{..._0x124d7a,..._0xd98854},'args':[],'tdx':_0x36e978});gracefulExit(_0x45ae4a);}authCmd[a2_0x53bc94(0x17d)](runAuthStatusCommand),authCmd['command'](a2_0x53bc94(0x2ab))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x1f0))['action'](runAuthStatusCommand),authCmd[a2_0x53bc94(0x1b8)]('setup')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x164))[a2_0x53bc94(0x219)]('after',a2_0x53bc94(0x338))[a2_0x53bc94(0x17d)](async _0x389ac3=>{const _0x39cf53=a2_0x53bc94,_0x77328e=new AuthSetupCommand(),_0x55fd0f=program[_0x39cf53(0x216)](),_0x109bea=await createTDXInstance(_0x55fd0f),_0x26af9e=await _0x77328e[_0x39cf53(0x1d9)]({'options':{..._0x55fd0f,..._0x389ac3},'args':[],'tdx':_0x109bea});gracefulExit(_0x26af9e);}),authCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x143))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x1b5))[a2_0x53bc94(0x219)]('after',a2_0x53bc94(0x1ac))[a2_0x53bc94(0x17d)](async _0x1fc35a=>{const _0x3abeba=a2_0x53bc94,_0x434596=new AuthLoginCommand(),_0x14db41=program['opts'](),_0x57789a=await _0x434596[_0x3abeba(0x1d9)]({'options':{..._0x14db41,..._0x1fc35a},'args':[],'tdx':null});gracefulExit(_0x57789a);}),authCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x230))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x134))[a2_0x53bc94(0x219)](a2_0x53bc94(0x302),a2_0x53bc94(0x354))['action'](async _0x5ca50c=>{const _0x43c5d4=a2_0x53bc94,_0x57cdd8=new AuthClearCommand(),_0x5591a7=program['opts'](),_0x959787=await _0x57cdd8[_0x43c5d4(0x1d9)]({'options':{..._0x5591a7,..._0x5ca50c},'args':[],'tdx':null});gracefulExit(_0x959787);});const userCmd=program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x327))[a2_0x53bc94(0xe0)]('User\x20management\x20commands'),userListAction=async _0x1ae8cb=>{const _0x16d4ba=a2_0x53bc94,_0x3805cb=new UserListCommand(),_0x23a365=program[_0x16d4ba(0x216)](),_0x15d19c=await createTDXInstance(_0x23a365),_0x401cf6=await _0x3805cb[_0x16d4ba(0x1d9)]({'options':{..._0x23a365,..._0x1ae8cb},'args':[],'tdx':_0x15d19c});gracefulExit(_0x401cf6);};userCmd['action'](async _0xa8777c=>{const _0x470c5c=a2_0x53bc94,_0x4050c5=new UserCommand(),_0x5bc892=program[_0x470c5c(0x216)](),_0x19228c=await createTDXInstance(_0x5bc892),_0x210435=await _0x4050c5['run']({'options':{..._0x5bc892,..._0xa8777c},'args':[],'tdx':_0x19228c});gracefulExit(_0x210435);}),userCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x368))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x115))['action'](userListAction),program[a2_0x53bc94(0x1b8)]('users')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x269))[a2_0x53bc94(0x17d)](userListAction),program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x194))['description'](a2_0x53bc94(0x178))[a2_0x53bc94(0x17d)](async _0x571e15=>{const _0x5b2d1f=a2_0x53bc94,_0x24462f=new ProfilesCommand(),_0x2f2173=program[_0x5b2d1f(0x216)](),_0x442fd3=await _0x24462f[_0x5b2d1f(0x1d9)]({'options':{..._0x2f2173,..._0x571e15},'args':[],'tdx':null});gracefulExit(_0x442fd3);});const profileCmd=program[a2_0x53bc94(0x1b8)]('profile')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x352));profileCmd['action'](()=>{profileCmd['outputHelp']();});const profileListAction=async _0x58c44b=>{const _0x5d8fe6=a2_0x53bc94,_0x487690=new ProfilesCommand(),_0x4c1c4e=program[_0x5d8fe6(0x216)](),_0x4ff255=await _0x487690['run']({'options':{..._0x4c1c4e,..._0x58c44b},'args':[],'tdx':null});gracefulExit(_0x4ff255);};profileCmd[a2_0x53bc94(0x1b8)]('list')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x178))['action'](profileListAction),profileCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x22f))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x2fd))[a2_0x53bc94(0x219)](a2_0x53bc94(0x302),a2_0x53bc94(0x19c))[a2_0x53bc94(0x17d)](async(_0x2ab310,_0x1089d6)=>{const _0x38d6a4=a2_0x53bc94,_0x3894b5=new ProfileCreateCommand(),_0x4d264f=program['opts'](),_0x575022=await _0x3894b5[_0x38d6a4(0x1d9)]({'options':{..._0x4d264f,..._0x1089d6},'args':_0x2ab310?[_0x2ab310]:[],'tdx':null});gracefulExit(_0x575022);}),profileCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x1c2))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x1dd))['addHelpText'](a2_0x53bc94(0x302),a2_0x53bc94(0x215))['action'](async(_0x3b9456,_0x259fd4)=>{const _0x1bb443=a2_0x53bc94,_0x1e5ab3=new ProfileRemoveCommand(),_0x393ea9=program[_0x1bb443(0x216)](),_0x3d189b=await _0x1e5ab3[_0x1bb443(0x1d9)]({'options':{..._0x393ea9,..._0x259fd4},'args':[_0x3b9456],'tdx':null});gracefulExit(_0x3d189b);}),profileCmd[a2_0x53bc94(0x1b8)]('set\x20<key=value>')['description']('Set\x20a\x20profile\x20configuration\x20value')[a2_0x53bc94(0x219)](a2_0x53bc94(0x302),a2_0x53bc94(0x341))[a2_0x53bc94(0x17d)](async(_0x49a8fb,_0x1dc0a4)=>{const _0x1fe400=a2_0x53bc94,_0x59f658=new ProfileSetCommand(),_0x214089=program[_0x1fe400(0x216)](),_0xb4e427=await _0x59f658['run']({'options':{..._0x214089,..._0x1dc0a4},'args':[_0x49a8fb],'tdx':null});gracefulExit(_0xb4e427);}),profileCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x188))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x1f2))[a2_0x53bc94(0x228)](a2_0x53bc94(0x2c9),a2_0x53bc94(0x17f))[a2_0x53bc94(0x219)](a2_0x53bc94(0x302),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27prod\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20staging\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27staging\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20--default\x20#\x20Set\x20default\x20profile\x20permanently\x0a')[a2_0x53bc94(0x17d)](async(_0x47e4ae,_0x296b61)=>{const _0x3c93f6=a2_0x53bc94,_0x4a2bd1=new ProfileUseCommand(),_0x53fd58=program['opts'](),_0x210217=await _0x4a2bd1[_0x3c93f6(0x1d9)]({'options':{..._0x53fd58,..._0x296b61},'args':[_0x47e4ae],'tdx':null});gracefulExit(_0x210217);});const engageCmd=program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x191))['description'](a2_0x53bc94(0x20f)),createEngageAction=_0x1e4636=>{return async(_0x55603b,_0x38b750)=>{const _0x463347=new _0x1e4636(),_0x48080c=program['opts'](),_0xb0060=await createTDXInstance(_0x48080c),_0x548b69=await _0x463347['run']({'options':{..._0x48080c,..._0x38b750},'args':[_0x55603b],'tdx':_0xb0060});gracefulExit(_0x548b69);};},createEngageNoArgAction=_0x27e20f=>{return async _0x470424=>{const _0x330dec=a2_0x21dc,_0xe19115=new _0x27e20f(),_0x2cea1b=program[_0x330dec(0x216)](),_0x6f100a=await createTDXInstance(_0x2cea1b),_0x208cea=await _0xe19115[_0x330dec(0x1d9)]({'options':{..._0x2cea1b,..._0x470424},'args':[],'tdx':_0x6f100a});gracefulExit(_0x208cea);};},createEngageListAction=_0x432234=>{return async(_0x48924e,_0x33dfa1)=>{const _0x44dd62=a2_0x21dc,_0x531b1f=new _0x432234(),_0x1331eb=program[_0x44dd62(0x216)](),_0x362545=await createTDXInstance(_0x1331eb),_0x31524e=await _0x531b1f[_0x44dd62(0x1d9)]({'options':{..._0x1331eb,..._0x33dfa1},'args':_0x48924e?[_0x48924e]:[],'tdx':_0x362545});gracefulExit(_0x31524e);};},campaignCmd=engageCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x282))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x252));campaignCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x14f))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x10c))[a2_0x53bc94(0x228)]('--type\x20<type>',a2_0x53bc94(0x10a))[a2_0x53bc94(0x228)](a2_0x53bc94(0x34e),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x53bc94(0x228)](a2_0x53bc94(0x109),a2_0x53bc94(0x37c))[a2_0x53bc94(0x17d)](createEngageListAction(EngageCampaignsCommand)),engageCmd['command'](a2_0x53bc94(0x19e))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x28b))['option'](a2_0x53bc94(0x12b),a2_0x53bc94(0x10a))[a2_0x53bc94(0x228)](a2_0x53bc94(0x34e),a2_0x53bc94(0x2b7))[a2_0x53bc94(0x228)](a2_0x53bc94(0x109),a2_0x53bc94(0x37c))[a2_0x53bc94(0x17d)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x116))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x30e))[a2_0x53bc94(0x228)]('--workspace\x20<name>',a2_0x53bc94(0x37c))[a2_0x53bc94(0x228)](a2_0x53bc94(0x128),a2_0x53bc94(0x2e0))[a2_0x53bc94(0x17d)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0xda))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x22e))[a2_0x53bc94(0x2b0)](a2_0x53bc94(0x289),a2_0x53bc94(0x12f))[a2_0x53bc94(0x2b0)]('--type\x20<type>','Campaign\x20type\x20(email\x20or\x20push)')['option'](a2_0x53bc94(0x109),a2_0x53bc94(0x313))[a2_0x53bc94(0x228)](a2_0x53bc94(0x16a),'Campaign\x20description')[a2_0x53bc94(0x228)]('--segment\x20<path>',a2_0x53bc94(0x13c))[a2_0x53bc94(0x228)]('--email-sender-id\x20<id>',a2_0x53bc94(0x167))[a2_0x53bc94(0x228)](a2_0x53bc94(0x18b),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x53bc94(0x228)](a2_0x53bc94(0x2b3),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x53bc94(0x228)](a2_0x53bc94(0x304),a2_0x53bc94(0x2f6))[a2_0x53bc94(0x17d)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x1a0))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x334))[a2_0x53bc94(0x228)](a2_0x53bc94(0x109),a2_0x53bc94(0x37c))['option'](a2_0x53bc94(0x289),a2_0x53bc94(0x155))['option']('--description\x20<desc>',a2_0x53bc94(0x1b6))['option'](a2_0x53bc94(0x2d8),a2_0x53bc94(0x13c))[a2_0x53bc94(0x228)]('--email-sender-id\x20<id>',a2_0x53bc94(0x167))[a2_0x53bc94(0x228)]('--json-columns\x20<cols>','JSON\x20columns\x20for\x20connector\x20(comma-separated)')['option'](a2_0x53bc94(0x2b3),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x53bc94(0x228)](a2_0x53bc94(0x304),a2_0x53bc94(0x2f6))[a2_0x53bc94(0x17d)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x1b4))['description'](a2_0x53bc94(0x18e))[a2_0x53bc94(0x228)]('--workspace\x20<name>',a2_0x53bc94(0x37c))['option'](a2_0x53bc94(0x255),a2_0x53bc94(0x1f1))[a2_0x53bc94(0x17d)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x1ed))[a2_0x53bc94(0xe0)](a2_0x53bc94(0xce))[a2_0x53bc94(0x228)](a2_0x53bc94(0x109),'Workspace\x20name')[a2_0x53bc94(0x17d)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x53bc94(0x1b8)]('pause\x20<name-or-id>')['description'](a2_0x53bc94(0x130))['option'](a2_0x53bc94(0x109),a2_0x53bc94(0x37c))[a2_0x53bc94(0x17d)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x2e5))['description']('Resume\x20a\x20paused\x20campaign')['option'](a2_0x53bc94(0x109),a2_0x53bc94(0x37c))['action'](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x332))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x1bf))[a2_0x53bc94(0x228)](a2_0x53bc94(0x109),'Workspace\x20name')[a2_0x53bc94(0x17d)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x53bc94(0x1b8)]('pull\x20[workspace-name]')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x2c4))[a2_0x53bc94(0x228)](a2_0x53bc94(0x109),a2_0x53bc94(0x37c))[a2_0x53bc94(0x228)](a2_0x53bc94(0x289),a2_0x53bc94(0x1ef))['option'](a2_0x53bc94(0x12b),a2_0x53bc94(0x10a))[a2_0x53bc94(0x228)](a2_0x53bc94(0x14b),a2_0x53bc94(0x1fb))[a2_0x53bc94(0x17d)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x307))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x2bc))[a2_0x53bc94(0x228)](a2_0x53bc94(0x109),a2_0x53bc94(0x37c))['option'](a2_0x53bc94(0x14b),a2_0x53bc94(0xf7))[a2_0x53bc94(0x17d)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x53bc94(0x1b8)]('validate\x20[target]')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x197))['option'](a2_0x53bc94(0x37d),a2_0x53bc94(0xef))['action'](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x1d0))['description'](a2_0x53bc94(0x2cc));alwaysOnCampaignCmd['command'](a2_0x53bc94(0x14f))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x280))['option'](a2_0x53bc94(0x12b),a2_0x53bc94(0x10a))[a2_0x53bc94(0x228)](a2_0x53bc94(0x34e),a2_0x53bc94(0x29b))[a2_0x53bc94(0x2b0)](a2_0x53bc94(0x109),'Workspace\x20name\x20(required)')[a2_0x53bc94(0x17d)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x53bc94(0x1b8)]('always-on-campaigns\x20[pattern]')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x35d))[a2_0x53bc94(0x228)]('--type\x20<type>',a2_0x53bc94(0x10a))[a2_0x53bc94(0x228)](a2_0x53bc94(0x34e),a2_0x53bc94(0x29b))['requiredOption']('--workspace\x20<name>',a2_0x53bc94(0x313))[a2_0x53bc94(0x17d)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd['command']('show\x20<name-or-id>')['description'](a2_0x53bc94(0x328))[a2_0x53bc94(0x2b0)](a2_0x53bc94(0x109),a2_0x53bc94(0x313))[a2_0x53bc94(0x228)](a2_0x53bc94(0x128),a2_0x53bc94(0x2e0))[a2_0x53bc94(0x17d)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0xda))[a2_0x53bc94(0xe0)]('Create\x20a\x20new\x20always-on\x20campaign')[a2_0x53bc94(0x2b0)](a2_0x53bc94(0x289),a2_0x53bc94(0x12f))[a2_0x53bc94(0x2b0)]('--type\x20<type>','Campaign\x20type\x20(email\x20or\x20push)')[a2_0x53bc94(0x2b0)](a2_0x53bc94(0x109),'Workspace\x20name\x20(required)')[a2_0x53bc94(0x228)]('--description\x20<desc>',a2_0x53bc94(0x1b6))['option'](a2_0x53bc94(0x2d8),'Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')[a2_0x53bc94(0x228)](a2_0x53bc94(0x370),a2_0x53bc94(0x322))[a2_0x53bc94(0x17d)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd['command'](a2_0x53bc94(0x1a0))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x1cb))[a2_0x53bc94(0x2b0)](a2_0x53bc94(0x109),a2_0x53bc94(0x313))[a2_0x53bc94(0x228)](a2_0x53bc94(0x289),a2_0x53bc94(0x155))[a2_0x53bc94(0x228)](a2_0x53bc94(0x16a),a2_0x53bc94(0x1b6))['option'](a2_0x53bc94(0x2d8),a2_0x53bc94(0x2a1))[a2_0x53bc94(0x228)](a2_0x53bc94(0x370),a2_0x53bc94(0x322))[a2_0x53bc94(0x17d)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x53bc94(0x1b8)]('delete\x20<name-or-id>')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x318))[a2_0x53bc94(0x2b0)](a2_0x53bc94(0x109),a2_0x53bc94(0x313))[a2_0x53bc94(0x228)](a2_0x53bc94(0x255),'Skip\x20confirmation\x20prompt')[a2_0x53bc94(0x17d)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x1ed))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x2f1))[a2_0x53bc94(0x2b0)](a2_0x53bc94(0x109),a2_0x53bc94(0x313))['action'](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd['command'](a2_0x53bc94(0x2c1))[a2_0x53bc94(0xe0)]('Pause\x20an\x20always-on\x20campaign')[a2_0x53bc94(0x2b0)](a2_0x53bc94(0x109),'Workspace\x20name\x20(required)')[a2_0x53bc94(0x17d)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x2e5))[a2_0x53bc94(0xe0)]('Resume\x20a\x20paused\x20always-on\x20campaign')[a2_0x53bc94(0x2b0)](a2_0x53bc94(0x109),a2_0x53bc94(0x313))['action'](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x259))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x330))[a2_0x53bc94(0x2b0)](a2_0x53bc94(0x109),'Workspace\x20name\x20(required)')[a2_0x53bc94(0x228)](a2_0x53bc94(0x255),a2_0x53bc94(0x1f1))[a2_0x53bc94(0x17d)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x332))[a2_0x53bc94(0xe0)]('Duplicate\x20an\x20always-on\x20campaign')['requiredOption'](a2_0x53bc94(0x109),a2_0x53bc94(0x313))[a2_0x53bc94(0x2b0)](a2_0x53bc94(0x289),a2_0x53bc94(0x2fa))[a2_0x53bc94(0x17d)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x53bc94(0x1b8)]('template')[a2_0x53bc94(0xe0)]('Email\x20template\x20management');templateCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x14f))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x27f))[a2_0x53bc94(0x228)]('--workspace\x20<name>',a2_0x53bc94(0x37c))['action'](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x148))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x1d8))[a2_0x53bc94(0x228)](a2_0x53bc94(0x109),'Workspace\x20name')[a2_0x53bc94(0x17d)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x116))[a2_0x53bc94(0xe0)](a2_0x53bc94(0xd1))[a2_0x53bc94(0x228)]('--workspace\x20<name>',a2_0x53bc94(0x37c))[a2_0x53bc94(0x228)](a2_0x53bc94(0x128),a2_0x53bc94(0x2e0))[a2_0x53bc94(0x17d)](createEngageAction(EngageTemplateShowCommand)),templateCmd['command'](a2_0x53bc94(0xda))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x189))['requiredOption'](a2_0x53bc94(0x289),a2_0x53bc94(0x127))['requiredOption']('--subject\x20<subject>',a2_0x53bc94(0xd7))['option'](a2_0x53bc94(0x303),a2_0x53bc94(0x1d6))[a2_0x53bc94(0x228)]('--html-file\x20<path>',a2_0x53bc94(0x273))[a2_0x53bc94(0x228)](a2_0x53bc94(0x109),a2_0x53bc94(0x313))[a2_0x53bc94(0x228)](a2_0x53bc94(0x2b9),a2_0x53bc94(0x356))[a2_0x53bc94(0x228)](a2_0x53bc94(0x20e),'Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)',_0x5c77be=>{const _0x3d050b=a2_0x53bc94;if(![_0x3d050b(0x34d),_0x3d050b(0x311)][_0x3d050b(0x29d)](_0x5c77be))throw new SDKError(ErrorCode[_0x3d050b(0x199)],_0x3d050b(0x253)+_0x5c77be+_0x3d050b(0x198));return _0x5c77be;})[a2_0x53bc94(0x17d)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x1a0))['description']('Update\x20an\x20email\x20template')['option'](a2_0x53bc94(0x109),a2_0x53bc94(0x37c))[a2_0x53bc94(0x228)]('--name\x20<name>','New\x20template\x20name')['option']('--subject\x20<subject>',a2_0x53bc94(0xd7))[a2_0x53bc94(0x228)](a2_0x53bc94(0x303),a2_0x53bc94(0x1d6))[a2_0x53bc94(0x228)](a2_0x53bc94(0x343),'Read\x20HTML\x20template\x20from\x20file')[a2_0x53bc94(0x228)](a2_0x53bc94(0x2b9),a2_0x53bc94(0x356))[a2_0x53bc94(0x17d)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd['command']('pull\x20[workspace]')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x14d))[a2_0x53bc94(0x228)](a2_0x53bc94(0x109),a2_0x53bc94(0x37c))['option'](a2_0x53bc94(0x289),'Pull\x20specific\x20template\x20by\x20name')[a2_0x53bc94(0x228)](a2_0x53bc94(0x301),a2_0x53bc94(0x1f1))[a2_0x53bc94(0x228)]('--dry-run','Show\x20what\x20would\x20be\x20written\x20without\x20writing')['action'](createEngageAction(EngageTemplatePullCommand)),templateCmd['command'](a2_0x53bc94(0x307))['description']('Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates')[a2_0x53bc94(0x228)](a2_0x53bc94(0x109),a2_0x53bc94(0x37c))[a2_0x53bc94(0x228)]('-y,\x20--yes',a2_0x53bc94(0x1f1))[a2_0x53bc94(0x228)]('--dry-run',a2_0x53bc94(0xf7))[a2_0x53bc94(0x17d)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x297))[a2_0x53bc94(0xe0)](a2_0x53bc94(0xec))[a2_0x53bc94(0x228)]('--verbose',a2_0x53bc94(0xef))[a2_0x53bc94(0x17d)](createEngageAction(EngageTemplateValidateCommand)),templateCmd['command'](a2_0x53bc94(0x1b4))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x333))['option'](a2_0x53bc94(0x109),a2_0x53bc94(0x37c))['option']('--yes',a2_0x53bc94(0x1f1))[a2_0x53bc94(0x17d)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x241))[a2_0x53bc94(0xe0)]('Workspace\x20management');workspaceCmd['command'](a2_0x53bc94(0x14f))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x24e))[a2_0x53bc94(0x17d)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x107))['description'](a2_0x53bc94(0x1f5))['action'](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x116))['description']('Show\x20workspace\x20details')[a2_0x53bc94(0x228)](a2_0x53bc94(0x128),a2_0x53bc94(0x2e0))[a2_0x53bc94(0x17d)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd['command'](a2_0x53bc94(0xda))['description'](a2_0x53bc94(0x2bd))['requiredOption']('--name\x20<name>',a2_0x53bc94(0x37c))[a2_0x53bc94(0x228)]('--description\x20<desc>',a2_0x53bc94(0x2b2))[a2_0x53bc94(0x17d)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x53bc94(0x1b8)]('update\x20<name-or-id>')['description'](a2_0x53bc94(0x298))[a2_0x53bc94(0x228)]('--name\x20<name>','New\x20workspace\x20name')[a2_0x53bc94(0x228)](a2_0x53bc94(0x16a),a2_0x53bc94(0x2b2))['action'](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x1b4))[a2_0x53bc94(0xe0)]('Delete\x20a\x20workspace')[a2_0x53bc94(0x228)](a2_0x53bc94(0x255),'Skip\x20confirmation\x20prompt')[a2_0x53bc94(0x17d)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x53bc94(0x1b8)]('use\x20<name>')['description'](a2_0x53bc94(0x355))[a2_0x53bc94(0x17d)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x53bc94(0x1b8)]('delivery')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x1e9));deliveryCmd[a2_0x53bc94(0x1b8)]('senders\x20[pattern]')['description'](a2_0x53bc94(0x1e5))[a2_0x53bc94(0x228)](a2_0x53bc94(0x109),a2_0x53bc94(0x37c))['action'](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x221))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x19f)),connectionListAction=async _0x2ee773=>{const _0x34af44=a2_0x53bc94,_0x51b7f8=new ConnectionListCommand(),_0x33728c=program['opts'](),_0x3621dc=await createTDXInstance(_0x33728c),_0x52b952=await _0x51b7f8[_0x34af44(0x1d9)]({'options':{..._0x33728c,..._0x2ee773},'args':[],'tdx':_0x3621dc});gracefulExit(_0x52b952);};connectionCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x368))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x126))[a2_0x53bc94(0x17d)](connectionListAction),program[a2_0x53bc94(0x1b8)]('connections',{'hidden':!![]})[a2_0x53bc94(0xe0)](a2_0x53bc94(0x1e3))[a2_0x53bc94(0x17d)](connectionListAction),connectionCmd['command'](a2_0x53bc94(0x206))[a2_0x53bc94(0xe0)]('Show\x20connection\x20details\x20by\x20name')['action'](async(_0x11377f,_0x1688b9)=>{const _0x318f30=a2_0x53bc94,_0x4359ba=new ConnectionShowCommand(),_0x6ab177=program[_0x318f30(0x216)](),_0x378d8f=await createTDXInstance(_0x6ab177),_0x217965=await _0x4359ba[_0x318f30(0x1d9)]({'options':{..._0x6ab177,..._0x1688b9},'args':[_0x11377f],'tdx':_0x378d8f});gracefulExit(_0x217965);}),connectionCmd['command'](a2_0x53bc94(0x316))['description'](a2_0x53bc94(0x31c))[a2_0x53bc94(0x17d)](async(_0x2aac0d,_0x1e79d3)=>{const _0x179aae=a2_0x53bc94,_0x444088=new ConnectionSchemaCommand(),_0x114f8b=program[_0x179aae(0x216)](),_0x66494d=await createTDXInstance(_0x114f8b),_0x52a07a=await _0x444088['run']({'options':{..._0x114f8b,..._0x1e79d3},'args':[_0x2aac0d],'tdx':_0x66494d});gracefulExit(_0x52a07a);}),connectionCmd[a2_0x53bc94(0x1b8)]('types')[a2_0x53bc94(0xe0)]('List\x20available\x20connector\x20types')[a2_0x53bc94(0x17d)](async _0x175845=>{const _0x3e9666=a2_0x53bc94,_0x4377e8=new ConnectionTypesCommand(),_0x31542a=program[_0x3e9666(0x216)](),_0x241ba4=await createTDXInstance(_0x31542a),_0x5e5a7c=await _0x4377e8[_0x3e9666(0x1d9)]({'options':{..._0x31542a,..._0x175845},'args':[],'tdx':_0x241ba4});gracefulExit(_0x5e5a7c);}),connectionCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x2db))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x382))[a2_0x53bc94(0x17d)](async(_0x395926,_0x3fb5ae)=>{const _0x1fe357=a2_0x53bc94,_0x4e0d5e=new ConnectionSettingsCommand(),_0x207c85=program[_0x1fe357(0x216)](),_0x3cc8dd=await createTDXInstance(_0x207c85),_0x11722b=await _0x4e0d5e['run']({'options':{..._0x207c85,..._0x3fb5ae},'args':[_0x395926],'tdx':_0x3cc8dd});gracefulExit(_0x11722b);});const journeyCmd=program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x1c1))[a2_0x53bc94(0xe0)]('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0x521f2b,_0x260cb7)=>{const _0x3bd5c0=a2_0x53bc94,_0x174cff=new JourneyListCommand(),_0x35fbb2=program['opts'](),_0xf3bf09=await createTDXInstance(_0x35fbb2),_0x320cd4=await _0x174cff[_0x3bd5c0(0x1d9)]({'options':{..._0x35fbb2,..._0x260cb7},'args':_0x521f2b?[_0x521f2b]:[],'tdx':_0xf3bf09});gracefulExit(_0x320cd4);};journeyCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x14f))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x174))[a2_0x53bc94(0x17d)](journeyListAction),journeyCmd['command']('view\x20<name-or-path>')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x22d))[a2_0x53bc94(0x228)](a2_0x53bc94(0x1f8),a2_0x53bc94(0x357))[a2_0x53bc94(0x228)]('--include-stats',a2_0x53bc94(0x1d1))['action'](async(_0x230c09,_0x247524)=>{const _0x9aa05a=a2_0x53bc94,_0x14045f=new JourneyViewCommand(),_0x157db7=program[_0x9aa05a(0x216)](),_0x2e29e4=await createTDXInstance(_0x157db7),_0x433818=await _0x14045f[_0x9aa05a(0x1d9)]({'options':{..._0x157db7,..._0x247524},'args':[_0x230c09],'tdx':_0x2e29e4});gracefulExit(_0x433818);}),journeyCmd['command']('stats\x20<name-or-path>')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x37f))[a2_0x53bc94(0x228)](a2_0x53bc94(0x20d),'Show\x20stats\x20for\x20specific\x20stage')[a2_0x53bc94(0x228)](a2_0x53bc94(0x1fc),a2_0x53bc94(0x2be))[a2_0x53bc94(0x228)]('--to\x20<date>',a2_0x53bc94(0x383))['option'](a2_0x53bc94(0xdb),a2_0x53bc94(0x207))['action'](async(_0x2eda51,_0xfd182b)=>{const _0x4efcbc=a2_0x53bc94,_0x2691e8=new JourneyStatsCommand(),_0xb9418f=program[_0x4efcbc(0x216)](),_0x5f3a7d=await createTDXInstance(_0xb9418f),_0x2ecdc8=await _0x2691e8['run']({'options':{..._0xb9418f,..._0xfd182b},'args':[_0x2eda51],'tdx':_0x5f3a7d});gracefulExit(_0x2ecdc8);}),journeyCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x312))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x11e))[a2_0x53bc94(0x228)](a2_0x53bc94(0x12b),a2_0x53bc94(0x1a3))[a2_0x53bc94(0x228)]('--from\x20<date>',a2_0x53bc94(0x2be))[a2_0x53bc94(0x228)]('--to\x20<date>',a2_0x53bc94(0x383))[a2_0x53bc94(0x228)](a2_0x53bc94(0x139),'Maximum\x20number\x20of\x20nodes',_0x5b5ae9=>{const _0x1f266e=parseInt(_0x5b5ae9,0xa);if(isNaN(_0x1f266e))throw new Error('Invalid\x20--limit\x20value:\x20\x22'+_0x5b5ae9+'\x22.\x20Must\x20be\x20a\x20number.');return _0x1f266e;})['action'](async(_0x4dc40e,_0x20f4e3)=>{const _0x2cfcda=a2_0x53bc94,_0x1b3d8a=new JourneyTrafficCommand(),_0x5977ab=program['opts'](),_0x3bc23b=await createTDXInstance(_0x5977ab),_0x1d52d5=await _0x1b3d8a[_0x2cfcda(0x1d9)]({'options':{..._0x5977ab,..._0x20f4e3},'args':[_0x4dc40e],'tdx':_0x3bc23b});gracefulExit(_0x1d52d5);}),journeyCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x34b))[a2_0x53bc94(0xe0)]('Pause\x20a\x20running\x20journey')[a2_0x53bc94(0x17d)](async(_0x699042,_0x284dfb)=>{const _0x79e6ec=a2_0x53bc94,_0x1fff3f=new JourneyPauseCommand(),_0x5e2bb2=program[_0x79e6ec(0x216)](),_0x247ea2=await createTDXInstance(_0x5e2bb2),_0x55c5f2=await _0x1fff3f[_0x79e6ec(0x1d9)]({'options':{..._0x5e2bb2,..._0x284dfb},'args':[_0x699042],'tdx':_0x247ea2});gracefulExit(_0x55c5f2);}),journeyCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x340))[a2_0x53bc94(0xe0)]('Resume\x20a\x20paused\x20journey')['action'](async(_0x5e20e3,_0x7baa5d)=>{const _0x38bac0=a2_0x53bc94,_0x5e5919=new JourneyResumeCommand(),_0x234f07=program[_0x38bac0(0x216)](),_0x22f2ba=await createTDXInstance(_0x234f07),_0x7b158c=await _0x5e5919[_0x38bac0(0x1d9)]({'options':{..._0x234f07,..._0x7baa5d},'args':[_0x5e20e3],'tdx':_0x22f2ba});gracefulExit(_0x7b158c);}),journeyCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x1e6))['description']('Export\x20journey(s)\x20as\x20YAML\x20files')[a2_0x53bc94(0x228)](a2_0x53bc94(0x14b),a2_0x53bc94(0x1f3))[a2_0x53bc94(0x17d)](async(_0xf40d0a,_0xa8f812)=>{const _0x4dc694=new JourneyPullCommand(),_0x22cb58=program['opts'](),_0x497db9=await createTDXInstance(_0x22cb58),_0x22b7ac=await _0x4dc694['run']({'options':{..._0x22cb58,..._0xa8f812},'args':_0xf40d0a?[_0xf40d0a]:[],'tdx':_0x497db9});gracefulExit(_0x22b7ac);}),journeyCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x307))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x229))[a2_0x53bc94(0x17d)](async(_0x221ff3,_0x51ab9a)=>{const _0x2758ec=a2_0x53bc94,_0x10fa3d=new JourneyPushCommand(),_0x5fda7b=program[_0x2758ec(0x216)](),_0x38b249=await createTDXInstance(_0x5fda7b),_0x8198b0=await _0x10fa3d[_0x2758ec(0x1d9)]({'options':{..._0x5fda7b,..._0x51ab9a},'args':_0x221ff3?[_0x221ff3]:[],'tdx':_0x38b249});gracefulExit(_0x8198b0);}),journeyCmd['command'](a2_0x53bc94(0x32c))[a2_0x53bc94(0xe0)]('Show\x20journey\x20table\x20column-to-step\x20mapping')['action'](async(_0x42b19d,_0x4ecb43)=>{const _0x3ca4e8=a2_0x53bc94,_0x161230=new JourneyColumnsCommand(),_0x494127=program[_0x3ca4e8(0x216)](),_0x33f88b=await createTDXInstance(_0x494127),_0x11b42e=await _0x161230[_0x3ca4e8(0x1d9)]({'options':{..._0x494127,..._0x4ecb43},'args':[_0x42b19d],'tdx':_0x33f88b});gracefulExit(_0x11b42e);}),journeyCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x1db))['description'](a2_0x53bc94(0x196))[a2_0x53bc94(0x17d)](async(_0x19b895,_0x27c91e)=>{const _0x1069c7=a2_0x53bc94,_0x1888cc=new JourneyActivationsCommand(),_0x170ac3=program[_0x1069c7(0x216)](),_0x15374e=await createTDXInstance(_0x170ac3),_0x50a819=await _0x1888cc[_0x1069c7(0x1d9)]({'options':{..._0x170ac3,..._0x27c91e},'args':[_0x19b895],'tdx':_0x15374e});gracefulExit(_0x50a819);}),journeyCmd[a2_0x53bc94(0x1b8)]('versions\x20<name-or-path>')['description'](a2_0x53bc94(0x281))[a2_0x53bc94(0x17d)](async(_0x1db04c,_0x59f6d5)=>{const _0x530748=a2_0x53bc94,_0x27329b=new JourneyVersionsCommand(),_0x22591f=program['opts'](),_0x3e2b70=await createTDXInstance(_0x22591f),_0x156fad=await _0x27329b[_0x530748(0x1d9)]({'options':{..._0x22591f,..._0x59f6d5},'args':[_0x1db04c],'tdx':_0x3e2b70});gracefulExit(_0x156fad);});const journeyVersionCmd=journeyCmd[a2_0x53bc94(0x1b8)]('version')[a2_0x53bc94(0xe0)]('Journey\x20version\x20management');journeyVersionCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x145))[a2_0x53bc94(0xe0)](a2_0x53bc94(0xff))[a2_0x53bc94(0x17d)](async(_0x2f70c3,_0xc9d8e8)=>{const _0x74de1f=a2_0x53bc94,_0x59408a=new JourneyVersionCreateCommand(),_0x55ad54=program[_0x74de1f(0x216)](),_0x35a87e=await createTDXInstance(_0x55ad54),_0x10367a=await _0x59408a[_0x74de1f(0x1d9)]({'options':{..._0x55ad54,..._0xc9d8e8},'args':[_0x2f70c3],'tdx':_0x35a87e});gracefulExit(_0x10367a);}),journeyVersionCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x1ff))[a2_0x53bc94(0xe0)]('View\x20a\x20specific\x20version\x20of\x20a\x20journey')[a2_0x53bc94(0x2b0)](a2_0x53bc94(0x2cf),a2_0x53bc94(0x2b8))[a2_0x53bc94(0x17d)](async(_0x1bb04e,_0x227d06)=>{const _0x353710=new JourneyVersionViewCommand(),_0x2b7661=program['opts'](),_0x307faf=await createTDXInstance(_0x2b7661),_0x1b1e5c=await _0x353710['run']({'options':{..._0x2b7661,..._0x227d06},'args':[_0x1bb04e],'tdx':_0x307faf});gracefulExit(_0x1b1e5c);}),journeyCmd[a2_0x53bc94(0x1b8)]('validate\x20[target]')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x248))[a2_0x53bc94(0x17d)](async(_0x5d8df2,_0x2280c1)=>{const _0xbba022=a2_0x53bc94,_0x165ae4=new JourneyValidateCommand(),_0x52f70f=program['opts'](),_0x26d11d=await createTDXInstance(_0x52f70f),_0x5ab43b=await _0x165ae4[_0xbba022(0x1d9)]({'options':{..._0x52f70f,..._0x2280c1},'args':_0x5d8df2?[_0x5d8df2]:[],'tdx':_0x26d11d});gracefulExit(_0x5ab43b);}),program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x1de))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x35c))[a2_0x53bc94(0x17d)](journeyListAction);const agentSyncCmd=program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x365))[a2_0x53bc94(0xe0)]('LLM\x20agent\x20management');agentSyncCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x121))[a2_0x53bc94(0xe0)]('Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files')[a2_0x53bc94(0x228)](a2_0x53bc94(0x2a9),'Output\x20directory')[a2_0x53bc94(0x228)](a2_0x53bc94(0x25b),a2_0x53bc94(0x37e))['option'](a2_0x53bc94(0x20c),'Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)')[a2_0x53bc94(0x17d)](async(_0x16764c,_0x183ac2,_0xbbc114)=>{const _0x4ea24d=a2_0x53bc94,_0x236964=new AgentPullCommand(),_0xed4fe3=program[_0x4ea24d(0x216)](),_0x428cdc=await createTDXInstance(_0xed4fe3),_0x3df6ef=[];if(_0x16764c)_0x3df6ef[_0x4ea24d(0x152)](_0x16764c);if(_0x183ac2)_0x3df6ef[_0x4ea24d(0x152)](_0x183ac2);const _0x20491e=await _0x236964['run']({'options':{..._0xed4fe3,..._0xbbc114},'args':_0x3df6ef,'tdx':_0x428cdc});gracefulExit(_0x20491e);}),agentSyncCmd['command']('push\x20[path]')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x369))[a2_0x53bc94(0x228)](a2_0x53bc94(0x25b),a2_0x53bc94(0x1dc))[a2_0x53bc94(0x17d)](async(_0x5fcb63,_0x57df73)=>{const _0x180b68=a2_0x53bc94,_0x4a8361=new AgentPushCommand(),_0x2d0ec6=program[_0x180b68(0x216)](),_0x364b00=await createTDXInstance(_0x2d0ec6),_0x4532fa=await _0x4a8361[_0x180b68(0x1d9)]({'options':{..._0x2d0ec6,..._0x57df73},'args':_0x5fcb63?[_0x5fcb63]:[],'tdx':_0x364b00});gracefulExit(_0x4532fa);}),agentSyncCmd['command'](a2_0x53bc94(0x15a))['description']('Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project')[a2_0x53bc94(0x228)](a2_0x53bc94(0x24a),a2_0x53bc94(0x2e7))['action'](async(_0x5d1e66,_0x43ebbb)=>{const _0x54131a=a2_0x53bc94,_0x1c84f9=new AgentCloneCommand(),_0x552061=program[_0x54131a(0x216)](),_0x41a195=await createTDXInstance(_0x552061),_0x36bae4=await _0x1c84f9[_0x54131a(0x1d9)]({'options':{..._0x552061,..._0x43ebbb},'args':_0x5d1e66?[_0x5d1e66]:[],'tdx':_0x41a195});gracefulExit(_0x36bae4);}),agentSyncCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x389))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x296))[a2_0x53bc94(0x228)](a2_0x53bc94(0x31e),a2_0x53bc94(0x158))[a2_0x53bc94(0x228)](a2_0x53bc94(0x319),a2_0x53bc94(0x36c))[a2_0x53bc94(0x228)](a2_0x53bc94(0x14b),a2_0x53bc94(0x22a))[a2_0x53bc94(0x228)](a2_0x53bc94(0xf6),a2_0x53bc94(0x21e))[a2_0x53bc94(0x228)](a2_0x53bc94(0x144),'Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')[a2_0x53bc94(0x17d)](async(_0x38ae6a,_0x2e02c1)=>{const _0x3aef3b=a2_0x53bc94,_0x190c22=new AgentTestCommand(),_0x480fca=program[_0x3aef3b(0x216)](),_0x2c50e3=await createTDXInstance(_0x480fca),_0x181c62=await _0x190c22[_0x3aef3b(0x1d9)]({'options':{..._0x480fca,..._0x2e02c1},'args':_0x38ae6a?[_0x38ae6a]:[],'tdx':_0x2c50e3});gracefulExit(_0x181c62);}),agentSyncCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x14f))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x384))[a2_0x53bc94(0x17d)](llmAgentListAction),agentSyncCmd[a2_0x53bc94(0x1b8)]('show\x20<agent-name>')[a2_0x53bc94(0xe0)](a2_0x53bc94(0x1ec))[a2_0x53bc94(0x17d)](async(_0x33796e,_0x67180b)=>{const _0x92d2f2=a2_0x53bc94,_0x258d06=new LLMAgentShowCommand(),_0x13687c=program[_0x92d2f2(0x216)](),_0x4d0760=await createTDXInstance(_0x13687c),_0x173b21=await _0x258d06[_0x92d2f2(0x1d9)]({'options':{..._0x13687c,..._0x67180b},'args':[_0x33796e],'tdx':_0x4d0760});gracefulExit(_0x173b21);}),agentSyncCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x105))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x26a))[a2_0x53bc94(0x228)]('--system-prompt\x20<text>','System\x20prompt/instructions\x20(default:\x20empty)')[a2_0x53bc94(0x228)](a2_0x53bc94(0x23b),a2_0x53bc94(0x1c5),a2_0x53bc94(0x136))['option']('--starter-message\x20<text>',a2_0x53bc94(0x161))[a2_0x53bc94(0x228)](a2_0x53bc94(0x32d),a2_0x53bc94(0x1f9),'4')[a2_0x53bc94(0x228)](a2_0x53bc94(0x2d5),a2_0x53bc94(0x131),a2_0x53bc94(0x30b))[a2_0x53bc94(0x17d)](async(_0x89ae12,_0x423937)=>{const _0x329799=a2_0x53bc94,_0x5e3743=new LLMAgentCreateCommand(),_0x4b9330=program[_0x329799(0x216)](),_0xe68545=await createTDXInstance(_0x4b9330),_0x40a78b=await _0x5e3743['run']({'options':{..._0x4b9330,..._0x423937},'args':[_0x89ae12],'tdx':_0xe68545});gracefulExit(_0x40a78b);}),agentSyncCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x1c6))[a2_0x53bc94(0xe0)](a2_0x53bc94(0x225))['option']('--name\x20<text>',a2_0x53bc94(0x159))[a2_0x53bc94(0x228)](a2_0x53bc94(0x177),'Agent\x20prompt/instructions')[a2_0x53bc94(0x228)](a2_0x53bc94(0x104),a2_0x53bc94(0x213))[a2_0x53bc94(0x228)]('--starter-message\x20<text>','Starter\x20message')[a2_0x53bc94(0x17d)](async(_0x5b9473,_0x9ff7f8)=>{const _0x559a05=a2_0x53bc94,_0x171168=new LLMAgentUpdateCommand(),_0x729b61=program[_0x559a05(0x216)](),_0x474604=await createTDXInstance(_0x729b61),_0xf69697=await _0x171168[_0x559a05(0x1d9)]({'options':{..._0x729b61,..._0x9ff7f8},'args':[_0x5b9473],'tdx':_0x474604});gracefulExit(_0xf69697);}),agentSyncCmd[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x267))['description'](a2_0x53bc94(0x2a2))[a2_0x53bc94(0x17d)](async(_0x4f4970,_0x15c08e)=>{const _0x4c7df1=a2_0x53bc94,_0x1930df=new LLMAgentDeleteCommand(),_0xedcb29=program[_0x4c7df1(0x216)](),_0x1d4a95=await createTDXInstance(_0xedcb29),_0x33f143=await _0x1930df[_0x4c7df1(0x1d9)]({'options':{..._0xedcb29,..._0x15c08e},'args':[_0x4f4970],'tdx':_0x1d4a95});gracefulExit(_0x33f143);}),program[a2_0x53bc94(0x1b8)](a2_0x53bc94(0x208),{'hidden':!![]})[a2_0x53bc94(0x17d)](()=>{const _0x17cf5e=a2_0x53bc94;function _0xc90051(_0x29b286,_0x373817){const _0x19ed8a=a2_0x21dc,_0x40e48e=[];for(const _0x25137c of _0x29b286[_0x19ed8a(0xf2)]){if(_0x25137c[_0x19ed8a(0x1a5)])continue;const _0x32396b=_0x373817?_0x373817+'\x20'+_0x25137c[_0x19ed8a(0x1cd)]():_0x25137c[_0x19ed8a(0x1cd)](),_0x5457b2=_0x32396b['split']('\x20')[0x0],_0x543d95=COMMAND_CATEGORIES['find'](_0x2218a9=>_0x2218a9[_0x19ed8a(0xf2)][_0x19ed8a(0x29d)](_0x5457b2)),_0x5986b3=_0x543d95?.[_0x19ed8a(0x1cd)]??'';if(_0x25137c[_0x19ed8a(0xf2)][_0x19ed8a(0x2b4)]>0x0)_0x40e48e['push'](..._0xc90051(_0x25137c,_0x32396b));else{const _0x4d9194=(_0x25137c[_0x19ed8a(0x2a0)]||[])[_0x19ed8a(0x245)](_0xb0c181=>{const _0x1a68b4=_0x19ed8a,_0x52d43c=_0xb0c181[_0x1a68b4(0x211)]?_0xb0c181[_0x1a68b4(0x1cd)]()+_0x1a68b4(0x24f):_0xb0c181[_0x1a68b4(0x1cd)]();return _0xb0c181['required']?'<'+_0x52d43c+'>':'['+_0x52d43c+']';})['join']('\x20'),_0xb291cc=_0x25137c[_0x19ed8a(0x108)][_0x19ed8a(0x106)](_0x508fa8=>!_0x508fa8[_0x19ed8a(0x265)]&&_0x508fa8[_0x19ed8a(0x1e4)]!=='--help')[_0x19ed8a(0x245)](_0x42d0ee=>({'flags':_0x42d0ee[_0x19ed8a(0x277)],'description':_0x42d0ee[_0x19ed8a(0xe0)]}));_0x40e48e[_0x19ed8a(0x152)]({'name':_0x32396b,'description':_0x25137c[_0x19ed8a(0xe0)](),'group':_0x5986b3,'usage':_0x4d9194,'options':_0xb291cc});}}return _0x40e48e;}console[_0x17cf5e(0x30a)](JSON['stringify'](_0xc90051(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x69b2cb=a2_0x53bc94,_0x293375=!process[_0x69b2cb(0x2d2)][_0x69b2cb(0xcc)](0x2)[_0x69b2cb(0x2b4)];showBriefHelp=_0x293375,program[_0x69b2cb(0x243)](process['argv']);_0x293375&&program['outputHelp']();const _0x5d692e=process['argv'][0x2]===_0x69b2cb(0x166);if(process['stderr'][_0x69b2cb(0x22b)]&&process[_0x69b2cb(0x2d2)][_0x69b2cb(0x2b4)]>0x2&&!isDevVersion()&&!_0x5d692e){const _0x4aa863=loadReleaseChannel();checkForUpdate(currentVersion,_0x4aa863)['then'](_0x4ccb55=>{_0x4ccb55&&displayUpdateNotification(_0x4ccb55);})['catch'](()=>{});}}
|