@treasuredata/tdx 0.26.7 → 0.27.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.js +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.js +1 -1
- package/dist/commands/agent-test-command.js +1 -1
- package/dist/commands/api-command.js +1 -1
- package/dist/commands/auth-command.js +1 -1
- package/dist/commands/chat-command.js +1 -1
- package/dist/commands/claude-command.d.ts.map +1 -1
- package/dist/commands/claude-command.js +1 -1
- package/dist/commands/claude-command.js.map +1 -1
- package/dist/commands/claude-statusline-command.d.ts +4 -2
- package/dist/commands/claude-statusline-command.d.ts.map +1 -1
- package/dist/commands/claude-statusline-command.js +1 -1
- package/dist/commands/claude-statusline-command.js.map +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/describe.js +1 -1
- package/dist/commands/engage-command.js +1 -1
- package/dist/commands/job-command.js +1 -1
- package/dist/commands/journey-command.d.ts.map +1 -1
- package/dist/commands/journey-command.js +1 -1
- package/dist/commands/journey-command.js.map +1 -1
- package/dist/commands/journey-validate-command.js +1 -1
- package/dist/commands/llm-command.d.ts.map +1 -1
- package/dist/commands/llm-command.js +1 -1
- package/dist/commands/llm-command.js.map +1 -1
- package/dist/commands/mcp-command.js +1 -1
- package/dist/commands/parent-segment-command.js +1 -1
- package/dist/commands/profile-command.js +1 -1
- package/dist/commands/profiles-command.js +1 -1
- package/dist/commands/query-command.js +1 -1
- package/dist/commands/schedule-command.js +1 -1
- package/dist/commands/segment-command.js +1 -1
- package/dist/commands/segment-create-command.js +1 -1
- package/dist/commands/segment-fields-command.js +1 -1
- package/dist/commands/segment-pull-command.js +1 -1
- package/dist/commands/segment-push-command.d.ts.map +1 -1
- package/dist/commands/segment-push-command.js +1 -1
- package/dist/commands/segment-push-command.js.map +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.d.ts.map +1 -1
- package/dist/commands/use-command.js +1 -1
- package/dist/commands/use-command.js.map +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.d.ts +2 -2
- package/dist/proxy/claude-usage-tracker.d.ts.map +1 -1
- package/dist/proxy/claude-usage-tracker.js +1 -1
- package/dist/proxy/claude-usage-tracker.js.map +1 -1
- package/dist/proxy/passthrough-server.d.ts +18 -3
- package/dist/proxy/passthrough-server.d.ts.map +1 -1
- package/dist/proxy/passthrough-server.js +1 -1
- package/dist/proxy/passthrough-server.js.map +1 -1
- package/dist/proxy/sse-usage-parser.d.ts +20 -2
- package/dist/proxy/sse-usage-parser.d.ts.map +1 -1
- package/dist/proxy/sse-usage-parser.js +1 -1
- package/dist/proxy/sse-usage-parser.js.map +1 -1
- package/dist/sdk/agent/agent-config.js +1 -1
- package/dist/sdk/agent/agent-ref-parser.js +1 -1
- package/dist/sdk/agent/agent-yaml.js +1 -1
- package/dist/sdk/agent/test/evaluator.js +1 -1
- package/dist/sdk/agent/test/executor.js +1 -1
- package/dist/sdk/agent/test/index.js +1 -1
- package/dist/sdk/agent/test/output.js +1 -1
- package/dist/sdk/agent/test/parser.js +1 -1
- package/dist/sdk/agent/tool-target-registry.js +1 -1
- package/dist/sdk/api.js +1 -1
- package/dist/sdk/client/cdp-api-client.d.ts +9 -0
- package/dist/sdk/client/cdp-api-client.d.ts.map +1 -1
- package/dist/sdk/client/cdp-api-client.js +1 -1
- package/dist/sdk/client/cdp-api-client.js.map +1 -1
- package/dist/sdk/client/endpoints.js +1 -1
- package/dist/sdk/client/engage-api-client.js +1 -1
- package/dist/sdk/client/http-client.js +1 -1
- package/dist/sdk/client/llm-api-client.js +1 -1
- package/dist/sdk/client/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/engage.js +1 -1
- package/dist/sdk/errors.js +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/io/index.js +1 -1
- package/dist/sdk/io/node-filesystem.js +1 -1
- package/dist/sdk/job.js +1 -1
- package/dist/sdk/journey.d.ts.map +1 -1
- package/dist/sdk/journey.js +1 -1
- package/dist/sdk/journey.js.map +1 -1
- package/dist/sdk/llm/chat-cache.js +1 -1
- package/dist/sdk/llm/index.js +1 -1
- package/dist/sdk/llm/llm-backup-utils.js +1 -1
- package/dist/sdk/llm/model-factors.d.ts +0 -4
- package/dist/sdk/llm/model-factors.d.ts.map +1 -1
- package/dist/sdk/llm/model-factors.js +1 -1
- package/dist/sdk/llm/model-factors.js.map +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 +2 -2
- 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.js +1 -1
- package/dist/sdk/segment/file-discovery.js +1 -1
- package/dist/sdk/segment/journey-utils.d.ts.map +1 -1
- package/dist/sdk/segment/journey-utils.js +1 -1
- package/dist/sdk/segment/journey-utils.js.map +1 -1
- package/dist/sdk/segment/journey-validator.d.ts +3 -0
- package/dist/sdk/segment/journey-validator.d.ts.map +1 -1
- package/dist/sdk/segment/journey-validator.js +1 -1
- package/dist/sdk/segment/journey-validator.js.map +1 -1
- package/dist/sdk/segment/journey-yaml.d.ts.map +1 -1
- package/dist/sdk/segment/journey-yaml.js +1 -1
- package/dist/sdk/segment/journey-yaml.js.map +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/pull-workflow.js.map +1 -1
- package/dist/sdk/segment/push-recovery.js +1 -1
- package/dist/sdk/segment/push-workflow.d.ts +8 -0
- package/dist/sdk/segment/push-workflow.d.ts.map +1 -1
- package/dist/sdk/segment/push-workflow.js +1 -1
- package/dist/sdk/segment/push-workflow.js.map +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.js +1 -1
- package/dist/sdk/segment/types/segment-def.d.ts +10 -1
- package/dist/sdk/segment/types/segment-def.d.ts.map +1 -1
- package/dist/sdk/segment/validate-files.js +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.js +1 -1
- package/dist/sdk/types/cdp.d.ts +23 -15
- package/dist/sdk/types/cdp.d.ts.map +1 -1
- package/dist/sdk/types/index.js +1 -1
- package/dist/sdk/types/progress.js +1 -1
- package/dist/sdk/user.js +1 -1
- package/dist/sdk/util/format-detector.js +1 -1
- package/dist/sdk/util/formatters.js +1 -1
- package/dist/sdk/util/index.js +1 -1
- package/dist/sdk/util/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 +3 -3
- package/dist/utils/port.d.ts +0 -18
- package/dist/utils/port.d.ts.map +0 -1
- package/dist/utils/port.js +0 -1
- package/dist/utils/port.js.map +0 -1
package/dist/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a2_0x6964e6=a2_0x28a3;(function(_0x21d2cc,_0x3dbae8){const _0x2f65ca=a2_0x28a3,_0xf06c2e=_0x21d2cc();while(!![]){try{const _0x40ad45=-parseInt(_0x2f65ca(0x364))/0x1+-parseInt(_0x2f65ca(0x230))/0x2+-parseInt(_0x2f65ca(0x3c6))/0x3*(-parseInt(_0x2f65ca(0x38c))/0x4)+parseInt(_0x2f65ca(0x27f))/0x5*(parseInt(_0x2f65ca(0x379))/0x6)+-parseInt(_0x2f65ca(0x44d))/0x7+-parseInt(_0x2f65ca(0x344))/0x8+parseInt(_0x2f65ca(0x237))/0x9;if(_0x40ad45===_0x3dbae8)break;else _0xf06c2e['push'](_0xf06c2e['shift']());}catch(_0x1ecf00){_0xf06c2e['push'](_0xf06c2e['shift']());}}}(a2_0x2cf0,0x5b611));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,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand}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';function a2_0x28a3(_0x357dbb,_0x9ba9c7){_0x357dbb=_0x357dbb-0x1d6;const _0x2cf031=a2_0x2cf0();let _0x28a3c4=_0x2cf031[_0x357dbb];return _0x28a3c4;}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';function a2_0x2cf0(){const _0x128ee3=['list\x20[project]','--schedule-option\x20<value>','Open\x20parent\x20segment\x20in\x20web\x20browser','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','--plaintext\x20<text>','Continue\x20most\x20recent\x20conversation','--json-columns\x20<cols>','Timezone\x20(e.g.,\x20America/Los_Angeles)','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','309807rOkJBH','agents\x20[pattern]','requiredOption','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','describe\x20[table]','Overwrite\x20local\x20changes\x20without\x20confirmation','launch\x20<name-or-id>','--cron\x20<expression>','--add-attributes-file\x20<file>','update\x20<name-or-id>','template','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','List\x20available\x20connector\x20types','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','argv','Workspace\x20name','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','parents\x20[pattern]','Customer\x20group\x20from\x20JSON\x20file','Add\x20attributes\x20as\x20JSON\x20string','Timezone\x20for\x20cron','--folder\x20<name>','pause\x20<name-or-id>','log','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Folder\x20name\x20for\x20organization','-p,\x20--profile\x20<name>','stderr','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','Starter\x20message','Project\x20description','push','End\x20time\x20filter\x20(ISO\x208601\x20format)','Workflow\x20(Digdag)\x20management\x20commands','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','HTML\x20template\x20content','0.7','--priority\x20<-2~2>','--subject\x20<subject>','--rule\x20<json>','--customer-group\x20<json>','optionDescription','Attributes\x20from\x20JSON\x20file','Output\x20as\x20JSON','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','--tsv','Clear\x20session\x20context','gitRevision','--behavior\x20[name]','journeys\x20[pattern]','--force','Output\x20file\x20path','show\x20[name]','slice','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','--version','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','--table','workspace','preAction','_list-commands','Update\x20a\x20scheduled\x20query','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','--attributes-file\x20<file>','long','--include-stats','logs','attempts\x20[project]','DEBUG','optionTerm','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','Folder\x20description','LLM\x20project\x20to\x20use\x20(overrides\x20context)','--last','projects\x20[pattern]','\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','INVALID_ARGUMENT','use\x20<project-name>','--kind\x20<type>','Database\x20name','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Preview\x20changes\x20without\x20writing\x20files','Skip\x20validation\x20of\x20.dig\x20files','trace','--stream','history\x20[chat-id]','Master\x20table\x20name','length','use\x20[resource]\x20[value]','--catalog\x20<catalog>','Invalid\x20editor\x20type:\x20','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','Delete\x20a\x20workspace','Skip\x20confirmation\x20prompts','option','Delete\x20a\x20campaign','--parent-folder\x20<name>','Create\x20an\x20email\x20template','Override\x20project\x20name','json','Resume\x20a\x20conversation\x20(shows\x20selector)','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','--trace','command','claude-4.5-sonnet','Parse\x20and\x20validate\x20without\x20executing','allowUnknownOption','Read\x20SQL\x20query\x20from\x20file','Show\x20segment\x20details\x20(alias\x20for\x20view)','isTTY','Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)','Campaign\x20name','validate\x20[target]','Output\x20as\x20JSON\x20Lines','jobs','campaigns\x20[pattern]','Delete\x20a\x20scheduled\x20query','chat\x20[message...]','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','--retry-limit\x20<0~32>','pull\x20[name]','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Update\x20an\x20email\x20template','usage','--from\x20<timestamp>','folders\x20<parent_name>','Make\x20segment\x20invisible\x20(default:\x20visible)','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','2073568xoDNZt','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','--customer-group-file\x20<file>','setup','Delete\x20an\x20agent','format','--from-task\x20<task>','-f,\x20--force','push\x20[parent_or_file]','--no-proxy','Add\x20behaviors\x20as\x20JSON\x20string','Table\x20management\x20commands','Data\x20connection\x20management\x20(for\x20activations/exports)','--attribute\x20[name]','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','CDP\x20segment\x20management\x20commands','Filtering\x20rule\x20as\x20JSON\x20string','Email\x20subject\x20template','find','[attempt-id]','--delete','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','-r,\x20--resume','System\x20prompt/instructions\x20(default:\x20empty)','Starting\x20offset\x20(default:\x200)','--dry-run','\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','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','create\x20<name>','Skip\x20population\x20counting','show\x20<agent-name>','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','view\x20<name-or-path>','Run\x20a\x20scheduled\x20query\x20immediately','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Delete\x20an\x20email\x20template','exit','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','tasks','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','LLM\x20project\x20management','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Query\x20engine\x20version','-d,\x20--database\x20<name>','Commands:','Behaviors\x20from\x20JSON\x20file','Workflow\x20parameter\x20(repeatable)','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','databases\x20[pattern]','stdout','segment','Skip\x20confirmation\x20prompt','parent','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','view\x20[name]','Email\x20sender\x20ID\x20for\x20delivery','resume\x20<name-or-id>','--new','workspaces\x20[pattern]','jsonl','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','show\x20<folder_ref>','[action]','--master','map','--rule-file\x20<file>','Scheduled\x20query\x20management\x20commands','Resume\x20a\x20paused\x20campaign','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','--to\x20<n>','--jsonl','--description\x20<text>','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','Personalization\x20service\x20management','Database\x20to\x20query\x20(default:\x20information_schema)','Show\x20job\x20details','Temperature\x20(0.0-2.0,\x20default:\x200.7)','--reason\x20<text>','Cron\x20expression\x20for\x20scheduling','Pull\x20child\x20segments\x20to\x20YAML\x20files','segments\x20[path]','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','remove\x20<name>','show\x20<name-or-id>','fields\x20[parent_name]','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','desc\x20[name]','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','--timezone\x20<tz>','--llm-project\x20<name>','--html\x20<html>','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Create\x20a\x20new\x20LLM\x20project','show\x20<job-id>','--segment\x20<path>','subcommandDescription','project','debug','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','--name\x20<new-name>','182864xSaHDf','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','Updated\x20schedule\x20option','sql\x20[segment_name]','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Reason\x20for\x20killing\x20the\x20attempt','9391707zfPkic','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','-1d','delete\x20<args...>','argumentTerm','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','validate\x20[file]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','flags','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','create','Create\x20a\x20new\x20profile','\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','noColor','variadic','options','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Add\x20behaviors\x20from\x20JSON\x20file','Output\x20directory','Create\x20a\x20scheduled\x20query','Pull\x20workflow\x20project\x20to\x20local\x20folder','stats\x20<name-or-path>','\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','parse','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Options:','-w,\x20--web','Delete\x20an\x20LLM\x20project','Campaign\x20description','Set\x20a\x20profile\x20configuration\x20value','Ending\x20offset\x20(default:\x2020)','Filtering\x20rule\x20from\x20JSON\x20file','trino','Job\x20management\x20commands','alias','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','run\x20[workflow]','--enriched','database','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','buildTime','Read\x20request\x20body\x20from\x20file','--timeout\x20<seconds>','Workflow\x20project\x20management','--schedule-type\x20<type>','campaign','RT\x202.0\x20configuration\x20management','--name\x20<new_name>','Generate\x20test\x20conversations\x20without\x20evaluation','stringify','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','summary','Get\x20job\x20results','Custom\x20revision\x20name\x20(default:\x20timestamp)','Create\x20a\x20new\x20campaign','Retry\x20limit\x20(0\x20to\x2032)','Output\x20folder\x20(default:\x20{project_name}.llm)','preview\x20[name]','clone\x20[source]','--revision\x20<revision>','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','Include\x20retried\x20attempts','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','[DEPRECATED]\x20Segment\x20folder\x20management','job','--limit\x20<number>','5cIhAMA','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','information_schema','Plaintext\x20template\x20content','delete\x20<agent-name>','Start\x20a\x20new\x20chat\x20session','Open\x20segment\x20in\x20web\x20browser','--interval\x20<range>','Read\x20query\x20from\x20file','Workspace\x20name\x20(required)','Update\x20a\x20campaign','Preview\x20changes\x20without\x20pushing','--workspace\x20<name>','us01','--tags\x20<tags>','types','Submit\x20a\x20job','--max-depth\x20<depth>','New\x20template\x20name','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Query\x20type:\x20trino\x20or\x20hive','--result\x20<url>','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Show\x20schedule\x20details','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','--name\x20<text>','templates\x20[pattern]','desc','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','test\x20[path]','Updated\x20timezone','-C,\x20--directory\x20<path>','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','--database\x20<name>','Directory\x20does\x20not\x20exist:\x20','[EXPERIMENTAL]\x20Show\x20chat\x20log','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','claude\x20[args...]','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','Master\x20database\x20name','New\x20campaign\x20name','Maximum\x20recursion\x20depth\x20(default:\x2010)','New\x20workspace\x20name','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','--agent\x20<ref>','...','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Database\x20name\x20(default:\x20information_schema)','List\x20all\x20data\x20connections','view\x20[segment_name]','Create\x20a\x20new\x20agent\x20in\x20current\x20project','-d,\x20--database\x20<database>','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','--limit\x20<n>','--invisible','error','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','--status\x20<status>','workflow','retry\x20<session-id>','Pull\x20specific\x20revision\x20(default:\x20latest)','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Validate\x20journey\x20YAML\x20files\x20locally','--name\x20<names>','-f,\x20--file\x20<path>','--session\x20<id>','Result\x20output\x20destination\x20URL','--attempt-id\x20<id>','outputHelp','argument','List\x20journeys\x20(alias\x20for\x20journey\x20list)','--follow','--chat-id\x20<id>','--no-count-population','clear','validate\x20[name]','update\x20<segment_name>','tdx','--include-retried','--job-type\x20<type>','--skip-validation','commands','--type\x20<type>','GET','Job\x20priority\x20(-2\x20to\x202)','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','List\x20all\x20users\x20in\x20the\x20account','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','-u,\x20--use','includes','kill\x20<job-id>','Campaign\x20management','--json','--full','Maximum\x20tool\x20iterations\x20(default:\x204)','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','--table\x20<table>','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','list\x20[name]','Arguments:','required','--time\x20<iso8601>','isArray','--add-behaviors\x20<json>','after','--result\x20<target>','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','description','submit\x20[query]','--prompt\x20<text>','push\x20[target]','--start-at\x20<datetime>','Start\x20time\x20filter\x20(ISO\x208601\x20format)','connection','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','padWidth','User\x20management\x20commands','--to\x20<timestamp>','apiKey','-o,\x20--output\x20<file>','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Show\x20master\x20table\x20sample\x20data','schema\x20<type>','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data',',\x20version\x20','Output\x20file\x20path\x20(default:\x20<name>.yml)','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','action','Authentication\x20management','session','--params\x20<json>','tdx\x20','api\x20[endpoint]','-d,\x20--database\x20<db>','\x20-\x20built\x20','--data\x20<data>','status','New\x20segment\x20name','--name\x20<name>','Template\x20name','--from\x20<n>','pull\x20<project>\x20[target-dir]','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','Segment\x20description','TRACE','resume\x20<name-or-path>','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','--session-id\x20<id>','-X,\x20--method\x20<method>','Force\x20retry\x20even\x20if\x20not\x20failed','--delay\x20<seconds>','Workflow\x20attempt\x20management','Duplicate\x20a\x20campaign','Create\x20segment\x20folder','Move\x20to\x20folder','Create\x20a\x20workspace','\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','--no-eval','Preview\x20operation\x20without\x20executing','--behaviors\x20<json>','show\x20<name>','--in\x20<name>','List\x20all\x20available\x20profiles','Show\x20segment\x20schema\x20(column\x20types)','logLevel','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Resume\x20from\x20specific\x20task\x20(retry)','--session-time\x20<time>','Run\x20tests\x20for\x20an\x20LLM\x20agent','settings\x20<type>','argumentDescription','update\x20<agent-name>','history\x20<name>','Setup\x20API\x20key\x20authentication\x20interactively','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Show\x20journey\x20details','run\x20[name]','log\x20<chat-id>','help','get','list\x20[pattern]','Alias\x20for\x20--database\x20(natural\x20language\x20style)','set\x20<key=value>','run\x20<name>','Agent\x20name','-r,\x20--recursive','--starter-message\x20<text>','\x20(resolved\x20to\x20','--in\x20<database>','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','1968112iHHLVD','addHelpText','Resume\x20from\x20specific\x20task','-o,\x20--output\x20<folder>','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','--type\x20<api_type>','--yes','use\x20<path>','Describe\x20table\x20schema','_hidden','opts','Show\x20timeline\x20for\x20specific\x20attempt','List\x20agents\x20in\x20current\x20project','--site\x20<site>','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','filter','kill','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','--email-sender-id\x20<id>','profiles','duplicate\x20<name-or-id>','repeat','Pause\x20a\x20campaign','Include\x20execution\x20statistics','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','backup\x20<name>','Database\x20to\x20use\x20(overrides\x20context)','--limit\x20<rows>','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Enable\x20verbose\x20logging','Workspace\x20description','721519VbfEat','activations\x20<segment_name>','registeredArguments','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','update\x20<name>','parent_segment','Agent\x20prompt/instructions','restore\x20<folder>','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','info\x20[segment_name]','Customer\x20group\x20as\x20JSON\x20string','use\x20<name>','clone\x20[source-dir]','result\x20<job-id>','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Database\x20management\x20commands','CDP\x20Journey\x20Orchestration\x20commands','Set\x20operation\x20timeout\x20in\x20seconds','Show\x20stats\x20for\x20specific\x20stage','--clear','2876502DqMxfA','table','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','subcommandTerm','create\x20[name]','retry','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Show\x20only\x20master\x20table\x20validation','site','delete\x20<name>','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','--system-prompt\x20<text>','join','LLM\x20agent\x20management','commandDescription','list','--default','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Show\x20agent\x20details','8zYKYbP','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','beefree','push\x20[file]','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','name','-y,\x20--yes','injectIntoOptions','fields\x20[name]','--description\x20<desc>','Name\x20for\x20the\x20new\x20project\x20(required)','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','chdir','Include\x20subtasks\x20in\x20tasks\x20output','auth','List\x20secret\x20keys\x20for\x20a\x20project','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','run','delete\x20<name-or-id>','Save\x20output\x20to\x20file','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','--engine-version\x20<version>','--add-behaviors-file\x20<file>','Push\x20without\x20confirmation','-H,\x20--header\x20<header>','agent','--color','Remove\x20API\x20key\x20from\x20system\x20keychain','users','Set\x20or\x20show\x20parent\x20segment\x20context','INFO','--debug','statusline','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','Interactive\x20chat\x20selector','directory','chats','Launch\x20a\x20campaign','catch','Updated\x20description','hidden'];a2_0x2cf0=function(){return _0x128ee3;};return a2_0x2cf0();}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_0x6964e6(0x3d5)][a2_0x6964e6(0x2dd)](a2_0x6964e6(0x401))){let versionOutput=a2_0x6964e6(0x308)+currentVersion;buildInfo[a2_0x6964e6(0x3f9)]&&!currentVersion[a2_0x6964e6(0x2dd)](buildInfo[a2_0x6964e6(0x3f9)])&&(versionOutput+='\x20('+buildInfo[a2_0x6964e6(0x3f9)]+')'),buildInfo[a2_0x6964e6(0x261)]&&(versionOutput+=a2_0x6964e6(0x30b)+buildInfo['buildTime']),console[a2_0x6964e6(0x3df)](versionOutput),process[a2_0x6964e6(0x1ef)](0x0);}const program=new Command();let showBriefHelp=![],description='AI-native\x20CLI\x20for\x20Treasure\x20Data';buildInfo[a2_0x6964e6(0x3f9)]&&!currentVersion[a2_0x6964e6(0x2dd)](buildInfo[a2_0x6964e6(0x3f9)])?description+=a2_0x6964e6(0x301)+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=a2_0x6964e6(0x301)+currentVersion;program[a2_0x6964e6(0x395)](a2_0x6964e6(0x2d1))[a2_0x6964e6(0x2ef)](description),program[a2_0x6964e6(0x429)](a2_0x6964e6(0x29f),'Change\x20to\x20directory\x20before\x20executing\x20command')[a2_0x6964e6(0x429)](a2_0x6964e6(0x3e3),a2_0x6964e6(0x2b1))[a2_0x6964e6(0x429)](a2_0x6964e6(0x351),a2_0x6964e6(0x313),a2_0x6964e6(0x28d))[a2_0x6964e6(0x429)]('--format\x20<format>',a2_0x6964e6(0x352))[a2_0x6964e6(0x429)](a2_0x6964e6(0x404),'Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)')[a2_0x6964e6(0x429)]('--json','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x212),a2_0x6964e6(0x35d))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3f7),'Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)')['option']('--output\x20<file>',a2_0x6964e6(0x3a4))[a2_0x6964e6(0x429)](a2_0x6964e6(0x27e),a2_0x6964e6(0x3d4))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3ac),'Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])['option']('--no-color','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)',![])['option']('-v,\x20--verbose',a2_0x6964e6(0x362),![])[a2_0x6964e6(0x429)](a2_0x6964e6(0x3b1),'Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x431),'Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x263),a2_0x6964e6(0x376),'30')[a2_0x6964e6(0x429)](a2_0x6964e6(0x1e3),a2_0x6964e6(0x323),![])['option'](a2_0x6964e6(0x396),a2_0x6964e6(0x428),![])[a2_0x6964e6(0x429)](a2_0x6964e6(0x2c5),a2_0x6964e6(0x36d))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1f6),a2_0x6964e6(0x35f))[a2_0x6964e6(0x429)](a2_0x6964e6(0x326),a2_0x6964e6(0x33b))[a2_0x6964e6(0x429)]('--parent-segment\x20<name>','Parent\x20segment\x20to\x20use\x20(overrides\x20context)')['option'](a2_0x6964e6(0x225),a2_0x6964e6(0x413)),program['configureHelp']({'formatHelp':(_0xead3af,_0x36a4a6)=>{const _0x1fdd30=a2_0x6964e6,_0x379f8f=_0x36a4a6[_0x1fdd30(0x2f7)](_0xead3af,_0x36a4a6),_0x13470a=0x2,_0x6c2596=0x2;function _0x4fe167(_0xd6b1b){const _0x58463b=_0x1fdd30,_0x1643da=_0xd6b1b;return!!(_0x1643da['_hidden']||_0x1643da[_0x58463b(0x3ba)]);}function _0x5d1c34(_0x22f4c6,_0xb3c52f){if(_0xb3c52f){const _0x34aa0d=''+_0x22f4c6['padEnd'](_0x379f8f+_0x6c2596)+_0xb3c52f;return _0x34aa0d;}return _0x22f4c6;}function _0x1e5f0b(_0x469a13){const _0x53c14f=_0x1fdd30;return _0x469a13[_0x53c14f(0x385)]('\x0a')['replace'](/^/gm,'\x20'[_0x53c14f(0x35a)](_0x13470a));}const _0x389786=[];_0x389786[_0x1fdd30(0x3e8)]('Usage:\x20'+_0x36a4a6['commandUsage'](_0xead3af));const _0x2805e1=_0x36a4a6[_0x1fdd30(0x387)](_0xead3af);_0x2805e1&&(_0x389786['push'](''),_0x389786['push'](_0x2805e1));const _0x5d8129=_0xead3af[_0x1fdd30(0x2d5)][_0x1fdd30(0x353)](_0x243cfb=>!_0x4fe167(_0x243cfb));if(_0x5d8129[_0x1fdd30(0x422)]>0x0){if(_0xead3af[_0x1fdd30(0x395)]()==='tdx'){const _0x7112d5=_0xead3af[_0x1fdd30(0x34e)](),_0x14d919=!_0x7112d5[_0x1fdd30(0x245)]&&process[_0x1fdd30(0x1fc)][_0x1fdd30(0x438)],_0x3cc753=COMMAND_CATEGORIES,_0x10bcad=(_0x580ce3,_0x4dd59d)=>_0x14d919?_0x4dd59d(_0x580ce3):_0x580ce3,_0x11dfc1=new Map();_0x5d8129['forEach'](_0x170cc0=>{const _0x4aee01=_0x1fdd30;_0x11dfc1['set'](_0x170cc0[_0x4aee01(0x395)](),_0x170cc0);}),_0x3cc753['forEach'](_0x257016=>{const _0x7fd94c=_0x1fdd30,_0x1a9822=_0x257016[_0x7fd94c(0x2d5)]['flatMap'](_0x8f3523=>_0x11dfc1[_0x7fd94c(0x339)](_0x8f3523)??[]);if(_0x1a9822[_0x7fd94c(0x422)]>0x0){_0x389786['push'](''),_0x389786[_0x7fd94c(0x3e8)](_0x10bcad(_0x257016[_0x7fd94c(0x395)]+':',_0x257016['colorFn']));const _0x7d588b=_0x1a9822[_0x7fd94c(0x20c)](_0x482387=>{const _0x348232=_0x7fd94c,_0x123a68=_0x36a4a6[_0x348232(0x37c)](_0x482387),_0x3b1eb7=_0x36a4a6['subcommandDescription'](_0x482387);return _0x5d1c34(_0x123a68,_0x3b1eb7);});_0x389786[_0x7fd94c(0x3e8)](_0x1e5f0b(_0x7d588b));}}),_0x389786[_0x1fdd30(0x3e8)](''),_0x389786[_0x1fdd30(0x3e8)](_0x1fdd30(0x36c));}else{const _0x2e8723=_0x5d8129[_0x1fdd30(0x20c)](_0x347c88=>{const _0x3b2a22=_0x1fdd30,_0x4f3014=_0x36a4a6[_0x3b2a22(0x37c)](_0x347c88),_0x1c095a=_0x36a4a6[_0x3b2a22(0x22b)](_0x347c88);return _0x5d1c34(_0x4f3014,_0x1c095a);});_0x389786[_0x1fdd30(0x3e8)](''),_0x389786[_0x1fdd30(0x3e8)](_0x1fdd30(0x1f7)),_0x389786[_0x1fdd30(0x3e8)](_0x1e5f0b(_0x2e8723));}}if(showBriefHelp&&_0xead3af[_0x1fdd30(0x395)]()===_0x1fdd30(0x2d1))_0x389786[_0x1fdd30(0x3e8)](''),_0x389786['push'](_0x1fdd30(0x25c));else{const _0x496c74=_0xead3af[_0x1fdd30(0x247)][_0x1fdd30(0x353)](_0x51703d=>!_0x4fe167(_0x51703d));if(_0x496c74[_0x1fdd30(0x422)]>0x0){const _0x3da06d=_0x496c74['map'](_0x379641=>{const _0x43d92d=_0x1fdd30,_0x2769ac=_0x36a4a6[_0x43d92d(0x410)](_0x379641),_0x44cb9d=_0x36a4a6[_0x43d92d(0x3f2)](_0x379641);return _0x5d1c34(_0x2769ac,_0x44cb9d);});_0x389786[_0x1fdd30(0x3e8)](''),_0x389786[_0x1fdd30(0x3e8)](_0x1fdd30(0x251)),_0x389786[_0x1fdd30(0x3e8)](_0x1e5f0b(_0x3da06d));}}const _0x563905=(_0xead3af[_0x1fdd30(0x366)]||[])['filter'](_0x75f272=>!_0x4fe167(_0x75f272));if(_0x563905[_0x1fdd30(0x422)]>0x0){const _0x38628d=_0x563905['map'](_0x14067f=>{const _0xcaff04=_0x1fdd30,_0x2341c7=_0x36a4a6[_0xcaff04(0x23b)](_0x14067f),_0x55d5f7=_0x36a4a6[_0xcaff04(0x330)](_0x14067f);return _0x5d1c34(_0x2341c7,_0x55d5f7);});_0x389786[_0x1fdd30(0x3e8)](''),_0x389786[_0x1fdd30(0x3e8)](_0x1fdd30(0x2e7)),_0x389786[_0x1fdd30(0x3e8)](_0x1e5f0b(_0x38628d));}return _0x389786[_0x1fdd30(0x385)]('\x0a')+'\x0a';},'subcommandTerm':_0x3d4101=>{const _0x133dc8=a2_0x6964e6,_0x4632b3=(_0x3d4101[_0x133dc8(0x366)]||[])['map'](_0x5560d3=>_0x5560d3[_0x133dc8(0x2e8)]?'<'+_0x5560d3[_0x133dc8(0x395)]()+'>':'['+_0x5560d3[_0x133dc8(0x395)]()+']')[_0x133dc8(0x385)]('\x20'),_0x5614f6=_0x3d4101['aliases'](),_0x24edd4=_0x5614f6[_0x133dc8(0x422)]>0x0?_0x3d4101['name']()+',\x20'+_0x5614f6[_0x133dc8(0x385)](',\x20'):_0x3d4101[_0x133dc8(0x395)]();return _0x4632b3?_0x24edd4+'\x20'+_0x4632b3:_0x24edd4;}}),program['hook'](a2_0x6964e6(0x406),_0x13b7b0=>{const _0x515597=a2_0x6964e6,_0x303608=_0x13b7b0['opts']();if(_0x303608['directory']){const _0x39f267=resolve(_0x303608[_0x515597(0x3b5)]),_0x56e2f1=_0x39f267!==_0x303608[_0x515597(0x3b5)]?_0x515597(0x341)+_0x39f267+')':'';if(!existsSync(_0x39f267))throw new SDKError(ErrorCode[_0x515597(0x417)],_0x515597(0x2a2)+_0x303608[_0x515597(0x3b5)]+_0x56e2f1,undefined,{'helpText':_0x515597(0x200)});const _0x1eb479=statSync(_0x39f267);if(!_0x1eb479['isDirectory']())throw new SDKError(ErrorCode[_0x515597(0x417)],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x303608[_0x515597(0x3b5)]+_0x56e2f1,undefined,{'helpText':'The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.'});process[_0x515597(0x39d)](_0x39f267);}if(!_0x303608[_0x515597(0x452)]){if(_0x303608[_0x515597(0x37a)])_0x303608[_0x515597(0x452)]=_0x515597(0x37a);else{if(_0x303608[_0x515597(0x42e)])_0x303608[_0x515597(0x452)]=_0x515597(0x42e);else{if(_0x303608['jsonl'])_0x303608[_0x515597(0x452)]=_0x515597(0x207);else _0x303608['tsv']&&(_0x303608[_0x515597(0x452)]='tsv');}}}_0x303608['in']&&!_0x303608['database']&&(_0x303608['database']=_0x303608['in']);if(_0x303608[_0x515597(0x41e)])_0x303608[_0x515597(0x329)]=LogLevel[_0x515597(0x315)];else{if(_0x303608[_0x515597(0x22d)])_0x303608[_0x515597(0x329)]=LogLevel[_0x515597(0x40f)];else _0x303608[_0x515597(0x329)]===undefined&&(_0x303608[_0x515597(0x329)]=LogLevel[_0x515597(0x3b0)]);}});async function createTDXInstance(_0x4ff185){const _0x19e868=a2_0x6964e6,_0x180371=await GlobalContext['createAsync'](_0x4ff185);return _0x180371[_0x19e868(0x397)](_0x4ff185),TDX[_0x19e868(0x242)]({'site':_0x180371[_0x19e868(0x381)],'apiKey':_0x180371[_0x19e868(0x2fa)],'logLevel':_0x180371[_0x19e868(0x329)],'profile':_0x180371['profile']});}const databaseCmd=program['command'](a2_0x6964e6(0x25f))[a2_0x6964e6(0x25a)]('db')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x374)),databaseListAction=async(_0x3169a4,_0x17d498)=>{const _0x536bbb=a2_0x6964e6,_0x557ea8=new DatabasesCommand(),_0x213e5c=program['opts'](),_0x23ac0e=await createTDXInstance(_0x213e5c),_0x2cbb13=await _0x557ea8[_0x536bbb(0x3a2)]({'options':{..._0x213e5c,..._0x17d498},'args':_0x3169a4?[_0x3169a4]:[],'tdx':_0x23ac0e});gracefulExit(_0x2cbb13);};databaseCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33a))[a2_0x6964e6(0x2ef)]('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x6964e6(0x304)](databaseListAction),program[a2_0x6964e6(0x432)](a2_0x6964e6(0x1fb),{'hidden':!![]})['description']('List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)')[a2_0x6964e6(0x304)](databaseListAction),program[a2_0x6964e6(0x432)](a2_0x6964e6(0x440))['description']('Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)')['option'](a2_0x6964e6(0x2ad),a2_0x6964e6(0x3a6))[a2_0x6964e6(0x429)](a2_0x6964e6(0x205),a2_0x6964e6(0x285))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2cc),a2_0x6964e6(0x3e5))[a2_0x6964e6(0x429)](a2_0x6964e6(0x41f),a2_0x6964e6(0x2b7))[a2_0x6964e6(0x304)](async(_0x28f906,_0x437628)=>{const _0x16cf1e=a2_0x6964e6,_0x458684=program[_0x16cf1e(0x34e)](),_0x17cdce=await createTDXInstance(_0x458684);if(_0x28f906[0x0]==='create'){const _0x14af98=new ChatCreateCommand();gracefulExit(await _0x14af98[_0x16cf1e(0x3a2)]({'options':{..._0x458684,..._0x437628},'args':_0x28f906[_0x16cf1e(0x3ff)](0x1),'tdx':_0x17cdce}));return;}const _0x3d9170=new ChatCommand(),_0x41442b=await _0x3d9170[_0x16cf1e(0x3a2)]({'options':{..._0x458684,..._0x437628},'args':_0x28f906,'tdx':_0x17cdce});gracefulExit(_0x41442b);});const apiCmd=program[a2_0x6964e6(0x432)](a2_0x6964e6(0x309))[a2_0x6964e6(0x26c)]('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs')[a2_0x6964e6(0x345)](a2_0x6964e6(0x2ec),'\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_0x6964e6(0x429)](a2_0x6964e6(0x319),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a2_0x6964e6(0x2d7))[a2_0x6964e6(0x429)](a2_0x6964e6(0x30c),'Request\x20body\x20as\x20JSON\x20string')['option'](a2_0x6964e6(0x2c4),a2_0x6964e6(0x262))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3aa),a2_0x6964e6(0x248),(_0xeb7813,_0x103b38)=>{return _0x103b38?[..._0x103b38,_0xeb7813]:[_0xeb7813];})[a2_0x6964e6(0x429)](a2_0x6964e6(0x349),a2_0x6964e6(0x348),'td')[a2_0x6964e6(0x304)](async(_0x61a2ee,_0x210304)=>{const _0x4147e0=a2_0x6964e6;if(!_0x61a2ee){apiCmd[_0x4147e0(0x338)]();return;}const _0xe9ef92=new ApiCommand(),_0x4abbd6=program[_0x4147e0(0x34e)](),_0x5a479b=await createTDXInstance(_0x4abbd6),_0x58f26c=await _0xe9ef92[_0x4147e0(0x3a2)]({'options':{..._0x4abbd6,..._0x210304},'args':[_0x61a2ee],'tdx':_0x5a479b});gracefulExit(_0x58f26c);});program[a2_0x6964e6(0x432)]('mcp')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x303))[a2_0x6964e6(0x345)]('after','\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')['action'](async _0x2fdcce=>{const _0x16682b=a2_0x6964e6,_0x3db401=new MCPCommand(),_0xaec5ae=program[_0x16682b(0x34e)](),_0x26e4b9=await createTDXInstance(_0xaec5ae),_0x3676e4=await _0x3db401['run']({'options':{..._0xaec5ae,..._0x2fdcce},'args':[],'tdx':_0x26e4b9});gracefulExit(_0x3676e4);});const tableCmd=program[a2_0x6964e6(0x432)](a2_0x6964e6(0x37a))['description'](a2_0x6964e6(0x458)),tableListAction=async(_0x59cfb0,_0x31b2a1)=>{const _0x488047=a2_0x6964e6,_0x823ff5=new TablesCommand(),_0x1e3b35=program[_0x488047(0x34e)](),_0x35fbfe=await createTDXInstance(_0x1e3b35);_0x31b2a1['in']&&(_0x31b2a1[_0x488047(0x25f)]=_0x31b2a1['in']);const _0xf14a1b=await _0x823ff5[_0x488047(0x3a2)]({'options':{..._0x1e3b35,..._0x31b2a1},'args':_0x59cfb0?[_0x59cfb0]:[],'tdx':_0x35fbfe});gracefulExit(_0xf14a1b);};tableCmd[a2_0x6964e6(0x432)]('list\x20[pattern]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x393))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2b6),a2_0x6964e6(0x394))[a2_0x6964e6(0x429)](a2_0x6964e6(0x342),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x6964e6(0x304)](tableListAction),program[a2_0x6964e6(0x432)]('tables\x20[pattern]',{'hidden':!![]})[a2_0x6964e6(0x2ef)]('List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2b6),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x342),a2_0x6964e6(0x33b))['action'](tableListAction),program[a2_0x6964e6(0x432)]('show\x20[table]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x29c))[a2_0x6964e6(0x429)]('-d,\x20--database\x20<database>',a2_0x6964e6(0x2af))['option'](a2_0x6964e6(0x342),a2_0x6964e6(0x33b))[a2_0x6964e6(0x304)](async(_0xb7b87a,_0x510515)=>{const _0x2e6c25=a2_0x6964e6,_0x2df70a=new ShowCommand(),_0x108e30=program[_0x2e6c25(0x34e)](),_0x598045=await createTDXInstance(_0x108e30);_0x510515['in']&&(_0x510515[_0x2e6c25(0x25f)]=_0x510515['in']);const _0x35009d=await _0x2df70a[_0x2e6c25(0x3a2)]({'options':{..._0x108e30,..._0x510515},'args':_0xb7b87a?[_0xb7b87a]:[],'tdx':_0x598045});gracefulExit(_0x35009d);}),program[a2_0x6964e6(0x432)](a2_0x6964e6(0x3ca))[a2_0x6964e6(0x25a)](a2_0x6964e6(0x29b))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x34c))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2b6),a2_0x6964e6(0x2af))[a2_0x6964e6(0x429)]('--in\x20<database>',a2_0x6964e6(0x33b))['action'](async(_0x3c3cae,_0x43516d)=>{const _0x4a4e49=a2_0x6964e6,_0x508bc1=new DescribeCommand(),_0x224242=program[_0x4a4e49(0x34e)](),_0x548d93=await createTDXInstance(_0x224242);_0x43516d['in']&&(_0x43516d[_0x4a4e49(0x25f)]=_0x43516d['in']);const _0x132f53=await _0x508bc1[_0x4a4e49(0x3a2)]({'options':{..._0x224242,..._0x43516d},'args':_0x3c3cae?[_0x3c3cae]:[],'tdx':_0x548d93});gracefulExit(_0x132f53);}),program[a2_0x6964e6(0x432)]('query\x20[sql]')['description']('Run\x20Trino\x20query\x20with\x20streaming\x20results')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2b6),a2_0x6964e6(0x216))[a2_0x6964e6(0x429)](a2_0x6964e6(0x342),a2_0x6964e6(0x33b))[a2_0x6964e6(0x429)](a2_0x6964e6(0x424),'Trino\x20catalog\x20(default:\x20td)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2c4),a2_0x6964e6(0x436))[a2_0x6964e6(0x429)](a2_0x6964e6(0x360),a2_0x6964e6(0x402),'40')[a2_0x6964e6(0x304)](async(_0x4985bf,_0x507100)=>{const _0x5742d4=a2_0x6964e6,_0x2195a8=new QueryCommand(),_0x5ed3a8=program['opts'](),_0x17d1de=await createTDXInstance(_0x5ed3a8);_0x507100['in']&&(_0x507100[_0x5742d4(0x25f)]=_0x507100['in']);const _0x2126ac=await _0x2195a8[_0x5742d4(0x3a2)]({'options':{..._0x5ed3a8,..._0x507100},'args':_0x4985bf?[_0x4985bf]:[],'tdx':_0x17d1de});gracefulExit(_0x2126ac);});const segmentCmd=program['command'](a2_0x6964e6(0x1fd))[a2_0x6964e6(0x25a)]('sg')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x1d9)),segmentListAction=async(_0x2f6602,_0x522046)=>{const _0x55a480=a2_0x6964e6,_0x4d4bd6=new SegmentsCommand(),_0x34c0a5=program[_0x55a480(0x34e)](),_0x3daef1=await createTDXInstance(_0x34c0a5),_0x3c3125=await _0x4d4bd6['run']({'options':{..._0x34c0a5,..._0x522046},'args':_0x2f6602?[_0x2f6602]:[],'tdx':_0x3daef1});gracefulExit(_0x3c3125);};segmentCmd[a2_0x6964e6(0x432)]('list\x20[path]')['description'](a2_0x6964e6(0x3b3))[a2_0x6964e6(0x429)](a2_0x6964e6(0x33f),a2_0x6964e6(0x238))['option']('--max-depth\x20<depth>','Maximum\x20recursion\x20depth\x20(default:\x2010)','10')['action'](segmentListAction),program[a2_0x6964e6(0x432)](a2_0x6964e6(0x21c),{'hidden':!![]})[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x276))[a2_0x6964e6(0x429)](a2_0x6964e6(0x33f),a2_0x6964e6(0x238))[a2_0x6964e6(0x429)](a2_0x6964e6(0x291),a2_0x6964e6(0x2aa),'10')[a2_0x6964e6(0x304)](segmentListAction),segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x34b),{'hidden':!![]})[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x411))['action'](async(_0x5ad970,_0x13a7d9)=>{const _0x1dcc5d=a2_0x6964e6,_0x1829eb=new SegmentUseCommand(),_0x17d96d=program[_0x1dcc5d(0x34e)](),_0x1c6b3e=await createTDXInstance(_0x17d96d),_0x14708c=await _0x1829eb[_0x1dcc5d(0x3a2)]({'options':{..._0x17d96d,..._0x13a7d9},'args':[_0x5ad970],'tdx':_0x1c6b3e});gracefulExit(_0x14708c);});const segmentViewAction=async(_0x4b8473,_0x32b0dd)=>{const _0x550e24=a2_0x6964e6,_0x1c4af7=new SegmentViewCommand(),_0x5f15e7=program[_0x550e24(0x34e)](),_0x6939bb=await createTDXInstance(_0x5f15e7),_0x5ccff7=await _0x1c4af7[_0x550e24(0x3a2)]({'options':{..._0x5f15e7,..._0x32b0dd},'args':_0x4b8473?[_0x4b8473]:[],'tdx':_0x6939bb});gracefulExit(_0x5ccff7);};segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2b4))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2e3))['option'](a2_0x6964e6(0x252),a2_0x6964e6(0x286))[a2_0x6964e6(0x304)](segmentViewAction),segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x36e),{'hidden':!![]})['alias']('describe')['option'](a2_0x6964e6(0x252),'Open\x20segment\x20in\x20web\x20browser')['description'](a2_0x6964e6(0x437))['action'](segmentViewAction),segmentCmd[a2_0x6964e6(0x432)]('desc\x20[segment_name]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x328))[a2_0x6964e6(0x304)](async(_0x505312,_0x425393)=>{const _0x2aff92=a2_0x6964e6,_0x642ad5=new SegmentDescCommand(),_0x143f55=program[_0x2aff92(0x34e)](),_0x4e559e=await createTDXInstance(_0x143f55),_0x393920=await _0x642ad5[_0x2aff92(0x3a2)]({'options':{..._0x143f55,..._0x425393},'args':_0x505312?[_0x505312]:[],'tdx':_0x4e559e});gracefulExit(_0x393920);}),segmentCmd[a2_0x6964e6(0x432)]('show\x20[segment_name]')['description']('Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x6964e6(0x304)](async(_0x13e4ae,_0x10eba6)=>{const _0x11b2f0=a2_0x6964e6,_0x59d451=new SegmentShowCommand(),_0x27fe77=program[_0x11b2f0(0x34e)](),_0x3bf631=await createTDXInstance(_0x27fe77),_0x42c7c3=await _0x59d451[_0x11b2f0(0x3a2)]({'options':{..._0x27fe77,..._0x10eba6},'args':_0x13e4ae?[_0x13e4ae]:[],'tdx':_0x3bf631});gracefulExit(_0x42c7c3);}),segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x448),{'hidden':!![]})['description'](a2_0x6964e6(0x26b))[a2_0x6964e6(0x304)](async(_0x2f77b2,_0x233499)=>{const _0x7e0372=a2_0x6964e6,_0x457453=new SegmentFolderListCommand(),_0x1a73a9=program[_0x7e0372(0x34e)](),_0x51bde9=await createTDXInstance(_0x1a73a9),_0x433bcf=await _0x457453[_0x7e0372(0x3a2)]({'options':{..._0x1a73a9,..._0x233499},'args':[_0x2f77b2],'tdx':_0x51bde9});gracefulExit(_0x433bcf);});const folderCmd=segmentCmd[a2_0x6964e6(0x432)]('folder',{'hidden':!![]})[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x27c));folderCmd['command'](a2_0x6964e6(0x209))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x1fa))[a2_0x6964e6(0x304)](async(_0x46b434,_0x4356fa)=>{const _0x423503=a2_0x6964e6,_0x3a7293=new SegmentFolderShowCommand(),_0x7d33b2=program[_0x423503(0x34e)](),_0x1cb19f=await createTDXInstance(_0x7d33b2),_0x1eddd4=await _0x3a7293[_0x423503(0x3a2)]({'options':{..._0x7d33b2,..._0x4356fa},'args':[_0x46b434],'tdx':_0x1cb19f});gracefulExit(_0x1eddd4);}),segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x233))['description'](a2_0x6964e6(0x260))[a2_0x6964e6(0x304)](async(_0x220c92,_0x3e39b6)=>{const _0x15ad0f=a2_0x6964e6,_0x51d9d1=new SegmentSQLCommand(),_0x95dd78=program[_0x15ad0f(0x34e)](),_0x5c2fe4=await createTDXInstance(_0x95dd78),_0x17338e=await _0x51d9d1['run']({'options':{..._0x95dd78,..._0x3e39b6},'args':_0x220c92?[_0x220c92]:[],'tdx':_0x5c2fe4});gracefulExit(_0x17338e);}),segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x220))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2db))[a2_0x6964e6(0x304)](async(_0x3a669b,_0x38bcda)=>{const _0x3f8194=a2_0x6964e6,_0x5d866a=new SegmentFieldsCommand(),_0x5a2bca=program[_0x3f8194(0x34e)](),_0x5d0707=await createTDXInstance(_0x5a2bca),_0x5cf9a1=await _0x5d866a[_0x3f8194(0x3a2)]({'options':{..._0x5a2bca,..._0x38bcda},'args':_0x3a669b?[_0x3a669b]:[],'tdx':_0x5d0707});gracefulExit(_0x5cf9a1);}),segmentCmd[a2_0x6964e6(0x432)]('pull\x20[parent_or_file]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x21b))[a2_0x6964e6(0x429)](a2_0x6964e6(0x396),a2_0x6964e6(0x428))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1e3),a2_0x6964e6(0x3c9))[a2_0x6964e6(0x304)](async(_0x32c616,_0x2ca271)=>{const _0x279850=a2_0x6964e6,_0x32e4cc=new SegmentPullCommand(),_0x1780e3=program[_0x279850(0x34e)](),_0x21be44=await createTDXInstance(_0x1780e3),_0x43bcde=await _0x32e4cc[_0x279850(0x3a2)]({'options':{..._0x1780e3,..._0x2ca271},'args':_0x32c616?[_0x32c616]:[],'tdx':_0x21be44});gracefulExit(_0x43bcde);}),segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x455))['description'](a2_0x6964e6(0x250))[a2_0x6964e6(0x429)](a2_0x6964e6(0x396),a2_0x6964e6(0x428))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1e3),a2_0x6964e6(0x3c9))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1de),a2_0x6964e6(0x2fc))[a2_0x6964e6(0x304)](async(_0x45bb7a,_0x143bc2)=>{const _0x4fd25c=a2_0x6964e6,_0x367a25=new SegmentPushCommand(),_0x2a881c=program[_0x4fd25c(0x34e)](),_0x8347a5=await createTDXInstance(_0x2a881c),_0x390937=await _0x367a25[_0x4fd25c(0x3a2)]({'options':{..._0x2a881c,..._0x143bc2},'args':_0x45bb7a?[_0x45bb7a]:[],'tdx':_0x8347a5});gracefulExit(_0x390937);}),segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x43b))['description'](a2_0x6964e6(0x210))[a2_0x6964e6(0x304)](async(_0x21e9e5,_0x141b58)=>{const _0x35b1ba=a2_0x6964e6,_0xc08c23=new SegmentValidateCommand(),_0x66a322=program[_0x35b1ba(0x34e)](),_0x1c3ddf=await createTDXInstance(_0x66a322),_0xa31e02=await _0xc08c23[_0x35b1ba(0x3a2)]({'options':{..._0x66a322,..._0x141b58},'args':_0x21e9e5?[_0x21e9e5]:[],'tdx':_0x1c3ddf});gracefulExit(_0xa31e02);}),segmentCmd[a2_0x6964e6(0x432)]('create\x20<segment_name>',{'hidden':!![]})[a2_0x6964e6(0x2ef)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')['option']('--description\x20<text>',a2_0x6964e6(0x314))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3f0),a2_0x6964e6(0x1da))[a2_0x6964e6(0x429)](a2_0x6964e6(0x20d),a2_0x6964e6(0x257))['option'](a2_0x6964e6(0x3dd),a2_0x6964e6(0x3e2))[a2_0x6964e6(0x429)]('--kind\x20<type>',a2_0x6964e6(0x1d8))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2ba),a2_0x6964e6(0x449))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2cd),a2_0x6964e6(0x1e7))[a2_0x6964e6(0x304)](async(_0x2c6cf7,_0x1f649b)=>{const _0x253b59=a2_0x6964e6,_0x3bcdd8=new SegmentCreateCommand(),_0x1608a5=program[_0x253b59(0x34e)](),_0xb45662=await createTDXInstance(_0x1608a5),_0x5961ef=await _0x3bcdd8[_0x253b59(0x3a2)]({'options':{..._0x1608a5,..._0x1f649b},'args':[_0x2c6cf7],'tdx':_0xb45662});gracefulExit(_0x5961ef);}),segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2d0),{'hidden':!![]})[a2_0x6964e6(0x2ef)]('[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x268),a2_0x6964e6(0x30e))[a2_0x6964e6(0x429)](a2_0x6964e6(0x213),a2_0x6964e6(0x3b9))['option'](a2_0x6964e6(0x3f0),a2_0x6964e6(0x3d2))[a2_0x6964e6(0x429)](a2_0x6964e6(0x20d),a2_0x6964e6(0x27a))[a2_0x6964e6(0x429)]('--folder\x20<name>',a2_0x6964e6(0x31f))[a2_0x6964e6(0x429)](a2_0x6964e6(0x419),a2_0x6964e6(0x1d8))[a2_0x6964e6(0x304)](async(_0x361fe2,_0x4eec8a)=>{const _0x56ae8e=a2_0x6964e6,_0x2edf02=new SegmentUpdateCommand(),_0x7145be=program[_0x56ae8e(0x34e)](),_0x44ee6f=await createTDXInstance(_0x7145be),_0x1d0c05=await _0x2edf02[_0x56ae8e(0x3a2)]({'options':{..._0x7145be,..._0x4eec8a},'args':[_0x361fe2],'tdx':_0x44ee6f});gracefulExit(_0x1d0c05);});const parentCmd=segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x1ff),{'hidden':!![]})['description'](a2_0x6964e6(0x391)),parentListAction=async(_0x5de086,_0x51d0b4)=>{const _0x3e6b4a=a2_0x6964e6,_0x42f4be=new ParentSegmentListCommand(),_0xb0d16c=program[_0x3e6b4a(0x34e)](),_0x3bd076=await createTDXInstance(_0xb0d16c),_0x3b2ce8=await _0x42f4be['run']({'options':{..._0xb0d16c,..._0x51d0b4},'args':_0x5de086?[_0x5de086]:[],'tdx':_0x3bd076});gracefulExit(_0x3b2ce8);};parentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33a))['description'](a2_0x6964e6(0x298))[a2_0x6964e6(0x304)](parentListAction),segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x3d9),{'hidden':!![]})[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x1ea))[a2_0x6964e6(0x304)](parentListAction),parentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x443))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x25b))[a2_0x6964e6(0x429)]('-o,\x20--output\x20<file>',a2_0x6964e6(0x302))[a2_0x6964e6(0x429)](a2_0x6964e6(0x396),a2_0x6964e6(0x1fe))[a2_0x6964e6(0x304)](async(_0x3a5ce6,_0x312143)=>{const _0x2a673f=a2_0x6964e6,_0x3ffb46=new ParentSegmentPullCommand(),_0x5b0721=program[_0x2a673f(0x34e)](),_0x52a840=await createTDXInstance(_0x5b0721),_0x3344b7=await _0x3ffb46['run']({'options':{..._0x5b0721,..._0x312143},'args':_0x3a5ce6?[_0x3a5ce6]:[],'tdx':_0x52a840});gracefulExit(_0x3344b7);}),parentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x38f))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x37f))[a2_0x6964e6(0x429)]('-y,\x20--yes',a2_0x6964e6(0x1fe))['action'](async(_0x206d5b,_0x370822)=>{const _0x5183bf=a2_0x6964e6,_0x4ce017=new ParentSegmentPushCommand(),_0x3d5ca3=program[_0x5183bf(0x34e)](),_0x21f7ce=await createTDXInstance(_0x3d5ca3),_0x2ba3a0=await _0x4ce017[_0x5183bf(0x3a2)]({'options':{..._0x3d5ca3,..._0x370822},'args':_0x206d5b?[_0x206d5b]:[],'tdx':_0x21f7ce});gracefulExit(_0x2ba3a0);}),parentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x23e))['description'](a2_0x6964e6(0x39c))[a2_0x6964e6(0x429)](a2_0x6964e6(0x20b),a2_0x6964e6(0x380))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1d7),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x6964e6(0x429)](a2_0x6964e6(0x3fa),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x6964e6(0x429)](a2_0x6964e6(0x25e),a2_0x6964e6(0x1e5))[a2_0x6964e6(0x429)](a2_0x6964e6(0x287),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')[a2_0x6964e6(0x304)](async(_0x404ad9,_0x2f5445)=>{const _0x11d38b=a2_0x6964e6,_0x2051fd=new ParentSegmentValidateCommand(),_0x586489=program[_0x11d38b(0x34e)](),_0x3e3f0a=await createTDXInstance(_0x586489),_0x59a64d=await _0x2051fd[_0x11d38b(0x3a2)]({'options':{..._0x586489,..._0x2f5445},'args':_0x404ad9?[_0x404ad9]:[],'tdx':_0x3e3f0a});gracefulExit(_0x59a64d);}),parentCmd[a2_0x6964e6(0x432)]('preview\x20[file]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x334))[a2_0x6964e6(0x429)](a2_0x6964e6(0x20b),a2_0x6964e6(0x2fd))['option'](a2_0x6964e6(0x1d7),a2_0x6964e6(0x41b))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3fa),a2_0x6964e6(0x23f))[a2_0x6964e6(0x429)]('--enriched',a2_0x6964e6(0x32b))['option'](a2_0x6964e6(0x287),a2_0x6964e6(0x3d7),a2_0x6964e6(0x239))[a2_0x6964e6(0x304)](async(_0x5228a0,_0x46db24)=>{const _0x343334=a2_0x6964e6,_0x2fe5af=new ParentSegmentPreviewCommand(),_0x38596e=program[_0x343334(0x34e)](),_0xcd0d20=await createTDXInstance(_0x38596e),_0x40c238=await _0x2fe5af['run']({'options':{..._0x38596e,..._0x46db24},'args':_0x5228a0?[_0x5228a0]:[],'tdx':_0xcd0d20});gracefulExit(_0x40c238);}),parentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x336))['description'](a2_0x6964e6(0x1e9))[a2_0x6964e6(0x429)]('-y,\x20--yes',a2_0x6964e6(0x1fe))[a2_0x6964e6(0x304)](async(_0x57d992,_0x4aabd0)=>{const _0x5727f6=a2_0x6964e6,_0x2ce55e=new ParentSegmentRunCommand(),_0x104e55=program[_0x5727f6(0x34e)](),_0x3b56df=await createTDXInstance(_0x104e55),_0x266cb3=await _0x2ce55e['run']({'options':{..._0x104e55,..._0x4aabd0},'args':_0x57d992?[_0x57d992]:[],'tdx':_0x3b56df});gracefulExit(_0x266cb3);});const parentSegmentCmd=program[a2_0x6964e6(0x432)]('parent-segment')[a2_0x6964e6(0x25a)]('ps')['description']('Parent\x20segment\x20management');parentSegmentCmd['command'](a2_0x6964e6(0x33a))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x298))[a2_0x6964e6(0x304)](parentListAction),parentSegmentCmd['command'](a2_0x6964e6(0x443))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x235))[a2_0x6964e6(0x429)]('-o,\x20--output\x20<file>',a2_0x6964e6(0x3fd))['option'](a2_0x6964e6(0x396),'Skip\x20confirmation\x20prompt')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2dc),a2_0x6964e6(0x373))['action'](async(_0x16a7d2,_0x4aa8a1)=>{const _0x4cd8a3=a2_0x6964e6,_0x109746=new ParentSegmentPullCommand(),_0x58a409=program[_0x4cd8a3(0x34e)](),_0x126800=await createTDXInstance(_0x58a409),_0xc06996=await _0x109746[_0x4cd8a3(0x3a2)]({'options':{..._0x58a409,..._0x4aa8a1},'args':_0x16a7d2?[_0x16a7d2]:[],'tdx':_0x126800});gracefulExit(_0xc06996);}),parentSegmentCmd['command']('push\x20[name]')[a2_0x6964e6(0x2ef)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x396),a2_0x6964e6(0x1fe))[a2_0x6964e6(0x304)](async(_0x21fd49,_0x3fb3ff)=>{const _0x4e13ed=a2_0x6964e6,_0x4275a5=new ParentSegmentPushCommand(),_0x42a907=program['opts'](),_0x55f575=await createTDXInstance(_0x42a907),_0x12ca6d=await _0x4275a5[_0x4e13ed(0x3a2)]({'options':{..._0x42a907,..._0x3fb3ff},'args':_0x21fd49?[_0x21fd49]:[],'tdx':_0x55f575});gracefulExit(_0x12ca6d);}),parentSegmentCmd[a2_0x6964e6(0x432)]('validate\x20[name]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x39c))[a2_0x6964e6(0x429)](a2_0x6964e6(0x20b),a2_0x6964e6(0x380))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1d7),a2_0x6964e6(0x44c))[a2_0x6964e6(0x429)]('--behavior\x20[name]','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x6964e6(0x429)](a2_0x6964e6(0x25e),a2_0x6964e6(0x1e5))[a2_0x6964e6(0x429)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x6964e6(0x239))[a2_0x6964e6(0x304)](async(_0x11b9dc,_0x642a9e)=>{const _0x472374=a2_0x6964e6,_0x4fbd28=new ParentSegmentValidateCommand(),_0x5aef4a=program[_0x472374(0x34e)](),_0x49317a=await createTDXInstance(_0x5aef4a),_0x4bb550=await _0x4fbd28[_0x472374(0x3a2)]({'options':{..._0x5aef4a,..._0x642a9e},'args':_0x11b9dc?[_0x11b9dc]:[],'tdx':_0x49317a});gracefulExit(_0x4bb550);}),parentSegmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x272))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x334))['option'](a2_0x6964e6(0x20b),a2_0x6964e6(0x2fd))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1d7),a2_0x6964e6(0x41b))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3fa),a2_0x6964e6(0x23f))[a2_0x6964e6(0x429)](a2_0x6964e6(0x25e),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')['option']('--interval\x20<range>',a2_0x6964e6(0x3d7),a2_0x6964e6(0x239))[a2_0x6964e6(0x304)](async(_0x5a164b,_0x5914cb)=>{const _0xb0eb8c=a2_0x6964e6,_0x2bd4f7=new ParentSegmentPreviewCommand(),_0x7ec14a=program['opts'](),_0x1f0ef7=await createTDXInstance(_0x7ec14a),_0x11e205=await _0x2bd4f7[_0xb0eb8c(0x3a2)]({'options':{..._0x7ec14a,..._0x5914cb},'args':_0x5a164b?[_0x5a164b]:[],'tdx':_0x1f0ef7});gracefulExit(_0x11e205);}),parentSegmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x336))[a2_0x6964e6(0x2ef)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x396),a2_0x6964e6(0x1fe))[a2_0x6964e6(0x304)](async(_0x48c479,_0x445b87)=>{const _0x166c7a=a2_0x6964e6,_0x922e24=new ParentSegmentRunCommand(),_0x55800b=program['opts'](),_0x194a53=await createTDXInstance(_0x55800b),_0x734e7f=await _0x922e24[_0x166c7a(0x3a2)]({'options':{..._0x55800b,..._0x445b87},'args':_0x48c479?[_0x48c479]:[],'tdx':_0x194a53});gracefulExit(_0x734e7f);}),parentSegmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x398))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x44b))['option']('--json',a2_0x6964e6(0x3f4))[a2_0x6964e6(0x429)](a2_0x6964e6(0x212),a2_0x6964e6(0x43c))[a2_0x6964e6(0x304)](async(_0x4c495e,_0x324cd0)=>{const _0xe102a0=new ParentSegmentFieldsCommand(),_0x505ed8=program['opts'](),_0x1797eb=await createTDXInstance(_0x505ed8),_0x282971=await _0xe102a0['run']({'options':{..._0x505ed8,..._0x324cd0},'args':_0x4c495e?[_0x4c495e]:[],'tdx':_0x1797eb});gracefulExit(_0x282971);}),parentSegmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x202))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x1f4))[a2_0x6964e6(0x429)](a2_0x6964e6(0x252),a2_0x6964e6(0x3bd))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2e0),'Output\x20as\x20JSON')[a2_0x6964e6(0x429)](a2_0x6964e6(0x212),a2_0x6964e6(0x43c))[a2_0x6964e6(0x304)](async(_0x5c14ba,_0x439167)=>{const _0x428bfd=a2_0x6964e6,_0x56e0fc=new ParentSegmentViewCommand(),_0x58a969=program[_0x428bfd(0x34e)](),_0xa8738c=await createTDXInstance(_0x58a969),_0x147548=await _0x56e0fc[_0x428bfd(0x3a2)]({'options':{..._0x58a969,..._0x439167},'args':_0x5c14ba?[_0x5c14ba]:[],'tdx':_0xa8738c});gracefulExit(_0x147548);}),parentSegmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x222))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2a7))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2fb),a2_0x6964e6(0x3fd))['option'](a2_0x6964e6(0x2e0),a2_0x6964e6(0x3f4))[a2_0x6964e6(0x429)](a2_0x6964e6(0x212),'Output\x20as\x20JSON\x20Lines')[a2_0x6964e6(0x304)](async(_0x231dd4,_0x35d662)=>{const _0x199e86=a2_0x6964e6,_0x527f3e=new ParentSegmentDescCommand(),_0x464fd7=program[_0x199e86(0x34e)](),_0x12d898=await createTDXInstance(_0x464fd7),_0x47a0ba=await _0x527f3e[_0x199e86(0x3a2)]({'options':{..._0x464fd7,..._0x35d662},'args':_0x231dd4?[_0x231dd4]:[],'tdx':_0x12d898});gracefulExit(_0x47a0ba);}),parentSegmentCmd[a2_0x6964e6(0x432)]('sql\x20[name]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3d8))['option'](a2_0x6964e6(0x2e0),a2_0x6964e6(0x3f4))['option'](a2_0x6964e6(0x212),a2_0x6964e6(0x43c))[a2_0x6964e6(0x304)](async(_0x4a6d5c,_0x2b54e1)=>{const _0x451441=a2_0x6964e6,_0x2ae934=new ParentSegmentSQLCommand(),_0x55c03f=program['opts'](),_0xe3aa15=await createTDXInstance(_0x55c03f),_0x5bf217=await _0x2ae934[_0x451441(0x3a2)]({'options':{..._0x55c03f,..._0x2b54e1},'args':_0x4a6d5c?[_0x4a6d5c]:[],'tdx':_0xe3aa15});gracefulExit(_0x5bf217);}),parentSegmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x3fe))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x223))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2b9),'Limit\x20number\x20of\x20rows')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2e0),'Output\x20as\x20JSON')['option'](a2_0x6964e6(0x212),a2_0x6964e6(0x43c))[a2_0x6964e6(0x304)](async(_0x1b2c1c,_0x7c85e7)=>{const _0x55ffbc=a2_0x6964e6,_0x8cc3e8=new ParentSegmentShowCommand(),_0x16e6b0=program['opts'](),_0x5b3990=await createTDXInstance(_0x16e6b0),_0x5d77c8=await _0x8cc3e8[_0x55ffbc(0x3a2)]({'options':{..._0x16e6b0,..._0x7c85e7},'args':_0x1b2c1c?[_0x1b2c1c]:[],'tdx':_0x5b3990});gracefulExit(_0x5d77c8);}),parentSegmentCmd[a2_0x6964e6(0x432)]('use\x20[name]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3af))[a2_0x6964e6(0x304)](async(_0x4fe490,_0x146f75)=>{const _0x22352c=a2_0x6964e6,_0x5ac41e=new UseCommand(),_0x457fad=program[_0x22352c(0x34e)](),_0x339459=_0x4fe490?[_0x22352c(0x369),_0x4fe490]:[],_0x16faa9=await _0x5ac41e[_0x22352c(0x3a2)]({'options':{..._0x457fad,..._0x146f75},'args':_0x339459,'tdx':null});gracefulExit(_0x16faa9);});const psRtCmd=parentSegmentCmd[a2_0x6964e6(0x432)]('rt')[a2_0x6964e6(0x2ef)]('RT\x202.0\x20configuration\x20management');psRtCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33a))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x1ed))[a2_0x6964e6(0x304)](async(_0x20e04c,_0xa688d)=>{const _0x20da56=a2_0x6964e6,_0x20b635=new PSRtListCommand(),_0x25aadc=program[_0x20da56(0x34e)](),_0x399203=await createTDXInstance(_0x25aadc),_0x2404ca=await _0x20b635[_0x20da56(0x3a2)]({'options':{..._0x25aadc,..._0xa688d},'args':_0x20e04c?[_0x20e04c]:[],'tdx':_0x399203});gracefulExit(_0x2404ca);}),psRtCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2cf))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x227))[a2_0x6964e6(0x304)](async(_0x537be7,_0xfb995c)=>{const _0x305b41=a2_0x6964e6,_0x2edfe0=new PSRtValidateCommand(),_0x3167a1=program[_0x305b41(0x34e)](),_0x4c6666=await createTDXInstance(_0x3167a1),_0x10bf59=await _0x2edfe0[_0x305b41(0x3a2)]({'options':{..._0x3167a1,..._0xfb995c},'args':_0x537be7?[_0x537be7]:[],'tdx':_0x4c6666});gracefulExit(_0x10bf59);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})['description'](a2_0x6964e6(0x267));parentRtCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33a))[a2_0x6964e6(0x2ef)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')['action'](async(_0x4189e9,_0x151e0e)=>{const _0x27a603=a2_0x6964e6,_0x3f2cc7=new PSRtListCommand(),_0x31f490=program[_0x27a603(0x34e)](),_0x163fd1=await createTDXInstance(_0x31f490),_0x3cc14e=await _0x3f2cc7[_0x27a603(0x3a2)]({'options':{..._0x31f490,..._0x151e0e},'args':_0x4189e9?[_0x4189e9]:[],'tdx':_0x163fd1});gracefulExit(_0x3cc14e);}),parentRtCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2cf))[a2_0x6964e6(0x2ef)]('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')[a2_0x6964e6(0x304)](async(_0xb0c8f8,_0x2a33f4)=>{const _0x4851f8=a2_0x6964e6,_0x2dc64f=new PSRtValidateCommand(),_0x3b589d=program[_0x4851f8(0x34e)](),_0x3c5095=await createTDXInstance(_0x3b589d),_0x44c097=await _0x2dc64f[_0x4851f8(0x3a2)]({'options':{..._0x3b589d,..._0x2a33f4},'args':_0xb0c8f8?[_0xb0c8f8]:[],'tdx':_0x3c5095});gracefulExit(_0x44c097);});const psPzCmd=parentSegmentCmd[a2_0x6964e6(0x432)]('pz')['description'](a2_0x6964e6(0x215));psPzCmd[a2_0x6964e6(0x432)]('list\x20[name]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2a4))['action'](async(_0x2e920d,_0x46bdb2)=>{const _0x167448=a2_0x6964e6,_0x15cfe4=new PSPzListCommand(),_0x488549=program[_0x167448(0x34e)](),_0x3196ac=await createTDXInstance(_0x488549),_0x26972f=await _0x15cfe4[_0x167448(0x3a2)]({'options':{..._0x488549,..._0x46bdb2},'args':_0x2e920d?[_0x2e920d]:[],'tdx':_0x3196ac});gracefulExit(_0x26972f);}),psPzCmd[a2_0x6964e6(0x432)]('init\x20[name]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x403))[a2_0x6964e6(0x304)](async(_0x330ee3,_0x40e4fe)=>{const _0x242877=a2_0x6964e6,_0x156e72=new PSPzInitCommand(),_0x5d5a85=program[_0x242877(0x34e)](),_0x33bb13=await createTDXInstance(_0x5d5a85),_0x42d0e6=await _0x156e72['run']({'options':{..._0x5d5a85,..._0x40e4fe},'args':_0x330ee3?[_0x330ee3]:[],'tdx':_0x33bb13});gracefulExit(_0x42d0e6);});const parentPzCmd=parentCmd['command']('pz',{'hidden':!![]})[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x215));parentPzCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2e6))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2a4))[a2_0x6964e6(0x304)](async(_0x4ef7ac,_0x4184ba)=>{const _0x4cd32b=a2_0x6964e6,_0x76dafb=new PSPzListCommand(),_0x12e833=program[_0x4cd32b(0x34e)](),_0x5e85ac=await createTDXInstance(_0x12e833),_0x5324ea=await _0x76dafb[_0x4cd32b(0x3a2)]({'options':{..._0x12e833,..._0x4184ba},'args':_0x4ef7ac?[_0x4ef7ac]:[],'tdx':_0x5e85ac});gracefulExit(_0x5324ea);}),parentPzCmd[a2_0x6964e6(0x432)]('init\x20[name]')['description'](a2_0x6964e6(0x403))[a2_0x6964e6(0x304)](async(_0x24970b,_0x546b58)=>{const _0x377579=a2_0x6964e6,_0xa5f47d=new PSPzInitCommand(),_0x1501c4=program['opts'](),_0x581d75=await createTDXInstance(_0x1501c4),_0x2fe4cc=await _0xa5f47d[_0x377579(0x3a2)]({'options':{..._0x1501c4,..._0x546b58},'args':_0x24970b?[_0x24970b]:[],'tdx':_0x581d75});gracefulExit(_0x2fe4cc);}),parentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x1e6))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3e0))[a2_0x6964e6(0x3c8)]('--database\x20<db>',a2_0x6964e6(0x2a8))[a2_0x6964e6(0x3c8)](a2_0x6964e6(0x2e4),a2_0x6964e6(0x421))[a2_0x6964e6(0x429)](a2_0x6964e6(0x213),'Parent\x20segment\x20description')[a2_0x6964e6(0x429)]('--schedule-type\x20<type>',a2_0x6964e6(0x201))[a2_0x6964e6(0x429)]('--schedule-option\x20<value>',a2_0x6964e6(0x2f6))['option']('--timezone\x20<tz>',a2_0x6964e6(0x3c3))[a2_0x6964e6(0x429)]('--attributes\x20<json>','Attributes\x20as\x20JSON\x20string')[a2_0x6964e6(0x429)](a2_0x6964e6(0x40a),a2_0x6964e6(0x3f3))[a2_0x6964e6(0x429)](a2_0x6964e6(0x324),'Behaviors\x20as\x20JSON\x20string')[a2_0x6964e6(0x429)]('--behaviors-file\x20<file>',a2_0x6964e6(0x1f8))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3f1),a2_0x6964e6(0x36f))[a2_0x6964e6(0x429)](a2_0x6964e6(0x44f),a2_0x6964e6(0x3da))[a2_0x6964e6(0x304)](async(_0x2198c1,_0x533847)=>{const _0x4ac863=a2_0x6964e6,_0x54235d=new ParentSegmentCreateCommand(),_0x4ce9d2=program[_0x4ac863(0x34e)](),_0x369c33=await createTDXInstance(_0x4ce9d2),_0x459e59=await _0x54235d[_0x4ac863(0x3a2)]({'options':{..._0x4ce9d2,..._0x533847},'args':[_0x2198c1],'tdx':_0x369c33});gracefulExit(_0x459e59);}),parentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x368))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x275))[a2_0x6964e6(0x429)](a2_0x6964e6(0x213),a2_0x6964e6(0x3b9))[a2_0x6964e6(0x429)](a2_0x6964e6(0x265),a2_0x6964e6(0x37b))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3bc),a2_0x6964e6(0x232))['option']('--timezone\x20<tz>',a2_0x6964e6(0x29e))[a2_0x6964e6(0x429)]('--add-attributes\x20<json>',a2_0x6964e6(0x3db))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3ce),'Add\x20attributes\x20from\x20JSON\x20file')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2eb),a2_0x6964e6(0x457))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3a8),a2_0x6964e6(0x249))[a2_0x6964e6(0x304)](async(_0x4ea5b6,_0x359710)=>{const _0xbeb798=a2_0x6964e6,_0x3adbaa=new ParentSegmentUpdateCommand(),_0x1377e9=program[_0xbeb798(0x34e)](),_0x3a61f2=await createTDXInstance(_0x1377e9),_0x3e2eaa=await _0x3adbaa[_0xbeb798(0x3a2)]({'options':{..._0x1377e9,..._0x359710},'args':[_0x4ea5b6],'tdx':_0x3a61f2});gracefulExit(_0x3e2eaa);}),folderCmd['command']('create\x20<parent_name>\x20<folder_name>')['description'](a2_0x6964e6(0x31e))[a2_0x6964e6(0x429)](a2_0x6964e6(0x213),a2_0x6964e6(0x412))['option'](a2_0x6964e6(0x42b),'Parent\x20folder\x20name\x20for\x20nested\x20folders')['action'](async(_0x16fbaf,_0x51e43b,_0x186bda)=>{const _0xde079b=a2_0x6964e6,_0x2fb22f=new SegmentFolderCreateCommand(),_0x90a0ab=program['opts'](),_0x107349=await createTDXInstance(_0x90a0ab),_0x29c32e=await _0x2fb22f[_0xde079b(0x3a2)]({'options':{..._0x90a0ab,..._0x186bda},'args':[_0x16fbaf,_0x51e43b],'tdx':_0x107349});gracefulExit(_0x29c32e);}),program[a2_0x6964e6(0x432)](a2_0x6964e6(0x365))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x383))[a2_0x6964e6(0x304)](async(_0x41a488,_0xb61a7)=>{const _0xe89df1=a2_0x6964e6,_0xc09d0f=new ActivationsCommand(),_0x4635df=program[_0xe89df1(0x34e)](),_0x1e5387=await createTDXInstance(_0x4635df),_0x26381e=await _0xc09d0f[_0xe89df1(0x3a2)]({'options':{..._0x4635df,..._0xb61a7},'args':[_0x41a488],'tdx':_0x1e5387});gracefulExit(_0x26381e);});const workflowCmd=program[a2_0x6964e6(0x432)](a2_0x6964e6(0x2be))[a2_0x6964e6(0x25a)]('wf')['description'](a2_0x6964e6(0x3ea)),wfProjectCmd=workflowCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x22c))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x264)),wfProjectListAction=async(_0x4c8f27,_0x3ea2a9)=>{const _0x551c5f=a2_0x6964e6,_0x28de97=new WorkflowProjectsCommand(),_0x59bed8=program[_0x551c5f(0x34e)](),_0x4c95b7=await createTDXInstance(_0x59bed8),_0xa80a5b=await _0x28de97[_0x551c5f(0x3a2)]({'options':{..._0x59bed8,..._0x3ea2a9},'args':_0x4c8f27?[_0x4c8f27]:[],'tdx':_0x4c95b7});gracefulExit(_0xa80a5b);};wfProjectCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33a))[a2_0x6964e6(0x2ef)]('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x6964e6(0x304)](wfProjectListAction),workflowCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x415))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2ff))[a2_0x6964e6(0x304)](wfProjectListAction);const wfWorkflowListAction=async(_0xe9206,_0x3a7f14)=>{const _0xbb8703=a2_0x6964e6,_0x3c58a7=new WorkflowWorkflowsCommand(),_0x5c5abe=program[_0xbb8703(0x34e)](),_0x256462=await createTDXInstance(_0x5c5abe),_0x48d538=await _0x3c58a7['run']({'options':{..._0x5c5abe,..._0x3a7f14},'args':_0xe9206?[_0xe9206]:[],'tdx':_0x256462});gracefulExit(_0x48d538);};workflowCmd[a2_0x6964e6(0x432)]('workflows\x20[project]')['description']('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')[a2_0x6964e6(0x304)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x306))[a2_0x6964e6(0x2ef)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0x32f7ba,_0x454787)=>{const _0x22e45e=a2_0x6964e6,_0x5060af=new WorkflowSessionsCommand(),_0x5f19e8=program[_0x22e45e(0x34e)](),_0x2a1f=await createTDXInstance(_0x5f19e8),_0x3e40ad=await _0x5060af[_0x22e45e(0x3a2)]({'options':{..._0x5f19e8,..._0x454787},'args':_0x32f7ba?[_0x32f7ba]:[],'tdx':_0x2a1f});gracefulExit(_0x3e40ad);};wfSessionCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x3bb))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x39b))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2bd),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x447),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option'](a2_0x6964e6(0x2f9),a2_0x6964e6(0x3e9))[a2_0x6964e6(0x304)](wfSessionListAction),workflowCmd[a2_0x6964e6(0x432)]('sessions\x20[project]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x296))[a2_0x6964e6(0x429)]('--status\x20<status>',a2_0x6964e6(0x221))[a2_0x6964e6(0x429)]('--from\x20<timestamp>',a2_0x6964e6(0x2f4))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2f9),a2_0x6964e6(0x3e9))[a2_0x6964e6(0x304)](wfSessionListAction);const wfAttemptListAction=async(_0x1e6df5,_0x322ce8)=>{const _0x11f9f0=a2_0x6964e6,_0x18b396=new WorkflowAttemptsCommand(),_0x1b3e61=program[_0x11f9f0(0x34e)](),_0x2d0a49=await createTDXInstance(_0x1b3e61),_0x2c6718=await _0x18b396[_0x11f9f0(0x3a2)]({'options':{..._0x1b3e61,..._0x322ce8},'args':_0x1e6df5?[_0x1e6df5]:[],'tdx':_0x2d0a49});gracefulExit(_0x2c6718);},attemptCmd=workflowCmd[a2_0x6964e6(0x432)]('attempt')['description'](a2_0x6964e6(0x31c))[a2_0x6964e6(0x2c9)](a2_0x6964e6(0x1dd),'Attempt\x20ID')['argument'](a2_0x6964e6(0x20a),'Action:\x20logs,\x20tasks,\x20kill,\x20retry')[a2_0x6964e6(0x2c9)]('[task-name]','Task\x20name\x20for\x20logs\x20action')[a2_0x6964e6(0x429)]('--include-subtasks',a2_0x6964e6(0x39e))[a2_0x6964e6(0x429)](a2_0x6964e6(0x219),a2_0x6964e6(0x236))[a2_0x6964e6(0x429)]('--resume-from\x20<task>',a2_0x6964e6(0x32c))['option'](a2_0x6964e6(0x307),a2_0x6964e6(0x367))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3fc),a2_0x6964e6(0x31a))[a2_0x6964e6(0x429)]('--include-retried','Include\x20retried\x20attempts\x20(for\x20list)')['action'](async(_0x389869,_0x3f67b2,_0x5dd57c,_0x50c2e0)=>{const _0x2123a5=a2_0x6964e6;if(_0x389869===_0x2123a5(0x388)){await wfAttemptListAction(_0x3f67b2,_0x50c2e0);return;}if(!_0x389869){attemptCmd['help']();return;}const _0x19b434=program['opts'](),_0x2e9548=await createTDXInstance(_0x19b434);let _0x4ea8d9=0x0;if(!_0x3f67b2){const _0x55df15=new WorkflowAttemptCommand();_0x4ea8d9=await _0x55df15[_0x2123a5(0x3a2)]({'options':{..._0x19b434,..._0x50c2e0},'args':[_0x389869],'tdx':_0x2e9548});}else{if(_0x3f67b2===_0x2123a5(0x40d)){const _0x29481e=new WorkflowLogsCommand();_0x4ea8d9=await _0x29481e['run']({'options':{..._0x19b434,..._0x50c2e0},'args':_0x5dd57c?[_0x389869,_0x5dd57c]:[_0x389869],'tdx':_0x2e9548});}else{if(_0x3f67b2===_0x2123a5(0x1f1)){const _0x50765c=new WorkflowTasksCommand();_0x4ea8d9=await _0x50765c[_0x2123a5(0x3a2)]({'options':{..._0x19b434,..._0x50c2e0},'args':[_0x389869],'tdx':_0x2e9548});}else{if(_0x3f67b2===_0x2123a5(0x354)){const _0x540682=new WorkflowKillCommand();_0x4ea8d9=await _0x540682[_0x2123a5(0x3a2)]({'options':{..._0x19b434,..._0x50c2e0},'args':[_0x389869],'tdx':_0x2e9548});}else{if(_0x3f67b2===_0x2123a5(0x37e)){const _0x374e37=new WorkflowRetryCommand();_0x4ea8d9=await _0x374e37[_0x2123a5(0x3a2)]({'options':{..._0x19b434,..._0x50c2e0},'args':['attempt:'+_0x389869],'tdx':_0x2e9548});}else console[_0x2123a5(0x2bb)]('Unknown\x20action:\x20'+_0x3f67b2),console[_0x2123a5(0x2bb)](_0x2123a5(0x231)),_0x4ea8d9=0x1;}}}}gracefulExit(_0x4ea8d9);});attemptCmd[a2_0x6964e6(0x432)]('list\x20[project]')['description']('List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2d2),a2_0x6964e6(0x277))['action'](wfAttemptListAction),workflowCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x40e))[a2_0x6964e6(0x2ef)]('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2d2),a2_0x6964e6(0x277))['action'](wfAttemptListAction),workflowCmd[a2_0x6964e6(0x432)]('timeline\x20[project.workflow]')['description'](a2_0x6964e6(0x392))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2cb),'Follow/watch\x20timeline\x20for\x20running\x20attempts')['option'](a2_0x6964e6(0x318),a2_0x6964e6(0x2d9))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2c7),a2_0x6964e6(0x34f))['action'](async(_0x4dd08b,_0x4f2b78)=>{const _0x25c31e=a2_0x6964e6,_0x47bdc0=new WorkflowTimelineCommand(),_0x4fb054=program[_0x25c31e(0x34e)](),_0x15db3a=await createTDXInstance(_0x4fb054),_0x105f7f=await _0x47bdc0['run']({'options':{..._0x4fb054,..._0x4f2b78},'args':_0x4dd08b?[_0x4dd08b]:[],'tdx':_0x15db3a});gracefulExit(_0x105f7f);}),workflowCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2bf))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x241))[a2_0x6964e6(0x429)](a2_0x6964e6(0x453),a2_0x6964e6(0x346))[a2_0x6964e6(0x429)](a2_0x6964e6(0x307),a2_0x6964e6(0x3f6))['action'](async(_0x5eeb45,_0x2627cf)=>{const _0x53a5a9=a2_0x6964e6,_0x1df63a=new WorkflowRetryCommand(),_0x241361=program['opts'](),_0x4c788c=await createTDXInstance(_0x241361),_0x3c1075=await _0x1df63a[_0x53a5a9(0x3a2)]({'options':{..._0x241361,..._0x2627cf},'args':[_0x5eeb45],'tdx':_0x4c788c});gracefulExit(_0x3c1075);}),workflowCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x25d))['description']('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')[a2_0x6964e6(0x429)]('--param\x20<key=value>',a2_0x6964e6(0x1f9),(_0x5d2d8a,_0x42ffe3=[])=>[..._0x42ffe3,_0x5d2d8a],[])['option'](a2_0x6964e6(0x32d),'Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')[a2_0x6964e6(0x304)](async(_0x4041c9,_0x58db9e)=>{const _0x34ce89=a2_0x6964e6,_0x2c1c32=new WorkflowRunCommand(),_0x38c48f=program[_0x34ce89(0x34e)](),_0x4d2451=await createTDXInstance(_0x38c48f),_0x4a9eee=await _0x2c1c32[_0x34ce89(0x3a2)]({'options':{..._0x38c48f,..._0x58db9e},'args':_0x4041c9?[_0x4041c9]:[],'tdx':_0x4d2451});gracefulExit(_0x4a9eee);}),workflowCmd[a2_0x6964e6(0x432)]('download\x20<project-name>\x20[output-dir]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x38d))[a2_0x6964e6(0x429)](a2_0x6964e6(0x274),a2_0x6964e6(0x3e1))[a2_0x6964e6(0x304)](async(_0x4a0eda,_0x4f955d,_0x5763d2)=>{const _0x5a9dca=a2_0x6964e6,_0x3c044b=new WorkflowDownloadCommand(),_0x48a8be=program[_0x5a9dca(0x34e)](),_0x428bd3=await createTDXInstance(_0x48a8be),_0x490bdd=await _0x3c044b['run']({'options':{..._0x48a8be,..._0x5763d2},'args':[_0x4a0eda,_0x4f955d||'.'],'tdx':_0x428bd3});gracefulExit(_0x490bdd);}),workflowCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x312))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x24c))[a2_0x6964e6(0x429)](a2_0x6964e6(0x274),a2_0x6964e6(0x2c0))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1e3),a2_0x6964e6(0x41c))[a2_0x6964e6(0x429)]('-y,\x20--yes',a2_0x6964e6(0x1fe))['action'](async(_0x2cde1c,_0x4828b4,_0x146d6b)=>{const _0x9bd3be=a2_0x6964e6,_0x314afb=new WorkflowPullCommand(),_0x73b174=program['opts'](),_0x2a1ccd=await createTDXInstance(_0x73b174),_0x11195b=await _0x314afb[_0x9bd3be(0x3a2)]({'options':{..._0x73b174,..._0x146d6b},'args':_0x4828b4?[_0x2cde1c,_0x4828b4]:[_0x2cde1c],'tdx':_0x2a1ccd});gracefulExit(_0x11195b);}),workflowCmd[a2_0x6964e6(0x432)]('push\x20[source-dir]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x1df))[a2_0x6964e6(0x429)](a2_0x6964e6(0x274),a2_0x6964e6(0x26e))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1e3),a2_0x6964e6(0x28b))['option'](a2_0x6964e6(0x2d4),a2_0x6964e6(0x41d))[a2_0x6964e6(0x429)](a2_0x6964e6(0x396),a2_0x6964e6(0x1fe))[a2_0x6964e6(0x304)](async(_0x17ebfa,_0x31b98c)=>{const _0x202905=a2_0x6964e6,_0x3ba57b=new WorkflowPushCommand(),_0x24b590=program[_0x202905(0x34e)](),_0x38681d=await createTDXInstance(_0x24b590),_0x55b815=await _0x3ba57b['run']({'options':{..._0x24b590,..._0x31b98c},'args':_0x17ebfa?[_0x17ebfa]:[],'tdx':_0x38681d});gracefulExit(_0x55b815);}),workflowCmd[a2_0x6964e6(0x432)]('upload\x20[project-name-or-dir]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x426))[a2_0x6964e6(0x429)](a2_0x6964e6(0x30f),a2_0x6964e6(0x42d))[a2_0x6964e6(0x429)](a2_0x6964e6(0x274),'Revision\x20name\x20(default:\x20timestamp)')[a2_0x6964e6(0x429)]('--skip-validation','Skip\x20validation\x20of\x20.dig\x20files')[a2_0x6964e6(0x304)](async(_0x31b898,_0x30fd99)=>{const _0x23bb74=new WorkflowUploadCommand(),_0xfb3a62=program['opts'](),_0x45ba3e=await createTDXInstance(_0xfb3a62),_0x17e1d3=await _0x23bb74['run']({'options':{..._0xfb3a62,..._0x30fd99},'args':_0x31b898?[_0x31b898]:[],'tdx':_0x45ba3e});gracefulExit(_0x17e1d3);}),workflowCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x371))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3be))[a2_0x6964e6(0x429)](a2_0x6964e6(0x30f),a2_0x6964e6(0x39a))[a2_0x6964e6(0x429)]('--revision\x20<revision>',a2_0x6964e6(0x26e))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1e3),'Preview\x20without\x20creating\x20the\x20project')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2d4),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x6964e6(0x429)](a2_0x6964e6(0x396),a2_0x6964e6(0x1fe))[a2_0x6964e6(0x304)](async(_0x495789,_0x42d0c7)=>{const _0x55c48b=a2_0x6964e6,_0x4ac915=new WorkflowCloneCommand(),_0x7cd3bd=program[_0x55c48b(0x34e)](),_0x5107c4=await createTDXInstance(_0x7cd3bd),_0x1a65af=await _0x4ac915[_0x55c48b(0x3a2)]({'options':{..._0x7cd3bd,..._0x42d0c7},'args':_0x495789?[_0x495789]:[],'tdx':_0x5107c4});gracefulExit(_0x1a65af);}),workflowCmd[a2_0x6964e6(0x432)]('delete\x20<project-name-or-id>')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2b8))[a2_0x6964e6(0x304)](async(_0x2bbb17,_0x2e746f)=>{const _0x26e95a=a2_0x6964e6,_0x241fdd=new WorkflowDeleteCommand(),_0x3a5499=program['opts'](),_0x1cb612=await createTDXInstance(_0x3a5499),_0xb8be75=await _0x241fdd[_0x26e95a(0x3a2)]({'options':{..._0x3a5499,..._0x2e746f},'args':[_0x2bbb17],'tdx':_0x1cb612});gracefulExit(_0xb8be75);}),workflowCmd[a2_0x6964e6(0x432)]('use\x20[project]')[a2_0x6964e6(0x2ef)]('Set\x20default\x20workflow\x20project\x20for\x20this\x20session')['option'](a2_0x6964e6(0x378),'Clear\x20workflow\x20project\x20context')[a2_0x6964e6(0x304)](async(_0x13b907,_0x388aad)=>{const _0x482a8e=a2_0x6964e6,_0x48383c=new WorkflowUseCommand(),_0x480490=program[_0x482a8e(0x34e)](),_0x36c19a=await createTDXInstance(_0x480490),_0x2b3128=await _0x48383c[_0x482a8e(0x3a2)]({'options':{..._0x480490,..._0x388aad},'args':_0x13b907?[_0x13b907]:[],'tdx':_0x36c19a});gracefulExit(_0x2b3128);});const wfSecretsCmd=workflowCmd[a2_0x6964e6(0x432)]('secrets')['description']('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd['command'](a2_0x6964e6(0x3bb))['description'](a2_0x6964e6(0x3a0))['action'](async(_0x3f33e8,_0x419e6b)=>{const _0xb1a947=a2_0x6964e6,_0x204e7d=new WorkflowSecretsListCommand(),_0x230e58=program[_0xb1a947(0x34e)](),_0x5372c4=await createTDXInstance(_0x230e58),_0xf92d48=await _0x204e7d[_0xb1a947(0x3a2)]({'options':{..._0x230e58,..._0x419e6b},'args':_0x3f33e8?[_0x3f33e8]:[],'tdx':_0x5372c4});gracefulExit(_0xf92d48);}),wfSecretsCmd['command']('set\x20<args...>')['description'](a2_0x6964e6(0x214))[a2_0x6964e6(0x304)](async(_0x4727a8,_0x2a6d27)=>{const _0x4ef4b5=a2_0x6964e6,_0x4da727=new WorkflowSecretsSetCommand(),_0x128bc6=program['opts'](),_0xbc2294=await createTDXInstance(_0x128bc6),_0x5ce261=await _0x4da727[_0x4ef4b5(0x3a2)]({'options':{..._0x128bc6,..._0x2a6d27},'args':_0x4727a8,'tdx':_0xbc2294});gracefulExit(_0x5ce261);}),wfSecretsCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x23a))[a2_0x6964e6(0x2ef)]('Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x396),a2_0x6964e6(0x1fe))[a2_0x6964e6(0x304)](async(_0x5d799d,_0x551cf6)=>{const _0x28f80f=a2_0x6964e6,_0x5506a8=new WorkflowSecretsDeleteCommand(),_0x5f9f30=program[_0x28f80f(0x34e)](),_0x4ffe7b=await createTDXInstance(_0x5f9f30),_0x24b591=await _0x5506a8[_0x28f80f(0x3a2)]({'options':{..._0x5f9f30,..._0x551cf6},'args':_0x5d799d,'tdx':_0x4ffe7b});gracefulExit(_0x24b591);});const jobCmd=program[a2_0x6964e6(0x432)](a2_0x6964e6(0x27d))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x259)),jobListAction=async _0x222d18=>{const _0x184c4a=a2_0x6964e6,_0x14c2ae=new JobListCommand(),_0x296e0c=program[_0x184c4a(0x34e)](),_0x56a755=await createTDXInstance(_0x296e0c),_0xeedbf0=await _0x14c2ae[_0x184c4a(0x3a2)]({'options':{..._0x296e0c,..._0x222d18},'args':[],'tdx':_0x56a755});gracefulExit(_0xeedbf0);};jobCmd['command']('list')[a2_0x6964e6(0x2ef)]('List\x20jobs')[a2_0x6964e6(0x429)]('--status\x20<status>',a2_0x6964e6(0x3bf))[a2_0x6964e6(0x304)](jobListAction),program[a2_0x6964e6(0x432)](a2_0x6964e6(0x43d),{'hidden':!![]})[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2a0))['option'](a2_0x6964e6(0x2bd),a2_0x6964e6(0x3bf))['action'](jobListAction),jobCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x229))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x217))[a2_0x6964e6(0x304)](async(_0x119831,_0x5c067f)=>{const _0x2b1095=new JobShowCommand(),_0x5d9d85=program['opts'](),_0x28a3d6=await createTDXInstance(_0x5d9d85),_0x47bf3e=await _0x2b1095['run']({'options':{..._0x5d9d85,..._0x5c067f},'args':[_0x119831],'tdx':_0x28a3d6});gracefulExit(_0x47bf3e);}),jobCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2de))['description']('Kill\x20a\x20job')[a2_0x6964e6(0x304)](async(_0x306de3,_0x1de646)=>{const _0x4e21e8=a2_0x6964e6,_0x47e0c0=new JobKillCommand(),_0x510083=program['opts'](),_0x4b2cd6=await createTDXInstance(_0x510083),_0x579f0d=await _0x47e0c0[_0x4e21e8(0x3a2)]({'options':{..._0x510083,..._0x1de646},'args':[_0x306de3],'tdx':_0x4b2cd6});gracefulExit(_0x579f0d);}),jobCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2f0))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x290))['option'](a2_0x6964e6(0x2d3),a2_0x6964e6(0x44e),'trino')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2c4),a2_0x6964e6(0x288))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2a1),a2_0x6964e6(0x2b2),a2_0x6964e6(0x282))['option'](a2_0x6964e6(0x2ed),a2_0x6964e6(0x293))[a2_0x6964e6(0x304)](async(_0x1e9439,_0x441132)=>{const _0x2e111e=a2_0x6964e6,_0x2b7237=new JobSubmitCommand(),_0x3cc242=program[_0x2e111e(0x34e)](),_0x48d26a=await createTDXInstance(_0x3cc242),_0xeb3495=await _0x2b7237['run']({'options':{..._0x3cc242,..._0x441132},'args':_0x1e9439?[_0x1e9439]:[],'tdx':_0x48d26a});gracefulExit(_0xeb3495);}),jobCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x372))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x26d))[a2_0x6964e6(0x304)](async(_0x5f27f0,_0x18ef6d)=>{const _0x26b5d3=a2_0x6964e6,_0x553174=new JobResultCommand(),_0x5db0f2=program[_0x26b5d3(0x34e)](),_0x208b37=await createTDXInstance(_0x5db0f2),_0x1a5db8=await _0x553174[_0x26b5d3(0x3a2)]({'options':{..._0x5db0f2,..._0x18ef6d},'args':[_0x5f27f0],'tdx':_0x208b37});gracefulExit(_0x1a5db8);});const scheduleCmd=jobCmd[a2_0x6964e6(0x432)]('schedule')['description'](a2_0x6964e6(0x20e));scheduleCmd['command'](a2_0x6964e6(0x33a))[a2_0x6964e6(0x2ef)]('List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)')['action'](async(_0x45adc2,_0x3e6032)=>{const _0x1b18a8=a2_0x6964e6,_0x1be2e2=new ScheduleListCommand(),_0x3f56db=program[_0x1b18a8(0x34e)](),_0x4f20a6=await createTDXInstance(_0x3f56db),_0x145be2=await _0x1be2e2[_0x1b18a8(0x3a2)]({'options':{..._0x3f56db,..._0x3e6032},'args':_0x45adc2?[_0x45adc2]:[],'tdx':_0x4f20a6});gracefulExit(_0x145be2);}),scheduleCmd[a2_0x6964e6(0x432)]('show\x20<name>')['description'](a2_0x6964e6(0x297))['action'](async(_0x4103aa,_0x3da9a6)=>{const _0x2994e3=a2_0x6964e6,_0x1a8a03=new ScheduleShowCommand(),_0x357d19=program['opts'](),_0x2d5191=await createTDXInstance(_0x357d19),_0x38a148=await _0x1a8a03[_0x2994e3(0x3a2)]({'options':{..._0x357d19,..._0x3da9a6},'args':[_0x4103aa],'tdx':_0x2d5191});gracefulExit(_0x38a148);}),scheduleCmd['command']('create\x20<name>')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x24b))[a2_0x6964e6(0x3c8)](a2_0x6964e6(0x30a),a2_0x6964e6(0x41a))[a2_0x6964e6(0x3c8)](a2_0x6964e6(0x2c4),'Read\x20query\x20from\x20file')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2d6),a2_0x6964e6(0x294),a2_0x6964e6(0x258))['option'](a2_0x6964e6(0x3cd),a2_0x6964e6(0x21a))[a2_0x6964e6(0x429)](a2_0x6964e6(0x224),'Timezone\x20for\x20cron\x20(default:\x20UTC)')['option'](a2_0x6964e6(0x31b),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x6964e6(0x429)](a2_0x6964e6(0x3ee),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x6964e6(0x429)]('--retry-limit\x20<0~32>',a2_0x6964e6(0x270))['option'](a2_0x6964e6(0x3a7),a2_0x6964e6(0x1f5))[a2_0x6964e6(0x429)]('--result\x20<url>',a2_0x6964e6(0x2c6))[a2_0x6964e6(0x304)](async(_0x170657,_0x476849)=>{const _0x417617=a2_0x6964e6,_0x22312d=new ScheduleCreateCommand(),_0x28d065=program[_0x417617(0x34e)](),_0x1131f4=await createTDXInstance(_0x28d065),_0x10c363=await _0x22312d[_0x417617(0x3a2)]({'options':{..._0x28d065,..._0x476849},'args':[_0x170657],'tdx':_0x1131f4});gracefulExit(_0x10c363);}),scheduleCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x368))['description'](a2_0x6964e6(0x408))[a2_0x6964e6(0x429)](a2_0x6964e6(0x30a),a2_0x6964e6(0x41a))['option'](a2_0x6964e6(0x2c4),a2_0x6964e6(0x288))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2d6),'Query\x20type:\x20trino\x20or\x20hive')['option']('--cron\x20<expression>',a2_0x6964e6(0x21a))['option']('--timezone\x20<tz>',a2_0x6964e6(0x3dc))[a2_0x6964e6(0x429)]('--delay\x20<seconds>','Delay\x20in\x20seconds\x20before\x20execution')[a2_0x6964e6(0x429)](a2_0x6964e6(0x3ee),a2_0x6964e6(0x2d8))['option'](a2_0x6964e6(0x442),a2_0x6964e6(0x270))['option'](a2_0x6964e6(0x3a7),a2_0x6964e6(0x1f5))['option'](a2_0x6964e6(0x295),a2_0x6964e6(0x2c6))[a2_0x6964e6(0x304)](async(_0x17f6dc,_0x3936a6)=>{const _0x5d38f4=a2_0x6964e6,_0x551d59=new ScheduleUpdateCommand(),_0x2c663b=program['opts'](),_0x4e8244=await createTDXInstance(_0x2c663b),_0x2900cf=await _0x551d59[_0x5d38f4(0x3a2)]({'options':{..._0x2c663b,..._0x3936a6},'args':[_0x17f6dc],'tdx':_0x4e8244});gracefulExit(_0x2900cf);}),scheduleCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x382))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x43f))[a2_0x6964e6(0x304)](async(_0x1cb4bd,_0x3971c8)=>{const _0x5162bd=a2_0x6964e6,_0x28de47=new ScheduleDeleteCommand(),_0x1e7003=program[_0x5162bd(0x34e)](),_0x1956e3=await createTDXInstance(_0x1e7003),_0x441ebc=await _0x28de47[_0x5162bd(0x3a2)]({'options':{..._0x1e7003,..._0x3971c8},'args':[_0x1cb4bd],'tdx':_0x1956e3});gracefulExit(_0x441ebc);}),scheduleCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33d))['description'](a2_0x6964e6(0x1ec))['option'](a2_0x6964e6(0x2e9),a2_0x6964e6(0x280))[a2_0x6964e6(0x429)]('--num\x20<1-10>','Number\x20of\x20executions\x20(1-10,\x20default:\x201)')[a2_0x6964e6(0x304)](async(_0x43a8fc,_0x3352d2)=>{const _0x11ad14=a2_0x6964e6,_0x51bea5=new ScheduleRunCommand(),_0x5a8638=program['opts'](),_0x26b7de=await createTDXInstance(_0x5a8638),_0x363d8e=await _0x51bea5[_0x11ad14(0x3a2)]({'options':{..._0x5a8638,..._0x3352d2},'args':[_0x43a8fc],'tdx':_0x26b7de});gracefulExit(_0x363d8e);}),scheduleCmd['command'](a2_0x6964e6(0x332))[a2_0x6964e6(0x2ef)]('Show\x20schedule\x20execution\x20history')[a2_0x6964e6(0x429)](a2_0x6964e6(0x311),a2_0x6964e6(0x1e2))[a2_0x6964e6(0x429)](a2_0x6964e6(0x211),a2_0x6964e6(0x256))[a2_0x6964e6(0x304)](async(_0x18ebc5,_0x259492)=>{const _0x3c88ab=a2_0x6964e6,_0x23628e=new ScheduleHistoryCommand(),_0x4a6218=program[_0x3c88ab(0x34e)](),_0x48ee41=await createTDXInstance(_0x4a6218),_0x3624ba=await _0x23628e[_0x3c88ab(0x3a2)]({'options':{..._0x4a6218,..._0x259492},'args':[_0x18ebc5],'tdx':_0x48ee41});gracefulExit(_0x3624ba);});const llmCmd=program['command']('llm')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3eb));llmCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x418))[a2_0x6964e6(0x2ef)]('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')[a2_0x6964e6(0x304)](async(_0x318658,_0x243cfd)=>{const _0x119f24=a2_0x6964e6,_0x45f006=new LLMUseCommand(),_0x3a6841=program[_0x119f24(0x34e)](),_0x88f840=await createTDXInstance(_0x3a6841),_0x17c9a5=await _0x45f006['run']({'options':{..._0x3a6841,..._0x243cfd},'args':[_0x318658],'tdx':_0x88f840});gracefulExit(_0x17c9a5);}),llmCmd['command']('models')['description']('List\x20available\x20LLM\x20models')[a2_0x6964e6(0x304)](async _0x4194c3=>{const _0xa5e43b=a2_0x6964e6,_0x3eee42=new LLMModelsCommand(),_0x5b729d=program[_0xa5e43b(0x34e)](),_0x53361b=await createTDXInstance(_0x5b729d),_0x4bb056=await _0x3eee42[_0xa5e43b(0x3a2)]({'options':{..._0x5b729d,..._0x4194c3},'args':[],'tdx':_0x53361b});gracefulExit(_0x4bb056);});const projectCmd=llmCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x22c))['description'](a2_0x6964e6(0x1f3)),llmProjectListAction=async(_0xfcc29b,_0x1d26cd)=>{const _0x45cf96=a2_0x6964e6,_0x422904=new LLMProjectsCommand(),_0x4c0515=program['opts'](),_0x29a27c=await createTDXInstance(_0x4c0515),_0x48d567=await _0x422904[_0x45cf96(0x3a2)]({'options':{..._0x4c0515,..._0x1d26cd},'args':_0xfcc29b?[_0xfcc29b]:[],'tdx':_0x29a27c});gracefulExit(_0x48d567);};projectCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33a))['description'](a2_0x6964e6(0x2ee))[a2_0x6964e6(0x304)](llmProjectListAction),llmCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x415))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x44a))[a2_0x6964e6(0x304)](llmProjectListAction),projectCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x1e6))['description'](a2_0x6964e6(0x228))['option']('--description\x20<text>',a2_0x6964e6(0x3e7))[a2_0x6964e6(0x304)](async(_0x52985e,_0x359309)=>{const _0x175cd4=a2_0x6964e6,_0x38d4c3=new LLMProjectCreateCommand(),_0xeda1a0=program[_0x175cd4(0x34e)](),_0x3df9b6=await createTDXInstance(_0xeda1a0),_0x5aaac3=await _0x38d4c3['run']({'options':{..._0xeda1a0,..._0x359309},'args':[_0x52985e],'tdx':_0x3df9b6});gracefulExit(_0x5aaac3);}),projectCmd[a2_0x6964e6(0x432)]('delete\x20<name>')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x253))[a2_0x6964e6(0x304)](async(_0xfb3bb3,_0x54d723)=>{const _0x5c8ffd=a2_0x6964e6,_0x31fe2a=new LLMProjectDeleteCommand(),_0x1825a0=program[_0x5c8ffd(0x34e)](),_0x48e6e0=await createTDXInstance(_0x1825a0),_0x507c74=await _0x31fe2a[_0x5c8ffd(0x3a2)]({'options':{..._0x1825a0,..._0x54d723},'args':[_0xfb3bb3],'tdx':_0x48e6e0});gracefulExit(_0x507c74);}),projectCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x35e))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x317))[a2_0x6964e6(0x429)](a2_0x6964e6(0x347),a2_0x6964e6(0x271))[a2_0x6964e6(0x429)]('--dry-run',a2_0x6964e6(0x208))['action'](async(_0x1b49b8,_0xfe7469)=>{const _0x186276=a2_0x6964e6,_0x1a2e75=new LLMProjectBackupCommand(),_0x2101c5=program['opts'](),_0x5a871f=await createTDXInstance(_0x2101c5),_0x46d50a=await _0x1a2e75[_0x186276(0x3a2)]({'options':{..._0x2101c5,..._0xfe7469},'args':[_0x1b49b8],'tdx':_0x5a871f});gracefulExit(_0x46d50a);}),projectCmd['command'](a2_0x6964e6(0x36b))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x32a))[a2_0x6964e6(0x429)](a2_0x6964e6(0x22f),'New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')['option'](a2_0x6964e6(0x1e3),a2_0x6964e6(0x278))[a2_0x6964e6(0x304)](async(_0x44e1ec,_0xf8e345)=>{const _0x2aaa7b=a2_0x6964e6,_0x4ebe9e=new LLMProjectRestoreCommand(),_0x2788d8=program[_0x2aaa7b(0x34e)](),_0x32fbfd=await createTDXInstance(_0x2788d8),_0x42d771=await _0x4ebe9e[_0x2aaa7b(0x3a2)]({'options':{..._0x2788d8,..._0xf8e345},'args':[_0x44e1ec],'tdx':_0x32fbfd});gracefulExit(_0x42d771);});const llmAgentListAction=async(_0x2c7449,_0x5e0d35)=>{const _0x2fce98=a2_0x6964e6,_0x43e53b=new LLMAgentsCommand(),_0x5deb43=program[_0x2fce98(0x34e)](),_0x34e0d4=await createTDXInstance(_0x5deb43),_0x5ebad9=await _0x43e53b['run']({'options':{..._0x5deb43,..._0x5e0d35},'args':_0x2c7449?[_0x2c7449]:[],'tdx':_0x34e0d4});gracefulExit(_0x5ebad9);};llmCmd['command']('agents\x20[pattern]')['description'](a2_0x6964e6(0x22e))[a2_0x6964e6(0x304)](llmAgentListAction),program[a2_0x6964e6(0x432)](a2_0x6964e6(0x3c7))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x22e))[a2_0x6964e6(0x304)](llmAgentListAction),llmCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x420))['description']('Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x414),'Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')['action'](async(_0x1a2e40,_0x3f933b)=>{const _0x376394=a2_0x6964e6,_0x505369=new LLMHistoryCommand(),_0x47df5f=program['opts'](),_0x1abe55=await createTDXInstance(_0x47df5f),_0x4cc70b=await _0x505369[_0x376394(0x3a2)]({'options':{..._0x47df5f,..._0x3f933b},'args':_0x1a2e40?[_0x1a2e40]:[],'tdx':_0x1abe55});gracefulExit(_0x4cc70b);});isExperimentalAvailable()&&llmCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x337))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2a3))['action'](async(_0x395ccf,_0xafb320)=>{const _0x1a2083=a2_0x6964e6,_0x95e14c=new LLMLogCommand(),_0x205a47=program['opts'](),_0x279e25=await createTDXInstance(_0x205a47),_0xf30017=await _0x95e14c[_0x1a2083(0x3a2)]({'options':{..._0x205a47,..._0xafb320},'args':[_0x395ccf],'tdx':_0x279e25});gracefulExit(_0xf30017);});program[a2_0x6964e6(0x432)](a2_0x6964e6(0x2a5))['usage']('[options]\x20--\x20[claude-code-args...]')[a2_0x6964e6(0x2ef)]('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')[a2_0x6964e6(0x429)]('-c,\x20--continue',a2_0x6964e6(0x3c1))['option'](a2_0x6964e6(0x1e0),a2_0x6964e6(0x42f))[a2_0x6964e6(0x429)](a2_0x6964e6(0x456),a2_0x6964e6(0x409))[a2_0x6964e6(0x435)]()['allowExcessArguments'](!![])['addHelpText'](a2_0x6964e6(0x2ec),a2_0x6964e6(0x24e))[a2_0x6964e6(0x304)](async(_0x2c1a46,_0x13c439)=>{const _0x2922f3=a2_0x6964e6,_0x1ac1cf=program[_0x2922f3(0x34e)](),_0x25392a=Array[_0x2922f3(0x2ea)](_0x2c1a46)?_0x2c1a46:[];if(_0x25392a[0x0]===_0x2922f3(0x3b2)){const _0x1c2e30=new ClaudeStatuslineCommand(),_0x2ea781=await _0x1c2e30[_0x2922f3(0x3a2)]({'options':{..._0x1ac1cf,..._0x13c439},'args':_0x25392a[_0x2922f3(0x3ff)](0x1),'tdx':null});gracefulExit(_0x2ea781);}if(_0x25392a[0x0]===_0x2922f3(0x446)){const _0x511613=new ClaudeUsageCommand(),_0x32b40e=await _0x511613[_0x2922f3(0x3a2)]({'options':{..._0x1ac1cf,..._0x13c439},'args':_0x25392a[_0x2922f3(0x3ff)](0x1),'tdx':null});gracefulExit(_0x32b40e);}const _0x5a376e=new ClaudeCommand(),_0x563cae=await createTDXInstance(_0x1ac1cf),_0x494c0f=await _0x5a376e['run']({'options':{..._0x1ac1cf,..._0x13c439},'args':_0x25392a,'tdx':_0x563cae});gracefulExit(_0x494c0f);}),program[a2_0x6964e6(0x432)](a2_0x6964e6(0x423))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3f5))[a2_0x6964e6(0x429)](a2_0x6964e6(0x378),a2_0x6964e6(0x3f8))[a2_0x6964e6(0x429)]('--default',a2_0x6964e6(0x38a))[a2_0x6964e6(0x304)](async(_0x324eef,_0x30d8ba,_0x1b2095)=>{const _0x5daa9e=a2_0x6964e6,_0x21ab74=new UseCommand(),_0x823670=program[_0x5daa9e(0x34e)](),_0x207434=[];if(_0x324eef)_0x207434[_0x5daa9e(0x3e8)](_0x324eef);if(_0x30d8ba)_0x207434['push'](_0x30d8ba);const _0x1d9cc2=await _0x21ab74[_0x5daa9e(0x3a2)]({'options':{..._0x823670,..._0x1b2095},'args':_0x207434,'tdx':null});gracefulExit(_0x1d9cc2);}),program[a2_0x6964e6(0x432)](a2_0x6964e6(0x30d))[a2_0x6964e6(0x2ef)]('Show\x20authentication\x20status\x20and\x20current\x20context')[a2_0x6964e6(0x304)](async _0x50fab1=>{const _0x535b6e=a2_0x6964e6,_0x42a900=new StatusCommand(),_0x1e9ffb=program[_0x535b6e(0x34e)](),_0x154222=await createTDXInstance(_0x1e9ffb),_0x3559e6=await _0x42a900['run']({'options':{..._0x1e9ffb,..._0x50fab1},'args':[],'tdx':_0x154222});gracefulExit(_0x3559e6);}),program[a2_0x6964e6(0x432)]('unset\x20<resource>')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3a1))[a2_0x6964e6(0x429)](a2_0x6964e6(0x389),a2_0x6964e6(0x21d))[a2_0x6964e6(0x304)](async(_0xfe7da,_0x19bf54)=>{const _0x426d82=a2_0x6964e6,_0x7f2886=new UnsetCommand(),_0x59b2fa=program['opts'](),_0x12ca9c=await _0x7f2886[_0x426d82(0x3a2)]({'options':{..._0x59b2fa,..._0x19bf54},'args':[_0xfe7da],'tdx':null});gracefulExit(_0x12ca9c);}),program['command'](a2_0x6964e6(0x3b6))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3b4))[a2_0x6964e6(0x429)](a2_0x6964e6(0x414),'Show\x20the\x20most\x20recent\x20chat')['action'](async _0x323cc7=>{const _0x2a018f=a2_0x6964e6,_0x43af71=new ChatsCommand(),_0x3dcfff=program[_0x2a018f(0x34e)](),_0x4e76d6=await createTDXInstance(_0x3dcfff),_0x425aef=await _0x43af71['run']({'options':{..._0x3dcfff,..._0x323cc7},'args':[],'tdx':_0x4e76d6});gracefulExit(_0x425aef);});const authCmd=program[a2_0x6964e6(0x432)](a2_0x6964e6(0x39f))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x305));async function runAuthStatusCommand(_0x38aaf5){const _0x1b51c8=a2_0x6964e6,_0x2e5cbf=new AuthStatusCommand(),_0x2793bc=program[_0x1b51c8(0x34e)](),_0x1da971=await createTDXInstance(_0x2793bc),_0x2f6009=await _0x2e5cbf['run']({'options':{..._0x2793bc,..._0x38aaf5},'args':[],'tdx':_0x1da971});gracefulExit(_0x2f6009);}authCmd['action'](runAuthStatusCommand),authCmd['command']('status')['description'](a2_0x6964e6(0x2c1))['action'](runAuthStatusCommand),authCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x450))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x333))[a2_0x6964e6(0x345)](a2_0x6964e6(0x2ec),a2_0x6964e6(0x416))[a2_0x6964e6(0x304)](async _0xb14091=>{const _0x493ba5=a2_0x6964e6,_0x24ae59=new AuthSetupCommand(),_0x554766=program[_0x493ba5(0x34e)](),_0xdd9085=await createTDXInstance(_0x554766),_0x4edfc0=await _0x24ae59[_0x493ba5(0x3a2)]({'options':{..._0x554766,..._0xb14091},'args':[],'tdx':_0xdd9085});gracefulExit(_0x4edfc0);}),authCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2ce))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3ad))['addHelpText'](a2_0x6964e6(0x2ec),'\x0aGlobal\x20Options:\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20clear\x20(clears\x20default\x20profile\x20if\x20not\x20specified)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Clear\x20API\x20key\x20for\x20default\x20profile\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20--profile\x20prod\x20\x20#\x20Clear\x20API\x20key\x20for\x20\x27prod\x27\x20profile\x0a')['action'](async _0x8cb019=>{const _0x2dec7e=a2_0x6964e6,_0x5599ed=new AuthClearCommand(),_0xd5d7fb=program[_0x2dec7e(0x34e)](),_0x46cfbb=await _0x5599ed[_0x2dec7e(0x3a2)]({'options':{..._0xd5d7fb,..._0x8cb019},'args':[],'tdx':null});gracefulExit(_0x46cfbb);});const userCmd=program['command']('user')['description'](a2_0x6964e6(0x2f8)),userListAction=async _0x183c39=>{const _0x427d18=a2_0x6964e6,_0x309ed7=new UserListCommand(),_0x2268b9=program[_0x427d18(0x34e)](),_0x5d966e=await createTDXInstance(_0x2268b9),_0x443d4e=await _0x309ed7[_0x427d18(0x3a2)]({'options':{..._0x2268b9,..._0x183c39},'args':[],'tdx':_0x5d966e});gracefulExit(_0x443d4e);};userCmd[a2_0x6964e6(0x304)](async _0x197065=>{const _0x539990=a2_0x6964e6,_0x47deaa=new UserCommand(),_0x4c5995=program[_0x539990(0x34e)](),_0x5ca269=await createTDXInstance(_0x4c5995),_0x36abd7=await _0x47deaa[_0x539990(0x3a2)]({'options':{..._0x4c5995,..._0x197065},'args':[],'tdx':_0x5ca269});gracefulExit(_0x36abd7);}),userCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x388))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2da))[a2_0x6964e6(0x304)](userListAction),program['command'](a2_0x6964e6(0x3ae))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x234))[a2_0x6964e6(0x304)](userListAction),program['command'](a2_0x6964e6(0x358))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x327))[a2_0x6964e6(0x304)](async _0x31ac60=>{const _0x17d81a=a2_0x6964e6,_0x6866a2=new ProfilesCommand(),_0x5184c7=program[_0x17d81a(0x34e)](),_0xdc9089=await _0x6866a2[_0x17d81a(0x3a2)]({'options':{..._0x5184c7,..._0x31ac60},'args':[],'tdx':null});gracefulExit(_0xdc9089);});const profileCmd=program[a2_0x6964e6(0x432)]('profile')['description'](a2_0x6964e6(0x1f0));profileCmd[a2_0x6964e6(0x304)](()=>{const _0x252021=a2_0x6964e6;profileCmd[_0x252021(0x2c8)]();});const profileListAction=async _0x37ff3a=>{const _0xd72056=a2_0x6964e6,_0x5baa6f=new ProfilesCommand(),_0x1a4ed2=program[_0xd72056(0x34e)](),_0x8f20af=await _0x5baa6f[_0xd72056(0x3a2)]({'options':{..._0x1a4ed2,..._0x37ff3a},'args':[],'tdx':null});gracefulExit(_0x8f20af);};profileCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x388))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x327))[a2_0x6964e6(0x304)](profileListAction),profileCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x37d))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x243))['addHelpText'](a2_0x6964e6(0x2ec),a2_0x6964e6(0x244))[a2_0x6964e6(0x304)](async(_0x240bdb,_0x1f9357)=>{const _0x29dd51=a2_0x6964e6,_0x1179dd=new ProfileCreateCommand(),_0x330c53=program[_0x29dd51(0x34e)](),_0x5a9714=await _0x1179dd[_0x29dd51(0x3a2)]({'options':{..._0x330c53,..._0x1f9357},'args':_0x240bdb?[_0x240bdb]:[],'tdx':null});gracefulExit(_0x5a9714);}),profileCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x21e))['description']('Remove\x20a\x20profile')[a2_0x6964e6(0x345)](a2_0x6964e6(0x2ec),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a')[a2_0x6964e6(0x304)](async(_0x28198c,_0x2fe194)=>{const _0xef4759=a2_0x6964e6,_0x255b6c=new ProfileRemoveCommand(),_0x35d5a8=program[_0xef4759(0x34e)](),_0x165873=await _0x255b6c[_0xef4759(0x3a2)]({'options':{..._0x35d5a8,..._0x2fe194},'args':[_0x28198c],'tdx':null});gracefulExit(_0x165873);}),profileCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33c))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x255))[a2_0x6964e6(0x345)]('after',a2_0x6964e6(0x1e4))[a2_0x6964e6(0x304)](async(_0x485224,_0x9a3ad)=>{const _0x561f5b=a2_0x6964e6,_0x2b1009=new ProfileSetCommand(),_0x381bd8=program[_0x561f5b(0x34e)](),_0x55a3d9=await _0x2b1009[_0x561f5b(0x3a2)]({'options':{..._0x381bd8,..._0x9a3ad},'args':[_0x485224],'tdx':null});gracefulExit(_0x55a3d9);}),profileCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x370))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x343))['option'](a2_0x6964e6(0x389),a2_0x6964e6(0x38a))[a2_0x6964e6(0x345)]('after',a2_0x6964e6(0x321))[a2_0x6964e6(0x304)](async(_0x52d4d0,_0x402606)=>{const _0x49dcfc=a2_0x6964e6,_0x3700e3=new ProfileUseCommand(),_0x4ac149=program['opts'](),_0x21b7a6=await _0x3700e3[_0x49dcfc(0x3a2)]({'options':{..._0x4ac149,..._0x402606},'args':[_0x52d4d0],'tdx':null});gracefulExit(_0x21b7a6);});const engageCmd=program[a2_0x6964e6(0x432)]('engage')[a2_0x6964e6(0x2ef)]('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x2abbd8=>{return async(_0x4363c9,_0x3d7163)=>{const _0xebc9f6=a2_0x28a3,_0x1b57cf=new _0x2abbd8(),_0x5b6cd7=program[_0xebc9f6(0x34e)](),_0x593fa6=await createTDXInstance(_0x5b6cd7),_0x198379=await _0x1b57cf[_0xebc9f6(0x3a2)]({'options':{..._0x5b6cd7,..._0x3d7163},'args':[_0x4363c9],'tdx':_0x593fa6});gracefulExit(_0x198379);};},createEngageNoArgAction=_0x50a6f5=>{return async _0x388f26=>{const _0x2ceb46=a2_0x28a3,_0x5e5371=new _0x50a6f5(),_0x1fcec7=program[_0x2ceb46(0x34e)](),_0x58f098=await createTDXInstance(_0x1fcec7),_0x319d81=await _0x5e5371[_0x2ceb46(0x3a2)]({'options':{..._0x1fcec7,..._0x388f26},'args':[],'tdx':_0x58f098});gracefulExit(_0x319d81);};},campaignCmd=engageCmd['command'](a2_0x6964e6(0x266))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2df)),campaignListAction=async(_0x1cd927,_0x293b0d)=>{const _0x292910=a2_0x6964e6,_0xd45ad3=new EngageCampaignsCommand(),_0x4eb5c9=program['opts'](),_0xf581d1=await createTDXInstance(_0x4eb5c9),_0x5dfb27=await _0xd45ad3[_0x292910(0x3a2)]({'options':{..._0x4eb5c9,..._0x293b0d},'args':_0x1cd927?[_0x1cd927]:[],'tdx':_0xf581d1});gracefulExit(_0x5dfb27);};campaignCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33a))['description'](a2_0x6964e6(0x390))['option'](a2_0x6964e6(0x2d6),a2_0x6964e6(0x1f2))[a2_0x6964e6(0x429)]('--status\x20<status>',a2_0x6964e6(0x2a6))['option'](a2_0x6964e6(0x28c),'Workspace\x20name')['action'](campaignListAction),engageCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x43e))['description'](a2_0x6964e6(0x27b))[a2_0x6964e6(0x429)]('--type\x20<type>',a2_0x6964e6(0x1f2))['option'](a2_0x6964e6(0x2bd),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x6964e6(0x429)]('--workspace\x20<name>',a2_0x6964e6(0x3d6))[a2_0x6964e6(0x304)](campaignListAction),campaignCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x21f))[a2_0x6964e6(0x2ef)]('Show\x20campaign\x20details')['option']('--workspace\x20<name>',a2_0x6964e6(0x3d6))['option'](a2_0x6964e6(0x2e1),a2_0x6964e6(0x2b0))['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x242))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x26f))['requiredOption'](a2_0x6964e6(0x30f),a2_0x6964e6(0x43a))[a2_0x6964e6(0x3c8)](a2_0x6964e6(0x2d6),'Campaign\x20type\x20(email\x20or\x20push)')['option']('--workspace\x20<name>',a2_0x6964e6(0x289))[a2_0x6964e6(0x429)]('--description\x20<desc>',a2_0x6964e6(0x254))['option'](a2_0x6964e6(0x22a),a2_0x6964e6(0x355))['option'](a2_0x6964e6(0x357),a2_0x6964e6(0x203))['option']('--json-columns\x20<cols>',a2_0x6964e6(0x361))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2f3),a2_0x6964e6(0x279))[a2_0x6964e6(0x429)](a2_0x6964e6(0x224),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x6964e6(0x304)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x6964e6(0x432)]('update\x20<name-or-id>')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x28a))['option'](a2_0x6964e6(0x28c),a2_0x6964e6(0x3d6))[a2_0x6964e6(0x429)](a2_0x6964e6(0x30f),a2_0x6964e6(0x2a9))[a2_0x6964e6(0x429)]('--description\x20<desc>',a2_0x6964e6(0x254))['option'](a2_0x6964e6(0x22a),a2_0x6964e6(0x355))['option'](a2_0x6964e6(0x357),a2_0x6964e6(0x203))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3c2),a2_0x6964e6(0x361))['option'](a2_0x6964e6(0x2f3),a2_0x6964e6(0x279))['option']('--timezone\x20<tz>',a2_0x6964e6(0x2ac))[a2_0x6964e6(0x304)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x3a3))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x42a))[a2_0x6964e6(0x429)](a2_0x6964e6(0x28c),a2_0x6964e6(0x3d6))['option'](a2_0x6964e6(0x34a),'Skip\x20confirmation\x20prompt')['action'](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command'](a2_0x6964e6(0x3cc))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3b7))[a2_0x6964e6(0x429)](a2_0x6964e6(0x28c),a2_0x6964e6(0x3d6))[a2_0x6964e6(0x304)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x3de))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x35b))[a2_0x6964e6(0x429)](a2_0x6964e6(0x28c),a2_0x6964e6(0x3d6))[a2_0x6964e6(0x304)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x204))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x20f))[a2_0x6964e6(0x429)](a2_0x6964e6(0x28c),a2_0x6964e6(0x3d6))[a2_0x6964e6(0x304)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x359))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x31d))[a2_0x6964e6(0x429)](a2_0x6964e6(0x28c),a2_0x6964e6(0x3d6))[a2_0x6964e6(0x304)](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x3d0))[a2_0x6964e6(0x2ef)]('Email\x20template\x20management'),templateListAction=async(_0x511f35,_0x5cf573)=>{const _0xec5a79=a2_0x6964e6,_0x44ce95=new EngageTemplatesCommand(),_0x45dcbe=program[_0xec5a79(0x34e)](),_0x20ca33=await createTDXInstance(_0x45dcbe),_0x9fbc19=await _0x44ce95['run']({'options':{..._0x45dcbe,..._0x5cf573},'args':_0x511f35?[_0x511f35]:[],'tdx':_0x20ca33});gracefulExit(_0x9fbc19);};templateCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33a))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x441))[a2_0x6964e6(0x429)](a2_0x6964e6(0x28c),a2_0x6964e6(0x3d6))[a2_0x6964e6(0x304)](templateListAction),engageCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x29a))['description'](a2_0x6964e6(0x3a5))['option'](a2_0x6964e6(0x28c),a2_0x6964e6(0x3d6))[a2_0x6964e6(0x304)](templateListAction),templateCmd['command'](a2_0x6964e6(0x21f))[a2_0x6964e6(0x2ef)]('Show\x20email\x20template\x20details')[a2_0x6964e6(0x429)](a2_0x6964e6(0x28c),'Workspace\x20name')[a2_0x6964e6(0x429)]('--full','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x6964e6(0x304)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x242))['description'](a2_0x6964e6(0x42c))[a2_0x6964e6(0x3c8)]('--name\x20<name>',a2_0x6964e6(0x310))[a2_0x6964e6(0x3c8)]('--subject\x20<subject>','Email\x20subject\x20template')[a2_0x6964e6(0x3c8)]('--html\x20<html>',a2_0x6964e6(0x3ec))[a2_0x6964e6(0x429)]('--workspace\x20<name>',a2_0x6964e6(0x289))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3c0),'Plaintext\x20template\x20content')[a2_0x6964e6(0x429)]('--editor-type\x20<type>',a2_0x6964e6(0x439),_0x8b479d=>{const _0x159cae=a2_0x6964e6;if(![_0x159cae(0x38e),'grapesjs'][_0x159cae(0x2dd)](_0x8b479d))throw new SDKError(ErrorCode[_0x159cae(0x417)],_0x159cae(0x425)+_0x8b479d+_0x159cae(0x444));return _0x8b479d;})[a2_0x6964e6(0x304)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd['command'](a2_0x6964e6(0x3cf))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x445))[a2_0x6964e6(0x429)](a2_0x6964e6(0x28c),a2_0x6964e6(0x3d6))['option'](a2_0x6964e6(0x30f),a2_0x6964e6(0x292))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3ef),a2_0x6964e6(0x1db))[a2_0x6964e6(0x429)](a2_0x6964e6(0x226),a2_0x6964e6(0x3ec))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3c0),a2_0x6964e6(0x283))[a2_0x6964e6(0x304)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd['command'](a2_0x6964e6(0x3a3))['description'](a2_0x6964e6(0x1ee))['option']('--workspace\x20<name>',a2_0x6964e6(0x3d6))[a2_0x6964e6(0x429)]('--yes',a2_0x6964e6(0x1fe))[a2_0x6964e6(0x304)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x405))[a2_0x6964e6(0x2ef)]('Workspace\x20management'),workspaceListAction=async(_0x13a4cb,_0x9dd965)=>{const _0x399ab4=a2_0x6964e6,_0x2bedfd=new EngageWorkspacesCommand(),_0x2dbce6=program['opts'](),_0x55829e=await createTDXInstance(_0x2dbce6),_0xe02265=await _0x2bedfd[_0x399ab4(0x3a2)]({'options':{..._0x2dbce6,..._0x9dd965},'args':_0x13a4cb?[_0x13a4cb]:[],'tdx':_0x55829e});gracefulExit(_0xe02265);};workspaceCmd['command'](a2_0x6964e6(0x33a))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3c4))[a2_0x6964e6(0x304)](workspaceListAction),engageCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x206))[a2_0x6964e6(0x2ef)]('List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)')[a2_0x6964e6(0x304)](workspaceListAction),workspaceCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x21f))[a2_0x6964e6(0x2ef)]('Show\x20workspace\x20details')['option'](a2_0x6964e6(0x2e1),a2_0x6964e6(0x2b0))[a2_0x6964e6(0x304)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x242))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x320))[a2_0x6964e6(0x3c8)](a2_0x6964e6(0x30f),a2_0x6964e6(0x3d6))['option'](a2_0x6964e6(0x399),a2_0x6964e6(0x363))[a2_0x6964e6(0x304)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x3cf))['description']('Update\x20a\x20workspace')[a2_0x6964e6(0x429)]('--name\x20<name>',a2_0x6964e6(0x2ab))[a2_0x6964e6(0x429)](a2_0x6964e6(0x399),a2_0x6964e6(0x363))[a2_0x6964e6(0x304)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd['command']('delete\x20<name-or-id>')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x427))[a2_0x6964e6(0x429)](a2_0x6964e6(0x34a),'Skip\x20confirmation\x20prompt')[a2_0x6964e6(0x304)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x6964e6(0x432)]('use\x20<name>')['description'](a2_0x6964e6(0x3d1))[a2_0x6964e6(0x304)](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program['command'](a2_0x6964e6(0x2f5))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x1d6)),connectionListAction=async _0x4c0721=>{const _0x86c7d5=a2_0x6964e6,_0x5402dc=new ConnectionListCommand(),_0x33f0de=program['opts'](),_0x2d129b=await createTDXInstance(_0x33f0de),_0x508a08=await _0x5402dc[_0x86c7d5(0x3a2)]({'options':{..._0x33f0de,..._0x4c0721},'args':[],'tdx':_0x2d129b});gracefulExit(_0x508a08);};connectionCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x388))['description'](a2_0x6964e6(0x2b3))[a2_0x6964e6(0x304)](connectionListAction),program[a2_0x6964e6(0x432)]('connections',{'hidden':!![]})[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2e5))[a2_0x6964e6(0x304)](connectionListAction),connectionCmd['command'](a2_0x6964e6(0x325))[a2_0x6964e6(0x2ef)]('Show\x20connection\x20details\x20by\x20name')[a2_0x6964e6(0x304)](async(_0x400791,_0x2702ac)=>{const _0x5ee2fd=a2_0x6964e6,_0x21505f=new ConnectionShowCommand(),_0x392278=program[_0x5ee2fd(0x34e)](),_0x4a63d6=await createTDXInstance(_0x392278),_0x134c83=await _0x21505f[_0x5ee2fd(0x3a2)]({'options':{..._0x392278,..._0x2702ac},'args':[_0x400791],'tdx':_0x4a63d6});gracefulExit(_0x134c83);}),connectionCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2fe))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x23c))['action'](async(_0x42a76c,_0x1c5811)=>{const _0x2929c4=a2_0x6964e6,_0x722cd9=new ConnectionSchemaCommand(),_0x1b0b80=program[_0x2929c4(0x34e)](),_0x5b7ef5=await createTDXInstance(_0x1b0b80),_0x263cb4=await _0x722cd9[_0x2929c4(0x3a2)]({'options':{..._0x1b0b80,..._0x1c5811},'args':[_0x42a76c],'tdx':_0x5b7ef5});gracefulExit(_0x263cb4);}),connectionCmd['command'](a2_0x6964e6(0x28f))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3d3))[a2_0x6964e6(0x304)](async _0x4ff818=>{const _0x3807a6=a2_0x6964e6,_0x55cc37=new ConnectionTypesCommand(),_0x40ffc2=program[_0x3807a6(0x34e)](),_0x3b2061=await createTDXInstance(_0x40ffc2),_0x1c5bfb=await _0x55cc37['run']({'options':{..._0x40ffc2,..._0x4ff818},'args':[],'tdx':_0x3b2061});gracefulExit(_0x1c5bfb);}),connectionCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x32f))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x430))[a2_0x6964e6(0x304)](async(_0x60ef1b,_0x66252d)=>{const _0x4a4123=a2_0x6964e6,_0x59e990=new ConnectionSettingsCommand(),_0x479a49=program[_0x4a4123(0x34e)](),_0x26eba2=await createTDXInstance(_0x479a49),_0xa63f62=await _0x59e990['run']({'options':{..._0x479a49,..._0x66252d},'args':[_0x60ef1b],'tdx':_0x26eba2});gracefulExit(_0xa63f62);});const journeyCmd=program[a2_0x6964e6(0x432)]('journey')['description'](a2_0x6964e6(0x375)),journeyListAction=async(_0x4661a5,_0x1f48ac)=>{const _0x5cc5bc=a2_0x6964e6,_0x1f6050=new JourneyListCommand(),_0x1b0709=program[_0x5cc5bc(0x34e)](),_0x55a564=await createTDXInstance(_0x1b0709),_0x292522=await _0x1f6050[_0x5cc5bc(0x3a2)]({'options':{..._0x1b0709,..._0x1f48ac},'args':_0x4661a5?[_0x4661a5]:[],'tdx':_0x55a564});gracefulExit(_0x292522);};journeyCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33a))[a2_0x6964e6(0x2ef)]('List\x20journeys\x20in\x20current\x20context')['action'](journeyListAction),journeyCmd['command'](a2_0x6964e6(0x1eb))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x335))[a2_0x6964e6(0x429)](a2_0x6964e6(0x252),'Open\x20journey\x20in\x20web\x20browser')[a2_0x6964e6(0x429)](a2_0x6964e6(0x40c),a2_0x6964e6(0x35c))[a2_0x6964e6(0x304)](async(_0x29d378,_0x5079aa)=>{const _0xa6c254=a2_0x6964e6,_0x3fc2e2=new JourneyViewCommand(),_0x8a702b=program[_0xa6c254(0x34e)](),_0x4f4cdf=await createTDXInstance(_0x8a702b),_0x297736=await _0x3fc2e2['run']({'options':{..._0x8a702b,..._0x5079aa},'args':[_0x29d378],'tdx':_0x4f4cdf});gracefulExit(_0x297736);}),journeyCmd['command'](a2_0x6964e6(0x24d))['description']('Show\x20journey\x20statistics')[a2_0x6964e6(0x429)]('--stage\x20<name>',a2_0x6964e6(0x377))['action'](async(_0x3948ab,_0x5cf47c)=>{const _0x10cf58=a2_0x6964e6,_0x145da6=new JourneyStatsCommand(),_0x307e9a=program[_0x10cf58(0x34e)](),_0x41d112=await createTDXInstance(_0x307e9a),_0x435703=await _0x145da6[_0x10cf58(0x3a2)]({'options':{..._0x307e9a,..._0x5cf47c},'args':[_0x3948ab],'tdx':_0x41d112});gracefulExit(_0x435703);}),journeyCmd[a2_0x6964e6(0x432)]('pause\x20<name-or-path>')[a2_0x6964e6(0x2ef)]('Pause\x20a\x20running\x20journey')[a2_0x6964e6(0x304)](async(_0x58e16,_0x3a4941)=>{const _0x1a4efe=a2_0x6964e6,_0x2e2e6b=new JourneyPauseCommand(),_0x1280ca=program[_0x1a4efe(0x34e)](),_0x4b9012=await createTDXInstance(_0x1280ca),_0x5541e8=await _0x2e2e6b[_0x1a4efe(0x3a2)]({'options':{..._0x1280ca,..._0x3a4941},'args':[_0x58e16],'tdx':_0x4b9012});gracefulExit(_0x5541e8);}),journeyCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x316))['description']('Resume\x20a\x20paused\x20journey')[a2_0x6964e6(0x304)](async(_0x271237,_0x4ad77e)=>{const _0x1d1032=a2_0x6964e6,_0x429b4a=new JourneyResumeCommand(),_0x34efb1=program[_0x1d1032(0x34e)](),_0x3b1311=await createTDXInstance(_0x34efb1),_0x197417=await _0x429b4a['run']({'options':{..._0x34efb1,..._0x4ad77e},'args':[_0x271237],'tdx':_0x3b1311});gracefulExit(_0x197417);}),journeyCmd['command']('pull\x20[name]')[a2_0x6964e6(0x2ef)]('Export\x20journey(s)\x20as\x20YAML\x20files')['option'](a2_0x6964e6(0x396),a2_0x6964e6(0x1fe))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1e3),a2_0x6964e6(0x3c5))[a2_0x6964e6(0x304)](async(_0x182f38,_0x457ec6)=>{const _0x1a81d3=a2_0x6964e6,_0x9d148=new JourneyPullCommand(),_0x156e8a=program[_0x1a81d3(0x34e)](),_0x2049fd=await createTDXInstance(_0x156e8a),_0xfa51a6=await _0x9d148['run']({'options':{..._0x156e8a,..._0x457ec6},'args':_0x182f38?[_0x182f38]:[],'tdx':_0x2049fd});gracefulExit(_0xfa51a6);}),journeyCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2f2))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x300))['action'](async(_0x5de928,_0x4d8127)=>{const _0x157a80=a2_0x6964e6,_0x5ec5d3=new JourneyPushCommand(),_0x50a3fb=program[_0x157a80(0x34e)](),_0x1d3ceb=await createTDXInstance(_0x50a3fb),_0x190c7a=await _0x5ec5d3[_0x157a80(0x3a2)]({'options':{..._0x50a3fb,..._0x4d8127},'args':_0x5de928?[_0x5de928]:[],'tdx':_0x1d3ceb});gracefulExit(_0x190c7a);}),journeyCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x43b))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2c2))[a2_0x6964e6(0x304)](async(_0x5b7261,_0x5b360f)=>{const _0xfeec10=a2_0x6964e6,_0x4b6a4c=new JourneyValidateCommand(),_0x3184a9=program['opts'](),_0x2e84b9=await createTDXInstance(_0x3184a9),_0x53d3cf=await _0x4b6a4c[_0xfeec10(0x3a2)]({'options':{..._0x3184a9,..._0x5b360f},'args':_0x5b7261?[_0x5b7261]:[],'tdx':_0x2e84b9});gracefulExit(_0x53d3cf);}),program['command'](a2_0x6964e6(0x3fb))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2ca))[a2_0x6964e6(0x304)](journeyListAction);const agentSyncCmd=program[a2_0x6964e6(0x432)](a2_0x6964e6(0x3ab))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x386));agentSyncCmd[a2_0x6964e6(0x432)]('pull\x20[project]\x20[agent-name]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x400))['option']('-o,\x20--output\x20<dir>',a2_0x6964e6(0x24a))[a2_0x6964e6(0x429)](a2_0x6964e6(0x454),a2_0x6964e6(0x3cb))[a2_0x6964e6(0x304)](async(_0x5e72cf,_0x4477b2,_0x4f2da2)=>{const _0x34a908=a2_0x6964e6,_0x36482f=new AgentPullCommand(),_0x35ee41=program[_0x34a908(0x34e)](),_0x223739=await createTDXInstance(_0x35ee41),_0x592590=[];if(_0x5e72cf)_0x592590['push'](_0x5e72cf);if(_0x4477b2)_0x592590[_0x34a908(0x3e8)](_0x4477b2);const _0x5229d2=await _0x36482f[_0x34a908(0x3a2)]({'options':{..._0x35ee41,..._0x4f2da2},'args':_0x592590,'tdx':_0x223739});gracefulExit(_0x5229d2);}),agentSyncCmd[a2_0x6964e6(0x432)]('push\x20[path]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x281))[a2_0x6964e6(0x429)](a2_0x6964e6(0x454),a2_0x6964e6(0x3a9))[a2_0x6964e6(0x304)](async(_0x5248ba,_0x3b16d5)=>{const _0x16409f=a2_0x6964e6,_0x570495=new AgentPushCommand(),_0x125d0c=program[_0x16409f(0x34e)](),_0x23b0ec=await createTDXInstance(_0x125d0c),_0x12d65d=await _0x570495[_0x16409f(0x3a2)]({'options':{..._0x125d0c,..._0x3b16d5},'args':_0x5248ba?[_0x5248ba]:[],'tdx':_0x23b0ec});gracefulExit(_0x12d65d);}),agentSyncCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x273))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x23d))[a2_0x6964e6(0x429)]('-n,\x20--name\x20<name>','Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x6964e6(0x304)](async(_0x30cb73,_0x3f877b)=>{const _0x465225=a2_0x6964e6,_0x55c4ed=new AgentCloneCommand(),_0x1995a3=program[_0x465225(0x34e)](),_0x20a62b=await createTDXInstance(_0x1995a3),_0x9fc7ff=await _0x55c4ed['run']({'options':{..._0x1995a3,..._0x3f877b},'args':_0x30cb73?[_0x30cb73]:[],'tdx':_0x20a62b});gracefulExit(_0x9fc7ff);}),agentSyncCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x29d))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x32e))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2c3),'Run\x20specific\x20tests\x20(comma-separated)')['option'](a2_0x6964e6(0x28e),a2_0x6964e6(0x2bc))[a2_0x6964e6(0x429)]('--dry-run',a2_0x6964e6(0x434))[a2_0x6964e6(0x429)](a2_0x6964e6(0x322),a2_0x6964e6(0x269))[a2_0x6964e6(0x429)]('--reeval',a2_0x6964e6(0x356))['action'](async(_0x1d113c,_0x17a512)=>{const _0x41dece=a2_0x6964e6,_0x2648e8=new AgentTestCommand(),_0x29a66b=program[_0x41dece(0x34e)](),_0x1fbc16=await createTDXInstance(_0x29a66b),_0x5259d9=await _0x2648e8[_0x41dece(0x3a2)]({'options':{..._0x29a66b,..._0x17a512},'args':_0x1d113c?[_0x1d113c]:[],'tdx':_0x1fbc16});gracefulExit(_0x5259d9);}),agentSyncCmd['command'](a2_0x6964e6(0x33a))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x350))['action'](llmAgentListAction),agentSyncCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x1e8))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x38b))[a2_0x6964e6(0x304)](async(_0x52bdc5,_0x52a0d9)=>{const _0x596930=a2_0x6964e6,_0x72ffd2=new LLMAgentShowCommand(),_0x18399f=program[_0x596930(0x34e)](),_0x314de9=await createTDXInstance(_0x18399f),_0x426aae=await _0x72ffd2[_0x596930(0x3a2)]({'options':{..._0x18399f,..._0x52a0d9},'args':[_0x52bdc5],'tdx':_0x314de9});gracefulExit(_0x426aae);}),agentSyncCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x1e6))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2b5))[a2_0x6964e6(0x429)](a2_0x6964e6(0x384),a2_0x6964e6(0x1e1))[a2_0x6964e6(0x429)]('--model\x20<name>','Model\x20type\x20(default:\x20claude-4.5-sonnet)',a2_0x6964e6(0x433))[a2_0x6964e6(0x429)](a2_0x6964e6(0x340),a2_0x6964e6(0x3e6))[a2_0x6964e6(0x429)]('--max-tool-iterations\x20<n>',a2_0x6964e6(0x2e2),'4')[a2_0x6964e6(0x429)]('--temperature\x20<n>',a2_0x6964e6(0x218),a2_0x6964e6(0x3ed))['action'](async(_0x5a7c06,_0x422163)=>{const _0xbbaa67=a2_0x6964e6,_0x25b318=new LLMAgentCreateCommand(),_0x691025=program[_0xbbaa67(0x34e)](),_0x21c7b7=await createTDXInstance(_0x691025),_0x39ec5d=await _0x25b318[_0xbbaa67(0x3a2)]({'options':{..._0x691025,..._0x422163},'args':[_0x5a7c06],'tdx':_0x21c7b7});gracefulExit(_0x39ec5d);}),agentSyncCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x331))['description']('Update\x20an\x20existing\x20agent')[a2_0x6964e6(0x429)](a2_0x6964e6(0x299),a2_0x6964e6(0x33e))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2f1),a2_0x6964e6(0x36a))[a2_0x6964e6(0x429)](a2_0x6964e6(0x213),'Agent\x20description')[a2_0x6964e6(0x429)]('--starter-message\x20<text>',a2_0x6964e6(0x3e6))[a2_0x6964e6(0x304)](async(_0xa217e1,_0x387412)=>{const _0x3873f0=a2_0x6964e6,_0x4a6e50=new LLMAgentUpdateCommand(),_0x3efda4=program[_0x3873f0(0x34e)](),_0x1c3e32=await createTDXInstance(_0x3efda4),_0x42ed6e=await _0x4a6e50['run']({'options':{..._0x3efda4,..._0x387412},'args':[_0xa217e1],'tdx':_0x1c3e32});gracefulExit(_0x42ed6e);}),agentSyncCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x284))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x451))['action'](async(_0x54272d,_0x68b15a)=>{const _0x1994fc=a2_0x6964e6,_0x1f7443=new LLMAgentDeleteCommand(),_0x1b2015=program[_0x1994fc(0x34e)](),_0x362add=await createTDXInstance(_0x1b2015),_0x31b6df=await _0x1f7443['run']({'options':{..._0x1b2015,..._0x68b15a},'args':[_0x54272d],'tdx':_0x362add});gracefulExit(_0x31b6df);}),program[a2_0x6964e6(0x432)](a2_0x6964e6(0x407),{'hidden':!![]})[a2_0x6964e6(0x304)](()=>{const _0x29e9f9=a2_0x6964e6;function _0x29f545(_0x498ea6,_0x1af647){const _0x497fff=a2_0x28a3,_0xb5468a=[];for(const _0x1bde32 of _0x498ea6[_0x497fff(0x2d5)]){if(_0x1bde32[_0x497fff(0x34d)])continue;const _0x1dc668=_0x1af647?_0x1af647+'\x20'+_0x1bde32[_0x497fff(0x395)]():_0x1bde32[_0x497fff(0x395)](),_0x44b23d=_0x1dc668['split']('\x20')[0x0],_0x8f8072=COMMAND_CATEGORIES[_0x497fff(0x1dc)](_0xb572ba=>_0xb572ba[_0x497fff(0x2d5)][_0x497fff(0x2dd)](_0x44b23d)),_0xb77575=_0x8f8072?.[_0x497fff(0x395)]??'';if(_0x1bde32['commands'][_0x497fff(0x422)]>0x0)_0xb5468a['push'](..._0x29f545(_0x1bde32,_0x1dc668));else{const _0x15f387=(_0x1bde32[_0x497fff(0x366)]||[])[_0x497fff(0x20c)](_0x2d13ad=>{const _0x5e53aa=_0x497fff,_0x1aeef2=_0x2d13ad[_0x5e53aa(0x246)]?_0x2d13ad[_0x5e53aa(0x395)]()+_0x5e53aa(0x2ae):_0x2d13ad[_0x5e53aa(0x395)]();return _0x2d13ad[_0x5e53aa(0x2e8)]?'<'+_0x1aeef2+'>':'['+_0x1aeef2+']';})[_0x497fff(0x385)]('\x20'),_0x519a2b=_0x1bde32[_0x497fff(0x247)]['filter'](_0x5cfa6d=>!_0x5cfa6d[_0x497fff(0x3ba)]&&_0x5cfa6d[_0x497fff(0x40b)]!=='--help')[_0x497fff(0x20c)](_0x406c17=>({'flags':_0x406c17[_0x497fff(0x240)],'description':_0x406c17['description']}));_0xb5468a['push']({'name':_0x1dc668,'description':_0x1bde32['description'](),'group':_0xb77575,'usage':_0x15f387,'options':_0x519a2b});}}return _0xb5468a;}console[_0x29e9f9(0x3df)](JSON[_0x29e9f9(0x26a)](_0x29f545(program,''))),process['exit'](0x0);});export{program};export function runCLI(){const _0x239c3d=a2_0x6964e6,_0x29252f=!process[_0x239c3d(0x3d5)][_0x239c3d(0x3ff)](0x2)[_0x239c3d(0x422)];showBriefHelp=_0x29252f,program[_0x239c3d(0x24f)](process[_0x239c3d(0x3d5)]);_0x29252f&&program[_0x239c3d(0x2c8)]();if(process[_0x239c3d(0x3e4)][_0x239c3d(0x438)]&&process[_0x239c3d(0x3d5)][_0x239c3d(0x422)]>0x2&&!isDevVersion()){const _0x3e8005=loadReleaseChannel();checkForUpdate(currentVersion,_0x3e8005)['then'](_0x2e6761=>{_0x2e6761&&displayUpdateNotification(_0x2e6761);})[_0x239c3d(0x3b8)](()=>{});}}
|
|
1
|
+
const a2_0x3562dc=a2_0x2266;(function(_0x4d7746,_0x30cd7f){const _0x2985f5=a2_0x2266,_0x43276b=_0x4d7746();while(!![]){try{const _0x1ca332=-parseInt(_0x2985f5(0x3ab))/0x1*(parseInt(_0x2985f5(0x322))/0x2)+parseInt(_0x2985f5(0x3b1))/0x3+parseInt(_0x2985f5(0x2ae))/0x4*(parseInt(_0x2985f5(0x1d4))/0x5)+-parseInt(_0x2985f5(0x21b))/0x6+parseInt(_0x2985f5(0x1c5))/0x7*(-parseInt(_0x2985f5(0x1ca))/0x8)+-parseInt(_0x2985f5(0x190))/0x9+parseInt(_0x2985f5(0x2d4))/0xa;if(_0x1ca332===_0x30cd7f)break;else _0x43276b['push'](_0x43276b['shift']());}catch(_0x5e2fe2){_0x43276b['push'](_0x43276b['shift']());}}}(a2_0x5e09,0x7c884));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,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand}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';function a2_0x5e09(){const _0xfb727b=['--limit\x20<number>','--master','Start\x20a\x20new\x20chat\x20session','Output\x20directory','--attributes\x20<json>','Master\x20table\x20name','Update\x20an\x20email\x20template','workflows\x20[project]','isDirectory','Limit\x20number\x20of\x20rows','--interval\x20<range>','--email-sender-id\x20<id>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','--resume-from\x20<task>','End\x20time\x20filter\x20(ISO\x208601\x20format)','Run\x20Trino\x20query\x20with\x20streaming\x20results','LLM\x20project\x20to\x20use\x20(overrides\x20context)','result\x20<job-id>','Maximum\x20tool\x20iterations\x20(default:\x204)','Show\x20master\x20table\x20sample\x20data','pull\x20<project>\x20[target-dir]','-n,\x20--name\x20<name>','Job\x20priority\x20(-2\x20to\x202)','956174OoKNJz','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','--reason\x20<text>','configureHelp','site','Preview\x20changes\x20without\x20writing\x20files','Options:','--llm-project\x20<name>','[DEPRECATED]\x20Segment\x20folder\x20management','DEBUG','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','preview\x20[name]','--limit\x20<rows>','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','--editor-type\x20<type>','connection','length','view\x20[segment_name]','User\x20management\x20commands','sessions\x20[project]','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','stderr','Follow/watch\x20timeline\x20for\x20running\x20attempts','profile','engage_workspace','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Update\x20an\x20existing\x20agent','profiles','--behaviors-file\x20<file>','Updated\x20schedule\x20option','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON','journey','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','--name\x20<name>','Include\x20subtasks\x20in\x20tasks\x20output','Skip\x20validation\x20of\x20.dig\x20files','--invisible','name','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','secrets','Create\x20an\x20email\x20template','--in\x20<database>','Update\x20a\x20campaign','tdx','run\x20<name>','jobs','Pause\x20a\x20running\x20journey','Show\x20agent\x20details','isArray','--new','Parse\x20and\x20validate\x20without\x20executing','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','pull\x20[parent_or_file]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','set\x20<args...>','us01','_list-commands','commandDescription','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','segment','--workspace\x20<name>','--result\x20<url>','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27prod\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20staging\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27staging\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20--default\x20#\x20Set\x20default\x20profile\x20permanently\x0a','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Clear\x20workflow\x20project\x20context','use\x20[name]','preview\x20[file]','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Workspace\x20description','--database\x20<name>','Launch\x20a\x20campaign','Workflow\x20parameter\x20(repeatable)','--rule-file\x20<file>','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','--in\x20<name>','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','--max-depth\x20<depth>','--description\x20<desc>','create\x20[name]','unset\x20<resource>','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','Skip\x20confirmation\x20prompt','databases\x20[pattern]','Open\x20segment\x20in\x20web\x20browser','New\x20campaign\x20name','--include-stats','Show\x20authentication\x20status\x20and\x20current\x20context','New\x20workspace\x20name','parent','connections','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20agents\x20in\x20current\x20project','push\x20[target]','--kind\x20<type>','schedule','RT\x202.0\x20configuration\x20management','Query\x20type:\x20trino\x20or\x20hive','folder','Query\x20engine\x20version','\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','allowExcessArguments','Show\x20segment\x20details\x20(alias\x20for\x20view)','Preview\x20operation\x20without\x20executing','Create\x20a\x20new\x20agent\x20in\x20current\x20project','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','--from\x20<timestamp>','--timeout\x20<seconds>','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Delete\x20a\x20workspace','Email\x20subject\x20template','--engine-version\x20<version>','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','projects\x20[pattern]','--priority\x20<-2~2>','opts','create\x20<segment_name>','repeat','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Behaviors\x20as\x20JSON\x20string','--attribute\x20[name]','--schedule-option\x20<value>','--parent-segment\x20<name>','List\x20all\x20available\x20profiles','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','AI-native\x20CLI\x20for\x20Treasure\x20Data','2qnrILC','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','-X,\x20--method\x20<method>','Show\x20workspace\x20details','slice','--from-task\x20<task>','3004743GzBeUL','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Parent\x20segment\x20management','create\x20<parent_name>\x20<folder_name>','Pause\x20a\x20campaign','users','colorFn','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','isTTY','database','--chat-id\x20<id>','Duplicate\x20a\x20campaign','Filtering\x20rule\x20as\x20JSON\x20string','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Show\x20connection\x20details\x20by\x20name','Agent\x20name','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','submit\x20[query]','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','--temperature\x20<n>','settings\x20<type>','Delete\x20an\x20agent','list\x20[pattern]','upload\x20[project-name-or-dir]','Change\x20to\x20directory\x20before\x20executing\x20command','retry','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','folders\x20<parent_name>','Run\x20specific\x20tests\x20(comma-separated)','action','Create\x20a\x20scheduled\x20query','describe','--customer-group-file\x20<file>','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','tdx\x20','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','--include-subtasks','help',',\x20version\x20','Segment\x20description','Open\x20journey\x20in\x20web\x20browser','Result\x20output\x20destination\x20URL','Show\x20schedule\x20details','HTML\x20template\x20content','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Behaviors\x20from\x20JSON\x20file','argumentTerm','--parent-folder\x20<name>','List\x20secret\x20keys\x20for\x20a\x20project','run\x20[workflow]','subcommandDescription','Database\x20name\x20(default:\x20information_schema)','Customer\x20group\x20from\x20JSON\x20file','-d,\x20--database\x20<db>','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','Show\x20campaign\x20details','--skip-validation','Set\x20operation\x20timeout\x20in\x20seconds','--dry-run','Arguments:','--clear','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','createAsync','update\x20<agent-name>','after','--full','beefree','Manage\x20workflow\x20project\x20secrets','--attributes-file\x20<file>','usage','Include\x20retried\x20attempts\x20(for\x20list)','--description\x20<text>','injectIntoOptions','--param\x20<key=value>','--name\x20<new_name>','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','-d,\x20--database\x20<database>','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','Interactive\x20chat\x20selector','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Resume\x20a\x20paused\x20journey','List\x20available\x20LLM\x20models','Create\x20a\x20new\x20LLM\x20project','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','Name\x20for\x20the\x20new\x20project\x20(required)','Overwrite\x20local\x20changes\x20without\x20confirmation','set\x20<key=value>','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','agents\x20[pattern]','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','chdir','show\x20<name-or-id>','push\x20[name]','--behavior\x20[name]','--plaintext\x20<text>','--result\x20<target>','--subject\x20<subject>','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','pull\x20[name]','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','argv','push\x20[file]','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','--delay\x20<seconds>','Add\x20behaviors\x20as\x20JSON\x20string','-v,\x20--verbose','Timezone\x20(e.g.,\x20America/Los_Angeles)','Task\x20name\x20for\x20logs\x20action','\x20(resolved\x20to\x20','--time\x20<iso8601>','Delete\x20a\x20campaign','Show\x20journey\x20details','Set\x20or\x20show\x20parent\x20segment\x20context','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','-r,\x20--resume','delete\x20<project-name-or-id>','list','Show\x20schedule\x20execution\x20history','--folder\x20<name>','-w,\x20--web','show\x20[segment_name]','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','TRACE','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','list\x20[path]','long','-o,\x20--output\x20<folder>','delete\x20<name-or-id>','Preview\x20changes\x20without\x20pushing','desc\x20[name]','7615107qRngvk','stats\x20<name-or-path>','--include-retried','preAction','-r,\x20--recursive','logs','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','-f,\x20--file\x20<path>','map','Custom\x20revision\x20name\x20(default:\x20timestamp)','--json','log\x20<chat-id>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Kill\x20a\x20job','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','Ending\x20offset\x20(default:\x2020)','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','-d,\x20--database\x20<name>','\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','--to\x20<n>','resume\x20<name-or-path>','Resume\x20from\x20specific\x20task\x20(retry)','Workflow\x20session\x20management','Workflow\x20(Digdag)\x20management\x20commands','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','Parent\x20segment\x20description','LLM\x20agent\x20management','alias','Move\x20to\x20folder','Save\x20output\x20to\x20file','Delete\x20a\x20scheduled\x20query','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','setup','Update\x20a\x20scheduled\x20query','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','--session-time\x20<time>','--last','Updated\x20timezone','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','--customer-group\x20<json>','requiredOption','tsv','required','--agent\x20<ref>','journeys\x20[pattern]','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Parent\x20folder\x20name\x20for\x20nested\x20folders','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','275401gWCGEG','Campaign\x20management','Include\x20retried\x20attempts','Make\x20segment\x20invisible\x20(default:\x20visible)','filter','200hrptDe','show\x20[name]','Unknown\x20action:\x20','...','show\x20<agent-name>','debug','subcommandTerm','New\x20template\x20name','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Output\x20as\x20JSON\x20Lines','595050ftQhjL','-p,\x20--profile\x20<name>','--name\x20<names>','join','--stream','outputHelp','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','query\x20[sql]','--max-tool-iterations\x20<n>','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','--revision\x20<revision>','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','hook','split','Campaign\x20description','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','Push\x20without\x20confirmation','json','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','Authentication\x20management','--name\x20<text>','clone\x20[source-dir]','Show\x20the\x20most\x20recent\x20chat','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','backup\x20<name>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Show\x20only\x20master\x20table\x20validation','Show\x20stats\x20for\x20specific\x20stage','list\x20[name]','--session-id\x20<id>','--help','download\x20<project-name>\x20[output-dir]','Add\x20attributes\x20from\x20JSON\x20file','Resume\x20a\x20paused\x20campaign','use\x20<path>','command','Action:\x20logs,\x20tasks,\x20kill,\x20retry','workspace','campaign','--segment\x20<path>','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','Filtering\x20rule\x20from\x20JSON\x20file','GET','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','--color','--prompt\x20<text>','--table','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Pull\x20specific\x20revision\x20(default:\x20latest)','option','Temperature\x20(0.0-2.0,\x20default:\x200.7)','--model\x20<name>','session','hidden','Table\x20management\x20commands','validate\x20[target]','-o,\x20--output\x20<file>','--start-at\x20<datetime>','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','--html\x20<html>','pause\x20<name-or-id>','Plaintext\x20template\x20content','gitRevision','--type\x20<type>','Maximum\x20recursion\x20depth\x20(default:\x2010)','Include\x20execution\x20statistics','create\x20<name>','stringify','use\x20[project]','llm','5682402YfyejI','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','--cron\x20<expression>','--delete','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','tables\x20[pattern]','claude-4.5-sonnet','Folder\x20description','Skip\x20confirmation\x20prompts','kill\x20<job-id>','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Request\x20body\x20as\x20JSON\x20string','-y,\x20--yes','Read\x20query\x20from\x20file','update\x20<name-or-id>','activations\x20<segment_name>','Show\x20email\x20template\x20details','Workspace\x20name\x20(required)','Create\x20a\x20new\x20campaign','--output\x20<file>','show\x20<folder_ref>','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','pull\x20[project]\x20[agent-name]','Campaign\x20name','List\x20all\x20users\x20in\x20the\x20account','\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','trino','Output\x20as\x20JSON','push\x20[source-dir]','tasks','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','--no-eval','resume\x20<name-or-id>','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','run\x20[name]','--default','Workspace\x20name','grapesjs','--no-color','Database\x20to\x20use\x20(overrides\x20context)','Email\x20sender\x20ID\x20for\x20delivery','includes','trace','--enriched','Resume\x20a\x20conversation\x20(shows\x20selector)','parse','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Export\x20journey(s)\x20as\x20YAML\x20files','chat\x20[message...]','information_schema','options','Pull\x20workflow\x20project\x20to\x20local\x20folder','sql\x20[name]','show\x20<name>','status','--add-behaviors\x20<json>','view\x20<name-or-path>','addHelpText','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','--params\x20<json>','fields\x20[name]','Campaign\x20type\x20(email\x20or\x20push)','summary','get','\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','test\x20[path]','CDP\x20segment\x20management\x20commands','workflow','attempts\x20[project]','--no-count-population','--num\x20<1-10>','Attempt\x20ID','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','info\x20[segment_name]','format','--attempt-id\x20<id>','aliases','--schedule-type\x20<type>','types','Timezone\x20for\x20cron\x20(default:\x20UTC)','flags','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','-1d','Path\x20is\x20not\x20a\x20directory:\x20','List\x20available\x20connector\x20types','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Invalid\x20editor\x20type:\x20','Run\x20a\x20scheduled\x20query\x20immediately','[action]','--add-attributes\x20<json>','commands','Attributes\x20from\x20JSON\x20file','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','Start\x20time\x20filter\x20(ISO\x208601\x20format)','List\x20all\x20data\x20connections','project','-o,\x20--output\x20<dir>','--add-attributes-file\x20<file>','Commands:','logLevel','variadic','auth','history\x20[chat-id]','error','Scheduled\x20query\x20management\x20commands','Job\x20management\x20commands','kill','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Updated\x20description','validate\x20[name]','Get\x20job\x20results','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','Submit\x20a\x20job','exit','workspaces\x20[pattern]','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','--json-columns\x20<cols>','stdout','--timezone\x20<tz>','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','table','Pull\x20child\x20segments\x20to\x20YAML\x20files','--session\x20<id>','Project\x20description','duplicate\x20<name-or-id>','--format\x20<format>','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','LLM\x20project\x20management','Agent\x20prompt/instructions','Validate\x20journey\x20YAML\x20files\x20locally','show\x20<job-id>','--status\x20<status>','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-H,\x20--header\x20<header>','\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','Timezone\x20for\x20cron','--to\x20<timestamp>','models','forEach','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Model\x20type\x20(default:\x20claude-4.5-sonnet)','[attempt-id]','--tags\x20<tags>','20dknRIi','push\x20[path]','list\x20[project]','Delete\x20an\x20email\x20template','log','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','statusline','use\x20<name>','validate\x20[file]','padWidth','find','--debug','_hidden','push','New\x20segment\x20name','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20journeys\x20(alias\x20for\x20journey\x20list)','use\x20[resource]\x20[value]','jsonl','INFO','directory','Set\x20a\x20profile\x20configuration\x20value','Continue\x20most\x20recent\x20conversation','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','INVALID_ARGUMENT','Trino\x20catalog\x20(default:\x20td)','run','Show\x20job\x20details','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Output\x20folder\x20(default:\x20{project_name}.llm)','Database\x20name','--reeval','attempt:','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','allowUnknownOption','argument','update\x20<segment_name>','view\x20[name]','26463920fQWgIO','set','agent','Output\x20file\x20path','sql\x20[segment_name]','parents\x20[pattern]','Attributes\x20as\x20JSON\x20string','--force','Cron\x20expression\x20for\x20scheduling','Delay\x20in\x20seconds\x20before\x20execution','--jsonl','Delete\x20an\x20LLM\x20project','api\x20[endpoint]','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','push\x20[parent_or_file]','clone\x20[source]','[options]\x20--\x20[claude-code-args...]','description','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Create\x20a\x20workspace','Create\x20segment\x20folder','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','--rule\x20<json>','--table\x20<table>','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','pause\x20<name-or-path>','--trace','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Enable\x20verbose\x20logging','Starter\x20message','delete\x20<args...>','flatMap','--retry-limit\x20<0~32>','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Template\x20name','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','init\x20[name]','--version','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','--system-prompt\x20<text>','Database\x20management\x20commands','--yes','Setup\x20API\x20key\x20authentication\x20interactively','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','--type\x20<api_type>','parent-segment','describe\x20[table]','templates\x20[pattern]','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','-f,\x20--force','--starter-message\x20<text>','create','mcp'];a2_0x5e09=function(){return _0xfb727b;};return a2_0x5e09();}function a2_0x2266(_0x441a8a,_0x3317c0){_0x441a8a=_0x441a8a-0x149;const _0x5e09dc=a2_0x5e09();let _0x22660c=_0x5e09dc[_0x441a8a];return _0x22660c;}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_0x3562dc(0x172)][a2_0x3562dc(0x244)](a2_0x3562dc(0x2fa))){let versionOutput=a2_0x3562dc(0x3d3)+currentVersion;buildInfo[a2_0x3562dc(0x213)]&&!currentVersion[a2_0x3562dc(0x244)](buildInfo[a2_0x3562dc(0x213)])&&(versionOutput+='\x20('+buildInfo[a2_0x3562dc(0x213)]+')'),buildInfo['buildTime']&&(versionOutput+='\x20-\x20built\x20'+buildInfo['buildTime']),console[a2_0x3562dc(0x2b2)](versionOutput),process[a2_0x3562dc(0x28d)](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0x3562dc(0x3aa);buildInfo[a2_0x3562dc(0x213)]&&!currentVersion[a2_0x3562dc(0x244)](buildInfo[a2_0x3562dc(0x213)])?description+=a2_0x3562dc(0x3d8)+currentVersion+'\x20('+buildInfo[a2_0x3562dc(0x213)]+')':description+=',\x20version\x20'+currentVersion;program[a2_0x3562dc(0x34d)](a2_0x3562dc(0x353))['description'](description),program[a2_0x3562dc(0x206)]('-C,\x20--directory\x20<path>',a2_0x3562dc(0x3c9))['option'](a2_0x3562dc(0x1d5),a2_0x3562dc(0x1aa))[a2_0x3562dc(0x206)]('--site\x20<site>','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)',a2_0x3562dc(0x362))[a2_0x3562dc(0x206)](a2_0x3562dc(0x299),a2_0x3562dc(0x2f8))[a2_0x3562dc(0x206)](a2_0x3562dc(0x203),'Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)')[a2_0x3562dc(0x206)](a2_0x3562dc(0x19a),a2_0x3562dc(0x39d))[a2_0x3562dc(0x206)](a2_0x3562dc(0x2de),a2_0x3562dc(0x36c))[a2_0x3562dc(0x206)]('--tsv','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)')['option'](a2_0x3562dc(0x22e),a2_0x3562dc(0x1b0))[a2_0x3562dc(0x206)](a2_0x3562dc(0x30b),a2_0x3562dc(0x3be))[a2_0x3562dc(0x206)](a2_0x3562dc(0x201),a2_0x3562dc(0x271),![])['option'](a2_0x3562dc(0x241),a2_0x3562dc(0x377),![])[a2_0x3562dc(0x206)](a2_0x3562dc(0x177),a2_0x3562dc(0x2f1),![])[a2_0x3562dc(0x206)](a2_0x3562dc(0x2b9),a2_0x3562dc(0x3b8))['option'](a2_0x3562dc(0x2ef),'Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')[a2_0x3562dc(0x206)](a2_0x3562dc(0x398),a2_0x3562dc(0x3eb),'30')[a2_0x3562dc(0x206)](a2_0x3562dc(0x3ec),a2_0x3562dc(0x394),![])['option'](a2_0x3562dc(0x227),'Skip\x20confirmation\x20prompts',![])['option'](a2_0x3562dc(0x296),a2_0x3562dc(0x2cf))[a2_0x3562dc(0x206)](a2_0x3562dc(0x1a3),a2_0x3562dc(0x242))[a2_0x3562dc(0x206)](a2_0x3562dc(0x378),a2_0x3562dc(0x15c))[a2_0x3562dc(0x206)](a2_0x3562dc(0x3a7),a2_0x3562dc(0x15a))[a2_0x3562dc(0x206)](a2_0x3562dc(0x329),a2_0x3562dc(0x31b)),program[a2_0x3562dc(0x325)]({'formatHelp':(_0x4265a7,_0x497a9a)=>{const _0x210ec7=a2_0x3562dc,_0x474a60=_0x497a9a[_0x210ec7(0x2b7)](_0x4265a7,_0x497a9a),_0x2173a3=0x2,_0x325b56=0x2;function _0x4c47bf(_0x456eef){const _0x2c30a8=_0x210ec7,_0x4b8769=_0x456eef;return!!(_0x4b8769[_0x2c30a8(0x2ba)]||_0x4b8769['hidden']);}function _0xa283c0(_0x14d7cf,_0x46e3e7){if(_0x46e3e7){const _0x5961bb=''+_0x14d7cf['padEnd'](_0x474a60+_0x325b56)+_0x46e3e7;return _0x5961bb;}return _0x14d7cf;}function _0xc67d72(_0x29d999){const _0x53bf90=_0x210ec7;return _0x29d999[_0x53bf90(0x1d7)]('\x0a')['replace'](/^/gm,'\x20'[_0x53bf90(0x3a2)](_0x2173a3));}const _0x59ff1a=[];_0x59ff1a[_0x210ec7(0x2bb)]('Usage:\x20'+_0x497a9a['commandUsage'](_0x4265a7));const _0x587114=_0x497a9a[_0x210ec7(0x364)](_0x4265a7);_0x587114&&(_0x59ff1a['push'](''),_0x59ff1a['push'](_0x587114));const _0x882950=_0x4265a7[_0x210ec7(0x276)][_0x210ec7(0x1c9)](_0x578e34=>!_0x4c47bf(_0x578e34));if(_0x882950[_0x210ec7(0x336)]>0x0){if(_0x4265a7[_0x210ec7(0x34d)]()===_0x210ec7(0x353)){const _0xfd34de=_0x4265a7[_0x210ec7(0x3a0)](),_0x5679a7=!_0xfd34de['noColor']&&process[_0x210ec7(0x291)][_0x210ec7(0x3b9)],_0x1da258=COMMAND_CATEGORIES,_0x4c3415=(_0xcecf25,_0x15b06b)=>_0x5679a7?_0x15b06b(_0xcecf25):_0xcecf25,_0x1c0c6b=new Map();_0x882950[_0x210ec7(0x2a9)](_0x1d5606=>{const _0x45d181=_0x210ec7;_0x1c0c6b[_0x45d181(0x2d5)](_0x1d5606['name'](),_0x1d5606);}),_0x1da258[_0x210ec7(0x2a9)](_0x57fbc3=>{const _0x59ae9d=_0x210ec7,_0x3c7c6f=_0x57fbc3[_0x59ae9d(0x276)][_0x59ae9d(0x2f4)](_0x458d6e=>_0x1c0c6b[_0x59ae9d(0x25b)](_0x458d6e)??[]);if(_0x3c7c6f['length']>0x0){_0x59ff1a[_0x59ae9d(0x2bb)](''),_0x59ff1a['push'](_0x4c3415(_0x57fbc3['name']+':',_0x57fbc3[_0x59ae9d(0x3b7)]));const _0x4df2a3=_0x3c7c6f[_0x59ae9d(0x198)](_0x34c931=>{const _0x44c09c=_0x59ae9d,_0x5e1ba9=_0x497a9a[_0x44c09c(0x1d0)](_0x34c931),_0x92be44=_0x497a9a[_0x44c09c(0x3e4)](_0x34c931);return _0xa283c0(_0x5e1ba9,_0x92be44);});_0x59ff1a[_0x59ae9d(0x2bb)](_0xc67d72(_0x4df2a3));}}),_0x59ff1a[_0x210ec7(0x2bb)](''),_0x59ff1a[_0x210ec7(0x2bb)](_0x210ec7(0x3d2));}else{const _0x3b1df3=_0x882950[_0x210ec7(0x198)](_0x2275cf=>{const _0x1dd14a=_0x210ec7,_0x5285e2=_0x497a9a[_0x1dd14a(0x1d0)](_0x2275cf),_0x34631b=_0x497a9a[_0x1dd14a(0x3e4)](_0x2275cf);return _0xa283c0(_0x5285e2,_0x34631b);});_0x59ff1a['push'](''),_0x59ff1a[_0x210ec7(0x2bb)](_0x210ec7(0x27e)),_0x59ff1a[_0x210ec7(0x2bb)](_0xc67d72(_0x3b1df3));}}if(showBriefHelp&&_0x4265a7[_0x210ec7(0x34d)]()===_0x210ec7(0x353))_0x59ff1a[_0x210ec7(0x2bb)](''),_0x59ff1a[_0x210ec7(0x2bb)]('Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version');else{const _0x5189ee=_0x4265a7[_0x210ec7(0x24e)][_0x210ec7(0x1c9)](_0x1e86e4=>!_0x4c47bf(_0x1e86e4));if(_0x5189ee[_0x210ec7(0x336)]>0x0){const _0x131996=_0x5189ee[_0x210ec7(0x198)](_0x569236=>{const _0x5b70f7=_0x497a9a['optionTerm'](_0x569236),_0xcfea4f=_0x497a9a['optionDescription'](_0x569236);return _0xa283c0(_0x5b70f7,_0xcfea4f);});_0x59ff1a[_0x210ec7(0x2bb)](''),_0x59ff1a[_0x210ec7(0x2bb)](_0x210ec7(0x328)),_0x59ff1a[_0x210ec7(0x2bb)](_0xc67d72(_0x131996));}}const _0x4e893e=(_0x4265a7['registeredArguments']||[])['filter'](_0x7b2b53=>!_0x4c47bf(_0x7b2b53));if(_0x4e893e['length']>0x0){const _0x5c32e7=_0x4e893e[_0x210ec7(0x198)](_0x1dda93=>{const _0x46d980=_0x210ec7,_0x4e3b2a=_0x497a9a[_0x46d980(0x3e0)](_0x1dda93),_0x2b67bb=_0x497a9a['argumentDescription'](_0x1dda93);return _0xa283c0(_0x4e3b2a,_0x2b67bb);});_0x59ff1a[_0x210ec7(0x2bb)](''),_0x59ff1a[_0x210ec7(0x2bb)](_0x210ec7(0x3ed)),_0x59ff1a[_0x210ec7(0x2bb)](_0xc67d72(_0x5c32e7));}return _0x59ff1a[_0x210ec7(0x1d7)]('\x0a')+'\x0a';},'subcommandTerm':_0x547868=>{const _0x479f6f=a2_0x3562dc,_0x52f7dc=(_0x547868['registeredArguments']||[])['map'](_0x54d151=>_0x54d151[_0x479f6f(0x1bf)]?'<'+_0x54d151[_0x479f6f(0x34d)]()+'>':'['+_0x54d151['name']()+']')[_0x479f6f(0x1d7)]('\x20'),_0x371928=_0x547868[_0x479f6f(0x268)](),_0x16fe8d=_0x371928[_0x479f6f(0x336)]>0x0?_0x547868[_0x479f6f(0x34d)]()+',\x20'+_0x371928[_0x479f6f(0x1d7)](',\x20'):_0x547868[_0x479f6f(0x34d)]();return _0x52f7dc?_0x16fe8d+'\x20'+_0x52f7dc:_0x16fe8d;}}),program[a2_0x3562dc(0x1e0)](a2_0x3562dc(0x193),_0x1e8081=>{const _0x94ea6d=a2_0x3562dc,_0x2968c1=_0x1e8081[_0x94ea6d(0x3a0)]();if(_0x2968c1[_0x94ea6d(0x2c2)]){const _0x69d7ec=resolve(_0x2968c1[_0x94ea6d(0x2c2)]),_0x280a0b=_0x69d7ec!==_0x2968c1[_0x94ea6d(0x2c2)]?_0x94ea6d(0x17a)+_0x69d7ec+')':'';if(!existsSync(_0x69d7ec))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Directory\x20does\x20not\x20exist:\x20'+_0x2968c1['directory']+_0x280a0b,undefined,{'helpText':_0x94ea6d(0x1ab)});const _0xf03230=statSync(_0x69d7ec);if(!_0xf03230[_0x94ea6d(0x313)]())throw new SDKError(ErrorCode[_0x94ea6d(0x2c6)],_0x94ea6d(0x26f)+_0x2968c1[_0x94ea6d(0x2c2)]+_0x280a0b,undefined,{'helpText':_0x94ea6d(0x331)});process[_0x94ea6d(0x167)](_0x69d7ec);}if(!_0x2968c1[_0x94ea6d(0x266)]){if(_0x2968c1[_0x94ea6d(0x294)])_0x2968c1['format']=_0x94ea6d(0x294);else{if(_0x2968c1[_0x94ea6d(0x1e5)])_0x2968c1[_0x94ea6d(0x266)]=_0x94ea6d(0x1e5);else{if(_0x2968c1[_0x94ea6d(0x2c0)])_0x2968c1['format']=_0x94ea6d(0x2c0);else _0x2968c1[_0x94ea6d(0x1be)]&&(_0x2968c1[_0x94ea6d(0x266)]=_0x94ea6d(0x1be));}}}_0x2968c1['in']&&!_0x2968c1[_0x94ea6d(0x3ba)]&&(_0x2968c1[_0x94ea6d(0x3ba)]=_0x2968c1['in']);if(_0x2968c1[_0x94ea6d(0x245)])_0x2968c1['logLevel']=LogLevel[_0x94ea6d(0x188)];else{if(_0x2968c1[_0x94ea6d(0x1cf)])_0x2968c1['logLevel']=LogLevel[_0x94ea6d(0x32b)];else _0x2968c1[_0x94ea6d(0x27f)]===undefined&&(_0x2968c1[_0x94ea6d(0x27f)]=LogLevel[_0x94ea6d(0x2c1)]);}});async function createTDXInstance(_0x3b82fe){const _0x3c0e91=a2_0x3562dc,_0x6a9ff4=await GlobalContext[_0x3c0e91(0x14b)](_0x3b82fe);return _0x6a9ff4[_0x3c0e91(0x155)](_0x3b82fe),TDX[_0x3c0e91(0x309)]({'site':_0x6a9ff4[_0x3c0e91(0x326)],'apiKey':_0x6a9ff4['apiKey'],'logLevel':_0x6a9ff4['logLevel'],'profile':_0x6a9ff4['profile']});}const databaseCmd=program[a2_0x3562dc(0x1f8)]('database')[a2_0x3562dc(0x1ae)]('db')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x2fd)),databaseListAction=async(_0xbb8290,_0x15c646)=>{const _0x29ef32=a2_0x3562dc,_0x421119=new DatabasesCommand(),_0x5da75d=program[_0x29ef32(0x3a0)](),_0x4bba01=await createTDXInstance(_0x5da75d),_0x50671=await _0x421119[_0x29ef32(0x2c8)]({'options':{..._0x5da75d,..._0x15c646},'args':_0xbb8290?[_0xbb8290]:[],'tdx':_0x4bba01});gracefulExit(_0x50671);};databaseCmd[a2_0x3562dc(0x1f8)]('list\x20[pattern]')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x2e1))['action'](databaseListAction),program['command'](a2_0x3562dc(0x380),{'hidden':!![]})['description']('List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)')['action'](databaseListAction),program[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x24c))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x3ac))[a2_0x3562dc(0x206)](a2_0x3562dc(0x1c0),a2_0x3562dc(0x348))[a2_0x3562dc(0x206)](a2_0x3562dc(0x359),a2_0x3562dc(0x30d))['option'](a2_0x3562dc(0x3bb),a2_0x3562dc(0x2c5))[a2_0x3562dc(0x206)](a2_0x3562dc(0x1d8),'Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)')[a2_0x3562dc(0x3ce)](async(_0x104c2c,_0x2b2508)=>{const _0x2309fb=a2_0x3562dc,_0x52ecb7=program[_0x2309fb(0x3a0)](),_0x356a47=await createTDXInstance(_0x52ecb7);if(_0x104c2c[0x0]===_0x2309fb(0x309)){const _0x1ee53b=new ChatCreateCommand();gracefulExit(await _0x1ee53b['run']({'options':{..._0x52ecb7,..._0x2b2508},'args':_0x104c2c[_0x2309fb(0x3af)](0x1),'tdx':_0x356a47}));return;}const _0x4fb2c6=new ChatCommand(),_0x50bada=await _0x4fb2c6[_0x2309fb(0x2c8)]({'options':{..._0x52ecb7,..._0x2b2508},'args':_0x104c2c,'tdx':_0x356a47});gracefulExit(_0x50bada);});const apiCmd=program[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x2e0))[a2_0x3562dc(0x25a)](a2_0x3562dc(0x171))[a2_0x3562dc(0x255)](a2_0x3562dc(0x14d),a2_0x3562dc(0x391))[a2_0x3562dc(0x206)](a2_0x3562dc(0x3ad),a2_0x3562dc(0x1fd),a2_0x3562dc(0x1ff))[a2_0x3562dc(0x206)]('--data\x20<data>',a2_0x3562dc(0x226))[a2_0x3562dc(0x206)](a2_0x3562dc(0x197),'Read\x20request\x20body\x20from\x20file')[a2_0x3562dc(0x206)](a2_0x3562dc(0x2a4),'Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x39166f,_0x5e282e)=>{return _0x5e282e?[..._0x5e282e,_0x39166f]:[_0x39166f];})[a2_0x3562dc(0x206)](a2_0x3562dc(0x301),'API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')['action'](async(_0x340aff,_0x2ce045)=>{const _0x25cbc5=a2_0x3562dc;if(!_0x340aff){apiCmd['help']();return;}const _0x2d461e=new ApiCommand(),_0xc77315=program[_0x25cbc5(0x3a0)](),_0x51a920=await createTDXInstance(_0xc77315),_0x424e2e=await _0x2d461e[_0x25cbc5(0x2c8)]({'options':{..._0xc77315,..._0x2ce045},'args':[_0x340aff],'tdx':_0x51a920});gracefulExit(_0x424e2e);});program[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x30a))[a2_0x3562dc(0x2e5)]('Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration')[a2_0x3562dc(0x255)](a2_0x3562dc(0x14d),a2_0x3562dc(0x1a4))[a2_0x3562dc(0x3ce)](async _0x3d888c=>{const _0x146dde=a2_0x3562dc,_0x13322f=new MCPCommand(),_0x1e20c8=program[_0x146dde(0x3a0)](),_0x33d813=await createTDXInstance(_0x1e20c8),_0x19af63=await _0x13322f[_0x146dde(0x2c8)]({'options':{..._0x1e20c8,..._0x3d888c},'args':[],'tdx':_0x33d813});gracefulExit(_0x19af63);});const tableCmd=program[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x294))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x20b)),tableListAction=async(_0xa5bda1,_0x3855de)=>{const _0x34f4a8=a2_0x3562dc,_0x1abde7=new TablesCommand(),_0x7a0c30=program['opts'](),_0x364a8d=await createTDXInstance(_0x7a0c30);_0x3855de['in']&&(_0x3855de[_0x34f4a8(0x3ba)]=_0x3855de['in']);const _0x8335c4=await _0x1abde7[_0x34f4a8(0x2c8)]({'options':{..._0x7a0c30,..._0x3855de},'args':_0xa5bda1?[_0xa5bda1]:[],'tdx':_0x364a8d});gracefulExit(_0x8335c4);};tableCmd['command']('list\x20[pattern]')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x225))[a2_0x3562dc(0x206)](a2_0x3562dc(0x159),a2_0x3562dc(0x1ec))[a2_0x3562dc(0x206)](a2_0x3562dc(0x351),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x3562dc(0x3ce)](tableListAction),program[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x220),{'hidden':!![]})[a2_0x3562dc(0x2e5)]('List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)')[a2_0x3562dc(0x206)](a2_0x3562dc(0x159),a2_0x3562dc(0x1ec))['option'](a2_0x3562dc(0x351),a2_0x3562dc(0x15c))[a2_0x3562dc(0x3ce)](tableListAction),program['command']('show\x20[table]')[a2_0x3562dc(0x2e5)]('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')['option'](a2_0x3562dc(0x159),a2_0x3562dc(0x28b))['option']('--in\x20<database>',a2_0x3562dc(0x15c))[a2_0x3562dc(0x3ce)](async(_0x3f1dd8,_0x45a59d)=>{const _0x454414=a2_0x3562dc,_0x16535a=new ShowCommand(),_0x1872a0=program[_0x454414(0x3a0)](),_0x4a8846=await createTDXInstance(_0x1872a0);_0x45a59d['in']&&(_0x45a59d[_0x454414(0x3ba)]=_0x45a59d['in']);const _0x2b2c03=await _0x16535a[_0x454414(0x2c8)]({'options':{..._0x1872a0,..._0x45a59d},'args':_0x3f1dd8?[_0x3f1dd8]:[],'tdx':_0x4a8846});gracefulExit(_0x2b2c03);}),program[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x303))['alias']('desc')[a2_0x3562dc(0x2e5)]('Describe\x20table\x20schema')['option'](a2_0x3562dc(0x159),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')['option'](a2_0x3562dc(0x351),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x3562dc(0x3ce)](async(_0x55ec04,_0x42c39a)=>{const _0x4820b2=a2_0x3562dc,_0x5b530a=new DescribeCommand(),_0x2c78c5=program[_0x4820b2(0x3a0)](),_0x3d8944=await createTDXInstance(_0x2c78c5);_0x42c39a['in']&&(_0x42c39a['database']=_0x42c39a['in']);const _0x5ef9af=await _0x5b530a['run']({'options':{..._0x2c78c5,..._0x42c39a},'args':_0x55ec04?[_0x55ec04]:[],'tdx':_0x3d8944});gracefulExit(_0x5ef9af);}),program['command'](a2_0x3562dc(0x1db))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x31a))[a2_0x3562dc(0x206)](a2_0x3562dc(0x159),'Database\x20to\x20query\x20(default:\x20information_schema)')[a2_0x3562dc(0x206)](a2_0x3562dc(0x351),a2_0x3562dc(0x15c))[a2_0x3562dc(0x206)]('--catalog\x20<catalog>',a2_0x3562dc(0x2c7))[a2_0x3562dc(0x206)](a2_0x3562dc(0x197),'Read\x20SQL\x20query\x20from\x20file')[a2_0x3562dc(0x206)](a2_0x3562dc(0x32e),a2_0x3562dc(0x278),'40')[a2_0x3562dc(0x3ce)](async(_0xb076cf,_0x5f54b9)=>{const _0x83552f=a2_0x3562dc,_0x418e6b=new QueryCommand(),_0x1db27f=program[_0x83552f(0x3a0)](),_0x5002b6=await createTDXInstance(_0x1db27f);_0x5f54b9['in']&&(_0x5f54b9['database']=_0x5f54b9['in']);const _0x239d6a=await _0x418e6b[_0x83552f(0x2c8)]({'options':{..._0x1db27f,..._0x5f54b9},'args':_0xb076cf?[_0xb076cf]:[],'tdx':_0x5002b6});gracefulExit(_0x239d6a);});const segmentCmd=program[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x366))[a2_0x3562dc(0x1ae)]('sg')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x25e)),segmentListAction=async(_0x38ce6d,_0x27fc56)=>{const _0x431273=a2_0x3562dc,_0x47cf68=new SegmentsCommand(),_0x4bf95e=program[_0x431273(0x3a0)](),_0x1e1523=await createTDXInstance(_0x4bf95e),_0x195bbf=await _0x47cf68[_0x431273(0x2c8)]({'options':{..._0x4bf95e,..._0x27fc56},'args':_0x38ce6d?[_0x38ce6d]:[],'tdx':_0x1e1523});gracefulExit(_0x195bbf);};segmentCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x18a))[a2_0x3562dc(0x2e5)]('List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context')['option'](a2_0x3562dc(0x194),a2_0x3562dc(0x360))[a2_0x3562dc(0x206)](a2_0x3562dc(0x37a),a2_0x3562dc(0x215),'10')[a2_0x3562dc(0x3ce)](segmentListAction),program[a2_0x3562dc(0x1f8)]('segments\x20[path]',{'hidden':!![]})['description'](a2_0x3562dc(0x3e8))[a2_0x3562dc(0x206)](a2_0x3562dc(0x194),a2_0x3562dc(0x360))['option'](a2_0x3562dc(0x37a),a2_0x3562dc(0x215),'10')[a2_0x3562dc(0x3ce)](segmentListAction),segmentCmd['command'](a2_0x3562dc(0x1f7),{'hidden':!![]})[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x264))['action'](async(_0x3d0466,_0x312992)=>{const _0x5e9e3b=a2_0x3562dc,_0x3ec14d=new SegmentUseCommand(),_0x4f975c=program[_0x5e9e3b(0x3a0)](),_0x201ba2=await createTDXInstance(_0x4f975c),_0x1adcfb=await _0x3ec14d[_0x5e9e3b(0x2c8)]({'options':{..._0x4f975c,..._0x312992},'args':[_0x3d0466],'tdx':_0x201ba2});gracefulExit(_0x1adcfb);});const segmentViewAction=async(_0x50f564,_0x223400)=>{const _0x5f534d=new SegmentViewCommand(),_0xeed3dd=program['opts'](),_0x1bc294=await createTDXInstance(_0xeed3dd),_0xaedcbb=await _0x5f534d['run']({'options':{..._0xeed3dd,..._0x223400},'args':_0x50f564?[_0x50f564]:[],'tdx':_0x1bc294});gracefulExit(_0xaedcbb);};segmentCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x337))[a2_0x3562dc(0x2e5)]('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x3562dc(0x206)](a2_0x3562dc(0x185),'Open\x20segment\x20in\x20web\x20browser')['action'](segmentViewAction),segmentCmd['command'](a2_0x3562dc(0x265),{'hidden':!![]})['alias'](a2_0x3562dc(0x3d0))[a2_0x3562dc(0x206)](a2_0x3562dc(0x185),a2_0x3562dc(0x381))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x393))[a2_0x3562dc(0x3ce)](segmentViewAction),segmentCmd[a2_0x3562dc(0x1f8)]('desc\x20[segment_name]')[a2_0x3562dc(0x2e5)]('Show\x20segment\x20schema\x20(column\x20types)')[a2_0x3562dc(0x3ce)](async(_0x4cac44,_0x102411)=>{const _0x380db4=a2_0x3562dc,_0x4d8a1d=new SegmentDescCommand(),_0x88d4b9=program[_0x380db4(0x3a0)](),_0x3fed3c=await createTDXInstance(_0x88d4b9),_0xa881f5=await _0x4d8a1d[_0x380db4(0x2c8)]({'options':{..._0x88d4b9,..._0x102411},'args':_0x4cac44?[_0x4cac44]:[],'tdx':_0x3fed3c});gracefulExit(_0xa881f5);}),segmentCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x186))[a2_0x3562dc(0x2e5)]('Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x3562dc(0x3ce)](async(_0x5525a5,_0x25d762)=>{const _0x326391=a2_0x3562dc,_0xd75d0=new SegmentShowCommand(),_0x41fade=program['opts'](),_0x99d9fe=await createTDXInstance(_0x41fade),_0x578610=await _0xd75d0[_0x326391(0x2c8)]({'options':{..._0x41fade,..._0x25d762},'args':_0x5525a5?[_0x5525a5]:[],'tdx':_0x99d9fe});gracefulExit(_0x578610);}),segmentCmd['command'](a2_0x3562dc(0x3cc),{'hidden':!![]})['description'](a2_0x3562dc(0x29c))[a2_0x3562dc(0x3ce)](async(_0x13028b,_0x20e6e2)=>{const _0x3c04a0=a2_0x3562dc,_0x23fdf5=new SegmentFolderListCommand(),_0x9e3db8=program[_0x3c04a0(0x3a0)](),_0x3ae46e=await createTDXInstance(_0x9e3db8),_0x2946e1=await _0x23fdf5['run']({'options':{..._0x9e3db8,..._0x20e6e2},'args':[_0x13028b],'tdx':_0x3ae46e});gracefulExit(_0x2946e1);});const folderCmd=segmentCmd['command'](a2_0x3562dc(0x38f),{'hidden':!![]})[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x32a));folderCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x22f))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x2e9))[a2_0x3562dc(0x3ce)](async(_0x2a3d7e,_0x34b5f3)=>{const _0x55adad=a2_0x3562dc,_0x1dacd9=new SegmentFolderShowCommand(),_0x5e3488=program[_0x55adad(0x3a0)](),_0x39edbd=await createTDXInstance(_0x5e3488),_0x148551=await _0x1dacd9[_0x55adad(0x2c8)]({'options':{..._0x5e3488,..._0x34b5f3},'args':[_0x2a3d7e],'tdx':_0x39edbd});gracefulExit(_0x148551);}),segmentCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x2d8))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x293))[a2_0x3562dc(0x3ce)](async(_0x1ad272,_0x28dd82)=>{const _0x54bc5c=a2_0x3562dc,_0x133a78=new SegmentSQLCommand(),_0x2bde53=program[_0x54bc5c(0x3a0)](),_0x4a6471=await createTDXInstance(_0x2bde53),_0x45a21a=await _0x133a78[_0x54bc5c(0x2c8)]({'options':{..._0x2bde53,..._0x28dd82},'args':_0x1ad272?[_0x1ad272]:[],'tdx':_0x4a6471});gracefulExit(_0x45a21a);}),segmentCmd['command']('fields\x20[parent_name]')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x35b))[a2_0x3562dc(0x3ce)](async(_0x74bf71,_0xe15c9a)=>{const _0x28ccd9=a2_0x3562dc,_0x118f63=new SegmentFieldsCommand(),_0x49ff42=program[_0x28ccd9(0x3a0)](),_0xb86367=await createTDXInstance(_0x49ff42),_0x3ce7ec=await _0x118f63['run']({'options':{..._0x49ff42,..._0xe15c9a},'args':_0x74bf71?[_0x74bf71]:[],'tdx':_0xb86367});gracefulExit(_0x3ce7ec);}),segmentCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x35e))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x295))['option'](a2_0x3562dc(0x227),'Skip\x20confirmation\x20prompts')[a2_0x3562dc(0x206)](a2_0x3562dc(0x3ec),a2_0x3562dc(0x256))['action'](async(_0x11570,_0x31e925)=>{const _0xad7fd1=a2_0x3562dc,_0x356f57=new SegmentPullCommand(),_0x3e15dd=program[_0xad7fd1(0x3a0)](),_0x419e47=await createTDXInstance(_0x3e15dd),_0x160d6e=await _0x356f57['run']({'options':{..._0x3e15dd,..._0x31e925},'args':_0x11570?[_0x11570]:[],'tdx':_0x419e47});gracefulExit(_0x160d6e);}),segmentCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x2e2))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x189))[a2_0x3562dc(0x206)](a2_0x3562dc(0x227),a2_0x3562dc(0x223))[a2_0x3562dc(0x206)](a2_0x3562dc(0x3ec),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x3562dc(0x206)](a2_0x3562dc(0x21e),a2_0x3562dc(0x3d4))[a2_0x3562dc(0x3ce)](async(_0x3b81e2,_0x42e97f)=>{const _0x10296d=a2_0x3562dc,_0x55d08a=new SegmentPushCommand(),_0x4df416=program[_0x10296d(0x3a0)](),_0xb2e5c2=await createTDXInstance(_0x4df416),_0x2e6f93=await _0x55d08a[_0x10296d(0x2c8)]({'options':{..._0x4df416,..._0x42e97f},'args':_0x3b81e2?[_0x3b81e2]:[],'tdx':_0xb2e5c2});gracefulExit(_0x2e6f93);}),segmentCmd['command'](a2_0x3562dc(0x20c))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x369))['action'](async(_0x2c4fa1,_0x58e58f)=>{const _0x3f00e8=a2_0x3562dc,_0x20a6fa=new SegmentValidateCommand(),_0x3fd73f=program[_0x3f00e8(0x3a0)](),_0x28bb75=await createTDXInstance(_0x3fd73f),_0x54b709=await _0x20a6fa[_0x3f00e8(0x2c8)]({'options':{..._0x3fd73f,..._0x58e58f},'args':_0x2c4fa1?[_0x2c4fa1]:[],'tdx':_0x28bb75});gracefulExit(_0x54b709);}),segmentCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x3a1),{'hidden':!![]})[a2_0x3562dc(0x2e5)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')['option'](a2_0x3562dc(0x154),a2_0x3562dc(0x3d9))[a2_0x3562dc(0x206)](a2_0x3562dc(0x2ea),a2_0x3562dc(0x3bd))[a2_0x3562dc(0x206)](a2_0x3562dc(0x376),a2_0x3562dc(0x1fe))['option'](a2_0x3562dc(0x184),'Folder\x20name\x20for\x20organization')[a2_0x3562dc(0x206)](a2_0x3562dc(0x38b),a2_0x3562dc(0x26d))[a2_0x3562dc(0x206)](a2_0x3562dc(0x34c),a2_0x3562dc(0x1c8))[a2_0x3562dc(0x206)](a2_0x3562dc(0x261),'Skip\x20population\x20counting')[a2_0x3562dc(0x3ce)](async(_0xc88865,_0x19dac3)=>{const _0x5d2f7e=a2_0x3562dc,_0x19dfbc=new SegmentCreateCommand(),_0x143527=program[_0x5d2f7e(0x3a0)](),_0x488d28=await createTDXInstance(_0x143527),_0x4a4167=await _0x19dfbc[_0x5d2f7e(0x2c8)]({'options':{..._0x143527,..._0x19dac3},'args':[_0xc88865],'tdx':_0x488d28});gracefulExit(_0x4a4167);}),segmentCmd['command'](a2_0x3562dc(0x2d2),{'hidden':!![]})[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x19d))[a2_0x3562dc(0x206)](a2_0x3562dc(0x157),a2_0x3562dc(0x2bc))['option'](a2_0x3562dc(0x154),a2_0x3562dc(0x288))[a2_0x3562dc(0x206)](a2_0x3562dc(0x2ea),'Updated\x20filtering\x20rule\x20as\x20JSON\x20string')[a2_0x3562dc(0x206)](a2_0x3562dc(0x376),a2_0x3562dc(0x2fb))[a2_0x3562dc(0x206)](a2_0x3562dc(0x184),a2_0x3562dc(0x1af))[a2_0x3562dc(0x206)]('--kind\x20<type>',a2_0x3562dc(0x26d))[a2_0x3562dc(0x3ce)](async(_0x1a631d,_0x173c56)=>{const _0x4d893b=a2_0x3562dc,_0x2a0585=new SegmentUpdateCommand(),_0x114467=program[_0x4d893b(0x3a0)](),_0x197085=await createTDXInstance(_0x114467),_0x4a6711=await _0x2a0585[_0x4d893b(0x2c8)]({'options':{..._0x114467,..._0x173c56},'args':[_0x1a631d],'tdx':_0x197085});gracefulExit(_0x4a6711);});const parentCmd=segmentCmd['command'](a2_0x3562dc(0x386),{'hidden':!![]})[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x1b2)),parentListAction=async(_0x21d2ba,_0x5ec04a)=>{const _0x57c489=a2_0x3562dc,_0xf819bf=new ParentSegmentListCommand(),_0x4a0dd5=program[_0x57c489(0x3a0)](),_0x38b1a2=await createTDXInstance(_0x4a0dd5),_0x1b9618=await _0xf819bf[_0x57c489(0x2c8)]({'options':{..._0x4a0dd5,..._0x5ec04a},'args':_0x21d2ba?[_0x21d2ba]:[],'tdx':_0x38b1a2});gracefulExit(_0x1b9618);};parentCmd[a2_0x3562dc(0x1f8)]('list\x20[pattern]')['description']('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x3562dc(0x3ce)](parentListAction),segmentCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x2d9),{'hidden':!![]})[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x1c2))[a2_0x3562dc(0x3ce)](parentListAction),parentCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x16f))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x1ee))[a2_0x3562dc(0x206)](a2_0x3562dc(0x20d),'Output\x20file\x20path\x20(default:\x20<name>.yml)')['option'](a2_0x3562dc(0x227),a2_0x3562dc(0x37f))[a2_0x3562dc(0x3ce)](async(_0x318e24,_0x38e56d)=>{const _0x312bcc=a2_0x3562dc,_0x33f3be=new ParentSegmentPullCommand(),_0x1050cd=program['opts'](),_0x3e57da=await createTDXInstance(_0x1050cd),_0x46c094=await _0x33f3be[_0x312bcc(0x2c8)]({'options':{..._0x1050cd,..._0x38e56d},'args':_0x318e24?[_0x318e24]:[],'tdx':_0x3e57da});gracefulExit(_0x46c094);}),parentCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x173))['description'](a2_0x3562dc(0x2b3))['option']('-y,\x20--yes',a2_0x3562dc(0x37f))['action'](async(_0x56f64b,_0x3c2b37)=>{const _0x519fad=a2_0x3562dc,_0x5b8f0d=new ParentSegmentPushCommand(),_0x36cdba=program[_0x519fad(0x3a0)](),_0x2a55c9=await createTDXInstance(_0x36cdba),_0x580543=await _0x5b8f0d['run']({'options':{..._0x36cdba,..._0x3c2b37},'args':_0x56f64b?[_0x56f64b]:[],'tdx':_0x2a55c9});gracefulExit(_0x580543);}),parentCmd['command'](a2_0x3562dc(0x2b6))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x17f))['option'](a2_0x3562dc(0x30c),a2_0x3562dc(0x1ef))['option'](a2_0x3562dc(0x3a5),a2_0x3562dc(0x323))[a2_0x3562dc(0x206)](a2_0x3562dc(0x16a),a2_0x3562dc(0x3a3))[a2_0x3562dc(0x206)](a2_0x3562dc(0x246),a2_0x3562dc(0x196))[a2_0x3562dc(0x206)](a2_0x3562dc(0x315),a2_0x3562dc(0x2a3),a2_0x3562dc(0x26e))[a2_0x3562dc(0x3ce)](async(_0x39d5db,_0x574cd3)=>{const _0x2d069e=a2_0x3562dc,_0x21ab1e=new ParentSegmentValidateCommand(),_0x3b12e6=program[_0x2d069e(0x3a0)](),_0x217781=await createTDXInstance(_0x3b12e6),_0xb7849=await _0x21ab1e[_0x2d069e(0x2c8)]({'options':{..._0x3b12e6,..._0x574cd3},'args':_0x39d5db?[_0x39d5db]:[],'tdx':_0x217781});gracefulExit(_0xb7849);}),parentCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x370))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x20f))[a2_0x3562dc(0x206)](a2_0x3562dc(0x30c),a2_0x3562dc(0x31e))[a2_0x3562dc(0x206)]('--attribute\x20[name]',a2_0x3562dc(0x35f))['option']('--behavior\x20[name]',a2_0x3562dc(0x306))['option']('--enriched',a2_0x3562dc(0x3cb))[a2_0x3562dc(0x206)]('--interval\x20<range>',a2_0x3562dc(0x2a3),a2_0x3562dc(0x26e))[a2_0x3562dc(0x3ce)](async(_0x1b4e44,_0x32df0e)=>{const _0x32218b=a2_0x3562dc,_0x3366bb=new ParentSegmentPreviewCommand(),_0x2d5e39=program[_0x32218b(0x3a0)](),_0x301dd7=await createTDXInstance(_0x2d5e39),_0x4894d7=await _0x3366bb[_0x32218b(0x2c8)]({'options':{..._0x2d5e39,..._0x32df0e},'args':_0x1b4e44?[_0x1b4e44]:[],'tdx':_0x301dd7});gracefulExit(_0x4894d7);}),parentCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x23d))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x19e))[a2_0x3562dc(0x206)](a2_0x3562dc(0x227),a2_0x3562dc(0x37f))[a2_0x3562dc(0x3ce)](async(_0x51dd76,_0x18e90c)=>{const _0x585873=a2_0x3562dc,_0x42cb09=new ParentSegmentRunCommand(),_0x4a6aae=program[_0x585873(0x3a0)](),_0x4ca48a=await createTDXInstance(_0x4a6aae),_0x5278a0=await _0x42cb09['run']({'options':{..._0x4a6aae,..._0x18e90c},'args':_0x51dd76?[_0x51dd76]:[],'tdx':_0x4ca48a});gracefulExit(_0x5278a0);});const parentSegmentCmd=program[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x302))[a2_0x3562dc(0x1ae)]('ps')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x3b3));parentSegmentCmd['command'](a2_0x3562dc(0x3c7))['description'](a2_0x3562dc(0x305))[a2_0x3562dc(0x3ce)](parentListAction),parentSegmentCmd[a2_0x3562dc(0x1f8)]('pull\x20[name]')['description'](a2_0x3562dc(0x388))['option'](a2_0x3562dc(0x20d),'Output\x20file\x20path')['option'](a2_0x3562dc(0x227),a2_0x3562dc(0x37f))['option']('-u,\x20--use','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')[a2_0x3562dc(0x3ce)](async(_0x4a4d9d,_0x2c9198)=>{const _0x42ed26=a2_0x3562dc,_0x2618b0=new ParentSegmentPullCommand(),_0x3baf5b=program[_0x42ed26(0x3a0)](),_0x2fbe39=await createTDXInstance(_0x3baf5b),_0x132bfe=await _0x2618b0[_0x42ed26(0x2c8)]({'options':{..._0x3baf5b,..._0x2c9198},'args':_0x4a4d9d?[_0x4a4d9d]:[],'tdx':_0x2fbe39});gracefulExit(_0x132bfe);}),parentSegmentCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x169))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x187))['option']('-y,\x20--yes',a2_0x3562dc(0x37f))[a2_0x3562dc(0x3ce)](async(_0x4b8af6,_0x56cf27)=>{const _0x3ee090=a2_0x3562dc,_0x4cc78e=new ParentSegmentPushCommand(),_0xcdb283=program[_0x3ee090(0x3a0)](),_0x5dd438=await createTDXInstance(_0xcdb283),_0x73d153=await _0x4cc78e[_0x3ee090(0x2c8)]({'options':{..._0xcdb283,..._0x56cf27},'args':_0x4b8af6?[_0x4b8af6]:[],'tdx':_0x5dd438});gracefulExit(_0x73d153);}),parentSegmentCmd[a2_0x3562dc(0x1f8)]('validate\x20[name]')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x17f))[a2_0x3562dc(0x206)](a2_0x3562dc(0x30c),'Show\x20only\x20master\x20table\x20validation')['option'](a2_0x3562dc(0x3a5),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x3562dc(0x206)](a2_0x3562dc(0x16a),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x3562dc(0x206)](a2_0x3562dc(0x246),a2_0x3562dc(0x196))[a2_0x3562dc(0x206)](a2_0x3562dc(0x315),a2_0x3562dc(0x2a3),a2_0x3562dc(0x26e))[a2_0x3562dc(0x3ce)](async(_0x3cdfd1,_0x500e88)=>{const _0x516007=a2_0x3562dc,_0x1545b8=new ParentSegmentValidateCommand(),_0x24dc2f=program[_0x516007(0x3a0)](),_0x9f02b1=await createTDXInstance(_0x24dc2f),_0x18fd56=await _0x1545b8[_0x516007(0x2c8)]({'options':{..._0x24dc2f,..._0x500e88},'args':_0x3cdfd1?[_0x3cdfd1]:[],'tdx':_0x9f02b1});gracefulExit(_0x18fd56);}),parentSegmentCmd['command'](a2_0x3562dc(0x32d))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x20f))['option']('--master',a2_0x3562dc(0x31e))[a2_0x3562dc(0x206)](a2_0x3562dc(0x3a5),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x3562dc(0x206)](a2_0x3562dc(0x16a),a2_0x3562dc(0x306))[a2_0x3562dc(0x206)](a2_0x3562dc(0x246),a2_0x3562dc(0x3cb))['option'](a2_0x3562dc(0x315),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x3562dc(0x26e))['action'](async(_0x478665,_0x25f4fb)=>{const _0x5b3832=a2_0x3562dc,_0x9db912=new ParentSegmentPreviewCommand(),_0x1169b5=program[_0x5b3832(0x3a0)](),_0x30e5f9=await createTDXInstance(_0x1169b5),_0x50dcda=await _0x9db912[_0x5b3832(0x2c8)]({'options':{..._0x1169b5,..._0x25f4fb},'args':_0x478665?[_0x478665]:[],'tdx':_0x30e5f9});gracefulExit(_0x50dcda);}),parentSegmentCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x23d))['description']('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x3562dc(0x206)](a2_0x3562dc(0x227),'Skip\x20confirmation\x20prompt')['action'](async(_0x18d2ea,_0x34305e)=>{const _0x1db629=a2_0x3562dc,_0x57a164=new ParentSegmentRunCommand(),_0x3199f2=program[_0x1db629(0x3a0)](),_0xcd3fe8=await createTDXInstance(_0x3199f2),_0x36d5be=await _0x57a164[_0x1db629(0x2c8)]({'options':{..._0x3199f2,..._0x34305e},'args':_0x18d2ea?[_0x18d2ea]:[],'tdx':_0xcd3fe8});gracefulExit(_0x36d5be);}),parentSegmentCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x258))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x34e))['option'](a2_0x3562dc(0x19a),'Output\x20as\x20JSON')[a2_0x3562dc(0x206)]('--jsonl',a2_0x3562dc(0x1d3))['action'](async(_0x53ee9c,_0x3124d3)=>{const _0x49ead9=a2_0x3562dc,_0x41817a=new ParentSegmentFieldsCommand(),_0x55565f=program['opts'](),_0x735b9e=await createTDXInstance(_0x55565f),_0x3cffc9=await _0x41817a[_0x49ead9(0x2c8)]({'options':{..._0x55565f,..._0x3124d3},'args':_0x53ee9c?[_0x53ee9c]:[],'tdx':_0x735b9e});gracefulExit(_0x3cffc9);}),parentSegmentCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x2d3))['description'](a2_0x3562dc(0x1e6))[a2_0x3562dc(0x206)](a2_0x3562dc(0x185),'Open\x20parent\x20segment\x20in\x20web\x20browser')[a2_0x3562dc(0x206)](a2_0x3562dc(0x19a),a2_0x3562dc(0x236))[a2_0x3562dc(0x206)](a2_0x3562dc(0x2de),a2_0x3562dc(0x1d3))[a2_0x3562dc(0x3ce)](async(_0x3da820,_0x1d270)=>{const _0x4bc737=a2_0x3562dc,_0xfb061f=new ParentSegmentViewCommand(),_0x5837ac=program['opts'](),_0xb8f7ad=await createTDXInstance(_0x5837ac),_0x5d4160=await _0xfb061f[_0x4bc737(0x2c8)]({'options':{..._0x5837ac,..._0x1d270},'args':_0x3da820?[_0x3da820]:[],'tdx':_0xb8f7ad});gracefulExit(_0x5d4160);}),parentSegmentCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x18f))['description']('Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3562dc(0x206)](a2_0x3562dc(0x20d),a2_0x3562dc(0x2d7))['option'](a2_0x3562dc(0x19a),a2_0x3562dc(0x236))[a2_0x3562dc(0x206)]('--jsonl',a2_0x3562dc(0x1d3))[a2_0x3562dc(0x3ce)](async(_0x19bb21,_0x1d3722)=>{const _0x33aa1b=a2_0x3562dc,_0x5dd57b=new ParentSegmentDescCommand(),_0x466878=program[_0x33aa1b(0x3a0)](),_0x5de939=await createTDXInstance(_0x466878),_0x16da9a=await _0x5dd57b[_0x33aa1b(0x2c8)]({'options':{..._0x466878,..._0x1d3722},'args':_0x19bb21?[_0x19bb21]:[],'tdx':_0x5de939});gracefulExit(_0x16da9a);}),parentSegmentCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x250))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x2bd))[a2_0x3562dc(0x206)]('--json',a2_0x3562dc(0x236))[a2_0x3562dc(0x206)](a2_0x3562dc(0x2de),'Output\x20as\x20JSON\x20Lines')[a2_0x3562dc(0x3ce)](async(_0x398a56,_0x5720e0)=>{const _0x4d2ac2=a2_0x3562dc,_0x32c132=new ParentSegmentSQLCommand(),_0xe7c4ba=program[_0x4d2ac2(0x3a0)](),_0x40e066=await createTDXInstance(_0xe7c4ba),_0x2303f6=await _0x32c132[_0x4d2ac2(0x2c8)]({'options':{..._0xe7c4ba,..._0x5720e0},'args':_0x398a56?[_0x398a56]:[],'tdx':_0x40e066});gracefulExit(_0x2303f6);}),parentSegmentCmd['command'](a2_0x3562dc(0x1cb))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x287))[a2_0x3562dc(0x206)]('--limit\x20<n>',a2_0x3562dc(0x314))[a2_0x3562dc(0x206)]('--json',a2_0x3562dc(0x236))[a2_0x3562dc(0x206)](a2_0x3562dc(0x2de),'Output\x20as\x20JSON\x20Lines')[a2_0x3562dc(0x3ce)](async(_0x127327,_0x5ea4d4)=>{const _0x4add14=a2_0x3562dc,_0x12930a=new ParentSegmentShowCommand(),_0x2c555a=program[_0x4add14(0x3a0)](),_0x3e0b69=await createTDXInstance(_0x2c555a),_0x2cc3d8=await _0x12930a[_0x4add14(0x2c8)]({'options':{..._0x2c555a,..._0x5ea4d4},'args':_0x127327?[_0x127327]:[],'tdx':_0x3e0b69});gracefulExit(_0x2cc3d8);}),parentSegmentCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x36f))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x17e))[a2_0x3562dc(0x3ce)](async(_0x1c22a8,_0x4e6596)=>{const _0x28ce86=a2_0x3562dc,_0x2be3d0=new UseCommand(),_0x41827b=program[_0x28ce86(0x3a0)](),_0x104520=_0x1c22a8?['parent_segment',_0x1c22a8]:[],_0x5bc216=await _0x2be3d0['run']({'options':{..._0x41827b,..._0x4e6596},'args':_0x104520,'tdx':null});gracefulExit(_0x5bc216);});const psRtCmd=parentSegmentCmd[a2_0x3562dc(0x1f8)]('rt')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x38d));psRtCmd['command'](a2_0x3562dc(0x3c7))[a2_0x3562dc(0x2e5)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0x3562dc(0x3ce)](async(_0x13d77f,_0x400cdc)=>{const _0x594d47=a2_0x3562dc,_0x4340a7=new PSRtListCommand(),_0x31b0b3=program[_0x594d47(0x3a0)](),_0x5d72aa=await createTDXInstance(_0x31b0b3),_0x11d8c6=await _0x4340a7['run']({'options':{..._0x31b0b3,..._0x400cdc},'args':_0x13d77f?[_0x13d77f]:[],'tdx':_0x5d72aa});gracefulExit(_0x11d8c6);}),psRtCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x289))[a2_0x3562dc(0x2e5)]('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')[a2_0x3562dc(0x3ce)](async(_0x31c968,_0x29a7e3)=>{const _0x6f4b39=a2_0x3562dc,_0x49de00=new PSRtValidateCommand(),_0x5eb175=program['opts'](),_0x12dd0c=await createTDXInstance(_0x5eb175),_0x27efaa=await _0x49de00[_0x6f4b39(0x2c8)]({'options':{..._0x5eb175,..._0x29a7e3},'args':_0x31c968?[_0x31c968]:[],'tdx':_0x12dd0c});gracefulExit(_0x27efaa);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x38d));parentRtCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x3c7))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x399))[a2_0x3562dc(0x3ce)](async(_0x1038c4,_0x3f5bd1)=>{const _0xa565b3=a2_0x3562dc,_0x5192de=new PSRtListCommand(),_0x1f00ce=program[_0xa565b3(0x3a0)](),_0x2b8779=await createTDXInstance(_0x1f00ce),_0x4a5d0d=await _0x5192de['run']({'options':{..._0x1f00ce,..._0x3f5bd1},'args':_0x1038c4?[_0x1038c4]:[],'tdx':_0x2b8779});gracefulExit(_0x4a5d0d);}),parentRtCmd['command'](a2_0x3562dc(0x289))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x249))[a2_0x3562dc(0x3ce)](async(_0x3edd8c,_0x2d60ff)=>{const _0x249d29=a2_0x3562dc,_0x2ce5ba=new PSRtValidateCommand(),_0x2773ac=program[_0x249d29(0x3a0)](),_0x156644=await createTDXInstance(_0x2773ac),_0x25fc3e=await _0x2ce5ba[_0x249d29(0x2c8)]({'options':{..._0x2773ac,..._0x2d60ff},'args':_0x3edd8c?[_0x3edd8c]:[],'tdx':_0x156644});gracefulExit(_0x25fc3e);});const psPzCmd=parentSegmentCmd['command']('pz')[a2_0x3562dc(0x2e5)]('Personalization\x20service\x20management');psPzCmd[a2_0x3562dc(0x1f8)]('list\x20[name]')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x32f))[a2_0x3562dc(0x3ce)](async(_0x2989d7,_0x5e89b5)=>{const _0xf7b79a=a2_0x3562dc,_0x556b9e=new PSPzListCommand(),_0x321bea=program[_0xf7b79a(0x3a0)](),_0x65f63e=await createTDXInstance(_0x321bea),_0x5d1e54=await _0x556b9e[_0xf7b79a(0x2c8)]({'options':{..._0x321bea,..._0x5e89b5},'args':_0x2989d7?[_0x2989d7]:[],'tdx':_0x65f63e});gracefulExit(_0x5d1e54);}),psPzCmd[a2_0x3562dc(0x1f8)]('init\x20[name]')['description'](a2_0x3562dc(0x36a))[a2_0x3562dc(0x3ce)](async(_0x22460a,_0x3e5eb2)=>{const _0x5cc080=a2_0x3562dc,_0x29b3b5=new PSPzInitCommand(),_0x51b476=program[_0x5cc080(0x3a0)](),_0x23c810=await createTDXInstance(_0x51b476),_0x326991=await _0x29b3b5[_0x5cc080(0x2c8)]({'options':{..._0x51b476,..._0x3e5eb2},'args':_0x22460a?[_0x22460a]:[],'tdx':_0x23c810});gracefulExit(_0x326991);});const parentPzCmd=parentCmd['command']('pz',{'hidden':!![]})[a2_0x3562dc(0x2e5)]('Personalization\x20service\x20management');parentPzCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x1f1))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x32f))[a2_0x3562dc(0x3ce)](async(_0x1cdd26,_0x3d3ae8)=>{const _0x2e68ce=a2_0x3562dc,_0x4f82aa=new PSPzListCommand(),_0x2216f0=program[_0x2e68ce(0x3a0)](),_0x10598b=await createTDXInstance(_0x2216f0),_0x3b5d0e=await _0x4f82aa['run']({'options':{..._0x2216f0,..._0x3d3ae8},'args':_0x1cdd26?[_0x1cdd26]:[],'tdx':_0x10598b});gracefulExit(_0x3b5d0e);}),parentPzCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x2f9))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x36a))[a2_0x3562dc(0x3ce)](async(_0x514c38,_0x15d5cd)=>{const _0x197819=new PSPzInitCommand(),_0x6b73b6=program['opts'](),_0x4ccc85=await createTDXInstance(_0x6b73b6),_0x14e6c1=await _0x197819['run']({'options':{..._0x6b73b6,..._0x15d5cd},'args':_0x514c38?[_0x514c38]:[],'tdx':_0x4ccc85});gracefulExit(_0x14e6c1);}),parentCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x217))[a2_0x3562dc(0x2e5)]('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x3562dc(0x1bd)]('--database\x20<db>','Master\x20database\x20name')[a2_0x3562dc(0x1bd)](a2_0x3562dc(0x2eb),a2_0x3562dc(0x310))[a2_0x3562dc(0x206)](a2_0x3562dc(0x154),a2_0x3562dc(0x1ac))[a2_0x3562dc(0x206)](a2_0x3562dc(0x269),a2_0x3562dc(0x24a))[a2_0x3562dc(0x206)](a2_0x3562dc(0x3a6),a2_0x3562dc(0x1df))[a2_0x3562dc(0x206)]('--timezone\x20<tz>',a2_0x3562dc(0x178))[a2_0x3562dc(0x206)](a2_0x3562dc(0x30f),a2_0x3562dc(0x2da))[a2_0x3562dc(0x206)](a2_0x3562dc(0x151),a2_0x3562dc(0x277))[a2_0x3562dc(0x206)]('--behaviors\x20<json>',a2_0x3562dc(0x3a4))['option'](a2_0x3562dc(0x342),a2_0x3562dc(0x3df))[a2_0x3562dc(0x206)](a2_0x3562dc(0x1bc),'Customer\x20group\x20as\x20JSON\x20string')[a2_0x3562dc(0x206)](a2_0x3562dc(0x3d1),a2_0x3562dc(0x3e6))[a2_0x3562dc(0x3ce)](async(_0x6129ac,_0x13aa87)=>{const _0x1c2422=a2_0x3562dc,_0x49244a=new ParentSegmentCreateCommand(),_0x5ccfca=program[_0x1c2422(0x3a0)](),_0x2d71ff=await createTDXInstance(_0x5ccfca),_0x15b215=await _0x49244a[_0x1c2422(0x2c8)]({'options':{..._0x5ccfca,..._0x13aa87},'args':[_0x6129ac],'tdx':_0x2d71ff});gracefulExit(_0x15b215);}),parentCmd['command']('update\x20<name>')[a2_0x3562dc(0x2e5)]('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')['option'](a2_0x3562dc(0x154),a2_0x3562dc(0x288))[a2_0x3562dc(0x206)](a2_0x3562dc(0x269),'Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')['option'](a2_0x3562dc(0x3a6),a2_0x3562dc(0x343))[a2_0x3562dc(0x206)](a2_0x3562dc(0x292),a2_0x3562dc(0x1ba))['option'](a2_0x3562dc(0x275),'Add\x20attributes\x20as\x20JSON\x20string')[a2_0x3562dc(0x206)](a2_0x3562dc(0x27d),a2_0x3562dc(0x1f5))['option'](a2_0x3562dc(0x253),a2_0x3562dc(0x176))[a2_0x3562dc(0x206)]('--add-behaviors-file\x20<file>','Add\x20behaviors\x20from\x20JSON\x20file')[a2_0x3562dc(0x3ce)](async(_0x149390,_0xa7989e)=>{const _0x4db9ab=new ParentSegmentUpdateCommand(),_0x3ce17b=program['opts'](),_0x2211e0=await createTDXInstance(_0x3ce17b),_0x52f4ad=await _0x4db9ab['run']({'options':{..._0x3ce17b,..._0xa7989e},'args':[_0x149390],'tdx':_0x2211e0});gracefulExit(_0x52f4ad);}),folderCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x3b4))['description'](a2_0x3562dc(0x2e8))[a2_0x3562dc(0x206)](a2_0x3562dc(0x154),a2_0x3562dc(0x222))[a2_0x3562dc(0x206)](a2_0x3562dc(0x3e1),a2_0x3562dc(0x1c3))[a2_0x3562dc(0x3ce)](async(_0x4085ff,_0x1fad91,_0x43abfa)=>{const _0x3a4122=a2_0x3562dc,_0x4fbefd=new SegmentFolderCreateCommand(),_0x4652be=program[_0x3a4122(0x3a0)](),_0x2fab87=await createTDXInstance(_0x4652be),_0x2ad786=await _0x4fbefd[_0x3a4122(0x2c8)]({'options':{..._0x4652be,..._0x43abfa},'args':[_0x4085ff,_0x1fad91],'tdx':_0x2fab87});gracefulExit(_0x2ad786);}),program[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x22a))['description'](a2_0x3562dc(0x396))[a2_0x3562dc(0x3ce)](async(_0xe40363,_0x39ba4a)=>{const _0x4beda0=a2_0x3562dc,_0x38d86d=new ActivationsCommand(),_0x89e680=program[_0x4beda0(0x3a0)](),_0x75a7c1=await createTDXInstance(_0x89e680),_0x1dea2f=await _0x38d86d[_0x4beda0(0x2c8)]({'options':{..._0x89e680,..._0x39ba4a},'args':[_0xe40363],'tdx':_0x75a7c1});gracefulExit(_0x1dea2f);});const workflowCmd=program[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x25f))[a2_0x3562dc(0x1ae)]('wf')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x1a9)),wfProjectCmd=workflowCmd['command']('project')['description']('Workflow\x20project\x20management'),wfProjectListAction=async(_0x5741fa,_0x1d587b)=>{const _0x366081=a2_0x3562dc,_0x172465=new WorkflowProjectsCommand(),_0xb35dc1=program[_0x366081(0x3a0)](),_0x9badf4=await createTDXInstance(_0xb35dc1),_0x5fd397=await _0x172465[_0x366081(0x2c8)]({'options':{..._0xb35dc1,..._0x1d587b},'args':_0x5741fa?[_0x5741fa]:[],'tdx':_0x9badf4});gracefulExit(_0x5fd397);};wfProjectCmd[a2_0x3562dc(0x1f8)]('list\x20[pattern]')['description'](a2_0x3562dc(0x333))[a2_0x3562dc(0x3ce)](wfProjectListAction),workflowCmd[a2_0x3562dc(0x1f8)]('projects\x20[pattern]')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x347))['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x242d07,_0x4a0254)=>{const _0x565e9c=a2_0x3562dc,_0x5c6844=new WorkflowWorkflowsCommand(),_0xae4c0b=program['opts'](),_0x1afbba=await createTDXInstance(_0xae4c0b),_0x2bfa39=await _0x5c6844[_0x565e9c(0x2c8)]({'options':{..._0xae4c0b,..._0x4a0254},'args':_0x242d07?[_0x242d07]:[],'tdx':_0x1afbba});gracefulExit(_0x2bfa39);};workflowCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x312))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x33a))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x209))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x1a8)),wfSessionListAction=async(_0x1b9704,_0x18fa53)=>{const _0x462096=a2_0x3562dc,_0x37c66e=new WorkflowSessionsCommand(),_0x16b7d9=program[_0x462096(0x3a0)](),_0x2309a6=await createTDXInstance(_0x16b7d9),_0x5796d9=await _0x37c66e[_0x462096(0x2c8)]({'options':{..._0x16b7d9,..._0x18fa53},'args':_0x1b9704?[_0x1b9704]:[],'tdx':_0x2309a6});gracefulExit(_0x5796d9);};wfSessionCmd[a2_0x3562dc(0x1f8)]('list\x20[project]')['description'](a2_0x3562dc(0x1dd))[a2_0x3562dc(0x206)](a2_0x3562dc(0x2a1),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x3562dc(0x206)](a2_0x3562dc(0x397),a2_0x3562dc(0x279))[a2_0x3562dc(0x206)]('--to\x20<timestamp>',a2_0x3562dc(0x319))[a2_0x3562dc(0x3ce)](wfSessionListAction),workflowCmd['command'](a2_0x3562dc(0x339))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x158))[a2_0x3562dc(0x206)](a2_0x3562dc(0x2a1),a2_0x3562dc(0x317))[a2_0x3562dc(0x206)](a2_0x3562dc(0x397),a2_0x3562dc(0x279))['option'](a2_0x3562dc(0x2a7),a2_0x3562dc(0x319))['action'](wfSessionListAction);const wfAttemptListAction=async(_0x2e8722,_0x3231a2)=>{const _0x36430a=a2_0x3562dc,_0x6cc499=new WorkflowAttemptsCommand(),_0x1b8515=program[_0x36430a(0x3a0)](),_0x45a30=await createTDXInstance(_0x1b8515),_0x517039=await _0x6cc499[_0x36430a(0x2c8)]({'options':{..._0x1b8515,..._0x3231a2},'args':_0x2e8722?[_0x2e8722]:[],'tdx':_0x45a30});gracefulExit(_0x517039);},attemptCmd=workflowCmd['command']('attempt')['description']('Workflow\x20attempt\x20management')[a2_0x3562dc(0x2d1)](a2_0x3562dc(0x2ac),a2_0x3562dc(0x263))[a2_0x3562dc(0x2d1)](a2_0x3562dc(0x274),a2_0x3562dc(0x1f9))['argument']('[task-name]',a2_0x3562dc(0x179))[a2_0x3562dc(0x206)](a2_0x3562dc(0x3d6),a2_0x3562dc(0x34a))['option'](a2_0x3562dc(0x324),'Reason\x20for\x20killing\x20the\x20attempt')['option'](a2_0x3562dc(0x318),a2_0x3562dc(0x1a7))[a2_0x3562dc(0x206)](a2_0x3562dc(0x257),'Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x3562dc(0x206)](a2_0x3562dc(0x2db),'Force\x20retry\x20even\x20if\x20not\x20failed')['option'](a2_0x3562dc(0x192),a2_0x3562dc(0x153))[a2_0x3562dc(0x3ce)](async(_0x166405,_0x1fce7d,_0x500153,_0x51d78c)=>{const _0x1f8d00=a2_0x3562dc;if(_0x166405===_0x1f8d00(0x182)){await wfAttemptListAction(_0x1fce7d,_0x51d78c);return;}if(!_0x166405){attemptCmd[_0x1f8d00(0x3d7)]();return;}const _0x42ebce=program['opts'](),_0x4e0881=await createTDXInstance(_0x42ebce);let _0x2b581b=0x0;if(!_0x1fce7d){const _0x27cd7e=new WorkflowAttemptCommand();_0x2b581b=await _0x27cd7e[_0x1f8d00(0x2c8)]({'options':{..._0x42ebce,..._0x51d78c},'args':[_0x166405],'tdx':_0x4e0881});}else{if(_0x1fce7d===_0x1f8d00(0x195)){const _0x13f820=new WorkflowLogsCommand();_0x2b581b=await _0x13f820[_0x1f8d00(0x2c8)]({'options':{..._0x42ebce,..._0x51d78c},'args':_0x500153?[_0x166405,_0x500153]:[_0x166405],'tdx':_0x4e0881});}else{if(_0x1fce7d===_0x1f8d00(0x238)){const _0x60eca6=new WorkflowTasksCommand();_0x2b581b=await _0x60eca6['run']({'options':{..._0x42ebce,..._0x51d78c},'args':[_0x166405],'tdx':_0x4e0881});}else{if(_0x1fce7d===_0x1f8d00(0x286)){const _0x213e37=new WorkflowKillCommand();_0x2b581b=await _0x213e37[_0x1f8d00(0x2c8)]({'options':{..._0x42ebce,..._0x51d78c},'args':[_0x166405],'tdx':_0x4e0881});}else{if(_0x1fce7d===_0x1f8d00(0x3ca)){const _0x53b9e0=new WorkflowRetryCommand();_0x2b581b=await _0x53b9e0[_0x1f8d00(0x2c8)]({'options':{..._0x42ebce,..._0x51d78c},'args':[_0x1f8d00(0x2ce)+_0x166405],'tdx':_0x4e0881});}else console['error'](_0x1f8d00(0x1cc)+_0x1fce7d),console[_0x1f8d00(0x283)](_0x1f8d00(0x32c)),_0x2b581b=0x1;}}}}gracefulExit(_0x2b581b);});attemptCmd[a2_0x3562dc(0x1f8)]('list\x20[project]')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x33f))[a2_0x3562dc(0x206)](a2_0x3562dc(0x192),a2_0x3562dc(0x1c7))[a2_0x3562dc(0x3ce)](wfAttemptListAction),workflowCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x260))['description']('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')[a2_0x3562dc(0x206)](a2_0x3562dc(0x192),a2_0x3562dc(0x1c7))['action'](wfAttemptListAction),workflowCmd[a2_0x3562dc(0x1f8)]('timeline\x20[project.workflow]')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x174))['option']('--follow',a2_0x3562dc(0x33c))[a2_0x3562dc(0x206)](a2_0x3562dc(0x1f2),a2_0x3562dc(0x379))['option'](a2_0x3562dc(0x267),'Show\x20timeline\x20for\x20specific\x20attempt')[a2_0x3562dc(0x3ce)](async(_0x456db1,_0x4bb3df)=>{const _0x53e12f=a2_0x3562dc,_0x41c791=new WorkflowTimelineCommand(),_0x4c4163=program[_0x53e12f(0x3a0)](),_0x27dad2=await createTDXInstance(_0x4c4163),_0x1d5393=await _0x41c791['run']({'options':{..._0x4c4163,..._0x4bb3df},'args':_0x456db1?[_0x456db1]:[],'tdx':_0x27dad2});gracefulExit(_0x1d5393);}),workflowCmd[a2_0x3562dc(0x1f8)]('retry\x20<session-id>')[a2_0x3562dc(0x2e5)]('Retry\x20a\x20session\x20(prefix\x20with\x20session:)')['option'](a2_0x3562dc(0x3b0),'Resume\x20from\x20specific\x20task')[a2_0x3562dc(0x206)](a2_0x3562dc(0x257),'Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x3562dc(0x3ce)](async(_0x54595c,_0x93963c)=>{const _0x5add63=a2_0x3562dc,_0x451bff=new WorkflowRetryCommand(),_0x3a5a6d=program[_0x5add63(0x3a0)](),_0x4104d2=await createTDXInstance(_0x3a5a6d),_0x55b6b1=await _0x451bff[_0x5add63(0x2c8)]({'options':{..._0x3a5a6d,..._0x93963c},'args':[_0x54595c],'tdx':_0x4104d2});gracefulExit(_0x55b6b1);}),workflowCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x3e3))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x1da))[a2_0x3562dc(0x206)](a2_0x3562dc(0x156),a2_0x3562dc(0x375),(_0x5b7653,_0x17c145=[])=>[..._0x17c145,_0x5b7653],[])[a2_0x3562dc(0x206)](a2_0x3562dc(0x1b8),'Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')[a2_0x3562dc(0x3ce)](async(_0x184a1b,_0x2becea)=>{const _0x3cb397=a2_0x3562dc,_0x2d4fa8=new WorkflowRunCommand(),_0x3571ba=program[_0x3cb397(0x3a0)](),_0x3e74df=await createTDXInstance(_0x3571ba),_0x559a58=await _0x2d4fa8[_0x3cb397(0x2c8)]({'options':{..._0x3571ba,..._0x2becea},'args':_0x184a1b?[_0x184a1b]:[],'tdx':_0x3e74df});gracefulExit(_0x559a58);}),workflowCmd['command'](a2_0x3562dc(0x1f4))['description'](a2_0x3562dc(0x164))[a2_0x3562dc(0x206)](a2_0x3562dc(0x1de),a2_0x3562dc(0x35c))['action'](async(_0x1a0eb1,_0xd51fbf,_0x566c2a)=>{const _0x23b886=a2_0x3562dc,_0xdfd27=new WorkflowDownloadCommand(),_0x17155d=program[_0x23b886(0x3a0)](),_0x21f0b7=await createTDXInstance(_0x17155d),_0x4fc188=await _0xdfd27[_0x23b886(0x2c8)]({'options':{..._0x17155d,..._0x566c2a},'args':[_0x1a0eb1,_0xd51fbf||'.'],'tdx':_0x21f0b7});gracefulExit(_0x4fc188);}),workflowCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x31f))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x24f))[a2_0x3562dc(0x206)]('--revision\x20<revision>',a2_0x3562dc(0x205))['option'](a2_0x3562dc(0x3ec),a2_0x3562dc(0x327))[a2_0x3562dc(0x206)](a2_0x3562dc(0x227),a2_0x3562dc(0x37f))[a2_0x3562dc(0x3ce)](async(_0x349f8a,_0x3c9a55,_0x1bfc11)=>{const _0x11c252=a2_0x3562dc,_0x11e9b8=new WorkflowPullCommand(),_0x20702c=program[_0x11c252(0x3a0)](),_0x321fed=await createTDXInstance(_0x20702c),_0x24637a=await _0x11e9b8[_0x11c252(0x2c8)]({'options':{..._0x20702c,..._0x1bfc11},'args':_0x3c9a55?[_0x349f8a,_0x3c9a55]:[_0x349f8a],'tdx':_0x321fed});gracefulExit(_0x24637a);}),workflowCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x237))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x21f))['option'](a2_0x3562dc(0x1de),a2_0x3562dc(0x199))['option'](a2_0x3562dc(0x3ec),a2_0x3562dc(0x18e))['option']('--skip-validation',a2_0x3562dc(0x34b))['option'](a2_0x3562dc(0x227),a2_0x3562dc(0x37f))[a2_0x3562dc(0x3ce)](async(_0x134a02,_0xdb713c)=>{const _0x4f3f1f=a2_0x3562dc,_0x1ce664=new WorkflowPushCommand(),_0x37e0f6=program[_0x4f3f1f(0x3a0)](),_0x5ab79c=await createTDXInstance(_0x37e0f6),_0x2d0ab2=await _0x1ce664[_0x4f3f1f(0x2c8)]({'options':{..._0x37e0f6,..._0xdb713c},'args':_0x134a02?[_0x134a02]:[],'tdx':_0x5ab79c});gracefulExit(_0x2d0ab2);}),workflowCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x3c8))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x28f))[a2_0x3562dc(0x206)](a2_0x3562dc(0x349),'Override\x20project\x20name')[a2_0x3562dc(0x206)]('--revision\x20<revision>','Revision\x20name\x20(default:\x20timestamp)')[a2_0x3562dc(0x206)](a2_0x3562dc(0x3ea),a2_0x3562dc(0x34b))['action'](async(_0x117c32,_0x462ed9)=>{const _0x5d1bdb=a2_0x3562dc,_0x2efd56=new WorkflowUploadCommand(),_0x1ab6f5=program[_0x5d1bdb(0x3a0)](),_0x1fb669=await createTDXInstance(_0x1ab6f5),_0x26c732=await _0x2efd56['run']({'options':{..._0x1ab6f5,..._0x462ed9},'args':_0x117c32?[_0x117c32]:[],'tdx':_0x1fb669});gracefulExit(_0x26c732);}),workflowCmd['command'](a2_0x3562dc(0x1ea))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x300))[a2_0x3562dc(0x206)](a2_0x3562dc(0x349),'Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x3562dc(0x206)]('--revision\x20<revision>',a2_0x3562dc(0x199))['option'](a2_0x3562dc(0x3ec),'Preview\x20without\x20creating\x20the\x20project')[a2_0x3562dc(0x206)](a2_0x3562dc(0x3ea),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x3562dc(0x206)](a2_0x3562dc(0x227),a2_0x3562dc(0x37f))[a2_0x3562dc(0x3ce)](async(_0x343cbc,_0x1ee9bf)=>{const _0x2269b6=a2_0x3562dc,_0x42764b=new WorkflowCloneCommand(),_0x20a1e3=program[_0x2269b6(0x3a0)](),_0x5c9ea2=await createTDXInstance(_0x20a1e3),_0x4a8e90=await _0x42764b[_0x2269b6(0x2c8)]({'options':{..._0x20a1e3,..._0x1ee9bf},'args':_0x343cbc?[_0x343cbc]:[],'tdx':_0x5c9ea2});gracefulExit(_0x4a8e90);}),workflowCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x181))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x37e))['action'](async(_0x213be8,_0x4e2569)=>{const _0x2e4349=a2_0x3562dc,_0x52d035=new WorkflowDeleteCommand(),_0x3dd0c1=program['opts'](),_0x40b4e1=await createTDXInstance(_0x3dd0c1),_0x43b349=await _0x52d035[_0x2e4349(0x2c8)]({'options':{..._0x3dd0c1,..._0x4e2569},'args':[_0x213be8],'tdx':_0x40b4e1});gracefulExit(_0x43b349);}),workflowCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x219))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x29a))['option']('--clear',a2_0x3562dc(0x36e))[a2_0x3562dc(0x3ce)](async(_0x2d4731,_0x2f9741)=>{const _0x55030f=a2_0x3562dc,_0x678380=new WorkflowUseCommand(),_0x1c6f6=program[_0x55030f(0x3a0)](),_0x54a634=await createTDXInstance(_0x1c6f6),_0x422a07=await _0x678380[_0x55030f(0x2c8)]({'options':{..._0x1c6f6,..._0x2f9741},'args':_0x2d4731?[_0x2d4731]:[],'tdx':_0x54a634});gracefulExit(_0x422a07);});const wfSecretsCmd=workflowCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x34f))['description'](a2_0x3562dc(0x150));wfSecretsCmd['command'](a2_0x3562dc(0x2b0))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x3e2))[a2_0x3562dc(0x3ce)](async(_0x123f7a,_0x462914)=>{const _0x2583a4=a2_0x3562dc,_0x1200a0=new WorkflowSecretsListCommand(),_0x49c10f=program['opts'](),_0x247695=await createTDXInstance(_0x49c10f),_0x23f22b=await _0x1200a0[_0x2583a4(0x2c8)]({'options':{..._0x49c10f,..._0x462914},'args':_0x123f7a?[_0x123f7a]:[],'tdx':_0x247695});gracefulExit(_0x23f22b);}),wfSecretsCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x361))['description'](a2_0x3562dc(0x1a0))['action'](async(_0x47d223,_0x599047)=>{const _0x29b4ac=a2_0x3562dc,_0x2780fd=new WorkflowSecretsSetCommand(),_0x2b1945=program[_0x29b4ac(0x3a0)](),_0x193b07=await createTDXInstance(_0x2b1945),_0x38968c=await _0x2780fd[_0x29b4ac(0x2c8)]({'options':{..._0x2b1945,..._0x599047},'args':_0x47d223,'tdx':_0x193b07});gracefulExit(_0x38968c);}),wfSecretsCmd['command'](a2_0x3562dc(0x2f3))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x1e7))['option']('-y,\x20--yes',a2_0x3562dc(0x37f))['action'](async(_0x15c1e1,_0x16d1e9)=>{const _0x466da4=a2_0x3562dc,_0x2c67ad=new WorkflowSecretsDeleteCommand(),_0x1a94ba=program['opts'](),_0x174532=await createTDXInstance(_0x1a94ba),_0x542182=await _0x2c67ad[_0x466da4(0x2c8)]({'options':{..._0x1a94ba,..._0x16d1e9},'args':_0x15c1e1,'tdx':_0x174532});gracefulExit(_0x542182);});const jobCmd=program[a2_0x3562dc(0x1f8)]('job')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x285)),jobListAction=async _0x2d6193=>{const _0x393b59=a2_0x3562dc,_0xd639e5=new JobListCommand(),_0xe4bdd2=program[_0x393b59(0x3a0)](),_0x5bb32e=await createTDXInstance(_0xe4bdd2),_0x5e1a0d=await _0xd639e5[_0x393b59(0x2c8)]({'options':{..._0xe4bdd2,..._0x2d6193},'args':[],'tdx':_0x5bb32e});gracefulExit(_0x5e1a0d);};jobCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x182))['description']('List\x20jobs')[a2_0x3562dc(0x206)]('--status\x20<status>',a2_0x3562dc(0x239))[a2_0x3562dc(0x3ce)](jobListAction),program['command'](a2_0x3562dc(0x355),{'hidden':!![]})['description'](a2_0x3562dc(0x344))[a2_0x3562dc(0x206)]('--status\x20<status>',a2_0x3562dc(0x239))[a2_0x3562dc(0x3ce)](jobListAction),jobCmd['command'](a2_0x3562dc(0x2a0))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x2c9))['action'](async(_0x18c079,_0x304ec4)=>{const _0x35ac54=a2_0x3562dc,_0x2dfc5e=new JobShowCommand(),_0x138b36=program[_0x35ac54(0x3a0)](),_0x143cb4=await createTDXInstance(_0x138b36),_0x25f012=await _0x2dfc5e[_0x35ac54(0x2c8)]({'options':{..._0x138b36,..._0x304ec4},'args':[_0x18c079],'tdx':_0x143cb4});gracefulExit(_0x25f012);}),jobCmd['command'](a2_0x3562dc(0x224))['description'](a2_0x3562dc(0x19f))[a2_0x3562dc(0x3ce)](async(_0x1f999f,_0x3ad494)=>{const _0x2612cf=a2_0x3562dc,_0x11968e=new JobKillCommand(),_0x3f2915=program[_0x2612cf(0x3a0)](),_0x498141=await createTDXInstance(_0x3f2915),_0x457b0a=await _0x11968e['run']({'options':{..._0x3f2915,..._0x3ad494},'args':[_0x1f999f],'tdx':_0x498141});gracefulExit(_0x457b0a);}),jobCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x3c2))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x28c))[a2_0x3562dc(0x206)]('--job-type\x20<type>','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)',a2_0x3562dc(0x235))['option'](a2_0x3562dc(0x197),'Read\x20query\x20from\x20file')[a2_0x3562dc(0x206)](a2_0x3562dc(0x373),a2_0x3562dc(0x3e5),a2_0x3562dc(0x24d))[a2_0x3562dc(0x206)](a2_0x3562dc(0x16c),'Result\x20export\x20destination\x20(URL\x20or\x20JSON)')[a2_0x3562dc(0x3ce)](async(_0xbab812,_0x26bd62)=>{const _0xcd88fa=a2_0x3562dc,_0x11b581=new JobSubmitCommand(),_0x5143ca=program[_0xcd88fa(0x3a0)](),_0x59f146=await createTDXInstance(_0x5143ca),_0x2eb070=await _0x11b581[_0xcd88fa(0x2c8)]({'options':{..._0x5143ca,..._0x26bd62},'args':_0xbab812?[_0xbab812]:[],'tdx':_0x59f146});gracefulExit(_0x2eb070);}),jobCmd['command'](a2_0x3562dc(0x31c))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x28a))[a2_0x3562dc(0x3ce)](async(_0x89fb6c,_0xdec6ed)=>{const _0x4e0ff6=a2_0x3562dc,_0x95bf0e=new JobResultCommand(),_0xaa8ad1=program[_0x4e0ff6(0x3a0)](),_0xce9e60=await createTDXInstance(_0xaa8ad1),_0x4f8d87=await _0x95bf0e[_0x4e0ff6(0x2c8)]({'options':{..._0xaa8ad1,..._0xdec6ed},'args':[_0x89fb6c],'tdx':_0xce9e60});gracefulExit(_0x4f8d87);});const scheduleCmd=jobCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x38c))['description'](a2_0x3562dc(0x284));scheduleCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x3c7))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x166))[a2_0x3562dc(0x3ce)](async(_0x4df40f,_0x23dd34)=>{const _0x515342=a2_0x3562dc,_0x429965=new ScheduleListCommand(),_0x1a90be=program[_0x515342(0x3a0)](),_0x2d4c7d=await createTDXInstance(_0x1a90be),_0x3c25e0=await _0x429965['run']({'options':{..._0x1a90be,..._0x23dd34},'args':_0x4df40f?[_0x4df40f]:[],'tdx':_0x2d4c7d});gracefulExit(_0x3c25e0);}),scheduleCmd['command'](a2_0x3562dc(0x251))['description'](a2_0x3562dc(0x3dc))['action'](async(_0xfdd988,_0x4e3829)=>{const _0x2c3cdd=a2_0x3562dc,_0xdcec5b=new ScheduleShowCommand(),_0x2d07a4=program['opts'](),_0x52de4b=await createTDXInstance(_0x2d07a4),_0x3b1eec=await _0xdcec5b[_0x2c3cdd(0x2c8)]({'options':{..._0x2d07a4,..._0x4e3829},'args':[_0xfdd988],'tdx':_0x52de4b});gracefulExit(_0x3b1eec);}),scheduleCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x217))['description'](a2_0x3562dc(0x3cf))['requiredOption']('-d,\x20--database\x20<db>','Database\x20name')[a2_0x3562dc(0x1bd)]('-f,\x20--file\x20<path>',a2_0x3562dc(0x228))[a2_0x3562dc(0x206)](a2_0x3562dc(0x214),a2_0x3562dc(0x38e),a2_0x3562dc(0x235))['option'](a2_0x3562dc(0x21d),'Cron\x20expression\x20for\x20scheduling')['option'](a2_0x3562dc(0x292),a2_0x3562dc(0x26b))[a2_0x3562dc(0x206)]('--delay\x20<seconds>',a2_0x3562dc(0x2dd))[a2_0x3562dc(0x206)](a2_0x3562dc(0x39f),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x3562dc(0x206)](a2_0x3562dc(0x2f5),'Retry\x20limit\x20(0\x20to\x2032)')[a2_0x3562dc(0x206)](a2_0x3562dc(0x39c),a2_0x3562dc(0x390))['option'](a2_0x3562dc(0x368),a2_0x3562dc(0x3db))['action'](async(_0x251957,_0x499f08)=>{const _0x2061f3=a2_0x3562dc,_0x58cf49=new ScheduleCreateCommand(),_0x4e19ac=program[_0x2061f3(0x3a0)](),_0x8c64b6=await createTDXInstance(_0x4e19ac),_0x5f0949=await _0x58cf49[_0x2061f3(0x2c8)]({'options':{..._0x4e19ac,..._0x499f08},'args':[_0x251957],'tdx':_0x8c64b6});gracefulExit(_0x5f0949);}),scheduleCmd[a2_0x3562dc(0x1f8)]('update\x20<name>')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x1b4))[a2_0x3562dc(0x206)](a2_0x3562dc(0x3e7),a2_0x3562dc(0x2cc))[a2_0x3562dc(0x206)](a2_0x3562dc(0x197),'Read\x20query\x20from\x20file')['option'](a2_0x3562dc(0x214),'Query\x20type:\x20trino\x20or\x20hive')['option'](a2_0x3562dc(0x21d),a2_0x3562dc(0x2dc))[a2_0x3562dc(0x206)](a2_0x3562dc(0x292),a2_0x3562dc(0x2a6))[a2_0x3562dc(0x206)](a2_0x3562dc(0x175),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x3562dc(0x206)](a2_0x3562dc(0x39f),a2_0x3562dc(0x321))['option'](a2_0x3562dc(0x2f5),'Retry\x20limit\x20(0\x20to\x2032)')[a2_0x3562dc(0x206)]('--engine-version\x20<version>',a2_0x3562dc(0x390))[a2_0x3562dc(0x206)]('--result\x20<url>',a2_0x3562dc(0x3db))[a2_0x3562dc(0x3ce)](async(_0x3377ce,_0x4aa114)=>{const _0x4e2d9d=a2_0x3562dc,_0x2b5b96=new ScheduleUpdateCommand(),_0x3a497f=program['opts'](),_0xe5c29d=await createTDXInstance(_0x3a497f),_0x5417f7=await _0x2b5b96[_0x4e2d9d(0x2c8)]({'options':{..._0x3a497f,..._0x4aa114},'args':[_0x3377ce],'tdx':_0xe5c29d});gracefulExit(_0x5417f7);}),scheduleCmd[a2_0x3562dc(0x1f8)]('delete\x20<name>')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x1b1))['action'](async(_0x5edc1b,_0x48ccbb)=>{const _0x494008=a2_0x3562dc,_0x1109e2=new ScheduleDeleteCommand(),_0x296827=program[_0x494008(0x3a0)](),_0x5465a6=await createTDXInstance(_0x296827),_0x3f5770=await _0x1109e2[_0x494008(0x2c8)]({'options':{..._0x296827,..._0x48ccbb},'args':[_0x5edc1b],'tdx':_0x5465a6});gracefulExit(_0x3f5770);}),scheduleCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x354))['description'](a2_0x3562dc(0x273))[a2_0x3562dc(0x206)](a2_0x3562dc(0x17b),'Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)')[a2_0x3562dc(0x206)](a2_0x3562dc(0x262),a2_0x3562dc(0x3c1))['action'](async(_0x2ba1e1,_0x1dd678)=>{const _0x5b905a=a2_0x3562dc,_0x34ad5b=new ScheduleRunCommand(),_0x5160e1=program[_0x5b905a(0x3a0)](),_0x4255c7=await createTDXInstance(_0x5160e1),_0xed69f0=await _0x34ad5b[_0x5b905a(0x2c8)]({'options':{..._0x5160e1,..._0x1dd678},'args':[_0x2ba1e1],'tdx':_0x4255c7});gracefulExit(_0xed69f0);}),scheduleCmd[a2_0x3562dc(0x1f8)]('history\x20<name>')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x183))['option']('--from\x20<n>','Starting\x20offset\x20(default:\x200)')['option'](a2_0x3562dc(0x1a5),a2_0x3562dc(0x1a1))[a2_0x3562dc(0x3ce)](async(_0xbf3469,_0x1c3d33)=>{const _0xaba70d=a2_0x3562dc,_0x1d8768=new ScheduleHistoryCommand(),_0x2968a1=program['opts'](),_0x32eebb=await createTDXInstance(_0x2968a1),_0xb54f85=await _0x1d8768[_0xaba70d(0x2c8)]({'options':{..._0x2968a1,..._0x1c3d33},'args':[_0xbf3469],'tdx':_0x32eebb});gracefulExit(_0xb54f85);});const llmCmd=program[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x21a))['description']('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd[a2_0x3562dc(0x1f8)]('use\x20<project-name>')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x1d2))[a2_0x3562dc(0x3ce)](async(_0x3668e1,_0xe610fe)=>{const _0x44e1c5=a2_0x3562dc,_0x3c99cc=new LLMUseCommand(),_0x42ea73=program['opts'](),_0x250b7e=await createTDXInstance(_0x42ea73),_0x681d75=await _0x3c99cc[_0x44e1c5(0x2c8)]({'options':{..._0x42ea73,..._0xe610fe},'args':[_0x3668e1],'tdx':_0x250b7e});gracefulExit(_0x681d75);}),llmCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x2a8))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x15e))[a2_0x3562dc(0x3ce)](async _0xa56690=>{const _0x2c05ee=a2_0x3562dc,_0x28d209=new LLMModelsCommand(),_0x4a4fea=program[_0x2c05ee(0x3a0)](),_0x361577=await createTDXInstance(_0x4a4fea),_0x17e8b5=await _0x28d209[_0x2c05ee(0x2c8)]({'options':{..._0x4a4fea,..._0xa56690},'args':[],'tdx':_0x361577});gracefulExit(_0x17e8b5);});const projectCmd=llmCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x27b))['description'](a2_0x3562dc(0x29d)),llmProjectListAction=async(_0x13ad49,_0x17aaea)=>{const _0x4889f9=a2_0x3562dc,_0x4a660c=new LLMProjectsCommand(),_0x22a4e9=program[_0x4889f9(0x3a0)](),_0x5c9661=await createTDXInstance(_0x22a4e9),_0x164cf7=await _0x4a660c[_0x4889f9(0x2c8)]({'options':{..._0x22a4e9,..._0x17aaea},'args':_0x13ad49?[_0x13ad49]:[],'tdx':_0x5c9661});gracefulExit(_0x164cf7);};projectCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x3c7))[a2_0x3562dc(0x2e5)]('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')['action'](llmProjectListAction),llmCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x39e))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x365))[a2_0x3562dc(0x3ce)](llmProjectListAction),projectCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x217))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x15f))[a2_0x3562dc(0x206)](a2_0x3562dc(0x154),a2_0x3562dc(0x297))[a2_0x3562dc(0x3ce)](async(_0x94a9b1,_0x1551b5)=>{const _0x5f4fc4=a2_0x3562dc,_0x3485ac=new LLMProjectCreateCommand(),_0x117370=program[_0x5f4fc4(0x3a0)](),_0x2228f3=await createTDXInstance(_0x117370),_0x5db3e6=await _0x3485ac['run']({'options':{..._0x117370,..._0x1551b5},'args':[_0x94a9b1],'tdx':_0x2228f3});gracefulExit(_0x5db3e6);}),projectCmd[a2_0x3562dc(0x1f8)]('delete\x20<name>')['description'](a2_0x3562dc(0x2df))[a2_0x3562dc(0x3ce)](async(_0x2b03fb,_0x57697d)=>{const _0x3c11f6=a2_0x3562dc,_0x817eb3=new LLMProjectDeleteCommand(),_0x4d725c=program[_0x3c11f6(0x3a0)](),_0xa27c2a=await createTDXInstance(_0x4d725c),_0x2f4ed8=await _0x817eb3[_0x3c11f6(0x2c8)]({'options':{..._0x4d725c,..._0x57697d},'args':[_0x2b03fb],'tdx':_0xa27c2a});gracefulExit(_0x2f4ed8);}),projectCmd['command'](a2_0x3562dc(0x1ed))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x14a))[a2_0x3562dc(0x206)](a2_0x3562dc(0x18c),a2_0x3562dc(0x2cb))[a2_0x3562dc(0x206)](a2_0x3562dc(0x3ec),a2_0x3562dc(0x1a2))[a2_0x3562dc(0x3ce)](async(_0x3a0090,_0x54826c)=>{const _0xc5b6a3=a2_0x3562dc,_0x2b6d61=new LLMProjectBackupCommand(),_0x1d664b=program['opts'](),_0x4f4fe7=await createTDXInstance(_0x1d664b),_0x5676ae=await _0x2b6d61[_0xc5b6a3(0x2c8)]({'options':{..._0x1d664b,..._0x54826c},'args':[_0x3a0090],'tdx':_0x4f4fe7});gracefulExit(_0x5676ae);}),projectCmd[a2_0x3562dc(0x1f8)]('restore\x20<folder>')['description']('[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)')['option']('--name\x20<new-name>',a2_0x3562dc(0x3a9))[a2_0x3562dc(0x206)](a2_0x3562dc(0x3ec),a2_0x3562dc(0x330))[a2_0x3562dc(0x3ce)](async(_0x505e01,_0x4ed1fd)=>{const _0xf4495b=a2_0x3562dc,_0x1f2f8a=new LLMProjectRestoreCommand(),_0x3fb704=program[_0xf4495b(0x3a0)](),_0x3f02a9=await createTDXInstance(_0x3fb704),_0x53899b=await _0x1f2f8a['run']({'options':{..._0x3fb704,..._0x4ed1fd},'args':[_0x505e01],'tdx':_0x3f02a9});gracefulExit(_0x53899b);});const llmAgentListAction=async(_0x59562e,_0x1e9da0)=>{const _0x5aca71=new LLMAgentsCommand(),_0x71697c=program['opts'](),_0xe497af=await createTDXInstance(_0x71697c),_0x92f4f9=await _0x5aca71['run']({'options':{..._0x71697c,..._0x1e9da0},'args':_0x59562e?[_0x59562e]:[],'tdx':_0xe497af});gracefulExit(_0x92f4f9);};llmCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x165))['description'](a2_0x3562dc(0x1b6))[a2_0x3562dc(0x3ce)](llmAgentListAction),program[a2_0x3562dc(0x1f8)]('agents\x20[pattern]')['description'](a2_0x3562dc(0x1b6))[a2_0x3562dc(0x3ce)](llmAgentListAction),llmCmd['command'](a2_0x3562dc(0x282))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x23c))[a2_0x3562dc(0x206)]('--last','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')[a2_0x3562dc(0x3ce)](async(_0x47f000,_0x38e20b)=>{const _0x10580e=a2_0x3562dc,_0x365cc1=new LLMHistoryCommand(),_0x47d105=program[_0x10580e(0x3a0)](),_0x56c589=await createTDXInstance(_0x47d105),_0x2656bf=await _0x365cc1[_0x10580e(0x2c8)]({'options':{..._0x47d105,..._0x38e20b},'args':_0x47f000?[_0x47f000]:[],'tdx':_0x56c589});gracefulExit(_0x2656bf);});isExperimentalAvailable()&&llmCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x19b))[a2_0x3562dc(0x2e5)]('[EXPERIMENTAL]\x20Show\x20chat\x20log')[a2_0x3562dc(0x3ce)](async(_0xee61c7,_0x5d980f)=>{const _0xd3001a=a2_0x3562dc,_0x235ca0=new LLMLogCommand(),_0x4f677b=program[_0xd3001a(0x3a0)](),_0x4ea596=await createTDXInstance(_0x4f677b),_0x2c1ed6=await _0x235ca0[_0xd3001a(0x2c8)]({'options':{..._0x4f677b,..._0x5d980f},'args':[_0xee61c7],'tdx':_0x4ea596});gracefulExit(_0x2c1ed6);});program[a2_0x3562dc(0x1f8)]('claude\x20[args...]')[a2_0x3562dc(0x152)](a2_0x3562dc(0x2e4))[a2_0x3562dc(0x2e5)]('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')[a2_0x3562dc(0x206)]('-c,\x20--continue',a2_0x3562dc(0x2c4))[a2_0x3562dc(0x206)](a2_0x3562dc(0x180),a2_0x3562dc(0x247))[a2_0x3562dc(0x206)]('--no-proxy',a2_0x3562dc(0x36d))[a2_0x3562dc(0x2d0)]()[a2_0x3562dc(0x392)](!![])[a2_0x3562dc(0x255)](a2_0x3562dc(0x14d),a2_0x3562dc(0x345))['action'](async(_0x4b9617,_0x4493f1)=>{const _0x3a0b6f=a2_0x3562dc,_0x201fc5=program[_0x3a0b6f(0x3a0)](),_0x5ce041=Array[_0x3a0b6f(0x358)](_0x4b9617)?_0x4b9617:[];if(_0x5ce041[0x0]===_0x3a0b6f(0x2b4)){const _0x26f7f1=new ClaudeStatuslineCommand(),_0x4d513e=await _0x26f7f1['run']({'options':{..._0x201fc5,..._0x4493f1},'args':_0x5ce041[_0x3a0b6f(0x3af)](0x1),'tdx':null});gracefulExit(_0x4d513e);}if(_0x5ce041[0x0]===_0x3a0b6f(0x152)){const _0x1e08c4=new ClaudeUsageCommand(),_0x1ce451=await _0x1e08c4[_0x3a0b6f(0x2c8)]({'options':{..._0x201fc5,..._0x4493f1},'args':_0x5ce041[_0x3a0b6f(0x3af)](0x1),'tdx':null});gracefulExit(_0x1ce451);}const _0x2caca3=new ClaudeCommand(),_0x42627c=await createTDXInstance(_0x201fc5),_0x1d76f8=await _0x2caca3[_0x3a0b6f(0x2c8)]({'options':{..._0x201fc5,..._0x4493f1},'args':_0x5ce041,'tdx':_0x42627c});gracefulExit(_0x1d76f8);}),program[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x2bf))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x3b2))[a2_0x3562dc(0x206)](a2_0x3562dc(0x149),'Clear\x20session\x20context')[a2_0x3562dc(0x206)](a2_0x3562dc(0x23e),a2_0x3562dc(0x2f6))[a2_0x3562dc(0x3ce)](async(_0x59658b,_0x4ee6c6,_0x9210d3)=>{const _0x1aee5a=a2_0x3562dc,_0x3a5386=new UseCommand(),_0x37bac3=program[_0x1aee5a(0x3a0)](),_0xd4ff33=[];if(_0x59658b)_0xd4ff33[_0x1aee5a(0x2bb)](_0x59658b);if(_0x4ee6c6)_0xd4ff33[_0x1aee5a(0x2bb)](_0x4ee6c6);const _0x12d0db=_0x59658b===_0x1aee5a(0x33e),_0x46ab61=_0x12d0db?await createTDXInstance(_0x37bac3):null,_0x1860d8=await _0x3a5386['run']({'options':{..._0x37bac3,..._0x9210d3},'args':_0xd4ff33,'tdx':_0x46ab61});gracefulExit(_0x1860d8);}),program['command'](a2_0x3562dc(0x252))['description'](a2_0x3562dc(0x384))[a2_0x3562dc(0x3ce)](async _0x3734ec=>{const _0x1a9f51=a2_0x3562dc,_0x237e30=new StatusCommand(),_0x2a45a4=program[_0x1a9f51(0x3a0)](),_0xfdeff1=await createTDXInstance(_0x2a45a4),_0x139f98=await _0x237e30['run']({'options':{..._0x2a45a4,..._0x3734ec},'args':[],'tdx':_0xfdeff1});gracefulExit(_0x139f98);}),program['command'](a2_0x3562dc(0x37d))['description'](a2_0x3562dc(0x3de))[a2_0x3562dc(0x206)](a2_0x3562dc(0x23e),'Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)')['action'](async(_0x130285,_0x273eac)=>{const _0x4f24c0=a2_0x3562dc,_0x3dc3a7=new UnsetCommand(),_0x758a7e=program[_0x4f24c0(0x3a0)](),_0x180846=await _0x3dc3a7[_0x4f24c0(0x2c8)]({'options':{..._0x758a7e,..._0x273eac},'args':[_0x130285],'tdx':null});gracefulExit(_0x180846);}),program[a2_0x3562dc(0x1f8)]('chats')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x15b))[a2_0x3562dc(0x206)](a2_0x3562dc(0x1b9),a2_0x3562dc(0x1eb))[a2_0x3562dc(0x3ce)](async _0x3a6e4c=>{const _0x24589b=a2_0x3562dc,_0x1ed089=new ChatsCommand(),_0x364313=program[_0x24589b(0x3a0)](),_0x1aae36=await createTDXInstance(_0x364313),_0x14707e=await _0x1ed089['run']({'options':{..._0x364313,..._0x3a6e4c},'args':[],'tdx':_0x1aae36});gracefulExit(_0x14707e);});const authCmd=program['command'](a2_0x3562dc(0x281))['description'](a2_0x3562dc(0x1e8));async function runAuthStatusCommand(_0x487102){const _0x200ab5=a2_0x3562dc,_0x5e2736=new AuthStatusCommand(),_0x518c21=program[_0x200ab5(0x3a0)](),_0x4c8b2f=await createTDXInstance(_0x518c21),_0x135cb5=await _0x5e2736['run']({'options':{..._0x518c21,..._0x487102},'args':[],'tdx':_0x4c8b2f});gracefulExit(_0x135cb5);}authCmd[a2_0x3562dc(0x3ce)](runAuthStatusCommand),authCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x252))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x1b7))['action'](runAuthStatusCommand),authCmd['command'](a2_0x3562dc(0x1b3))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x2ff))[a2_0x3562dc(0x255)](a2_0x3562dc(0x14d),a2_0x3562dc(0x25c))[a2_0x3562dc(0x3ce)](async _0x3f1d31=>{const _0x555f7c=a2_0x3562dc,_0x2a3827=new AuthSetupCommand(),_0x3afca3=program[_0x555f7c(0x3a0)](),_0x38c79b=await createTDXInstance(_0x3afca3),_0x44de26=await _0x2a3827['run']({'options':{..._0x3afca3,..._0x3f1d31},'args':[],'tdx':_0x38c79b});gracefulExit(_0x44de26);}),authCmd[a2_0x3562dc(0x1f8)]('clear')[a2_0x3562dc(0x2e5)]('Remove\x20API\x20key\x20from\x20system\x20keychain')[a2_0x3562dc(0x255)](a2_0x3562dc(0x14d),a2_0x3562dc(0x2a5))['action'](async _0x30f9b9=>{const _0x2a845d=new AuthClearCommand(),_0x4df287=program['opts'](),_0x8ee062=await _0x2a845d['run']({'options':{..._0x4df287,..._0x30f9b9},'args':[],'tdx':null});gracefulExit(_0x8ee062);});const userCmd=program[a2_0x3562dc(0x1f8)]('user')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x338)),userListAction=async _0x1f15b7=>{const _0x28823c=a2_0x3562dc,_0x16d64e=new UserListCommand(),_0x409489=program[_0x28823c(0x3a0)](),_0x5352ee=await createTDXInstance(_0x409489),_0x57587d=await _0x16d64e['run']({'options':{..._0x409489,..._0x1f15b7},'args':[],'tdx':_0x5352ee});gracefulExit(_0x57587d);};userCmd[a2_0x3562dc(0x3ce)](async _0x5ae245=>{const _0x1af7ba=a2_0x3562dc,_0x1af112=new UserCommand(),_0x404dfb=program['opts'](),_0x49dd70=await createTDXInstance(_0x404dfb),_0x2bb8b2=await _0x1af112[_0x1af7ba(0x2c8)]({'options':{..._0x404dfb,..._0x5ae245},'args':[],'tdx':_0x49dd70});gracefulExit(_0x2bb8b2);}),userCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x182))['description'](a2_0x3562dc(0x233))['action'](userListAction),program[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x3b6))['description'](a2_0x3562dc(0x160))['action'](userListAction),program['command'](a2_0x3562dc(0x341))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x3a8))[a2_0x3562dc(0x3ce)](async _0x5aa956=>{const _0x1c6de0=a2_0x3562dc,_0x794083=new ProfilesCommand(),_0x1f4b7e=program[_0x1c6de0(0x3a0)](),_0x23cb32=await _0x794083['run']({'options':{..._0x1f4b7e,..._0x5aa956},'args':[],'tdx':null});gracefulExit(_0x23cb32);});const profileCmd=program[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x33d))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x371));profileCmd[a2_0x3562dc(0x3ce)](()=>{const _0x4e03b3=a2_0x3562dc;profileCmd[_0x4e03b3(0x1d9)]();});const profileListAction=async _0x5422e6=>{const _0xd19f01=a2_0x3562dc,_0x24f06=new ProfilesCommand(),_0x314d74=program[_0xd19f01(0x3a0)](),_0x1207ef=await _0x24f06[_0xd19f01(0x2c8)]({'options':{..._0x314d74,..._0x5422e6},'args':[],'tdx':null});gracefulExit(_0x1207ef);};profileCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x182))['description'](a2_0x3562dc(0x3a8))[a2_0x3562dc(0x3ce)](profileListAction),profileCmd['command'](a2_0x3562dc(0x37c))[a2_0x3562dc(0x2e5)]('Create\x20a\x20new\x20profile')[a2_0x3562dc(0x255)](a2_0x3562dc(0x14d),a2_0x3562dc(0x234))['action'](async(_0x5da1af,_0x32eef1)=>{const _0x5a792d=a2_0x3562dc,_0x76ca37=new ProfileCreateCommand(),_0x3caee8=program[_0x5a792d(0x3a0)](),_0x342c42=await _0x76ca37[_0x5a792d(0x2c8)]({'options':{..._0x3caee8,..._0x32eef1},'args':_0x5da1af?[_0x5da1af]:[],'tdx':null});gracefulExit(_0x342c42);}),profileCmd['command']('remove\x20<name>')[a2_0x3562dc(0x2e5)]('Remove\x20a\x20profile')[a2_0x3562dc(0x255)](a2_0x3562dc(0x14d),a2_0x3562dc(0x230))[a2_0x3562dc(0x3ce)](async(_0x5979c7,_0x1e7969)=>{const _0x32f056=a2_0x3562dc,_0x450fe3=new ProfileRemoveCommand(),_0x21044c=program[_0x32f056(0x3a0)](),_0x5e7006=await _0x450fe3[_0x32f056(0x2c8)]({'options':{..._0x21044c,..._0x1e7969},'args':[_0x5979c7],'tdx':null});gracefulExit(_0x5e7006);}),profileCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x163))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x2c3))[a2_0x3562dc(0x255)](a2_0x3562dc(0x14d),'\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')[a2_0x3562dc(0x3ce)](async(_0x5e854b,_0x9cb5bf)=>{const _0x4e337c=a2_0x3562dc,_0x5c7261=new ProfileSetCommand(),_0x2f657c=program[_0x4e337c(0x3a0)](),_0x2d2e1c=await _0x5c7261[_0x4e337c(0x2c8)]({'options':{..._0x2f657c,..._0x9cb5bf},'args':[_0x5e854b],'tdx':null});gracefulExit(_0x2d2e1c);}),profileCmd[a2_0x3562dc(0x1f8)]('use\x20<name>')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x2aa))['option']('--default',a2_0x3562dc(0x2f6))[a2_0x3562dc(0x255)](a2_0x3562dc(0x14d),a2_0x3562dc(0x36b))[a2_0x3562dc(0x3ce)](async(_0x2469b9,_0x1e7723)=>{const _0x28974a=a2_0x3562dc,_0x391774=new ProfileUseCommand(),_0xcd600c=program['opts'](),_0x4e84d7=await _0x391774[_0x28974a(0x2c8)]({'options':{..._0xcd600c,..._0x1e7723},'args':[_0x2469b9],'tdx':null});gracefulExit(_0x4e84d7);});const engageCmd=program[a2_0x3562dc(0x1f8)]('engage')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x16e)),createEngageAction=_0x192708=>{return async(_0x5df22b,_0x267587)=>{const _0xf78e94=a2_0x2266,_0x20ade0=new _0x192708(),_0xe29654=program[_0xf78e94(0x3a0)](),_0x35de92=await createTDXInstance(_0xe29654),_0x127f2a=await _0x20ade0[_0xf78e94(0x2c8)]({'options':{..._0xe29654,..._0x267587},'args':[_0x5df22b],'tdx':_0x35de92});gracefulExit(_0x127f2a);};},createEngageNoArgAction=_0x4d57fb=>{return async _0x50bd47=>{const _0x2d7896=a2_0x2266,_0x524810=new _0x4d57fb(),_0x806263=program[_0x2d7896(0x3a0)](),_0x2cbe28=await createTDXInstance(_0x806263),_0x84848f=await _0x524810[_0x2d7896(0x2c8)]({'options':{..._0x806263,..._0x50bd47},'args':[],'tdx':_0x2cbe28});gracefulExit(_0x84848f);};},campaignCmd=engageCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x1fb))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x1c6)),campaignListAction=async(_0x4539d4,_0x360475)=>{const _0x17a277=a2_0x3562dc,_0x4d2c28=new EngageCampaignsCommand(),_0x146470=program[_0x17a277(0x3a0)](),_0x54781c=await createTDXInstance(_0x146470),_0x4a87aa=await _0x4d2c28[_0x17a277(0x2c8)]({'options':{..._0x146470,..._0x360475},'args':_0x4539d4?[_0x4539d4]:[],'tdx':_0x54781c});gracefulExit(_0x4a87aa);};campaignCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x3c7))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x1c4))[a2_0x3562dc(0x206)](a2_0x3562dc(0x214),a2_0x3562dc(0x35d))[a2_0x3562dc(0x206)](a2_0x3562dc(0x2a1),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x3562dc(0x206)](a2_0x3562dc(0x367),a2_0x3562dc(0x23f))[a2_0x3562dc(0x3ce)](campaignListAction),engageCmd[a2_0x3562dc(0x1f8)]('campaigns\x20[pattern]')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x1b5))['option'](a2_0x3562dc(0x214),a2_0x3562dc(0x35d))['option'](a2_0x3562dc(0x2a1),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')['option'](a2_0x3562dc(0x367),a2_0x3562dc(0x23f))[a2_0x3562dc(0x3ce)](campaignListAction),campaignCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x168))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x3e9))[a2_0x3562dc(0x206)](a2_0x3562dc(0x367),a2_0x3562dc(0x23f))['option']('--full',a2_0x3562dc(0x29b))[a2_0x3562dc(0x3ce)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x309))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x22d))[a2_0x3562dc(0x1bd)](a2_0x3562dc(0x349),a2_0x3562dc(0x232))[a2_0x3562dc(0x1bd)](a2_0x3562dc(0x214),a2_0x3562dc(0x259))[a2_0x3562dc(0x206)](a2_0x3562dc(0x367),a2_0x3562dc(0x22c))[a2_0x3562dc(0x206)]('--description\x20<desc>','Campaign\x20description')['option'](a2_0x3562dc(0x1fc),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')['option'](a2_0x3562dc(0x316),a2_0x3562dc(0x243))[a2_0x3562dc(0x206)](a2_0x3562dc(0x290),a2_0x3562dc(0x2f0))['option'](a2_0x3562dc(0x20e),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')['option']('--timezone\x20<tz>',a2_0x3562dc(0x19c))[a2_0x3562dc(0x3ce)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x229))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x352))[a2_0x3562dc(0x206)](a2_0x3562dc(0x367),a2_0x3562dc(0x23f))[a2_0x3562dc(0x206)](a2_0x3562dc(0x349),a2_0x3562dc(0x382))[a2_0x3562dc(0x206)](a2_0x3562dc(0x37b),a2_0x3562dc(0x1e2))[a2_0x3562dc(0x206)](a2_0x3562dc(0x1fc),a2_0x3562dc(0x1bb))[a2_0x3562dc(0x206)](a2_0x3562dc(0x316),a2_0x3562dc(0x243))['option'](a2_0x3562dc(0x290),a2_0x3562dc(0x2f0))[a2_0x3562dc(0x206)](a2_0x3562dc(0x20e),a2_0x3562dc(0x2ca))[a2_0x3562dc(0x206)](a2_0x3562dc(0x292),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x3562dc(0x3ce)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x18d))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x17c))['option'](a2_0x3562dc(0x367),a2_0x3562dc(0x23f))[a2_0x3562dc(0x206)]('--yes',a2_0x3562dc(0x37f))['action'](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command']('launch\x20<name-or-id>')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x374))[a2_0x3562dc(0x206)](a2_0x3562dc(0x367),'Workspace\x20name')['action'](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x211))['description'](a2_0x3562dc(0x3b5))[a2_0x3562dc(0x206)](a2_0x3562dc(0x367),'Workspace\x20name')['action'](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x23b))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x1f6))[a2_0x3562dc(0x206)](a2_0x3562dc(0x367),a2_0x3562dc(0x23f))['action'](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x298))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x3bc))[a2_0x3562dc(0x206)](a2_0x3562dc(0x367),a2_0x3562dc(0x23f))['action'](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd['command']('template')[a2_0x3562dc(0x2e5)]('Email\x20template\x20management'),templateListAction=async(_0x3eefc3,_0xd0eb65)=>{const _0x4228bc=a2_0x3562dc,_0x3812a4=new EngageTemplatesCommand(),_0x1e7998=program[_0x4228bc(0x3a0)](),_0x292fd8=await createTDXInstance(_0x1e7998),_0x297ca1=await _0x3812a4[_0x4228bc(0x2c8)]({'options':{..._0x1e7998,..._0xd0eb65},'args':_0x3eefc3?[_0x3eefc3]:[],'tdx':_0x292fd8});gracefulExit(_0x297ca1);};templateCmd[a2_0x3562dc(0x1f8)]('list\x20[pattern]')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x3d5))[a2_0x3562dc(0x206)](a2_0x3562dc(0x367),a2_0x3562dc(0x23f))['action'](templateListAction),engageCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x304))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x204))['option'](a2_0x3562dc(0x367),'Workspace\x20name')[a2_0x3562dc(0x3ce)](templateListAction),templateCmd['command'](a2_0x3562dc(0x168))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x22b))[a2_0x3562dc(0x206)](a2_0x3562dc(0x367),a2_0x3562dc(0x23f))[a2_0x3562dc(0x206)](a2_0x3562dc(0x14e),a2_0x3562dc(0x29b))[a2_0x3562dc(0x3ce)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x3562dc(0x1f8)]('create')['description'](a2_0x3562dc(0x350))[a2_0x3562dc(0x1bd)](a2_0x3562dc(0x349),a2_0x3562dc(0x2f7))[a2_0x3562dc(0x1bd)](a2_0x3562dc(0x16d),a2_0x3562dc(0x39b))['requiredOption'](a2_0x3562dc(0x210),a2_0x3562dc(0x3dd))[a2_0x3562dc(0x206)](a2_0x3562dc(0x367),a2_0x3562dc(0x22c))[a2_0x3562dc(0x206)](a2_0x3562dc(0x16b),a2_0x3562dc(0x212))[a2_0x3562dc(0x206)](a2_0x3562dc(0x334),'Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)',_0x54e3f8=>{const _0x2d131a=a2_0x3562dc;if(![_0x2d131a(0x14f),_0x2d131a(0x240)][_0x2d131a(0x244)](_0x54e3f8))throw new SDKError(ErrorCode[_0x2d131a(0x2c6)],_0x2d131a(0x272)+_0x54e3f8+_0x2d131a(0x21c));return _0x54e3f8;})[a2_0x3562dc(0x3ce)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x229))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x311))[a2_0x3562dc(0x206)](a2_0x3562dc(0x367),a2_0x3562dc(0x23f))[a2_0x3562dc(0x206)](a2_0x3562dc(0x349),a2_0x3562dc(0x1d1))[a2_0x3562dc(0x206)]('--subject\x20<subject>',a2_0x3562dc(0x39b))[a2_0x3562dc(0x206)](a2_0x3562dc(0x210),a2_0x3562dc(0x3dd))[a2_0x3562dc(0x206)]('--plaintext\x20<text>',a2_0x3562dc(0x212))[a2_0x3562dc(0x3ce)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x18d))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x2b1))[a2_0x3562dc(0x206)](a2_0x3562dc(0x367),a2_0x3562dc(0x23f))['option'](a2_0x3562dc(0x2fe),a2_0x3562dc(0x37f))[a2_0x3562dc(0x3ce)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x1fa))[a2_0x3562dc(0x2e5)]('Workspace\x20management'),workspaceListAction=async(_0x17bdcf,_0x12ffaa)=>{const _0x27ed47=a2_0x3562dc,_0x3ecbf5=new EngageWorkspacesCommand(),_0x5c8288=program[_0x27ed47(0x3a0)](),_0x477c86=await createTDXInstance(_0x5c8288),_0x58ee0e=await _0x3ecbf5[_0x27ed47(0x2c8)]({'options':{..._0x5c8288,..._0x12ffaa},'args':_0x17bdcf?[_0x17bdcf]:[],'tdx':_0x477c86});gracefulExit(_0x58ee0e);};workspaceCmd[a2_0x3562dc(0x1f8)]('list\x20[pattern]')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x2ec))[a2_0x3562dc(0x3ce)](workspaceListAction),engageCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x28e))['description'](a2_0x3562dc(0x200))[a2_0x3562dc(0x3ce)](workspaceListAction),workspaceCmd['command'](a2_0x3562dc(0x168))['description'](a2_0x3562dc(0x3ae))[a2_0x3562dc(0x206)](a2_0x3562dc(0x14e),a2_0x3562dc(0x29b))['action'](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x3562dc(0x1f8)]('create')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x2e7))['requiredOption'](a2_0x3562dc(0x349),a2_0x3562dc(0x23f))[a2_0x3562dc(0x206)]('--description\x20<desc>',a2_0x3562dc(0x372))[a2_0x3562dc(0x3ce)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x229))[a2_0x3562dc(0x2e5)]('Update\x20a\x20workspace')[a2_0x3562dc(0x206)](a2_0x3562dc(0x349),a2_0x3562dc(0x385))['option'](a2_0x3562dc(0x37b),a2_0x3562dc(0x372))[a2_0x3562dc(0x3ce)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x18d))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x39a))[a2_0x3562dc(0x206)]('--yes','Skip\x20confirmation\x20prompt')[a2_0x3562dc(0x3ce)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd['command'](a2_0x3562dc(0x2b5))['description'](a2_0x3562dc(0x332))[a2_0x3562dc(0x3ce)](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x335))['description']('Data\x20connection\x20management\x20(for\x20activations/exports)'),connectionListAction=async _0x30567c=>{const _0x1491f8=a2_0x3562dc,_0x4fc67b=new ConnectionListCommand(),_0x3b78ed=program[_0x1491f8(0x3a0)](),_0x247b9d=await createTDXInstance(_0x3b78ed),_0xcd23a7=await _0x4fc67b[_0x1491f8(0x2c8)]({'options':{..._0x3b78ed,..._0x30567c},'args':[],'tdx':_0x247b9d});gracefulExit(_0xcd23a7);};connectionCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x182))['description'](a2_0x3562dc(0x27a))[a2_0x3562dc(0x3ce)](connectionListAction),program[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x387),{'hidden':!![]})[a2_0x3562dc(0x2e5)]('List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)')['action'](connectionListAction),connectionCmd['command'](a2_0x3562dc(0x251))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x3bf))['action'](async(_0x16faba,_0x3a6a51)=>{const _0x4fd41c=a2_0x3562dc,_0x3422a6=new ConnectionShowCommand(),_0x4a7f81=program[_0x4fd41c(0x3a0)](),_0x21197d=await createTDXInstance(_0x4a7f81),_0x569ce2=await _0x3422a6[_0x4fd41c(0x2c8)]({'options':{..._0x4a7f81,..._0x3a6a51},'args':[_0x16faba],'tdx':_0x21197d});gracefulExit(_0x569ce2);}),connectionCmd[a2_0x3562dc(0x1f8)]('schema\x20<type>')[a2_0x3562dc(0x2e5)]('Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation')[a2_0x3562dc(0x3ce)](async(_0x192c5b,_0x1b2ed1)=>{const _0x11b0d5=a2_0x3562dc,_0x1cd3e6=new ConnectionSchemaCommand(),_0x5116e6=program['opts'](),_0x57ee61=await createTDXInstance(_0x5116e6),_0x422e0c=await _0x1cd3e6[_0x11b0d5(0x2c8)]({'options':{..._0x5116e6,..._0x1b2ed1},'args':[_0x192c5b],'tdx':_0x57ee61});gracefulExit(_0x422e0c);}),connectionCmd['command'](a2_0x3562dc(0x26a))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x270))['action'](async _0x4c6043=>{const _0x45d2a7=a2_0x3562dc,_0x3b1e8d=new ConnectionTypesCommand(),_0x220f8d=program['opts'](),_0x46827c=await createTDXInstance(_0x220f8d),_0x485b34=await _0x3b1e8d[_0x45d2a7(0x2c8)]({'options':{..._0x220f8d,..._0x4c6043},'args':[],'tdx':_0x46827c});gracefulExit(_0x485b34);}),connectionCmd['command'](a2_0x3562dc(0x3c5))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x2a2))['action'](async(_0x504ed1,_0x1c9018)=>{const _0x2c44a6=a2_0x3562dc,_0x36d92f=new ConnectionSettingsCommand(),_0xea7ce0=program[_0x2c44a6(0x3a0)](),_0x11e182=await createTDXInstance(_0xea7ce0),_0x1de9d3=await _0x36d92f[_0x2c44a6(0x2c8)]({'options':{..._0xea7ce0,..._0x1c9018},'args':[_0x504ed1],'tdx':_0x11e182});gracefulExit(_0x1de9d3);});const journeyCmd=program[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x346))[a2_0x3562dc(0x2e5)]('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0x2fc1a2,_0x5dfc7f)=>{const _0x79a0a8=a2_0x3562dc,_0x1e5d4f=new JourneyListCommand(),_0x595f2c=program[_0x79a0a8(0x3a0)](),_0xc9ae50=await createTDXInstance(_0x595f2c),_0x1ec222=await _0x1e5d4f[_0x79a0a8(0x2c8)]({'options':{..._0x595f2c,..._0x5dfc7f},'args':_0x2fc1a2?[_0x2fc1a2]:[],'tdx':_0xc9ae50});gracefulExit(_0x1ec222);};journeyCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x3c7))[a2_0x3562dc(0x2e5)]('List\x20journeys\x20in\x20current\x20context')['action'](journeyListAction),journeyCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x254))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x17d))[a2_0x3562dc(0x206)]('-w,\x20--web',a2_0x3562dc(0x3da))[a2_0x3562dc(0x206)](a2_0x3562dc(0x383),a2_0x3562dc(0x216))[a2_0x3562dc(0x3ce)](async(_0x4459b4,_0x2176b3)=>{const _0x575d31=new JourneyViewCommand(),_0x523ac9=program['opts'](),_0x287fb8=await createTDXInstance(_0x523ac9),_0x47ce41=await _0x575d31['run']({'options':{..._0x523ac9,..._0x2176b3},'args':[_0x4459b4],'tdx':_0x287fb8});gracefulExit(_0x47ce41);}),journeyCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x191))[a2_0x3562dc(0x2e5)]('Show\x20journey\x20statistics')[a2_0x3562dc(0x206)]('--stage\x20<name>',a2_0x3562dc(0x1f0))[a2_0x3562dc(0x3ce)](async(_0xafefd4,_0x3633d1)=>{const _0x270c94=new JourneyStatsCommand(),_0x1db514=program['opts'](),_0x2537b1=await createTDXInstance(_0x1db514),_0x3b27b4=await _0x270c94['run']({'options':{..._0x1db514,..._0x3633d1},'args':[_0xafefd4],'tdx':_0x2537b1});gracefulExit(_0x3b27b4);}),journeyCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x2ee))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x356))[a2_0x3562dc(0x3ce)](async(_0x48e6a3,_0x2e0660)=>{const _0x4339da=a2_0x3562dc,_0x98687d=new JourneyPauseCommand(),_0x18b5da=program[_0x4339da(0x3a0)](),_0x14127b=await createTDXInstance(_0x18b5da),_0x299275=await _0x98687d[_0x4339da(0x2c8)]({'options':{..._0x18b5da,..._0x2e0660},'args':[_0x48e6a3],'tdx':_0x14127b});gracefulExit(_0x299275);}),journeyCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x1a6))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x15d))[a2_0x3562dc(0x3ce)](async(_0x2b50ad,_0x359887)=>{const _0x1c41fe=a2_0x3562dc,_0x2f938d=new JourneyResumeCommand(),_0x4daaba=program[_0x1c41fe(0x3a0)](),_0x5145be=await createTDXInstance(_0x4daaba),_0x4d1ad0=await _0x2f938d[_0x1c41fe(0x2c8)]({'options':{..._0x4daaba,..._0x359887},'args':[_0x2b50ad],'tdx':_0x5145be});gracefulExit(_0x4d1ad0);}),journeyCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x16f))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x24b))['option'](a2_0x3562dc(0x227),'Skip\x20confirmation\x20prompt')['option'](a2_0x3562dc(0x3ec),a2_0x3562dc(0x170))['action'](async(_0x4b4bd0,_0x5ccc42)=>{const _0x48cb8b=a2_0x3562dc,_0x16032f=new JourneyPullCommand(),_0x56dcb4=program[_0x48cb8b(0x3a0)](),_0x42746f=await createTDXInstance(_0x56dcb4),_0x531d02=await _0x16032f[_0x48cb8b(0x2c8)]({'options':{..._0x56dcb4,..._0x5ccc42},'args':_0x4b4bd0?[_0x4b4bd0]:[],'tdx':_0x42746f});gracefulExit(_0x531d02);}),journeyCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x38a))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x1e3))[a2_0x3562dc(0x3ce)](async(_0x4ed990,_0x300827)=>{const _0x1c65e8=a2_0x3562dc,_0x4e6254=new JourneyPushCommand(),_0x40a736=program[_0x1c65e8(0x3a0)](),_0x5cc1fb=await createTDXInstance(_0x40a736),_0x484af9=await _0x4e6254[_0x1c65e8(0x2c8)]({'options':{..._0x40a736,..._0x300827},'args':_0x4ed990?[_0x4ed990]:[],'tdx':_0x5cc1fb});gracefulExit(_0x484af9);}),journeyCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x20c))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x29f))[a2_0x3562dc(0x3ce)](async(_0x496049,_0x1604ba)=>{const _0x4114e8=a2_0x3562dc,_0x3a30c4=new JourneyValidateCommand(),_0x204525=program[_0x4114e8(0x3a0)](),_0x1253c1=await createTDXInstance(_0x204525),_0x39199c=await _0x3a30c4[_0x4114e8(0x2c8)]({'options':{..._0x204525,..._0x1604ba},'args':_0x496049?[_0x496049]:[],'tdx':_0x1253c1});gracefulExit(_0x39199c);}),program[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x1c1))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x2be))[a2_0x3562dc(0x3ce)](journeyListAction);const agentSyncCmd=program['command'](a2_0x3562dc(0x2d6))['description'](a2_0x3562dc(0x1ad));agentSyncCmd['command'](a2_0x3562dc(0x231))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x2ed))[a2_0x3562dc(0x206)](a2_0x3562dc(0x27c),a2_0x3562dc(0x30e))['option']('-f,\x20--force',a2_0x3562dc(0x162))['action'](async(_0x147e39,_0x3be6cf,_0x134344)=>{const _0x4417e1=a2_0x3562dc,_0x416151=new AgentPullCommand(),_0x48de0c=program[_0x4417e1(0x3a0)](),_0x41ec6b=await createTDXInstance(_0x48de0c),_0x511cff=[];if(_0x147e39)_0x511cff[_0x4417e1(0x2bb)](_0x147e39);if(_0x3be6cf)_0x511cff[_0x4417e1(0x2bb)](_0x3be6cf);const _0x4e004c=await _0x416151[_0x4417e1(0x2c8)]({'options':{..._0x48de0c,..._0x134344},'args':_0x511cff,'tdx':_0x41ec6b});gracefulExit(_0x4e004c);}),agentSyncCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x2af))['description'](a2_0x3562dc(0x2e6))[a2_0x3562dc(0x206)](a2_0x3562dc(0x307),a2_0x3562dc(0x1e4))[a2_0x3562dc(0x3ce)](async(_0x142043,_0x5af790)=>{const _0x4efb54=a2_0x3562dc,_0x3c6236=new AgentPushCommand(),_0x4ed0ef=program['opts'](),_0x2bf0f2=await createTDXInstance(_0x4ed0ef),_0x18cd70=await _0x3c6236[_0x4efb54(0x2c8)]({'options':{..._0x4ed0ef,..._0x5af790},'args':_0x142043?[_0x142043]:[],'tdx':_0x2bf0f2});gracefulExit(_0x18cd70);}),agentSyncCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x2e3))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x3c3))['option'](a2_0x3562dc(0x320),a2_0x3562dc(0x161))['action'](async(_0x3f9f71,_0xcab3fb)=>{const _0x3c8879=a2_0x3562dc,_0x1e0557=new AgentCloneCommand(),_0x1b0398=program[_0x3c8879(0x3a0)](),_0x2abdc3=await createTDXInstance(_0x1b0398),_0x3fe0bc=await _0x1e0557[_0x3c8879(0x2c8)]({'options':{..._0x1b0398,..._0xcab3fb},'args':_0x3f9f71?[_0x3f9f71]:[],'tdx':_0x2abdc3});gracefulExit(_0x3fe0bc);}),agentSyncCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x25d))['description']('Run\x20tests\x20for\x20an\x20LLM\x20agent')['option'](a2_0x3562dc(0x1d6),a2_0x3562dc(0x3cd))[a2_0x3562dc(0x206)](a2_0x3562dc(0x2ad),'Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)')[a2_0x3562dc(0x206)](a2_0x3562dc(0x3ec),a2_0x3562dc(0x35a))[a2_0x3562dc(0x206)](a2_0x3562dc(0x23a),'Generate\x20test\x20conversations\x20without\x20evaluation')[a2_0x3562dc(0x206)](a2_0x3562dc(0x2cd),'Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')['action'](async(_0x3ccda6,_0x2a383b)=>{const _0x2259fc=a2_0x3562dc,_0x5a6a9e=new AgentTestCommand(),_0x3741c4=program[_0x2259fc(0x3a0)](),_0x618d19=await createTDXInstance(_0x3741c4),_0x16bc8b=await _0x5a6a9e[_0x2259fc(0x2c8)]({'options':{..._0x3741c4,..._0x2a383b},'args':_0x3ccda6?[_0x3ccda6]:[],'tdx':_0x618d19});gracefulExit(_0x16bc8b);}),agentSyncCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x3c7))['description'](a2_0x3562dc(0x389))[a2_0x3562dc(0x3ce)](llmAgentListAction),agentSyncCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x1ce))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x357))[a2_0x3562dc(0x3ce)](async(_0x4e1be8,_0x389a70)=>{const _0x1d23bc=a2_0x3562dc,_0x3ae57c=new LLMAgentShowCommand(),_0x2a7e70=program[_0x1d23bc(0x3a0)](),_0x1c3eae=await createTDXInstance(_0x2a7e70),_0x37689a=await _0x3ae57c[_0x1d23bc(0x2c8)]({'options':{..._0x2a7e70,..._0x389a70},'args':[_0x4e1be8],'tdx':_0x1c3eae});gracefulExit(_0x37689a);}),agentSyncCmd['command'](a2_0x3562dc(0x217))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x395))['option'](a2_0x3562dc(0x2fc),'System\x20prompt/instructions\x20(default:\x20empty)')[a2_0x3562dc(0x206)](a2_0x3562dc(0x208),a2_0x3562dc(0x2ab),a2_0x3562dc(0x221))[a2_0x3562dc(0x206)](a2_0x3562dc(0x308),a2_0x3562dc(0x2f2))['option'](a2_0x3562dc(0x1dc),a2_0x3562dc(0x31d),'4')['option'](a2_0x3562dc(0x3c4),a2_0x3562dc(0x207),'0.7')[a2_0x3562dc(0x3ce)](async(_0x5ddb7d,_0x481833)=>{const _0x5a4e39=new LLMAgentCreateCommand(),_0x1a68fd=program['opts'](),_0x527e84=await createTDXInstance(_0x1a68fd),_0x4e501f=await _0x5a4e39['run']({'options':{..._0x1a68fd,..._0x481833},'args':[_0x5ddb7d],'tdx':_0x527e84});gracefulExit(_0x4e501f);}),agentSyncCmd[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x14c))[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x340))[a2_0x3562dc(0x206)](a2_0x3562dc(0x1e9),a2_0x3562dc(0x3c0))[a2_0x3562dc(0x206)](a2_0x3562dc(0x202),a2_0x3562dc(0x29e))[a2_0x3562dc(0x206)](a2_0x3562dc(0x154),'Agent\x20description')[a2_0x3562dc(0x206)](a2_0x3562dc(0x308),a2_0x3562dc(0x2f2))[a2_0x3562dc(0x3ce)](async(_0x178f55,_0x350e03)=>{const _0x3488ca=a2_0x3562dc,_0x34f2be=new LLMAgentUpdateCommand(),_0x1c8402=program[_0x3488ca(0x3a0)](),_0x4dbea=await createTDXInstance(_0x1c8402),_0xd40ae2=await _0x34f2be[_0x3488ca(0x2c8)]({'options':{..._0x1c8402,..._0x350e03},'args':[_0x178f55],'tdx':_0x4dbea});gracefulExit(_0xd40ae2);}),agentSyncCmd[a2_0x3562dc(0x1f8)]('delete\x20<agent-name>')[a2_0x3562dc(0x2e5)](a2_0x3562dc(0x3c6))[a2_0x3562dc(0x3ce)](async(_0x531b3c,_0x4d94e2)=>{const _0x58b8ee=a2_0x3562dc,_0x339e99=new LLMAgentDeleteCommand(),_0x44a16f=program[_0x58b8ee(0x3a0)](),_0x26b175=await createTDXInstance(_0x44a16f),_0x441f65=await _0x339e99['run']({'options':{..._0x44a16f,..._0x4d94e2},'args':[_0x531b3c],'tdx':_0x26b175});gracefulExit(_0x441f65);}),program[a2_0x3562dc(0x1f8)](a2_0x3562dc(0x363),{'hidden':!![]})[a2_0x3562dc(0x3ce)](()=>{const _0x47f6ba=a2_0x3562dc;function _0xabf2(_0x4c3659,_0x4b878e){const _0x4f0711=a2_0x2266,_0x85f4e3=[];for(const _0x44ca47 of _0x4c3659[_0x4f0711(0x276)]){if(_0x44ca47[_0x4f0711(0x2ba)])continue;const _0x424507=_0x4b878e?_0x4b878e+'\x20'+_0x44ca47[_0x4f0711(0x34d)]():_0x44ca47['name'](),_0x33f1c8=_0x424507[_0x4f0711(0x1e1)]('\x20')[0x0],_0x10b466=COMMAND_CATEGORIES[_0x4f0711(0x2b8)](_0x44e228=>_0x44e228['commands']['includes'](_0x33f1c8)),_0x1f598f=_0x10b466?.[_0x4f0711(0x34d)]??'';if(_0x44ca47[_0x4f0711(0x276)]['length']>0x0)_0x85f4e3['push'](..._0xabf2(_0x44ca47,_0x424507));else{const _0x209cda=(_0x44ca47['registeredArguments']||[])[_0x4f0711(0x198)](_0x354d5e=>{const _0x3580e5=_0x4f0711,_0x32504a=_0x354d5e[_0x3580e5(0x280)]?_0x354d5e[_0x3580e5(0x34d)]()+_0x3580e5(0x1cd):_0x354d5e[_0x3580e5(0x34d)]();return _0x354d5e[_0x3580e5(0x1bf)]?'<'+_0x32504a+'>':'['+_0x32504a+']';})['join']('\x20'),_0x87fb16=_0x44ca47[_0x4f0711(0x24e)]['filter'](_0xedffe5=>!_0xedffe5[_0x4f0711(0x20a)]&&_0xedffe5[_0x4f0711(0x18b)]!==_0x4f0711(0x1f3))['map'](_0x5c0f4a=>({'flags':_0x5c0f4a[_0x4f0711(0x26c)],'description':_0x5c0f4a[_0x4f0711(0x2e5)]}));_0x85f4e3[_0x4f0711(0x2bb)]({'name':_0x424507,'description':_0x44ca47[_0x4f0711(0x2e5)](),'group':_0x1f598f,'usage':_0x209cda,'options':_0x87fb16});}}return _0x85f4e3;}console[_0x47f6ba(0x2b2)](JSON[_0x47f6ba(0x218)](_0xabf2(program,''))),process[_0x47f6ba(0x28d)](0x0);});export{program};export function runCLI(){const _0x5772ca=a2_0x3562dc,_0x5a0171=!process['argv'][_0x5772ca(0x3af)](0x2)['length'];showBriefHelp=_0x5a0171,program[_0x5772ca(0x248)](process[_0x5772ca(0x172)]);_0x5a0171&&program[_0x5772ca(0x1d9)]();if(process[_0x5772ca(0x33b)][_0x5772ca(0x3b9)]&&process[_0x5772ca(0x172)][_0x5772ca(0x336)]>0x2&&!isDevVersion()){const _0x655742=loadReleaseChannel();checkForUpdate(currentVersion,_0x655742)['then'](_0x5a5848=>{_0x5a5848&&displayUpdateNotification(_0x5a5848);})['catch'](()=>{});}}
|