@treasuredata/tdx 0.27.2 → 0.28.0
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.d.ts +1 -1
- package/dist/cli-categories.js +1 -1
- package/dist/cli-categories.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/commands/activations.js +1 -1
- package/dist/commands/agent-command.d.ts.map +1 -1
- package/dist/commands/agent-command.js +1 -1
- package/dist/commands/agent-command.js.map +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/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.d.ts +17 -0
- package/dist/commands/delivery-command.d.ts.map +1 -0
- package/dist/commands/delivery-command.js +1 -0
- package/dist/commands/delivery-command.js.map +1 -0
- package/dist/commands/describe.js +1 -1
- package/dist/commands/engage-campaign-pull-command.d.ts +16 -0
- package/dist/commands/engage-campaign-pull-command.d.ts.map +1 -0
- package/dist/commands/engage-campaign-pull-command.js +1 -0
- package/dist/commands/engage-campaign-pull-command.js.map +1 -0
- package/dist/commands/engage-campaign-push-command.d.ts +16 -0
- package/dist/commands/engage-campaign-push-command.d.ts.map +1 -0
- package/dist/commands/engage-campaign-push-command.js +1 -0
- package/dist/commands/engage-campaign-push-command.js.map +1 -0
- package/dist/commands/engage-campaign-validate-command.d.ts +19 -0
- package/dist/commands/engage-campaign-validate-command.d.ts.map +1 -0
- package/dist/commands/engage-campaign-validate-command.js +1 -0
- package/dist/commands/engage-campaign-validate-command.js.map +1 -0
- package/dist/commands/engage-command.d.ts +15 -0
- package/dist/commands/engage-command.d.ts.map +1 -1
- package/dist/commands/engage-command.js +1 -1
- package/dist/commands/engage-command.js.map +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.d.ts.map +1 -1
- package/dist/commands/schedule-command.js +1 -1
- package/dist/commands/schedule-command.js.map +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/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/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.d.ts +48 -0
- package/dist/sdk/agent/agent-config.d.ts.map +1 -1
- package/dist/sdk/agent/agent-config.js +1 -1
- package/dist/sdk/agent/agent-config.js.map +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.d.ts.map +1 -1
- package/dist/sdk/agent/tool-target-registry.js +1 -1
- package/dist/sdk/agent/tool-target-registry.js.map +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.d.ts +31 -0
- package/dist/sdk/client/delivery-api-client.d.ts.map +1 -0
- package/dist/sdk/client/delivery-api-client.js +1 -0
- package/dist/sdk/client/delivery-api-client.js.map +1 -0
- package/dist/sdk/client/endpoints.d.ts +24 -0
- package/dist/sdk/client/endpoints.d.ts.map +1 -1
- package/dist/sdk/client/endpoints.js +1 -1
- package/dist/sdk/client/endpoints.js.map +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/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.d.ts +38 -0
- package/dist/sdk/delivery.d.ts.map +1 -0
- package/dist/sdk/delivery.js +1 -0
- package/dist/sdk/delivery.js.map +1 -0
- package/dist/sdk/engage/campaign-pull.d.ts +69 -0
- package/dist/sdk/engage/campaign-pull.d.ts.map +1 -0
- package/dist/sdk/engage/campaign-pull.js +1 -0
- package/dist/sdk/engage/campaign-pull.js.map +1 -0
- package/dist/sdk/engage/campaign-push.d.ts +100 -0
- package/dist/sdk/engage/campaign-push.d.ts.map +1 -0
- package/dist/sdk/engage/campaign-push.js +1 -0
- package/dist/sdk/engage/campaign-push.js.map +1 -0
- package/dist/sdk/engage/campaign-validator.d.ts +18 -0
- package/dist/sdk/engage/campaign-validator.d.ts.map +1 -0
- package/dist/sdk/engage/campaign-validator.js +1 -0
- package/dist/sdk/engage/campaign-validator.js.map +1 -0
- package/dist/sdk/engage/campaign-yaml.d.ts +78 -0
- package/dist/sdk/engage/campaign-yaml.d.ts.map +1 -0
- package/dist/sdk/engage/campaign-yaml.js +1 -0
- package/dist/sdk/engage/campaign-yaml.js.map +1 -0
- package/dist/sdk/engage/types/campaign-def.d.ts +12 -0
- package/dist/sdk/engage/types/campaign-def.d.ts.map +1 -0
- package/dist/sdk/engage/types/campaign-def.js +1 -0
- package/dist/sdk/engage/types/campaign-def.js.map +1 -0
- package/dist/sdk/engage/types/campaign-schema.d.ts +143 -0
- package/dist/sdk/engage/types/campaign-schema.d.ts.map +1 -0
- package/dist/sdk/engage/types/campaign-schema.js +1 -0
- package/dist/sdk/engage/types/campaign-schema.js.map +1 -0
- package/dist/sdk/engage.d.ts +19 -2
- package/dist/sdk/engage.d.ts.map +1 -1
- package/dist/sdk/engage.js +1 -1
- package/dist/sdk/engage.js.map +1 -1
- package/dist/sdk/errors.js +1 -1
- package/dist/sdk/index.d.ts +7 -0
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/index.js.map +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.d.ts.map +1 -1
- package/dist/sdk/llm/index.js +1 -1
- package/dist/sdk/llm/index.js.map +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.d.ts.map +1 -1
- package/dist/sdk/segment/child-segment-yaml.js +1 -1
- package/dist/sdk/segment/child-segment-yaml.js.map +1 -1
- package/dist/sdk/segment/fields-display.d.ts +6 -1
- package/dist/sdk/segment/fields-display.d.ts.map +1 -1
- package/dist/sdk/segment/fields-display.js +1 -1
- package/dist/sdk/segment/fields-display.js.map +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/target-resolution.js +1 -1
- package/dist/sdk/segment/tdx-config.d.ts +13 -1
- package/dist/sdk/segment/tdx-config.d.ts.map +1 -1
- package/dist/sdk/segment/tdx-config.js +1 -1
- package/dist/sdk/segment/tdx-config.js.map +1 -1
- package/dist/sdk/segment/types/segment-def.d.ts +12 -3
- package/dist/sdk/segment/types/segment-def.d.ts.map +1 -1
- package/dist/sdk/segment/validate-files.d.ts +8 -1
- package/dist/sdk/segment/validate-files.d.ts.map +1 -1
- package/dist/sdk/segment/validate-files.js +1 -1
- package/dist/sdk/segment/validate-files.js.map +1 -1
- package/dist/sdk/segment/yaml-validator.d.ts +1 -1
- package/dist/sdk/segment/yaml-validator.d.ts.map +1 -1
- package/dist/sdk/segment/yaml-validator.js +1 -1
- package/dist/sdk/segment/yaml-validator.js.map +1 -1
- package/dist/sdk/segment.d.ts.map +1 -1
- package/dist/sdk/segment.js +1 -1
- package/dist/sdk/segment.js.map +1 -1
- package/dist/sdk/types/cdp.d.ts +22 -3
- package/dist/sdk/types/cdp.d.ts.map +1 -1
- package/dist/sdk/types/engage.d.ts +43 -3
- package/dist/sdk/types/engage.d.ts.map +1 -1
- package/dist/sdk/types/index.d.ts +1 -1
- package/dist/sdk/types/index.d.ts.map +1 -1
- package/dist/sdk/types/index.js +1 -1
- package/dist/sdk/types/index.js.map +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/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/global-cache.js +1 -1
- package/dist/utils/json-loader.js +1 -1
- package/dist/utils/local-cache.js +1 -1
- package/dist/utils/logger/formatters/default-formatter.js +1 -1
- package/dist/utils/logger/formatters/index.js +1 -1
- package/dist/utils/logger/handlers/console-handler.js +1 -1
- package/dist/utils/logger/handlers/file-handler.js +1 -1
- package/dist/utils/logger/handlers/index.js +1 -1
- package/dist/utils/logger/handlers/null-handler.js +1 -1
- package/dist/utils/logger/index.js +1 -1
- package/dist/utils/logger/logger.js +1 -1
- package/dist/utils/logger/types.js +1 -1
- package/dist/utils/option-validation.js +1 -1
- package/dist/utils/process.js +1 -1
- package/dist/utils/prompt.js +1 -1
- package/dist/utils/spinner.js +1 -1
- package/dist/utils/sse-parser.js +1 -1
- package/dist/utils/string-utils.js +1 -1
- package/dist/utils/table-ref-parser.js +1 -1
- package/dist/utils/tdx-logger.js +1 -1
- package/dist/utils/version-check.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a2_0x28a4c0=a2_0xf64d;(function(_0x28bd83,_0x1c5748){const _0x206e9b=a2_0xf64d,_0x2885bb=_0x28bd83();while(!![]){try{const _0x537614=parseInt(_0x206e9b(0x3f1))/0x1*(-parseInt(_0x206e9b(0x239))/0x2)+parseInt(_0x206e9b(0x282))/0x3*(-parseInt(_0x206e9b(0x222))/0x4)+-parseInt(_0x206e9b(0x318))/0x5+-parseInt(_0x206e9b(0x2e8))/0x6+parseInt(_0x206e9b(0x2f2))/0x7+-parseInt(_0x206e9b(0x408))/0x8+parseInt(_0x206e9b(0x203))/0x9;if(_0x537614===_0x1c5748)break;else _0x2885bb['push'](_0x2885bb['shift']());}catch(_0x17628f){_0x2885bb['push'](_0x2885bb['shift']());}}}(a2_0x1b8a,0x734e0));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,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-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{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{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_0x28a4c0(0x1fd)][a2_0x28a4c0(0x3a7)](a2_0x28a4c0(0x217))){let versionOutput=a2_0x28a4c0(0x1fe)+currentVersion;buildInfo[a2_0x28a4c0(0x1d8)]&&!currentVersion[a2_0x28a4c0(0x3a7)](buildInfo[a2_0x28a4c0(0x1d8)])&&(versionOutput+='\x20('+buildInfo['gitRevision']+')'),buildInfo[a2_0x28a4c0(0x3e7)]&&(versionOutput+=a2_0x28a4c0(0x3b7)+buildInfo[a2_0x28a4c0(0x3e7)]),console[a2_0x28a4c0(0x306)](versionOutput),process[a2_0x28a4c0(0x324)](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0x28a4c0(0x236);buildInfo['gitRevision']&&!currentVersion[a2_0x28a4c0(0x3a7)](buildInfo[a2_0x28a4c0(0x1d8)])?description+=a2_0x28a4c0(0x443)+currentVersion+'\x20('+buildInfo[a2_0x28a4c0(0x1d8)]+')':description+=a2_0x28a4c0(0x443)+currentVersion;program[a2_0x28a4c0(0x3b2)](a2_0x28a4c0(0x357))[a2_0x28a4c0(0x3e0)](description),program['option'](a2_0x28a4c0(0x34d),a2_0x28a4c0(0x3c0))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x272),a2_0x28a4c0(0x30c))['option'](a2_0x28a4c0(0x3d2),a2_0x28a4c0(0x390),a2_0x28a4c0(0x2fe))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x461),'Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)')[a2_0x28a4c0(0x35f)]('--table',a2_0x28a4c0(0x376))['option'](a2_0x28a4c0(0x2bc),'Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x36c),a2_0x28a4c0(0x2d7))[a2_0x28a4c0(0x35f)]('--tsv','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)')['option'](a2_0x28a4c0(0x2f6),a2_0x28a4c0(0x265))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3ba),'Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)')[a2_0x28a4c0(0x35f)]('--color','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x34b),a2_0x28a4c0(0x3ec),![])[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3cb),'Enable\x20verbose\x20logging',![])[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x45f),a2_0x28a4c0(0x343))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2b5),'Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')[a2_0x28a4c0(0x35f)]('--timeout\x20<seconds>',a2_0x28a4c0(0x1d7),'30')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x44a),a2_0x28a4c0(0x2a1),![])[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2c6),'Skip\x20confirmation\x20prompts',![])[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x37a),a2_0x28a4c0(0x440))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3ed),a2_0x28a4c0(0x1de))['option'](a2_0x28a4c0(0x1f4),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x28c),a2_0x28a4c0(0x28d))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x29b),a2_0x28a4c0(0x1f9)),program[a2_0x28a4c0(0x3c7)]({'formatHelp':(_0x54acc5,_0x492295)=>{const _0x125873=a2_0x28a4c0,_0x3ffe56=_0x492295[_0x125873(0x450)](_0x54acc5,_0x492295),_0x57ecef=0x2,_0x35345a=0x2;function _0x20cfcd(_0x362dd8){const _0x31c9b2=_0x125873,_0x146d69=_0x362dd8;return!!(_0x146d69[_0x31c9b2(0x32d)]||_0x146d69['hidden']);}function _0x146836(_0x2d208a,_0x2a42d0){const _0x97c688=_0x125873;if(_0x2a42d0){const _0x1b9402=''+_0x2d208a[_0x97c688(0x3a9)](_0x3ffe56+_0x35345a)+_0x2a42d0;return _0x1b9402;}return _0x2d208a;}function _0x3e13bf(_0x3e0b87){const _0x168ede=_0x125873;return _0x3e0b87[_0x168ede(0x1ea)]('\x0a')['replace'](/^/gm,'\x20'[_0x168ede(0x2ae)](_0x57ecef));}const _0x453a69=[];_0x453a69[_0x125873(0x39e)](_0x125873(0x38e)+_0x492295[_0x125873(0x3b5)](_0x54acc5));const _0x44de4d=_0x492295[_0x125873(0x311)](_0x54acc5);_0x44de4d&&(_0x453a69['push'](''),_0x453a69[_0x125873(0x39e)](_0x44de4d));const _0x4bd500=_0x54acc5[_0x125873(0x45d)][_0x125873(0x462)](_0x1221a6=>!_0x20cfcd(_0x1221a6));if(_0x4bd500['length']>0x0){if(_0x54acc5[_0x125873(0x3b2)]()===_0x125873(0x357)){const _0x2a2dfd=_0x54acc5[_0x125873(0x293)](),_0x122bdf=!_0x2a2dfd[_0x125873(0x2e7)]&&process[_0x125873(0x2e2)][_0x125873(0x25f)],_0x5232ca=COMMAND_CATEGORIES,_0x3609ce=(_0x45f4c1,_0x3ebf55)=>_0x122bdf?_0x3ebf55(_0x45f4c1):_0x45f4c1,_0x3c17d2=new Map();_0x4bd500[_0x125873(0x3b9)](_0x7c4638=>{const _0x3dd3e3=_0x125873;_0x3c17d2['set'](_0x7c4638[_0x3dd3e3(0x3b2)](),_0x7c4638);}),_0x5232ca[_0x125873(0x3b9)](_0x3817ae=>{const _0x58dfe0=_0x125873,_0x22b9b9=_0x3817ae[_0x58dfe0(0x45d)][_0x58dfe0(0x43d)](_0x2223d5=>_0x3c17d2[_0x58dfe0(0x432)](_0x2223d5)??[]);if(_0x22b9b9['length']>0x0){_0x453a69[_0x58dfe0(0x39e)](''),_0x453a69[_0x58dfe0(0x39e)](_0x3609ce(_0x3817ae[_0x58dfe0(0x3b2)]+':',_0x3817ae[_0x58dfe0(0x422)]));const _0x1dfd00=_0x22b9b9[_0x58dfe0(0x32f)](_0xe1a5d5=>{const _0x3ef809=_0x58dfe0,_0x2b7bcb=_0x492295['subcommandTerm'](_0xe1a5d5),_0x2fbb36=_0x492295[_0x3ef809(0x228)](_0xe1a5d5);return _0x146836(_0x2b7bcb,_0x2fbb36);});_0x453a69[_0x58dfe0(0x39e)](_0x3e13bf(_0x1dfd00));}}),_0x453a69['push'](''),_0x453a69[_0x125873(0x39e)](_0x125873(0x261));}else{const _0x2ae440=_0x4bd500[_0x125873(0x32f)](_0x44b4ca=>{const _0x18e043=_0x125873,_0x3613b4=_0x492295['subcommandTerm'](_0x44b4ca),_0x48eb8c=_0x492295[_0x18e043(0x228)](_0x44b4ca);return _0x146836(_0x3613b4,_0x48eb8c);});_0x453a69[_0x125873(0x39e)](''),_0x453a69[_0x125873(0x39e)](_0x125873(0x340)),_0x453a69[_0x125873(0x39e)](_0x3e13bf(_0x2ae440));}}if(showBriefHelp&&_0x54acc5['name']()===_0x125873(0x357))_0x453a69[_0x125873(0x39e)](''),_0x453a69[_0x125873(0x39e)](_0x125873(0x245));else{const _0x5548eb=_0x54acc5[_0x125873(0x416)]['filter'](_0x52e182=>!_0x20cfcd(_0x52e182));if(_0x5548eb['length']>0x0){const _0x3ccb58=_0x5548eb[_0x125873(0x32f)](_0x1fb74f=>{const _0x2d5dd1=_0x492295['optionTerm'](_0x1fb74f),_0x52751d=_0x492295['optionDescription'](_0x1fb74f);return _0x146836(_0x2d5dd1,_0x52751d);});_0x453a69[_0x125873(0x39e)](''),_0x453a69[_0x125873(0x39e)]('Options:'),_0x453a69[_0x125873(0x39e)](_0x3e13bf(_0x3ccb58));}}const _0xc08eb7=(_0x54acc5[_0x125873(0x2ab)]||[])[_0x125873(0x462)](_0x1b6f7b=>!_0x20cfcd(_0x1b6f7b));if(_0xc08eb7['length']>0x0){const _0x30d7a6=_0xc08eb7['map'](_0x53b6c5=>{const _0x387a8d=_0x125873,_0x162589=_0x492295[_0x387a8d(0x3dc)](_0x53b6c5),_0x122e76=_0x492295['argumentDescription'](_0x53b6c5);return _0x146836(_0x162589,_0x122e76);});_0x453a69['push'](''),_0x453a69[_0x125873(0x39e)]('Arguments:'),_0x453a69['push'](_0x3e13bf(_0x30d7a6));}return _0x453a69['join']('\x0a')+'\x0a';},'subcommandTerm':_0x4127c6=>{const _0x23e3c2=a2_0x28a4c0,_0x169cbe=(_0x4127c6[_0x23e3c2(0x2ab)]||[])[_0x23e3c2(0x32f)](_0x2bf7b7=>_0x2bf7b7[_0x23e3c2(0x365)]?'<'+_0x2bf7b7[_0x23e3c2(0x3b2)]()+'>':'['+_0x2bf7b7[_0x23e3c2(0x3b2)]()+']')[_0x23e3c2(0x1ea)]('\x20'),_0x10c067=_0x4127c6[_0x23e3c2(0x348)](),_0x478eaa=_0x10c067[_0x23e3c2(0x43c)]>0x0?_0x4127c6[_0x23e3c2(0x3b2)]()+',\x20'+_0x10c067['join'](',\x20'):_0x4127c6['name']();return _0x169cbe?_0x478eaa+'\x20'+_0x169cbe:_0x478eaa;}}),program[a2_0x28a4c0(0x349)](a2_0x28a4c0(0x471),_0x15a02c=>{const _0x12da62=a2_0x28a4c0,_0x270b2b=_0x15a02c[_0x12da62(0x293)]();if(_0x270b2b['directory']){const _0x4d1a9f=resolve(_0x270b2b[_0x12da62(0x2c5)]),_0x503402=_0x4d1a9f!==_0x270b2b[_0x12da62(0x2c5)]?'\x20(resolved\x20to\x20'+_0x4d1a9f+')':'';if(!existsSync(_0x4d1a9f))throw new SDKError(ErrorCode[_0x12da62(0x291)],_0x12da62(0x2d9)+_0x270b2b[_0x12da62(0x2c5)]+_0x503402,undefined,{'helpText':_0x12da62(0x393)});const _0x42b64e=statSync(_0x4d1a9f);if(!_0x42b64e[_0x12da62(0x3c1)]())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x270b2b[_0x12da62(0x2c5)]+_0x503402,undefined,{'helpText':'The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.'});process[_0x12da62(0x43e)](_0x4d1a9f);}if(!_0x270b2b[_0x12da62(0x330)]){if(_0x270b2b[_0x12da62(0x2a0)])_0x270b2b[_0x12da62(0x330)]=_0x12da62(0x2a0);else{if(_0x270b2b[_0x12da62(0x3ab)])_0x270b2b[_0x12da62(0x330)]=_0x12da62(0x3ab);else{if(_0x270b2b[_0x12da62(0x3e6)])_0x270b2b[_0x12da62(0x330)]=_0x12da62(0x3e6);else _0x270b2b[_0x12da62(0x3be)]&&(_0x270b2b['format']=_0x12da62(0x3be));}}}_0x270b2b['in']&&!_0x270b2b[_0x12da62(0x20d)]&&(_0x270b2b[_0x12da62(0x20d)]=_0x270b2b['in']);if(_0x270b2b[_0x12da62(0x381)])_0x270b2b[_0x12da62(0x2db)]=LogLevel['TRACE'];else{if(_0x270b2b[_0x12da62(0x466)])_0x270b2b[_0x12da62(0x2db)]=LogLevel[_0x12da62(0x278)];else _0x270b2b[_0x12da62(0x2db)]===undefined&&(_0x270b2b[_0x12da62(0x2db)]=LogLevel[_0x12da62(0x2c7)]);}});async function createTDXInstance(_0x147570){const _0x27a7df=a2_0x28a4c0,_0x1b4ba8=await GlobalContext['createAsync'](_0x147570);return _0x1b4ba8[_0x27a7df(0x335)](_0x147570),TDX[_0x27a7df(0x452)]({'site':_0x1b4ba8[_0x27a7df(0x3e2)],'apiKey':_0x1b4ba8[_0x27a7df(0x351)],'logLevel':_0x1b4ba8[_0x27a7df(0x2db)],'profile':_0x1b4ba8[_0x27a7df(0x3e4)]});}const databaseCmd=program[a2_0x28a4c0(0x46f)]('database')[a2_0x28a4c0(0x33d)]('db')[a2_0x28a4c0(0x3e0)]('Database\x20management\x20commands'),databaseListAction=async(_0xa6cd60,_0x142212)=>{const _0x14f714=a2_0x28a4c0,_0x395251=new DatabasesCommand(),_0x2c1506=program[_0x14f714(0x293)](),_0x38b2cb=await createTDXInstance(_0x2c1506),_0x56f377=await _0x395251[_0x14f714(0x3a1)]({'options':{..._0x2c1506,..._0x142212},'args':_0xa6cd60?[_0xa6cd60]:[],'tdx':_0x38b2cb});gracefulExit(_0x56f377);};databaseCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x418))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x1df))[a2_0x28a4c0(0x1e6)](databaseListAction),program['command'](a2_0x28a4c0(0x2ed),{'hidden':!![]})[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x438))[a2_0x28a4c0(0x1e6)](databaseListAction),program['command']('chat\x20[message...]')[a2_0x28a4c0(0x3e0)]('Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)')[a2_0x28a4c0(0x35f)]('--agent\x20<ref>',a2_0x28a4c0(0x401))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x250),a2_0x28a4c0(0x3d8))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x1f3),'Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID')[a2_0x28a4c0(0x35f)]('--stream','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)')[a2_0x28a4c0(0x1e6)](async(_0x41e067,_0x4666dc)=>{const _0x91c49b=a2_0x28a4c0,_0x2bdc34=program['opts'](),_0x244947=await createTDXInstance(_0x2bdc34);if(_0x41e067[0x0]==='create'){const _0x4127ce=new ChatCreateCommand();gracefulExit(await _0x4127ce[_0x91c49b(0x3a1)]({'options':{..._0x2bdc34,..._0x4666dc},'args':_0x41e067['slice'](0x1),'tdx':_0x244947}));return;}const _0x21a27a=new ChatCommand(),_0x18cdac=await _0x21a27a[_0x91c49b(0x3a1)]({'options':{..._0x2bdc34,..._0x4666dc},'args':_0x41e067,'tdx':_0x244947});gracefulExit(_0x18cdac);});const apiCmd=program[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x29c))[a2_0x28a4c0(0x22d)](a2_0x28a4c0(0x458))[a2_0x28a4c0(0x30b)](a2_0x28a4c0(0x24b),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a')[a2_0x28a4c0(0x35f)]('-X,\x20--method\x20<method>','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a2_0x28a4c0(0x238))['option']('--data\x20<data>',a2_0x28a4c0(0x237))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2a9),a2_0x28a4c0(0x2ba))[a2_0x28a4c0(0x35f)]('-H,\x20--header\x20<header>',a2_0x28a4c0(0x2ec),(_0x1d7b73,_0x1d3b26)=>{return _0x1d3b26?[..._0x1d3b26,_0x1d7b73]:[_0x1d7b73];})['option'](a2_0x28a4c0(0x2d5),'API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')['action'](async(_0x1d9aa1,_0x378d74)=>{const _0x2f7c65=a2_0x28a4c0;if(!_0x1d9aa1){apiCmd['help']();return;}const _0x5c5f30=new ApiCommand(),_0x25ab72=program[_0x2f7c65(0x293)](),_0x483172=await createTDXInstance(_0x25ab72),_0xbec1e8=await _0x5c5f30[_0x2f7c65(0x3a1)]({'options':{..._0x25ab72,..._0x378d74},'args':[_0x1d9aa1],'tdx':_0x483172});gracefulExit(_0xbec1e8);});program[a2_0x28a4c0(0x46f)]('mcp')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x2fa))[a2_0x28a4c0(0x30b)](a2_0x28a4c0(0x24b),'\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,\x20jp01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a')[a2_0x28a4c0(0x1e6)](async _0x109778=>{const _0x40b5ae=a2_0x28a4c0,_0x52bc87=new MCPCommand(),_0xebe542=program[_0x40b5ae(0x293)](),_0x468906=await createTDXInstance(_0xebe542),_0x215995=await _0x52bc87[_0x40b5ae(0x3a1)]({'options':{..._0xebe542,..._0x109778},'args':[],'tdx':_0x468906});gracefulExit(_0x215995);});const tableCmd=program['command']('table')['description']('Table\x20management\x20commands'),tableListAction=async(_0x26c4e5,_0x2852bd)=>{const _0x3e93b8=a2_0x28a4c0,_0x3070cc=new TablesCommand(),_0x7d5f2d=program[_0x3e93b8(0x293)](),_0x3dc116=await createTDXInstance(_0x7d5f2d);_0x2852bd['in']&&(_0x2852bd['database']=_0x2852bd['in']);const _0x5b7df3=await _0x3070cc['run']({'options':{..._0x7d5f2d,..._0x2852bd},'args':_0x26c4e5?[_0x26c4e5]:[],'tdx':_0x3dc116});gracefulExit(_0x5b7df3);};tableCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x418))[a2_0x28a4c0(0x3e0)]('List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)')['option'](a2_0x28a4c0(0x2e4),a2_0x28a4c0(0x2eb))[a2_0x28a4c0(0x35f)]('--in\x20<database>',a2_0x28a4c0(0x382))['action'](tableListAction),program[a2_0x28a4c0(0x46f)]('tables\x20[pattern]',{'hidden':!![]})[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x419))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2e4),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')['option'](a2_0x28a4c0(0x46a),a2_0x28a4c0(0x382))[a2_0x28a4c0(0x1e6)](tableListAction),program[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x361))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x296))['option']('-d,\x20--database\x20<database>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x46a),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](async(_0x38f9f8,_0x5e5239)=>{const _0x2c4a84=a2_0x28a4c0,_0x6602f5=new ShowCommand(),_0x591781=program[_0x2c4a84(0x293)](),_0x315d20=await createTDXInstance(_0x591781);_0x5e5239['in']&&(_0x5e5239[_0x2c4a84(0x20d)]=_0x5e5239['in']);const _0x136628=await _0x6602f5[_0x2c4a84(0x3a1)]({'options':{..._0x591781,..._0x5e5239},'args':_0x38f9f8?[_0x38f9f8]:[],'tdx':_0x315d20});gracefulExit(_0x136628);}),program['command'](a2_0x28a4c0(0x424))['alias'](a2_0x28a4c0(0x40c))['description']('Describe\x20table\x20schema')['option'](a2_0x28a4c0(0x2e4),a2_0x28a4c0(0x3bb))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x46a),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x28a4c0(0x1e6)](async(_0x43bff0,_0x4f0a5d)=>{const _0x384b94=a2_0x28a4c0,_0x1f0fc7=new DescribeCommand(),_0x62e50e=program['opts'](),_0x24e17f=await createTDXInstance(_0x62e50e);_0x4f0a5d['in']&&(_0x4f0a5d[_0x384b94(0x20d)]=_0x4f0a5d['in']);const _0x3c5e99=await _0x1f0fc7[_0x384b94(0x3a1)]({'options':{..._0x62e50e,..._0x4f0a5d},'args':_0x43bff0?[_0x43bff0]:[],'tdx':_0x24e17f});gracefulExit(_0x3c5e99);}),program['command'](a2_0x28a4c0(0x40a))['description']('Run\x20Trino\x20query\x20with\x20streaming\x20results')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2e4),'Database\x20to\x20query\x20(default:\x20information_schema)')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x46a),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x410),'Trino\x20catalog\x20(default:\x20td)')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2a9),'Read\x20SQL\x20query\x20from\x20file')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2d2),a2_0x28a4c0(0x398),'40')['action'](async(_0x45b3f3,_0x4a33b5)=>{const _0x530876=a2_0x28a4c0,_0x40c319=new QueryCommand(),_0x4a1421=program[_0x530876(0x293)](),_0x5bee80=await createTDXInstance(_0x4a1421);_0x4a33b5['in']&&(_0x4a33b5['database']=_0x4a33b5['in']);const _0x53ce73=await _0x40c319['run']({'options':{..._0x4a1421,..._0x4a33b5},'args':_0x45b3f3?[_0x45b3f3]:[],'tdx':_0x5bee80});gracefulExit(_0x53ce73);});const segmentCmd=program[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x35b))['alias']('sg')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x3ae)),segmentListAction=async(_0x528ca6,_0x2f0c03)=>{const _0x57d0d3=a2_0x28a4c0,_0x2988db=new SegmentsCommand(),_0x17f5af=program[_0x57d0d3(0x293)](),_0x21da76=await createTDXInstance(_0x17f5af),_0x387f75=await _0x2988db[_0x57d0d3(0x3a1)]({'options':{..._0x17f5af,..._0x2f0c03},'args':_0x528ca6?[_0x528ca6]:[],'tdx':_0x21da76});gracefulExit(_0x387f75);};segmentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x2ee))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x395))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x288),a2_0x28a4c0(0x210))[a2_0x28a4c0(0x35f)]('--max-depth\x20<depth>',a2_0x28a4c0(0x3d6),'10')['action'](segmentListAction),program['command'](a2_0x28a4c0(0x1fc),{'hidden':!![]})['description'](a2_0x28a4c0(0x3f8))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x288),a2_0x28a4c0(0x210))['option'](a2_0x28a4c0(0x275),a2_0x28a4c0(0x3d6),'10')['action'](segmentListAction),segmentCmd[a2_0x28a4c0(0x46f)]('use\x20<path>',{'hidden':!![]})['description'](a2_0x28a4c0(0x2da))[a2_0x28a4c0(0x1e6)](async(_0x44daeb,_0x35bc71)=>{const _0x313c65=a2_0x28a4c0,_0x1cecad=new SegmentUseCommand(),_0x4b1ce9=program[_0x313c65(0x293)](),_0x2aa9f0=await createTDXInstance(_0x4b1ce9),_0x1ef3e4=await _0x1cecad['run']({'options':{..._0x4b1ce9,..._0x35bc71},'args':[_0x44daeb],'tdx':_0x2aa9f0});gracefulExit(_0x1ef3e4);});const segmentViewAction=async(_0x2e3ebe,_0x4324f4)=>{const _0x5bb88a=a2_0x28a4c0,_0x45a68b=new SegmentViewCommand(),_0x44f459=program[_0x5bb88a(0x293)](),_0x9fcdf4=await createTDXInstance(_0x44f459),_0x149093=await _0x45a68b[_0x5bb88a(0x3a1)]({'options':{..._0x44f459,..._0x4324f4},'args':_0x2e3ebe?[_0x2e3ebe]:[],'tdx':_0x9fcdf4});gracefulExit(_0x149093);};segmentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x25d))[a2_0x28a4c0(0x3e0)]('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')['option'](a2_0x28a4c0(0x43b),'Open\x20segment\x20in\x20web\x20browser')[a2_0x28a4c0(0x1e6)](segmentViewAction),segmentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x224),{'hidden':!![]})[a2_0x28a4c0(0x33d)](a2_0x28a4c0(0x260))['option'](a2_0x28a4c0(0x43b),a2_0x28a4c0(0x2d0))[a2_0x28a4c0(0x3e0)]('Show\x20segment\x20details\x20(alias\x20for\x20view)')['action'](segmentViewAction),segmentCmd[a2_0x28a4c0(0x46f)]('desc\x20[segment_name]')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x308))[a2_0x28a4c0(0x1e6)](async(_0xcee48c,_0x396379)=>{const _0x309c67=a2_0x28a4c0,_0x9e261b=new SegmentDescCommand(),_0x4d7a37=program[_0x309c67(0x293)](),_0x2efe94=await createTDXInstance(_0x4d7a37),_0x1a7bf3=await _0x9e261b[_0x309c67(0x3a1)]({'options':{..._0x4d7a37,..._0x396379},'args':_0xcee48c?[_0xcee48c]:[],'tdx':_0x2efe94});gracefulExit(_0x1a7bf3);}),segmentCmd[a2_0x28a4c0(0x46f)]('show\x20[segment_name]')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x254))[a2_0x28a4c0(0x1e6)](async(_0x246e8f,_0x14032a)=>{const _0x4cfb0e=a2_0x28a4c0,_0x4e190f=new SegmentShowCommand(),_0x364fc8=program[_0x4cfb0e(0x293)](),_0x4d74a0=await createTDXInstance(_0x364fc8),_0x3005ef=await _0x4e190f[_0x4cfb0e(0x3a1)]({'options':{..._0x364fc8,..._0x14032a},'args':_0x246e8f?[_0x246e8f]:[],'tdx':_0x4d74a0});gracefulExit(_0x3005ef);}),segmentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x20e),{'hidden':!![]})['description'](a2_0x28a4c0(0x350))[a2_0x28a4c0(0x1e6)](async(_0x2d8e25,_0x3a9424)=>{const _0x378f6c=a2_0x28a4c0,_0x4b6516=new SegmentFolderListCommand(),_0x56bf57=program[_0x378f6c(0x293)](),_0x5e0d42=await createTDXInstance(_0x56bf57),_0x800929=await _0x4b6516[_0x378f6c(0x3a1)]({'options':{..._0x56bf57,..._0x3a9424},'args':[_0x2d8e25],'tdx':_0x5e0d42});gracefulExit(_0x800929);});const folderCmd=segmentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x423),{'hidden':!![]})[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x453));folderCmd['command'](a2_0x28a4c0(0x2e5))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x3ca))[a2_0x28a4c0(0x1e6)](async(_0x144989,_0x682573)=>{const _0x2ed0a2=a2_0x28a4c0,_0x27e98f=new SegmentFolderShowCommand(),_0x187323=program[_0x2ed0a2(0x293)](),_0x30526b=await createTDXInstance(_0x187323),_0x168e8d=await _0x27e98f[_0x2ed0a2(0x3a1)]({'options':{..._0x187323,..._0x682573},'args':[_0x144989],'tdx':_0x30526b});gracefulExit(_0x168e8d);}),segmentCmd['command'](a2_0x28a4c0(0x3e1))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x266))['action'](async(_0x1b15c3,_0x5b263e)=>{const _0x2b4cc6=a2_0x28a4c0,_0x3be603=new SegmentSQLCommand(),_0x2441a0=program[_0x2b4cc6(0x293)](),_0x50c452=await createTDXInstance(_0x2441a0),_0x33af92=await _0x3be603[_0x2b4cc6(0x3a1)]({'options':{..._0x2441a0,..._0x5b263e},'args':_0x1b15c3?[_0x1b15c3]:[],'tdx':_0x50c452});gracefulExit(_0x33af92);}),segmentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x1e1))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x42e))['action'](async(_0x1e585c,_0x14ef0a)=>{const _0x219ad5=a2_0x28a4c0,_0x30056c=new SegmentFieldsCommand(),_0x792b66=program[_0x219ad5(0x293)](),_0x32a5c9=await createTDXInstance(_0x792b66),_0x399b20=await _0x30056c[_0x219ad5(0x3a1)]({'options':{..._0x792b66,..._0x14ef0a},'args':_0x1e585c?[_0x1e585c]:[],'tdx':_0x32a5c9});gracefulExit(_0x399b20);}),segmentCmd[a2_0x28a4c0(0x46f)]('pull\x20[parent_or_file]')[a2_0x28a4c0(0x3e0)]('Pull\x20child\x20segments\x20to\x20YAML\x20files')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2c6),a2_0x28a4c0(0x403))['option'](a2_0x28a4c0(0x44a),a2_0x28a4c0(0x45e))[a2_0x28a4c0(0x1e6)](async(_0x4a8957,_0x191848)=>{const _0xacacec=a2_0x28a4c0,_0x35f1f3=new SegmentPullCommand(),_0x193ebd=program[_0xacacec(0x293)](),_0x922f56=await createTDXInstance(_0x193ebd),_0x5ac378=await _0x35f1f3['run']({'options':{..._0x193ebd,..._0x191848},'args':_0x4a8957?[_0x4a8957]:[],'tdx':_0x922f56});gracefulExit(_0x5ac378);}),segmentCmd[a2_0x28a4c0(0x46f)]('push\x20[parent_or_file]')['description'](a2_0x28a4c0(0x370))['option']('-y,\x20--yes','Skip\x20confirmation\x20prompts')['option'](a2_0x28a4c0(0x44a),a2_0x28a4c0(0x45e))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x24a),a2_0x28a4c0(0x334))[a2_0x28a4c0(0x1e6)](async(_0x290d5f,_0x4fcc86)=>{const _0x18823b=a2_0x28a4c0,_0x2d15ae=new SegmentPushCommand(),_0x5ebd6d=program[_0x18823b(0x293)](),_0x4d74d6=await createTDXInstance(_0x5ebd6d),_0xfa2c8c=await _0x2d15ae[_0x18823b(0x3a1)]({'options':{..._0x5ebd6d,..._0x4fcc86},'args':_0x290d5f?[_0x290d5f]:[],'tdx':_0x4d74d6});gracefulExit(_0xfa2c8c);}),segmentCmd['command']('validate\x20[target]')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x392))[a2_0x28a4c0(0x1e6)](async(_0x992f06,_0x1078e0)=>{const _0xfd4778=a2_0x28a4c0,_0x1382a5=new SegmentValidateCommand(),_0x5e82ee=program[_0xfd4778(0x293)](),_0x55b769=await createTDXInstance(_0x5e82ee),_0x10192a=await _0x1382a5[_0xfd4778(0x3a1)]({'options':{..._0x5e82ee,..._0x1078e0},'args':_0x992f06?[_0x992f06]:[],'tdx':_0x55b769});gracefulExit(_0x10192a);}),segmentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x3bf),{'hidden':!![]})[a2_0x28a4c0(0x3e0)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x28a4c0(0x35f)]('--description\x20<text>','Segment\x20description')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2d1),a2_0x28a4c0(0x2f9))[a2_0x28a4c0(0x35f)]('--rule-file\x20<file>','Filtering\x20rule\x20from\x20JSON\x20file')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x219),a2_0x28a4c0(0x3b3))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2b1),a2_0x28a4c0(0x377))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x21c),a2_0x28a4c0(0x27a))[a2_0x28a4c0(0x35f)]('--no-count-population',a2_0x28a4c0(0x263))['action'](async(_0x43631e,_0x2e2236)=>{const _0x411fbf=a2_0x28a4c0,_0x55442f=new SegmentCreateCommand(),_0x4cfb47=program[_0x411fbf(0x293)](),_0x29ea4e=await createTDXInstance(_0x4cfb47),_0x15a84d=await _0x55442f[_0x411fbf(0x3a1)]({'options':{..._0x4cfb47,..._0x2e2236},'args':[_0x43631e],'tdx':_0x29ea4e});gracefulExit(_0x15a84d);}),segmentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x268),{'hidden':!![]})[a2_0x28a4c0(0x3e0)]('[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x309),a2_0x28a4c0(0x1f5))[a2_0x28a4c0(0x35f)]('--description\x20<text>',a2_0x28a4c0(0x380))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2d1),a2_0x28a4c0(0x439))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x397),a2_0x28a4c0(0x2b6))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x219),a2_0x28a4c0(0x37d))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2b1),a2_0x28a4c0(0x377))['action'](async(_0x4bcfbc,_0x526d2e)=>{const _0x50cbf5=new SegmentUpdateCommand(),_0x43e300=program['opts'](),_0x14fe53=await createTDXInstance(_0x43e300),_0x49c3db=await _0x50cbf5['run']({'options':{..._0x43e300,..._0x526d2e},'args':[_0x4bcfbc],'tdx':_0x14fe53});gracefulExit(_0x49c3db);});const parentCmd=segmentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x417),{'hidden':!![]})[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x1dc)),parentListAction=async(_0x47123c,_0x3819e2)=>{const _0x4c78bf=a2_0x28a4c0,_0x55543e=new ParentSegmentListCommand(),_0x36c3e0=program[_0x4c78bf(0x293)](),_0x2a2245=await createTDXInstance(_0x36c3e0),_0x4beb88=await _0x55543e[_0x4c78bf(0x3a1)]({'options':{..._0x36c3e0,..._0x3819e2},'args':_0x47123c?[_0x47123c]:[],'tdx':_0x2a2245});gracefulExit(_0x4beb88);};parentCmd['command']('list\x20[pattern]')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x31b))['action'](parentListAction),segmentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x3eb),{'hidden':!![]})[a2_0x28a4c0(0x3e0)]('List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)')[a2_0x28a4c0(0x1e6)](parentListAction),parentCmd[a2_0x28a4c0(0x46f)]('pull\x20[name]')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x3a0))['option'](a2_0x28a4c0(0x2ff),a2_0x28a4c0(0x433))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2c6),a2_0x28a4c0(0x434))[a2_0x28a4c0(0x1e6)](async(_0x5252df,_0x1ea00e)=>{const _0x108e60=a2_0x28a4c0,_0x34fd8f=new ParentSegmentPullCommand(),_0x4e70b1=program[_0x108e60(0x293)](),_0x5604c1=await createTDXInstance(_0x4e70b1),_0x3e9b32=await _0x34fd8f[_0x108e60(0x3a1)]({'options':{..._0x4e70b1,..._0x1ea00e},'args':_0x5252df?[_0x5252df]:[],'tdx':_0x5604c1});gracefulExit(_0x3e9b32);}),parentCmd['command']('push\x20[file]')[a2_0x28a4c0(0x3e0)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2c6),a2_0x28a4c0(0x434))[a2_0x28a4c0(0x1e6)](async(_0x69641,_0x1230b6)=>{const _0x3f306e=a2_0x28a4c0,_0x5a85e5=new ParentSegmentPushCommand(),_0x5a8744=program[_0x3f306e(0x293)](),_0x425e42=await createTDXInstance(_0x5a8744),_0x1a62c8=await _0x5a85e5['run']({'options':{..._0x5a8744,..._0x1230b6},'args':_0x69641?[_0x69641]:[],'tdx':_0x425e42});gracefulExit(_0x1a62c8);}),parentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x3d1))[a2_0x28a4c0(0x3e0)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x1d6),'Show\x20only\x20master\x20table\x20validation')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x1ed),a2_0x28a4c0(0x298))[a2_0x28a4c0(0x35f)]('--behavior\x20[name]','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3b1),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x26e),a2_0x28a4c0(0x3f5),a2_0x28a4c0(0x441))[a2_0x28a4c0(0x1e6)](async(_0x731029,_0x3f5cad)=>{const _0x18e202=a2_0x28a4c0,_0x21313d=new ParentSegmentValidateCommand(),_0x5f2628=program[_0x18e202(0x293)](),_0x24c77a=await createTDXInstance(_0x5f2628),_0x5cf0ea=await _0x21313d[_0x18e202(0x3a1)]({'options':{..._0x5f2628,..._0x3f5cad},'args':_0x731029?[_0x731029]:[],'tdx':_0x24c77a});gracefulExit(_0x5cf0ea);}),parentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x1e9))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x1ff))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x1d6),a2_0x28a4c0(0x234))['option'](a2_0x28a4c0(0x1ed),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x294),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')['option'](a2_0x28a4c0(0x3b1),a2_0x28a4c0(0x3f7))[a2_0x28a4c0(0x35f)]('--interval\x20<range>',a2_0x28a4c0(0x3f5),a2_0x28a4c0(0x441))[a2_0x28a4c0(0x1e6)](async(_0x27e536,_0x5a57fc)=>{const _0x468224=a2_0x28a4c0,_0x5da0bb=new ParentSegmentPreviewCommand(),_0x435534=program[_0x468224(0x293)](),_0x5935c4=await createTDXInstance(_0x435534),_0x4da53d=await _0x5da0bb[_0x468224(0x3a1)]({'options':{..._0x435534,..._0x5a57fc},'args':_0x27e536?[_0x27e536]:[],'tdx':_0x5935c4});gracefulExit(_0x4da53d);}),parentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x333))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x270))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2c6),a2_0x28a4c0(0x434))[a2_0x28a4c0(0x1e6)](async(_0x3cf46f,_0x122405)=>{const _0x1b880b=a2_0x28a4c0,_0x5cc7ae=new ParentSegmentRunCommand(),_0x28718e=program[_0x1b880b(0x293)](),_0x10dbee=await createTDXInstance(_0x28718e),_0xd94232=await _0x5cc7ae[_0x1b880b(0x3a1)]({'options':{..._0x28718e,..._0x122405},'args':_0x3cf46f?[_0x3cf46f]:[],'tdx':_0x10dbee});gracefulExit(_0xd94232);});const parentSegmentCmd=program[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x2c8))['alias']('ps')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x3fd));parentSegmentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x418))[a2_0x28a4c0(0x3e0)]('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x28a4c0(0x1e6)](parentListAction),parentSegmentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x3ee))['description'](a2_0x28a4c0(0x289))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2ff),'Output\x20file\x20path')[a2_0x28a4c0(0x35f)]('-y,\x20--yes',a2_0x28a4c0(0x434))['option'](a2_0x28a4c0(0x26a),a2_0x28a4c0(0x29f))[a2_0x28a4c0(0x1e6)](async(_0x1ed0fe,_0x417a6f)=>{const _0x567ca6=a2_0x28a4c0,_0x47b093=new ParentSegmentPullCommand(),_0x275665=program[_0x567ca6(0x293)](),_0xeb8afe=await createTDXInstance(_0x275665),_0x3254a5=await _0x47b093[_0x567ca6(0x3a1)]({'options':{..._0x275665,..._0x417a6f},'args':_0x1ed0fe?[_0x1ed0fe]:[],'tdx':_0xeb8afe});gracefulExit(_0x3254a5);}),parentSegmentCmd[a2_0x28a4c0(0x46f)]('push\x20[name]')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x305))['option'](a2_0x28a4c0(0x2c6),'Skip\x20confirmation\x20prompt')[a2_0x28a4c0(0x1e6)](async(_0x970c43,_0x4b9aec)=>{const _0x4bb83c=a2_0x28a4c0,_0x5899b5=new ParentSegmentPushCommand(),_0x335c94=program[_0x4bb83c(0x293)](),_0x3f450a=await createTDXInstance(_0x335c94),_0x4bb7a1=await _0x5899b5[_0x4bb83c(0x3a1)]({'options':{..._0x335c94,..._0x4b9aec},'args':_0x970c43?[_0x970c43]:[],'tdx':_0x3f450a});gracefulExit(_0x4bb7a1);}),parentSegmentCmd[a2_0x28a4c0(0x46f)]('validate\x20[name]')['description'](a2_0x28a4c0(0x43f))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x1d6),'Show\x20only\x20master\x20table\x20validation')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x1ed),a2_0x28a4c0(0x298))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x294),a2_0x28a4c0(0x39c))[a2_0x28a4c0(0x35f)]('--enriched',a2_0x28a4c0(0x37c))['option']('--interval\x20<range>',a2_0x28a4c0(0x3f5),a2_0x28a4c0(0x441))['action'](async(_0x3f713c,_0x5ad0cc)=>{const _0x342015=a2_0x28a4c0,_0x2ad402=new ParentSegmentValidateCommand(),_0x156cc1=program[_0x342015(0x293)](),_0x44b3d7=await createTDXInstance(_0x156cc1),_0x532d91=await _0x2ad402[_0x342015(0x3a1)]({'options':{..._0x156cc1,..._0x5ad0cc},'args':_0x3f713c?[_0x3f713c]:[],'tdx':_0x44b3d7});gracefulExit(_0x532d91);}),parentSegmentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x29e))['description'](a2_0x28a4c0(0x1ff))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x1d6),a2_0x28a4c0(0x234))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x1ed),a2_0x28a4c0(0x227))['option'](a2_0x28a4c0(0x294),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3b1),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x28a4c0(0x35f)]('--interval\x20<range>',a2_0x28a4c0(0x3f5),'-1d')[a2_0x28a4c0(0x1e6)](async(_0x29c724,_0x43785e)=>{const _0x43528b=a2_0x28a4c0,_0x2c7a0b=new ParentSegmentPreviewCommand(),_0x1167a9=program[_0x43528b(0x293)](),_0x3fb5de=await createTDXInstance(_0x1167a9),_0x2431d8=await _0x2c7a0b['run']({'options':{..._0x1167a9,..._0x43785e},'args':_0x29c724?[_0x29c724]:[],'tdx':_0x3fb5de});gracefulExit(_0x2431d8);}),parentSegmentCmd[a2_0x28a4c0(0x46f)]('run\x20[name]')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x270))['option'](a2_0x28a4c0(0x2c6),a2_0x28a4c0(0x434))[a2_0x28a4c0(0x1e6)](async(_0x290238,_0x308682)=>{const _0x344f1a=a2_0x28a4c0,_0x297f8c=new ParentSegmentRunCommand(),_0x3e0e87=program[_0x344f1a(0x293)](),_0x319485=await createTDXInstance(_0x3e0e87),_0x244081=await _0x297f8c['run']({'options':{..._0x3e0e87,..._0x308682},'args':_0x290238?[_0x290238]:[],'tdx':_0x319485});gracefulExit(_0x244081);}),parentSegmentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x3f3))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x41b))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2bc),a2_0x28a4c0(0x292))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x36c),a2_0x28a4c0(0x303))[a2_0x28a4c0(0x1e6)](async(_0x4feb8c,_0x1702ae)=>{const _0x52619d=a2_0x28a4c0,_0x6f2902=new ParentSegmentFieldsCommand(),_0x355745=program['opts'](),_0x3f79e0=await createTDXInstance(_0x355745),_0x5e8e3f=await _0x6f2902[_0x52619d(0x3a1)]({'options':{..._0x355745,..._0x1702ae},'args':_0x4feb8c?[_0x4feb8c]:[],'tdx':_0x3f79e0});gracefulExit(_0x5e8e3f);}),parentSegmentCmd['command'](a2_0x28a4c0(0x207))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x2a7))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x43b),a2_0x28a4c0(0x39f))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2bc),'Output\x20as\x20JSON')['option'](a2_0x28a4c0(0x36c),'Output\x20as\x20JSON\x20Lines')[a2_0x28a4c0(0x1e6)](async(_0x5b3ca3,_0x424f64)=>{const _0x2c2489=a2_0x28a4c0,_0x251825=new ParentSegmentViewCommand(),_0x17a40b=program[_0x2c2489(0x293)](),_0x2af246=await createTDXInstance(_0x17a40b),_0x28e8d8=await _0x251825[_0x2c2489(0x3a1)]({'options':{..._0x17a40b,..._0x424f64},'args':_0x5b3ca3?[_0x5b3ca3]:[],'tdx':_0x2af246});gracefulExit(_0x28e8d8);}),parentSegmentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x36e))[a2_0x28a4c0(0x3e0)]('Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')['option']('-o,\x20--output\x20<file>',a2_0x28a4c0(0x25b))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2bc),a2_0x28a4c0(0x292))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x36c),a2_0x28a4c0(0x303))['action'](async(_0x13335b,_0x22aae1)=>{const _0x3c030a=a2_0x28a4c0,_0x504253=new ParentSegmentDescCommand(),_0x3a4649=program[_0x3c030a(0x293)](),_0x4b1ca2=await createTDXInstance(_0x3a4649),_0x375d47=await _0x504253[_0x3c030a(0x3a1)]({'options':{..._0x3a4649,..._0x22aae1},'args':_0x13335b?[_0x13335b]:[],'tdx':_0x4b1ca2});gracefulExit(_0x375d47);}),parentSegmentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x427))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x386))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2bc),a2_0x28a4c0(0x292))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x36c),a2_0x28a4c0(0x303))[a2_0x28a4c0(0x1e6)](async(_0x3348d1,_0x5a5da1)=>{const _0x3bc3b5=a2_0x28a4c0,_0x291d41=new ParentSegmentSQLCommand(),_0x47b5a9=program[_0x3bc3b5(0x293)](),_0x545b34=await createTDXInstance(_0x47b5a9),_0x289e99=await _0x291d41[_0x3bc3b5(0x3a1)]({'options':{..._0x47b5a9,..._0x5a5da1},'args':_0x3348d1?[_0x3348d1]:[],'tdx':_0x545b34});gracefulExit(_0x289e99);}),parentSegmentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x32c))[a2_0x28a4c0(0x3e0)]('Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x28a4c0(0x35f)]('--limit\x20<n>',a2_0x28a4c0(0x21d))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2bc),a2_0x28a4c0(0x292))[a2_0x28a4c0(0x35f)]('--jsonl',a2_0x28a4c0(0x303))[a2_0x28a4c0(0x1e6)](async(_0x512d22,_0x1d049c)=>{const _0xd4bf3f=a2_0x28a4c0,_0x29aca3=new ParentSegmentShowCommand(),_0x25873d=program[_0xd4bf3f(0x293)](),_0x4786b7=await createTDXInstance(_0x25873d),_0x309fc5=await _0x29aca3[_0xd4bf3f(0x3a1)]({'options':{..._0x25873d,..._0x1d049c},'args':_0x512d22?[_0x512d22]:[],'tdx':_0x4786b7});gracefulExit(_0x309fc5);}),parentSegmentCmd['command'](a2_0x28a4c0(0x36d))['description'](a2_0x28a4c0(0x2cb))[a2_0x28a4c0(0x1e6)](async(_0x30a199,_0x2360b3)=>{const _0x30e699=a2_0x28a4c0,_0x829867=new UseCommand(),_0x4c83b7=program[_0x30e699(0x293)](),_0x16c1f5=_0x30a199?[_0x30e699(0x337),_0x30a199]:[],_0x4e1098=await _0x829867['run']({'options':{..._0x4c83b7,..._0x2360b3},'args':_0x16c1f5,'tdx':null});gracefulExit(_0x4e1098);});const psRtCmd=parentSegmentCmd[a2_0x28a4c0(0x46f)]('rt')['description'](a2_0x28a4c0(0x2b7));psRtCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x418))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x1ec))[a2_0x28a4c0(0x1e6)](async(_0x570ed1,_0x30b315)=>{const _0x25f7cf=a2_0x28a4c0,_0x110630=new PSRtListCommand(),_0x10337f=program[_0x25f7cf(0x293)](),_0x21834c=await createTDXInstance(_0x10337f),_0x195338=await _0x110630['run']({'options':{..._0x10337f,..._0x30b315},'args':_0x570ed1?[_0x570ed1]:[],'tdx':_0x21834c});gracefulExit(_0x195338);}),psRtCmd['command'](a2_0x28a4c0(0x2cc))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x2a2))[a2_0x28a4c0(0x1e6)](async(_0x9a8540,_0x30ab88)=>{const _0x42d585=a2_0x28a4c0,_0x178723=new PSRtValidateCommand(),_0x398654=program[_0x42d585(0x293)](),_0xcb0555=await createTDXInstance(_0x398654),_0x465a32=await _0x178723['run']({'options':{..._0x398654,..._0x30ab88},'args':_0x9a8540?[_0x9a8540]:[],'tdx':_0xcb0555});gracefulExit(_0x465a32);});const parentRtCmd=parentCmd[a2_0x28a4c0(0x46f)]('rt',{'hidden':!![]})[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x2b7));parentRtCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x418))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x1ec))['action'](async(_0x52b217,_0x5d41d1)=>{const _0x5338a0=a2_0x28a4c0,_0x171747=new PSRtListCommand(),_0x41302e=program['opts'](),_0x5d79d8=await createTDXInstance(_0x41302e),_0x3468fb=await _0x171747[_0x5338a0(0x3a1)]({'options':{..._0x41302e,..._0x5d41d1},'args':_0x52b217?[_0x52b217]:[],'tdx':_0x5d79d8});gracefulExit(_0x3468fb);}),parentRtCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x2cc))['description'](a2_0x28a4c0(0x2a2))[a2_0x28a4c0(0x1e6)](async(_0x28d301,_0x251e27)=>{const _0x3ab37b=a2_0x28a4c0,_0xc9166f=new PSRtValidateCommand(),_0x17a04f=program[_0x3ab37b(0x293)](),_0x396734=await createTDXInstance(_0x17a04f),_0x8e940=await _0xc9166f['run']({'options':{..._0x17a04f,..._0x251e27},'args':_0x28d301?[_0x28d301]:[],'tdx':_0x396734});gracefulExit(_0x8e940);});const psPzCmd=parentSegmentCmd['command']('pz')['description'](a2_0x28a4c0(0x1f0));psPzCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x465))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x200))[a2_0x28a4c0(0x1e6)](async(_0x104606,_0x1da894)=>{const _0x4a522e=a2_0x28a4c0,_0x12d91d=new PSPzListCommand(),_0x4cd06f=program[_0x4a522e(0x293)](),_0x5aed8b=await createTDXInstance(_0x4cd06f),_0x1361e5=await _0x12d91d[_0x4a522e(0x3a1)]({'options':{..._0x4cd06f,..._0x1da894},'args':_0x104606?[_0x104606]:[],'tdx':_0x5aed8b});gracefulExit(_0x1361e5);}),psPzCmd[a2_0x28a4c0(0x46f)]('init\x20[name]')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x31e))[a2_0x28a4c0(0x1e6)](async(_0x12832e,_0x54a5ca)=>{const _0x1d86a2=a2_0x28a4c0,_0x42a9fa=new PSPzInitCommand(),_0x2070d2=program[_0x1d86a2(0x293)](),_0x320928=await createTDXInstance(_0x2070d2),_0x5a223f=await _0x42a9fa[_0x1d86a2(0x3a1)]({'options':{..._0x2070d2,..._0x54a5ca},'args':_0x12832e?[_0x12832e]:[],'tdx':_0x320928});gracefulExit(_0x5a223f);});const parentPzCmd=parentCmd[a2_0x28a4c0(0x46f)]('pz',{'hidden':!![]})[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x1f0));parentPzCmd[a2_0x28a4c0(0x46f)]('list\x20[name]')[a2_0x28a4c0(0x3e0)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x28a4c0(0x1e6)](async(_0x97b187,_0x23c5b3)=>{const _0x265561=a2_0x28a4c0,_0x1e3fb6=new PSPzListCommand(),_0x1fbd88=program[_0x265561(0x293)](),_0x1a7b2e=await createTDXInstance(_0x1fbd88),_0x2bf805=await _0x1e3fb6[_0x265561(0x3a1)]({'options':{..._0x1fbd88,..._0x23c5b3},'args':_0x97b187?[_0x97b187]:[],'tdx':_0x1a7b2e});gracefulExit(_0x2bf805);}),parentPzCmd['command'](a2_0x28a4c0(0x359))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x31e))[a2_0x28a4c0(0x1e6)](async(_0x1cddc2,_0x9ec010)=>{const _0x4ded95=a2_0x28a4c0,_0x15f5bc=new PSPzInitCommand(),_0xcd290f=program[_0x4ded95(0x293)](),_0x463e48=await createTDXInstance(_0xcd290f),_0x110b0b=await _0x15f5bc[_0x4ded95(0x3a1)]({'options':{..._0xcd290f,..._0x9ec010},'args':_0x1cddc2?[_0x1cddc2]:[],'tdx':_0x463e48});gracefulExit(_0x110b0b);}),parentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x41c))[a2_0x28a4c0(0x3e0)]('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x28a4c0(0x414)](a2_0x28a4c0(0x3d3),a2_0x28a4c0(0x26d))[a2_0x28a4c0(0x414)]('--table\x20<table>',a2_0x28a4c0(0x326))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x26c),'Parent\x20segment\x20description')['option']('--schedule-type\x20<type>','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x339),a2_0x28a4c0(0x24f))['option'](a2_0x28a4c0(0x321),a2_0x28a4c0(0x221))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x35d),a2_0x28a4c0(0x2be))[a2_0x28a4c0(0x35f)]('--attributes-file\x20<file>',a2_0x28a4c0(0x1eb))[a2_0x28a4c0(0x35f)]('--behaviors\x20<json>',a2_0x28a4c0(0x257))[a2_0x28a4c0(0x35f)]('--behaviors-file\x20<file>','Behaviors\x20from\x20JSON\x20file')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x455),a2_0x28a4c0(0x20a))['option']('--customer-group-file\x20<file>',a2_0x28a4c0(0x344))[a2_0x28a4c0(0x1e6)](async(_0x3308ae,_0x1c93c9)=>{const _0x263040=a2_0x28a4c0,_0x392745=new ParentSegmentCreateCommand(),_0x368704=program[_0x263040(0x293)](),_0x283d16=await createTDXInstance(_0x368704),_0x1e4bc3=await _0x392745[_0x263040(0x3a1)]({'options':{..._0x368704,..._0x1c93c9},'args':[_0x3308ae],'tdx':_0x283d16});gracefulExit(_0x1e4bc3);}),parentCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x37b))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x28a))['option']('--description\x20<text>','Updated\x20description')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x248),a2_0x28a4c0(0x325))[a2_0x28a4c0(0x35f)]('--schedule-option\x20<value>','Updated\x20schedule\x20option')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x321),'Updated\x20timezone')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3d4),'Add\x20attributes\x20as\x20JSON\x20string')['option'](a2_0x28a4c0(0x447),a2_0x28a4c0(0x2f1))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x215),a2_0x28a4c0(0x42c))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x387),a2_0x28a4c0(0x2d6))[a2_0x28a4c0(0x1e6)](async(_0x3afbdb,_0x6a8bad)=>{const _0x1bad2=a2_0x28a4c0,_0xed755=new ParentSegmentUpdateCommand(),_0x5abb82=program['opts'](),_0x36924b=await createTDXInstance(_0x5abb82),_0x123e74=await _0xed755[_0x1bad2(0x3a1)]({'options':{..._0x5abb82,..._0x6a8bad},'args':[_0x3afbdb],'tdx':_0x36924b});gracefulExit(_0x123e74);}),folderCmd[a2_0x28a4c0(0x46f)]('create\x20<parent_name>\x20<folder_name>')[a2_0x28a4c0(0x3e0)]('Create\x20segment\x20folder')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x26c),a2_0x28a4c0(0x252))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2a6),a2_0x28a4c0(0x3c4))[a2_0x28a4c0(0x1e6)](async(_0x1d85df,_0x56ae96,_0xfd7405)=>{const _0x5a527a=a2_0x28a4c0,_0x13317d=new SegmentFolderCreateCommand(),_0x4800f5=program[_0x5a527a(0x293)](),_0x51f554=await createTDXInstance(_0x4800f5),_0x540a68=await _0x13317d['run']({'options':{..._0x4800f5,..._0xfd7405},'args':[_0x1d85df,_0x56ae96],'tdx':_0x51f554});gracefulExit(_0x540a68);}),program['command'](a2_0x28a4c0(0x431))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x463))[a2_0x28a4c0(0x1e6)](async(_0x406bd7,_0x5e7022)=>{const _0x3f6d1d=a2_0x28a4c0,_0x7de778=new ActivationsCommand(),_0x107468=program[_0x3f6d1d(0x293)](),_0x31292d=await createTDXInstance(_0x107468),_0x42c83=await _0x7de778['run']({'options':{..._0x107468,..._0x5e7022},'args':[_0x406bd7],'tdx':_0x31292d});gracefulExit(_0x42c83);});const workflowCmd=program['command'](a2_0x28a4c0(0x2e6))[a2_0x28a4c0(0x33d)]('wf')['description'](a2_0x28a4c0(0x35e)),wfProjectCmd=workflowCmd[a2_0x28a4c0(0x46f)]('project')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x2ce)),wfProjectListAction=async(_0x3555b8,_0x587edc)=>{const _0x2d601c=a2_0x28a4c0,_0x481363=new WorkflowProjectsCommand(),_0xb1c5a2=program[_0x2d601c(0x293)](),_0xdfb633=await createTDXInstance(_0xb1c5a2),_0x15ddf7=await _0x481363[_0x2d601c(0x3a1)]({'options':{..._0xb1c5a2,..._0x587edc},'args':_0x3555b8?[_0x3555b8]:[],'tdx':_0xdfb633});gracefulExit(_0x15ddf7);};wfProjectCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x418))[a2_0x28a4c0(0x3e0)]('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x28a4c0(0x1e6)](wfProjectListAction),workflowCmd[a2_0x28a4c0(0x46f)]('projects\x20[pattern]')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x3da))[a2_0x28a4c0(0x1e6)](wfProjectListAction);const wfWorkflowListAction=async(_0x55afb9,_0x20a72b)=>{const _0x16549d=a2_0x28a4c0,_0x3bbc07=new WorkflowWorkflowsCommand(),_0x42aa7b=program[_0x16549d(0x293)](),_0x151c10=await createTDXInstance(_0x42aa7b),_0x77b0fe=await _0x3bbc07[_0x16549d(0x3a1)]({'options':{..._0x42aa7b,..._0x20a72b},'args':_0x55afb9?[_0x55afb9]:[],'tdx':_0x151c10});gracefulExit(_0x77b0fe);};workflowCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x468))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x1fb))[a2_0x28a4c0(0x1e6)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x29d))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x3d0)),wfSessionListAction=async(_0x480f84,_0x772d68)=>{const _0x58cae7=a2_0x28a4c0,_0x52d8c0=new WorkflowSessionsCommand(),_0x2bb75f=program[_0x58cae7(0x293)](),_0x27b1bf=await createTDXInstance(_0x2bb75f),_0x4631de=await _0x52d8c0['run']({'options':{..._0x2bb75f,..._0x772d68},'args':_0x480f84?[_0x480f84]:[],'tdx':_0x27b1bf});gracefulExit(_0x4631de);};wfSessionCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x21f))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x2d3))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2bd),a2_0x28a4c0(0x38b))[a2_0x28a4c0(0x35f)]('--from\x20<timestamp>','Start\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x28a4c0(0x35f)]('--to\x20<timestamp>',a2_0x28a4c0(0x34f))['action'](wfSessionListAction),workflowCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x243))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x27d))[a2_0x28a4c0(0x35f)]('--status\x20<status>',a2_0x28a4c0(0x38b))[a2_0x28a4c0(0x35f)]('--from\x20<timestamp>',a2_0x28a4c0(0x287))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x1d9),a2_0x28a4c0(0x34f))[a2_0x28a4c0(0x1e6)](wfSessionListAction);const wfAttemptListAction=async(_0x43513f,_0x3c4230)=>{const _0x329cce=a2_0x28a4c0,_0x53bb02=new WorkflowAttemptsCommand(),_0x533ae3=program['opts'](),_0x2f1806=await createTDXInstance(_0x533ae3),_0x5f012f=await _0x53bb02[_0x329cce(0x3a1)]({'options':{..._0x533ae3,..._0x3c4230},'args':_0x43513f?[_0x43513f]:[],'tdx':_0x2f1806});gracefulExit(_0x5f012f);},attemptCmd=workflowCmd['command'](a2_0x28a4c0(0x301))['description']('Workflow\x20attempt\x20management')[a2_0x28a4c0(0x281)](a2_0x28a4c0(0x27b),a2_0x28a4c0(0x2cd))[a2_0x28a4c0(0x281)](a2_0x28a4c0(0x3cd),a2_0x28a4c0(0x283))[a2_0x28a4c0(0x281)](a2_0x28a4c0(0x2a5),'Task\x20name\x20for\x20logs\x20action')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x436),a2_0x28a4c0(0x246))['option'](a2_0x28a4c0(0x2b8),a2_0x28a4c0(0x33f))[a2_0x28a4c0(0x35f)]('--resume-from\x20<task>',a2_0x28a4c0(0x22f))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2f0),a2_0x28a4c0(0x25c))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2bf),a2_0x28a4c0(0x429))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x276),a2_0x28a4c0(0x34a))[a2_0x28a4c0(0x1e6)](async(_0x219971,_0x5a3a97,_0x268c0d,_0x5474d1)=>{const _0x206f31=a2_0x28a4c0;if(_0x219971===_0x206f31(0x379)){await wfAttemptListAction(_0x5a3a97,_0x5474d1);return;}if(!_0x219971){attemptCmd[_0x206f31(0x2b0)]();return;}const _0x397433=program[_0x206f31(0x293)](),_0x3af9ed=await createTDXInstance(_0x397433);let _0x2c2137=0x0;if(!_0x5a3a97){const _0x1c0160=new WorkflowAttemptCommand();_0x2c2137=await _0x1c0160[_0x206f31(0x3a1)]({'options':{..._0x397433,..._0x5474d1},'args':[_0x219971],'tdx':_0x3af9ed});}else{if(_0x5a3a97===_0x206f31(0x464)){const _0x2157b4=new WorkflowLogsCommand();_0x2c2137=await _0x2157b4[_0x206f31(0x3a1)]({'options':{..._0x397433,..._0x5474d1},'args':_0x268c0d?[_0x219971,_0x268c0d]:[_0x219971],'tdx':_0x3af9ed});}else{if(_0x5a3a97==='tasks'){const _0x5e0412=new WorkflowTasksCommand();_0x2c2137=await _0x5e0412[_0x206f31(0x3a1)]({'options':{..._0x397433,..._0x5474d1},'args':[_0x219971],'tdx':_0x3af9ed});}else{if(_0x5a3a97==='kill'){const _0x213f2c=new WorkflowKillCommand();_0x2c2137=await _0x213f2c['run']({'options':{..._0x397433,..._0x5474d1},'args':[_0x219971],'tdx':_0x3af9ed});}else{if(_0x5a3a97===_0x206f31(0x467)){const _0x4b8197=new WorkflowRetryCommand();_0x2c2137=await _0x4b8197[_0x206f31(0x3a1)]({'options':{..._0x397433,..._0x5474d1},'args':[_0x206f31(0x435)+_0x219971],'tdx':_0x3af9ed});}else console[_0x206f31(0x258)](_0x206f31(0x274)+_0x5a3a97),console[_0x206f31(0x258)](_0x206f31(0x33e)),_0x2c2137=0x1;}}}}gracefulExit(_0x2c2137);});attemptCmd['command'](a2_0x28a4c0(0x21f))[a2_0x28a4c0(0x3e0)]('List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x276),'Include\x20retried\x20attempts')[a2_0x28a4c0(0x1e6)](wfAttemptListAction),workflowCmd[a2_0x28a4c0(0x46f)]('attempts\x20[project]')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x338))['option'](a2_0x28a4c0(0x276),a2_0x28a4c0(0x2c1))[a2_0x28a4c0(0x1e6)](wfAttemptListAction),workflowCmd[a2_0x28a4c0(0x46f)]('timeline\x20[project.workflow]')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x38f))[a2_0x28a4c0(0x35f)]('--follow',a2_0x28a4c0(0x240))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x21e),a2_0x28a4c0(0x3f2))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3a8),a2_0x28a4c0(0x30d))['action'](async(_0x325569,_0x3aadd0)=>{const _0x25576a=a2_0x28a4c0,_0x47cf4a=new WorkflowTimelineCommand(),_0x472ca5=program[_0x25576a(0x293)](),_0x1db3b0=await createTDXInstance(_0x472ca5),_0x24dd3b=await _0x47cf4a[_0x25576a(0x3a1)]({'options':{..._0x472ca5,..._0x3aadd0},'args':_0x325569?[_0x325569]:[],'tdx':_0x1db3b0});gracefulExit(_0x24dd3b);}),workflowCmd['command'](a2_0x28a4c0(0x1f8))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x226))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x307),a2_0x28a4c0(0x3e3))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2f0),'Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x28a4c0(0x1e6)](async(_0x2864ec,_0x58c79f)=>{const _0x27e524=a2_0x28a4c0,_0x5cd40a=new WorkflowRetryCommand(),_0xb9aa57=program[_0x27e524(0x293)](),_0x32b4c3=await createTDXInstance(_0xb9aa57),_0x35ad3d=await _0x5cd40a[_0x27e524(0x3a1)]({'options':{..._0xb9aa57,..._0x58c79f},'args':[_0x2864ec],'tdx':_0x32b4c3});gracefulExit(_0x35ad3d);}),workflowCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x23f))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x231))[a2_0x28a4c0(0x35f)]('--param\x20<key=value>',a2_0x28a4c0(0x413),(_0xaef27b,_0x3acfd7=[])=>[..._0x3acfd7,_0xaef27b],[])[a2_0x28a4c0(0x35f)]('--session-time\x20<time>',a2_0x28a4c0(0x44d))['action'](async(_0x16c4c1,_0x20a15f)=>{const _0x155faa=a2_0x28a4c0,_0x3a4bf4=new WorkflowRunCommand(),_0x55aba3=program[_0x155faa(0x293)](),_0x1463e3=await createTDXInstance(_0x55aba3),_0x29652c=await _0x3a4bf4['run']({'options':{..._0x55aba3,..._0x20a15f},'args':_0x16c4c1?[_0x16c4c1]:[],'tdx':_0x1463e3});gracefulExit(_0x29652c);}),workflowCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x233))[a2_0x28a4c0(0x3e0)]('Download\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3ad),a2_0x28a4c0(0x3f9))[a2_0x28a4c0(0x1e6)](async(_0x5e3c19,_0x5acc34,_0x320e7a)=>{const _0xf40716=a2_0x28a4c0,_0x21377c=new WorkflowDownloadCommand(),_0x53f663=program[_0xf40716(0x293)](),_0x50b7a3=await createTDXInstance(_0x53f663),_0x1797a0=await _0x21377c['run']({'options':{..._0x53f663,..._0x320e7a},'args':[_0x5e3c19,_0x5acc34||'.'],'tdx':_0x50b7a3});gracefulExit(_0x1797a0);}),workflowCmd['command'](a2_0x28a4c0(0x3b4))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x38d))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3ad),a2_0x28a4c0(0x205))[a2_0x28a4c0(0x35f)]('--dry-run',a2_0x28a4c0(0x369))['option'](a2_0x28a4c0(0x2c6),'Skip\x20confirmation\x20prompt')[a2_0x28a4c0(0x1e6)](async(_0x12dcd7,_0x7c7f98,_0x17c6b0)=>{const _0x3722e4=a2_0x28a4c0,_0x5ba305=new WorkflowPullCommand(),_0x268416=program[_0x3722e4(0x293)](),_0x2ebb19=await createTDXInstance(_0x268416),_0x1236e3=await _0x5ba305[_0x3722e4(0x3a1)]({'options':{..._0x268416,..._0x17c6b0},'args':_0x7c7f98?[_0x12dcd7,_0x7c7f98]:[_0x12dcd7],'tdx':_0x2ebb19});gracefulExit(_0x1236e3);}),workflowCmd[a2_0x28a4c0(0x46f)]('push\x20[source-dir]')['description'](a2_0x28a4c0(0x2a4))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3ad),a2_0x28a4c0(0x3fb))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x44a),a2_0x28a4c0(0x206))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x249),a2_0x28a4c0(0x23e))['option'](a2_0x28a4c0(0x2c6),a2_0x28a4c0(0x434))[a2_0x28a4c0(0x1e6)](async(_0x2f5c28,_0x20804b)=>{const _0x15b4ac=a2_0x28a4c0,_0x2f570c=new WorkflowPushCommand(),_0x34e8c7=program['opts'](),_0x51e540=await createTDXInstance(_0x34e8c7),_0x28e1a0=await _0x2f570c[_0x15b4ac(0x3a1)]({'options':{..._0x34e8c7,..._0x20804b},'args':_0x2f5c28?[_0x2f5c28]:[],'tdx':_0x51e540});gracefulExit(_0x28e1a0);}),workflowCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x39b))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x353))['option']('--name\x20<name>','Override\x20project\x20name')['option']('--revision\x20<revision>',a2_0x28a4c0(0x329))['option']('--skip-validation','Skip\x20validation\x20of\x20.dig\x20files')[a2_0x28a4c0(0x1e6)](async(_0x198054,_0x546fa2)=>{const _0x4af071=new WorkflowUploadCommand(),_0x595667=program['opts'](),_0x528c13=await createTDXInstance(_0x595667),_0x1cd99b=await _0x4af071['run']({'options':{..._0x595667,..._0x546fa2},'args':_0x198054?[_0x198054]:[],'tdx':_0x528c13});gracefulExit(_0x1cd99b);}),workflowCmd['command'](a2_0x28a4c0(0x3c9))[a2_0x28a4c0(0x3e0)]('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')[a2_0x28a4c0(0x35f)]('--name\x20<name>',a2_0x28a4c0(0x26f))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3ad),a2_0x28a4c0(0x3fb))[a2_0x28a4c0(0x35f)]('--dry-run','Preview\x20without\x20creating\x20the\x20project')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x249),'Skip\x20validation\x20of\x20.dig\x20files')['option']('-y,\x20--yes',a2_0x28a4c0(0x434))[a2_0x28a4c0(0x1e6)](async(_0x160b41,_0x370c64)=>{const _0xda9718=a2_0x28a4c0,_0x4e3819=new WorkflowCloneCommand(),_0x31b40a=program[_0xda9718(0x293)](),_0x35e432=await createTDXInstance(_0x31b40a),_0x43da09=await _0x4e3819[_0xda9718(0x3a1)]({'options':{..._0x31b40a,..._0x370c64},'args':_0x160b41?[_0x160b41]:[],'tdx':_0x35e432});gracefulExit(_0x43da09);}),workflowCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x375))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x2c9))[a2_0x28a4c0(0x1e6)](async(_0x29a897,_0x336440)=>{const _0x260b2c=a2_0x28a4c0,_0x5ed08f=new WorkflowDeleteCommand(),_0x4ca13b=program[_0x260b2c(0x293)](),_0x1d9cb3=await createTDXInstance(_0x4ca13b),_0x543003=await _0x5ed08f[_0x260b2c(0x3a1)]({'options':{..._0x4ca13b,..._0x336440},'args':[_0x29a897],'tdx':_0x1d9cb3});gracefulExit(_0x543003);}),workflowCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x251))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x1e4))[a2_0x28a4c0(0x35f)]('--clear','Clear\x20workflow\x20project\x20context')['action'](async(_0x4c2d96,_0x3bf936)=>{const _0x59969d=a2_0x28a4c0,_0x3acc0c=new WorkflowUseCommand(),_0x527895=program[_0x59969d(0x293)](),_0x2ce164=await createTDXInstance(_0x527895),_0x1f8803=await _0x3acc0c['run']({'options':{..._0x527895,..._0x3bf936},'args':_0x4c2d96?[_0x4c2d96]:[],'tdx':_0x2ce164});gracefulExit(_0x1f8803);});const wfSecretsCmd=workflowCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x360))[a2_0x28a4c0(0x3e0)]('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x21f))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x23d))[a2_0x28a4c0(0x1e6)](async(_0x2cf355,_0x1dfb3e)=>{const _0x58573d=a2_0x28a4c0,_0x35d4c2=new WorkflowSecretsListCommand(),_0x1d7ba6=program[_0x58573d(0x293)](),_0x56ed88=await createTDXInstance(_0x1d7ba6),_0x31320a=await _0x35d4c2[_0x58573d(0x3a1)]({'options':{..._0x1d7ba6,..._0x1dfb3e},'args':_0x2cf355?[_0x2cf355]:[],'tdx':_0x56ed88});gracefulExit(_0x31320a);}),wfSecretsCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x277))['description'](a2_0x28a4c0(0x1d5))[a2_0x28a4c0(0x1e6)](async(_0x1eebaa,_0x1ce4cb)=>{const _0x17e45b=a2_0x28a4c0,_0x42ac6f=new WorkflowSecretsSetCommand(),_0x1b19d9=program[_0x17e45b(0x293)](),_0x1b248b=await createTDXInstance(_0x1b19d9),_0x29669b=await _0x42ac6f['run']({'options':{..._0x1b19d9,..._0x1ce4cb},'args':_0x1eebaa,'tdx':_0x1b248b});gracefulExit(_0x29669b);}),wfSecretsCmd['command']('delete\x20<args...>')['description'](a2_0x28a4c0(0x428))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2c6),a2_0x28a4c0(0x434))[a2_0x28a4c0(0x1e6)](async(_0x920f2f,_0x323e78)=>{const _0x1491ed=a2_0x28a4c0,_0x168ea5=new WorkflowSecretsDeleteCommand(),_0x365b70=program['opts'](),_0x3b7656=await createTDXInstance(_0x365b70),_0x1f0a9d=await _0x168ea5[_0x1491ed(0x3a1)]({'options':{..._0x365b70,..._0x323e78},'args':_0x920f2f,'tdx':_0x3b7656});gracefulExit(_0x1f0a9d);});const jobCmd=program[a2_0x28a4c0(0x46f)]('job')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x20c)),jobListAction=async _0x674e83=>{const _0x671823=a2_0x28a4c0,_0x5b0557=new JobListCommand(),_0x3cb5a9=program[_0x671823(0x293)](),_0x182b91=await createTDXInstance(_0x3cb5a9),_0x5e025d=await _0x5b0557['run']({'options':{..._0x3cb5a9,..._0x674e83},'args':[],'tdx':_0x182b91});gracefulExit(_0x5e025d);};jobCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x379))['description'](a2_0x28a4c0(0x2c0))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2bd),a2_0x28a4c0(0x352))['action'](jobListAction),program['command'](a2_0x28a4c0(0x30a),{'hidden':!![]})[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x400))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2bd),a2_0x28a4c0(0x352))[a2_0x28a4c0(0x1e6)](jobListAction),jobCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x22a))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x36a))['action'](async(_0x2c33b9,_0x16862a)=>{const _0xb8dfbd=new JobShowCommand(),_0x7f0a6=program['opts'](),_0xf62cf0=await createTDXInstance(_0x7f0a6),_0x11b025=await _0xb8dfbd['run']({'options':{..._0x7f0a6,..._0x16862a},'args':[_0x2c33b9],'tdx':_0xf62cf0});gracefulExit(_0x11b025);}),jobCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x30f))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x383))['action'](async(_0x5d21c8,_0x4064a7)=>{const _0xdcd99a=a2_0x28a4c0,_0xeb78f8=new JobKillCommand(),_0x240db7=program[_0xdcd99a(0x293)](),_0x3c46dc=await createTDXInstance(_0x240db7),_0x5abe51=await _0xeb78f8[_0xdcd99a(0x3a1)]({'options':{..._0x240db7,..._0x4064a7},'args':[_0x5d21c8],'tdx':_0x3c46dc});gracefulExit(_0x5abe51);}),jobCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x40d))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x389))['option'](a2_0x28a4c0(0x44f),a2_0x28a4c0(0x1f2),a2_0x28a4c0(0x391))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2a9),a2_0x28a4c0(0x314))[a2_0x28a4c0(0x35f)]('--database\x20<name>',a2_0x28a4c0(0x256),a2_0x28a4c0(0x3d9))['option'](a2_0x28a4c0(0x44b),'Result\x20export\x20destination\x20(URL\x20or\x20JSON)')[a2_0x28a4c0(0x1e6)](async(_0x48a274,_0xc6f2b6)=>{const _0xc7a3bb=a2_0x28a4c0,_0x44f49d=new JobSubmitCommand(),_0x29a120=program['opts'](),_0x3ba3bb=await createTDXInstance(_0x29a120),_0xc2ab14=await _0x44f49d[_0xc7a3bb(0x3a1)]({'options':{..._0x29a120,..._0xc6f2b6},'args':_0x48a274?[_0x48a274]:[],'tdx':_0x3ba3bb});gracefulExit(_0xc2ab14);}),jobCmd[a2_0x28a4c0(0x46f)]('result\x20<job-id>')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x426))[a2_0x28a4c0(0x1e6)](async(_0x5b4dd1,_0x1f5d50)=>{const _0x22340e=a2_0x28a4c0,_0x364c04=new JobResultCommand(),_0x35c226=program[_0x22340e(0x293)](),_0x4d550d=await createTDXInstance(_0x35c226),_0x2bf62a=await _0x364c04[_0x22340e(0x3a1)]({'options':{..._0x35c226,..._0x1f5d50},'args':[_0x5b4dd1],'tdx':_0x4d550d});gracefulExit(_0x2bf62a);});const scheduleCmd=jobCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x2a8))[a2_0x28a4c0(0x3e0)]('Scheduled\x20query\x20management\x20commands');function a2_0xf64d(_0x580451,_0x2ba93b){_0x580451=_0x580451-0x1d3;const _0x1b8aff=a2_0x1b8a();let _0xf64d81=_0x1b8aff[_0x580451];return _0xf64d81;}scheduleCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x418))[a2_0x28a4c0(0x3e0)]('List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)')[a2_0x28a4c0(0x1e6)](async(_0x4e6dbb,_0x5930b4)=>{const _0xc75ae2=a2_0x28a4c0,_0xef5f3c=new ScheduleListCommand(),_0x525daf=program[_0xc75ae2(0x293)](),_0x5df90d=await createTDXInstance(_0x525daf),_0x3c24e2=await _0xef5f3c['run']({'options':{..._0x525daf,..._0x5930b4},'args':_0x4e6dbb?[_0x4e6dbb]:[],'tdx':_0x5df90d});gracefulExit(_0x3c24e2);}),scheduleCmd['command'](a2_0x28a4c0(0x290))[a2_0x28a4c0(0x3e0)]('Show\x20schedule\x20details')[a2_0x28a4c0(0x1e6)](async(_0x32f880,_0x5d5c6d)=>{const _0x4f6006=a2_0x28a4c0,_0x475116=new ScheduleShowCommand(),_0x237854=program[_0x4f6006(0x293)](),_0x5991e8=await createTDXInstance(_0x237854),_0x3be3a9=await _0x475116['run']({'options':{..._0x237854,..._0x5d5c6d},'args':[_0x32f880],'tdx':_0x5991e8});gracefulExit(_0x3be3a9);}),scheduleCmd['command'](a2_0x28a4c0(0x41c))['description'](a2_0x28a4c0(0x229))[a2_0x28a4c0(0x414)](a2_0x28a4c0(0x41e),a2_0x28a4c0(0x3e8))['requiredOption'](a2_0x28a4c0(0x2a9),a2_0x28a4c0(0x314))[a2_0x28a4c0(0x35f)]('--type\x20<type>',a2_0x28a4c0(0x2ef),a2_0x28a4c0(0x391))['option'](a2_0x28a4c0(0x33a),a2_0x28a4c0(0x341))[a2_0x28a4c0(0x35f)]('--timezone\x20<tz>','Timezone\x20for\x20cron\x20(default:\x20UTC)')['option'](a2_0x28a4c0(0x399),'Delay\x20in\x20seconds\x20before\x20execution')['option'](a2_0x28a4c0(0x40e),a2_0x28a4c0(0x31a))['option']('--retry-limit\x20<0~32>',a2_0x28a4c0(0x449))[a2_0x28a4c0(0x35f)]('--engine-version\x20<version>',a2_0x28a4c0(0x27c))['option']('--result\x20<url>',a2_0x28a4c0(0x421))[a2_0x28a4c0(0x1e6)](async(_0x11eff2,_0x58be59)=>{const _0x4421f0=a2_0x28a4c0,_0x60b21a=new ScheduleCreateCommand(),_0x7ec200=program[_0x4421f0(0x293)](),_0x8c7a90=await createTDXInstance(_0x7ec200),_0x253e7a=await _0x60b21a[_0x4421f0(0x3a1)]({'options':{..._0x7ec200,..._0x58be59},'args':[_0x11eff2],'tdx':_0x8c7a90});gracefulExit(_0x253e7a);}),scheduleCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x37b))[a2_0x28a4c0(0x3e0)]('Update\x20a\x20scheduled\x20query')[a2_0x28a4c0(0x35f)]('-d,\x20--database\x20<db>',a2_0x28a4c0(0x3e8))[a2_0x28a4c0(0x35f)]('-f,\x20--file\x20<path>',a2_0x28a4c0(0x314))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x34e),'Query\x20type:\x20trino\x20or\x20hive')['option'](a2_0x28a4c0(0x33a),a2_0x28a4c0(0x341))[a2_0x28a4c0(0x35f)]('--timezone\x20<tz>',a2_0x28a4c0(0x3ff))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x399),a2_0x28a4c0(0x366))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x40e),a2_0x28a4c0(0x31a))[a2_0x28a4c0(0x35f)]('--retry-limit\x20<0~32>',a2_0x28a4c0(0x449))[a2_0x28a4c0(0x35f)]('--engine-version\x20<version>',a2_0x28a4c0(0x27c))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x34c),a2_0x28a4c0(0x421))[a2_0x28a4c0(0x1e6)](async(_0x19daec,_0x38b8e5)=>{const _0x2081a3=a2_0x28a4c0,_0x581922=new ScheduleUpdateCommand(),_0x3e93f0=program[_0x2081a3(0x293)](),_0x391b30=await createTDXInstance(_0x3e93f0),_0x3f17f5=await _0x581922[_0x2081a3(0x3a1)]({'options':{..._0x3e93f0,..._0x38b8e5},'args':[_0x19daec],'tdx':_0x391b30});gracefulExit(_0x3f17f5);}),scheduleCmd[a2_0x28a4c0(0x46f)]('delete\x20<name>')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x3fc))[a2_0x28a4c0(0x1e6)](async(_0x360d12,_0x1de683)=>{const _0x58afe1=a2_0x28a4c0,_0x15600e=new ScheduleDeleteCommand(),_0x51bbb9=program[_0x58afe1(0x293)](),_0x4c6501=await createTDXInstance(_0x51bbb9),_0x2ca4c2=await _0x15600e[_0x58afe1(0x3a1)]({'options':{..._0x51bbb9,..._0x1de683},'args':[_0x360d12],'tdx':_0x4c6501});gracefulExit(_0x2ca4c2);}),scheduleCmd[a2_0x28a4c0(0x46f)]('run\x20<name>')['description']('Run\x20a\x20scheduled\x20query\x20immediately')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x420),a2_0x28a4c0(0x3b0))['option'](a2_0x28a4c0(0x230),a2_0x28a4c0(0x2ca))[a2_0x28a4c0(0x1e6)](async(_0x27918c,_0x1326b1)=>{const _0x2f77a8=a2_0x28a4c0,_0x3fcde1=new ScheduleRunCommand(),_0x229f25=program[_0x2f77a8(0x293)](),_0x4d66a7=await createTDXInstance(_0x229f25),_0x16a644=await _0x3fcde1['run']({'options':{..._0x229f25,..._0x1326b1},'args':[_0x27918c],'tdx':_0x4d66a7});gracefulExit(_0x16a644);}),scheduleCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x3b6))['description'](a2_0x28a4c0(0x1e7))['option'](a2_0x28a4c0(0x242),a2_0x28a4c0(0x2b9))[a2_0x28a4c0(0x35f)]('--to\x20<n>',a2_0x28a4c0(0x2fb))[a2_0x28a4c0(0x1e6)](async(_0x5e5128,_0x1eb435)=>{const _0x4d363f=a2_0x28a4c0,_0x5899f1=new ScheduleHistoryCommand(),_0x2e5357=program[_0x4d363f(0x293)](),_0x35583d=await createTDXInstance(_0x2e5357),_0xc1c219=await _0x5899f1['run']({'options':{..._0x2e5357,..._0x1eb435},'args':[_0x5e5128],'tdx':_0x35583d});gracefulExit(_0xc1c219);});const llmCmd=program[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x2f4))['description']('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x2f3))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x44c))[a2_0x28a4c0(0x1e6)](async(_0x286a98,_0x1c8c62)=>{const _0x40e29c=a2_0x28a4c0,_0xdbc542=new LLMUseCommand(),_0xbd0f0d=program[_0x40e29c(0x293)](),_0x6be29e=await createTDXInstance(_0xbd0f0d),_0xd3bb3e=await _0xdbc542[_0x40e29c(0x3a1)]({'options':{..._0xbd0f0d,..._0x1c8c62},'args':[_0x286a98],'tdx':_0x6be29e});gracefulExit(_0xd3bb3e);}),llmCmd['command']('models')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x44e))[a2_0x28a4c0(0x1e6)](async _0x5c81c0=>{const _0x403204=a2_0x28a4c0,_0x39de18=new LLMModelsCommand(),_0x11e64a=program[_0x403204(0x293)](),_0x4b9243=await createTDXInstance(_0x11e64a),_0x1606f2=await _0x39de18[_0x403204(0x3a1)]({'options':{..._0x11e64a,..._0x5c81c0},'args':[],'tdx':_0x4b9243});gracefulExit(_0x1606f2);});const projectCmd=llmCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x45a))['description'](a2_0x28a4c0(0x3e5)),llmProjectListAction=async(_0x4c2ef4,_0x42fb68)=>{const _0x2e3084=a2_0x28a4c0,_0x14292f=new LLMProjectsCommand(),_0x20ecd5=program[_0x2e3084(0x293)](),_0x1fea6a=await createTDXInstance(_0x20ecd5),_0x22151d=await _0x14292f[_0x2e3084(0x3a1)]({'options':{..._0x20ecd5,..._0x42fb68},'args':_0x4c2ef4?[_0x4c2ef4]:[],'tdx':_0x1fea6a});gracefulExit(_0x22151d);};projectCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x418))['description'](a2_0x28a4c0(0x3f6))[a2_0x28a4c0(0x1e6)](llmProjectListAction),llmCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x244))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x2b4))[a2_0x28a4c0(0x1e6)](llmProjectListAction),projectCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x41c))[a2_0x28a4c0(0x3e0)]('Create\x20a\x20new\x20LLM\x20project')[a2_0x28a4c0(0x35f)]('--description\x20<text>',a2_0x28a4c0(0x2b3))[a2_0x28a4c0(0x1e6)](async(_0x2f7655,_0x6b2f90)=>{const _0x1b2406=a2_0x28a4c0,_0x165d51=new LLMProjectCreateCommand(),_0xbebfe5=program[_0x1b2406(0x293)](),_0x347512=await createTDXInstance(_0xbebfe5),_0x3d314d=await _0x165d51[_0x1b2406(0x3a1)]({'options':{..._0xbebfe5,..._0x6b2f90},'args':[_0x2f7655],'tdx':_0x347512});gracefulExit(_0x3d314d);}),projectCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x454))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x211))['action'](async(_0x365b51,_0x2989d0)=>{const _0x2172e6=a2_0x28a4c0,_0x37520a=new LLMProjectDeleteCommand(),_0x39e935=program['opts'](),_0x4cf684=await createTDXInstance(_0x39e935),_0xa1142f=await _0x37520a[_0x2172e6(0x3a1)]({'options':{..._0x39e935,..._0x2989d0},'args':[_0x365b51],'tdx':_0x4cf684});gracefulExit(_0xa1142f);}),projectCmd['command'](a2_0x28a4c0(0x404))[a2_0x28a4c0(0x3e0)]('[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x24e),'Output\x20folder\x20(default:\x20{project_name}.llm)')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x44a),a2_0x28a4c0(0x208))[a2_0x28a4c0(0x1e6)](async(_0x1e2c62,_0x228613)=>{const _0x52eeb9=a2_0x28a4c0,_0x108f10=new LLMProjectBackupCommand(),_0x24427e=program['opts'](),_0x31f07e=await createTDXInstance(_0x24427e),_0x10d19c=await _0x108f10[_0x52eeb9(0x3a1)]({'options':{..._0x24427e,..._0x228613},'args':[_0x1e2c62],'tdx':_0x31f07e});gracefulExit(_0x10d19c);}),projectCmd['command'](a2_0x28a4c0(0x3de))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x285))['option'](a2_0x28a4c0(0x212),a2_0x28a4c0(0x299))['option'](a2_0x28a4c0(0x44a),a2_0x28a4c0(0x1ef))[a2_0x28a4c0(0x1e6)](async(_0x5011a9,_0x714c67)=>{const _0x159798=a2_0x28a4c0,_0x32e7b1=new LLMProjectRestoreCommand(),_0x2862f4=program[_0x159798(0x293)](),_0x5cc57c=await createTDXInstance(_0x2862f4),_0x3e9923=await _0x32e7b1['run']({'options':{..._0x2862f4,..._0x714c67},'args':[_0x5011a9],'tdx':_0x5cc57c});gracefulExit(_0x3e9923);});const llmAgentListAction=async(_0x2ed195,_0x359dd7)=>{const _0x27383d=a2_0x28a4c0,_0x13fd70=new LLMAgentsCommand(),_0x3b98bd=program[_0x27383d(0x293)](),_0x108cc7=await createTDXInstance(_0x3b98bd),_0xc7d8d1=await _0x13fd70[_0x27383d(0x3a1)]({'options':{..._0x3b98bd,..._0x359dd7},'args':_0x2ed195?[_0x2ed195]:[],'tdx':_0x108cc7});gracefulExit(_0xc7d8d1);};llmCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x3ef))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x3cf))['action'](llmAgentListAction),program[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x3ef))['description'](a2_0x28a4c0(0x3cf))[a2_0x28a4c0(0x1e6)](llmAgentListAction),llmCmd['command']('history\x20[chat-id]')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x396))[a2_0x28a4c0(0x35f)]('--last',a2_0x28a4c0(0x470))[a2_0x28a4c0(0x1e6)](async(_0x225acb,_0x4cecbb)=>{const _0x5e16aa=a2_0x28a4c0,_0x3a7c1e=new LLMHistoryCommand(),_0x4d3b21=program[_0x5e16aa(0x293)](),_0x59df55=await createTDXInstance(_0x4d3b21),_0x121879=await _0x3a7c1e['run']({'options':{..._0x4d3b21,..._0x4cecbb},'args':_0x225acb?[_0x225acb]:[],'tdx':_0x59df55});gracefulExit(_0x121879);});isExperimentalAvailable()&&llmCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x3a4))['description'](a2_0x28a4c0(0x241))[a2_0x28a4c0(0x1e6)](async(_0x4968f5,_0x1b7686)=>{const _0x25707a=a2_0x28a4c0,_0x107106=new LLMLogCommand(),_0x13af58=program[_0x25707a(0x293)](),_0x114868=await createTDXInstance(_0x13af58),_0x59fe9b=await _0x107106[_0x25707a(0x3a1)]({'options':{..._0x13af58,..._0x1b7686},'args':[_0x4968f5],'tdx':_0x114868});gracefulExit(_0x59fe9b);});program[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x253))['usage'](a2_0x28a4c0(0x271))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x209))['option'](a2_0x28a4c0(0x2d8),a2_0x28a4c0(0x46e))[a2_0x28a4c0(0x35f)]('-r,\x20--resume','Resume\x20a\x20conversation\x20(shows\x20selector)')['option'](a2_0x28a4c0(0x2b2),a2_0x28a4c0(0x2e0))[a2_0x28a4c0(0x36f)]()['allowExcessArguments'](!![])['addHelpText'](a2_0x28a4c0(0x24b),a2_0x28a4c0(0x2c4))[a2_0x28a4c0(0x1e6)](async(_0xa3b671,_0x35396f)=>{const _0x33003c=a2_0x28a4c0,_0x15871f=program[_0x33003c(0x293)](),_0x499d4f=Array[_0x33003c(0x415)](_0xa3b671)?_0xa3b671:[];if(_0x499d4f[0x0]==='statusline'){const _0x29410a=new ClaudeStatuslineCommand(),_0x8eb2a3=await _0x29410a['run']({'options':{..._0x15871f,..._0x35396f},'args':_0x499d4f[_0x33003c(0x3df)](0x1),'tdx':null});gracefulExit(_0x8eb2a3);}if(_0x499d4f[0x0]===_0x33003c(0x345)){const _0x1ee741=new ClaudeUsageCommand(),_0x527e88=await _0x1ee741[_0x33003c(0x3a1)]({'options':{..._0x15871f,..._0x35396f},'args':_0x499d4f['slice'](0x1),'tdx':null});gracefulExit(_0x527e88);}const _0x144282=new ClaudeCommand(),_0x9cc84c=await createTDXInstance(_0x15871f),_0x38bb49=await _0x144282[_0x33003c(0x3a1)]({'options':{..._0x15871f,..._0x35396f},'args':_0x499d4f,'tdx':_0x9cc84c});gracefulExit(_0x38bb49);}),program[a2_0x28a4c0(0x46f)]('use\x20[resource]\x20[value]')['description'](a2_0x28a4c0(0x402))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x322),a2_0x28a4c0(0x1ee))['option']('--default',a2_0x28a4c0(0x451))['action'](async(_0x2f5c36,_0x170c09,_0x44191d)=>{const _0x54141b=a2_0x28a4c0,_0x2a5d11=new UseCommand(),_0x53c9f3=program[_0x54141b(0x293)](),_0x24e1e1=[];if(_0x2f5c36)_0x24e1e1[_0x54141b(0x39e)](_0x2f5c36);if(_0x170c09)_0x24e1e1['push'](_0x170c09);const _0x2e50d1=_0x2f5c36===_0x54141b(0x297),_0xd20194=_0x2e50d1?await createTDXInstance(_0x53c9f3):null,_0x4ecc01=await _0x2a5d11[_0x54141b(0x3a1)]({'options':{..._0x53c9f3,..._0x44191d},'args':_0x24e1e1,'tdx':_0xd20194});gracefulExit(_0x4ecc01);}),program[a2_0x28a4c0(0x46f)]('status')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x315))[a2_0x28a4c0(0x1e6)](async _0x3be4ca=>{const _0x1b3606=a2_0x28a4c0,_0xec8ae6=new StatusCommand(),_0x204d0b=program[_0x1b3606(0x293)](),_0xbfbae4=await createTDXInstance(_0x204d0b),_0x454823=await _0xec8ae6[_0x1b3606(0x3a1)]({'options':{..._0x204d0b,..._0x3be4ca},'args':[],'tdx':_0xbfbae4});gracefulExit(_0x454823);}),program[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x2f5))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x469))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x33b),a2_0x28a4c0(0x42f))[a2_0x28a4c0(0x1e6)](async(_0x4c3139,_0x1d0795)=>{const _0x43b1da=a2_0x28a4c0,_0x210ba9=new UnsetCommand(),_0x25895e=program[_0x43b1da(0x293)](),_0x11ee54=await _0x210ba9['run']({'options':{..._0x25895e,..._0x1d0795},'args':[_0x4c3139],'tdx':null});gracefulExit(_0x11ee54);}),program[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x39d))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x1d3))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x32e),a2_0x28a4c0(0x22b))[a2_0x28a4c0(0x1e6)](async _0x41a4f3=>{const _0x2a353d=a2_0x28a4c0,_0x5f25b2=new ChatsCommand(),_0x309cd6=program['opts'](),_0x56ebea=await createTDXInstance(_0x309cd6),_0x21d7de=await _0x5f25b2[_0x2a353d(0x3a1)]({'options':{..._0x309cd6,..._0x41a4f3},'args':[],'tdx':_0x56ebea});gracefulExit(_0x21d7de);});const authCmd=program['command']('auth')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x407));async function runAuthStatusCommand(_0x424c5f){const _0x54892d=a2_0x28a4c0,_0x19ef9f=new AuthStatusCommand(),_0x1648ab=program[_0x54892d(0x293)](),_0x644ccf=await createTDXInstance(_0x1648ab),_0x4cf5f7=await _0x19ef9f[_0x54892d(0x3a1)]({'options':{..._0x1648ab,..._0x424c5f},'args':[],'tdx':_0x644ccf});gracefulExit(_0x4cf5f7);}authCmd[a2_0x28a4c0(0x1e6)](runAuthStatusCommand),authCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x269))['description']('Show\x20authentication\x20status\x20and\x20validate\x20API\x20key')[a2_0x28a4c0(0x1e6)](runAuthStatusCommand),authCmd['command'](a2_0x28a4c0(0x371))['description'](a2_0x28a4c0(0x442))['addHelpText']('after',a2_0x28a4c0(0x273))['action'](async _0x422fa3=>{const _0xc5502e=a2_0x28a4c0,_0x30554d=new AuthSetupCommand(),_0x206841=program['opts'](),_0x50b980=await createTDXInstance(_0x206841),_0x46dc66=await _0x30554d[_0xc5502e(0x3a1)]({'options':{..._0x206841,..._0x422fa3},'args':[],'tdx':_0x50b980});gracefulExit(_0x46dc66);}),authCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x42a))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x216))[a2_0x28a4c0(0x30b)](a2_0x28a4c0(0x24b),'\x0aGlobal\x20Options:\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20clear\x20(clears\x20default\x20profile\x20if\x20not\x20specified)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Clear\x20API\x20key\x20for\x20default\x20profile\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20--profile\x20prod\x20\x20#\x20Clear\x20API\x20key\x20for\x20\x27prod\x27\x20profile\x0a')[a2_0x28a4c0(0x1e6)](async _0x13ae04=>{const _0x2493f1=a2_0x28a4c0,_0x2bc590=new AuthClearCommand(),_0x3bde91=program[_0x2493f1(0x293)](),_0x5f1d8e=await _0x2bc590['run']({'options':{..._0x3bde91,..._0x13ae04},'args':[],'tdx':null});gracefulExit(_0x5f1d8e);});const userCmd=program[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x295))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x304)),userListAction=async _0x11d941=>{const _0x4d9881=a2_0x28a4c0,_0x428bf5=new UserListCommand(),_0x4527f4=program[_0x4d9881(0x293)](),_0x26b1cb=await createTDXInstance(_0x4527f4),_0x41d4ea=await _0x428bf5[_0x4d9881(0x3a1)]({'options':{..._0x4527f4,..._0x11d941},'args':[],'tdx':_0x26b1cb});gracefulExit(_0x41d4ea);};userCmd['action'](async _0x3983d7=>{const _0x3aef7a=a2_0x28a4c0,_0x44ab53=new UserCommand(),_0x2d67bf=program['opts'](),_0x4318d3=await createTDXInstance(_0x2d67bf),_0x2ed8bd=await _0x44ab53[_0x3aef7a(0x3a1)]({'options':{..._0x2d67bf,..._0x3983d7},'args':[],'tdx':_0x4318d3});gracefulExit(_0x2ed8bd);}),userCmd['command']('list')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x331))[a2_0x28a4c0(0x1e6)](userListAction),program[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x445))[a2_0x28a4c0(0x3e0)]('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')[a2_0x28a4c0(0x1e6)](userListAction),program[a2_0x28a4c0(0x46f)]('profiles')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x2ea))['action'](async _0x445ca0=>{const _0x5e6bfa=a2_0x28a4c0,_0x5a7e4a=new ProfilesCommand(),_0x32ad88=program[_0x5e6bfa(0x293)](),_0x187cad=await _0x5a7e4a[_0x5e6bfa(0x3a1)]({'options':{..._0x32ad88,..._0x445ca0},'args':[],'tdx':null});gracefulExit(_0x187cad);});const profileCmd=program[a2_0x28a4c0(0x46f)]('profile')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x2ac));profileCmd['action'](()=>{const _0x39e4d4=a2_0x28a4c0;profileCmd[_0x39e4d4(0x3a2)]();});const profileListAction=async _0x2311a9=>{const _0x42228d=a2_0x28a4c0,_0x54aef3=new ProfilesCommand(),_0x350b0c=program[_0x42228d(0x293)](),_0x1f54bd=await _0x54aef3[_0x42228d(0x3a1)]({'options':{..._0x350b0c,..._0x2311a9},'args':[],'tdx':null});gracefulExit(_0x1f54bd);};profileCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x379))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x2ea))[a2_0x28a4c0(0x1e6)](profileListAction),profileCmd[a2_0x28a4c0(0x46f)]('create\x20[name]')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x284))[a2_0x28a4c0(0x30b)](a2_0x28a4c0(0x24b),a2_0x28a4c0(0x444))[a2_0x28a4c0(0x1e6)](async(_0x32dd6d,_0x2fba50)=>{const _0x45c854=a2_0x28a4c0,_0x2c64ae=new ProfileCreateCommand(),_0x46ee55=program['opts'](),_0x376a24=await _0x2c64ae[_0x45c854(0x3a1)]({'options':{..._0x46ee55,..._0x2fba50},'args':_0x32dd6d?[_0x32dd6d]:[],'tdx':null});gracefulExit(_0x376a24);}),profileCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x456))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x356))['addHelpText']('after',a2_0x28a4c0(0x3a5))[a2_0x28a4c0(0x1e6)](async(_0x128508,_0xf0ec8c)=>{const _0x5af4ad=new ProfileRemoveCommand(),_0x300596=program['opts'](),_0x211f17=await _0x5af4ad['run']({'options':{..._0x300596,..._0xf0ec8c},'args':[_0x128508],'tdx':null});gracefulExit(_0x211f17);}),profileCmd[a2_0x28a4c0(0x46f)]('set\x20<key=value>')[a2_0x28a4c0(0x3e0)]('Set\x20a\x20profile\x20configuration\x20value')[a2_0x28a4c0(0x30b)]('after',a2_0x28a4c0(0x2e3))[a2_0x28a4c0(0x1e6)](async(_0x32266d,_0x5a1af4)=>{const _0x31e9a6=a2_0x28a4c0,_0x3872e3=new ProfileSetCommand(),_0x49ea15=program[_0x31e9a6(0x293)](),_0x3694a6=await _0x3872e3[_0x31e9a6(0x3a1)]({'options':{..._0x49ea15,..._0x5a1af4},'args':[_0x32266d],'tdx':null});gracefulExit(_0x3694a6);}),profileCmd['command'](a2_0x28a4c0(0x28b))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x317))[a2_0x28a4c0(0x35f)]('--default',a2_0x28a4c0(0x451))['addHelpText']('after',a2_0x28a4c0(0x368))[a2_0x28a4c0(0x1e6)](async(_0x286deb,_0x13ec9f)=>{const _0x38e705=a2_0x28a4c0,_0x37f6ef=new ProfileUseCommand(),_0x377161=program[_0x38e705(0x293)](),_0x2147e8=await _0x37f6ef[_0x38e705(0x3a1)]({'options':{..._0x377161,..._0x13ec9f},'args':[_0x286deb],'tdx':null});gracefulExit(_0x2147e8);});const engageCmd=program[a2_0x28a4c0(0x46f)]('engage')[a2_0x28a4c0(0x3e0)]('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0xef7751=>{return async(_0xcb9ec5,_0x3f5182)=>{const _0x201c40=a2_0xf64d,_0x2522b1=new _0xef7751(),_0x37d44e=program[_0x201c40(0x293)](),_0x1c9f56=await createTDXInstance(_0x37d44e),_0x9ea352=await _0x2522b1[_0x201c40(0x3a1)]({'options':{..._0x37d44e,..._0x3f5182},'args':[_0xcb9ec5],'tdx':_0x1c9f56});gracefulExit(_0x9ea352);};},createEngageNoArgAction=_0x2f3140=>{return async _0xbe5acf=>{const _0x552cd1=a2_0xf64d,_0x12123b=new _0x2f3140(),_0x402c47=program[_0x552cd1(0x293)](),_0x4910c5=await createTDXInstance(_0x402c47),_0x40b090=await _0x12123b['run']({'options':{..._0x402c47,..._0xbe5acf},'args':[],'tdx':_0x4910c5});gracefulExit(_0x40b090);};},campaignCmd=engageCmd[a2_0x28a4c0(0x46f)]('campaign')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x24d)),campaignListAction=async(_0xe732fd,_0x2b6584)=>{const _0x581fdd=a2_0x28a4c0,_0x47b887=new EngageCampaignsCommand(),_0x5497eb=program[_0x581fdd(0x293)](),_0x4373c7=await createTDXInstance(_0x5497eb),_0x53fdbe=await _0x47b887['run']({'options':{..._0x5497eb,..._0x2b6584},'args':_0xe732fd?[_0xe732fd]:[],'tdx':_0x4373c7});gracefulExit(_0x53fdbe);};campaignCmd['command'](a2_0x28a4c0(0x418))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x280))['option'](a2_0x28a4c0(0x34e),a2_0x28a4c0(0x459))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2bd),a2_0x28a4c0(0x1f1))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3aa),'Workspace\x20name')['action'](campaignListAction),engageCmd['command'](a2_0x28a4c0(0x38a))['description'](a2_0x28a4c0(0x35c))['option']('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2bd),a2_0x28a4c0(0x1f1))['option'](a2_0x28a4c0(0x3aa),'Workspace\x20name')[a2_0x28a4c0(0x1e6)](campaignListAction),campaignCmd[a2_0x28a4c0(0x46f)]('show\x20<name-or-id>')[a2_0x28a4c0(0x3e0)]('Show\x20campaign\x20details')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3aa),a2_0x28a4c0(0x3bd))[a2_0x28a4c0(0x35f)]('--full',a2_0x28a4c0(0x28f))[a2_0x28a4c0(0x1e6)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x452))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x378))[a2_0x28a4c0(0x414)]('--name\x20<name>',a2_0x28a4c0(0x218))['requiredOption'](a2_0x28a4c0(0x34e),a2_0x28a4c0(0x45b))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3aa),a2_0x28a4c0(0x2fc))[a2_0x28a4c0(0x35f)]('--description\x20<desc>',a2_0x28a4c0(0x214))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x312),a2_0x28a4c0(0x411))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x1e5),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2dc),a2_0x28a4c0(0x448))['option']('--start-at\x20<datetime>',a2_0x28a4c0(0x37f))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x321),a2_0x28a4c0(0x2ad))[a2_0x28a4c0(0x1e6)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd['command'](a2_0x28a4c0(0x1dd))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x279))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3aa),a2_0x28a4c0(0x3bd))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2af),a2_0x28a4c0(0x412))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x1d4),a2_0x28a4c0(0x214))[a2_0x28a4c0(0x35f)]('--segment\x20<path>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')['option'](a2_0x28a4c0(0x1e5),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2dc),a2_0x28a4c0(0x448))['option']('--start-at\x20<datetime>',a2_0x28a4c0(0x37f))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x321),a2_0x28a4c0(0x2ad))[a2_0x28a4c0(0x1e6)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command']('delete\x20<name-or-id>')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x20b))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3aa),'Workspace\x20name')[a2_0x28a4c0(0x35f)]('--yes','Skip\x20confirmation\x20prompt')[a2_0x28a4c0(0x1e6)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x32a))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x286))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3aa),a2_0x28a4c0(0x3bd))[a2_0x28a4c0(0x1e6)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x342))['description']('Pause\x20a\x20campaign')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3aa),'Workspace\x20name')[a2_0x28a4c0(0x1e6)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x23c))[a2_0x28a4c0(0x3e0)]('Resume\x20a\x20paused\x20campaign')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3aa),a2_0x28a4c0(0x3bd))['action'](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x21b))['description'](a2_0x28a4c0(0x1e0))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3aa),a2_0x28a4c0(0x3bd))[a2_0x28a4c0(0x1e6)](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x2c3))[a2_0x28a4c0(0x3e0)]('Email\x20template\x20management'),templateListAction=async(_0x337d54,_0x43261a)=>{const _0x3fe8dc=a2_0x28a4c0,_0x33ecd8=new EngageTemplatesCommand(),_0x3e4c79=program[_0x3fe8dc(0x293)](),_0x3545fc=await createTDXInstance(_0x3e4c79),_0x379392=await _0x33ecd8['run']({'options':{..._0x3e4c79,..._0x43261a},'args':_0x337d54?[_0x337d54]:[],'tdx':_0x3545fc});gracefulExit(_0x379392);};templateCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x418))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x42b))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3aa),a2_0x28a4c0(0x3bd))[a2_0x28a4c0(0x1e6)](templateListAction),engageCmd[a2_0x28a4c0(0x46f)]('templates\x20[pattern]')['description']('List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)')[a2_0x28a4c0(0x35f)]('--workspace\x20<name>',a2_0x28a4c0(0x3bd))['action'](templateListAction),templateCmd['command'](a2_0x28a4c0(0x21a))['description'](a2_0x28a4c0(0x332))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3aa),a2_0x28a4c0(0x3bd))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3cc),a2_0x28a4c0(0x28f))[a2_0x28a4c0(0x1e6)](createEngageAction(EngageTemplateShowCommand)),templateCmd['command']('create')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x3b8))['requiredOption'](a2_0x28a4c0(0x2af),a2_0x28a4c0(0x223))['requiredOption'](a2_0x28a4c0(0x22e),a2_0x28a4c0(0x3ea))[a2_0x28a4c0(0x414)]('--html\x20<html>',a2_0x28a4c0(0x31c))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3aa),a2_0x28a4c0(0x2fc))[a2_0x28a4c0(0x35f)]('--plaintext\x20<text>',a2_0x28a4c0(0x3fe))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2dd),'Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)',_0x1fd4b2=>{const _0x50b81c=a2_0x28a4c0;if(![_0x50b81c(0x367),_0x50b81c(0x25e)][_0x50b81c(0x3a7)](_0x1fd4b2))throw new SDKError(ErrorCode[_0x50b81c(0x291)],'Invalid\x20editor\x20type:\x20'+_0x1fd4b2+_0x50b81c(0x31f));return _0x1fd4b2;})[a2_0x28a4c0(0x1e6)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd['command'](a2_0x28a4c0(0x1dd))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x310))['option'](a2_0x28a4c0(0x3aa),'Workspace\x20name')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2af),a2_0x28a4c0(0x2d4))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x22e),a2_0x28a4c0(0x3ea))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x373),a2_0x28a4c0(0x31c))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x319),a2_0x28a4c0(0x3fe))['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd['command'](a2_0x28a4c0(0x2e9))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x2de))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3aa),a2_0x28a4c0(0x3bd))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x313),a2_0x28a4c0(0x434))[a2_0x28a4c0(0x1e6)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x28a4c0(0x46f)]('workspace')['description'](a2_0x28a4c0(0x2df)),workspaceListAction=async(_0x113f9f,_0x3a88a5)=>{const _0x157d9a=a2_0x28a4c0,_0x2cfb79=new EngageWorkspacesCommand(),_0x5db040=program['opts'](),_0xea9705=await createTDXInstance(_0x5db040),_0xf8c5b3=await _0x2cfb79[_0x157d9a(0x3a1)]({'options':{..._0x5db040,..._0x3a88a5},'args':_0x113f9f?[_0x113f9f]:[],'tdx':_0xea9705});gracefulExit(_0xf8c5b3);};workspaceCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x418))['description'](a2_0x28a4c0(0x3d5))[a2_0x28a4c0(0x1e6)](workspaceListAction),engageCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x39a))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x347))[a2_0x28a4c0(0x1e6)](workspaceListAction),workspaceCmd['command'](a2_0x28a4c0(0x21a))[a2_0x28a4c0(0x3e0)]('Show\x20workspace\x20details')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3cc),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x28a4c0(0x1e6)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x28a4c0(0x46f)]('create')[a2_0x28a4c0(0x3e0)]('Create\x20a\x20workspace')['requiredOption'](a2_0x28a4c0(0x2af),'Workspace\x20name')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x1d4),a2_0x28a4c0(0x3a3))[a2_0x28a4c0(0x1e6)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x1dd))['description'](a2_0x28a4c0(0x3c5))['option']('--name\x20<name>',a2_0x28a4c0(0x1f6))['option'](a2_0x28a4c0(0x1d4),'Workspace\x20description')[a2_0x28a4c0(0x1e6)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x2e9))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x362))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x313),'Skip\x20confirmation\x20prompt')[a2_0x28a4c0(0x1e6)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd['command']('use\x20<name>')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x374))[a2_0x28a4c0(0x1e6)](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x3f0))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x3a6)),connectionListAction=async _0x2dc395=>{const _0x24cb3c=a2_0x28a4c0,_0x49ae52=new ConnectionListCommand(),_0x51edea=program[_0x24cb3c(0x293)](),_0x3fb3fe=await createTDXInstance(_0x51edea),_0x5185d5=await _0x49ae52[_0x24cb3c(0x3a1)]({'options':{..._0x51edea,..._0x2dc395},'args':[],'tdx':_0x3fb3fe});gracefulExit(_0x5185d5);};connectionCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x379))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x213))['action'](connectionListAction),program[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x3d7),{'hidden':!![]})[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x3dd))[a2_0x28a4c0(0x1e6)](connectionListAction),connectionCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x290))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x41d))['action'](async(_0x1cee0a,_0x440e1c)=>{const _0x45725c=a2_0x28a4c0,_0x58579e=new ConnectionShowCommand(),_0x101aec=program[_0x45725c(0x293)](),_0x8698bf=await createTDXInstance(_0x101aec),_0x1a8e67=await _0x58579e[_0x45725c(0x3a1)]({'options':{..._0x101aec,..._0x440e1c},'args':[_0x1cee0a],'tdx':_0x8698bf});gracefulExit(_0x1a8e67);}),connectionCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x23b))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x358))[a2_0x28a4c0(0x1e6)](async(_0x1e4b84,_0x4b1474)=>{const _0x42a735=a2_0x28a4c0,_0x1f3817=new ConnectionSchemaCommand(),_0x2af840=program[_0x42a735(0x293)](),_0xa7db8b=await createTDXInstance(_0x2af840),_0x3c0f87=await _0x1f3817[_0x42a735(0x3a1)]({'options':{..._0x2af840,..._0x4b1474},'args':[_0x1e4b84],'tdx':_0xa7db8b});gracefulExit(_0x3c0f87);}),connectionCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x323))['description'](a2_0x28a4c0(0x255))[a2_0x28a4c0(0x1e6)](async _0x32ec7c=>{const _0x5c3df8=a2_0x28a4c0,_0x5e4c54=new ConnectionTypesCommand(),_0x59bc32=program[_0x5c3df8(0x293)](),_0x238bc3=await createTDXInstance(_0x59bc32),_0x4cbfcf=await _0x5e4c54[_0x5c3df8(0x3a1)]({'options':{..._0x59bc32,..._0x32ec7c},'args':[],'tdx':_0x238bc3});gracefulExit(_0x4cbfcf);}),connectionCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x28e))[a2_0x28a4c0(0x3e0)]('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x28a4c0(0x1e6)](async(_0x1b6a01,_0x5b85fa)=>{const _0x3aed91=a2_0x28a4c0,_0x584163=new ConnectionSettingsCommand(),_0x48e98d=program[_0x3aed91(0x293)](),_0x4ded0a=await createTDXInstance(_0x48e98d),_0x242193=await _0x584163[_0x3aed91(0x3a1)]({'options':{..._0x48e98d,..._0x5b85fa},'args':[_0x1b6a01],'tdx':_0x4ded0a});gracefulExit(_0x242193);});const journeyCmd=program[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x262))['description'](a2_0x28a4c0(0x29a)),journeyListAction=async(_0x11a3ff,_0x405368)=>{const _0x4e1db7=a2_0x28a4c0,_0x38f2a2=new JourneyListCommand(),_0x1eaa72=program[_0x4e1db7(0x293)](),_0x345ebd=await createTDXInstance(_0x1eaa72),_0x23afa6=await _0x38f2a2['run']({'options':{..._0x1eaa72,..._0x405368},'args':_0x11a3ff?[_0x11a3ff]:[],'tdx':_0x345ebd});gracefulExit(_0x23afa6);};journeyCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x418))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x247))['action'](journeyListAction),journeyCmd['command'](a2_0x28a4c0(0x406))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x346))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x43b),a2_0x28a4c0(0x3ac))[a2_0x28a4c0(0x35f)]('--include-stats',a2_0x28a4c0(0x3fa))['action'](async(_0x42de02,_0x5b2030)=>{const _0x57d455=a2_0x28a4c0,_0x29315c=new JourneyViewCommand(),_0x227c4c=program[_0x57d455(0x293)](),_0x289f7c=await createTDXInstance(_0x227c4c),_0x2a3cce=await _0x29315c[_0x57d455(0x3a1)]({'options':{..._0x227c4c,..._0x5b2030},'args':[_0x42de02],'tdx':_0x289f7c});gracefulExit(_0x2a3cce);}),journeyCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x2a3))['description'](a2_0x28a4c0(0x46d))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x2f8),a2_0x28a4c0(0x1db))['option'](a2_0x28a4c0(0x388),'Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x40f),a2_0x28a4c0(0x460))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3db),a2_0x28a4c0(0x3c2))['action'](async(_0x533ec1,_0x5eac98)=>{const _0x344b41=a2_0x28a4c0,_0x24fa46=new JourneyStatsCommand(),_0x2d5bf1=program[_0x344b41(0x293)](),_0x488f3b=await createTDXInstance(_0x2d5bf1),_0xf7ef88=await _0x24fa46['run']({'options':{..._0x2d5bf1,..._0x5eac98},'args':[_0x533ec1],'tdx':_0x488f3b});gracefulExit(_0xf7ef88);}),journeyCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x1fa))['description']('Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x34e),a2_0x28a4c0(0x27e))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x388),a2_0x28a4c0(0x20f))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x40f),a2_0x28a4c0(0x460))['option'](a2_0x28a4c0(0x3ba),a2_0x28a4c0(0x3c8),_0x4a6f39=>{const _0x4dc780=a2_0x28a4c0,_0x459393=parseInt(_0x4a6f39,0xa);if(isNaN(_0x459393))throw new Error(_0x4dc780(0x3bc)+_0x4a6f39+'\x22.\x20Must\x20be\x20a\x20number.');return _0x459393;})['action'](async(_0x23e568,_0x87a2aa)=>{const _0x45b9a8=a2_0x28a4c0,_0x53f1ad=new JourneyTrafficCommand(),_0x53635d=program[_0x45b9a8(0x293)](),_0x285e5c=await createTDXInstance(_0x53635d),_0x2ee24a=await _0x53f1ad[_0x45b9a8(0x3a1)]({'options':{..._0x53635d,..._0x87a2aa},'args':[_0x23e568],'tdx':_0x285e5c});gracefulExit(_0x2ee24a);}),journeyCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x1e2))['description'](a2_0x28a4c0(0x24c))[a2_0x28a4c0(0x1e6)](async(_0x1d67b9,_0xc05dbe)=>{const _0x47a5b8=new JourneyPauseCommand(),_0x47d2a8=program['opts'](),_0x106e8f=await createTDXInstance(_0x47d2a8),_0x56329a=await _0x47a5b8['run']({'options':{..._0x47d2a8,..._0xc05dbe},'args':[_0x1d67b9],'tdx':_0x106e8f});gracefulExit(_0x56329a);}),journeyCmd['command'](a2_0x28a4c0(0x354))['description']('Resume\x20a\x20paused\x20journey')[a2_0x28a4c0(0x1e6)](async(_0x3eecba,_0x36cd82)=>{const _0x5bc1a5=a2_0x28a4c0,_0x3841b7=new JourneyResumeCommand(),_0x10addd=program[_0x5bc1a5(0x293)](),_0x4e99ff=await createTDXInstance(_0x10addd),_0x367726=await _0x3841b7[_0x5bc1a5(0x3a1)]({'options':{..._0x10addd,..._0x36cd82},'args':[_0x3eecba],'tdx':_0x4e99ff});gracefulExit(_0x367726);}),journeyCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x3ee))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x38c))['option']('-y,\x20--yes','Skip\x20confirmation\x20prompt')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x44a),a2_0x28a4c0(0x41a))['action'](async(_0x191324,_0x287654)=>{const _0x5d0db6=a2_0x28a4c0,_0x4122f2=new JourneyPullCommand(),_0x64cd17=program[_0x5d0db6(0x293)](),_0x42b3bc=await createTDXInstance(_0x64cd17),_0x3778f7=await _0x4122f2['run']({'options':{..._0x64cd17,..._0x287654},'args':_0x191324?[_0x191324]:[],'tdx':_0x42b3bc});gracefulExit(_0x3778f7);}),journeyCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x425))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x3ce))[a2_0x28a4c0(0x1e6)](async(_0xc21fde,_0x51b8d6)=>{const _0x117b1c=a2_0x28a4c0,_0x486aaf=new JourneyPushCommand(),_0x47e7a3=program[_0x117b1c(0x293)](),_0x5b6877=await createTDXInstance(_0x47e7a3),_0x405028=await _0x486aaf[_0x117b1c(0x3a1)]({'options':{..._0x47e7a3,..._0x51b8d6},'args':_0xc21fde?[_0xc21fde]:[],'tdx':_0x5b6877});gracefulExit(_0x405028);}),journeyCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x45c))['description'](a2_0x28a4c0(0x235))[a2_0x28a4c0(0x1e6)](async(_0x4b7858,_0x442201)=>{const _0x28d7dd=a2_0x28a4c0,_0x4ba344=new JourneyColumnsCommand(),_0x20fa64=program[_0x28d7dd(0x293)](),_0x24d0f9=await createTDXInstance(_0x20fa64),_0x7f3ab6=await _0x4ba344[_0x28d7dd(0x3a1)]({'options':{..._0x20fa64,..._0x442201},'args':[_0x4b7858],'tdx':_0x24d0f9});gracefulExit(_0x7f3ab6);}),journeyCmd['command']('activations\x20<name-or-path>')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x1da))[a2_0x28a4c0(0x1e6)](async(_0x34345,_0x39b308)=>{const _0x1b58fe=a2_0x28a4c0,_0x29dd44=new JourneyActivationsCommand(),_0x1d2707=program[_0x1b58fe(0x293)](),_0xaaea5f=await createTDXInstance(_0x1d2707),_0x28ebd5=await _0x29dd44[_0x1b58fe(0x3a1)]({'options':{..._0x1d2707,..._0x39b308},'args':[_0x34345],'tdx':_0xaaea5f});gracefulExit(_0x28ebd5);}),journeyCmd['command'](a2_0x28a4c0(0x3af))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x27f))[a2_0x28a4c0(0x1e6)](async(_0x1982dc,_0x5db32b)=>{const _0x1a055b=new JourneyVersionsCommand(),_0x5ea33d=program['opts'](),_0x593faf=await createTDXInstance(_0x5ea33d),_0x26a5f6=await _0x1a055b['run']({'options':{..._0x5ea33d,..._0x5db32b},'args':[_0x1982dc],'tdx':_0x593faf});gracefulExit(_0x26a5f6);});const journeyVersionCmd=journeyCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x264))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x202));function a2_0x1b8a(){const _0x25d02a=['run','outputHelp','Workspace\x20description','log\x20<chat-id>','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','Data\x20connection\x20management\x20(for\x20activations/exports)','includes','--attempt-id\x20<id>','padEnd','--workspace\x20<name>','json','Open\x20journey\x20in\x20web\x20browser','--revision\x20<revision>','CDP\x20segment\x20management\x20commands','versions\x20<name-or-path>','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','--enriched','name','Folder\x20name\x20for\x20organization','pull\x20<project>\x20[target-dir]','commandUsage','history\x20<name>','\x20-\x20built\x20','Create\x20an\x20email\x20template','forEach','--limit\x20<number>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','Invalid\x20--limit\x20value:\x20\x22','Workspace\x20name','tsv','create\x20<segment_name>','Change\x20to\x20directory\x20before\x20executing\x20command','isDirectory','Include\x20raw\x20history\x20data\x20in\x20output','--starter-message\x20<text>','Parent\x20folder\x20name\x20for\x20nested\x20folders','Update\x20a\x20workspace','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','configureHelp','Maximum\x20number\x20of\x20nodes','clone\x20[source-dir]','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','-v,\x20--verbose','--full','[action]','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Workflow\x20session\x20management','validate\x20[file]','--site\x20<site>','--database\x20<db>','--add-attributes\x20<json>','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Maximum\x20recursion\x20depth\x20(default:\x2010)','connections','Start\x20a\x20new\x20chat\x20session','information_schema','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','--include-history','argumentTerm','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','restore\x20<folder>','slice','description','sql\x20[segment_name]','site','Resume\x20from\x20specific\x20task','profile','LLM\x20project\x20management','jsonl','buildTime','Database\x20name','--model\x20<name>','Email\x20subject\x20template','parents\x20[pattern]','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','-d,\x20--database\x20<name>','pull\x20[name]','agents\x20[pattern]','connection','337dwqSoG','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','fields\x20[name]','split','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Include\x20execution\x20statistics','Custom\x20revision\x20name\x20(default:\x20timestamp)','Delete\x20a\x20scheduled\x20query','Parent\x20segment\x20management','Plaintext\x20template\x20content','Timezone\x20for\x20cron','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Skip\x20confirmation\x20prompts','backup\x20<name>','Overwrite\x20local\x20changes\x20without\x20confirmation','view\x20<name-or-path>','Authentication\x20management','6372832HVCytU','test\x20[path]','query\x20[sql]','-f,\x20--force','desc','submit\x20[query]','--priority\x20<-2~2>','--to\x20<date>','--catalog\x20<catalog>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','New\x20campaign\x20name','Workflow\x20parameter\x20(repeatable)','requiredOption','isArray','options','parent','list\x20[pattern]','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','create\x20<name>','Show\x20connection\x20details\x20by\x20name','-d,\x20--database\x20<db>','System\x20prompt/instructions\x20(default:\x20empty)','--time\x20<iso8601>','Result\x20output\x20destination\x20URL','colorFn','folder','describe\x20[table]','push\x20[target]','Get\x20job\x20results','sql\x20[name]','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','Force\x20retry\x20even\x20if\x20not\x20failed','clear','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','Add\x20behaviors\x20as\x20JSON\x20string','Agent\x20prompt/instructions','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','agent','activations\x20<segment_name>','get','Output\x20file\x20path\x20(default:\x20<name>.yml)','Skip\x20confirmation\x20prompt','attempt:','--include-subtasks','flags','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','then','-w,\x20--web','length','flatMap','chdir','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','-1d','Setup\x20API\x20key\x20authentication\x20interactively',',\x20version\x20','\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','users','show\x20<agent-name>','--add-attributes-file\x20<file>','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Retry\x20limit\x20(0\x20to\x2032)','--dry-run','--result\x20<target>','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','List\x20available\x20LLM\x20models','--job-type\x20<type>','padWidth','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','create','[DEPRECATED]\x20Segment\x20folder\x20management','delete\x20<name>','--customer-group\x20<json>','remove\x20<name>','Update\x20an\x20existing\x20agent','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','project','Campaign\x20type\x20(email\x20or\x20push)','columns\x20<name-or-path>','commands','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','--debug','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','--format\x20<format>','filter','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','logs','list\x20[name]','debug','retry','workflows\x20[project]','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','--in\x20<database>','update\x20<agent-name>','Version\x20number\x20to\x20view','Show\x20journey\x20statistics','Continue\x20most\x20recent\x20conversation','command','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','preAction','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Interactive\x20chat\x20selector','--description\x20<desc>','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','--master','Set\x20operation\x20timeout\x20in\x20seconds','gitRevision','--to\x20<timestamp>','List\x20activations\x20for\x20a\x20journey','Show\x20stats\x20for\x20specific\x20stage','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','update\x20<name-or-id>','Database\x20to\x20use\x20(overrides\x20context)','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Duplicate\x20a\x20campaign','fields\x20[parent_name]','pause\x20<name-or-path>','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','--email-sender-id\x20<id>','action','Show\x20schedule\x20execution\x20history','Agent\x20description','preview\x20[file]','join','Attributes\x20from\x20JSON\x20file','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','--attribute\x20[name]','Clear\x20session\x20context','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Personalization\x20service\x20management','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','--chat-id\x20<id>','--in\x20<name>','New\x20segment\x20name','New\x20workspace\x20name','List\x20agents\x20in\x20current\x20project','retry\x20<session-id>','LLM\x20project\x20to\x20use\x20(overrides\x20context)','traffic\x20<name-or-path>','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','segments\x20[path]','argv','tdx\x20','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','stderr','Journey\x20version\x20management','25054956fgYkAi','--system-prompt\x20<text>','Pull\x20specific\x20revision\x20(default:\x20latest)','Preview\x20changes\x20without\x20pushing','view\x20[name]','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','Customer\x20group\x20as\x20JSON\x20string','Delete\x20a\x20campaign','Job\x20management\x20commands','database','folders\x20<parent_name>','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Delete\x20an\x20LLM\x20project','--name\x20<new-name>','List\x20all\x20data\x20connections','Campaign\x20description','--add-behaviors\x20<json>','Remove\x20API\x20key\x20from\x20system\x20keychain','--version','Campaign\x20name','--folder\x20<name>','show\x20<name-or-id>','duplicate\x20<name-or-id>','--invisible','Limit\x20number\x20of\x20rows','--session-id\x20<id>','list\x20[project]','--prompt\x20<text>','Timezone\x20(e.g.,\x20America/Los_Angeles)','60128DDhKJk','Template\x20name','info\x20[segment_name]','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','subcommandDescription','Create\x20a\x20scheduled\x20query','show\x20<job-id>','Show\x20the\x20most\x20recent\x20chat','variadic','summary','--subject\x20<subject>','Resume\x20from\x20specific\x20task\x20(retry)','--num\x20<1-10>','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','delete\x20<agent-name>','download\x20<project-name>\x20[output-dir]','Show\x20master\x20table\x20sample\x20data','Show\x20journey\x20table\x20column-to-step\x20mapping','AI-native\x20CLI\x20for\x20Treasure\x20Data','Request\x20body\x20as\x20JSON\x20string','GET','1090PWWUWH','--reeval','schema\x20<type>','resume\x20<name-or-id>','List\x20secret\x20keys\x20for\x20a\x20project','Skip\x20validation\x20of\x20.dig\x20files','run\x20[workflow]','Follow/watch\x20timeline\x20for\x20running\x20attempts','[EXPERIMENTAL]\x20Show\x20chat\x20log','--from\x20<n>','sessions\x20[project]','projects\x20[pattern]','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','Include\x20subtasks\x20in\x20tasks\x20output','List\x20journeys\x20in\x20current\x20context','--schedule-type\x20<type>','--skip-validation','--delete','after','Pause\x20a\x20running\x20journey','Campaign\x20management','-o,\x20--output\x20<folder>','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','--new','use\x20[project]','Folder\x20description','claude\x20[args...]','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','List\x20available\x20connector\x20types','Database\x20name\x20(default:\x20information_schema)','Behaviors\x20as\x20JSON\x20string','error','parse','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Output\x20file\x20path','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','view\x20[segment_name]','grapesjs','isTTY','describe','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','journey','Skip\x20population\x20counting','version','Save\x20output\x20to\x20file','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','_list-commands','update\x20<segment_name>','status','-u,\x20--use','--max-tool-iterations\x20<n>','--description\x20<text>','Master\x20database\x20name','--interval\x20<range>','Name\x20for\x20the\x20new\x20project\x20(required)','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','[options]\x20--\x20[claude-code-args...]','-p,\x20--profile\x20<name>','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20jp01,\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\x20jp01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a','Unknown\x20action:\x20','--max-depth\x20<depth>','--include-retried','set\x20<args...>','DEBUG','Update\x20a\x20campaign','Make\x20segment\x20invisible\x20(default:\x20visible)','[attempt-id]','Query\x20engine\x20version','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','List\x20all\x20versions\x20of\x20a\x20journey','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','argument','138FMIIsk','Action:\x20logs,\x20tasks,\x20kill,\x20retry','Create\x20a\x20new\x20profile','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Launch\x20a\x20campaign','Start\x20time\x20filter\x20(ISO\x208601\x20format)','-r,\x20--recursive','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','use\x20<name>','--parent-segment\x20<name>','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','settings\x20<type>','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','show\x20<name>','INVALID_ARGUMENT','Output\x20as\x20JSON','opts','--behavior\x20[name]','user','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','engage_workspace','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','CDP\x20Journey\x20Orchestration\x20commands','--llm-project\x20<name>','api\x20[endpoint]','session','preview\x20[name]','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','table','Preview\x20operation\x20without\x20executing','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','stats\x20<name-or-path>','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','[task-name]','--parent-folder\x20<name>','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','schedule','-f,\x20--file\x20<path>','Agent\x20name','registeredArguments','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','repeat','--name\x20<name>','help','--kind\x20<type>','--no-proxy','Project\x20description','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','--trace','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','RT\x202.0\x20configuration\x20management','--reason\x20<text>','Starting\x20offset\x20(default:\x200)','Read\x20request\x20body\x20from\x20file','Starter\x20message','--json','--status\x20<status>','Attributes\x20as\x20JSON\x20string','--force','List\x20jobs','Include\x20retried\x20attempts','Parse\x20and\x20validate\x20without\x20executing','template','\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','directory','-y,\x20--yes','INFO','parent-segment','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','Set\x20or\x20show\x20parent\x20segment\x20context','validate\x20[name]','Attempt\x20ID','Workflow\x20project\x20management','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Open\x20segment\x20in\x20web\x20browser','--rule\x20<json>','--limit\x20<rows>','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','New\x20template\x20name','--type\x20<api_type>','Add\x20behaviors\x20from\x20JSON\x20file','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','-c,\x20--continue','Directory\x20does\x20not\x20exist:\x20','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','logLevel','--json-columns\x20<cols>','--editor-type\x20<type>','Delete\x20an\x20email\x20template','Workspace\x20management','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','hidden','stdout','\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=jp01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a','-d,\x20--database\x20<database>','show\x20<folder_ref>','workflow','noColor','1281888JOsmPd','delete\x20<name-or-id>','List\x20all\x20available\x20profiles','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','databases\x20[pattern]','list\x20[path]','Query\x20type:\x20trino\x20or\x20hive','--params\x20<json>','Add\x20attributes\x20from\x20JSON\x20file','2801358sqTtzD','use\x20<project-name>','llm','unset\x20<resource>','--output\x20<file>','Push\x20without\x20confirmation','--stage\x20<name>','Filtering\x20rule\x20as\x20JSON\x20string','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','Ending\x20offset\x20(default:\x2020)','Workspace\x20name\x20(required)','Generate\x20test\x20conversations\x20without\x20evaluation','us01','-o,\x20--output\x20<file>','--version\x20<number>','attempt','--no-eval','Output\x20as\x20JSON\x20Lines','User\x20management\x20commands','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','log','--from-task\x20<task>','Show\x20segment\x20schema\x20(column\x20types)','--name\x20<new_name>','jobs','addHelpText','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Show\x20timeline\x20for\x20specific\x20attempt','Create\x20a\x20new\x20agent\x20in\x20current\x20project','kill\x20<job-id>','Update\x20an\x20email\x20template','commandDescription','--segment\x20<path>','--yes','Read\x20query\x20from\x20file','Show\x20authentication\x20status\x20and\x20current\x20context','-o,\x20--output\x20<dir>','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','4132005JkxQap','--plaintext\x20<text>','Job\x20priority\x20(-2\x20to\x202)','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','HTML\x20template\x20content','catch','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','--temperature\x20<n>','--timezone\x20<tz>','--clear','types','exit','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Master\x20table\x20name','long','--help','Revision\x20name\x20(default:\x20timestamp)','launch\x20<name-or-id>','clone\x20[source]','show\x20[name]','_hidden','--last','map','format','List\x20all\x20users\x20in\x20the\x20account','Show\x20email\x20template\x20details','run\x20[name]','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','injectIntoOptions','journeys\x20[pattern]','parent_segment','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','--schedule-option\x20<value>','--cron\x20<expression>','--default','-n,\x20--name\x20<name>','alias','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','Reason\x20for\x20killing\x20the\x20attempt','Commands:','Cron\x20expression\x20for\x20scheduling','pause\x20<name-or-id>','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Customer\x20group\x20from\x20JSON\x20file','usage','Show\x20journey\x20details','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','aliases','hook','Include\x20retried\x20attempts\x20(for\x20list)','--no-color','--result\x20<url>','-C,\x20--directory\x20<path>','--type\x20<type>','End\x20time\x20filter\x20(ISO\x208601\x20format)','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','apiKey','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','resume\x20<name-or-path>','Run\x20tests\x20for\x20an\x20LLM\x20agent','Remove\x20a\x20profile','tdx','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','init\x20[name]','Output\x20directory','segment','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','--attributes\x20<json>','Workflow\x20(Digdag)\x20management\x20commands','option','secrets','show\x20[table]','Delete\x20a\x20workspace','stringify','claude-4.5-sonnet','required','Delay\x20in\x20seconds\x20before\x20execution','beefree','\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','Preview\x20changes\x20without\x20writing\x20files','Show\x20job\x20details','validate\x20[target]','--jsonl','use\x20[name]','desc\x20[name]','allowUnknownOption','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','setup','0.7','--html\x20<html>','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','delete\x20<project-name-or-id>','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Create\x20a\x20new\x20campaign','list','--session\x20<id>','update\x20<name>','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Move\x20to\x20folder','create\x20<name-or-path>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Updated\x20description','trace','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Kill\x20a\x20job','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','...','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','--add-behaviors-file\x20<file>','--from\x20<date>','Submit\x20a\x20job','campaigns\x20[pattern]','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Export\x20journey(s)\x20as\x20YAML\x20files','Pull\x20workflow\x20project\x20to\x20local\x20folder','Usage:\x20','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','trino','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','LLM\x20agent\x20management','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','--rule-file\x20<file>','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','--delay\x20<seconds>','workspaces\x20[pattern]','upload\x20[project-name-or-dir]','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','chats','push','Open\x20parent\x20segment\x20in\x20web\x20browser','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file'];a2_0x1b8a=function(){return _0x25d02a;};return a2_0x1b8a();}journeyVersionCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x37e))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x1e3))['option'](a2_0x28a4c0(0x2c6),a2_0x28a4c0(0x434))[a2_0x28a4c0(0x1e6)](async(_0x183930,_0xcedd6a)=>{const _0x5d9743=a2_0x28a4c0,_0x3038f5=new JourneyVersionCreateCommand(),_0x1673bf=program['opts'](),_0x1eb20d=await createTDXInstance(_0x1673bf),_0x1cb98b=await _0x3038f5[_0x5d9743(0x3a1)]({'options':{..._0x1673bf,..._0xcedd6a},'args':[_0x183930],'tdx':_0x1eb20d});gracefulExit(_0x1cb98b);}),journeyVersionCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x406))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x25a))[a2_0x28a4c0(0x414)](a2_0x28a4c0(0x300),a2_0x28a4c0(0x46c))[a2_0x28a4c0(0x1e6)](async(_0x191a94,_0x459ef0)=>{const _0x2359a2=a2_0x28a4c0,_0x49f27a=new JourneyVersionViewCommand(),_0x26dbb8=program['opts'](),_0x17b994=await createTDXInstance(_0x26dbb8),_0x3e68a2=await _0x49f27a[_0x2359a2(0x3a1)]({'options':{..._0x26dbb8,..._0x459ef0},'args':[_0x191a94],'tdx':_0x17b994});gracefulExit(_0x3e68a2);}),journeyCmd['command'](a2_0x28a4c0(0x36b))[a2_0x28a4c0(0x3e0)]('Validate\x20journey\x20YAML\x20files\x20locally')[a2_0x28a4c0(0x1e6)](async(_0x80ab6c,_0x4ffb78)=>{const _0x5a3dc4=a2_0x28a4c0,_0xce6577=new JourneyValidateCommand(),_0x44b0d4=program['opts'](),_0x9781ce=await createTDXInstance(_0x44b0d4),_0x2ed308=await _0xce6577[_0x5a3dc4(0x3a1)]({'options':{..._0x44b0d4,..._0x4ffb78},'args':_0x80ab6c?[_0x80ab6c]:[],'tdx':_0x9781ce});gracefulExit(_0x2ed308);}),program[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x336))['description']('List\x20journeys\x20(alias\x20for\x20journey\x20list)')['action'](journeyListAction);const agentSyncCmd=program[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x430))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x394));agentSyncCmd[a2_0x28a4c0(0x46f)]('pull\x20[project]\x20[agent-name]')[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x225))['option'](a2_0x28a4c0(0x316),a2_0x28a4c0(0x35a))['option'](a2_0x28a4c0(0x40b),a2_0x28a4c0(0x405))[a2_0x28a4c0(0x1e6)](async(_0x42010a,_0x1c9579,_0x4931ed)=>{const _0x5bf971=a2_0x28a4c0,_0x29ca5d=new AgentPullCommand(),_0x4536ad=program[_0x5bf971(0x293)](),_0xc937ac=await createTDXInstance(_0x4536ad),_0x4bda97=[];if(_0x42010a)_0x4bda97[_0x5bf971(0x39e)](_0x42010a);if(_0x1c9579)_0x4bda97[_0x5bf971(0x39e)](_0x1c9579);const _0x4c8605=await _0x29ca5d[_0x5bf971(0x3a1)]({'options':{..._0x4536ad,..._0x4931ed},'args':_0x4bda97,'tdx':_0xc937ac});gracefulExit(_0x4c8605);}),agentSyncCmd[a2_0x28a4c0(0x46f)]('push\x20[path]')[a2_0x28a4c0(0x3e0)]('Push\x20local\x20agent\x20files\x20to\x20LLM\x20project')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x40b),a2_0x28a4c0(0x2f7))['action'](async(_0x3a7ce0,_0x18fc8b)=>{const _0x41790f=a2_0x28a4c0,_0x29d7fe=new AgentPushCommand(),_0x2d85e9=program['opts'](),_0x173609=await createTDXInstance(_0x2d85e9),_0x3ae561=await _0x29d7fe[_0x41790f(0x3a1)]({'options':{..._0x2d85e9,..._0x18fc8b},'args':_0x3a7ce0?[_0x3a7ce0]:[],'tdx':_0x173609});gracefulExit(_0x3ae561);}),agentSyncCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x32b))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x384))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x33c),a2_0x28a4c0(0x26f))['action'](async(_0x4edd21,_0xaa89cc)=>{const _0x5cee8b=a2_0x28a4c0,_0x32cacd=new AgentCloneCommand(),_0x15723a=program[_0x5cee8b(0x293)](),_0x13a4e7=await createTDXInstance(_0x15723a),_0x5939f3=await _0x32cacd[_0x5cee8b(0x3a1)]({'options':{..._0x15723a,..._0xaa89cc},'args':_0x4edd21?[_0x4edd21]:[],'tdx':_0x13a4e7});gracefulExit(_0x5939f3);}),agentSyncCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x409))['description'](a2_0x28a4c0(0x355))['option']('--name\x20<names>','Run\x20specific\x20tests\x20(comma-separated)')[a2_0x28a4c0(0x35f)]('--tags\x20<tags>',a2_0x28a4c0(0x3c6))['option'](a2_0x28a4c0(0x44a),a2_0x28a4c0(0x2c2))['option'](a2_0x28a4c0(0x302),a2_0x28a4c0(0x2fd))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x23a),'Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')[a2_0x28a4c0(0x1e6)](async(_0x5ec1ce,_0x239176)=>{const _0x1fd241=a2_0x28a4c0,_0x89cd71=new AgentTestCommand(),_0x2ebe8e=program[_0x1fd241(0x293)](),_0x2f784b=await createTDXInstance(_0x2ebe8e),_0x4d3e67=await _0x89cd71[_0x1fd241(0x3a1)]({'options':{..._0x2ebe8e,..._0x239176},'args':_0x5ec1ce?[_0x5ec1ce]:[],'tdx':_0x2f784b});gracefulExit(_0x4d3e67);}),agentSyncCmd['command'](a2_0x28a4c0(0x418))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x1f7))[a2_0x28a4c0(0x1e6)](llmAgentListAction),agentSyncCmd['command'](a2_0x28a4c0(0x446))['description']('Show\x20agent\x20details')[a2_0x28a4c0(0x1e6)](async(_0x4246fd,_0x5b012a)=>{const _0x1a0068=a2_0x28a4c0,_0x29f7f0=new LLMAgentShowCommand(),_0x1144ac=program[_0x1a0068(0x293)](),_0x266f00=await createTDXInstance(_0x1144ac),_0x491155=await _0x29f7f0[_0x1a0068(0x3a1)]({'options':{..._0x1144ac,..._0x5b012a},'args':[_0x4246fd],'tdx':_0x266f00});gracefulExit(_0x491155);}),agentSyncCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x41c))[a2_0x28a4c0(0x3e0)](a2_0x28a4c0(0x30e))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x204),a2_0x28a4c0(0x41f))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3e9),a2_0x28a4c0(0x472),a2_0x28a4c0(0x364))['option'](a2_0x28a4c0(0x3c3),'Starter\x20message')[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x26b),'Maximum\x20tool\x20iterations\x20(default:\x204)','4')['option'](a2_0x28a4c0(0x320),a2_0x28a4c0(0x2cf),a2_0x28a4c0(0x372))[a2_0x28a4c0(0x1e6)](async(_0x1a590f,_0x4851f4)=>{const _0x387543=a2_0x28a4c0,_0x57f049=new LLMAgentCreateCommand(),_0x55ee36=program['opts'](),_0x1dcd19=await createTDXInstance(_0x55ee36),_0x42596c=await _0x57f049[_0x387543(0x3a1)]({'options':{..._0x55ee36,..._0x4851f4},'args':[_0x1a590f],'tdx':_0x1dcd19});gracefulExit(_0x42596c);}),agentSyncCmd['command'](a2_0x28a4c0(0x46b))['description'](a2_0x28a4c0(0x457))['option']('--name\x20<text>',a2_0x28a4c0(0x2aa))['option'](a2_0x28a4c0(0x220),a2_0x28a4c0(0x42d))[a2_0x28a4c0(0x35f)]('--description\x20<text>',a2_0x28a4c0(0x1e8))[a2_0x28a4c0(0x35f)](a2_0x28a4c0(0x3c3),a2_0x28a4c0(0x2bb))['action'](async(_0x4dbdb6,_0x141811)=>{const _0x4a57eb=a2_0x28a4c0,_0x3546b2=new LLMAgentUpdateCommand(),_0x104f39=program[_0x4a57eb(0x293)](),_0x2f727a=await createTDXInstance(_0x104f39),_0x1ec124=await _0x3546b2[_0x4a57eb(0x3a1)]({'options':{..._0x104f39,..._0x141811},'args':[_0x4dbdb6],'tdx':_0x2f727a});gracefulExit(_0x1ec124);}),agentSyncCmd[a2_0x28a4c0(0x46f)](a2_0x28a4c0(0x232))['description']('Delete\x20an\x20agent')['action'](async(_0x14c040,_0x48e782)=>{const _0x890d55=a2_0x28a4c0,_0x4f3d2c=new LLMAgentDeleteCommand(),_0x3c4b0b=program[_0x890d55(0x293)](),_0xe2e95=await createTDXInstance(_0x3c4b0b),_0x3c4dd2=await _0x4f3d2c[_0x890d55(0x3a1)]({'options':{..._0x3c4b0b,..._0x48e782},'args':[_0x14c040],'tdx':_0xe2e95});gracefulExit(_0x3c4dd2);}),program['command'](a2_0x28a4c0(0x267),{'hidden':!![]})[a2_0x28a4c0(0x1e6)](()=>{const _0x50861d=a2_0x28a4c0;function _0x3e33c4(_0x1a312b,_0x27cab5){const _0x7332d9=a2_0xf64d,_0x3b1943=[];for(const _0x53a314 of _0x1a312b['commands']){if(_0x53a314['_hidden'])continue;const _0x42a0e4=_0x27cab5?_0x27cab5+'\x20'+_0x53a314[_0x7332d9(0x3b2)]():_0x53a314[_0x7332d9(0x3b2)](),_0x3cb8b7=_0x42a0e4[_0x7332d9(0x3f4)]('\x20')[0x0],_0x3a5903=COMMAND_CATEGORIES['find'](_0x938cc=>_0x938cc['commands']['includes'](_0x3cb8b7)),_0x4bc30d=_0x3a5903?.[_0x7332d9(0x3b2)]??'';if(_0x53a314[_0x7332d9(0x45d)]['length']>0x0)_0x3b1943[_0x7332d9(0x39e)](..._0x3e33c4(_0x53a314,_0x42a0e4));else{const _0x3f2661=(_0x53a314[_0x7332d9(0x2ab)]||[])[_0x7332d9(0x32f)](_0x507f41=>{const _0x3c71bd=_0x7332d9,_0x426afc=_0x507f41[_0x3c71bd(0x22c)]?_0x507f41[_0x3c71bd(0x3b2)]()+_0x3c71bd(0x385):_0x507f41[_0x3c71bd(0x3b2)]();return _0x507f41[_0x3c71bd(0x365)]?'<'+_0x426afc+'>':'['+_0x426afc+']';})['join']('\x20'),_0x19140f=_0x53a314[_0x7332d9(0x416)][_0x7332d9(0x462)](_0x42dbc3=>!_0x42dbc3[_0x7332d9(0x2e1)]&&_0x42dbc3[_0x7332d9(0x327)]!==_0x7332d9(0x328))[_0x7332d9(0x32f)](_0x4b06f3=>({'flags':_0x4b06f3[_0x7332d9(0x437)],'description':_0x4b06f3['description']}));_0x3b1943['push']({'name':_0x42a0e4,'description':_0x53a314[_0x7332d9(0x3e0)](),'group':_0x4bc30d,'usage':_0x3f2661,'options':_0x19140f});}}return _0x3b1943;}console[_0x50861d(0x306)](JSON[_0x50861d(0x363)](_0x3e33c4(program,''))),process[_0x50861d(0x324)](0x0);});export{program};export function runCLI(){const _0x4bdb2=a2_0x28a4c0,_0x547f5e=!process['argv'][_0x4bdb2(0x3df)](0x2)['length'];showBriefHelp=_0x547f5e,program[_0x4bdb2(0x259)](process[_0x4bdb2(0x1fd)]);_0x547f5e&&program[_0x4bdb2(0x3a2)]();if(process[_0x4bdb2(0x201)]['isTTY']&&process[_0x4bdb2(0x1fd)][_0x4bdb2(0x43c)]>0x2&&!isDevVersion()){const _0x5a9f1a=loadReleaseChannel();checkForUpdate(currentVersion,_0x5a9f1a)[_0x4bdb2(0x43a)](_0x4fcd76=>{_0x4fcd76&&displayUpdateNotification(_0x4fcd76);})[_0x4bdb2(0x31d)](()=>{});}}
|
|
1
|
+
const a2_0x329bdf=a2_0x503d;(function(_0xe8da0,_0x44009a){const _0x2adab2=a2_0x503d,_0x19d30f=_0xe8da0();while(!![]){try{const _0x4e9f02=parseInt(_0x2adab2(0xdc))/0x1+parseInt(_0x2adab2(0xc5))/0x2*(-parseInt(_0x2adab2(0x20c))/0x3)+parseInt(_0x2adab2(0x235))/0x4+-parseInt(_0x2adab2(0x161))/0x5*(parseInt(_0x2adab2(0x316))/0x6)+parseInt(_0x2adab2(0x298))/0x7*(-parseInt(_0x2adab2(0xdf))/0x8)+-parseInt(_0x2adab2(0xc7))/0x9+parseInt(_0x2adab2(0x26f))/0xa;if(_0x4e9f02===_0x44009a)break;else _0x19d30f['push'](_0x19d30f['shift']());}catch(_0x3f4f0a){_0x19d30f['push'](_0x19d30f['shift']());}}}(a2_0x4a4e,0x5c82a));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,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{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';function a2_0x4a4e(){const _0x4d8e8f=['Attempt\x20ID','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','addHelpText','tsv','List\x20available\x20connector\x20types','engage','--rule\x20<json>','Update\x20a\x20scheduled\x20query','--revision\x20<revision>','7mIGsYc','use\x20[name]','-n,\x20--name\x20<name>','history\x20[chat-id]','Include\x20retried\x20attempts\x20(for\x20list)','--include-history','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Email\x20subject\x20template','--jsonl','--from\x20<n>','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Open\x20segment\x20in\x20web\x20browser','--behavior\x20[name]','Clear\x20workflow\x20project\x20context','-d,\x20--database\x20<database>','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Delivery\x20operations\x20(email\x20senders)','connections','Agent\x20name','Read\x20query\x20from\x20file','Set\x20or\x20show\x20parent\x20segment\x20context','users','buildTime','push\x20[file]','Workflow\x20session\x20management','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','--delay\x20<seconds>','padEnd','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','activations\x20<name-or-path>','padWidth','Create\x20a\x20new\x20LLM\x20project','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','--name\x20<new-name>','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Personalization\x20service\x20management','Agent\x20description','-w,\x20--web','--master','--site\x20<site>','aliases','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','tdx','argumentTerm','Journey\x20version\x20management','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','--to\x20<timestamp>','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','unset\x20<resource>','Show\x20only\x20master\x20table\x20validation','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','\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,\x20jp01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Manage\x20workflow\x20project\x20secrets','--customer-group-file\x20<file>','Workspace\x20management','--attempt-id\x20<id>','--folder\x20<name>','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','requiredOption','--agent\x20<ref>','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','CDP\x20Journey\x20Orchestration\x20commands','option','get','Name\x20for\x20the\x20new\x20project\x20(required)','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','--plaintext\x20<text>','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Create\x20a\x20new\x20profile','Show\x20journey\x20statistics','--data\x20<data>','INFO','run\x20[name]','--html\x20<html>','claude-4.5-sonnet','table','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','--timezone\x20<tz>','list','Updated\x20timezone','validate\x20[target]','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','--catalog\x20<catalog>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','show\x20[table]','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Override\x20project\x20name','\x20-\x20built\x20','command','--status\x20<status>','Filtering\x20rule\x20from\x20JSON\x20file','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','RT\x202.0\x20configuration\x20management','Show\x20schedule\x20details','validate\x20[name]','show\x20<agent-name>','--type\x20<type>','--to\x20<n>','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','catch','filter','--no-color','Plaintext\x20template\x20content','\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','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Unknown\x20action:\x20','pull\x20<project>\x20[target-dir]','Include\x20raw\x20history\x20data\x20in\x20output','Kill\x20a\x20job','--job-type\x20<type>','log\x20<chat-id>','Cron\x20expression\x20for\x20scheduling','Follow/watch\x20timeline\x20for\x20running\x20attempts','result\x20<job-id>','--system-prompt\x20<text>','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','clear','24EhfzCB','exit','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','forEach','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','--param\x20<key=value>','Describe\x20table\x20schema','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','--reason\x20<text>','senders\x20[pattern]','Skip\x20validation\x20of\x20.dig\x20files','columns\x20<name-or-path>','Request\x20body\x20as\x20JSON\x20string','jsonl','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','json','duplicate\x20<name-or-id>','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Generate\x20test\x20conversations\x20without\x20evaluation','--version\x20<number>','Delete\x20an\x20LLM\x20project','Query\x20type:\x20trino\x20or\x20hive','--color','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','set\x20<args...>','version','Output\x20file\x20path\x20(default:\x20<name>.yml)','pull\x20[name]','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','User\x20management\x20commands','Version\x20number\x20to\x20view','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','INVALID_ARGUMENT','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','outputHelp','Run\x20a\x20scheduled\x20query\x20immediately','--session-id\x20<id>','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','--reeval','--parent-folder\x20<name>','--verbose','Update\x20a\x20workspace','--include-retried','LLM\x20project\x20to\x20use\x20(overrides\x20context)','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','--trace','\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','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','sql\x20[segment_name]','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--subject\x20<subject>','workflow','--attribute\x20[name]','campaign','Template\x20name','mcp','Pull\x20campaigns\x20to\x20YAML\x20files','--full','test\x20[path]','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','segment','push','Data\x20connection\x20management\x20(for\x20activations/exports)','set','--editor-type\x20<type>','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','--max-tool-iterations\x20<n>','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','--limit\x20<rows>','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','flags','show\x20[name]','Add\x20attributes\x20from\x20JSON\x20file','chdir','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','preview\x20[name]','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','after','list\x20[path]','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','HTML\x20template\x20content','--kind\x20<type>','\x22.\x20Must\x20be\x20a\x20number.','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','--include-subtasks','trino','Invalid\x20--limit\x20value:\x20\x22','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','--schedule-type\x20<type>','LLM\x20project\x20management','Maximum\x20number\x20of\x20nodes','commandDescription','gitRevision','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','List\x20activations\x20for\x20a\x20journey','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','Show\x20journey\x20details','Parse\x20and\x20validate\x20without\x20executing','--invisible','Clear\x20session\x20context','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','clone\x20[source-dir]','folders\x20<parent_name>','Maximum\x20tool\x20iterations\x20(default:\x204)','workflows\x20[project]','Force\x20retry\x20even\x20if\x20not\x20failed','create','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','22IqQXYn','--add-behaviors-file\x20<file>','1827342mYIsrh','join','Master\x20table\x20name','--description\x20<text>','Custom\x20revision\x20name\x20(default:\x20timestamp)','Show\x20all\x20files\x20including\x20valid\x20ones','pull\x20[workspace-name]','settings\x20<type>','-1d','Query\x20engine\x20version','update\x20<segment_name>','[DEPRECATED]\x20Segment\x20folder\x20management','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','Delete\x20an\x20email\x20template','Job\x20management\x20commands','Read\x20request\x20body\x20from\x20file','journey','--stream','workspace','--result\x20<url>','320773eEYOac','kill\x20<job-id>','Enable\x20verbose\x20logging','2786440EBNvrH','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20jp01,\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\x20jp01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a','Campaign\x20description','view\x20<name-or-path>','Delete\x20a\x20workspace','Show\x20agent\x20details','Database\x20to\x20query\x20(default:\x20information_schema)','Attributes\x20from\x20JSON\x20file','Parent\x20segment\x20management','--in\x20<db>','--segment\x20<path>','variadic','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Skip\x20confirmation\x20prompt','Campaign\x20name','Run\x20tests\x20for\x20an\x20LLM\x20agent','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Preview\x20operation\x20without\x20executing','stderr','schema\x20<type>','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','claude\x20[args...]','colorFn','--chat-id\x20<id>','user','Run\x20specific\x20tests\x20(comma-separated)','agents\x20[pattern]','view\x20[segment_name]','subcommandTerm','auth','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Commands:','List\x20all\x20available\x20profiles','session','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','attempt','--customer-group\x20<json>','Workspace\x20name\x20(required)','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','delete\x20<name-or-id>','format','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','--max-depth\x20<depth>','Parent\x20segment\x20description','Run\x20Trino\x20query\x20with\x20streaming\x20results','information_schema','options','allowExcessArguments','Campaign\x20type\x20(email\x20or\x20push)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20segment\x20details\x20(alias\x20for\x20view)','grapesjs','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','LLM\x20agent\x20management','List\x20all\x20versions\x20of\x20a\x20journey','schedule','--no-count-population','us01','api\x20[endpoint]','0.7','Output\x20directory','Maximum\x20recursion\x20depth\x20(default:\x2010)','use\x20<path>','Get\x20job\x20results','Show\x20job\x20details','--table\x20<table>','logLevel','--json','pull\x20[parent_or_file]','Show\x20segment\x20schema\x20(column\x20types)','engage_workspace','Database\x20name','New\x20workspace\x20name','--schedule-option\x20<value>','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','run\x20<name>','list\x20[project]','pause\x20<name-or-path>','[task-name]','injectIntoOptions','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','-o,\x20--output\x20<file>','--help','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','--name\x20<text>','run','--table','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','--temperature\x20<n>','registeredArguments','project','tasks','isTTY','-H,\x20--header\x20<header>','directory','error','Move\x20to\x20folder','status','Workspace\x20description','--retry-limit\x20<0~32>','--from-task\x20<task>','Show\x20master\x20table\x20sample\x20data','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)',',\x20version\x20','Pull\x20child\x20segments\x20to\x20YAML\x20files','Pull\x20workflow\x20project\x20to\x20local\x20folder','--from\x20<date>','--database\x20<name>','delete\x20<agent-name>','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','--no-proxy','use\x20<project-name>','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','debug','Customer\x20group\x20from\x20JSON\x20file','\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','Temperature\x20(0.0-2.0,\x20default:\x200.7)','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Show\x20connection\x20details\x20by\x20name','info\x20[segment_name]','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Save\x20output\x20to\x20file','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','120965aNqshz','activations\x20<segment_name>','hidden','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','models','Set\x20operation\x20timeout\x20in\x20seconds','resume\x20<name-or-id>','view\x20[name]','[action]','New\x20template\x20name','Delete\x20a\x20campaign','argument','upload\x20[project-name-or-dir]','[options]\x20--\x20[claude-code-args...]','--name\x20<new_name>','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Update\x20an\x20email\x20template','-u,\x20--use','workspaces\x20[pattern]','journeys\x20[pattern]','update\x20<name-or-id>','use\x20<name>','optionDescription','describe\x20[table]','Pull\x20specific\x20revision\x20(default:\x20latest)','templates\x20[pattern]','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','delete\x20<project-name-or-id>','then','List\x20agents\x20in\x20current\x20project','describe','Delete\x20an\x20agent','push\x20[path]','Resume\x20a\x20paused\x20journey','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Show\x20schedule\x20execution\x20history','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','update\x20<name>','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','name','Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)','length','fields\x20[name]','Validate\x20journey\x20YAML\x20files\x20locally','hook','Alias\x20for\x20--database\x20(natural\x20language\x20style)','--output\x20<file>','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','New\x20campaign\x20name','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Folder\x20description','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Output\x20file\x20path','statusline','optionTerm','CDP\x20segment\x20management\x20commands','Revision\x20name\x20(default:\x20timestamp)','Output\x20as\x20JSON','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','--in\x20<database>','--to\x20<date>','Skip\x20population\x20counting','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','argv','List\x20available\x20LLM\x20models','Create\x20segment\x20folder','Read\x20SQL\x20query\x20from\x20file','includes','--yes','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Open\x20parent\x20segment\x20in\x20web\x20browser','summary','repeat','profiles','folder','argumentDescription','split','Customer\x20group\x20as\x20JSON\x20string','isArray','description','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','remove\x20<name>','show\x20<job-id>','List\x20journeys\x20in\x20current\x20context','profile','--skip-validation','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','history\x20<name>','stats\x20<name-or-path>','map','--limit\x20<number>','List\x20jobs','View\x20a\x20specific\x20version\x20of\x20a\x20journey','delivery','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Attributes\x20as\x20JSON\x20string','Output\x20folder\x20(default:\x20{project_name}.llm)','help','--email-sender-id\x20<id>','Show\x20workspace\x20details','--force','--attributes-file\x20<file>','Usage:\x20','Action:\x20logs,\x20tasks,\x20kill,\x20retry','types','Validate\x20campaign\x20YAML\x20files\x20locally','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','apiKey','--database\x20<db>','Update\x20an\x20existing\x20agent','Add\x20behaviors\x20as\x20JSON\x20string','-y,\x20--yes','-f,\x20--file\x20<path>','configureHelp','restore\x20<folder>','Arguments:','Duplicate\x20a\x20campaign','--enriched','noColor','--type\x20<api_type>','-a,\x20--agent\x20<name>','--description\x20<desc>','--parent-segment\x20<name>','Segment\x20description','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','list\x20[name]','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','parents\x20[pattern]','--delete','beefree','Include\x20execution\x20statistics','Delete\x20a\x20scheduled\x20query','Email\x20sender\x20ID\x20for\x20delivery','Reason\x20for\x20killing\x20the\x20attempt','Timezone\x20for\x20cron','--stage\x20<name>','Database\x20name\x20(required)','Database\x20management\x20commands','create\x20[name]','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','slice','jobs','show\x20<name>','find','versions\x20<name-or-path>','--behaviors-file\x20<file>','pause\x20<name-or-id>','Make\x20segment\x20invisible\x20(default:\x20visible)','commands','List\x20all\x20data\x20connections','Timezone\x20for\x20cron\x20(default:\x20UTC)','--time\x20<iso8601>','opts','_hidden','download\x20<project-name>\x20[output-dir]','Resume\x20from\x20specific\x20task\x20(retry)','Create\x20a\x20new\x20campaign','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','--new','use\x20[project]','Show\x20campaign\x20details','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','List\x20all\x20users\x20in\x20the\x20account','connection','-d,\x20--database\x20<db>','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','traffic\x20<name-or-path>','68673LJynlb','agent','alias','Launch\x20a\x20campaign','projects\x20[pattern]','-f,\x20--force','database','stringify','site','--behaviors\x20<json>','Change\x20to\x20directory\x20before\x20executing\x20command','Output\x20as\x20JSON\x20Lines','\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','Model\x20type\x20(default:\x20claude-4.5-sonnet)','init\x20[name]','Export\x20journey(s)\x20as\x20YAML\x20files','Workflow\x20(Digdag)\x20management\x20commands','Remove\x20API\x20key\x20from\x20system\x20keychain','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','run\x20[workflow]','Invalid\x20editor\x20type:\x20','createAsync','--starter-message\x20<text>','Submit\x20a\x20job','Set\x20a\x20profile\x20configuration\x20value','--from\x20<timestamp>','trace','Email\x20template\x20management','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','--model\x20<name>','Behaviors\x20from\x20JSON\x20file','--add-attributes-file\x20<file>','backup\x20<name>','desc','Workspace\x20name','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','Resume\x20a\x20paused\x20campaign','push\x20[target]','Trino\x20catalog\x20(default:\x20td)','Master\x20database\x20name','2596696jzaAkB','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','list\x20[pattern]','usage','--engine-version\x20<version>','Workflow\x20attempt\x20management','delete\x20<name>','push\x20[parent_or_file]','Open\x20journey\x20in\x20web\x20browser','_list-commands','Path\x20is\x20not\x20a\x20directory:\x20','--prompt\x20<text>','Workflow\x20project\x20management','--dry-run','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','Behaviors\x20as\x20JSON\x20string','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','End\x20time\x20filter\x20(ISO\x208601\x20format)','secrets','AI-native\x20CLI\x20for\x20Treasure\x20Data','Create\x20a\x20new\x20agent\x20in\x20current\x20project','--interval\x20<range>','Continue\x20most\x20recent\x20conversation','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Overwrite\x20local\x20changes\x20without\x20confirmation','submit\x20[query]','Limit\x20number\x20of\x20rows','launch\x20<name-or-id>','DEBUG','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Directory\x20does\x20not\x20exist:\x20','subcommandDescription','Show\x20authentication\x20status\x20and\x20current\x20context','Authentication\x20management','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','tdx\x20','create\x20<name>','List\x20journeys\x20(alias\x20for\x20journey\x20list)','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Agent\x20prompt/instructions','--format\x20<format>','isDirectory','-r,\x20--resume','Remove\x20a\x20profile','Parent\x20folder\x20name\x20for\x20nested\x20folders','Result\x20output\x20destination\x20URL','--tsv','Table\x20management\x20commands','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','--last','--cron\x20<expression>','-r,\x20--recursive','Timezone\x20(e.g.,\x20America/Los_Angeles)','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','desc\x20[segment_name]','3088910rqfAyr','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','--workspace\x20<name>','--rule-file\x20<file>','--default','--clear','--params\x20<json>','parent_segment','--limit\x20<n>','chat\x20[message...]','show\x20<name-or-id>','--name\x20<name>','action','kill','log','retry','job','flatMap','Include\x20subtasks\x20in\x20tasks\x20output','delete\x20<args...>','Retry\x20limit\x20(0\x20to\x2032)','-c,\x20--continue','preview\x20[file]','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','--start-at\x20<datetime>','update\x20<agent-name>','Workflow\x20parameter\x20(repeatable)','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','--name\x20<names>','Job\x20priority\x20(-2\x20to\x202)','Campaign\x20management'];a2_0x4a4e=function(){return _0x4d8e8f;};return a2_0x4a4e();}import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{MCPCommand}from'./commands/mcp-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_0x329bdf(0x1a2)][a2_0x329bdf(0x1a6)]('--version')){let versionOutput=a2_0x329bdf(0x259)+currentVersion;buildInfo[a2_0x329bdf(0xb3)]&&!currentVersion[a2_0x329bdf(0x1a6)](buildInfo[a2_0x329bdf(0xb3)])&&(versionOutput+='\x20('+buildInfo[a2_0x329bdf(0xb3)]+')'),buildInfo[a2_0x329bdf(0x2ae)]&&(versionOutput+=a2_0x329bdf(0x2f6)+buildInfo[a2_0x329bdf(0x2ae)]),console[a2_0x329bdf(0x27d)](versionOutput),process[a2_0x329bdf(0x317)](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0x329bdf(0x249);buildInfo[a2_0x329bdf(0xb3)]&&!currentVersion['includes'](buildInfo[a2_0x329bdf(0xb3)])?description+=a2_0x329bdf(0x14c)+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=',\x20version\x20'+currentVersion;program[a2_0x329bdf(0x18a)](a2_0x329bdf(0x2c5))[a2_0x329bdf(0x1b2)](description),program[a2_0x329bdf(0x2da)]('-C,\x20--directory\x20<path>',a2_0x329bdf(0x216))[a2_0x329bdf(0x2da)]('-p,\x20--profile\x20<name>',a2_0x329bdf(0x2a7))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2c2),'TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)',a2_0x329bdf(0x11d))['option'](a2_0x329bdf(0x25e),a2_0x329bdf(0x2bd))['option'](a2_0x329bdf(0x13b),'Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x127),'Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2a0),a2_0x329bdf(0x202))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x264),a2_0x329bdf(0x2d8))['option'](a2_0x329bdf(0x191),a2_0x329bdf(0x15f))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x1be),a2_0x329bdf(0x2e1))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x32c),a2_0x329bdf(0x2ca),![])['option'](a2_0x329bdf(0x306),a2_0x329bdf(0x31a),![])[a2_0x329bdf(0x2da)]('-v,\x20--verbose',a2_0x329bdf(0xde),![])['option']('--debug',a2_0x329bdf(0x1e0))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x80),a2_0x329bdf(0x253))[a2_0x329bdf(0x2da)]('--timeout\x20<seconds>',a2_0x329bdf(0x166),'30')['option'](a2_0x329bdf(0x242),a2_0x329bdf(0xf3),![])[a2_0x329bdf(0x2da)](a2_0x329bdf(0x1d3),'Skip\x20confirmation\x20prompts',![])[a2_0x329bdf(0x2da)]('--session\x20<id>',a2_0x329bdf(0x20a))['option'](a2_0x329bdf(0x1de),'Parent\x20segment\x20to\x20use\x20(overrides\x20context)')[a2_0x329bdf(0x2da)]('--llm-project\x20<name>',a2_0x329bdf(0x341)),program[a2_0x329bdf(0x1d5)]({'formatHelp':(_0x5e27ef,_0x21d152)=>{const _0x50ee57=a2_0x329bdf,_0x48493d=_0x21d152[_0x50ee57(0x2b7)](_0x5e27ef,_0x21d152),_0x136805=0x2,_0xfaad81=0x2;function _0x253386(_0xa12384){const _0x3064fd=_0x50ee57,_0x32f133=_0xa12384;return!!(_0x32f133[_0x3064fd(0x1fe)]||_0x32f133[_0x3064fd(0x163)]);}function _0x4d2886(_0x554ed7,_0x6123d8){const _0x40e770=_0x50ee57;if(_0x6123d8){const _0xe474eb=''+_0x554ed7[_0x40e770(0x2b3)](_0x48493d+_0xfaad81)+_0x6123d8;return _0xe474eb;}return _0x554ed7;}function _0x38a3e3(_0x3145c3){const _0x10affb=_0x50ee57;return _0x3145c3[_0x10affb(0xc8)]('\x0a')['replace'](/^/gm,'\x20'[_0x10affb(0x1ab)](_0x136805));}const _0x23926f=[];_0x23926f[_0x50ee57(0x91)](_0x50ee57(0x1ca)+_0x21d152['commandUsage'](_0x5e27ef));const _0x1a956f=_0x21d152[_0x50ee57(0xb2)](_0x5e27ef);_0x1a956f&&(_0x23926f[_0x50ee57(0x91)](''),_0x23926f[_0x50ee57(0x91)](_0x1a956f));const _0x4a355b=_0x5e27ef['commands']['filter'](_0x2de554=>!_0x253386(_0x2de554));if(_0x4a355b[_0x50ee57(0x18c)]>0x0){if(_0x5e27ef[_0x50ee57(0x18a)]()===_0x50ee57(0x2c5)){const _0x2afaa0=_0x5e27ef[_0x50ee57(0x1fd)](),_0x154c3e=!_0x2afaa0[_0x50ee57(0x1da)]&&process['stdout'][_0x50ee57(0x141)],_0x2104db=COMMAND_CATEGORIES,_0x1d4d5c=(_0x4af8fb,_0x486cb8)=>_0x154c3e?_0x486cb8(_0x4af8fb):_0x4af8fb,_0x545d4b=new Map();_0x4a355b[_0x50ee57(0x319)](_0x30486f=>{const _0x35f6a5=_0x50ee57;_0x545d4b[_0x35f6a5(0x93)](_0x30486f[_0x35f6a5(0x18a)](),_0x30486f);}),_0x2104db[_0x50ee57(0x319)](_0x2e0efb=>{const _0x4cf7ca=_0x50ee57,_0x1bc304=_0x2e0efb[_0x4cf7ca(0x1f9)][_0x4cf7ca(0x280)](_0x55687b=>_0x545d4b[_0x4cf7ca(0x2db)](_0x55687b)??[]);if(_0x1bc304['length']>0x0){_0x23926f[_0x4cf7ca(0x91)](''),_0x23926f['push'](_0x1d4d5c(_0x2e0efb[_0x4cf7ca(0x18a)]+':',_0x2e0efb[_0x4cf7ca(0xf8)]));const _0x307ec6=_0x1bc304[_0x4cf7ca(0x1bd)](_0xb1dd01=>{const _0x15c2ce=_0x4cf7ca,_0xde1cb6=_0x21d152[_0x15c2ce(0xfe)](_0xb1dd01),_0x4c738f=_0x21d152[_0x15c2ce(0x255)](_0xb1dd01);return _0x4d2886(_0xde1cb6,_0x4c738f);});_0x23926f['push'](_0x38a3e3(_0x307ec6));}}),_0x23926f['push'](''),_0x23926f['push'](_0x50ee57(0xec));}else{const _0x8036bc=_0x4a355b[_0x50ee57(0x1bd)](_0x3e74dc=>{const _0x5c61e9=_0x50ee57,_0x1de19=_0x21d152[_0x5c61e9(0xfe)](_0x3e74dc),_0x538df5=_0x21d152['subcommandDescription'](_0x3e74dc);return _0x4d2886(_0x1de19,_0x538df5);});_0x23926f['push'](''),_0x23926f[_0x50ee57(0x91)](_0x50ee57(0x101)),_0x23926f[_0x50ee57(0x91)](_0x38a3e3(_0x8036bc));}}if(showBriefHelp&&_0x5e27ef[_0x50ee57(0x18a)]()===_0x50ee57(0x2c5))_0x23926f[_0x50ee57(0x91)](''),_0x23926f[_0x50ee57(0x91)]('Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version');else{const _0x391947=_0x5e27ef['options'][_0x50ee57(0x305)](_0x4d079d=>!_0x253386(_0x4d079d));if(_0x391947[_0x50ee57(0x18c)]>0x0){const _0x3a75a5=_0x391947[_0x50ee57(0x1bd)](_0x5a2070=>{const _0x2ab961=_0x50ee57,_0x2b9139=_0x21d152[_0x2ab961(0x199)](_0x5a2070),_0x3c4259=_0x21d152[_0x2ab961(0x179)](_0x5a2070);return _0x4d2886(_0x2b9139,_0x3c4259);});_0x23926f[_0x50ee57(0x91)](''),_0x23926f[_0x50ee57(0x91)]('Options:'),_0x23926f[_0x50ee57(0x91)](_0x38a3e3(_0x3a75a5));}}const _0x4c10e2=(_0x5e27ef['registeredArguments']||[])[_0x50ee57(0x305)](_0x5d80e0=>!_0x253386(_0x5d80e0));if(_0x4c10e2[_0x50ee57(0x18c)]>0x0){const _0x39c6c5=_0x4c10e2['map'](_0x3c1a2c=>{const _0x44cf13=_0x50ee57,_0x87d8b6=_0x21d152[_0x44cf13(0x2c6)](_0x3c1a2c),_0x43a043=_0x21d152[_0x44cf13(0x1ae)](_0x3c1a2c);return _0x4d2886(_0x87d8b6,_0x43a043);});_0x23926f[_0x50ee57(0x91)](''),_0x23926f['push'](_0x50ee57(0x1d7)),_0x23926f['push'](_0x38a3e3(_0x39c6c5));}return _0x23926f[_0x50ee57(0xc8)]('\x0a')+'\x0a';},'subcommandTerm':_0x54365e=>{const _0x543af3=a2_0x329bdf,_0x38120b=(_0x54365e['registeredArguments']||[])[_0x543af3(0x1bd)](_0x181f51=>_0x181f51['required']?'<'+_0x181f51[_0x543af3(0x18a)]()+'>':'['+_0x181f51[_0x543af3(0x18a)]()+']')[_0x543af3(0xc8)]('\x20'),_0x425e10=_0x54365e[_0x543af3(0x2c3)](),_0x3174e2=_0x425e10[_0x543af3(0x18c)]>0x0?_0x54365e[_0x543af3(0x18a)]()+',\x20'+_0x425e10[_0x543af3(0xc8)](',\x20'):_0x54365e[_0x543af3(0x18a)]();return _0x38120b?_0x3174e2+'\x20'+_0x38120b:_0x3174e2;}}),program[a2_0x329bdf(0x18f)]('preAction',_0xd0d0a2=>{const _0x41f065=a2_0x329bdf,_0x446267=_0xd0d0a2[_0x41f065(0x1fd)]();if(_0x446267[_0x41f065(0x143)]){const _0x34f140=resolve(_0x446267[_0x41f065(0x143)]),_0x23af2b=_0x34f140!==_0x446267[_0x41f065(0x143)]?'\x20(resolved\x20to\x20'+_0x34f140+')':'';if(!existsSync(_0x34f140))throw new SDKError(ErrorCode[_0x41f065(0x336)],_0x41f065(0x254)+_0x446267[_0x41f065(0x143)]+_0x23af2b,undefined,{'helpText':_0x41f065(0xb8)});const _0x84f65e=statSync(_0x34f140);if(!_0x84f65e[_0x41f065(0x25f)]())throw new SDKError(ErrorCode[_0x41f065(0x336)],_0x41f065(0x23f)+_0x446267[_0x41f065(0x143)]+_0x23af2b,undefined,{'helpText':'The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.'});process[_0x41f065(0x9e)](_0x34f140);}if(!_0x446267[_0x41f065(0x10a)]){if(_0x446267[_0x41f065(0x2e9)])_0x446267[_0x41f065(0x10a)]=_0x41f065(0x2e9);else{if(_0x446267[_0x41f065(0x325)])_0x446267[_0x41f065(0x10a)]=_0x41f065(0x325);else{if(_0x446267['jsonl'])_0x446267[_0x41f065(0x10a)]=_0x41f065(0x323);else _0x446267[_0x41f065(0x292)]&&(_0x446267[_0x41f065(0x10a)]=_0x41f065(0x292));}}}if(_0x446267[_0x41f065(0x226)])_0x446267['logLevel']=LogLevel['TRACE'];else{if(_0x446267[_0x41f065(0x156)])_0x446267[_0x41f065(0x126)]=LogLevel[_0x41f065(0x252)];else _0x446267[_0x41f065(0x126)]===undefined&&(_0x446267[_0x41f065(0x126)]=LogLevel[_0x41f065(0x2e5)]);}});async function createTDXInstance(_0x4a7f52){const _0x3f1eb5=a2_0x329bdf,_0x25776e=await GlobalContext[_0x3f1eb5(0x221)](_0x4a7f52);return _0x25776e[_0x3f1eb5(0x133)](_0x4a7f52),TDX[_0x3f1eb5(0xc3)]({'site':_0x25776e[_0x3f1eb5(0x214)],'apiKey':_0x25776e[_0x3f1eb5(0x1cf)],'logLevel':_0x25776e[_0x3f1eb5(0x126)],'profile':_0x25776e['profile']});}const databaseCmd=program['command']('database')[a2_0x329bdf(0x20e)]('db')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x1ee)),databaseListAction=async(_0x541c81,_0x43893d)=>{const _0x1e52c9=a2_0x329bdf,_0x351b0d=new DatabasesCommand(),_0x3a0613=program[_0x1e52c9(0x1fd)](),_0x22d17c=await createTDXInstance(_0x3a0613),_0x35647a=await _0x351b0d[_0x1e52c9(0x13a)]({'options':{..._0x3a0613,..._0x43893d},'args':_0x541c81?[_0x541c81]:[],'tdx':_0x22d17c});gracefulExit(_0x35647a);};databaseCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x237))['description']('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')['action'](databaseListAction),program[a2_0x329bdf(0x2f7)]('databases\x20[pattern]',{'hidden':!![]})[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x171))[a2_0x329bdf(0x27b)](databaseListAction),program['command'](a2_0x329bdf(0x278))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x194))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2d7),'Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x203),'Start\x20a\x20new\x20chat\x20session')[a2_0x329bdf(0x2da)](a2_0x329bdf(0xf9),a2_0x329bdf(0x9a))[a2_0x329bdf(0x2da)](a2_0x329bdf(0xd9),'Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)')['action'](async(_0x3d8e3b,_0x1a92c1)=>{const _0x5e0e7e=a2_0x329bdf,_0x4a723e=program[_0x5e0e7e(0x1fd)](),_0x21b96a=await createTDXInstance(_0x4a723e);if(_0x3d8e3b[0x0]===_0x5e0e7e(0xc3)){const _0x4acc8a=new ChatCreateCommand();gracefulExit(await _0x4acc8a[_0x5e0e7e(0x13a)]({'options':{..._0x4a723e,..._0x1a92c1},'args':_0x3d8e3b[_0x5e0e7e(0x1f1)](0x1),'tdx':_0x21b96a}));return;}const _0x500eef=new ChatCommand(),_0x477a0a=await _0x500eef[_0x5e0e7e(0x13a)]({'options':{..._0x4a723e,..._0x1a92c1},'args':_0x3d8e3b,'tdx':_0x21b96a});gracefulExit(_0x477a0a);});const apiCmd=program[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x11e))[a2_0x329bdf(0x1aa)](a2_0x329bdf(0x2ea))[a2_0x329bdf(0x291)]('after','\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a')['option']('-X,\x20--method\x20<method>','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','GET')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2e4),a2_0x329bdf(0x322))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x1d4),a2_0x329bdf(0xd7))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x142),a2_0x329bdf(0x116),(_0x90204a,_0x2ca8a5)=>{return _0x2ca8a5?[..._0x2ca8a5,_0x90204a]:[_0x90204a];})[a2_0x329bdf(0x2da)](a2_0x329bdf(0x1db),'API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')[a2_0x329bdf(0x27b)](async(_0x204135,_0x4b1279)=>{const _0x17f043=a2_0x329bdf;if(!_0x204135){apiCmd['help']();return;}const _0x4b493e=new ApiCommand(),_0x107974=program[_0x17f043(0x1fd)](),_0x52941b=await createTDXInstance(_0x107974),_0x3d0ec8=await _0x4b493e[_0x17f043(0x13a)]({'options':{..._0x107974,..._0x4b1279},'args':[_0x204135],'tdx':_0x52941b});gracefulExit(_0x3d0ec8);});program[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x8a))['description'](a2_0x329bdf(0x152))[a2_0x329bdf(0x291)](a2_0x329bdf(0xa2),a2_0x329bdf(0x2ce))[a2_0x329bdf(0x27b)](async _0x2cedd6=>{const _0x601a07=a2_0x329bdf,_0x542662=new MCPCommand(),_0x1ac1c4=program['opts'](),_0x3043b5=await createTDXInstance(_0x1ac1c4),_0x1ae87f=await _0x542662[_0x601a07(0x13a)]({'options':{..._0x1ac1c4,..._0x2cedd6},'args':[],'tdx':_0x3043b5});gracefulExit(_0x1ae87f);});const tableCmd=program['command'](a2_0x329bdf(0x2e9))['description'](a2_0x329bdf(0x265)),tableListAction=async(_0x38d21b,_0x4cc8fd)=>{const _0x23e9a8=a2_0x329bdf,_0x295919=new TablesCommand(),_0x29279d=program[_0x23e9a8(0x1fd)](),_0x5af77f=await createTDXInstance(_0x29279d);_0x4cc8fd['in']&&(_0x4cc8fd[_0x23e9a8(0x212)]=_0x4cc8fd['in']);const _0x37f68a=await _0x295919['run']({'options':{..._0x29279d,..._0x4cc8fd},'args':_0x38d21b?[_0x38d21b]:[],'tdx':_0x5af77f});gracefulExit(_0x37f68a);};tableCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x237))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x8e))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2a6),a2_0x329bdf(0x2fa))['option'](a2_0x329bdf(0x19e),a2_0x329bdf(0x190))['action'](tableListAction),program[a2_0x329bdf(0x2f7)]('tables\x20[pattern]',{'hidden':!![]})[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x327))[a2_0x329bdf(0x2da)]('-d,\x20--database\x20<database>',a2_0x329bdf(0x2fa))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x19e),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](tableListAction),program[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x2f3))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x1c2))['option']('-d,\x20--database\x20<database>',a2_0x329bdf(0x9f))[a2_0x329bdf(0x2da)]('--in\x20<database>',a2_0x329bdf(0x190))[a2_0x329bdf(0x27b)](async(_0x4fe72a,_0x3b7af1)=>{const _0x5898c7=a2_0x329bdf,_0xd00d8d=new ShowCommand(),_0x57c1c3=program[_0x5898c7(0x1fd)](),_0x29f003=await createTDXInstance(_0x57c1c3);_0x3b7af1['in']&&(_0x3b7af1[_0x5898c7(0x212)]=_0x3b7af1['in']);const _0x2026c0=await _0xd00d8d[_0x5898c7(0x13a)]({'options':{..._0x57c1c3,..._0x3b7af1},'args':_0x4fe72a?[_0x4fe72a]:[],'tdx':_0x29f003});gracefulExit(_0x2026c0);}),program['command'](a2_0x329bdf(0x17a))[a2_0x329bdf(0x20e)](a2_0x329bdf(0x22d))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x31c))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2a6),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x19e),a2_0x329bdf(0x190))[a2_0x329bdf(0x27b)](async(_0x18b350,_0x59e619)=>{const _0x2967ea=a2_0x329bdf,_0x3beb34=new DescribeCommand(),_0x42d06d=program[_0x2967ea(0x1fd)](),_0x230856=await createTDXInstance(_0x42d06d);_0x59e619['in']&&(_0x59e619['database']=_0x59e619['in']);const _0x522d53=await _0x3beb34['run']({'options':{..._0x42d06d,..._0x59e619},'args':_0x18b350?[_0x18b350]:[],'tdx':_0x230856});gracefulExit(_0x522d53);}),program[a2_0x329bdf(0x2f7)]('query\x20[sql]')['description'](a2_0x329bdf(0x10e))['option'](a2_0x329bdf(0x2a6),a2_0x329bdf(0xe6))[a2_0x329bdf(0x2da)]('--in\x20<database>',a2_0x329bdf(0x190))['option'](a2_0x329bdf(0x2f0),a2_0x329bdf(0x233))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x1d4),a2_0x329bdf(0x1a5))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x98),a2_0x329bdf(0x2bb),'40')[a2_0x329bdf(0x27b)](async(_0x2a87d9,_0x15bf14)=>{const _0x19415f=a2_0x329bdf,_0xe574ae=new QueryCommand(),_0x2d8e55=program['opts'](),_0x298eaf=await createTDXInstance(_0x2d8e55);_0x15bf14['in']&&(_0x15bf14[_0x19415f(0x212)]=_0x15bf14['in']);const _0x299fea=await _0xe574ae[_0x19415f(0x13a)]({'options':{..._0x2d8e55,..._0x15bf14},'args':_0x2a87d9?[_0x2a87d9]:[],'tdx':_0x298eaf});gracefulExit(_0x299fea);});const segmentCmd=program[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x90))[a2_0x329bdf(0x20e)]('sg')['description'](a2_0x329bdf(0x19a)),segmentListAction=async(_0x4c4d6a,_0x514789)=>{const _0x24da7e=a2_0x329bdf,_0x25fd80=new SegmentsCommand(),_0x4aa598=program[_0x24da7e(0x1fd)](),_0x80084d=await createTDXInstance(_0x4aa598),_0x357e8c=await _0x25fd80['run']({'options':{..._0x4aa598,..._0x514789},'args':_0x4c4d6a?[_0x4c4d6a]:[],'tdx':_0x80084d});gracefulExit(_0x357e8c);};segmentCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0xa3))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x13c))[a2_0x329bdf(0x2da)]('-r,\x20--recursive',a2_0x329bdf(0x192))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x10c),a2_0x329bdf(0x121),'10')[a2_0x329bdf(0x27b)](segmentListAction),program[a2_0x329bdf(0x2f7)]('segments\x20[path]',{'hidden':!![]})[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x1a1))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x26a),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x329bdf(0x2da)]('--max-depth\x20<depth>',a2_0x329bdf(0x121),'10')[a2_0x329bdf(0x27b)](segmentListAction),segmentCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x122),{'hidden':!![]})[a2_0x329bdf(0x1b2)]('[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)')[a2_0x329bdf(0x27b)](async(_0x2658d8,_0x33a39c)=>{const _0x358b05=a2_0x329bdf,_0x3ba826=new SegmentUseCommand(),_0x1e7231=program[_0x358b05(0x1fd)](),_0x55612d=await createTDXInstance(_0x1e7231),_0x391691=await _0x3ba826[_0x358b05(0x13a)]({'options':{..._0x1e7231,..._0x33a39c},'args':[_0x2658d8],'tdx':_0x55612d});gracefulExit(_0x391691);});const segmentViewAction=async(_0x19bbeb,_0x38b0b8)=>{const _0x37f3e0=a2_0x329bdf,_0x463a04=new SegmentViewCommand(),_0x1947e1=program[_0x37f3e0(0x1fd)](),_0x221cac=await createTDXInstance(_0x1947e1),_0x5ce0e9=await _0x463a04[_0x37f3e0(0x13a)]({'options':{..._0x1947e1,..._0x38b0b8},'args':_0x19bbeb?[_0x19bbeb]:[],'tdx':_0x221cac});gracefulExit(_0x5ce0e9);};segmentCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0xfd))[a2_0x329bdf(0x1b2)]('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')['option'](a2_0x329bdf(0x2c0),a2_0x329bdf(0x2a3))[a2_0x329bdf(0x27b)](segmentViewAction),segmentCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x15d),{'hidden':!![]})[a2_0x329bdf(0x20e)](a2_0x329bdf(0x181))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2c0),a2_0x329bdf(0x2a3))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x114))['action'](segmentViewAction),segmentCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x26e))['description'](a2_0x329bdf(0x129))['action'](async(_0x290f4b,_0x4b7e98)=>{const _0x1d029a=new SegmentDescCommand(),_0x52872f=program['opts'](),_0x33ab18=await createTDXInstance(_0x52872f),_0x3cc269=await _0x1d029a['run']({'options':{..._0x52872f,..._0x4b7e98},'args':_0x290f4b?[_0x290f4b]:[],'tdx':_0x33ab18});gracefulExit(_0x3cc269);}),segmentCmd[a2_0x329bdf(0x2f7)]('show\x20[segment_name]')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x33b))[a2_0x329bdf(0x27b)](async(_0x107540,_0x288c0b)=>{const _0x4e0411=a2_0x329bdf,_0xdb2e1b=new SegmentShowCommand(),_0x21e293=program['opts'](),_0x3ca60a=await createTDXInstance(_0x21e293),_0xc4def0=await _0xdb2e1b[_0x4e0411(0x13a)]({'options':{..._0x21e293,..._0x288c0b},'args':_0x107540?[_0x107540]:[],'tdx':_0x3ca60a});gracefulExit(_0xc4def0);}),segmentCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0xbf),{'hidden':!![]})[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x19d))[a2_0x329bdf(0x27b)](async(_0x2e6139,_0x35ad52)=>{const _0x2e94d3=a2_0x329bdf,_0x5d76af=new SegmentFolderListCommand(),_0x68e25e=program['opts'](),_0x4a6142=await createTDXInstance(_0x68e25e),_0x1105e6=await _0x5d76af[_0x2e94d3(0x13a)]({'options':{..._0x68e25e,..._0x35ad52},'args':[_0x2e6139],'tdx':_0x4a6142});gracefulExit(_0x1105e6);});const folderCmd=segmentCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x1ad),{'hidden':!![]})[a2_0x329bdf(0x1b2)](a2_0x329bdf(0xd2));folderCmd[a2_0x329bdf(0x2f7)]('show\x20<folder_ref>')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x206))[a2_0x329bdf(0x27b)](async(_0x5e745a,_0x839d62)=>{const _0x50e670=a2_0x329bdf,_0x222424=new SegmentFolderShowCommand(),_0x2302af=program['opts'](),_0x37c682=await createTDXInstance(_0x2302af),_0x14a97f=await _0x222424[_0x50e670(0x13a)]({'options':{..._0x2302af,..._0x839d62},'args':[_0x5e745a],'tdx':_0x37c682});gracefulExit(_0x14a97f);}),segmentCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x83))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x1e1))[a2_0x329bdf(0x27b)](async(_0x33ec98,_0x112bb6)=>{const _0x398eff=a2_0x329bdf,_0x614fd6=new SegmentSQLCommand(),_0x4d0a74=program[_0x398eff(0x1fd)](),_0x2a0c78=await createTDXInstance(_0x4d0a74),_0x4f18bd=await _0x614fd6[_0x398eff(0x13a)]({'options':{..._0x4d0a74,..._0x112bb6},'args':_0x33ec98?[_0x33ec98]:[],'tdx':_0x2a0c78});gracefulExit(_0x4f18bd);}),segmentCmd[a2_0x329bdf(0x2f7)]('fields\x20[parent_name]')[a2_0x329bdf(0x1b2)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)')[a2_0x329bdf(0x27b)](async(_0x935eec,_0x468096)=>{const _0x4fd05c=a2_0x329bdf,_0x5a392a=new SegmentFieldsCommand(),_0x3e9c11=program[_0x4fd05c(0x1fd)](),_0x5c84ad=await createTDXInstance(_0x3e9c11),_0x276411=await _0x5a392a[_0x4fd05c(0x13a)]({'options':{..._0x3e9c11,..._0x468096},'args':_0x935eec?[_0x935eec]:[],'tdx':_0x5c84ad});gracefulExit(_0x276411);}),segmentCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x128))['description'](a2_0x329bdf(0x14d))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x242),a2_0x329bdf(0x290))[a2_0x329bdf(0x27b)](async(_0x3568ba,_0x241498)=>{const _0x552dc2=a2_0x329bdf,_0x4ebdef=new SegmentPullCommand(),_0x17b9d8=program[_0x552dc2(0x1fd)](),_0x57d004=await createTDXInstance(_0x17b9d8),_0x31c12b=await _0x4ebdef['run']({'options':{..._0x17b9d8,..._0x241498},'args':_0x3568ba?[_0x3568ba]:[],'tdx':_0x57d004});gracefulExit(_0x31c12b);}),segmentCmd['command'](a2_0x329bdf(0x23c))[a2_0x329bdf(0x1b2)]('Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments')[a2_0x329bdf(0x2da)]('--dry-run',a2_0x329bdf(0x290))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x1e5),a2_0x329bdf(0x2d5))[a2_0x329bdf(0x27b)](async(_0x5439f2,_0x219ae5)=>{const _0x588128=a2_0x329bdf,_0x51d1c5=new SegmentPushCommand(),_0x170448=program[_0x588128(0x1fd)](),_0x2912c6=await createTDXInstance(_0x170448),_0x36be9a=await _0x51d1c5[_0x588128(0x13a)]({'options':{..._0x170448,..._0x219ae5},'args':_0x5439f2?[_0x5439f2]:[],'tdx':_0x2912c6});gracefulExit(_0x36be9a);}),segmentCmd['command'](a2_0x329bdf(0x2ee))['description'](a2_0x329bdf(0xa5))[a2_0x329bdf(0x27b)](async(_0x55a219,_0xfd0531)=>{const _0x2c250c=a2_0x329bdf,_0x474a83=new SegmentValidateCommand(),_0x1d0906=program[_0x2c250c(0x1fd)](),_0x4603a2=await createTDXInstance(_0x1d0906),_0x3ffbe7=await _0x474a83[_0x2c250c(0x13a)]({'options':{..._0x1d0906,..._0xfd0531},'args':_0x55a219?[_0x55a219]:[],'tdx':_0x4603a2});gracefulExit(_0x3ffbe7);}),segmentCmd[a2_0x329bdf(0x2f7)]('create\x20<segment_name>',{'hidden':!![]})[a2_0x329bdf(0x1b2)](a2_0x329bdf(0xee))['option'](a2_0x329bdf(0xca),a2_0x329bdf(0x1df))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x295),'Filtering\x20rule\x20as\x20JSON\x20string')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x272),a2_0x329bdf(0x2f9))[a2_0x329bdf(0x2da)]('--folder\x20<name>','Folder\x20name\x20for\x20organization')[a2_0x329bdf(0x2da)](a2_0x329bdf(0xa7),a2_0x329bdf(0x287))['option'](a2_0x329bdf(0xbb),a2_0x329bdf(0x1f8))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x11c),a2_0x329bdf(0x1a0))[a2_0x329bdf(0x27b)](async(_0x44393a,_0x4abb55)=>{const _0x4bf862=a2_0x329bdf,_0x29ac7a=new SegmentCreateCommand(),_0x3bd9bb=program['opts'](),_0xe165f=await createTDXInstance(_0x3bd9bb),_0x326e0a=await _0x29ac7a[_0x4bf862(0x13a)]({'options':{..._0x3bd9bb,..._0x4abb55},'args':[_0x44393a],'tdx':_0xe165f});gracefulExit(_0x326e0a);}),segmentCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0xd1),{'hidden':!![]})[a2_0x329bdf(0x1b2)]('[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x16f),'New\x20segment\x20name')[a2_0x329bdf(0x2da)](a2_0x329bdf(0xca),'Updated\x20description')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x295),'Updated\x20filtering\x20rule\x20as\x20JSON\x20string')['option'](a2_0x329bdf(0x272),'Updated\x20filtering\x20rule\x20from\x20JSON\x20file')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2d4),a2_0x329bdf(0x145))[a2_0x329bdf(0x2da)](a2_0x329bdf(0xa7),a2_0x329bdf(0x287))[a2_0x329bdf(0x27b)](async(_0x24b54e,_0x36237a)=>{const _0x1a19de=a2_0x329bdf,_0xb237d8=new SegmentUpdateCommand(),_0x81a48d=program[_0x1a19de(0x1fd)](),_0x4d81ca=await createTDXInstance(_0x81a48d),_0x25b334=await _0xb237d8[_0x1a19de(0x13a)]({'options':{..._0x81a48d,..._0x36237a},'args':[_0x24b54e],'tdx':_0x4d81ca});gracefulExit(_0x25b334);});const parentCmd=segmentCmd[a2_0x329bdf(0x2f7)]('parent',{'hidden':!![]})[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x135)),parentListAction=async(_0x521e1d,_0x3740c4)=>{const _0x17ea42=a2_0x329bdf,_0x52e31b=new ParentSegmentListCommand(),_0x57dec0=program[_0x17ea42(0x1fd)](),_0x23825d=await createTDXInstance(_0x57dec0),_0x19a9a1=await _0x52e31b[_0x17ea42(0x13a)]({'options':{..._0x57dec0,..._0x3740c4},'args':_0x521e1d?[_0x521e1d]:[],'tdx':_0x23825d});gracefulExit(_0x19a9a1);};parentCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x237))[a2_0x329bdf(0x1b2)]('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x329bdf(0x27b)](parentListAction),segmentCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x1e4),{'hidden':!![]})[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x8f))[a2_0x329bdf(0x27b)](parentListAction),parentCmd['command'](a2_0x329bdf(0x331))['description'](a2_0x329bdf(0x2cd))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x136),a2_0x329bdf(0x330))[a2_0x329bdf(0x27b)](async(_0x291daf,_0x1514c9)=>{const _0xcc56b=a2_0x329bdf,_0x48e838=new ParentSegmentPullCommand(),_0x156e6f=program[_0xcc56b(0x1fd)](),_0x7b68d1=await createTDXInstance(_0x156e6f),_0x1751f0=await _0x48e838['run']({'options':{..._0x156e6f,..._0x1514c9},'args':_0x291daf?[_0x291daf]:[],'tdx':_0x7b68d1});gracefulExit(_0x1751f0);}),parentCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x2af))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2f1))[a2_0x329bdf(0x27b)](async(_0x3de6f3,_0x1964df)=>{const _0x1d0f8e=a2_0x329bdf,_0x1af015=new ParentSegmentPushCommand(),_0x51a245=program[_0x1d0f8e(0x1fd)](),_0x3f92a0=await createTDXInstance(_0x51a245),_0x4389c8=await _0x1af015[_0x1d0f8e(0x13a)]({'options':{..._0x51a245,..._0x1964df},'args':_0x3de6f3?[_0x3de6f3]:[],'tdx':_0x3f92a0});gracefulExit(_0x4389c8);}),parentCmd[a2_0x329bdf(0x2f7)]('validate\x20[file]')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x1a8))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2c1),a2_0x329bdf(0x2cc))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x87),a2_0x329bdf(0x26c))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2a4),a2_0x329bdf(0xf6))['option'](a2_0x329bdf(0x1d9),a2_0x329bdf(0x243))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x24b),a2_0x329bdf(0x172),a2_0x329bdf(0xcf))['action'](async(_0x219857,_0x3db97a)=>{const _0x48a690=a2_0x329bdf,_0x2ff55c=new ParentSegmentValidateCommand(),_0x532ecb=program[_0x48a690(0x1fd)](),_0x293922=await createTDXInstance(_0x532ecb),_0x21c3b2=await _0x2ff55c[_0x48a690(0x13a)]({'options':{..._0x532ecb,..._0x3db97a},'args':_0x219857?[_0x219857]:[],'tdx':_0x293922});gracefulExit(_0x21c3b2);}),parentCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x285))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2df))[a2_0x329bdf(0x2da)]('--master',a2_0x329bdf(0x14a))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x87),a2_0x329bdf(0xc4))['option'](a2_0x329bdf(0x2a4),a2_0x329bdf(0xb4))['option'](a2_0x329bdf(0x1d9),a2_0x329bdf(0x12e))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x24b),a2_0x329bdf(0x172),'-1d')[a2_0x329bdf(0x27b)](async(_0x2d9889,_0x4f59cd)=>{const _0xbb091d=a2_0x329bdf,_0x341152=new ParentSegmentPreviewCommand(),_0x266c6b=program[_0xbb091d(0x1fd)](),_0x25d35d=await createTDXInstance(_0x266c6b),_0x22c65e=await _0x341152[_0xbb091d(0x13a)]({'options':{..._0x266c6b,..._0x4f59cd},'args':_0x2d9889?[_0x2d9889]:[],'tdx':_0x25d35d});gracefulExit(_0x22c65e);}),parentCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x2e6))['description'](a2_0x329bdf(0x187))[a2_0x329bdf(0x27b)](async(_0x2e8ec2,_0x51c28b)=>{const _0x441f5e=a2_0x329bdf,_0x4f27bd=new ParentSegmentRunCommand(),_0x55f4ad=program[_0x441f5e(0x1fd)](),_0x1da1e7=await createTDXInstance(_0x55f4ad),_0x3c4cbd=await _0x4f27bd[_0x441f5e(0x13a)]({'options':{..._0x55f4ad,..._0x51c28b},'args':_0x2e8ec2?[_0x2e8ec2]:[],'tdx':_0x1da1e7});gracefulExit(_0x3c4cbd);});const parentSegmentCmd=program[a2_0x329bdf(0x2f7)]('parent-segment')[a2_0x329bdf(0x20e)]('ps')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0xe8));parentSegmentCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x237))[a2_0x329bdf(0x1b2)]('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x329bdf(0x27b)](parentListAction),parentSegmentCmd[a2_0x329bdf(0x2f7)]('pull\x20[name]')['description'](a2_0x329bdf(0x84))[a2_0x329bdf(0x2da)]('-o,\x20--output\x20<file>',a2_0x329bdf(0x197))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x174),a2_0x329bdf(0xad))[a2_0x329bdf(0x27b)](async(_0x4eaf80,_0x46bbe0)=>{const _0xd64d5=a2_0x329bdf,_0x5e21e3=new ParentSegmentPullCommand(),_0x2eea8b=program[_0xd64d5(0x1fd)](),_0x133fae=await createTDXInstance(_0x2eea8b),_0xd0c2ea=await _0x5e21e3[_0xd64d5(0x13a)]({'options':{..._0x2eea8b,..._0x46bbe0},'args':_0x4eaf80?[_0x4eaf80]:[],'tdx':_0x133fae});gracefulExit(_0xd0c2ea);}),parentSegmentCmd['command']('push\x20[name]')['description'](a2_0x329bdf(0x113))['action'](async(_0x3810c4,_0x2457c4)=>{const _0x370065=a2_0x329bdf,_0x2e9041=new ParentSegmentPushCommand(),_0x3a0338=program[_0x370065(0x1fd)](),_0x44f9e2=await createTDXInstance(_0x3a0338),_0x41ac3e=await _0x2e9041['run']({'options':{..._0x3a0338,..._0x2457c4},'args':_0x3810c4?[_0x3810c4]:[],'tdx':_0x44f9e2});gracefulExit(_0x41ac3e);}),parentSegmentCmd[a2_0x329bdf(0x2f7)]('validate\x20[name]')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x1a8))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2c1),a2_0x329bdf(0x2cc))['option']('--attribute\x20[name]',a2_0x329bdf(0x26c))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2a4),a2_0x329bdf(0xf6))['option'](a2_0x329bdf(0x1d9),a2_0x329bdf(0x243))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x24b),a2_0x329bdf(0x172),a2_0x329bdf(0xcf))['action'](async(_0x4c10c3,_0x3c448e)=>{const _0xe8c790=a2_0x329bdf,_0x46859b=new ParentSegmentValidateCommand(),_0x1ac385=program['opts'](),_0x19bc7e=await createTDXInstance(_0x1ac385),_0x117f8f=await _0x46859b[_0xe8c790(0x13a)]({'options':{..._0x1ac385,..._0x3c448e},'args':_0x4c10c3?[_0x4c10c3]:[],'tdx':_0x19bc7e});gracefulExit(_0x117f8f);}),parentSegmentCmd['command'](a2_0x329bdf(0xa0))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2df))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2c1),a2_0x329bdf(0x14a))[a2_0x329bdf(0x2da)]('--attribute\x20[name]',a2_0x329bdf(0xc4))[a2_0x329bdf(0x2da)]('--behavior\x20[name]',a2_0x329bdf(0xb4))['option'](a2_0x329bdf(0x1d9),a2_0x329bdf(0x12e))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x24b),a2_0x329bdf(0x172),a2_0x329bdf(0xcf))[a2_0x329bdf(0x27b)](async(_0x4fe49a,_0x39908a)=>{const _0x5ad220=a2_0x329bdf,_0x32dd82=new ParentSegmentPreviewCommand(),_0x4e477d=program[_0x5ad220(0x1fd)](),_0x5b19bb=await createTDXInstance(_0x4e477d),_0x312fca=await _0x32dd82[_0x5ad220(0x13a)]({'options':{..._0x4e477d,..._0x39908a},'args':_0x4fe49a?[_0x4fe49a]:[],'tdx':_0x5b19bb});gracefulExit(_0x312fca);}),parentSegmentCmd[a2_0x329bdf(0x2f7)]('run\x20[name]')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x187))[a2_0x329bdf(0x27b)](async(_0x3d6258,_0x42a9b5)=>{const _0x30be36=a2_0x329bdf,_0x50d9db=new ParentSegmentRunCommand(),_0x1645f7=program[_0x30be36(0x1fd)](),_0x53d17a=await createTDXInstance(_0x1645f7),_0xed632d=await _0x50d9db[_0x30be36(0x13a)]({'options':{..._0x1645f7,..._0x42a9b5},'args':_0x3d6258?[_0x3d6258]:[],'tdx':_0x53d17a});gracefulExit(_0xed632d);}),parentSegmentCmd['command'](a2_0x329bdf(0x18d))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x196))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x127),a2_0x329bdf(0x19c))['option'](a2_0x329bdf(0x2a0),'Output\x20as\x20JSON\x20Lines')[a2_0x329bdf(0x27b)](async(_0x2cb1be,_0x3de1fc)=>{const _0x444b14=a2_0x329bdf,_0x45ea26=new ParentSegmentFieldsCommand(),_0x228bb9=program[_0x444b14(0x1fd)](),_0x251601=await createTDXInstance(_0x228bb9),_0x514c05=await _0x45ea26[_0x444b14(0x13a)]({'options':{..._0x228bb9,..._0x3de1fc},'args':_0x2cb1be?[_0x2cb1be]:[],'tdx':_0x251601});gracefulExit(_0x514c05);}),parentSegmentCmd['command'](a2_0x329bdf(0x168))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x24d))[a2_0x329bdf(0x2da)]('-w,\x20--web',a2_0x329bdf(0x1a9))['option'](a2_0x329bdf(0x127),a2_0x329bdf(0x19c))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2a0),a2_0x329bdf(0x217))['action'](async(_0x20cd0c,_0x1ab340)=>{const _0x295313=a2_0x329bdf,_0x39c8ed=new ParentSegmentViewCommand(),_0x2f1982=program[_0x295313(0x1fd)](),_0x1373e9=await createTDXInstance(_0x2f1982),_0x46954c=await _0x39c8ed['run']({'options':{..._0x2f1982,..._0x1ab340},'args':_0x20cd0c?[_0x20cd0c]:[],'tdx':_0x1373e9});gracefulExit(_0x46954c);}),parentSegmentCmd[a2_0x329bdf(0x2f7)]('desc\x20[name]')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2b4))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x136),a2_0x329bdf(0x197))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x127),a2_0x329bdf(0x19c))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2a0),a2_0x329bdf(0x217))['action'](async(_0x17857e,_0x595f33)=>{const _0x5559da=a2_0x329bdf,_0x5ca280=new ParentSegmentDescCommand(),_0x30020c=program[_0x5559da(0x1fd)](),_0xf99407=await createTDXInstance(_0x30020c),_0x593736=await _0x5ca280['run']({'options':{..._0x30020c,..._0x595f33},'args':_0x17857e?[_0x17857e]:[],'tdx':_0xf99407});gracefulExit(_0x593736);}),parentSegmentCmd[a2_0x329bdf(0x2f7)]('sql\x20[name]')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x332))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x127),a2_0x329bdf(0x19c))[a2_0x329bdf(0x2da)]('--jsonl',a2_0x329bdf(0x217))['action'](async(_0x390568,_0x4f189a)=>{const _0x54af89=a2_0x329bdf,_0x3ae01c=new ParentSegmentSQLCommand(),_0x687dd8=program[_0x54af89(0x1fd)](),_0x95d506=await createTDXInstance(_0x687dd8),_0x44ee9d=await _0x3ae01c['run']({'options':{..._0x687dd8,..._0x4f189a},'args':_0x390568?[_0x390568]:[],'tdx':_0x95d506});gracefulExit(_0x44ee9d);}),parentSegmentCmd['command'](a2_0x329bdf(0x9c))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x1b3))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x277),a2_0x329bdf(0x250))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x127),a2_0x329bdf(0x19c))['option']('--jsonl',a2_0x329bdf(0x217))['action'](async(_0xc13eae,_0x42fd05)=>{const _0x5983da=new ParentSegmentShowCommand(),_0x15379a=program['opts'](),_0x212853=await createTDXInstance(_0x15379a),_0x53af64=await _0x5983da['run']({'options':{..._0x15379a,..._0x42fd05},'args':_0xc13eae?[_0xc13eae]:[],'tdx':_0x212853});gracefulExit(_0x53af64);}),parentSegmentCmd['command'](a2_0x329bdf(0x299))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2ac))['action'](async(_0x3a6a02,_0x3b0f20)=>{const _0x394d42=a2_0x329bdf,_0x46d8b4=new UseCommand(),_0x4e012c=program[_0x394d42(0x1fd)](),_0x3f014d=_0x3a6a02?[_0x394d42(0x276),_0x3a6a02]:[],_0x30db87=await _0x46d8b4[_0x394d42(0x13a)]({'options':{..._0x4e012c,..._0x3b0f20},'args':_0x3f014d,'tdx':null});gracefulExit(_0x30db87);});const psRtCmd=parentSegmentCmd['command']('rt')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2fb));psRtCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x237))['description'](a2_0x329bdf(0x31d))[a2_0x329bdf(0x27b)](async(_0x4a67af,_0x15242b)=>{const _0x2e6a5f=a2_0x329bdf,_0x405283=new PSRtListCommand(),_0x5d582e=program[_0x2e6a5f(0x1fd)](),_0x49bdf3=await createTDXInstance(_0x5d582e),_0xa7ef4c=await _0x405283[_0x2e6a5f(0x13a)]({'options':{..._0x5d582e,..._0x15242b},'args':_0x4a67af?[_0x4a67af]:[],'tdx':_0x49bdf3});gracefulExit(_0xa7ef4c);}),psRtCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x2fd))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x117))[a2_0x329bdf(0x27b)](async(_0x2372c8,_0x3f9d33)=>{const _0x5ad5a9=a2_0x329bdf,_0x2d7e58=new PSRtValidateCommand(),_0x2ce961=program[_0x5ad5a9(0x1fd)](),_0x24b369=await createTDXInstance(_0x2ce961),_0x6f2498=await _0x2d7e58[_0x5ad5a9(0x13a)]({'options':{..._0x2ce961,..._0x3f9d33},'args':_0x2372c8?[_0x2372c8]:[],'tdx':_0x24b369});gracefulExit(_0x6f2498);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})[a2_0x329bdf(0x1b2)]('RT\x202.0\x20configuration\x20management');parentRtCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x237))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x31d))[a2_0x329bdf(0x27b)](async(_0x506583,_0x57acfd)=>{const _0x250ed9=a2_0x329bdf,_0x58ac27=new PSRtListCommand(),_0x5de156=program[_0x250ed9(0x1fd)](),_0x63e167=await createTDXInstance(_0x5de156),_0x4e1aa0=await _0x58ac27[_0x250ed9(0x13a)]({'options':{..._0x5de156,..._0x57acfd},'args':_0x506583?[_0x506583]:[],'tdx':_0x63e167});gracefulExit(_0x4e1aa0);}),parentRtCmd['command'](a2_0x329bdf(0x2fd))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x117))['action'](async(_0x487951,_0x1b0ba0)=>{const _0x48624a=a2_0x329bdf,_0x137156=new PSRtValidateCommand(),_0x4729b1=program[_0x48624a(0x1fd)](),_0x318c72=await createTDXInstance(_0x4729b1),_0x2f9384=await _0x137156[_0x48624a(0x13a)]({'options':{..._0x4729b1,..._0x1b0ba0},'args':_0x487951?[_0x487951]:[],'tdx':_0x318c72});gracefulExit(_0x2f9384);});const psPzCmd=parentSegmentCmd['command']('pz')[a2_0x329bdf(0x1b2)]('Personalization\x20service\x20management');function a2_0x503d(_0x4e276f,_0x3896bd){_0x4e276f=_0x4e276f-0x7f;const _0x4a4e98=a2_0x4a4e();let _0x503dc2=_0x4a4e98[_0x4e276f];return _0x503dc2;}psPzCmd[a2_0x329bdf(0x2f7)]('list\x20[name]')['description'](a2_0x329bdf(0xe0))[a2_0x329bdf(0x27b)](async(_0x3e88bf,_0xd721d6)=>{const _0x559a06=a2_0x329bdf,_0x448dad=new PSPzListCommand(),_0x229f74=program[_0x559a06(0x1fd)](),_0x4ba020=await createTDXInstance(_0x229f74),_0xe11140=await _0x448dad['run']({'options':{..._0x229f74,..._0xd721d6},'args':_0x3e88bf?[_0x3e88bf]:[],'tdx':_0x4ba020});gracefulExit(_0xe11140);}),psPzCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x21a))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2c4))[a2_0x329bdf(0x27b)](async(_0x29493c,_0x21804e)=>{const _0x3139ba=a2_0x329bdf,_0x3e7fee=new PSPzInitCommand(),_0x180ef8=program[_0x3139ba(0x1fd)](),_0x30bf42=await createTDXInstance(_0x180ef8),_0xe8d3ce=await _0x3e7fee[_0x3139ba(0x13a)]({'options':{..._0x180ef8,..._0x21804e},'args':_0x29493c?[_0x29493c]:[],'tdx':_0x30bf42});gracefulExit(_0xe8d3ce);});const parentPzCmd=parentCmd['command']('pz',{'hidden':!![]})[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2be));parentPzCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x1e2))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0xe0))[a2_0x329bdf(0x27b)](async(_0x5ca474,_0x36e616)=>{const _0x440129=a2_0x329bdf,_0x2cf7b8=new PSPzListCommand(),_0x5da135=program[_0x440129(0x1fd)](),_0x5dc508=await createTDXInstance(_0x5da135),_0x159dc6=await _0x2cf7b8[_0x440129(0x13a)]({'options':{..._0x5da135,..._0x36e616},'args':_0x5ca474?[_0x5ca474]:[],'tdx':_0x5dc508});gracefulExit(_0x159dc6);}),parentPzCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x21a))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2c4))[a2_0x329bdf(0x27b)](async(_0x3ba029,_0x4462d0)=>{const _0x5467c4=a2_0x329bdf,_0x47dfc4=new PSPzInitCommand(),_0x586692=program[_0x5467c4(0x1fd)](),_0x3bd442=await createTDXInstance(_0x586692),_0x44dae1=await _0x47dfc4['run']({'options':{..._0x586692,..._0x4462d0},'args':_0x3ba029?[_0x3ba029]:[],'tdx':_0x3bd442});gracefulExit(_0x44dae1);}),parentCmd['command'](a2_0x329bdf(0x25a))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2b5))['requiredOption'](a2_0x329bdf(0x1d0),a2_0x329bdf(0x234))[a2_0x329bdf(0x2d6)](a2_0x329bdf(0x125),a2_0x329bdf(0xc9))[a2_0x329bdf(0x2da)](a2_0x329bdf(0xca),a2_0x329bdf(0x10d))[a2_0x329bdf(0x2da)](a2_0x329bdf(0xaf),'Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x329bdf(0x2da)]('--schedule-option\x20<value>','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2eb),a2_0x329bdf(0x26b))[a2_0x329bdf(0x2da)]('--attributes\x20<json>',a2_0x329bdf(0x1c3))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x1c9),a2_0x329bdf(0xe7))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x215),a2_0x329bdf(0x245))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x1f6),a2_0x329bdf(0x22a))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x106),a2_0x329bdf(0x1b0))['option'](a2_0x329bdf(0x2d1),a2_0x329bdf(0x157))[a2_0x329bdf(0x27b)](async(_0x1bc705,_0x55e497)=>{const _0x45c390=a2_0x329bdf,_0x4485fa=new ParentSegmentCreateCommand(),_0x3c29a9=program[_0x45c390(0x1fd)](),_0x5c0d7a=await createTDXInstance(_0x3c29a9),_0x4d9d26=await _0x4485fa['run']({'options':{..._0x3c29a9,..._0x55e497},'args':[_0x1bc705],'tdx':_0x5c0d7a});gracefulExit(_0x4d9d26);}),parentCmd['command'](a2_0x329bdf(0x188))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0xf2))['option'](a2_0x329bdf(0xca),'Updated\x20description')[a2_0x329bdf(0x2da)](a2_0x329bdf(0xaf),'Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x12d),'Updated\x20schedule\x20option')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2eb),a2_0x329bdf(0x2ed))[a2_0x329bdf(0x2da)]('--add-attributes\x20<json>','Add\x20attributes\x20as\x20JSON\x20string')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x22b),a2_0x329bdf(0x9d))['option']('--add-behaviors\x20<json>',a2_0x329bdf(0x1d2))[a2_0x329bdf(0x2da)](a2_0x329bdf(0xc6),'Add\x20behaviors\x20from\x20JSON\x20file')[a2_0x329bdf(0x27b)](async(_0x2d7cbe,_0x2f822d)=>{const _0x3a489d=a2_0x329bdf,_0x31088b=new ParentSegmentUpdateCommand(),_0x35efb1=program[_0x3a489d(0x1fd)](),_0x4460a6=await createTDXInstance(_0x35efb1),_0x168c99=await _0x31088b['run']({'options':{..._0x35efb1,..._0x2f822d},'args':[_0x2d7cbe],'tdx':_0x4460a6});gracefulExit(_0x168c99);}),folderCmd[a2_0x329bdf(0x2f7)]('create\x20<parent_name>\x20<folder_name>')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x1a4))[a2_0x329bdf(0x2da)](a2_0x329bdf(0xca),a2_0x329bdf(0x195))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x33d),a2_0x329bdf(0x262))[a2_0x329bdf(0x27b)](async(_0x249dda,_0x231485,_0xf7362d)=>{const _0x50f673=a2_0x329bdf,_0x322721=new SegmentFolderCreateCommand(),_0x8074a4=program[_0x50f673(0x1fd)](),_0x238268=await createTDXInstance(_0x8074a4),_0x17acb2=await _0x322721['run']({'options':{..._0x8074a4,..._0xf7362d},'args':[_0x249dda,_0x231485],'tdx':_0x238268});gracefulExit(_0x17acb2);}),program[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x162))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x155))[a2_0x329bdf(0x27b)](async(_0x272c7b,_0x5ad8e2)=>{const _0x461d2a=a2_0x329bdf,_0x3a984e=new ActivationsCommand(),_0x405ae9=program['opts'](),_0x440db0=await createTDXInstance(_0x405ae9),_0xd8fed4=await _0x3a984e[_0x461d2a(0x13a)]({'options':{..._0x405ae9,..._0x5ad8e2},'args':[_0x272c7b],'tdx':_0x440db0});gracefulExit(_0xd8fed4);});const workflowCmd=program[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x86))[a2_0x329bdf(0x20e)]('wf')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x21c)),wfProjectCmd=workflowCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x13f))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x241)),wfProjectListAction=async(_0x1d6251,_0x1162cf)=>{const _0x1b641d=a2_0x329bdf,_0x37e429=new WorkflowProjectsCommand(),_0x317227=program[_0x1b641d(0x1fd)](),_0x2b6c88=await createTDXInstance(_0x317227),_0x161f26=await _0x37e429[_0x1b641d(0x13a)]({'options':{..._0x317227,..._0x1162cf},'args':_0x1d6251?[_0x1d6251]:[],'tdx':_0x2b6c88});gracefulExit(_0x161f26);};wfProjectCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x237))[a2_0x329bdf(0x1b2)]('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x329bdf(0x27b)](wfProjectListAction),workflowCmd[a2_0x329bdf(0x2f7)]('projects\x20[pattern]')['description'](a2_0x329bdf(0x7f))[a2_0x329bdf(0x27b)](wfProjectListAction);const wfWorkflowListAction=async(_0x2f9023,_0x578097)=>{const _0x506625=a2_0x329bdf,_0x1caf0d=new WorkflowWorkflowsCommand(),_0x1a6451=program[_0x506625(0x1fd)](),_0x456138=await createTDXInstance(_0x1a6451),_0x10c9c4=await _0x1caf0d['run']({'options':{..._0x1a6451,..._0x578097},'args':_0x2f9023?[_0x2f9023]:[],'tdx':_0x456138});gracefulExit(_0x10c9c4);};workflowCmd['command'](a2_0x329bdf(0xc1))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x286))[a2_0x329bdf(0x27b)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x103))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2b0)),wfSessionListAction=async(_0x14c71d,_0x5ef621)=>{const _0x4573e8=a2_0x329bdf,_0x1c7fdb=new WorkflowSessionsCommand(),_0x54da07=program[_0x4573e8(0x1fd)](),_0x32aa56=await createTDXInstance(_0x54da07),_0x5e8262=await _0x1c7fdb[_0x4573e8(0x13a)]({'options':{..._0x54da07,..._0x5ef621},'args':_0x14c71d?[_0x14c71d]:[],'tdx':_0x32aa56});gracefulExit(_0x5e8262);};wfSessionCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x130))[a2_0x329bdf(0x1b2)]('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2f8),a2_0x329bdf(0x2f4))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x225),a2_0x329bdf(0x100))[a2_0x329bdf(0x2da)]('--to\x20<timestamp>',a2_0x329bdf(0x247))[a2_0x329bdf(0x27b)](wfSessionListAction),workflowCmd['command']('sessions\x20[project]')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x1b9))['option']('--status\x20<status>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x225),a2_0x329bdf(0x100))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2c9),'End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x329bdf(0x27b)](wfSessionListAction);const wfAttemptListAction=async(_0xfc8d95,_0x25e943)=>{const _0x390395=a2_0x329bdf,_0x7ce8b=new WorkflowAttemptsCommand(),_0x125089=program[_0x390395(0x1fd)](),_0x5e9b18=await createTDXInstance(_0x125089),_0x57944c=await _0x7ce8b[_0x390395(0x13a)]({'options':{..._0x125089,..._0x25e943},'args':_0xfc8d95?[_0xfc8d95]:[],'tdx':_0x5e9b18});gracefulExit(_0x57944c);},attemptCmd=workflowCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x105))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x23a))[a2_0x329bdf(0x16c)]('[attempt-id]',a2_0x329bdf(0x28f))[a2_0x329bdf(0x16c)](a2_0x329bdf(0x169),a2_0x329bdf(0x1cb))[a2_0x329bdf(0x16c)](a2_0x329bdf(0x132),'Task\x20name\x20for\x20logs\x20action')[a2_0x329bdf(0x2da)](a2_0x329bdf(0xaa),a2_0x329bdf(0x281))['option'](a2_0x329bdf(0x31e),a2_0x329bdf(0x1ea))['option']('--resume-from\x20<task>',a2_0x329bdf(0x200))['option'](a2_0x329bdf(0x275),a2_0x329bdf(0x160))['option'](a2_0x329bdf(0x1c8),a2_0x329bdf(0xc2))['option'](a2_0x329bdf(0x340),a2_0x329bdf(0x29c))[a2_0x329bdf(0x27b)](async(_0x2e43e8,_0x9e2a64,_0x3c77eb,_0x5cff5a)=>{const _0x2464a9=a2_0x329bdf;if(_0x2e43e8==='list'){await wfAttemptListAction(_0x9e2a64,_0x5cff5a);return;}if(!_0x2e43e8){attemptCmd[_0x2464a9(0x1c5)]();return;}const _0x482376=program['opts'](),_0xbbe58a=await createTDXInstance(_0x482376);let _0x1a6321=0x0;if(!_0x9e2a64){const _0x217a29=new WorkflowAttemptCommand();_0x1a6321=await _0x217a29[_0x2464a9(0x13a)]({'options':{..._0x482376,..._0x5cff5a},'args':[_0x2e43e8],'tdx':_0xbbe58a});}else{if(_0x9e2a64==='logs'){const _0x431bee=new WorkflowLogsCommand();_0x1a6321=await _0x431bee['run']({'options':{..._0x482376,..._0x5cff5a},'args':_0x3c77eb?[_0x2e43e8,_0x3c77eb]:[_0x2e43e8],'tdx':_0xbbe58a});}else{if(_0x9e2a64===_0x2464a9(0x140)){const _0x39a378=new WorkflowTasksCommand();_0x1a6321=await _0x39a378[_0x2464a9(0x13a)]({'options':{..._0x482376,..._0x5cff5a},'args':[_0x2e43e8],'tdx':_0xbbe58a});}else{if(_0x9e2a64===_0x2464a9(0x27c)){const _0x158b29=new WorkflowKillCommand();_0x1a6321=await _0x158b29[_0x2464a9(0x13a)]({'options':{..._0x482376,..._0x5cff5a},'args':[_0x2e43e8],'tdx':_0xbbe58a});}else{if(_0x9e2a64===_0x2464a9(0x27e)){const _0x1aa5dc=new WorkflowRetryCommand();_0x1a6321=await _0x1aa5dc[_0x2464a9(0x13a)]({'options':{..._0x482376,..._0x5cff5a},'args':['attempt:'+_0x2e43e8],'tdx':_0xbbe58a});}else console[_0x2464a9(0x144)](_0x2464a9(0x30a)+_0x9e2a64),console[_0x2464a9(0x144)](_0x2464a9(0x170)),_0x1a6321=0x1;}}}}gracefulExit(_0x1a6321);});attemptCmd['command'](a2_0x329bdf(0x130))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x318))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x340),'Include\x20retried\x20attempts')[a2_0x329bdf(0x27b)](wfAttemptListAction),workflowCmd['command']('attempts\x20[project]')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x118))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x340),'Include\x20retried\x20attempts')[a2_0x329bdf(0x27b)](wfAttemptListAction),workflowCmd['command']('timeline\x20[project.workflow]')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x266))[a2_0x329bdf(0x2da)]('--follow',a2_0x329bdf(0x311))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x33a),a2_0x329bdf(0x2ef))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2d3),'Show\x20timeline\x20for\x20specific\x20attempt')[a2_0x329bdf(0x27b)](async(_0xafae10,_0x3093ea)=>{const _0x8407f3=a2_0x329bdf,_0x2e1942=new WorkflowTimelineCommand(),_0x5b4aab=program['opts'](),_0x5c1695=await createTDXInstance(_0x5b4aab),_0x3eec9f=await _0x2e1942[_0x8407f3(0x13a)]({'options':{..._0x5b4aab,..._0x3093ea},'args':_0xafae10?[_0xafae10]:[],'tdx':_0x5c1695});gracefulExit(_0x3eec9f);}),workflowCmd['command']('retry\x20<session-id>')['description']('Retry\x20a\x20session\x20(prefix\x20with\x20session:)')['option'](a2_0x329bdf(0x149),'Resume\x20from\x20specific\x20task')[a2_0x329bdf(0x2da)]('--params\x20<json>',a2_0x329bdf(0x95))[a2_0x329bdf(0x27b)](async(_0x19df1e,_0x263ae2)=>{const _0x24a239=a2_0x329bdf,_0x2f0edb=new WorkflowRetryCommand(),_0x31a0c7=program[_0x24a239(0x1fd)](),_0x15ee1b=await createTDXInstance(_0x31a0c7),_0xcef460=await _0x2f0edb[_0x24a239(0x13a)]({'options':{..._0x31a0c7,..._0x263ae2},'args':[_0x19df1e],'tdx':_0x15ee1b});gracefulExit(_0xcef460);}),workflowCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x21f))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0xbd))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x31b),a2_0x329bdf(0x28a),(_0x169a2e,_0x3cf13e=[])=>[..._0x3cf13e,_0x169a2e],[])['option']('--session-time\x20<time>','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')[a2_0x329bdf(0x27b)](async(_0x1dd102,_0x30a6bb)=>{const _0x148e56=a2_0x329bdf,_0x5bbc6e=new WorkflowRunCommand(),_0x3d0865=program[_0x148e56(0x1fd)](),_0x412102=await createTDXInstance(_0x3d0865),_0x3ce323=await _0x5bbc6e[_0x148e56(0x13a)]({'options':{..._0x3d0865,..._0x30a6bb},'args':_0x1dd102?[_0x1dd102]:[],'tdx':_0x412102});gracefulExit(_0x3ce323);}),workflowCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x1ff))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x189))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x297),a2_0x329bdf(0xb7))[a2_0x329bdf(0x27b)](async(_0x522742,_0x29688e,_0x1b7d07)=>{const _0x43ff54=new WorkflowDownloadCommand(),_0x2d5d27=program['opts'](),_0x25c23d=await createTDXInstance(_0x2d5d27),_0x2ed983=await _0x43ff54['run']({'options':{..._0x2d5d27,..._0x1b7d07},'args':[_0x522742,_0x29688e||'.'],'tdx':_0x25c23d});gracefulExit(_0x2ed983);}),workflowCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x30b))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x14e))['option']('--revision\x20<revision>',a2_0x329bdf(0x17b))['option'](a2_0x329bdf(0x242),'Preview\x20changes\x20without\x20writing\x20files')[a2_0x329bdf(0x27b)](async(_0x33ae57,_0xbce682,_0x2d1c34)=>{const _0x2f06d5=a2_0x329bdf,_0x824592=new WorkflowPullCommand(),_0x37a972=program[_0x2f06d5(0x1fd)](),_0x4b9af3=await createTDXInstance(_0x37a972),_0x312225=await _0x824592['run']({'options':{..._0x37a972,..._0x2d1c34},'args':_0xbce682?[_0x33ae57,_0xbce682]:[_0x33ae57],'tdx':_0x4b9af3});gracefulExit(_0x312225);}),workflowCmd[a2_0x329bdf(0x2f7)]('push\x20[source-dir]')['description'](a2_0x329bdf(0x26d))[a2_0x329bdf(0x2da)]('--revision\x20<revision>','Custom\x20revision\x20name\x20(default:\x20timestamp)')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x242),'Preview\x20changes\x20without\x20pushing')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x1b8),a2_0x329bdf(0x320))['action'](async(_0x5cf43d,_0x32470d)=>{const _0x24eb6a=a2_0x329bdf,_0x20ae30=new WorkflowPushCommand(),_0x222640=program[_0x24eb6a(0x1fd)](),_0x40b447=await createTDXInstance(_0x222640),_0x337f6d=await _0x20ae30[_0x24eb6a(0x13a)]({'options':{..._0x222640,..._0x32470d},'args':_0x5cf43d?[_0x5cf43d]:[],'tdx':_0x40b447});gracefulExit(_0x337f6d);}),workflowCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x16d))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x228))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x27a),a2_0x329bdf(0x2f5))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x297),a2_0x329bdf(0x19b))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x1b8),a2_0x329bdf(0x320))[a2_0x329bdf(0x27b)](async(_0x34039a,_0x972c30)=>{const _0x583701=a2_0x329bdf,_0x2e45cd=new WorkflowUploadCommand(),_0x180be7=program[_0x583701(0x1fd)](),_0x374004=await createTDXInstance(_0x180be7),_0x4ccb65=await _0x2e45cd['run']({'options':{..._0x180be7,..._0x972c30},'args':_0x34039a?[_0x34039a]:[],'tdx':_0x374004});gracefulExit(_0x4ccb65);}),workflowCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0xbe))[a2_0x329bdf(0x1b2)]('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x27a),a2_0x329bdf(0x2dc))[a2_0x329bdf(0x2da)]('--revision\x20<revision>',a2_0x329bdf(0xcb))[a2_0x329bdf(0x2da)]('--dry-run','Preview\x20without\x20creating\x20the\x20project')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x1b8),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x329bdf(0x27b)](async(_0x11cc4e,_0x4c369c)=>{const _0x368b88=a2_0x329bdf,_0x398643=new WorkflowCloneCommand(),_0x33b75c=program[_0x368b88(0x1fd)](),_0x548a0b=await createTDXInstance(_0x33b75c),_0x4ff72d=await _0x398643[_0x368b88(0x13a)]({'options':{..._0x33b75c,..._0x4c369c},'args':_0x11cc4e?[_0x11cc4e]:[],'tdx':_0x548a0b});gracefulExit(_0x4ff72d);}),workflowCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x17e))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x302))[a2_0x329bdf(0x27b)](async(_0x346be3,_0x459ea9)=>{const _0x595a6f=a2_0x329bdf,_0x90f757=new WorkflowDeleteCommand(),_0x171c17=program[_0x595a6f(0x1fd)](),_0x469d09=await createTDXInstance(_0x171c17),_0x34665c=await _0x90f757[_0x595a6f(0x13a)]({'options':{..._0x171c17,..._0x459ea9},'args':[_0x346be3],'tdx':_0x469d09});gracefulExit(_0x34665c);}),workflowCmd['command'](a2_0x329bdf(0x204))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2dd))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x274),a2_0x329bdf(0x2a5))[a2_0x329bdf(0x27b)](async(_0x1c5618,_0x16b028)=>{const _0x288425=a2_0x329bdf,_0x5a6850=new WorkflowUseCommand(),_0x5a385f=program[_0x288425(0x1fd)](),_0x5c7934=await createTDXInstance(_0x5a385f),_0x12deac=await _0x5a6850[_0x288425(0x13a)]({'options':{..._0x5a385f,..._0x16b028},'args':_0x1c5618?[_0x1c5618]:[],'tdx':_0x5c7934});gracefulExit(_0x12deac);});const wfSecretsCmd=workflowCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x248))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2d0));wfSecretsCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x130))[a2_0x329bdf(0x1b2)]('List\x20secret\x20keys\x20for\x20a\x20project')['action'](async(_0x4e2a6b,_0x276546)=>{const _0x22f328=a2_0x329bdf,_0x1da117=new WorkflowSecretsListCommand(),_0xe47e06=program[_0x22f328(0x1fd)](),_0x21a704=await createTDXInstance(_0xe47e06),_0x191835=await _0x1da117[_0x22f328(0x13a)]({'options':{..._0xe47e06,..._0x276546},'args':_0x4e2a6b?[_0x4e2a6b]:[],'tdx':_0x21a704});gracefulExit(_0x191835);}),wfSecretsCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x32e))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x258))[a2_0x329bdf(0x27b)](async(_0xd25cbe,_0x292485)=>{const _0x25e663=a2_0x329bdf,_0x4fc220=new WorkflowSecretsSetCommand(),_0x3566bb=program['opts'](),_0x50cb26=await createTDXInstance(_0x3566bb),_0x417781=await _0x4fc220[_0x25e663(0x13a)]({'options':{..._0x3566bb,..._0x292485},'args':_0xd25cbe,'tdx':_0x50cb26});gracefulExit(_0x417781);}),wfSecretsCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x282))['description'](a2_0x329bdf(0x324))['action'](async(_0x37efa8,_0x356656)=>{const _0x4a4855=a2_0x329bdf,_0x568b55=new WorkflowSecretsDeleteCommand(),_0x1b9a54=program[_0x4a4855(0x1fd)](),_0x4721f8=await createTDXInstance(_0x1b9a54),_0x41f0c2=await _0x568b55[_0x4a4855(0x13a)]({'options':{..._0x1b9a54,..._0x356656},'args':_0x37efa8,'tdx':_0x4721f8});gracefulExit(_0x41f0c2);});const jobCmd=program['command'](a2_0x329bdf(0x27f))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0xd6)),jobListAction=async _0x4e3617=>{const _0x5c094c=new JobListCommand(),_0x47023b=program['opts'](),_0x310d3b=await createTDXInstance(_0x47023b),_0x5cc34d=await _0x5c094c['run']({'options':{..._0x47023b,..._0x4e3617},'args':[],'tdx':_0x310d3b});gracefulExit(_0x5cc34d);};jobCmd[a2_0x329bdf(0x2f7)]('list')['description'](a2_0x329bdf(0x1bf))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2f8),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x329bdf(0x27b)](jobListAction),program['command'](a2_0x329bdf(0x1f2),{'hidden':!![]})[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x29e))['option'](a2_0x329bdf(0x2f8),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x329bdf(0x27b)](jobListAction),jobCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x1b5))['description'](a2_0x329bdf(0x124))[a2_0x329bdf(0x27b)](async(_0x5d9700,_0x3bb45f)=>{const _0x52c395=a2_0x329bdf,_0x45d0d3=new JobShowCommand(),_0x5e4b7c=program[_0x52c395(0x1fd)](),_0x2f04e6=await createTDXInstance(_0x5e4b7c),_0x1612d6=await _0x45d0d3['run']({'options':{..._0x5e4b7c,..._0x3bb45f},'args':[_0x5d9700],'tdx':_0x2f04e6});gracefulExit(_0x1612d6);}),jobCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0xdd))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x30d))[a2_0x329bdf(0x27b)](async(_0x469c97,_0x72ad1a)=>{const _0xc709e6=a2_0x329bdf,_0x16c53c=new JobKillCommand(),_0x3248ee=program[_0xc709e6(0x1fd)](),_0x174019=await createTDXInstance(_0x3248ee),_0x4e0398=await _0x16c53c[_0xc709e6(0x13a)]({'options':{..._0x3248ee,..._0x72ad1a},'args':[_0x469c97],'tdx':_0x174019});gracefulExit(_0x4e0398);}),jobCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x24f))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x223))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x30e),a2_0x329bdf(0x337),a2_0x329bdf(0xab))['option'](a2_0x329bdf(0x1d4),a2_0x329bdf(0x2ab))['option'](a2_0x329bdf(0x150),'Database\x20name\x20(default:\x20information_schema)',a2_0x329bdf(0x10f))[a2_0x329bdf(0x2da)]('--result\x20<target>',a2_0x329bdf(0x301))[a2_0x329bdf(0x27b)](async(_0x4e50ff,_0x6ba511)=>{const _0x185536=a2_0x329bdf,_0x4b94a9=new JobSubmitCommand(),_0x2c6cb7=program[_0x185536(0x1fd)](),_0x2b047d=await createTDXInstance(_0x2c6cb7),_0x12443f=await _0x4b94a9['run']({'options':{..._0x2c6cb7,..._0x6ba511},'args':_0x4e50ff?[_0x4e50ff]:[],'tdx':_0x2b047d});gracefulExit(_0x12443f);}),jobCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x312))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x123))[a2_0x329bdf(0x27b)](async(_0x2f54ba,_0x2ac086)=>{const _0x1a4e5f=a2_0x329bdf,_0x21c246=new JobResultCommand(),_0x49b8c2=program[_0x1a4e5f(0x1fd)](),_0x4b6d4f=await createTDXInstance(_0x49b8c2),_0xb793d2=await _0x21c246[_0x1a4e5f(0x13a)]({'options':{..._0x49b8c2,..._0x2ac086},'args':[_0x2f54ba],'tdx':_0x4b6d4f});gracefulExit(_0xb793d2);});const scheduleCmd=jobCmd['command'](a2_0x329bdf(0x11b))['description']('Scheduled\x20query\x20management\x20commands');scheduleCmd['command'](a2_0x329bdf(0x237))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2a2))[a2_0x329bdf(0x27b)](async(_0x4f8414,_0x4b55e3)=>{const _0x427dcd=a2_0x329bdf,_0x48a57f=new ScheduleListCommand(),_0x38ce13=program[_0x427dcd(0x1fd)](),_0x5873df=await createTDXInstance(_0x38ce13),_0x172f74=await _0x48a57f[_0x427dcd(0x13a)]({'options':{..._0x38ce13,..._0x4b55e3},'args':_0x4f8414?[_0x4f8414]:[],'tdx':_0x5873df});gracefulExit(_0x172f74);}),scheduleCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x1f3))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2fc))[a2_0x329bdf(0x27b)](async(_0x364b08,_0x225a66)=>{const _0x139c49=new ScheduleShowCommand(),_0x4bbf9f=program['opts'](),_0x156bab=await createTDXInstance(_0x4bbf9f),_0x41d4aa=await _0x139c49['run']({'options':{..._0x4bbf9f,..._0x225a66},'args':[_0x364b08],'tdx':_0x156bab});gracefulExit(_0x41d4aa);}),scheduleCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x25a))[a2_0x329bdf(0x1b2)]('Create\x20a\x20scheduled\x20query')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x209),a2_0x329bdf(0x1ed))['option'](a2_0x329bdf(0xe9),a2_0x329bdf(0x190))['requiredOption'](a2_0x329bdf(0x1d4),a2_0x329bdf(0x2ab))[a2_0x329bdf(0x2da)]('--type\x20<type>','Query\x20type:\x20trino\x20or\x20hive',a2_0x329bdf(0xab))['option'](a2_0x329bdf(0x269),a2_0x329bdf(0x310))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2eb),a2_0x329bdf(0x1fb))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2b2),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x329bdf(0x2da)]('--priority\x20<-2~2>','Job\x20priority\x20(-2\x20to\x202)')[a2_0x329bdf(0x2da)]('--retry-limit\x20<0~32>',a2_0x329bdf(0x283))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x239),a2_0x329bdf(0xd0))[a2_0x329bdf(0x2da)](a2_0x329bdf(0xdb),a2_0x329bdf(0x263))['action'](async(_0x564489,_0x3b5141)=>{const _0x5d53d4=a2_0x329bdf,_0x265784=new ScheduleCreateCommand(),_0x2dd8c6=program[_0x5d53d4(0x1fd)](),_0x123fb3=await createTDXInstance(_0x2dd8c6);_0x3b5141['in']&&(_0x3b5141[_0x5d53d4(0x212)]=_0x3b5141['in']);const _0x40af48=await _0x265784[_0x5d53d4(0x13a)]({'options':{..._0x2dd8c6,..._0x3b5141},'args':[_0x564489],'tdx':_0x123fb3});gracefulExit(_0x40af48);}),scheduleCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x188))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x296))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x209),a2_0x329bdf(0x12b))['option'](a2_0x329bdf(0xe9),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x1d4),a2_0x329bdf(0x2ab))['option']('--type\x20<type>',a2_0x329bdf(0x32b))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x269),'Cron\x20expression\x20for\x20scheduling')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2eb),a2_0x329bdf(0x1eb))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2b2),'Delay\x20in\x20seconds\x20before\x20execution')['option']('--priority\x20<-2~2>',a2_0x329bdf(0x28d))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x148),a2_0x329bdf(0x283))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x239),a2_0x329bdf(0xd0))[a2_0x329bdf(0x2da)](a2_0x329bdf(0xdb),a2_0x329bdf(0x263))[a2_0x329bdf(0x27b)](async(_0x146a8d,_0x11cce0)=>{const _0x8f5fb4=a2_0x329bdf,_0x312372=new ScheduleUpdateCommand(),_0x43239a=program[_0x8f5fb4(0x1fd)](),_0x4e043f=await createTDXInstance(_0x43239a);_0x11cce0['in']&&(_0x11cce0[_0x8f5fb4(0x212)]=_0x11cce0['in']);const _0x2d9087=await _0x312372[_0x8f5fb4(0x13a)]({'options':{..._0x43239a,..._0x11cce0},'args':[_0x146a8d],'tdx':_0x4e043f});gracefulExit(_0x2d9087);}),scheduleCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x23b))['description'](a2_0x329bdf(0x1e8))[a2_0x329bdf(0x27b)](async(_0x4fed18,_0x40e25f)=>{const _0x158057=a2_0x329bdf,_0x400023=new ScheduleDeleteCommand(),_0x1edabc=program[_0x158057(0x1fd)](),_0x37e45e=await createTDXInstance(_0x1edabc),_0x50a744=await _0x400023[_0x158057(0x13a)]({'options':{..._0x1edabc,..._0x40e25f},'args':[_0x4fed18],'tdx':_0x37e45e});gracefulExit(_0x50a744);}),scheduleCmd['command'](a2_0x329bdf(0x12f))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x339))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x1fc),a2_0x329bdf(0x99))['option']('--num\x20<1-10>',a2_0x329bdf(0x134))[a2_0x329bdf(0x27b)](async(_0x5bf5f9,_0xdef03)=>{const _0x4c518f=a2_0x329bdf,_0x3038f9=new ScheduleRunCommand(),_0x297aeb=program[_0x4c518f(0x1fd)](),_0x49f6c9=await createTDXInstance(_0x297aeb),_0x3772a8=await _0x3038f9['run']({'options':{..._0x297aeb,..._0xdef03},'args':[_0x5bf5f9],'tdx':_0x49f6c9});gracefulExit(_0x3772a8);}),scheduleCmd['command'](a2_0x329bdf(0x1bb))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x186))['option'](a2_0x329bdf(0x2a1),'Starting\x20offset\x20(default:\x200)')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x300),'Ending\x20offset\x20(default:\x2020)')[a2_0x329bdf(0x27b)](async(_0x448470,_0x56d81f)=>{const _0x293ac6=a2_0x329bdf,_0x8813dc=new ScheduleHistoryCommand(),_0x292877=program['opts'](),_0x35857c=await createTDXInstance(_0x292877),_0x5410ba=await _0x8813dc[_0x293ac6(0x13a)]({'options':{..._0x292877,..._0x56d81f},'args':[_0x448470],'tdx':_0x35857c});gracefulExit(_0x5410ba);});const llmCmd=program['command']('llm')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x17d));llmCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x154))[a2_0x329bdf(0x1b2)]('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')[a2_0x329bdf(0x27b)](async(_0xc64a05,_0x135ba8)=>{const _0x1faf56=a2_0x329bdf,_0xaacfa9=new LLMUseCommand(),_0xef0b17=program[_0x1faf56(0x1fd)](),_0x5160c9=await createTDXInstance(_0xef0b17),_0x365144=await _0xaacfa9[_0x1faf56(0x13a)]({'options':{..._0xef0b17,..._0x135ba8},'args':[_0xc64a05],'tdx':_0x5160c9});gracefulExit(_0x365144);}),llmCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x165))['description'](a2_0x329bdf(0x1a3))[a2_0x329bdf(0x27b)](async _0x1bc391=>{const _0x198f83=a2_0x329bdf,_0x2b6fe2=new LLMModelsCommand(),_0x18f6a5=program[_0x198f83(0x1fd)](),_0x4dab64=await createTDXInstance(_0x18f6a5),_0x309a65=await _0x2b6fe2[_0x198f83(0x13a)]({'options':{..._0x18f6a5,..._0x1bc391},'args':[],'tdx':_0x4dab64});gracefulExit(_0x309a65);});const projectCmd=llmCmd[a2_0x329bdf(0x2f7)]('project')['description'](a2_0x329bdf(0xb0)),llmProjectListAction=async(_0x15fe31,_0x421f24)=>{const _0x2df310=a2_0x329bdf,_0x2571db=new LLMProjectsCommand(),_0x477049=program[_0x2df310(0x1fd)](),_0x4e8dc1=await createTDXInstance(_0x477049),_0x541278=await _0x2571db[_0x2df310(0x13a)]({'options':{..._0x477049,..._0x421f24},'args':_0x15fe31?[_0x15fe31]:[],'tdx':_0x4e8dc1});gracefulExit(_0x541278);};projectCmd['command'](a2_0x329bdf(0x237))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x108))[a2_0x329bdf(0x27b)](llmProjectListAction),llmCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x210))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x82))['action'](llmProjectListAction),projectCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x25a))['description'](a2_0x329bdf(0x2b8))[a2_0x329bdf(0x2da)](a2_0x329bdf(0xca),'Project\x20description')[a2_0x329bdf(0x27b)](async(_0x202f11,_0x36be1b)=>{const _0x234919=a2_0x329bdf,_0xbd4fac=new LLMProjectCreateCommand(),_0x161d00=program[_0x234919(0x1fd)](),_0xbd3120=await createTDXInstance(_0x161d00),_0x132dbd=await _0xbd4fac[_0x234919(0x13a)]({'options':{..._0x161d00,..._0x36be1b},'args':[_0x202f11],'tdx':_0xbd3120});gracefulExit(_0x132dbd);}),projectCmd['command'](a2_0x329bdf(0x23b))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x32a))[a2_0x329bdf(0x27b)](async(_0x320416,_0x23d33f)=>{const _0x24d925=a2_0x329bdf,_0x2a1d24=new LLMProjectDeleteCommand(),_0x51f03a=program[_0x24d925(0x1fd)](),_0x52f218=await createTDXInstance(_0x51f03a),_0x2bcfe8=await _0x2a1d24[_0x24d925(0x13a)]({'options':{..._0x51f03a,..._0x23d33f},'args':[_0x320416],'tdx':_0x52f218});gracefulExit(_0x2bcfe8);}),projectCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x22c))['description'](a2_0x329bdf(0x28b))[a2_0x329bdf(0x2da)]('-o,\x20--output\x20<folder>',a2_0x329bdf(0x1c4))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x242),a2_0x329bdf(0x21e))[a2_0x329bdf(0x27b)](async(_0x4ce64a,_0x21c5cf)=>{const _0x1824cb=a2_0x329bdf,_0x102ee0=new LLMProjectBackupCommand(),_0x23db8e=program[_0x1824cb(0x1fd)](),_0x4b6354=await createTDXInstance(_0x23db8e),_0x3f0403=await _0x102ee0[_0x1824cb(0x13a)]({'options':{..._0x23db8e,..._0x21c5cf},'args':[_0x4ce64a],'tdx':_0x4b6354});gracefulExit(_0x3f0403);}),projectCmd['command'](a2_0x329bdf(0x1d6))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0xd3))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2ba),a2_0x329bdf(0x230))['option'](a2_0x329bdf(0x242),a2_0x329bdf(0x25c))[a2_0x329bdf(0x27b)](async(_0x36aeb4,_0x38786e)=>{const _0x2c0e17=a2_0x329bdf,_0x444865=new LLMProjectRestoreCommand(),_0x33d3c3=program[_0x2c0e17(0x1fd)](),_0x3e58bc=await createTDXInstance(_0x33d3c3),_0x22d489=await _0x444865[_0x2c0e17(0x13a)]({'options':{..._0x33d3c3,..._0x38786e},'args':[_0x36aeb4],'tdx':_0x3e58bc});gracefulExit(_0x22d489);});const llmAgentListAction=async(_0x1ddaae,_0x34080b)=>{const _0x4bfdea=a2_0x329bdf,_0x5de715=new LLMAgentsCommand(),_0x1c66b4=program[_0x4bfdea(0x1fd)](),_0x55d80d=await createTDXInstance(_0x1c66b4),_0x56d620=await _0x5de715[_0x4bfdea(0x13a)]({'options':{..._0x1c66b4,..._0x34080b},'args':_0x1ddaae?[_0x1ddaae]:[],'tdx':_0x55d80d});gracefulExit(_0x56d620);};llmCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0xfc))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2b1))[a2_0x329bdf(0x27b)](llmAgentListAction),program['command'](a2_0x329bdf(0xfc))['description'](a2_0x329bdf(0x2b1))[a2_0x329bdf(0x27b)](llmAgentListAction),llmCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x29b))['description'](a2_0x329bdf(0x2cf))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x268),a2_0x329bdf(0x2f2))[a2_0x329bdf(0x27b)](async(_0xf7867f,_0x1530ce)=>{const _0x344ace=a2_0x329bdf,_0x4b8947=new LLMHistoryCommand(),_0x4a7442=program['opts'](),_0x57324d=await createTDXInstance(_0x4a7442),_0x39e2db=await _0x4b8947[_0x344ace(0x13a)]({'options':{..._0x4a7442,..._0x1530ce},'args':_0xf7867f?[_0xf7867f]:[],'tdx':_0x57324d});gracefulExit(_0x39e2db);});isExperimentalAvailable()&&llmCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x30f))[a2_0x329bdf(0x1b2)]('[EXPERIMENTAL]\x20Show\x20chat\x20log')['action'](async(_0x4c8628,_0x50a842)=>{const _0x3652c3=a2_0x329bdf,_0x29cb57=new LLMLogCommand(),_0x52cf63=program[_0x3652c3(0x1fd)](),_0x458eb1=await createTDXInstance(_0x52cf63),_0x2850d3=await _0x29cb57['run']({'options':{..._0x52cf63,..._0x50a842},'args':[_0x4c8628],'tdx':_0x458eb1});gracefulExit(_0x2850d3);});program[a2_0x329bdf(0x2f7)](a2_0x329bdf(0xf7))['usage'](a2_0x329bdf(0x16e))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x314))['option'](a2_0x329bdf(0x284),a2_0x329bdf(0x24c))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x260),'Resume\x20a\x20conversation\x20(shows\x20selector)')['option'](a2_0x329bdf(0x153),a2_0x329bdf(0x2b9))['allowUnknownOption']()[a2_0x329bdf(0x111)](!![])['addHelpText']('after',a2_0x329bdf(0x308))[a2_0x329bdf(0x27b)](async(_0x3e598f,_0x5ba400)=>{const _0x200b06=a2_0x329bdf,_0x27d979=program[_0x200b06(0x1fd)](),_0xa0dbcd=Array[_0x200b06(0x1b1)](_0x3e598f)?_0x3e598f:[];if(_0xa0dbcd[0x0]===_0x200b06(0x198)){const _0x25a5f2=new ClaudeStatuslineCommand(),_0x1604e5=await _0x25a5f2[_0x200b06(0x13a)]({'options':{..._0x27d979,..._0x5ba400},'args':_0xa0dbcd[_0x200b06(0x1f1)](0x1),'tdx':null});gracefulExit(_0x1604e5);}if(_0xa0dbcd[0x0]===_0x200b06(0x238)){const _0x551081=new ClaudeUsageCommand(),_0x110c4f=await _0x551081[_0x200b06(0x13a)]({'options':{..._0x27d979,..._0x5ba400},'args':_0xa0dbcd[_0x200b06(0x1f1)](0x1),'tdx':null});gracefulExit(_0x110c4f);}const _0x14509c=new ClaudeCommand(),_0xc7ec16=await createTDXInstance(_0x27d979),_0x9a4c0a=await _0x14509c[_0x200b06(0x13a)]({'options':{..._0x27d979,..._0x5ba400},'args':_0xa0dbcd,'tdx':_0xc7ec16});gracefulExit(_0x9a4c0a);}),program[a2_0x329bdf(0x2f7)]('use\x20[resource]\x20[value]')[a2_0x329bdf(0x1b2)]('Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x274),a2_0x329bdf(0xbc))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x273),a2_0x329bdf(0x335))[a2_0x329bdf(0x27b)](async(_0x5dca42,_0x42cb49,_0x53a611)=>{const _0x11be47=a2_0x329bdf,_0x445744=new UseCommand(),_0x5b702e=program['opts'](),_0xa4c54e=[];if(_0x5dca42)_0xa4c54e['push'](_0x5dca42);if(_0x42cb49)_0xa4c54e[_0x11be47(0x91)](_0x42cb49);const _0x53c374=_0x5dca42===_0x11be47(0x12a),_0x499c34=_0x53c374?await createTDXInstance(_0x5b702e):null,_0x208482=await _0x445744[_0x11be47(0x13a)]({'options':{..._0x5b702e,..._0x53a611},'args':_0xa4c54e,'tdx':_0x499c34});gracefulExit(_0x208482);}),program[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x146))['description'](a2_0x329bdf(0x256))['action'](async _0x43bd27=>{const _0x1c1889=a2_0x329bdf,_0xe46ffe=new StatusCommand(),_0x2e6698=program[_0x1c1889(0x1fd)](),_0x3b014a=await createTDXInstance(_0x2e6698),_0x584e88=await _0xe46ffe[_0x1c1889(0x13a)]({'options':{..._0x2e6698,..._0x43bd27},'args':[],'tdx':_0x3b014a});gracefulExit(_0x584e88);}),program[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x2cb))[a2_0x329bdf(0x1b2)]('Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x273),a2_0x329bdf(0x14b))['action'](async(_0x19d232,_0x303fc3)=>{const _0x372d26=a2_0x329bdf,_0x258cbe=new UnsetCommand(),_0x309e93=program[_0x372d26(0x1fd)](),_0x49260e=await _0x258cbe[_0x372d26(0x13a)]({'options':{..._0x309e93,..._0x303fc3},'args':[_0x19d232],'tdx':null});gracefulExit(_0x49260e);}),program[a2_0x329bdf(0x2f7)]('chats')[a2_0x329bdf(0x1b2)]('Interactive\x20chat\x20selector')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x268),'Show\x20the\x20most\x20recent\x20chat')['action'](async _0x387ca4=>{const _0x37c502=a2_0x329bdf,_0xa8e9ad=new ChatsCommand(),_0xc510c3=program[_0x37c502(0x1fd)](),_0x14982d=await createTDXInstance(_0xc510c3),_0x478687=await _0xa8e9ad[_0x37c502(0x13a)]({'options':{..._0xc510c3,..._0x387ca4},'args':[],'tdx':_0x14982d});gracefulExit(_0x478687);});const authCmd=program[a2_0x329bdf(0x2f7)](a2_0x329bdf(0xff))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x257));async function runAuthStatusCommand(_0x5560d3){const _0x15cee5=a2_0x329bdf,_0x571590=new AuthStatusCommand(),_0xa47ec6=program[_0x15cee5(0x1fd)](),_0x445c35=await createTDXInstance(_0xa47ec6),_0x553238=await _0x571590['run']({'options':{..._0xa47ec6,..._0x5560d3},'args':[],'tdx':_0x445c35});gracefulExit(_0x553238);}authCmd['action'](runAuthStatusCommand),authCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x146))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x309))[a2_0x329bdf(0x27b)](runAuthStatusCommand),authCmd[a2_0x329bdf(0x2f7)]('setup')['description']('Setup\x20API\x20key\x20authentication\x20interactively')['addHelpText']('after',a2_0x329bdf(0xe1))['action'](async _0x2a1941=>{const _0x17017b=a2_0x329bdf,_0x294252=new AuthSetupCommand(),_0x29f2e1=program[_0x17017b(0x1fd)](),_0x269d44=await createTDXInstance(_0x29f2e1),_0x420a28=await _0x294252[_0x17017b(0x13a)]({'options':{..._0x29f2e1,..._0x2a1941},'args':[],'tdx':_0x269d44});gracefulExit(_0x420a28);}),authCmd['command'](a2_0x329bdf(0x315))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x21d))[a2_0x329bdf(0x291)]('after',a2_0x329bdf(0x81))[a2_0x329bdf(0x27b)](async _0x8cbe79=>{const _0x4ce73d=a2_0x329bdf,_0x2b90c9=new AuthClearCommand(),_0x3f28b7=program[_0x4ce73d(0x1fd)](),_0xcf0f79=await _0x2b90c9[_0x4ce73d(0x13a)]({'options':{..._0x3f28b7,..._0x8cbe79},'args':[],'tdx':null});gracefulExit(_0xcf0f79);});const userCmd=program['command'](a2_0x329bdf(0xfa))['description'](a2_0x329bdf(0x333)),userListAction=async _0x58220d=>{const _0xa8550e=a2_0x329bdf,_0x2a9a99=new UserListCommand(),_0x245d8a=program[_0xa8550e(0x1fd)](),_0x438177=await createTDXInstance(_0x245d8a),_0x2c83d4=await _0x2a9a99[_0xa8550e(0x13a)]({'options':{..._0x245d8a,..._0x58220d},'args':[],'tdx':_0x438177});gracefulExit(_0x2c83d4);};userCmd[a2_0x329bdf(0x27b)](async _0x58801c=>{const _0x3c6312=a2_0x329bdf,_0x5227b7=new UserCommand(),_0x4c9874=program[_0x3c6312(0x1fd)](),_0x2b310a=await createTDXInstance(_0x4c9874),_0x580a4a=await _0x5227b7[_0x3c6312(0x13a)]({'options':{..._0x4c9874,..._0x58801c},'args':[],'tdx':_0x2b310a});gracefulExit(_0x580a4a);}),userCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x2ec))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x207))[a2_0x329bdf(0x27b)](userListAction),program[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x2ad))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x270))[a2_0x329bdf(0x27b)](userListAction),program[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x1ac))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x102))[a2_0x329bdf(0x27b)](async _0x7e4d77=>{const _0x401f94=a2_0x329bdf,_0xf1e7e=new ProfilesCommand(),_0x348e62=program[_0x401f94(0x1fd)](),_0x523dd0=await _0xf1e7e['run']({'options':{..._0x348e62,..._0x7e4d77},'args':[],'tdx':null});gracefulExit(_0x523dd0);});const profileCmd=program[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x1b7))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x164));profileCmd[a2_0x329bdf(0x27b)](()=>{profileCmd['outputHelp']();});const profileListAction=async _0x22ae09=>{const _0x3c54ec=a2_0x329bdf,_0x1b8c7e=new ProfilesCommand(),_0x40efd3=program[_0x3c54ec(0x1fd)](),_0x53c1b4=await _0x1b8c7e['run']({'options':{..._0x40efd3,..._0x22ae09},'args':[],'tdx':null});gracefulExit(_0x53c1b4);};profileCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x2ec))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x102))[a2_0x329bdf(0x27b)](profileListAction),profileCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x1ef))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2e2))[a2_0x329bdf(0x291)](a2_0x329bdf(0xa2),a2_0x329bdf(0x218))[a2_0x329bdf(0x27b)](async(_0x4e4217,_0x544c24)=>{const _0xf4e697=a2_0x329bdf,_0x1a8758=new ProfileCreateCommand(),_0x15de32=program[_0xf4e697(0x1fd)](),_0x5cccb5=await _0x1a8758['run']({'options':{..._0x15de32,..._0x544c24},'args':_0x4e4217?[_0x4e4217]:[],'tdx':null});gracefulExit(_0x5cccb5);}),profileCmd['command'](a2_0x329bdf(0x1b4))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x261))['addHelpText'](a2_0x329bdf(0xa2),a2_0x329bdf(0x244))[a2_0x329bdf(0x27b)](async(_0x5bca90,_0x3cc278)=>{const _0x24086c=a2_0x329bdf,_0x338e02=new ProfileRemoveCommand(),_0x2c1a74=program[_0x24086c(0x1fd)](),_0x2f17f4=await _0x338e02[_0x24086c(0x13a)]({'options':{..._0x2c1a74,..._0x3cc278},'args':[_0x5bca90],'tdx':null});gracefulExit(_0x2f17f4);}),profileCmd[a2_0x329bdf(0x2f7)]('set\x20<key=value>')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x224))['addHelpText'](a2_0x329bdf(0xa2),'\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=jp01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a')['action'](async(_0x2cb34f,_0x16be99)=>{const _0x5c9a44=a2_0x329bdf,_0xeeec25=new ProfileSetCommand(),_0x884824=program[_0x5c9a44(0x1fd)](),_0x3ee4b5=await _0xeeec25[_0x5c9a44(0x13a)]({'options':{..._0x884824,..._0x16be99},'args':[_0x2cb34f],'tdx':null});gracefulExit(_0x3ee4b5);}),profileCmd[a2_0x329bdf(0x2f7)]('use\x20<name>')[a2_0x329bdf(0x1b2)]('Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)')['option'](a2_0x329bdf(0x273),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x329bdf(0x291)](a2_0x329bdf(0xa2),a2_0x329bdf(0x158))[a2_0x329bdf(0x27b)](async(_0x2f4fcf,_0x2e43b0)=>{const _0x158cfa=a2_0x329bdf,_0x4c25f2=new ProfileUseCommand(),_0x12375b=program[_0x158cfa(0x1fd)](),_0x4268d4=await _0x4c25f2[_0x158cfa(0x13a)]({'options':{..._0x12375b,..._0x2e43b0},'args':[_0x2f4fcf],'tdx':null});gracefulExit(_0x4268d4);});const engageCmd=program[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x294))[a2_0x329bdf(0x1b2)]('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x1ab77a=>{return async(_0x3ffb6a,_0x545a19)=>{const _0x313661=new _0x1ab77a(),_0x1333bf=program['opts'](),_0x25ecc6=await createTDXInstance(_0x1333bf),_0x3d47d1=await _0x313661['run']({'options':{..._0x1333bf,..._0x545a19},'args':[_0x3ffb6a],'tdx':_0x25ecc6});gracefulExit(_0x3d47d1);};},createEngageNoArgAction=_0x7dd2e9=>{return async _0x4148ec=>{const _0x29c81=a2_0x503d,_0x3aca92=new _0x7dd2e9(),_0x1fc08a=program[_0x29c81(0x1fd)](),_0x278130=await createTDXInstance(_0x1fc08a),_0x1afe74=await _0x3aca92[_0x29c81(0x13a)]({'options':{..._0x1fc08a,..._0x4148ec},'args':[],'tdx':_0x278130});gracefulExit(_0x1afe74);};},createEngageListAction=_0x2fc57a=>{return async(_0x5e08ed,_0x5a7d16)=>{const _0x321300=a2_0x503d,_0x30cac3=new _0x2fc57a(),_0x520897=program[_0x321300(0x1fd)](),_0x164eac=await createTDXInstance(_0x520897),_0x59db8d=await _0x30cac3[_0x321300(0x13a)]({'options':{..._0x520897,..._0x5a7d16},'args':_0x5e08ed?[_0x5e08ed]:[],'tdx':_0x164eac});gracefulExit(_0x59db8d);};},campaignCmd=engageCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x88))['description'](a2_0x329bdf(0x28e));campaignCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x237))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x15b))['option']('--type\x20<type>',a2_0x329bdf(0xa4))[a2_0x329bdf(0x2da)]('--status\x20<status>','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')['option'](a2_0x329bdf(0x271),a2_0x329bdf(0x22e))[a2_0x329bdf(0x27b)](createEngageListAction(EngageCampaignsCommand)),engageCmd['command']('campaigns\x20[pattern]')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x32d))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2ff),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2f8),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')['option']('--workspace\x20<name>',a2_0x329bdf(0x22e))[a2_0x329bdf(0x27b)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x329bdf(0x2f7)]('show\x20<name-or-id>')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x205))['option'](a2_0x329bdf(0x271),a2_0x329bdf(0x22e))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x8c),a2_0x329bdf(0x236))['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x329bdf(0x2f7)]('create')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x201))[a2_0x329bdf(0x2d6)](a2_0x329bdf(0x27a),a2_0x329bdf(0xf0))['requiredOption'](a2_0x329bdf(0x2ff),a2_0x329bdf(0x112))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x271),a2_0x329bdf(0x107))[a2_0x329bdf(0x2da)]('--description\x20<desc>','Campaign\x20description')[a2_0x329bdf(0x2da)](a2_0x329bdf(0xea),a2_0x329bdf(0x1ce))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x1c6),a2_0x329bdf(0x1e9))['option']('--json-columns\x20<cols>',a2_0x329bdf(0x185))[a2_0x329bdf(0x2da)]('--start-at\x20<datetime>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2eb),a2_0x329bdf(0xd4))[a2_0x329bdf(0x27b)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd['command']('update\x20<name-or-id>')['description']('Update\x20a\x20campaign')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x271),'Workspace\x20name')['option']('--name\x20<name>',a2_0x329bdf(0x193))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x1dd),a2_0x329bdf(0xe2))[a2_0x329bdf(0x2da)]('--segment\x20<path>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x329bdf(0x2da)]('--email-sender-id\x20<id>',a2_0x329bdf(0x1e9))[a2_0x329bdf(0x2da)]('--json-columns\x20<cols>',a2_0x329bdf(0x185))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x288),a2_0x329bdf(0x246))['option'](a2_0x329bdf(0x2eb),a2_0x329bdf(0xd4))['action'](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x109))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x16b))['option'](a2_0x329bdf(0x271),a2_0x329bdf(0x22e))[a2_0x329bdf(0x2da)]('--yes',a2_0x329bdf(0xef))['action'](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x251))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x20f))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x271),a2_0x329bdf(0x22e))[a2_0x329bdf(0x27b)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x1f7))[a2_0x329bdf(0x1b2)]('Pause\x20a\x20campaign')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x271),a2_0x329bdf(0x22e))[a2_0x329bdf(0x27b)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x167))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x231))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x271),a2_0x329bdf(0x22e))[a2_0x329bdf(0x27b)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x326))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x1d8))[a2_0x329bdf(0x2da)]('--workspace\x20<name>',a2_0x329bdf(0x22e))[a2_0x329bdf(0x27b)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0xcd))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x8b))[a2_0x329bdf(0x2da)]('--workspace\x20<name>',a2_0x329bdf(0x22e))['option'](a2_0x329bdf(0x27a),'Pull\x20specific\x20campaign\x20by\x20name')[a2_0x329bdf(0x2da)]('--type\x20<type>',a2_0x329bdf(0xa4))['option'](a2_0x329bdf(0x242),'Show\x20what\x20would\x20be\x20written\x20without\x20writing')[a2_0x329bdf(0x27b)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x329bdf(0x2f7)]('push\x20[target]')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x22f))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x271),a2_0x329bdf(0x22e))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x242),a2_0x329bdf(0x1f0))[a2_0x329bdf(0x27b)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x2ee))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x1cd))['option'](a2_0x329bdf(0x33e),a2_0x329bdf(0xcc))[a2_0x329bdf(0x27b)](createEngageAction(EngageCampaignValidateCommand));const templateCmd=engageCmd['command']('template')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x227));templateCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x237))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x303))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x271),a2_0x329bdf(0x22e))['action'](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x17c))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x10b))[a2_0x329bdf(0x2da)]('--workspace\x20<name>',a2_0x329bdf(0x22e))[a2_0x329bdf(0x27b)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x279))[a2_0x329bdf(0x1b2)]('Show\x20email\x20template\x20details')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x271),a2_0x329bdf(0x22e))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x8c),a2_0x329bdf(0x236))['action'](createEngageAction(EngageTemplateShowCommand)),templateCmd['command']('create')[a2_0x329bdf(0x1b2)]('Create\x20an\x20email\x20template')[a2_0x329bdf(0x2d6)]('--name\x20<name>',a2_0x329bdf(0x89))[a2_0x329bdf(0x2d6)](a2_0x329bdf(0x85),'Email\x20subject\x20template')[a2_0x329bdf(0x2d6)](a2_0x329bdf(0x2e7),a2_0x329bdf(0xa6))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x271),a2_0x329bdf(0x107))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2de),'Plaintext\x20template\x20content')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x94),a2_0x329bdf(0x18b),_0x498be2=>{const _0x59146f=a2_0x329bdf;if(![_0x59146f(0x1e6),_0x59146f(0x115)][_0x59146f(0x1a6)](_0x498be2))throw new SDKError(ErrorCode[_0x59146f(0x336)],_0x59146f(0x220)+_0x498be2+_0x59146f(0x97));return _0x498be2;})[a2_0x329bdf(0x27b)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x329bdf(0x2f7)]('update\x20<name-or-id>')['description'](a2_0x329bdf(0x173))['option'](a2_0x329bdf(0x271),a2_0x329bdf(0x22e))[a2_0x329bdf(0x2da)]('--name\x20<name>',a2_0x329bdf(0x16a))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x85),a2_0x329bdf(0x29f))['option'](a2_0x329bdf(0x2e7),a2_0x329bdf(0xa6))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2de),a2_0x329bdf(0x307))['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x109))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0xd5))[a2_0x329bdf(0x2da)]('--workspace\x20<name>',a2_0x329bdf(0x22e))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x1a7),'Skip\x20confirmation\x20prompt')[a2_0x329bdf(0x27b)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0xda))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2d2));workspaceCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x237))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x15a))[a2_0x329bdf(0x27b)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x175))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x1e3))[a2_0x329bdf(0x27b)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd['command'](a2_0x329bdf(0x279))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x1c7))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x8c),a2_0x329bdf(0x236))[a2_0x329bdf(0x27b)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0xc3))[a2_0x329bdf(0x1b2)]('Create\x20a\x20workspace')[a2_0x329bdf(0x2d6)]('--name\x20<name>','Workspace\x20name')['option'](a2_0x329bdf(0x1dd),a2_0x329bdf(0x147))[a2_0x329bdf(0x27b)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd['command'](a2_0x329bdf(0x177))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x33f))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x27a),a2_0x329bdf(0x12c))[a2_0x329bdf(0x2da)]('--description\x20<desc>',a2_0x329bdf(0x147))[a2_0x329bdf(0x27b)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x329bdf(0x2f7)]('delete\x20<name-or-id>')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0xe4))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x1a7),a2_0x329bdf(0xef))[a2_0x329bdf(0x27b)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x178))['description'](a2_0x329bdf(0xb5))['action'](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program['command'](a2_0x329bdf(0x1c1))['description'](a2_0x329bdf(0x2a8));deliveryCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x31f))[a2_0x329bdf(0x1b2)]('List\x20email\x20senders')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x271),a2_0x329bdf(0x22e))[a2_0x329bdf(0x27b)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x208))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x92)),connectionListAction=async _0x5333ce=>{const _0x782bf5=a2_0x329bdf,_0x445f01=new ConnectionListCommand(),_0x1afaa5=program[_0x782bf5(0x1fd)](),_0xfed5f=await createTDXInstance(_0x1afaa5),_0x312bbd=await _0x445f01[_0x782bf5(0x13a)]({'options':{..._0x1afaa5,..._0x5333ce},'args':[],'tdx':_0xfed5f});gracefulExit(_0x312bbd);};connectionCmd[a2_0x329bdf(0x2f7)]('list')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x1fa))['action'](connectionListAction),program[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x2a9),{'hidden':!![]})['description'](a2_0x329bdf(0xa1))[a2_0x329bdf(0x27b)](connectionListAction),connectionCmd[a2_0x329bdf(0x2f7)]('show\x20<name>')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x15c))[a2_0x329bdf(0x27b)](async(_0x147427,_0x172838)=>{const _0x134d8c=a2_0x329bdf,_0x382c53=new ConnectionShowCommand(),_0x519d54=program[_0x134d8c(0x1fd)](),_0x4e0b3f=await createTDXInstance(_0x519d54),_0xd4f1fc=await _0x382c53[_0x134d8c(0x13a)]({'options':{..._0x519d54,..._0x172838},'args':[_0x147427],'tdx':_0x4e0b3f});gracefulExit(_0xd4f1fc);}),connectionCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0xf5))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0xa9))['action'](async(_0x37138c,_0xd8d801)=>{const _0x4ceaf5=a2_0x329bdf,_0x3457b1=new ConnectionSchemaCommand(),_0x25fcd9=program['opts'](),_0x530ea9=await createTDXInstance(_0x25fcd9),_0x315a03=await _0x3457b1[_0x4ceaf5(0x13a)]({'options':{..._0x25fcd9,..._0xd8d801},'args':[_0x37138c],'tdx':_0x530ea9});gracefulExit(_0x315a03);}),connectionCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x1cc))['description'](a2_0x329bdf(0x293))[a2_0x329bdf(0x27b)](async _0x4a94d0=>{const _0x4c4acc=a2_0x329bdf,_0x3cbc67=new ConnectionTypesCommand(),_0x1ad066=program[_0x4c4acc(0x1fd)](),_0x32dfde=await createTDXInstance(_0x1ad066),_0x69f722=await _0x3cbc67[_0x4c4acc(0x13a)]({'options':{..._0x1ad066,..._0x4a94d0},'args':[],'tdx':_0x32dfde});gracefulExit(_0x69f722);}),connectionCmd['command'](a2_0x329bdf(0xce))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2e0))['action'](async(_0x32f9fc,_0x9f2db1)=>{const _0x5a9ad3=a2_0x329bdf,_0x555d74=new ConnectionSettingsCommand(),_0x87a415=program[_0x5a9ad3(0x1fd)](),_0x3612ee=await createTDXInstance(_0x87a415),_0x44d99e=await _0x555d74['run']({'options':{..._0x87a415,..._0x9f2db1},'args':[_0x32f9fc],'tdx':_0x3612ee});gracefulExit(_0x44d99e);});const journeyCmd=program['command'](a2_0x329bdf(0xd8))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2d9)),journeyListAction=async(_0x5df097,_0x43959f)=>{const _0x13907e=a2_0x329bdf,_0x73dae2=new JourneyListCommand(),_0x21caa7=program[_0x13907e(0x1fd)](),_0xc895c8=await createTDXInstance(_0x21caa7),_0x119701=await _0x73dae2[_0x13907e(0x13a)]({'options':{..._0x21caa7,..._0x43959f},'args':_0x5df097?[_0x5df097]:[],'tdx':_0xc895c8});gracefulExit(_0x119701);};journeyCmd['command']('list\x20[pattern]')['description'](a2_0x329bdf(0x1b6))[a2_0x329bdf(0x27b)](journeyListAction),journeyCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0xe3))['description'](a2_0x329bdf(0xb9))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2c0),a2_0x329bdf(0x23d))['option']('--include-stats',a2_0x329bdf(0x1e7))[a2_0x329bdf(0x27b)](async(_0x1e9d63,_0x57fa0b)=>{const _0x40b7cc=a2_0x329bdf,_0x544d0d=new JourneyViewCommand(),_0x143988=program[_0x40b7cc(0x1fd)](),_0x13d682=await createTDXInstance(_0x143988),_0x1585e2=await _0x544d0d['run']({'options':{..._0x143988,..._0x57fa0b},'args':[_0x1e9d63],'tdx':_0x13d682});gracefulExit(_0x1585e2);}),journeyCmd['command'](a2_0x329bdf(0x1bc))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2e3))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x1ec),'Show\x20stats\x20for\x20specific\x20stage')['option'](a2_0x329bdf(0x14f),a2_0x329bdf(0x1ba))['option']('--to\x20<date>',a2_0x329bdf(0x2bc))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x29d),a2_0x329bdf(0x30c))['action'](async(_0x292655,_0x429a21)=>{const _0x39a3be=a2_0x329bdf,_0x4dd291=new JourneyStatsCommand(),_0x4366bc=program[_0x39a3be(0x1fd)](),_0x30b3aa=await createTDXInstance(_0x4366bc),_0x58790c=await _0x4dd291[_0x39a3be(0x13a)]({'options':{..._0x4366bc,..._0x429a21},'args':[_0x292655],'tdx':_0x30b3aa});gracefulExit(_0x58790c);}),journeyCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x20b))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0xed))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x2ff),a2_0x329bdf(0xae))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x14f),'Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x19f),a2_0x329bdf(0x2bc))['option'](a2_0x329bdf(0x1be),a2_0x329bdf(0xb1),_0x577bc1=>{const _0x1044b2=a2_0x329bdf,_0x1807be=parseInt(_0x577bc1,0xa);if(isNaN(_0x1807be))throw new Error(_0x1044b2(0xac)+_0x577bc1+_0x1044b2(0xa8));return _0x1807be;})[a2_0x329bdf(0x27b)](async(_0x29a343,_0x5668bc)=>{const _0x1016d3=a2_0x329bdf,_0x2f31b7=new JourneyTrafficCommand(),_0x35fe6c=program[_0x1016d3(0x1fd)](),_0x427529=await createTDXInstance(_0x35fe6c),_0x5c9321=await _0x2f31b7[_0x1016d3(0x13a)]({'options':{..._0x35fe6c,..._0x5668bc},'args':[_0x29a343],'tdx':_0x427529});gracefulExit(_0x5c9321);}),journeyCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x131))[a2_0x329bdf(0x1b2)]('Pause\x20a\x20running\x20journey')[a2_0x329bdf(0x27b)](async(_0x10f76f,_0x1cc37f)=>{const _0x261703=a2_0x329bdf,_0x4c56f7=new JourneyPauseCommand(),_0x570b64=program['opts'](),_0x49c36b=await createTDXInstance(_0x570b64),_0x4de3de=await _0x4c56f7[_0x261703(0x13a)]({'options':{..._0x570b64,..._0x1cc37f},'args':[_0x10f76f],'tdx':_0x49c36b});gracefulExit(_0x4de3de);}),journeyCmd['command']('resume\x20<name-or-path>')[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x184))['action'](async(_0x29841d,_0x1bd6e8)=>{const _0x2d1471=a2_0x329bdf,_0x13400f=new JourneyResumeCommand(),_0x4d8925=program[_0x2d1471(0x1fd)](),_0x38e4ad=await createTDXInstance(_0x4d8925),_0x33bfad=await _0x13400f[_0x2d1471(0x13a)]({'options':{..._0x4d8925,..._0x1bd6e8},'args':[_0x29841d],'tdx':_0x38e4ad});gracefulExit(_0x33bfad);}),journeyCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x331))['description'](a2_0x329bdf(0x21b))[a2_0x329bdf(0x2da)]('--dry-run',a2_0x329bdf(0x15e))[a2_0x329bdf(0x27b)](async(_0x2587fb,_0x573128)=>{const _0x3b1ff3=a2_0x329bdf,_0x1b9d2b=new JourneyPullCommand(),_0x152665=program[_0x3b1ff3(0x1fd)](),_0x49c217=await createTDXInstance(_0x152665),_0x184776=await _0x1b9d2b[_0x3b1ff3(0x13a)]({'options':{..._0x152665,..._0x573128},'args':_0x2587fb?[_0x2587fb]:[],'tdx':_0x49c217});gracefulExit(_0x184776);}),journeyCmd['command'](a2_0x329bdf(0x232))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2c8))['action'](async(_0x26c3b2,_0x13e6e9)=>{const _0x50c323=a2_0x329bdf,_0x5cc431=new JourneyPushCommand(),_0x4345b2=program['opts'](),_0x1b8965=await createTDXInstance(_0x4345b2),_0xafe526=await _0x5cc431[_0x50c323(0x13a)]({'options':{..._0x4345b2,..._0x13e6e9},'args':_0x26c3b2?[_0x26c3b2]:[],'tdx':_0x1b8965});gracefulExit(_0xafe526);}),journeyCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x321))['description']('Show\x20journey\x20table\x20column-to-step\x20mapping')[a2_0x329bdf(0x27b)](async(_0xaaf5e5,_0x530c6d)=>{const _0x4f16db=a2_0x329bdf,_0x225203=new JourneyColumnsCommand(),_0x819a65=program[_0x4f16db(0x1fd)](),_0x11307e=await createTDXInstance(_0x819a65),_0x4c22d2=await _0x225203[_0x4f16db(0x13a)]({'options':{..._0x819a65,..._0x530c6d},'args':[_0xaaf5e5],'tdx':_0x11307e});gracefulExit(_0x4c22d2);}),journeyCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x2b6))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0xb6))[a2_0x329bdf(0x27b)](async(_0xe76fe0,_0x51bed3)=>{const _0x406575=a2_0x329bdf,_0x552a4e=new JourneyActivationsCommand(),_0x25e462=program[_0x406575(0x1fd)](),_0x6886d0=await createTDXInstance(_0x25e462),_0x38813c=await _0x552a4e['run']({'options':{..._0x25e462,..._0x51bed3},'args':[_0xe76fe0],'tdx':_0x6886d0});gracefulExit(_0x38813c);}),journeyCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x1f5))['description'](a2_0x329bdf(0x11a))[a2_0x329bdf(0x27b)](async(_0x288f44,_0x47978d)=>{const _0x30f61c=a2_0x329bdf,_0x257552=new JourneyVersionsCommand(),_0x48962c=program[_0x30f61c(0x1fd)](),_0x539eb7=await createTDXInstance(_0x48962c),_0x3d54c8=await _0x257552['run']({'options':{..._0x48962c,..._0x47978d},'args':[_0x288f44],'tdx':_0x539eb7});gracefulExit(_0x3d54c8);});const journeyVersionCmd=journeyCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x32f))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x2c7));journeyVersionCmd[a2_0x329bdf(0x2f7)]('create\x20<name-or-path>')[a2_0x329bdf(0x1b2)]('Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey')['action'](async(_0x1623c4,_0x107a4c)=>{const _0x488636=a2_0x329bdf,_0x273b8d=new JourneyVersionCreateCommand(),_0x5e45ed=program[_0x488636(0x1fd)](),_0x580ce0=await createTDXInstance(_0x5e45ed),_0x32ce9a=await _0x273b8d['run']({'options':{..._0x5e45ed,..._0x107a4c},'args':[_0x1623c4],'tdx':_0x580ce0});gracefulExit(_0x32ce9a);}),journeyVersionCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0xe3))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x1c0))['requiredOption'](a2_0x329bdf(0x329),a2_0x329bdf(0x334))[a2_0x329bdf(0x27b)](async(_0x4fac5f,_0x2e7317)=>{const _0x2f1527=a2_0x329bdf,_0xed5117=new JourneyVersionViewCommand(),_0x5f1a0e=program[_0x2f1527(0x1fd)](),_0x1289b2=await createTDXInstance(_0x5f1a0e),_0x5dc800=await _0xed5117[_0x2f1527(0x13a)]({'options':{..._0x5f1a0e,..._0x2e7317},'args':[_0x4fac5f],'tdx':_0x1289b2});gracefulExit(_0x5dc800);}),journeyCmd['command'](a2_0x329bdf(0x2ee))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x18e))[a2_0x329bdf(0x27b)](async(_0x2d393f,_0x4e40d3)=>{const _0x98e8e5=a2_0x329bdf,_0x32a92e=new JourneyValidateCommand(),_0x249b78=program[_0x98e8e5(0x1fd)](),_0x3227a1=await createTDXInstance(_0x249b78),_0x2be1e8=await _0x32a92e[_0x98e8e5(0x13a)]({'options':{..._0x249b78,..._0x4e40d3},'args':_0x2d393f?[_0x2d393f]:[],'tdx':_0x3227a1});gracefulExit(_0x2be1e8);}),program['command'](a2_0x329bdf(0x176))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x25b))[a2_0x329bdf(0x27b)](journeyListAction);const agentSyncCmd=program[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x20d))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x119));agentSyncCmd['command']('pull\x20[project]\x20[agent-name]')[a2_0x329bdf(0x1b2)]('Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files')[a2_0x329bdf(0x2da)]('-o,\x20--output\x20<dir>',a2_0x329bdf(0x120))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x211),a2_0x329bdf(0x24e))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x1dc),a2_0x329bdf(0x138))[a2_0x329bdf(0x27b)](async(_0x376c74,_0xb9f9a2,_0x46ba8a)=>{const _0xf19b79=a2_0x329bdf,_0x46633d=new AgentPullCommand(),_0x3a175b=program[_0xf19b79(0x1fd)](),_0x2b3629=await createTDXInstance(_0x3a175b),_0x27f9bc=[];if(_0x376c74)_0x27f9bc['push'](_0x376c74);if(_0xb9f9a2)_0x27f9bc[_0xf19b79(0x91)](_0xb9f9a2);const _0x598bf7=await _0x46633d[_0xf19b79(0x13a)]({'options':{..._0x3a175b,..._0x46ba8a},'args':_0x27f9bc,'tdx':_0x2b3629});gracefulExit(_0x598bf7);}),agentSyncCmd['command'](a2_0x329bdf(0x183))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x104))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x211),'Push\x20without\x20confirmation')[a2_0x329bdf(0x27b)](async(_0x1403ea,_0x1d5871)=>{const _0x3c6cf5=a2_0x329bdf,_0x2dbaad=new AgentPushCommand(),_0x4979c7=program[_0x3c6cf5(0x1fd)](),_0xb6a62c=await createTDXInstance(_0x4979c7),_0xaad3e5=await _0x2dbaad[_0x3c6cf5(0x13a)]({'options':{..._0x4979c7,..._0x1d5871},'args':_0x1403ea?[_0x1403ea]:[],'tdx':_0xb6a62c});gracefulExit(_0xaad3e5);}),agentSyncCmd['command']('clone\x20[source]')[a2_0x329bdf(0x1b2)]('Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x29a),a2_0x329bdf(0x2dc))[a2_0x329bdf(0x27b)](async(_0x46d4b7,_0x23f52c)=>{const _0x1ea5b4=a2_0x329bdf,_0x399118=new AgentCloneCommand(),_0x579bdc=program[_0x1ea5b4(0x1fd)](),_0x2225a1=await createTDXInstance(_0x579bdc),_0x64e769=await _0x399118[_0x1ea5b4(0x13a)]({'options':{..._0x579bdc,..._0x23f52c},'args':_0x46d4b7?[_0x46d4b7]:[],'tdx':_0x2225a1});gracefulExit(_0x64e769);}),agentSyncCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x8d))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0xf1))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x28c),a2_0x329bdf(0xfb))[a2_0x329bdf(0x2da)]('--tags\x20<tags>',a2_0x329bdf(0x267))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x242),a2_0x329bdf(0xba))[a2_0x329bdf(0x2da)]('--no-eval',a2_0x329bdf(0x328))['option'](a2_0x329bdf(0x33c),'Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')[a2_0x329bdf(0x27b)](async(_0x534b71,_0x5ad820)=>{const _0x4a4522=a2_0x329bdf,_0x59ad76=new AgentTestCommand(),_0x469b4e=program[_0x4a4522(0x1fd)](),_0x2f6088=await createTDXInstance(_0x469b4e),_0x512783=await _0x59ad76[_0x4a4522(0x13a)]({'options':{..._0x469b4e,..._0x5ad820},'args':_0x534b71?[_0x534b71]:[],'tdx':_0x2f6088});gracefulExit(_0x512783);}),agentSyncCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x237))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x180))[a2_0x329bdf(0x27b)](llmAgentListAction),agentSyncCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x2fe))['description'](a2_0x329bdf(0xe5))[a2_0x329bdf(0x27b)](async(_0x22e13,_0x2fd704)=>{const _0x11a3fe=a2_0x329bdf,_0x577739=new LLMAgentShowCommand(),_0x4be445=program[_0x11a3fe(0x1fd)](),_0x12209e=await createTDXInstance(_0x4be445),_0x563f8f=await _0x577739[_0x11a3fe(0x13a)]({'options':{..._0x4be445,..._0x2fd704},'args':[_0x22e13],'tdx':_0x12209e});gracefulExit(_0x563f8f);}),agentSyncCmd['command'](a2_0x329bdf(0x25a))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x24a))['option'](a2_0x329bdf(0x313),'System\x20prompt/instructions\x20(default:\x20empty)')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x229),a2_0x329bdf(0x219),a2_0x329bdf(0x2e8))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x222),'Starter\x20message')[a2_0x329bdf(0x2da)](a2_0x329bdf(0x96),a2_0x329bdf(0xc0),'4')['option'](a2_0x329bdf(0x13d),a2_0x329bdf(0x159),a2_0x329bdf(0x11f))['action'](async(_0x5a660a,_0x5741c9)=>{const _0x56f583=a2_0x329bdf,_0x52e091=new LLMAgentCreateCommand(),_0x136022=program[_0x56f583(0x1fd)](),_0x30ae73=await createTDXInstance(_0x136022),_0x3e66e0=await _0x52e091[_0x56f583(0x13a)]({'options':{..._0x136022,..._0x5741c9},'args':[_0x5a660a],'tdx':_0x30ae73});gracefulExit(_0x3e66e0);}),agentSyncCmd['command'](a2_0x329bdf(0x289))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x1d1))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x139),a2_0x329bdf(0x2aa))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x240),a2_0x329bdf(0x25d))[a2_0x329bdf(0x2da)]('--description\x20<text>',a2_0x329bdf(0x2bf))[a2_0x329bdf(0x2da)](a2_0x329bdf(0x222),'Starter\x20message')['action'](async(_0x2b592d,_0x3fcc05)=>{const _0x242b20=a2_0x329bdf,_0x1c65cf=new LLMAgentUpdateCommand(),_0x21070e=program['opts'](),_0x2e20c7=await createTDXInstance(_0x21070e),_0x417231=await _0x1c65cf[_0x242b20(0x13a)]({'options':{..._0x21070e,..._0x3fcc05},'args':[_0x2b592d],'tdx':_0x2e20c7});gracefulExit(_0x417231);}),agentSyncCmd[a2_0x329bdf(0x2f7)](a2_0x329bdf(0x151))[a2_0x329bdf(0x1b2)](a2_0x329bdf(0x182))[a2_0x329bdf(0x27b)](async(_0x4f76c3,_0x5a6754)=>{const _0x13082b=a2_0x329bdf,_0x4c0c84=new LLMAgentDeleteCommand(),_0x5d9202=program['opts'](),_0x567b04=await createTDXInstance(_0x5d9202),_0x58db8a=await _0x4c0c84[_0x13082b(0x13a)]({'options':{..._0x5d9202,..._0x5a6754},'args':[_0x4f76c3],'tdx':_0x567b04});gracefulExit(_0x58db8a);}),program['command'](a2_0x329bdf(0x23e),{'hidden':!![]})[a2_0x329bdf(0x27b)](()=>{const _0x1a20c3=a2_0x329bdf;function _0x35ff90(_0xd65b23,_0x797d88){const _0x1512fc=a2_0x503d,_0x359692=[];for(const _0x400d06 of _0xd65b23[_0x1512fc(0x1f9)]){if(_0x400d06[_0x1512fc(0x1fe)])continue;const _0x54623f=_0x797d88?_0x797d88+'\x20'+_0x400d06[_0x1512fc(0x18a)]():_0x400d06[_0x1512fc(0x18a)](),_0x4aa4d9=_0x54623f[_0x1512fc(0x1af)]('\x20')[0x0],_0x22f116=COMMAND_CATEGORIES[_0x1512fc(0x1f4)](_0x8f7896=>_0x8f7896['commands'][_0x1512fc(0x1a6)](_0x4aa4d9)),_0x16398e=_0x22f116?.[_0x1512fc(0x18a)]??'';if(_0x400d06[_0x1512fc(0x1f9)][_0x1512fc(0x18c)]>0x0)_0x359692[_0x1512fc(0x91)](..._0x35ff90(_0x400d06,_0x54623f));else{const _0x4b5f05=(_0x400d06[_0x1512fc(0x13e)]||[])[_0x1512fc(0x1bd)](_0x2c9e52=>{const _0x6f5a40=_0x1512fc,_0x345ccb=_0x2c9e52[_0x6f5a40(0xeb)]?_0x2c9e52['name']()+'...':_0x2c9e52['name']();return _0x2c9e52['required']?'<'+_0x345ccb+'>':'['+_0x345ccb+']';})['join']('\x20'),_0x485afe=_0x400d06[_0x1512fc(0x110)][_0x1512fc(0x305)](_0x4fb375=>!_0x4fb375[_0x1512fc(0x163)]&&_0x4fb375['long']!==_0x1512fc(0x137))[_0x1512fc(0x1bd)](_0x36f35e=>({'flags':_0x36f35e[_0x1512fc(0x9b)],'description':_0x36f35e['description']}));_0x359692['push']({'name':_0x54623f,'description':_0x400d06[_0x1512fc(0x1b2)](),'group':_0x16398e,'usage':_0x4b5f05,'options':_0x485afe});}}return _0x359692;}console['log'](JSON[_0x1a20c3(0x213)](_0x35ff90(program,''))),process[_0x1a20c3(0x317)](0x0);});export{program};export function runCLI(){const _0x47a3d6=a2_0x329bdf,_0x1b2d35=!process[_0x47a3d6(0x1a2)][_0x47a3d6(0x1f1)](0x2)[_0x47a3d6(0x18c)];showBriefHelp=_0x1b2d35,program['parse'](process[_0x47a3d6(0x1a2)]);_0x1b2d35&&program[_0x47a3d6(0x338)]();if(process[_0x47a3d6(0xf4)]['isTTY']&&process[_0x47a3d6(0x1a2)][_0x47a3d6(0x18c)]>0x2&&!isDevVersion()){const _0x24a8c8=loadReleaseChannel();checkForUpdate(currentVersion,_0x24a8c8)[_0x47a3d6(0x17f)](_0xdd6b55=>{_0xdd6b55&&displayUpdateNotification(_0xdd6b55);})[_0x47a3d6(0x304)](()=>{});}}
|