@treasuredata/tdx 0.16.3 → 0.16.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +1 -1
- package/dist/build-info.json +3 -3
- package/dist/cli-categories.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/commands/activations.js +1 -1
- package/dist/commands/agent-command.js +1 -1
- package/dist/commands/agent-test-command.js +1 -1
- package/dist/commands/api-command.js +1 -1
- package/dist/commands/auth-command.js +1 -1
- package/dist/commands/chat-command.js +1 -1
- package/dist/commands/claude-command.js +1 -1
- package/dist/commands/claude-statusline-command.js +1 -1
- package/dist/commands/claude-usage-command.js +1 -1
- package/dist/commands/command.js +1 -1
- package/dist/commands/connection-command.js +1 -1
- package/dist/commands/databases.js +1 -1
- package/dist/commands/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.js +1 -1
- package/dist/commands/journey-validate-command.js +1 -1
- package/dist/commands/llm-command.js +1 -1
- package/dist/commands/llm-proxy.js +1 -1
- package/dist/commands/mcp-command.d.ts +3 -0
- package/dist/commands/mcp-command.d.ts.map +1 -1
- package/dist/commands/mcp-command.js +1 -1
- package/dist/commands/mcp-command.js.map +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/segment-command.js +1 -1
- package/dist/commands/segment-create-command.js +1 -1
- package/dist/commands/segment-fields-command.js +1 -1
- package/dist/commands/segment-pull-command.js +1 -1
- package/dist/commands/segment-push-command.js +1 -1
- package/dist/commands/segment-update-command.js +1 -1
- package/dist/commands/segment-use-command.js +1 -1
- package/dist/commands/segment-validate-command.js +1 -1
- package/dist/commands/segments.js +1 -1
- package/dist/commands/show.js +1 -1
- package/dist/commands/tables.js +1 -1
- package/dist/commands/unset-command.js +1 -1
- package/dist/commands/use-command.js +1 -1
- package/dist/commands/user-command.js +1 -1
- package/dist/commands/workflow-command.js +1 -1
- package/dist/core/auth.js +1 -1
- package/dist/core/command-output.js +1 -1
- package/dist/core/config.js +1 -1
- package/dist/core/connection-cache.js +1 -1
- package/dist/core/constants.js +1 -1
- package/dist/core/credential-cache.js +1 -1
- package/dist/core/global-context.js +1 -1
- package/dist/core/keychain.js +1 -1
- package/dist/core/profile.js +1 -1
- package/dist/core/project-config.js +1 -1
- package/dist/core/session.js +1 -1
- package/dist/core/user-cache.js +1 -1
- package/dist/core/version.js +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/tools/index.js +1 -1
- package/dist/mcp/tools/tdx-run.js +1 -1
- package/dist/mcp/tools/tdx-search.js +1 -1
- package/dist/mcp/utils.js +1 -1
- package/dist/proxy/anthropic-adapter.js +1 -1
- package/dist/proxy/claude-usage-tracker.js +1 -1
- package/dist/proxy/context-signature.js +1 -1
- package/dist/proxy/conversation-utils.js +1 -1
- package/dist/proxy/passthrough-server.js +1 -1
- package/dist/proxy/server.js +1 -1
- package/dist/proxy/session-cache.js +1 -1
- package/dist/proxy/sse-usage-parser.js +1 -1
- package/dist/sdk/agent/agent-config.js +1 -1
- package/dist/sdk/agent/agent-ref-parser.js +1 -1
- package/dist/sdk/agent/agent-yaml.js +1 -1
- package/dist/sdk/agent/test/evaluator.js +1 -1
- package/dist/sdk/agent/test/executor.js +1 -1
- package/dist/sdk/agent/test/index.js +1 -1
- package/dist/sdk/agent/test/output.js +1 -1
- package/dist/sdk/agent/test/parser.js +1 -1
- package/dist/sdk/api.js +1 -1
- package/dist/sdk/claude-agent/claude-agent-client.js +1 -1
- package/dist/sdk/claude-agent/environment.js +1 -1
- package/dist/sdk/claude-agent/index.js +1 -1
- package/dist/sdk/claude-agent/system-prompts.js +1 -1
- package/dist/sdk/client/cdp-api-client.js +1 -1
- package/dist/sdk/client/endpoints.js +1 -1
- package/dist/sdk/client/engage-api-client.js +1 -1
- package/dist/sdk/client/http-client.js +1 -1
- package/dist/sdk/client/llm-api-client.js +1 -1
- package/dist/sdk/client/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.js +1 -1
- package/dist/sdk/llm/chat-cache.js +1 -1
- package/dist/sdk/llm/index.js +1 -1
- package/dist/sdk/llm/llm-backup-utils.js +1 -1
- package/dist/sdk/llm/model-aliases.js +1 -1
- package/dist/sdk/llm/model-factors.js +1 -1
- package/dist/sdk/query/index.js +1 -1
- package/dist/sdk/query/sql-parser.js +1 -1
- package/dist/sdk/segment/child-segment-yaml.js +1 -1
- package/dist/sdk/segment/fields-display.js +1 -1
- package/dist/sdk/segment/file-discovery.js +1 -1
- package/dist/sdk/segment/journey-utils.js +1 -1
- package/dist/sdk/segment/journey-yaml.js +1 -1
- package/dist/sdk/segment/parent-segment-preview.js +1 -1
- package/dist/sdk/segment/parent-segment-yaml.js +1 -1
- package/dist/sdk/segment/pull-workflow.js +1 -1
- package/dist/sdk/segment/push-workflow.js +1 -1
- package/dist/sdk/segment/resolution-context.js +1 -1
- package/dist/sdk/segment/segment-path-parser.js +1 -1
- package/dist/sdk/segment/segment-ref-parser.js +1 -1
- package/dist/sdk/segment/target-resolution.js +1 -1
- package/dist/sdk/segment/tdx-config.js +1 -1
- package/dist/sdk/segment/validate-files.js +1 -1
- package/dist/sdk/segment/yaml-validator.js +1 -1
- package/dist/sdk/segment.js +1 -1
- package/dist/sdk/types/index.js +1 -1
- package/dist/sdk/types/progress.js +1 -1
- package/dist/sdk/user.js +1 -1
- package/dist/sdk/util/format-detector.js +1 -1
- package/dist/sdk/util/formatters.js +1 -1
- package/dist/sdk/util/index.js +1 -1
- package/dist/sdk/util/tree-formatter.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/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/json-loader.js +1 -1
- package/dist/utils/option-validation.js +1 -1
- package/dist/utils/port.js +1 -1
- package/dist/utils/process.js +1 -1
- package/dist/utils/prompt.js +1 -1
- package/dist/utils/spinner.js +1 -1
- package/dist/utils/sse-parser.js +1 -1
- package/dist/utils/string-utils.js +1 -1
- package/dist/utils/table-ref-parser.js +1 -1
- package/dist/utils/tdx-logger.js +1 -1
- package/dist/utils/version-check.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a2_0x2babb7=a2_0x11a7;(function(_0x483655,_0x1f24cc){const _0x4e1d78=a2_0x11a7,_0x11d055=_0x483655();while(!![]){try{const _0x38e9f0=-parseInt(_0x4e1d78(0x252))/0x1+-parseInt(_0x4e1d78(0x23c))/0x2+parseInt(_0x4e1d78(0x321))/0x3+parseInt(_0x4e1d78(0x24f))/0x4*(parseInt(_0x4e1d78(0x2fe))/0x5)+-parseInt(_0x4e1d78(0x2e7))/0x6+parseInt(_0x4e1d78(0x307))/0x7+parseInt(_0x4e1d78(0x2ff))/0x8*(parseInt(_0x4e1d78(0x24a))/0x9);if(_0x38e9f0===_0x1f24cc)break;else _0x11d055['push'](_0x11d055['shift']());}catch(_0x501a9d){_0x11d055['push'](_0x11d055['shift']());}}}(a2_0x5dfa,0x58ce1));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/tdx-logger.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';function a2_0x11a7(_0x30c7ce,_0x1e1778){_0x30c7ce=_0x30c7ce-0x13c;const _0x5dfa1a=a2_0x5dfa();let _0x11a708=_0x5dfa1a[_0x30c7ce];return _0x11a708;}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}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{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{LLMProxyCommand}from'./commands/llm-proxy.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{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_0x5dfa(){const _0x2b02cd=['-v,\x20--verbose','Database\x20to\x20use\x20(overrides\x20context)','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Behaviors\x20from\x20JSON\x20file','Show\x20parent\x20segment\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20available\x20LLM\x20models','Open\x20segment\x20in\x20web\x20browser','repeat','argument','Remove\x20a\x20profile','auth','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Folder\x20name\x20for\x20organization','--email-sender-id\x20<id>','--full','--enriched','--add-behaviors-file\x20<file>','List\x20all\x20users\x20in\x20the\x20account','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','requiredOption','--starter-message\x20<text>','stderr','pull\x20[project]\x20[agent-name]','description','Resume\x20a\x20paused\x20journey','action','update\x20<agent-name>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','duplicate\x20<name-or-id>','End\x20time\x20filter\x20(ISO\x208601\x20format)','Override\x20project\x20name','Output\x20as\x20JSON','--add-attributes-file\x20<file>','use\x20<name>','Table\x20management\x20commands','show\x20[segment_name]','history\x20[chat-id]','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','template','segments\x20[path]','--job-type\x20<type>','Pull\x20workflow\x20project\x20to\x20local\x20folder','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','port','--name\x20<new-name>','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','-w,\x20--web','--rule-file\x20<file>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','user','Workspace\x20description','Run\x20specific\x20tests\x20(comma-separated)','engage','--description\x20<text>','chats','\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','claude\x20[args...]','Output\x20file\x20path\x20(default:\x20<name>.yml)','launch\x20<name-or-id>','update\x20<segment_name>','Update\x20a\x20campaign','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Skip\x20validation\x20of\x20.dig\x20files','Email\x20sender\x20ID\x20for\x20delivery','Set\x20or\x20show\x20parent\x20segment\x20context','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','Show\x20master\x20table\x20sample\x20data','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','--model\x20<name>','sql\x20[segment_name]','Resume\x20a\x20paused\x20campaign','padEnd','Interactive\x20chat\x20selector','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','upload\x20[project-name-or-dir]','[options]\x20--\x20[claude-code-args...]','969640uWRxHE','Name\x20for\x20the\x20new\x20project\x20(required)','Updated\x20schedule\x20option','Save\x20output\x20to\x20file','preAction','Resume\x20from\x20specific\x20task\x20(retry)','Workspace\x20management','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','-d,\x20--database\x20<database>','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','[DEPRECATED]\x20Segment\x20folder\x20management','attempt','--type\x20<api_type>','Alias\x20for\x20--database\x20(natural\x20language\x20style)','3167451Ofacxw','isTTY','-r,\x20--resume','view\x20<name-or-path>','Data\x20connection\x20management\x20(for\x20activations/exports)','4hBlRyg','4000','-o,\x20--output\x20<dir>','376709BbBqDW','opts','List\x20all\x20data\x20connections','create','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','push\x20[source-dir]','Output\x20file\x20path','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Read\x20query\x20from\x20file','--to\x20<timestamp>','--schedule-option\x20<value>','set\x20<key=value>','Enable\x20verbose\x20logging','show\x20<folder_ref>','job','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Add\x20behaviors\x20as\x20JSON\x20string','--version','after','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','pull\x20[parent_or_file]','--yes','workspaces\x20[pattern]','Output\x20folder\x20(default:\x20{project_name}.llm)','--add-behaviors\x20<json>','List\x20agents\x20in\x20current\x20project','push\x20[path]','Model\x20to\x20use\x20(haiku,\x20sonnet,\x20opus)','--master','download\x20<project-name>\x20[output-dir]','[task-name]','isArray','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','create\x20<parent_name>\x20<folder_name>','sessions\x20[project]','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','parse','Remove\x20API\x20key\x20from\x20system\x20keychain','List\x20journeys\x20(alias\x20for\x20journey\x20list)','replace','command','help','--include-retried','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','update\x20<name-or-id>','LLM\x20agent\x20management','remove\x20<name>','--new','mcp','argumentTerm','--editor-type\x20<type>','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Trino\x20catalog\x20(default:\x20td)','--from\x20<timestamp>','--timezone\x20<tz>','Show\x20journey\x20statistics','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Show\x20segment\x20schema\x20(column\x20types)','--last','information_schema','\x0aGlobal\x20Options:\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20clear\x20(clears\x20default\x20profile\x20if\x20not\x20specified)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Clear\x20API\x20key\x20for\x20default\x20profile\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20--profile\x20prod\x20\x20#\x20Clear\x20API\x20key\x20for\x20\x27prod\x27\x20profile\x0a','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','--system-prompt\x20<text>','Push\x20without\x20confirmation','activations\x20<segment_name>','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','--data\x20<data>','--customer-group-file\x20<file>','--default','Execute\x20tests\x20without\x20evaluation\x20(Phase\x202\x20only)','argv','Overwrite\x20local\x20changes\x20without\x20confirmation','Create\x20a\x20workspace','--no-proxy','logs','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Agent\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)','--format\x20<format>','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','Email\x20subject\x20template','backup\x20<name>','Parent\x20segment\x20description','--project\x20<name>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','length','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file',',\x20version\x20','Port\x20to\x20run\x20the\x20proxy\x20server\x20on','Temperature\x20(0.0-2.0,\x20default:\x200.7)','preview\x20[name]','table','HTML\x20template\x20content','options','--no-eval','map','debug','--database\x20<db>','tables\x20[pattern]','noColor','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','Include\x20subtasks\x20in\x20tasks\x20output','Maximum\x20tool\x20iterations\x20(default:\x204)','agent','Pull\x20child\x20segments\x20to\x20YAML\x20files','workflow','--interval\x20<range>','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Open\x20parent\x20segment\x20in\x20web\x20browser','slice','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Unknown\x20action:\x20','templates\x20[pattern]','--site\x20<site>','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','Preview\x20operation\x20without\x20executing','New\x20template\x20name','pull\x20<project>\x20[target-dir]','-o,\x20--output\x20<file>','subcommandDescription','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','-n,\x20--name\x20<name>','Run\x20Trino\x20query\x20with\x20streaming\x20results','Request\x20body\x20as\x20JSON\x20string','outputHelp','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','--prompt\x20<text>','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','List\x20all\x20available\x20profiles','Task\x20name\x20for\x20logs\x20action','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','--debug','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','directory','Workspace\x20name\x20(required)','argumentDescription','--status\x20<status>','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','--skip-validation','--type\x20<type>','Create\x20segment\x20folder','--name\x20<name>','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','error','create\x20<segment_name>','2542302qRfztK','--clear','--customer-group\x20<json>','jsonl','show\x20<agent-name>','option','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','preview\x20[file]','Change\x20to\x20directory\x20before\x20executing\x20command','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','view\x20[segment_name]','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','TRACE','INVALID_ARGUMENT','delete\x20<agent-name>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','--rule\x20<json>','-p,\x20--profile\x20<name>','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--jsonl','restore\x20<folder>','join','3023015BMPPtc','8dDYPjQ','--json','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','\x20-\x20built\x20','--limit\x20<rows>','list\x20[pattern]','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','project','1319633ANZDbO','retry\x20<session-id>','Pause\x20a\x20campaign','Delete\x20a\x20campaign','--kind\x20<type>','resume\x20<name-or-path>','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Update\x20an\x20existing\x20agent','Include\x20retried\x20attempts','Submit\x20a\x20job','-f,\x20--file\x20<path>','unset\x20<resource>','--table','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','timeline\x20[project.workflow]','Resume\x20a\x20conversation\x20(shows\x20selector)','validate\x20[file]','--params\x20<json>','Skip\x20confirmation\x20prompts','\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','List\x20jobs','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','summary','-1d','Delete\x20an\x20agent','1511790wtvmHP','commandDescription','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','hook','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Set\x20operation\x20timeout\x20in\x20seconds','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','--behavior\x20[name]','Preview\x20without\x20creating\x20the\x20project','--trace','Follow/watch\x20timeline\x20for\x20running\x20attempts','folder','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','--agent\x20<name>','Database\x20name\x20(default:\x20information_schema)','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','--json-columns\x20<cols>','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','required','campaigns\x20[pattern]','Skip\x20confirmation\x20prompt','list\x20[path]','colorFn','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Create\x20a\x20new\x20LLM\x20project','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','test\x20[path]','\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','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','then','setup','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','json','--resume-from\x20<task>','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','describe\x20[table]','Pause\x20a\x20running\x20journey','get','createAsync','-r,\x20--recursive','--attempt-id\x20<id>','log','Revision\x20name\x20(default:\x20timestamp)','desc\x20[segment_name]','subcommandTerm','commands','Include\x20execution\x20statistics','Directory\x20does\x20not\x20exist:\x20','sonnet','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','tdx\x20','--segment\x20<path>','Campaign\x20type\x20(email\x20or\x20push)','--include-subtasks','name','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','us01','Delete\x20an\x20LLM\x20project','Starter\x20message','allowUnknownOption','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','exit','0.7','--schedule-type\x20<type>','Output\x20as\x20JSON\x20Lines','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','--temperature\x20<n>','--output\x20<file>','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','--no-count-population','Path\x20is\x20not\x20a\x20directory:\x20','site','commandUsage','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Preview\x20changes\x20without\x20pushing','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Show\x20the\x20most\x20recent\x20chat','alias','CDP\x20segment\x20management\x20commands','Validate\x20journey\x20YAML\x20files\x20locally','result\x20<job-id>','validate\x20[target]','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','--max-tool-iterations\x20<n>','--session-id\x20<id>','--attributes\x20<json>','workspace','Workspace\x20name','--html\x20<html>','Workflow\x20(Digdag)\x20management\x20commands','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Segment\x20description','Clear\x20workflow\x20project\x20context','--attribute\x20[name]','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','--color','campaign','usage','Create\x20a\x20new\x20campaign','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Filtering\x20rule\x20from\x20JSON\x20file','addHelpText','push\x20[parent_or_file]','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','--behaviors-file\x20<file>','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','show\x20<job-id>','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','desc\x20[name]','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','-o,\x20--output\x20<folder>','logLevel','update\x20<name>','GET','Commands:','Show\x20journey\x20details','statusline','Show\x20connection\x20details\x20by\x20name','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','use\x20[name]','Show\x20job\x20details','schema\x20<type>','--database\x20<name>','use\x20[resource]\x20[value]','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','pause\x20<name-or-path>','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','set','Options:','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','Read\x20SQL\x20query\x20from\x20file','users','Delete\x20a\x20workspace','Custom\x20revision\x20name\x20(default:\x20timestamp)','-f,\x20--force','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Add\x20behaviors\x20from\x20JSON\x20file','Run\x20tests\x20for\x20an\x20LLM\x20agent','use\x20<path>','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','create\x20<name>','gitRevision','secrets','resume\x20<name-or-id>','attempt:','Model\x20type\x20(default:\x20claude-4.5-sonnet)','optionTerm','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','catch','tasks','Customer\x20group\x20from\x20JSON\x20file','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','parent-segment','--no-color','Action:\x20logs,\x20tasks,\x20kill,\x20retry','Maximum\x20recursion\x20depth\x20(default:\x2010)','create\x20[name]','parents\x20[pattern]','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','--dry-run','clone\x20[source]','User\x20management\x20commands','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Get\x20job\x20results','DEBUG','show\x20<name-or-id>','buildTime','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','run','delete\x20<name-or-id>','--name\x20<text>','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Export\x20journey(s)\x20as\x20YAML\x20files','session','Include\x20retried\x20attempts\x20(for\x20list)','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','query\x20[sql]','proxy','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Usage:\x20','-H,\x20--header\x20<header>','--plaintext\x20<text>','Kill\x20a\x20job','list\x20[project]','--add-attributes\x20<json>','profile','databases\x20[pattern]','projects\x20[pattern]','Add\x20attributes\x20as\x20JSON\x20string','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','--invisible','Create\x20a\x20new\x20profile','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','--force','-y,\x20--yes','segment','Make\x20segment\x20invisible\x20(default:\x20visible)','--session-time\x20<time>','Editor\x20type','--in\x20<database>','run\x20[workflow]','Duplicate\x20a\x20campaign','run\x20[name]','Filtering\x20rule\x20as\x20JSON\x20string','--parent-folder\x20<name>','--name\x20<new_name>','Reason\x20for\x20killing\x20the\x20attempt','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','registeredArguments','includes','Read\x20request\x20body\x20from\x20file','Workflow\x20attempt\x20management','connections','\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','Pull\x20specific\x20revision\x20(default:\x20latest)','--revision\x20<revision>','--workspace\x20<name>','show\x20[table]','Updated\x20timezone','--description\x20<desc>','push','--reason\x20<text>','injectIntoOptions','Authentication\x20management','Show\x20stats\x20for\x20specific\x20stage','Start\x20a\x20new\x20chat\x20session','profiles','Master\x20table\x20name','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','--folder\x20<name>','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Show\x20only\x20master\x20table\x20validation','list','tdx','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Force\x20retry\x20even\x20if\x20not\x20failed','Limit\x20number\x20of\x20rows','--limit\x20<number>','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','format','--subject\x20<subject>','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','stdout','Show\x20timeline\x20for\x20specific\x20attempt','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','describe','clear','Updated\x20description','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','show\x20[name]','Behaviors\x20as\x20JSON\x20string','--delete','pull\x20[name]','--attributes-file\x20<file>','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','Project\x20description','push\x20[file]','hidden','forEach','apiKey','Customer\x20group\x20as\x20JSON\x20string','database','tsv','connection','fields\x20[name]','Describe\x20table\x20schema','jobs','agents\x20[pattern]','view\x20[name]','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','LLM\x20project\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)','--table\x20<table>','Agent\x20prompt/instructions'];a2_0x5dfa=function(){return _0x2b02cd;};return a2_0x5dfa();}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';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x2babb7(0x29c)][a2_0x2babb7(0x1af)](a2_0x2babb7(0x264))){let versionOutput=a2_0x2babb7(0x355)+currentVersion;buildInfo[a2_0x2babb7(0x16b)]&&!currentVersion[a2_0x2babb7(0x1af)](buildInfo[a2_0x2babb7(0x16b)])&&(versionOutput+='\x20('+buildInfo[a2_0x2babb7(0x16b)]+')'),buildInfo['buildTime']&&(versionOutput+=a2_0x2babb7(0x302)+buildInfo[a2_0x2babb7(0x184)]),console[a2_0x2babb7(0x34b)](versionOutput),process[a2_0x2babb7(0x360)](0x0);}const program=new Command();let showBriefHelp=![],description='AI-native\x20CLI\x20for\x20Treasure\x20Data';buildInfo[a2_0x2babb7(0x16b)]&&!currentVersion[a2_0x2babb7(0x1af)](buildInfo[a2_0x2babb7(0x16b)])?description+=a2_0x2babb7(0x2ad)+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=a2_0x2babb7(0x2ad)+currentVersion;program['name'](a2_0x2babb7(0x1c7))[a2_0x2babb7(0x207)](description),program[a2_0x2babb7(0x2ec)]('-C,\x20--directory\x20<path>',a2_0x2babb7(0x2ef))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2f8),a2_0x2babb7(0x140))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2c7),'TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)',a2_0x2babb7(0x35b))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2a4),'Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x314),'Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x300),a2_0x2babb7(0x15e))['option'](a2_0x2babb7(0x2fb),'Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')[a2_0x2babb7(0x2ec)]('--tsv',a2_0x2babb7(0x1fb))['option'](a2_0x2babb7(0x366),a2_0x2babb7(0x23f))['option'](a2_0x2babb7(0x1cb),a2_0x2babb7(0x2df))['option'](a2_0x2babb7(0x383),'Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x177),a2_0x2babb7(0x354),![])['option'](a2_0x2babb7(0x1f0),a2_0x2babb7(0x25f),![])[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2d9),a2_0x2babb7(0x333))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x32a),a2_0x2babb7(0x1d3))[a2_0x2babb7(0x2ec)]('--timeout\x20<seconds>',a2_0x2babb7(0x326),'30')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x17d),a2_0x2babb7(0x2c9),![])[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a0),a2_0x2babb7(0x31a),![])['option']('--session\x20<id>','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20parent\x20PID,\x20allows\x20sharing\x20sessions\x20across\x20processes)')[a2_0x2babb7(0x2ec)]('-d,\x20--database\x20<name>',a2_0x2babb7(0x1f1))[a2_0x2babb7(0x2ec)]('--in\x20<name>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x2babb7(0x2ec)]('--parent-segment\x20<name>','Parent\x20segment\x20to\x20use\x20(overrides\x20context)')['option']('--llm-project\x20<name>','LLM\x20project\x20to\x20use\x20(overrides\x20context)'),program['configureHelp']({'formatHelp':(_0xc3fc2b,_0x5a20d0)=>{const _0x22ce4e=a2_0x2babb7,_0x5682bc=_0x5a20d0['padWidth'](_0xc3fc2b,_0x5a20d0),_0x25caac=0x2,_0x53d9e4=0x2;function _0x36f2a9(_0x1010cf){const _0x507eda=a2_0x11a7,_0x20be22=_0x1010cf;return!!(_0x20be22['_hidden']||_0x20be22[_0x507eda(0x1e0)]);}function _0x225a1c(_0x98837c,_0x5b22c0){const _0x4d1d50=a2_0x11a7;if(_0x5b22c0){const _0x4e8c1c=''+_0x98837c[_0x4d1d50(0x237)](_0x5682bc+_0x53d9e4)+_0x5b22c0;return _0x4e8c1c;}return _0x98837c;}function _0x38ed07(_0x3af981){const _0x380641=a2_0x11a7;return _0x3af981[_0x380641(0x2fd)]('\x0a')[_0x380641(0x27a)](/^/gm,'\x20'[_0x380641(0x1f7)](_0x25caac));}const _0x1299c0=[];_0x1299c0['push'](_0x22ce4e(0x191)+_0x5a20d0[_0x22ce4e(0x36b)](_0xc3fc2b));const _0x2bea73=_0x5a20d0[_0x22ce4e(0x322)](_0xc3fc2b);_0x2bea73&&(_0x1299c0['push'](''),_0x1299c0[_0x22ce4e(0x1ba)](_0x2bea73));const _0x2a56f8=_0xc3fc2b[_0x22ce4e(0x34f)]['filter'](_0x138839=>!_0x36f2a9(_0x138839));if(_0x2a56f8[_0x22ce4e(0x2ab)]>0x0){if(_0xc3fc2b[_0x22ce4e(0x359)]()==='tdx'){const _0x2c4584=_0xc3fc2b[_0x22ce4e(0x253)](),_0x16ebd9=!_0x2c4584[_0x22ce4e(0x2b9)]&&process[_0x22ce4e(0x1d0)][_0x22ce4e(0x24b)],_0x342894=COMMAND_CATEGORIES,_0x4c1db7=(_0x4cc63d,_0x1fb7b0)=>_0x16ebd9?_0x1fb7b0(_0x4cc63d):_0x4cc63d,_0xb4c5dd=new Map();_0x2a56f8[_0x22ce4e(0x1e1)](_0x2f2270=>{const _0x2f3f6d=_0x22ce4e;_0xb4c5dd[_0x2f3f6d(0x15c)](_0x2f2270[_0x2f3f6d(0x359)](),_0x2f2270);}),_0x342894['forEach'](_0x1bbc45=>{const _0x2fdc54=_0x22ce4e,_0x50220f=_0x1bbc45[_0x2fdc54(0x34f)]['flatMap'](_0xce6972=>_0xb4c5dd[_0x2fdc54(0x347)](_0xce6972)??[]);if(_0x50220f[_0x2fdc54(0x2ab)]>0x0){_0x1299c0[_0x2fdc54(0x1ba)](''),_0x1299c0[_0x2fdc54(0x1ba)](_0x4c1db7(_0x1bbc45[_0x2fdc54(0x359)]+':',_0x1bbc45[_0x2fdc54(0x338)]));const _0x27e3a3=_0x50220f['map'](_0x352f86=>{const _0x9be98=_0x2fdc54,_0x1f2f48=_0x5a20d0['subcommandTerm'](_0x352f86),_0x12edbd=_0x5a20d0[_0x9be98(0x2cd)](_0x352f86);return _0x225a1c(_0x1f2f48,_0x12edbd);});_0x1299c0['push'](_0x38ed07(_0x27e3a3));}}),_0x1299c0[_0x22ce4e(0x1ba)](''),_0x1299c0[_0x22ce4e(0x1ba)](_0x22ce4e(0x146));}else{const _0x3d7242=_0x2a56f8[_0x22ce4e(0x2b5)](_0x40ede2=>{const _0x57bd88=_0x22ce4e,_0x16e8ea=_0x5a20d0[_0x57bd88(0x34e)](_0x40ede2),_0x3d7981=_0x5a20d0['subcommandDescription'](_0x40ede2);return _0x225a1c(_0x16e8ea,_0x3d7981);});_0x1299c0[_0x22ce4e(0x1ba)](''),_0x1299c0['push'](_0x22ce4e(0x14f)),_0x1299c0[_0x22ce4e(0x1ba)](_0x38ed07(_0x3d7242));}}if(showBriefHelp&&_0xc3fc2b[_0x22ce4e(0x359)]()==='tdx')_0x1299c0[_0x22ce4e(0x1ba)](''),_0x1299c0[_0x22ce4e(0x1ba)](_0x22ce4e(0x292));else{const _0x1ab0f6=_0xc3fc2b[_0x22ce4e(0x2b3)]['filter'](_0x5f950e=>!_0x36f2a9(_0x5f950e));if(_0x1ab0f6[_0x22ce4e(0x2ab)]>0x0){const _0x470ee7=_0x1ab0f6[_0x22ce4e(0x2b5)](_0x4ab9ad=>{const _0x176cd3=_0x22ce4e,_0x53c4e4=_0x5a20d0[_0x176cd3(0x170)](_0x4ab9ad),_0x2e4724=_0x5a20d0['optionDescription'](_0x4ab9ad);return _0x225a1c(_0x53c4e4,_0x2e4724);});_0x1299c0[_0x22ce4e(0x1ba)](''),_0x1299c0[_0x22ce4e(0x1ba)](_0x22ce4e(0x15d)),_0x1299c0['push'](_0x38ed07(_0x470ee7));}}const _0x55cc97=(_0xc3fc2b[_0x22ce4e(0x1ae)]||[])['filter'](_0x27ff5e=>!_0x36f2a9(_0x27ff5e));if(_0x55cc97['length']>0x0){const _0x5db2be=_0x55cc97[_0x22ce4e(0x2b5)](_0xc0a783=>{const _0x2ada10=_0x22ce4e,_0x523bb6=_0x5a20d0[_0x2ada10(0x284)](_0xc0a783),_0x465c2d=_0x5a20d0[_0x2ada10(0x2dd)](_0xc0a783);return _0x225a1c(_0x523bb6,_0x465c2d);});_0x1299c0['push'](''),_0x1299c0[_0x22ce4e(0x1ba)]('Arguments:'),_0x1299c0[_0x22ce4e(0x1ba)](_0x38ed07(_0x5db2be));}return _0x1299c0['join']('\x0a')+'\x0a';},'subcommandTerm':_0x32f843=>{const _0x5223ab=a2_0x2babb7,_0x2cb819=(_0x32f843[_0x5223ab(0x1ae)]||[])[_0x5223ab(0x2b5)](_0x289582=>_0x289582[_0x5223ab(0x334)]?'<'+_0x289582[_0x5223ab(0x359)]()+'>':'['+_0x289582[_0x5223ab(0x359)]()+']')[_0x5223ab(0x2fd)]('\x20'),_0x4e00be=_0x32f843['aliases'](),_0x20607d=_0x4e00be[_0x5223ab(0x2ab)]>0x0?_0x32f843[_0x5223ab(0x359)]()+',\x20'+_0x4e00be[_0x5223ab(0x2fd)](',\x20'):_0x32f843[_0x5223ab(0x359)]();return _0x2cb819?_0x20607d+'\x20'+_0x2cb819:_0x20607d;}}),program[a2_0x2babb7(0x324)](a2_0x2babb7(0x240),_0x21d1f6=>{const _0x5be5f5=a2_0x2babb7,_0x1cce29=_0x21d1f6[_0x5be5f5(0x253)]();if(_0x1cce29[_0x5be5f5(0x2db)]){const _0x3f9a4c=resolve(_0x1cce29[_0x5be5f5(0x2db)]),_0x47a603=_0x3f9a4c!==_0x1cce29[_0x5be5f5(0x2db)]?'\x20(resolved\x20to\x20'+_0x3f9a4c+')':'';if(!existsSync(_0x3f9a4c))throw new SDKError(ErrorCode[_0x5be5f5(0x2f4)],_0x5be5f5(0x351)+_0x1cce29[_0x5be5f5(0x2db)]+_0x47a603,undefined,{'helpText':_0x5be5f5(0x305)});const _0x329c86=statSync(_0x3f9a4c);if(!_0x329c86['isDirectory']())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x5be5f5(0x369)+_0x1cce29[_0x5be5f5(0x2db)]+_0x47a603,undefined,{'helpText':'The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.'});process['chdir'](_0x3f9a4c);}if(!_0x1cce29[_0x5be5f5(0x1cd)]){if(_0x1cce29[_0x5be5f5(0x2b1)])_0x1cce29[_0x5be5f5(0x1cd)]=_0x5be5f5(0x2b1);else{if(_0x1cce29['json'])_0x1cce29['format']=_0x5be5f5(0x342);else{if(_0x1cce29[_0x5be5f5(0x2ea)])_0x1cce29['format']='jsonl';else _0x1cce29[_0x5be5f5(0x1e5)]&&(_0x1cce29[_0x5be5f5(0x1cd)]='tsv');}}}_0x1cce29['in']&&!_0x1cce29[_0x5be5f5(0x1e4)]&&(_0x1cce29[_0x5be5f5(0x1e4)]=_0x1cce29['in']);if(_0x1cce29['trace'])_0x1cce29[_0x5be5f5(0x14c)]=LogLevel[_0x5be5f5(0x2f3)];else{if(_0x1cce29[_0x5be5f5(0x2b6)])_0x1cce29['logLevel']=LogLevel[_0x5be5f5(0x182)];else _0x1cce29[_0x5be5f5(0x14c)]===undefined&&(_0x1cce29[_0x5be5f5(0x14c)]=LogLevel['INFO']);}});async function createTDXInstance(_0x4cf219){const _0x471ea6=a2_0x2babb7,_0x8707a0=await GlobalContext[_0x471ea6(0x348)](_0x4cf219);return _0x8707a0[_0x471ea6(0x1bc)](_0x4cf219),TDX['create']({'site':_0x8707a0[_0x471ea6(0x36a)],'apiKey':_0x8707a0[_0x471ea6(0x1e2)],'logLevel':_0x8707a0[_0x471ea6(0x14c)],'profile':_0x8707a0[_0x471ea6(0x197)]});}const databaseCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1e4))['alias']('db')['description']('Database\x20management\x20commands'),databaseListAction=async(_0x3e2414,_0x137d70)=>{const _0x1f4fc7=a2_0x2babb7,_0x378231=new DatabasesCommand(),_0x50164c=program[_0x1f4fc7(0x253)](),_0xb1b90=await createTDXInstance(_0x50164c),_0x4f0252=await _0x378231[_0x1f4fc7(0x186)]({'options':{..._0x50164c,..._0x137d70},'args':_0x3e2414?[_0x3e2414]:[],'tdx':_0xb1b90});process['exit'](_0x4f0252);};databaseCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x304))[a2_0x2babb7(0x207)]('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')['action'](databaseListAction),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x198),{'hidden':!![]})[a2_0x2babb7(0x207)](a2_0x2babb7(0x21d))[a2_0x2babb7(0x209)](databaseListAction),program['command']('chat\x20[message...]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x19e))[a2_0x2babb7(0x2ec)]('--agent\x20<ref>','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x282),a2_0x2babb7(0x1bf))[a2_0x2babb7(0x209)](async(_0x2ad862,_0x4ee3ea)=>{const _0x88b769=a2_0x2babb7,_0x2a3b5d=new ChatCommand(),_0x2c2693=program[_0x88b769(0x253)](),_0x2c97f6=await createTDXInstance(_0x2c2693),_0x1543c2=await _0x2a3b5d[_0x88b769(0x186)]({'options':{..._0x2c2693,..._0x4ee3ea},'args':_0x2ad862,'tdx':_0x2c97f6});process[_0x88b769(0x360)](_0x1543c2);});const apiCmd=program[a2_0x2babb7(0x27b)]('api\x20[endpoint]')[a2_0x2babb7(0x31e)](a2_0x2babb7(0x2ba))[a2_0x2babb7(0x13e)]('after','\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a')[a2_0x2babb7(0x2ec)]('-X,\x20--method\x20<method>',a2_0x2babb7(0x31d),a2_0x2babb7(0x14e))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x298),a2_0x2babb7(0x2d1))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x312),a2_0x2babb7(0x1b0))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x192),'Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x368ab1,_0x36899f)=>{return _0x36899f?[..._0x36899f,_0x368ab1]:[_0x368ab1];})['option'](a2_0x2babb7(0x248),a2_0x2babb7(0x341),'td')[a2_0x2babb7(0x209)](async(_0x3f9df8,_0x4f3741)=>{const _0x20a4b2=a2_0x2babb7;if(!_0x3f9df8){apiCmd[_0x20a4b2(0x27c)]();return;}const _0x3c9904=new ApiCommand(),_0x1f0e73=program[_0x20a4b2(0x253)](),_0xf049de=await createTDXInstance(_0x1f0e73),_0x2c8762=await _0x3c9904[_0x20a4b2(0x186)]({'options':{..._0x1f0e73,..._0x4f3741},'args':[_0x3f9df8],'tdx':_0xf049de});process[_0x20a4b2(0x360)](_0x2c8762);});program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x283))['description'](a2_0x2babb7(0x1c2))['addHelpText']('after',a2_0x2babb7(0x227))[a2_0x2babb7(0x209)](async _0x5cf045=>{const _0x2204dd=a2_0x2babb7,_0x112cda=new MCPCommand(),_0x24d36c=program[_0x2204dd(0x253)](),_0x4eae57=await createTDXInstance(_0x24d36c),_0x2ecb60=await _0x112cda[_0x2204dd(0x186)]({'options':{..._0x24d36c,..._0x5cf045},'args':[],'tdx':_0x4eae57});process[_0x2204dd(0x360)](_0x2ecb60);});const tableCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2b1))['description'](a2_0x2babb7(0x212)),tableListAction=async(_0x4c2f6c,_0x80aea2)=>{const _0x8350d5=a2_0x2babb7,_0x2be4c6=new TablesCommand(),_0x1e22c5=program['opts'](),_0x5efd89=await createTDXInstance(_0x1e22c5);_0x80aea2['in']&&(_0x80aea2[_0x8350d5(0x1e4)]=_0x80aea2['in']);const _0x4ed216=await _0x2be4c6['run']({'options':{..._0x1e22c5,..._0x80aea2},'args':_0x4c2f6c?[_0x4c2f6c]:[],'tdx':_0x5efd89});process[_0x8350d5(0x360)](_0x4ed216);};tableCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x304))[a2_0x2babb7(0x207)](a2_0x2babb7(0x19b))['option'](a2_0x2babb7(0x244),a2_0x2babb7(0x276))[a2_0x2babb7(0x2ec)]('--in\x20<database>',a2_0x2babb7(0x249))[a2_0x2babb7(0x209)](tableListAction),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2b8),{'hidden':!![]})[a2_0x2babb7(0x207)](a2_0x2babb7(0x202))['option'](a2_0x2babb7(0x244),a2_0x2babb7(0x276))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a5),a2_0x2babb7(0x249))[a2_0x2babb7(0x209)](tableListAction),program['command'](a2_0x2babb7(0x1b7))['description'](a2_0x2babb7(0x256))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x244),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x2babb7(0x2ec)]('--in\x20<database>',a2_0x2babb7(0x249))[a2_0x2babb7(0x209)](async(_0x53e9fe,_0x5709da)=>{const _0x1a0173=a2_0x2babb7,_0x4e1825=new ShowCommand(),_0x13a669=program[_0x1a0173(0x253)](),_0x4253c9=await createTDXInstance(_0x13a669);_0x5709da['in']&&(_0x5709da[_0x1a0173(0x1e4)]=_0x5709da['in']);const _0x169a13=await _0x4e1825[_0x1a0173(0x186)]({'options':{..._0x13a669,..._0x5709da},'args':_0x53e9fe?[_0x53e9fe]:[],'tdx':_0x4253c9});process[_0x1a0173(0x360)](_0x169a13);}),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x345))['alias']('desc')[a2_0x2babb7(0x207)](a2_0x2babb7(0x1e8))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x244),a2_0x2babb7(0x2aa))['option'](a2_0x2babb7(0x1a5),a2_0x2babb7(0x249))[a2_0x2babb7(0x209)](async(_0x40ba0d,_0x11dc50)=>{const _0x5920de=a2_0x2babb7,_0x126caf=new DescribeCommand(),_0x12ba87=program['opts'](),_0x2a4d67=await createTDXInstance(_0x12ba87);_0x11dc50['in']&&(_0x11dc50[_0x5920de(0x1e4)]=_0x11dc50['in']);const _0x3c541c=await _0x126caf['run']({'options':{..._0x12ba87,..._0x11dc50},'args':_0x40ba0d?[_0x40ba0d]:[],'tdx':_0x2a4d67});process[_0x5920de(0x360)](_0x3c541c);}),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x18e))[a2_0x2babb7(0x207)](a2_0x2babb7(0x2d0))['option']('-d,\x20--database\x20<database>','Database\x20to\x20query\x20(default:\x20information_schema)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a5),a2_0x2babb7(0x249))[a2_0x2babb7(0x2ec)]('--catalog\x20<catalog>',a2_0x2babb7(0x287))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x312),a2_0x2babb7(0x15f))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x303),a2_0x2babb7(0x2f0),'40')[a2_0x2babb7(0x209)](async(_0xee5df9,_0x5de7c7)=>{const _0x1879ae=a2_0x2babb7,_0x16e45e=new QueryCommand(),_0x3ac834=program['opts'](),_0xd026c4=await createTDXInstance(_0x3ac834);_0x5de7c7['in']&&(_0x5de7c7[_0x1879ae(0x1e4)]=_0x5de7c7['in']);const _0x27ba68=await _0x16e45e[_0x1879ae(0x186)]({'options':{..._0x3ac834,..._0x5de7c7},'args':_0xee5df9?[_0xee5df9]:[],'tdx':_0xd026c4});process[_0x1879ae(0x360)](_0x27ba68);});const segmentCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1a1))[a2_0x2babb7(0x370)]('sg')[a2_0x2babb7(0x207)](a2_0x2babb7(0x371)),segmentListAction=async(_0x35c746,_0x9bc244)=>{const _0x50aadc=a2_0x2babb7,_0x14bc49=new SegmentsCommand(),_0x43b8d2=program[_0x50aadc(0x253)](),_0x39f888=await createTDXInstance(_0x43b8d2),_0x35c6d7=await _0x14bc49[_0x50aadc(0x186)]({'options':{..._0x43b8d2,..._0x9bc244},'args':_0x35c746?[_0x35c746]:[],'tdx':_0x39f888});process[_0x50aadc(0x360)](_0x35c6d7);};segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x337))[a2_0x2babb7(0x207)]('List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x349),a2_0x2babb7(0x233))[a2_0x2babb7(0x2ec)]('--max-depth\x20<depth>',a2_0x2babb7(0x179),'10')[a2_0x2babb7(0x209)](segmentListAction),program['command'](a2_0x2babb7(0x217),{'hidden':!![]})['description']('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')['option'](a2_0x2babb7(0x349),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x2babb7(0x2ec)]('--max-depth\x20<depth>',a2_0x2babb7(0x179),'10')[a2_0x2babb7(0x209)](segmentListAction),segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x168),{'hidden':!![]})[a2_0x2babb7(0x207)](a2_0x2babb7(0x2a1))[a2_0x2babb7(0x209)](async(_0x3f2bd1,_0x1aae12)=>{const _0x2fee01=a2_0x2babb7,_0x27b385=new SegmentUseCommand(),_0x299cd2=program[_0x2fee01(0x253)](),_0x41e2e4=await createTDXInstance(_0x299cd2),_0x156c3c=await _0x27b385['run']({'options':{..._0x299cd2,..._0x1aae12},'args':[_0x3f2bd1],'tdx':_0x41e2e4});process['exit'](_0x156c3c);});const segmentViewAction=async(_0x10dffe,_0x9d2a6b)=>{const _0x3ab005=a2_0x2babb7,_0x434cb7=new SegmentViewCommand(),_0x582107=program[_0x3ab005(0x253)](),_0x157cf9=await createTDXInstance(_0x582107),_0x58ec0e=await _0x434cb7[_0x3ab005(0x186)]({'options':{..._0x582107,..._0x9d2a6b},'args':_0x10dffe?[_0x10dffe]:[],'tdx':_0x157cf9});process['exit'](_0x58ec0e);};segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2f1))[a2_0x2babb7(0x207)](a2_0x2babb7(0x185))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x21e),a2_0x2babb7(0x1f6))[a2_0x2babb7(0x209)](segmentViewAction),segmentCmd['command']('info\x20[segment_name]',{'hidden':!![]})[a2_0x2babb7(0x370)](a2_0x2babb7(0x1d4))[a2_0x2babb7(0x2ec)]('-w,\x20--web',a2_0x2babb7(0x1f6))[a2_0x2babb7(0x207)]('Show\x20segment\x20details\x20(alias\x20for\x20view)')['action'](segmentViewAction),segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x34d))[a2_0x2babb7(0x207)](a2_0x2babb7(0x28c))['action'](async(_0x3802e6,_0x266b61)=>{const _0x300957=a2_0x2babb7,_0x4beb1d=new SegmentDescCommand(),_0x410a27=program[_0x300957(0x253)](),_0x2463a8=await createTDXInstance(_0x410a27),_0x4f5dca=await _0x4beb1d['run']({'options':{..._0x410a27,..._0x266b61},'args':_0x3802e6?[_0x3802e6]:[],'tdx':_0x2463a8});process[_0x300957(0x360)](_0x4f5dca);}),segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x213))[a2_0x2babb7(0x207)](a2_0x2babb7(0x145))[a2_0x2babb7(0x209)](async(_0x3c6daa,_0x48e5ff)=>{const _0x3fe4d5=a2_0x2babb7,_0x5643f0=new SegmentShowCommand(),_0x2238bc=program['opts'](),_0x5ea8a3=await createTDXInstance(_0x2238bc),_0x29e9dd=await _0x5643f0[_0x3fe4d5(0x186)]({'options':{..._0x2238bc,..._0x48e5ff},'args':_0x3c6daa?[_0x3c6daa]:[],'tdx':_0x5ea8a3});process[_0x3fe4d5(0x360)](_0x29e9dd);}),segmentCmd[a2_0x2babb7(0x27b)]('folders\x20<parent_name>',{'hidden':!![]})[a2_0x2babb7(0x207)](a2_0x2babb7(0x35a))[a2_0x2babb7(0x209)](async(_0x1b8e9e,_0x24af7b)=>{const _0x4e185d=a2_0x2babb7,_0x300ad0=new SegmentFolderListCommand(),_0x29a767=program[_0x4e185d(0x253)](),_0x571c50=await createTDXInstance(_0x29a767),_0x35571a=await _0x300ad0['run']({'options':{..._0x29a767,..._0x24af7b},'args':[_0x1b8e9e],'tdx':_0x571c50});process['exit'](_0x35571a);});const folderCmd=segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x32c),{'hidden':!![]})[a2_0x2babb7(0x207)](a2_0x2babb7(0x246));folderCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x260))[a2_0x2babb7(0x207)](a2_0x2babb7(0x164))[a2_0x2babb7(0x209)](async(_0x89e0e4,_0x5f1d9e)=>{const _0x23b747=a2_0x2babb7,_0x54b5d6=new SegmentFolderShowCommand(),_0x4ef5e8=program['opts'](),_0x5956a2=await createTDXInstance(_0x4ef5e8),_0x37dd97=await _0x54b5d6[_0x23b747(0x186)]({'options':{..._0x4ef5e8,..._0x5f1d9e},'args':[_0x89e0e4],'tdx':_0x5956a2});process[_0x23b747(0x360)](_0x37dd97);}),segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x235))[a2_0x2babb7(0x207)]('Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x2babb7(0x209)](async(_0x49418d,_0x52f439)=>{const _0x4a1e27=a2_0x2babb7,_0x301c74=new SegmentSQLCommand(),_0x51edfd=program['opts'](),_0x266dc1=await createTDXInstance(_0x51edfd),_0xe3a801=await _0x301c74[_0x4a1e27(0x186)]({'options':{..._0x51edfd,..._0x52f439},'args':_0x49418d?[_0x49418d]:[],'tdx':_0x266dc1});process[_0x4a1e27(0x360)](_0xe3a801);}),segmentCmd[a2_0x2babb7(0x27b)]('fields\x20[parent_name]')['description'](a2_0x2babb7(0x2a2))[a2_0x2babb7(0x209)](async(_0x58684b,_0x3b7c0d)=>{const _0x2902ac=a2_0x2babb7,_0x2d228a=new SegmentFieldsCommand(),_0x233aee=program['opts'](),_0x281a5d=await createTDXInstance(_0x233aee),_0x337667=await _0x2d228a[_0x2902ac(0x186)]({'options':{..._0x233aee,..._0x3b7c0d},'args':_0x58684b?[_0x58684b]:[],'tdx':_0x281a5d});process[_0x2902ac(0x360)](_0x337667);}),segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x267))[a2_0x2babb7(0x207)](a2_0x2babb7(0x2be))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a0),a2_0x2babb7(0x31a))['option'](a2_0x2babb7(0x17d),a2_0x2babb7(0x327))[a2_0x2babb7(0x209)](async(_0x33caec,_0x2eced6)=>{const _0x52f26c=a2_0x2babb7,_0x1efdde=new SegmentPullCommand(),_0x212820=program[_0x52f26c(0x253)](),_0x542adb=await createTDXInstance(_0x212820),_0x866559=await _0x1efdde['run']({'options':{..._0x212820,..._0x2eced6},'args':_0x33caec?[_0x33caec]:[],'tdx':_0x542adb});process[_0x52f26c(0x360)](_0x866559);}),segmentCmd['command'](a2_0x2babb7(0x13f))[a2_0x2babb7(0x207)](a2_0x2babb7(0x15b))[a2_0x2babb7(0x2ec)]('-y,\x20--yes',a2_0x2babb7(0x31a))[a2_0x2babb7(0x2ec)]('--dry-run',a2_0x2babb7(0x327))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1da),a2_0x2babb7(0x2f9))[a2_0x2babb7(0x209)](async(_0x7c698d,_0x13de1d)=>{const _0x2f2179=a2_0x2babb7,_0x37a6f7=new SegmentPushCommand(),_0x90378a=program[_0x2f2179(0x253)](),_0x5b09b4=await createTDXInstance(_0x90378a),_0x56ee2c=await _0x37a6f7[_0x2f2179(0x186)]({'options':{..._0x90378a,..._0x13de1d},'args':_0x7c698d?[_0x7c698d]:[],'tdx':_0x5b09b4});process[_0x2f2179(0x360)](_0x56ee2c);}),segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x374))['description'](a2_0x2babb7(0x1f2))[a2_0x2babb7(0x209)](async(_0x335fb9,_0x553652)=>{const _0x290c1e=a2_0x2babb7,_0x552cae=new SegmentValidateCommand(),_0x3d6aca=program['opts'](),_0x4fbde0=await createTDXInstance(_0x3d6aca),_0x4fc29b=await _0x552cae['run']({'options':{..._0x3d6aca,..._0x553652},'args':_0x335fb9?[_0x335fb9]:[],'tdx':_0x4fbde0});process[_0x290c1e(0x360)](_0x4fc29b);}),segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2e6),{'hidden':!![]})[a2_0x2babb7(0x207)](a2_0x2babb7(0x36e))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x225),a2_0x2babb7(0x37e))['option'](a2_0x2babb7(0x2f7),a2_0x2babb7(0x1a9))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x21f),a2_0x2babb7(0x13d))[a2_0x2babb7(0x2ec)]('--folder\x20<name>',a2_0x2babb7(0x1fc))['option'](a2_0x2babb7(0x30b),a2_0x2babb7(0x2c4))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x19c),a2_0x2babb7(0x1a2))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x368),'Skip\x20population\x20counting')['action'](async(_0x7109a2,_0x590699)=>{const _0x444ca5=a2_0x2babb7,_0x3d8754=new SegmentCreateCommand(),_0x3027b7=program['opts'](),_0x6e5d11=await createTDXInstance(_0x3027b7),_0x36a18b=await _0x3d8754[_0x444ca5(0x186)]({'options':{..._0x3027b7,..._0x590699},'args':[_0x7109a2],'tdx':_0x6e5d11});process[_0x444ca5(0x360)](_0x36a18b);}),segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x22b),{'hidden':!![]})[a2_0x2babb7(0x207)](a2_0x2babb7(0x1cf))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1ab),'New\x20segment\x20name')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x225),a2_0x2babb7(0x1d6))['option']('--rule\x20<json>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x21f),a2_0x2babb7(0x143))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1c3),'Move\x20to\x20folder')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x30b),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')['action'](async(_0x57caa8,_0x140e77)=>{const _0x41fdcc=a2_0x2babb7,_0x1c73c1=new SegmentUpdateCommand(),_0x26ca09=program[_0x41fdcc(0x253)](),_0x21a0c8=await createTDXInstance(_0x26ca09),_0x113ce3=await _0x1c73c1['run']({'options':{..._0x26ca09,..._0x140e77},'args':[_0x57caa8],'tdx':_0x21a0c8});process[_0x41fdcc(0x360)](_0x113ce3);});const parentCmd=segmentCmd[a2_0x2babb7(0x27b)]('parent',{'hidden':!![]})[a2_0x2babb7(0x207)](a2_0x2babb7(0x22d)),parentListAction=async(_0x5a654f,_0x5df284)=>{const _0x506223=a2_0x2babb7,_0x49eb68=new ParentSegmentListCommand(),_0x346b52=program[_0x506223(0x253)](),_0x353a7d=await createTDXInstance(_0x346b52),_0x509047=await _0x49eb68[_0x506223(0x186)]({'options':{..._0x346b52,..._0x5df284},'args':_0x5a654f?[_0x5a654f]:[],'tdx':_0x353a7d});process[_0x506223(0x360)](_0x509047);};parentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x304))[a2_0x2babb7(0x207)](a2_0x2babb7(0x30e))[a2_0x2babb7(0x209)](parentListAction),segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x17b),{'hidden':!![]})[a2_0x2babb7(0x207)]('List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)')[a2_0x2babb7(0x209)](parentListAction),parentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1db))[a2_0x2babb7(0x207)](a2_0x2babb7(0x2f6))['option'](a2_0x2babb7(0x2cc),a2_0x2babb7(0x229))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a0),a2_0x2babb7(0x336))['action'](async(_0x175d3d,_0x2c7905)=>{const _0x448324=a2_0x2babb7,_0x384fca=new ParentSegmentPullCommand(),_0x37064f=program[_0x448324(0x253)](),_0x3c3c58=await createTDXInstance(_0x37064f),_0x5a5fa5=await _0x384fca['run']({'options':{..._0x37064f,..._0x2c7905},'args':_0x175d3d?[_0x175d3d]:[],'tdx':_0x3c3c58});process[_0x448324(0x360)](_0x5a5fa5);}),parentCmd['command'](a2_0x2babb7(0x1df))['description'](a2_0x2babb7(0x2ac))[a2_0x2babb7(0x2ec)]('-y,\x20--yes','Skip\x20confirmation\x20prompt')[a2_0x2babb7(0x209)](async(_0x314886,_0xf71cd0)=>{const _0x3d1626=a2_0x2babb7,_0xc3e377=new ParentSegmentPushCommand(),_0x3f39cc=program[_0x3d1626(0x253)](),_0x52238c=await createTDXInstance(_0x3f39cc),_0x27592f=await _0xc3e377[_0x3d1626(0x186)]({'options':{..._0x3f39cc,..._0xf71cd0},'args':_0x314886?[_0x314886]:[],'tdx':_0x52238c});process[_0x3d1626(0x360)](_0x27592f);}),parentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x318))['description']('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x26f),a2_0x2babb7(0x1c5))[a2_0x2babb7(0x2ec)]('--attribute\x20[name]',a2_0x2babb7(0x2e4))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x328),a2_0x2babb7(0x189))['option']('--enriched',a2_0x2babb7(0x1ec))[a2_0x2babb7(0x2ec)]('--interval\x20<range>',a2_0x2babb7(0x220),a2_0x2babb7(0x31f))[a2_0x2babb7(0x209)](async(_0xbe3ddc,_0xe1e5ab)=>{const _0x5647cc=a2_0x2babb7,_0x32e912=new ParentSegmentValidateCommand(),_0x703a72=program[_0x5647cc(0x253)](),_0x53459f=await createTDXInstance(_0x703a72),_0x1a21a3=await _0x32e912[_0x5647cc(0x186)]({'options':{..._0x703a72,..._0xe1e5ab},'args':_0xbe3ddc?[_0xbe3ddc]:[],'tdx':_0x53459f});process[_0x5647cc(0x360)](_0x1a21a3);}),parentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2ee))[a2_0x2babb7(0x207)](a2_0x2babb7(0x27e))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x26f),a2_0x2babb7(0x232))['option'](a2_0x2babb7(0x380),a2_0x2babb7(0x28b))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x328),a2_0x2babb7(0x364))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1ff),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x2babb7(0x2ec)]('--interval\x20<range>',a2_0x2babb7(0x220),a2_0x2babb7(0x31f))[a2_0x2babb7(0x209)](async(_0x35e309,_0x256400)=>{const _0x1cccf0=a2_0x2babb7,_0x28aed4=new ParentSegmentPreviewCommand(),_0x2b3a66=program[_0x1cccf0(0x253)](),_0x53791e=await createTDXInstance(_0x2b3a66),_0x2048ea=await _0x28aed4[_0x1cccf0(0x186)]({'options':{..._0x2b3a66,..._0x256400},'args':_0x35e309?[_0x35e309]:[],'tdx':_0x53791e});process[_0x1cccf0(0x360)](_0x2048ea);}),parentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1a8))[a2_0x2babb7(0x207)](a2_0x2babb7(0x18d))['option']('-y,\x20--yes',a2_0x2babb7(0x336))[a2_0x2babb7(0x209)](async(_0x427276,_0x16a364)=>{const _0x25ed18=a2_0x2babb7,_0x4f757f=new ParentSegmentRunCommand(),_0x546898=program[_0x25ed18(0x253)](),_0x12923b=await createTDXInstance(_0x546898),_0x5405d3=await _0x4f757f[_0x25ed18(0x186)]({'options':{..._0x546898,..._0x16a364},'args':_0x427276?[_0x427276]:[],'tdx':_0x12923b});process['exit'](_0x5405d3);});const parentSegmentCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x176))[a2_0x2babb7(0x370)]('ps')['description']('Parent\x20segment\x20management');parentSegmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x304))[a2_0x2babb7(0x207)](a2_0x2babb7(0x30e))[a2_0x2babb7(0x209)](parentListAction),parentSegmentCmd[a2_0x2babb7(0x27b)]('pull\x20[name]')['description'](a2_0x2babb7(0x1c8))['option'](a2_0x2babb7(0x2cc),a2_0x2babb7(0x259))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a0),a2_0x2babb7(0x336))[a2_0x2babb7(0x2ec)]('-u,\x20--use',a2_0x2babb7(0x2c1))[a2_0x2babb7(0x209)](async(_0x3c942f,_0x1a438d)=>{const _0x2ea0d9=a2_0x2babb7,_0x2e174d=new ParentSegmentPullCommand(),_0x43a1c8=program[_0x2ea0d9(0x253)](),_0x46492a=await createTDXInstance(_0x43a1c8),_0x28d4d8=await _0x2e174d['run']({'options':{..._0x43a1c8,..._0x1a438d},'args':_0x3c942f?[_0x3c942f]:[],'tdx':_0x46492a});process['exit'](_0x28d4d8);}),parentSegmentCmd[a2_0x2babb7(0x27b)]('push\x20[name]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x2fa))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a0),'Skip\x20confirmation\x20prompt')[a2_0x2babb7(0x209)](async(_0x2d3282,_0x1ea632)=>{const _0x36c18a=a2_0x2babb7,_0x5da19e=new ParentSegmentPushCommand(),_0x49ea55=program[_0x36c18a(0x253)](),_0x350559=await createTDXInstance(_0x49ea55),_0x4caeef=await _0x5da19e[_0x36c18a(0x186)]({'options':{..._0x49ea55,..._0x1ea632},'args':_0x2d3282?[_0x2d3282]:[],'tdx':_0x350559});process['exit'](_0x4caeef);}),parentSegmentCmd[a2_0x2babb7(0x27b)]('validate\x20[name]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x239))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x26f),a2_0x2babb7(0x1c5))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x380),a2_0x2babb7(0x2e4))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x328),a2_0x2babb7(0x189))['option']('--enriched',a2_0x2babb7(0x1ec))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2c0),a2_0x2babb7(0x220),a2_0x2babb7(0x31f))[a2_0x2babb7(0x209)](async(_0x618b5e,_0x3f7b1d)=>{const _0xee9c18=a2_0x2babb7,_0x1d607b=new ParentSegmentValidateCommand(),_0x50f25e=program['opts'](),_0x193139=await createTDXInstance(_0x50f25e),_0x32d6e8=await _0x1d607b['run']({'options':{..._0x50f25e,..._0x3f7b1d},'args':_0x618b5e?[_0x618b5e]:[],'tdx':_0x193139});process[_0xee9c18(0x360)](_0x32d6e8);}),parentSegmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2b0))[a2_0x2babb7(0x207)](a2_0x2babb7(0x27e))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x26f),a2_0x2babb7(0x232))[a2_0x2babb7(0x2ec)]('--attribute\x20[name]',a2_0x2babb7(0x28b))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x328),a2_0x2babb7(0x364))[a2_0x2babb7(0x2ec)]('--enriched',a2_0x2babb7(0x339))['option'](a2_0x2babb7(0x2c0),a2_0x2babb7(0x220),a2_0x2babb7(0x31f))['action'](async(_0x28ca60,_0x294c90)=>{const _0x1ab7ae=a2_0x2babb7,_0x3888aa=new ParentSegmentPreviewCommand(),_0x5ad279=program[_0x1ab7ae(0x253)](),_0x5f30e9=await createTDXInstance(_0x5ad279),_0x344ae7=await _0x3888aa[_0x1ab7ae(0x186)]({'options':{..._0x5ad279,..._0x294c90},'args':_0x28ca60?[_0x28ca60]:[],'tdx':_0x5f30e9});process[_0x1ab7ae(0x360)](_0x344ae7);}),parentSegmentCmd[a2_0x2babb7(0x27b)]('run\x20[name]')['description']('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a0),a2_0x2babb7(0x336))['action'](async(_0x271275,_0x4acb9e)=>{const _0x5ce4eb=a2_0x2babb7,_0x20eb18=new ParentSegmentRunCommand(),_0x17bf9e=program[_0x5ce4eb(0x253)](),_0x1b324c=await createTDXInstance(_0x17bf9e),_0x4dda8d=await _0x20eb18[_0x5ce4eb(0x186)]({'options':{..._0x17bf9e,..._0x4acb9e},'args':_0x271275?[_0x271275]:[],'tdx':_0x1b324c});process[_0x5ce4eb(0x360)](_0x4dda8d);}),parentSegmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1e7))[a2_0x2babb7(0x207)](a2_0x2babb7(0x147))[a2_0x2babb7(0x2ec)]('--json','Output\x20as\x20JSON')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2fb),a2_0x2babb7(0x363))[a2_0x2babb7(0x209)](async(_0x23d523,_0xdbf0a8)=>{const _0x53a256=a2_0x2babb7,_0x262b31=new ParentSegmentFieldsCommand(),_0x31cd1c=program[_0x53a256(0x253)](),_0x5b4468=await createTDXInstance(_0x31cd1c),_0x29069a=await _0x262b31[_0x53a256(0x186)]({'options':{..._0x31cd1c,..._0xdbf0a8},'args':_0x23d523?[_0x23d523]:[],'tdx':_0x5b4468});process[_0x53a256(0x360)](_0x29069a);}),parentSegmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1eb))[a2_0x2babb7(0x207)](a2_0x2babb7(0x325))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x21e),a2_0x2babb7(0x2c2))[a2_0x2babb7(0x2ec)]('--json',a2_0x2babb7(0x20f))[a2_0x2babb7(0x2ec)]('--jsonl',a2_0x2babb7(0x363))[a2_0x2babb7(0x209)](async(_0x1b4087,_0x140293)=>{const _0x403d14=a2_0x2babb7,_0x381153=new ParentSegmentViewCommand(),_0x5edbfc=program[_0x403d14(0x253)](),_0x288dff=await createTDXInstance(_0x5edbfc),_0x5499cc=await _0x381153[_0x403d14(0x186)]({'options':{..._0x5edbfc,..._0x140293},'args':_0x1b4087?[_0x1b4087]:[],'tdx':_0x288dff});process[_0x403d14(0x360)](_0x5499cc);}),parentSegmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x149))['description'](a2_0x2babb7(0x1f4))['option'](a2_0x2babb7(0x300),a2_0x2babb7(0x20f))['option'](a2_0x2babb7(0x2fb),a2_0x2babb7(0x363))[a2_0x2babb7(0x209)](async(_0x1ceea7,_0x27fe07)=>{const _0x6b4ff0=a2_0x2babb7,_0x221cc8=new ParentSegmentDescCommand(),_0x4b8ab8=program[_0x6b4ff0(0x253)](),_0x38feb8=await createTDXInstance(_0x4b8ab8),_0x507f86=await _0x221cc8['run']({'options':{..._0x4b8ab8,..._0x27fe07},'args':_0x1ceea7?[_0x1ceea7]:[],'tdx':_0x38feb8});process[_0x6b4ff0(0x360)](_0x507f86);}),parentSegmentCmd[a2_0x2babb7(0x27b)]('sql\x20[name]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x14a))['option'](a2_0x2babb7(0x300),a2_0x2babb7(0x20f))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2fb),'Output\x20as\x20JSON\x20Lines')[a2_0x2babb7(0x209)](async(_0x43f3af,_0x2bee20)=>{const _0x11b446=a2_0x2babb7,_0x1f86ac=new ParentSegmentSQLCommand(),_0x4b46a0=program['opts'](),_0x958c1=await createTDXInstance(_0x4b46a0),_0x2e0a49=await _0x1f86ac[_0x11b446(0x186)]({'options':{..._0x4b46a0,..._0x2bee20},'args':_0x43f3af?[_0x43f3af]:[],'tdx':_0x958c1});process['exit'](_0x2e0a49);}),parentSegmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1d8))['description'](a2_0x2babb7(0x180))[a2_0x2babb7(0x2ec)]('--limit\x20<n>',a2_0x2babb7(0x1ca))[a2_0x2babb7(0x2ec)]('--json','Output\x20as\x20JSON')[a2_0x2babb7(0x2ec)]('--jsonl',a2_0x2babb7(0x363))[a2_0x2babb7(0x209)](async(_0x494032,_0x454eda)=>{const _0x112030=a2_0x2babb7,_0x31dcfa=new ParentSegmentShowCommand(),_0xbf008a=program[_0x112030(0x253)](),_0x25ef5a=await createTDXInstance(_0xbf008a),_0x2645c5=await _0x31dcfa[_0x112030(0x186)]({'options':{..._0xbf008a,..._0x454eda},'args':_0x494032?[_0x494032]:[],'tdx':_0x25ef5a});process[_0x112030(0x360)](_0x2645c5);}),parentSegmentCmd['command'](a2_0x2babb7(0x154))[a2_0x2babb7(0x207)](a2_0x2babb7(0x230))[a2_0x2babb7(0x209)](async(_0x2059d3,_0x6992f5)=>{const _0x49c4e8=a2_0x2babb7,_0x389e79=new UseCommand(),_0x1664f1=program[_0x49c4e8(0x253)](),_0x56e8e6=_0x2059d3?['parent_segment',_0x2059d3]:[],_0x502a02=await _0x389e79[_0x49c4e8(0x186)]({'options':{..._0x1664f1,..._0x6992f5},'args':_0x56e8e6,'tdx':null});process[_0x49c4e8(0x360)](_0x502a02);}),parentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x16a))['description'](a2_0x2babb7(0x367))['requiredOption'](a2_0x2babb7(0x2b7),'Master\x20database\x20name')[a2_0x2babb7(0x203)](a2_0x2babb7(0x1ee),a2_0x2babb7(0x1c1))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x225),a2_0x2babb7(0x2a8))['option'](a2_0x2babb7(0x362),'Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x25d),a2_0x2babb7(0x171))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x289),'Timezone\x20(e.g.,\x20America/Los_Angeles)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x378),'Attributes\x20as\x20JSON\x20string')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1dc),'Attributes\x20from\x20JSON\x20file')['option']('--behaviors\x20<json>',a2_0x2babb7(0x1d9))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x142),a2_0x2babb7(0x1f3))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2e9),a2_0x2babb7(0x1e3))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x299),a2_0x2babb7(0x174))[a2_0x2babb7(0x209)](async(_0x5b2c09,_0x5a5112)=>{const _0x2e703d=a2_0x2babb7,_0x4d59c5=new ParentSegmentCreateCommand(),_0x470930=program[_0x2e703d(0x253)](),_0x2895f0=await createTDXInstance(_0x470930),_0x4c3e19=await _0x4d59c5[_0x2e703d(0x186)]({'options':{..._0x470930,..._0x5a5112},'args':[_0x5b2c09],'tdx':_0x2895f0});process[_0x2e703d(0x360)](_0x4c3e19);}),parentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x14d))[a2_0x2babb7(0x207)](a2_0x2babb7(0x1c4))['option'](a2_0x2babb7(0x225),'Updated\x20description')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x362),a2_0x2babb7(0x37d))['option'](a2_0x2babb7(0x25d),a2_0x2babb7(0x23e))['option'](a2_0x2babb7(0x289),a2_0x2babb7(0x1b8))['option'](a2_0x2babb7(0x196),a2_0x2babb7(0x19a))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x210),'Add\x20attributes\x20from\x20JSON\x20file')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x26b),a2_0x2babb7(0x263))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x200),a2_0x2babb7(0x166))[a2_0x2babb7(0x209)](async(_0x56a552,_0x5d1fd4)=>{const _0xa6e66a=a2_0x2babb7,_0x2e6839=new ParentSegmentUpdateCommand(),_0x5c8678=program[_0xa6e66a(0x253)](),_0xf8c2e3=await createTDXInstance(_0x5c8678),_0x4140bb=await _0x2e6839[_0xa6e66a(0x186)]({'options':{..._0x5c8678,..._0x5d1fd4},'args':[_0x56a552],'tdx':_0xf8c2e3});process[_0xa6e66a(0x360)](_0x4140bb);}),folderCmd['command'](a2_0x2babb7(0x274))[a2_0x2babb7(0x207)](a2_0x2babb7(0x2e2))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x225),'Folder\x20description')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1aa),'Parent\x20folder\x20name\x20for\x20nested\x20folders')[a2_0x2babb7(0x209)](async(_0x380b20,_0x5b8bb9,_0x45c357)=>{const _0x2be727=a2_0x2babb7,_0x12e3de=new SegmentFolderCreateCommand(),_0x7b51c2=program[_0x2be727(0x253)](),_0x164d27=await createTDXInstance(_0x7b51c2),_0x4d2459=await _0x12e3de[_0x2be727(0x186)]({'options':{..._0x7b51c2,..._0x45c357},'args':[_0x380b20,_0x5b8bb9],'tdx':_0x164d27});process[_0x2be727(0x360)](_0x4d2459);}),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x296))[a2_0x2babb7(0x207)]('List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)')[a2_0x2babb7(0x209)](async(_0x420bc4,_0x180e55)=>{const _0x4d3a27=a2_0x2babb7,_0x1773cf=new ActivationsCommand(),_0x212ab7=program[_0x4d3a27(0x253)](),_0x1b206b=await createTDXInstance(_0x212ab7),_0x22ca91=await _0x1773cf['run']({'options':{..._0x212ab7,..._0x180e55},'args':[_0x420bc4],'tdx':_0x1b206b});process[_0x4d3a27(0x360)](_0x22ca91);});const workflowCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2bf))[a2_0x2babb7(0x370)]('wf')['description'](a2_0x2babb7(0x37c)),wfProjectCmd=workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x306))[a2_0x2babb7(0x207)]('Workflow\x20project\x20management'),wfProjectListAction=async(_0xca70b0,_0xf0a21f)=>{const _0x36b920=a2_0x2babb7,_0x5f0499=new WorkflowProjectsCommand(),_0x16026b=program[_0x36b920(0x253)](),_0x47ff24=await createTDXInstance(_0x16026b),_0x54e5d6=await _0x5f0499[_0x36b920(0x186)]({'options':{..._0x16026b,..._0xf0a21f},'args':_0xca70b0?[_0xca70b0]:[],'tdx':_0x47ff24});process[_0x36b920(0x360)](_0x54e5d6);};wfProjectCmd['command']('list\x20[pattern]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x286))['action'](wfProjectListAction),workflowCmd['command']('projects\x20[pattern]')['description'](a2_0x2babb7(0x190))[a2_0x2babb7(0x209)](wfProjectListAction);const wfWorkflowListAction=async(_0x35cf48,_0x1d2dc6)=>{const _0x5b3664=a2_0x2babb7,_0x27b06a=new WorkflowWorkflowsCommand(),_0x50c860=program[_0x5b3664(0x253)](),_0x5aa432=await createTDXInstance(_0x50c860),_0x1001b1=await _0x27b06a[_0x5b3664(0x186)]({'options':{..._0x50c860,..._0x1d2dc6},'args':_0x35cf48?[_0x35cf48]:[],'tdx':_0x5aa432});process[_0x5b3664(0x360)](_0x1001b1);};workflowCmd[a2_0x2babb7(0x27b)]('workflows\x20[project]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x2da))[a2_0x2babb7(0x209)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x18b))[a2_0x2babb7(0x207)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0x4fd391,_0x2eaa36)=>{const _0x70cdcb=a2_0x2babb7,_0x315ec4=new WorkflowSessionsCommand(),_0x274342=program['opts'](),_0x415800=await createTDXInstance(_0x274342),_0x525c26=await _0x315ec4[_0x70cdcb(0x186)]({'options':{..._0x274342,..._0x2eaa36},'args':_0x4fd391?[_0x4fd391]:[],'tdx':_0x415800});process[_0x70cdcb(0x360)](_0x525c26);};wfSessionCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x195))[a2_0x2babb7(0x207)]('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2de),a2_0x2babb7(0x291))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x288),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option'](a2_0x2babb7(0x25c),a2_0x2babb7(0x20d))[a2_0x2babb7(0x209)](wfSessionListAction),workflowCmd['command'](a2_0x2babb7(0x275))[a2_0x2babb7(0x207)](a2_0x2babb7(0x301))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2de),a2_0x2babb7(0x291))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x288),a2_0x2babb7(0x353))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x25c),a2_0x2babb7(0x20d))[a2_0x2babb7(0x209)](wfSessionListAction);const wfAttemptListAction=async(_0x45dbfd,_0x37881e)=>{const _0x1b46e3=a2_0x2babb7,_0x419a2d=new WorkflowAttemptsCommand(),_0x3566ef=program[_0x1b46e3(0x253)](),_0x4c1360=await createTDXInstance(_0x3566ef),_0x24d878=await _0x419a2d[_0x1b46e3(0x186)]({'options':{..._0x3566ef,..._0x37881e},'args':_0x45dbfd?[_0x45dbfd]:[],'tdx':_0x4c1360});process[_0x1b46e3(0x360)](_0x24d878);},attemptCmd=workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x247))[a2_0x2babb7(0x207)](a2_0x2babb7(0x1b1))[a2_0x2babb7(0x1f8)]('[attempt-id]','Attempt\x20ID')[a2_0x2babb7(0x1f8)]('[action]',a2_0x2babb7(0x178))[a2_0x2babb7(0x1f8)](a2_0x2babb7(0x271),a2_0x2babb7(0x2d7))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x358),a2_0x2babb7(0x2bb))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1bb),a2_0x2babb7(0x1ac))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x343),a2_0x2babb7(0x241))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x319),a2_0x2babb7(0x215))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x19f),a2_0x2babb7(0x1c9))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x27d),a2_0x2babb7(0x18c))[a2_0x2babb7(0x209)](async(_0x20950b,_0x1fafe8,_0x4e1d6e,_0x3766d0)=>{const _0x4be9e8=a2_0x2babb7;if(_0x20950b===_0x4be9e8(0x1c6)){await wfAttemptListAction(_0x1fafe8,_0x3766d0);return;}if(!_0x20950b){attemptCmd['help']();return;}const _0x389169=program[_0x4be9e8(0x253)](),_0x2292bc=await createTDXInstance(_0x389169);let _0x306b38=0x0;if(!_0x1fafe8){const _0x114e38=new WorkflowAttemptCommand();_0x306b38=await _0x114e38[_0x4be9e8(0x186)]({'options':{..._0x389169,..._0x3766d0},'args':[_0x20950b],'tdx':_0x2292bc});}else{if(_0x1fafe8===_0x4be9e8(0x2a0)){const _0x573539=new WorkflowLogsCommand();_0x306b38=await _0x573539[_0x4be9e8(0x186)]({'options':{..._0x389169,..._0x3766d0},'args':_0x4e1d6e?[_0x20950b,_0x4e1d6e]:[_0x20950b],'tdx':_0x2292bc});}else{if(_0x1fafe8===_0x4be9e8(0x173)){const _0x129d2b=new WorkflowTasksCommand();_0x306b38=await _0x129d2b[_0x4be9e8(0x186)]({'options':{..._0x389169,..._0x3766d0},'args':[_0x20950b],'tdx':_0x2292bc});}else{if(_0x1fafe8==='kill'){const _0xb73a57=new WorkflowKillCommand();_0x306b38=await _0xb73a57[_0x4be9e8(0x186)]({'options':{..._0x389169,..._0x3766d0},'args':[_0x20950b],'tdx':_0x2292bc});}else{if(_0x1fafe8==='retry'){const _0xdf8ff6=new WorkflowRetryCommand();_0x306b38=await _0xdf8ff6[_0x4be9e8(0x186)]({'options':{..._0x389169,..._0x3766d0},'args':[_0x4be9e8(0x16e)+_0x20950b],'tdx':_0x2292bc});}else console[_0x4be9e8(0x2e5)](_0x4be9e8(0x2c5)+_0x1fafe8),console[_0x4be9e8(0x2e5)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x306b38=0x1;}}}}process[_0x4be9e8(0x360)](_0x306b38);});attemptCmd['command'](a2_0x2babb7(0x195))['description']('List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x27d),a2_0x2babb7(0x310))[a2_0x2babb7(0x209)](wfAttemptListAction),workflowCmd[a2_0x2babb7(0x27b)]('attempts\x20[project]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x290))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x27d),'Include\x20retried\x20attempts')[a2_0x2babb7(0x209)](wfAttemptListAction),workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x316))['description']('Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt')[a2_0x2babb7(0x2ec)]('--follow',a2_0x2babb7(0x32b))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x377),'Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x34a),a2_0x2babb7(0x1d1))[a2_0x2babb7(0x209)](async(_0x226e84,_0x59d1c0)=>{const _0x463034=a2_0x2babb7,_0x1f8e7d=new WorkflowTimelineCommand(),_0x17bd4f=program[_0x463034(0x253)](),_0x4a0bc5=await createTDXInstance(_0x17bd4f),_0x5c2eff=await _0x1f8e7d[_0x463034(0x186)]({'options':{..._0x17bd4f,..._0x59d1c0},'args':_0x226e84?[_0x226e84]:[],'tdx':_0x4a0bc5});process[_0x463034(0x360)](_0x5c2eff);}),workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x308))[a2_0x2babb7(0x207)](a2_0x2babb7(0x33b))[a2_0x2babb7(0x2ec)]('--from-task\x20<task>','Resume\x20from\x20specific\x20task')[a2_0x2babb7(0x2ec)]('--params\x20<json>',a2_0x2babb7(0x36c))[a2_0x2babb7(0x209)](async(_0x49602d,_0x324b11)=>{const _0x5ef297=a2_0x2babb7,_0x1a5f3a=new WorkflowRetryCommand(),_0x5e326c=program[_0x5ef297(0x253)](),_0x477573=await createTDXInstance(_0x5e326c),_0x5bac7c=await _0x1a5f3a[_0x5ef297(0x186)]({'options':{..._0x5e326c,..._0x324b11},'args':[_0x49602d],'tdx':_0x477573});process[_0x5ef297(0x360)](_0x5bac7c);}),workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1a6))['description'](a2_0x2babb7(0x2d8))['option']('--param\x20<key=value>','Workflow\x20parameter\x20(repeatable)',(_0x48af22,_0x8621=[])=>[..._0x8621,_0x48af22],[])[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a3),a2_0x2babb7(0x293))['action'](async(_0x65fbfa,_0x1fc7d4)=>{const _0x49329d=a2_0x2babb7,_0x483c5d=new WorkflowRunCommand(),_0x3f1f50=program[_0x49329d(0x253)](),_0xbf61d7=await createTDXInstance(_0x3f1f50),_0x4fa9f1=await _0x483c5d[_0x49329d(0x186)]({'options':{..._0x3f1f50,..._0x1fc7d4},'args':_0x65fbfa?[_0x65fbfa]:[],'tdx':_0xbf61d7});process[_0x49329d(0x360)](_0x4fa9f1);}),workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x270))['description'](a2_0x2babb7(0x33e))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b5),a2_0x2babb7(0x2d3))['action'](async(_0x1a0bd1,_0x13eaf1,_0xa0ebdf)=>{const _0x3a7d2f=a2_0x2babb7,_0x4b9e64=new WorkflowDownloadCommand(),_0x506d25=program[_0x3a7d2f(0x253)](),_0x86bbac=await createTDXInstance(_0x506d25),_0x23032a=await _0x4b9e64[_0x3a7d2f(0x186)]({'options':{..._0x506d25,..._0xa0ebdf},'args':[_0x1a0bd1,_0x13eaf1||'.'],'tdx':_0x86bbac});process[_0x3a7d2f(0x360)](_0x23032a);}),workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2cb))[a2_0x2babb7(0x207)](a2_0x2babb7(0x219))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b5),a2_0x2babb7(0x1b4))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x17d),'Preview\x20changes\x20without\x20writing\x20files')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a0),'Skip\x20confirmation\x20prompt')['action'](async(_0x89d6f5,_0x3c73f5,_0x1742cc)=>{const _0x364666=a2_0x2babb7,_0x3fd948=new WorkflowPullCommand(),_0x1e5cca=program[_0x364666(0x253)](),_0x43e6d6=await createTDXInstance(_0x1e5cca),_0x4a799e=await _0x3fd948['run']({'options':{..._0x1e5cca,..._0x1742cc},'args':_0x3c73f5?[_0x89d6f5,_0x3c73f5]:[_0x89d6f5],'tdx':_0x43e6d6});process[_0x364666(0x360)](_0x4a799e);}),workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x258))[a2_0x2babb7(0x207)](a2_0x2babb7(0x148))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b5),a2_0x2babb7(0x162))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x17d),a2_0x2babb7(0x36d))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2e0),a2_0x2babb7(0x22e))['option']('-y,\x20--yes','Skip\x20confirmation\x20prompt')[a2_0x2babb7(0x209)](async(_0x4c25ab,_0x4d73fd)=>{const _0x22b00d=new WorkflowPushCommand(),_0x5b268b=program['opts'](),_0x3bbe31=await createTDXInstance(_0x5b268b),_0x26e892=await _0x22b00d['run']({'options':{..._0x5b268b,..._0x4d73fd},'args':_0x4c25ab?[_0x4c25ab]:[],'tdx':_0x3bbe31});process['exit'](_0x26e892);}),workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x23a))[a2_0x2babb7(0x207)](a2_0x2babb7(0x2c8))['option'](a2_0x2babb7(0x2e3),a2_0x2babb7(0x20e))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b5),a2_0x2babb7(0x34c))['option']('--skip-validation',a2_0x2babb7(0x22e))[a2_0x2babb7(0x209)](async(_0x588251,_0x3f1a1f)=>{const _0x5f578a=a2_0x2babb7,_0x2c8334=new WorkflowUploadCommand(),_0x14e9db=program[_0x5f578a(0x253)](),_0x522077=await createTDXInstance(_0x14e9db),_0x2b9595=await _0x2c8334['run']({'options':{..._0x14e9db,..._0x3f1a1f},'args':_0x588251?[_0x588251]:[],'tdx':_0x522077});process[_0x5f578a(0x360)](_0x2b9595);}),workflowCmd[a2_0x2babb7(0x27b)]('clone\x20[source-dir]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x344))['option'](a2_0x2babb7(0x2e3),a2_0x2babb7(0x23d))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b5),a2_0x2babb7(0x162))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x17d),a2_0x2babb7(0x329))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2e0),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a0),a2_0x2babb7(0x336))[a2_0x2babb7(0x209)](async(_0x599014,_0x19879b)=>{const _0x5d8f79=a2_0x2babb7,_0xfe4f00=new WorkflowCloneCommand(),_0x30c17e=program[_0x5d8f79(0x253)](),_0x26e3d2=await createTDXInstance(_0x30c17e),_0x4bd632=await _0xfe4f00[_0x5d8f79(0x186)]({'options':{..._0x30c17e,..._0x19879b},'args':_0x599014?[_0x599014]:[],'tdx':_0x26e3d2});process[_0x5d8f79(0x360)](_0x4bd632);}),workflowCmd[a2_0x2babb7(0x27b)]('delete\x20<project-name-or-id>')[a2_0x2babb7(0x207)](a2_0x2babb7(0x169))[a2_0x2babb7(0x209)](async(_0x371a8f,_0x53215f)=>{const _0xf69bb7=a2_0x2babb7,_0x100842=new WorkflowDeleteCommand(),_0xbbfa4=program['opts'](),_0x411604=await createTDXInstance(_0xbbfa4),_0x267c9a=await _0x100842['run']({'options':{..._0xbbfa4,..._0x53215f},'args':[_0x371a8f],'tdx':_0x411604});process[_0xf69bb7(0x360)](_0x267c9a);}),workflowCmd[a2_0x2babb7(0x27b)]('use\x20[project]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x273))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2e8),a2_0x2babb7(0x37f))[a2_0x2babb7(0x209)](async(_0x575e38,_0x395eeb)=>{const _0x3c38c0=a2_0x2babb7,_0xc2b84e=new WorkflowUseCommand(),_0x43593f=program[_0x3c38c0(0x253)](),_0x5111a2=await createTDXInstance(_0x43593f),_0xcf3493=await _0xc2b84e[_0x3c38c0(0x186)]({'options':{..._0x43593f,..._0x395eeb},'args':_0x575e38?[_0x575e38]:[],'tdx':_0x5111a2});process[_0x3c38c0(0x360)](_0xcf3493);});const wfSecretsCmd=workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x16c))[a2_0x2babb7(0x207)]('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x195))['description']('List\x20secret\x20keys\x20for\x20a\x20project')['action'](async(_0x7af495,_0x25602d)=>{const _0x1caede=a2_0x2babb7,_0x475862=new WorkflowSecretsListCommand(),_0x486a6d=program[_0x1caede(0x253)](),_0x2ad9ef=await createTDXInstance(_0x486a6d),_0x23991e=await _0x475862['run']({'options':{..._0x486a6d,..._0x25602d},'args':_0x7af495?[_0x7af495]:[],'tdx':_0x2ad9ef});process[_0x1caede(0x360)](_0x23991e);}),wfSecretsCmd[a2_0x2babb7(0x27b)]('set\x20<args...>')[a2_0x2babb7(0x207)](a2_0x2babb7(0x2a5))[a2_0x2babb7(0x209)](async(_0x1d7d5d,_0x1b7088)=>{const _0x316ca1=a2_0x2babb7,_0x1af253=new WorkflowSecretsSetCommand(),_0x2d65c1=program[_0x316ca1(0x253)](),_0x4186dd=await createTDXInstance(_0x2d65c1),_0x39a246=await _0x1af253['run']({'options':{..._0x2d65c1,..._0x1b7088},'args':_0x1d7d5d,'tdx':_0x4186dd});process[_0x316ca1(0x360)](_0x39a246);}),wfSecretsCmd[a2_0x2babb7(0x27b)]('delete\x20<args...>')[a2_0x2babb7(0x207)](a2_0x2babb7(0x315))['option'](a2_0x2babb7(0x1a0),'Skip\x20confirmation\x20prompt')['action'](async(_0x25e55c,_0x2f357c)=>{const _0x4fd789=a2_0x2babb7,_0x497182=new WorkflowSecretsDeleteCommand(),_0x261350=program['opts'](),_0x5ba087=await createTDXInstance(_0x261350),_0x8896e5=await _0x497182[_0x4fd789(0x186)]({'options':{..._0x261350,..._0x2f357c},'args':_0x25e55c,'tdx':_0x5ba087});process[_0x4fd789(0x360)](_0x8896e5);});const jobCmd=program['command'](a2_0x2babb7(0x261))[a2_0x2babb7(0x207)]('Job\x20management\x20commands'),jobListAction=async _0x44c3da=>{const _0x5a7e75=a2_0x2babb7,_0x1a14c3=new JobListCommand(),_0xaa717f=program['opts'](),_0x3d04c6=await createTDXInstance(_0xaa717f),_0x98e98c=await _0x1a14c3[_0x5a7e75(0x186)]({'options':{..._0xaa717f,..._0x44c3da},'args':[],'tdx':_0x3d04c6});process[_0x5a7e75(0x360)](_0x98e98c);};jobCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1c6))['description'](a2_0x2babb7(0x31c))['option'](a2_0x2babb7(0x2de),a2_0x2babb7(0x165))[a2_0x2babb7(0x209)](jobListAction),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1e9),{'hidden':!![]})['description'](a2_0x2babb7(0x32d))['option'](a2_0x2babb7(0x2de),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x2babb7(0x209)](jobListAction),jobCmd['command'](a2_0x2babb7(0x144))[a2_0x2babb7(0x207)](a2_0x2babb7(0x155))[a2_0x2babb7(0x209)](async(_0x539688,_0x56976d)=>{const _0x11384d=a2_0x2babb7,_0x554f33=new JobShowCommand(),_0x5a4fd9=program['opts'](),_0x11725d=await createTDXInstance(_0x5a4fd9),_0x10a773=await _0x554f33[_0x11384d(0x186)]({'options':{..._0x5a4fd9,..._0x56976d},'args':[_0x539688],'tdx':_0x11725d});process[_0x11384d(0x360)](_0x10a773);}),jobCmd['command']('kill\x20<job-id>')['description'](a2_0x2babb7(0x194))[a2_0x2babb7(0x209)](async(_0x85ba44,_0x363da3)=>{const _0x254caf=a2_0x2babb7,_0x34940c=new JobKillCommand(),_0x4c0eaa=program[_0x254caf(0x253)](),_0xce5505=await createTDXInstance(_0x4c0eaa),_0x54e3d1=await _0x34940c['run']({'options':{..._0x4c0eaa,..._0x363da3},'args':[_0x85ba44],'tdx':_0xce5505});process[_0x254caf(0x360)](_0x54e3d1);}),jobCmd[a2_0x2babb7(0x27b)]('submit\x20[query]')['description'](a2_0x2babb7(0x311))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x218),a2_0x2babb7(0x25a),'trino')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x312),a2_0x2babb7(0x25b))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x157),a2_0x2babb7(0x32f),a2_0x2babb7(0x28e))[a2_0x2babb7(0x209)](async(_0x2129ad,_0xb16b3f)=>{const _0x5ebc9b=a2_0x2babb7,_0x41911b=new JobSubmitCommand(),_0x1d2832=program[_0x5ebc9b(0x253)](),_0x1c06c7=await createTDXInstance(_0x1d2832),_0x5f361f=await _0x41911b['run']({'options':{..._0x1d2832,..._0xb16b3f},'args':_0x2129ad?[_0x2129ad]:[],'tdx':_0x1c06c7});process[_0x5ebc9b(0x360)](_0x5f361f);}),jobCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x373))['description'](a2_0x2babb7(0x181))['action'](async(_0x1316d4,_0xa8041b)=>{const _0x23f408=a2_0x2babb7,_0x7ce8ee=new JobResultCommand(),_0x1347c4=program[_0x23f408(0x253)](),_0x28bf23=await createTDXInstance(_0x1347c4),_0x19e426=await _0x7ce8ee[_0x23f408(0x186)]({'options':{..._0x1347c4,..._0xa8041b},'args':[_0x1316d4],'tdx':_0x28bf23});process[_0x23f408(0x360)](_0x19e426);});const llmCmd=program[a2_0x2babb7(0x27b)]('llm')[a2_0x2babb7(0x207)]('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd['command']('use\x20<project-name>')[a2_0x2babb7(0x207)](a2_0x2babb7(0x153))[a2_0x2babb7(0x209)](async(_0xc77de1,_0x4fa1d6)=>{const _0x3755d0=a2_0x2babb7,_0x2aa1f7=new LLMUseCommand(),_0xae6805=program[_0x3755d0(0x253)](),_0xd12aff=await createTDXInstance(_0xae6805),_0x2c94d6=await _0x2aa1f7[_0x3755d0(0x186)]({'options':{..._0xae6805,..._0x4fa1d6},'args':[_0xc77de1],'tdx':_0xd12aff});process[_0x3755d0(0x360)](_0x2c94d6);}),llmCmd[a2_0x2babb7(0x27b)]('models')[a2_0x2babb7(0x207)](a2_0x2babb7(0x1f5))[a2_0x2babb7(0x209)](async _0x111026=>{const _0xb238a=a2_0x2babb7,_0x23c4e5=new LLMModelsCommand(),_0x47d5ab=program[_0xb238a(0x253)](),_0x543fbd=await createTDXInstance(_0x47d5ab),_0x5b10cb=await _0x23c4e5[_0xb238a(0x186)]({'options':{..._0x47d5ab,..._0x111026},'args':[],'tdx':_0x543fbd});process[_0xb238a(0x360)](_0x5b10cb);});const projectCmd=llmCmd['command']('project')[a2_0x2babb7(0x207)]('LLM\x20project\x20management'),llmProjectListAction=async(_0x590178,_0x1c48fb)=>{const _0x12e6c4=a2_0x2babb7,_0x4fcbbb=new LLMProjectsCommand(),_0x121bfc=program[_0x12e6c4(0x253)](),_0x2bbc6d=await createTDXInstance(_0x121bfc),_0x56ee3d=await _0x4fcbbb[_0x12e6c4(0x186)]({'options':{..._0x121bfc,..._0x1c48fb},'args':_0x590178?[_0x590178]:[],'tdx':_0x2bbc6d});process['exit'](_0x56ee3d);};projectCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x304))[a2_0x2babb7(0x207)](a2_0x2babb7(0x17c))['action'](llmProjectListAction),llmCmd['command'](a2_0x2babb7(0x199))[a2_0x2babb7(0x207)](a2_0x2babb7(0x2d5))['action'](llmProjectListAction),projectCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x16a))[a2_0x2babb7(0x207)](a2_0x2babb7(0x33a))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x225),a2_0x2babb7(0x1de))[a2_0x2babb7(0x209)](async(_0x3c6a06,_0xb0767e)=>{const _0x5f1db1=a2_0x2babb7,_0x1d94f3=new LLMProjectCreateCommand(),_0x5ae2d1=program[_0x5f1db1(0x253)](),_0x34b28e=await createTDXInstance(_0x5ae2d1),_0x451cae=await _0x1d94f3['run']({'options':{..._0x5ae2d1,..._0xb0767e},'args':[_0x3c6a06],'tdx':_0x34b28e});process[_0x5f1db1(0x360)](_0x451cae);}),projectCmd[a2_0x2babb7(0x27b)]('delete\x20<name>')[a2_0x2babb7(0x207)](a2_0x2babb7(0x35c))[a2_0x2babb7(0x209)](async(_0x587c96,_0x5c20e1)=>{const _0x161ce3=a2_0x2babb7,_0x39008c=new LLMProjectDeleteCommand(),_0x400e73=program[_0x161ce3(0x253)](),_0x2ddb66=await createTDXInstance(_0x400e73),_0x120e46=await _0x39008c[_0x161ce3(0x186)]({'options':{..._0x400e73,..._0x5c20e1},'args':[_0x587c96],'tdx':_0x2ddb66});process[_0x161ce3(0x360)](_0x120e46);}),projectCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2a7))['description'](a2_0x2babb7(0x381))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x14b),a2_0x2babb7(0x26a))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x17d),a2_0x2babb7(0x375))[a2_0x2babb7(0x209)](async(_0x2232b7,_0x3d837c)=>{const _0x269653=a2_0x2babb7,_0x1f3644=new LLMProjectBackupCommand(),_0x2f99fa=program['opts'](),_0x564e93=await createTDXInstance(_0x2f99fa),_0x29caa7=await _0x1f3644['run']({'options':{..._0x2f99fa,..._0x3d837c},'args':[_0x2232b7],'tdx':_0x564e93});process[_0x269653(0x360)](_0x29caa7);}),projectCmd['command'](a2_0x2babb7(0x2fc))[a2_0x2babb7(0x207)](a2_0x2babb7(0x257))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x21c),'New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x17d),a2_0x2babb7(0x141))[a2_0x2babb7(0x209)](async(_0x3b31a1,_0x2f93eb)=>{const _0x34c252=a2_0x2babb7,_0x4a0540=new LLMProjectRestoreCommand(),_0x19bd0b=program['opts'](),_0x14d5da=await createTDXInstance(_0x19bd0b),_0x35593e=await _0x4a0540[_0x34c252(0x186)]({'options':{..._0x19bd0b,..._0x2f93eb},'args':[_0x3b31a1],'tdx':_0x14d5da});process[_0x34c252(0x360)](_0x35593e);});const llmAgentListAction=async(_0x52e85a,_0x1a3eeb)=>{const _0x1b9c0e=a2_0x2babb7,_0x26f602=new LLMAgentsCommand(),_0x1f221b=program['opts'](),_0x53fa54=await createTDXInstance(_0x1f221b),_0x46dd37=await _0x26f602['run']({'options':{..._0x1f221b,..._0x1a3eeb},'args':_0x52e85a?[_0x52e85a]:[],'tdx':_0x53fa54});process[_0x1b9c0e(0x360)](_0x46dd37);};llmCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1ea))['description'](a2_0x2babb7(0x245))['action'](llmAgentListAction),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1ea))[a2_0x2babb7(0x207)](a2_0x2babb7(0x245))[a2_0x2babb7(0x209)](llmAgentListAction),llmCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x214))[a2_0x2babb7(0x207)]('Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)')['option'](a2_0x2babb7(0x28d),'Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')[a2_0x2babb7(0x209)](async(_0x4e135e,_0x314845)=>{const _0x557e29=a2_0x2babb7,_0x5aeeb0=new LLMHistoryCommand(),_0xf4d6e0=program['opts'](),_0x1ac671=await createTDXInstance(_0xf4d6e0),_0x161dc9=await _0x5aeeb0[_0x557e29(0x186)]({'options':{..._0xf4d6e0,..._0x314845},'args':_0x4e135e?[_0x4e135e]:[],'tdx':_0x1ac671});process[_0x557e29(0x360)](_0x161dc9);}),llmCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x18f))[a2_0x2babb7(0x207)]('[EXPERIMENTAL]\x20Start\x20LLM\x20proxy\x20server\x20for\x20Claude\x20Code\x20integration\x20(use\x20global\x20--debug/--trace\x20for\x20logging)')[a2_0x2babb7(0x2ec)]('--port\x20<number>',a2_0x2babb7(0x2ae),a2_0x2babb7(0x250))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2a9),a2_0x2babb7(0x1ed))['option'](a2_0x2babb7(0x32e),a2_0x2babb7(0x2a3))[a2_0x2babb7(0x209)](async _0x20a109=>{const _0x5cd677=a2_0x2babb7,_0x4a6977=new LLMProxyCommand(),_0x2319ec=program[_0x5cd677(0x253)](),_0x139c8f=await createTDXInstance(_0x2319ec),_0x5eed9a={..._0x20a109,'port':_0x20a109[_0x5cd677(0x21b)]?parseInt(_0x20a109['port'],0xa):undefined},_0x5b6915=await _0x4a6977[_0x5cd677(0x186)]({'options':{..._0x2319ec,..._0x5eed9a},'args':[],'tdx':_0x139c8f});process[_0x5cd677(0x360)](_0x5b6915);}),program['command'](a2_0x2babb7(0x228))[a2_0x2babb7(0x385)](a2_0x2babb7(0x23b))[a2_0x2babb7(0x207)]('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')[a2_0x2babb7(0x2ec)]('--model\x20<name>',a2_0x2babb7(0x26e),a2_0x2babb7(0x352))['option']('-c,\x20--continue','Continue\x20most\x20recent\x20conversation')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x24c),a2_0x2babb7(0x317))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x29f),'Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')['option']('--llm-proxy\x20[url]','Use\x20TD\x20LLM\x20Proxy\x20pass-through\x20mode\x20(optionally\x20specify\x20custom\x20URL)')[a2_0x2babb7(0x35e)]()['allowExcessArguments'](!![])['addHelpText'](a2_0x2babb7(0x265),'\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\x20--llm-proxy\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Use\x20TD\x20LLM\x20Proxy\x20pass-through\x20mode\x0a\x20\x20tdx\x20claude\x20--llm-proxy\x20http://localhost:8080\x20\x20Use\x20custom\x20proxy\x20URL\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')['action'](async(_0x3b21fc,_0x3c6148)=>{const _0x10563f=a2_0x2babb7,_0x291f57=program[_0x10563f(0x253)](),_0x30a195=Array[_0x10563f(0x272)](_0x3b21fc)?_0x3b21fc:[];if(_0x30a195[0x0]===_0x10563f(0x151)){const _0x3942b5=new ClaudeStatuslineCommand(),_0x24d881=await _0x3942b5[_0x10563f(0x186)]({'options':{..._0x291f57,..._0x3c6148},'args':_0x30a195[_0x10563f(0x2c3)](0x1),'tdx':null});process[_0x10563f(0x360)](_0x24d881);}if(_0x30a195[0x0]===_0x10563f(0x385)){const _0x52cd53=new ClaudeUsageCommand(),_0x2a82b3=await _0x52cd53[_0x10563f(0x186)]({'options':{..._0x291f57,..._0x3c6148},'args':_0x30a195[_0x10563f(0x2c3)](0x1),'tdx':null});process[_0x10563f(0x360)](_0x2a82b3);}const _0x299651=new ClaudeCommand(),_0x4eb1ff=await createTDXInstance(_0x291f57),_0xa230c2=await _0x299651[_0x10563f(0x186)]({'options':{..._0x291f57,..._0x3c6148},'args':_0x30a195,'tdx':_0x4eb1ff});process[_0x10563f(0x360)](_0xa230c2);}),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x158))[a2_0x2babb7(0x207)](a2_0x2babb7(0x30d))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2e8),'Clear\x20session\x20context')['option'](a2_0x2babb7(0x29a),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x2babb7(0x209)](async(_0x1b8e83,_0x4f9def,_0x4cff6d)=>{const _0x43f5dc=a2_0x2babb7,_0x229632=new UseCommand(),_0x1ce26f=program[_0x43f5dc(0x253)](),_0x2ec2b3=[];if(_0x1b8e83)_0x2ec2b3['push'](_0x1b8e83);if(_0x4f9def)_0x2ec2b3[_0x43f5dc(0x1ba)](_0x4f9def);const _0x1eb087=await _0x229632[_0x43f5dc(0x186)]({'options':{..._0x1ce26f,..._0x4cff6d},'args':_0x2ec2b3,'tdx':null});process['exit'](_0x1eb087);}),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x313))[a2_0x2babb7(0x207)](a2_0x2babb7(0x35f))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x29a),a2_0x2babb7(0x266))[a2_0x2babb7(0x209)](async(_0x32f0e5,_0x5f3571)=>{const _0x248fa8=a2_0x2babb7,_0x181ba3=new UnsetCommand(),_0x412a0e=program['opts'](),_0x24d537=await _0x181ba3['run']({'options':{..._0x412a0e,..._0x5f3571},'args':[_0x32f0e5],'tdx':null});process[_0x248fa8(0x360)](_0x24d537);}),program['command'](a2_0x2babb7(0x226))[a2_0x2babb7(0x207)](a2_0x2babb7(0x238))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x28d),a2_0x2babb7(0x36f))[a2_0x2babb7(0x209)](async _0x15cb37=>{const _0xf0f2e0=a2_0x2babb7,_0x57387d=new ChatsCommand(),_0x37371f=program[_0xf0f2e0(0x253)](),_0x1a5f97=await createTDXInstance(_0x37371f),_0xe101c9=await _0x57387d[_0xf0f2e0(0x186)]({'options':{..._0x37371f,..._0x15cb37},'args':[],'tdx':_0x1a5f97});process['exit'](_0xe101c9);});const authCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1fa))['description'](a2_0x2babb7(0x1bd));async function runAuthStatusCommand(_0x5f3018){const _0x296560=a2_0x2babb7,_0x3e726b=new AuthStatusCommand(),_0x302fbf=program[_0x296560(0x253)](),_0x51fcda=await createTDXInstance(_0x302fbf),_0xf87969=await _0x3e726b['run']({'options':{..._0x302fbf,..._0x5f3018},'args':[],'tdx':_0x51fcda});process['exit'](_0xf87969);}authCmd[a2_0x2babb7(0x209)](runAuthStatusCommand),authCmd['command']('status')[a2_0x2babb7(0x207)](a2_0x2babb7(0x1d2))[a2_0x2babb7(0x209)](runAuthStatusCommand),authCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x340))[a2_0x2babb7(0x207)]('Setup\x20API\x20key\x20authentication\x20interactively')[a2_0x2babb7(0x13e)](a2_0x2babb7(0x265),a2_0x2babb7(0x33d))[a2_0x2babb7(0x209)](async _0x4ed7b0=>{const _0xce1917=a2_0x2babb7,_0x48be8e=new AuthSetupCommand(),_0x2da5bb=program[_0xce1917(0x253)](),_0x48304f=await createTDXInstance(_0x2da5bb),_0x63c39d=await _0x48be8e['run']({'options':{..._0x2da5bb,..._0x4ed7b0},'args':[],'tdx':_0x48304f});process[_0xce1917(0x360)](_0x63c39d);}),authCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1d5))[a2_0x2babb7(0x207)](a2_0x2babb7(0x278))[a2_0x2babb7(0x13e)](a2_0x2babb7(0x265),a2_0x2babb7(0x28f))[a2_0x2babb7(0x209)](async _0x45c0f6=>{const _0x3bc285=a2_0x2babb7,_0x3fc0b9=new AuthClearCommand(),_0x3770a7=program[_0x3bc285(0x253)](),_0x14c9c3=await _0x3fc0b9[_0x3bc285(0x186)]({'options':{..._0x3770a7,..._0x45c0f6},'args':[],'tdx':null});process[_0x3bc285(0x360)](_0x14c9c3);});const userCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x221))[a2_0x2babb7(0x207)](a2_0x2babb7(0x17f)),userListAction=async _0x1bdb0d=>{const _0x4123dc=a2_0x2babb7,_0x9b296f=new UserListCommand(),_0x1775c2=program[_0x4123dc(0x253)](),_0x4d208b=await createTDXInstance(_0x1775c2),_0x20f645=await _0x9b296f[_0x4123dc(0x186)]({'options':{..._0x1775c2,..._0x1bdb0d},'args':[],'tdx':_0x4d208b});process[_0x4123dc(0x360)](_0x20f645);};userCmd[a2_0x2babb7(0x209)](async _0x59f38a=>{const _0x4fe3f0=a2_0x2babb7,_0x2a15f3=new UserCommand(),_0x531024=program[_0x4fe3f0(0x253)](),_0x3fa099=await createTDXInstance(_0x531024),_0x4c95a7=await _0x2a15f3[_0x4fe3f0(0x186)]({'options':{..._0x531024,..._0x59f38a},'args':[],'tdx':_0x3fa099});process[_0x4fe3f0(0x360)](_0x4c95a7);}),userCmd['command'](a2_0x2babb7(0x1c6))[a2_0x2babb7(0x207)](a2_0x2babb7(0x201))[a2_0x2babb7(0x209)](userListAction),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x160))[a2_0x2babb7(0x207)](a2_0x2babb7(0x2f2))[a2_0x2babb7(0x209)](userListAction),program['command'](a2_0x2babb7(0x1c0))['description'](a2_0x2babb7(0x2d6))[a2_0x2babb7(0x209)](async _0x3b48f7=>{const _0x4d5c00=a2_0x2babb7,_0x15e566=new ProfilesCommand(),_0x42bbb6=program[_0x4d5c00(0x253)](),_0x7230ff=await _0x15e566['run']({'options':{..._0x42bbb6,..._0x3b48f7},'args':[],'tdx':null});process[_0x4d5c00(0x360)](_0x7230ff);});const profileCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x197))[a2_0x2babb7(0x207)]('Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)');profileCmd[a2_0x2babb7(0x209)](()=>{const _0x21fe51=a2_0x2babb7;profileCmd[_0x21fe51(0x2d2)]();});const profileListAction=async _0x1318b1=>{const _0x454fa9=a2_0x2babb7,_0x52e703=new ProfilesCommand(),_0x704a03=program['opts'](),_0x13812d=await _0x52e703['run']({'options':{..._0x704a03,..._0x1318b1},'args':[],'tdx':null});process[_0x454fa9(0x360)](_0x13812d);};profileCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1c6))[a2_0x2babb7(0x207)](a2_0x2babb7(0x2d6))['action'](profileListAction),profileCmd['command'](a2_0x2babb7(0x17a))['description'](a2_0x2babb7(0x19d))[a2_0x2babb7(0x13e)](a2_0x2babb7(0x265),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a\x20\x20$\x20tdx\x20profile\x20create\x20production\x20\x20\x20#\x20Create\x20profile\x20named\x20\x27production\x27\x0a')[a2_0x2babb7(0x209)](async(_0x4300d7,_0x16aa98)=>{const _0x2260d3=a2_0x2babb7,_0x3e5128=new ProfileCreateCommand(),_0x65f9f9=program[_0x2260d3(0x253)](),_0x2769f6=await _0x3e5128[_0x2260d3(0x186)]({'options':{..._0x65f9f9,..._0x16aa98},'args':_0x4300d7?[_0x4300d7]:[],'tdx':null});process[_0x2260d3(0x360)](_0x2769f6);}),profileCmd['command'](a2_0x2babb7(0x281))[a2_0x2babb7(0x207)](a2_0x2babb7(0x1f9))[a2_0x2babb7(0x13e)]('after',a2_0x2babb7(0x231))['action'](async(_0x553291,_0x975c88)=>{const _0x4682be=a2_0x2babb7,_0x27f870=new ProfileRemoveCommand(),_0x3464c6=program[_0x4682be(0x253)](),_0x5c8f16=await _0x27f870[_0x4682be(0x186)]({'options':{..._0x3464c6,..._0x975c88},'args':[_0x553291],'tdx':null});process[_0x4682be(0x360)](_0x5c8f16);}),profileCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x25e))[a2_0x2babb7(0x207)]('Set\x20a\x20profile\x20configuration\x20value')[a2_0x2babb7(0x13e)](a2_0x2babb7(0x265),a2_0x2babb7(0x31b))[a2_0x2babb7(0x209)](async(_0x1f9d25,_0x1bee88)=>{const _0xca63dd=a2_0x2babb7,_0x1b3113=new ProfileSetCommand(),_0xf266f4=program['opts'](),_0x2b31b5=await _0x1b3113[_0xca63dd(0x186)]({'options':{..._0xf266f4,..._0x1bee88},'args':[_0x1f9d25],'tdx':null});process[_0xca63dd(0x360)](_0x2b31b5);}),profileCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x211))['description']('Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x29a),a2_0x2babb7(0x175))['addHelpText'](a2_0x2babb7(0x265),a2_0x2babb7(0x1b3))[a2_0x2babb7(0x209)](async(_0xddccb8,_0x4a91b6)=>{const _0x333545=a2_0x2babb7,_0x4d20ac=new ProfileUseCommand(),_0xa5a99a=program[_0x333545(0x253)](),_0x2853b5=await _0x4d20ac[_0x333545(0x186)]({'options':{..._0xa5a99a,..._0x4a91b6},'args':[_0xddccb8],'tdx':null});process['exit'](_0x2853b5);});const engageCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x224))[a2_0x2babb7(0x207)](a2_0x2babb7(0x13c)),createEngageAction=_0x528191=>{return async(_0xe90430,_0x2760ef)=>{const _0x2bc6e0=a2_0x11a7,_0x9681b3=new _0x528191(),_0x306486=program[_0x2bc6e0(0x253)](),_0x3d4d02=await createTDXInstance(_0x306486),_0x5b0d7a=await _0x9681b3['run']({'options':{..._0x306486,..._0x2760ef},'args':[_0xe90430],'tdx':_0x3d4d02});process['exit'](_0x5b0d7a);};},createEngageNoArgAction=_0x303ac3=>{return async _0xc4f3e0=>{const _0x42bddf=a2_0x11a7,_0x564e48=new _0x303ac3(),_0xc048bd=program[_0x42bddf(0x253)](),_0xfb927f=await createTDXInstance(_0xc048bd),_0x20bca3=await _0x564e48[_0x42bddf(0x186)]({'options':{..._0xc048bd,..._0xc4f3e0},'args':[],'tdx':_0xfb927f});process[_0x42bddf(0x360)](_0x20bca3);};},campaignCmd=engageCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x384))[a2_0x2babb7(0x207)]('Campaign\x20management'),campaignListAction=async(_0x13e232,_0x801837)=>{const _0x4c1c7b=a2_0x2babb7,_0x425b21=new EngageCampaignsCommand(),_0x5ec243=program['opts'](),_0x47490a=await createTDXInstance(_0x5ec243),_0x5d0a40=await _0x425b21[_0x4c1c7b(0x186)]({'options':{..._0x5ec243,..._0x801837},'args':_0x13e232?[_0x13e232]:[],'tdx':_0x47490a});process[_0x4c1c7b(0x360)](_0x5d0a40);};campaignCmd[a2_0x2babb7(0x27b)]('list\x20[pattern]')[a2_0x2babb7(0x207)]('List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2e1),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')['option'](a2_0x2babb7(0x2de),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')['option'](a2_0x2babb7(0x1b6),a2_0x2babb7(0x37a))[a2_0x2babb7(0x209)](campaignListAction),engageCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x335))[a2_0x2babb7(0x207)](a2_0x2babb7(0x1ad))[a2_0x2babb7(0x2ec)]('--type\x20<type>',a2_0x2babb7(0x159))['option'](a2_0x2babb7(0x2de),a2_0x2babb7(0x323))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),a2_0x2babb7(0x37a))[a2_0x2babb7(0x209)](campaignListAction),campaignCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x183))[a2_0x2babb7(0x207)]('Show\x20campaign\x20details')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),a2_0x2babb7(0x37a))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1fe),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x2babb7(0x209)](createEngageAction(EngageCampaignShowCommand)),campaignCmd['command'](a2_0x2babb7(0x255))[a2_0x2babb7(0x207)](a2_0x2babb7(0x386))[a2_0x2babb7(0x203)]('--name\x20<name>','Campaign\x20name')['requiredOption']('--type\x20<type>',a2_0x2babb7(0x357))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),a2_0x2babb7(0x2dc))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b9),'Campaign\x20description')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x356),a2_0x2babb7(0x20b))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1fd),a2_0x2babb7(0x22f))['option'](a2_0x2babb7(0x332),a2_0x2babb7(0x387))['option']('--start-at\x20<datetime>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)')['option'](a2_0x2babb7(0x289),a2_0x2babb7(0x2ce))[a2_0x2babb7(0x209)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x27f))[a2_0x2babb7(0x207)](a2_0x2babb7(0x22c))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),a2_0x2babb7(0x37a))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2e3),'New\x20campaign\x20name')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b9),'Campaign\x20description')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x356),a2_0x2babb7(0x20b))['option'](a2_0x2babb7(0x1fd),a2_0x2babb7(0x22f))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x332),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x2babb7(0x2ec)]('--start-at\x20<datetime>',a2_0x2babb7(0x1d7))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x289),a2_0x2babb7(0x2ce))[a2_0x2babb7(0x209)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x187))[a2_0x2babb7(0x207)](a2_0x2babb7(0x30a))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),a2_0x2babb7(0x37a))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x268),'Skip\x20confirmation\x20prompt')[a2_0x2babb7(0x209)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command'](a2_0x2babb7(0x22a))['description']('Launch\x20a\x20campaign')['option'](a2_0x2babb7(0x1b6),a2_0x2babb7(0x37a))['action'](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x2babb7(0x27b)]('pause\x20<name-or-id>')[a2_0x2babb7(0x207)](a2_0x2babb7(0x309))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),a2_0x2babb7(0x37a))[a2_0x2babb7(0x209)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd['command'](a2_0x2babb7(0x16d))[a2_0x2babb7(0x207)](a2_0x2babb7(0x236))['option'](a2_0x2babb7(0x1b6),'Workspace\x20name')['action'](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x20c))['description'](a2_0x2babb7(0x1a7))[a2_0x2babb7(0x2ec)]('--workspace\x20<name>',a2_0x2babb7(0x37a))[a2_0x2babb7(0x209)](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x216))[a2_0x2babb7(0x207)]('Email\x20template\x20management'),templateListAction=async(_0x3fba47,_0xf3dbdf)=>{const _0x18d0b5=a2_0x2babb7,_0xf5ef89=new EngageTemplatesCommand(),_0x4e3659=program[_0x18d0b5(0x253)](),_0x39030c=await createTDXInstance(_0x4e3659),_0x2d6987=await _0xf5ef89[_0x18d0b5(0x186)]({'options':{..._0x4e3659,..._0xf3dbdf},'args':_0x3fba47?[_0x3fba47]:[],'tdx':_0x39030c});process['exit'](_0x2d6987);};templateCmd[a2_0x2babb7(0x27b)]('list\x20[pattern]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x382))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),'Workspace\x20name')[a2_0x2babb7(0x209)](templateListAction),engageCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2c6))[a2_0x2babb7(0x207)](a2_0x2babb7(0x262))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),a2_0x2babb7(0x37a))[a2_0x2babb7(0x209)](templateListAction),templateCmd['command'](a2_0x2babb7(0x183))[a2_0x2babb7(0x207)]('Show\x20email\x20template\x20details')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),'Workspace\x20name')['option'](a2_0x2babb7(0x1fe),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')['action'](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x255))[a2_0x2babb7(0x207)]('Create\x20an\x20email\x20template')[a2_0x2babb7(0x203)](a2_0x2babb7(0x2e3),'Template\x20name')['requiredOption'](a2_0x2babb7(0x1ce),'Email\x20subject\x20template')['requiredOption'](a2_0x2babb7(0x37b),a2_0x2babb7(0x2b2))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),a2_0x2babb7(0x2dc))['option'](a2_0x2babb7(0x193),'Plaintext\x20template\x20content')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x285),a2_0x2babb7(0x1a4))[a2_0x2babb7(0x209)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x27f))[a2_0x2babb7(0x207)]('Update\x20an\x20email\x20template')[a2_0x2babb7(0x2ec)]('--workspace\x20<name>','Workspace\x20name')['option']('--name\x20<name>',a2_0x2babb7(0x2ca))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1ce),a2_0x2babb7(0x2a6))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x37b),'HTML\x20template\x20content')['option']('--plaintext\x20<text>','Plaintext\x20template\x20content')[a2_0x2babb7(0x209)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd['command'](a2_0x2babb7(0x187))[a2_0x2babb7(0x207)]('Delete\x20an\x20email\x20template')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),a2_0x2babb7(0x37a))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x268),'Skip\x20confirmation\x20prompt')[a2_0x2babb7(0x209)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x379))[a2_0x2babb7(0x207)](a2_0x2babb7(0x242)),workspaceListAction=async(_0x3c1013,_0x20376c)=>{const _0x5a49fd=a2_0x2babb7,_0x3bbaf2=new EngageWorkspacesCommand(),_0x1e3bc1=program[_0x5a49fd(0x253)](),_0x124c4d=await createTDXInstance(_0x1e3bc1),_0x4617fd=await _0x3bbaf2['run']({'options':{..._0x1e3bc1,..._0x20376c},'args':_0x3c1013?[_0x3c1013]:[],'tdx':_0x124c4d});process[_0x5a49fd(0x360)](_0x4617fd);};workspaceCmd['command'](a2_0x2babb7(0x304))[a2_0x2babb7(0x207)](a2_0x2babb7(0x1cc))['action'](workspaceListAction),engageCmd['command'](a2_0x2babb7(0x269))[a2_0x2babb7(0x207)](a2_0x2babb7(0x21a))[a2_0x2babb7(0x209)](workspaceListAction),workspaceCmd['command'](a2_0x2babb7(0x183))['description']('Show\x20workspace\x20details')[a2_0x2babb7(0x2ec)]('--full',a2_0x2babb7(0x243))[a2_0x2babb7(0x209)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x2babb7(0x27b)]('create')[a2_0x2babb7(0x207)](a2_0x2babb7(0x29e))[a2_0x2babb7(0x203)]('--name\x20<name>',a2_0x2babb7(0x37a))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b9),a2_0x2babb7(0x222))[a2_0x2babb7(0x209)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd['command'](a2_0x2babb7(0x27f))[a2_0x2babb7(0x207)]('Update\x20a\x20workspace')['option'](a2_0x2babb7(0x2e3),'New\x20workspace\x20name')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b9),a2_0x2babb7(0x222))['action'](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x187))['description'](a2_0x2babb7(0x161))['option'](a2_0x2babb7(0x268),a2_0x2babb7(0x336))[a2_0x2babb7(0x209)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x2babb7(0x27b)]('use\x20<name>')[a2_0x2babb7(0x207)]('Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)')[a2_0x2babb7(0x209)](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1e6))[a2_0x2babb7(0x207)](a2_0x2babb7(0x24e)),connectionListAction=async _0x1cc79b=>{const _0x40236a=a2_0x2babb7,_0x4ea73a=new ConnectionListCommand(),_0x1a06d0=program[_0x40236a(0x253)](),_0x1e8e8c=await createTDXInstance(_0x1a06d0),_0x2bece7=await _0x4ea73a['run']({'options':{..._0x1a06d0,..._0x1cc79b},'args':[],'tdx':_0x1e8e8c});process[_0x40236a(0x360)](_0x2bece7);};connectionCmd[a2_0x2babb7(0x27b)]('list')[a2_0x2babb7(0x207)](a2_0x2babb7(0x254))[a2_0x2babb7(0x209)](connectionListAction),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1b2),{'hidden':!![]})[a2_0x2babb7(0x207)](a2_0x2babb7(0x331))[a2_0x2babb7(0x209)](connectionListAction),connectionCmd[a2_0x2babb7(0x27b)]('show\x20<name>')[a2_0x2babb7(0x207)](a2_0x2babb7(0x152))[a2_0x2babb7(0x209)](async(_0x2bd82b,_0x29c779)=>{const _0x46c4e9=a2_0x2babb7,_0x11bbea=new ConnectionShowCommand(),_0x22f112=program[_0x46c4e9(0x253)](),_0x59526e=await createTDXInstance(_0x22f112),_0x6c5b2b=await _0x11bbea[_0x46c4e9(0x186)]({'options':{..._0x22f112,..._0x29c779},'args':[_0x2bd82b],'tdx':_0x59526e});process[_0x46c4e9(0x360)](_0x6c5b2b);}),connectionCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x156))[a2_0x2babb7(0x207)](a2_0x2babb7(0x330))['action'](async(_0x2a9662,_0x10ae5c)=>{const _0x2fb220=a2_0x2babb7,_0x4a2d89=new ConnectionSchemaCommand(),_0x2d8a5f=program[_0x2fb220(0x253)](),_0x36cafb=await createTDXInstance(_0x2d8a5f),_0x3b08fd=await _0x4a2d89[_0x2fb220(0x186)]({'options':{..._0x2d8a5f,..._0x10ae5c},'args':[_0x2a9662],'tdx':_0x36cafb});process[_0x2fb220(0x360)](_0x3b08fd);}),connectionCmd[a2_0x2babb7(0x27b)]('types')['description']('List\x20available\x20connector\x20types')[a2_0x2babb7(0x209)](async _0x463f4a=>{const _0x1985c0=a2_0x2babb7,_0x1b03a8=new ConnectionTypesCommand(),_0x5ce3b0=program[_0x1985c0(0x253)](),_0x2a8369=await createTDXInstance(_0x5ce3b0),_0x33db5b=await _0x1b03a8[_0x1985c0(0x186)]({'options':{..._0x5ce3b0,..._0x463f4a},'args':[],'tdx':_0x2a8369});process['exit'](_0x33db5b);}),connectionCmd[a2_0x2babb7(0x27b)]('settings\x20<type>')[a2_0x2babb7(0x207)](a2_0x2babb7(0x297))[a2_0x2babb7(0x209)](async(_0x425c76,_0xa79567)=>{const _0x4c41f2=a2_0x2babb7,_0x36d3cd=new ConnectionSettingsCommand(),_0x592efc=program[_0x4c41f2(0x253)](),_0x205bf8=await createTDXInstance(_0x592efc),_0x26a591=await _0x36d3cd['run']({'options':{..._0x592efc,..._0xa79567},'args':[_0x425c76],'tdx':_0x205bf8});process[_0x4c41f2(0x360)](_0x26a591);});const journeyCmd=program[a2_0x2babb7(0x27b)]('journey')[a2_0x2babb7(0x207)]('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0x1f24c1,_0xa374da)=>{const _0x4db5c6=a2_0x2babb7,_0x2f84d2=new JourneyListCommand(),_0x1b4268=program[_0x4db5c6(0x253)](),_0x3c7dab=await createTDXInstance(_0x1b4268),_0x244a6f=await _0x2f84d2['run']({'options':{..._0x1b4268,..._0xa374da},'args':_0x1f24c1?[_0x1f24c1]:[],'tdx':_0x3c7dab});process[_0x4db5c6(0x360)](_0x244a6f);};journeyCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x304))[a2_0x2babb7(0x207)]('List\x20journeys\x20in\x20current\x20context')[a2_0x2babb7(0x209)](journeyListAction),journeyCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x24d))[a2_0x2babb7(0x207)](a2_0x2babb7(0x150))[a2_0x2babb7(0x2ec)]('-w,\x20--web','Open\x20journey\x20in\x20web\x20browser')['option']('--include-stats',a2_0x2babb7(0x350))[a2_0x2babb7(0x209)](async(_0x5e7a87,_0x1fcab4)=>{const _0x1715e4=a2_0x2babb7,_0x88a189=new JourneyViewCommand(),_0x23f760=program[_0x1715e4(0x253)](),_0x23cba0=await createTDXInstance(_0x23f760),_0x355024=await _0x88a189[_0x1715e4(0x186)]({'options':{..._0x23f760,..._0x1fcab4},'args':[_0x5e7a87],'tdx':_0x23cba0});process[_0x1715e4(0x360)](_0x355024);}),journeyCmd[a2_0x2babb7(0x27b)]('stats\x20<name-or-path>')[a2_0x2babb7(0x207)](a2_0x2babb7(0x28a))[a2_0x2babb7(0x2ec)]('--stage\x20<name>',a2_0x2babb7(0x1be))[a2_0x2babb7(0x209)](async(_0x543de2,_0x27f3dd)=>{const _0x1826f3=a2_0x2babb7,_0x1eb6de=new JourneyStatsCommand(),_0x2ebd8f=program['opts'](),_0x5f441f=await createTDXInstance(_0x2ebd8f),_0x19b46e=await _0x1eb6de[_0x1826f3(0x186)]({'options':{..._0x2ebd8f,..._0x27f3dd},'args':[_0x543de2],'tdx':_0x5f441f});process['exit'](_0x19b46e);}),journeyCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x15a))[a2_0x2babb7(0x207)](a2_0x2babb7(0x346))[a2_0x2babb7(0x209)](async(_0x166234,_0xf7a76)=>{const _0x4e83fc=a2_0x2babb7,_0x55e777=new JourneyPauseCommand(),_0x58929a=program[_0x4e83fc(0x253)](),_0x13b5cb=await createTDXInstance(_0x58929a),_0x2c0149=await _0x55e777[_0x4e83fc(0x186)]({'options':{..._0x58929a,..._0xf7a76},'args':[_0x166234],'tdx':_0x13b5cb});process[_0x4e83fc(0x360)](_0x2c0149);}),journeyCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x30c))[a2_0x2babb7(0x207)](a2_0x2babb7(0x208))[a2_0x2babb7(0x209)](async(_0x4dfadb,_0x13cc2a)=>{const _0xeb6b41=a2_0x2babb7,_0x2ab542=new JourneyResumeCommand(),_0x440723=program[_0xeb6b41(0x253)](),_0x40a09d=await createTDXInstance(_0x440723),_0x330629=await _0x2ab542['run']({'options':{..._0x440723,..._0x13cc2a},'args':[_0x4dfadb],'tdx':_0x40a09d});process[_0xeb6b41(0x360)](_0x330629);}),journeyCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1db))[a2_0x2babb7(0x207)](a2_0x2babb7(0x18a))['option']('-y,\x20--yes','Skip\x20confirmation\x20prompt')['option']('--dry-run','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')['action'](async(_0x4a55bf,_0x3f1f0d)=>{const _0x30a001=a2_0x2babb7,_0x5b73f1=new JourneyPullCommand(),_0x167442=program['opts'](),_0x3aced3=await createTDXInstance(_0x167442),_0x2951d5=await _0x5b73f1[_0x30a001(0x186)]({'options':{..._0x167442,..._0x3f1f0d},'args':_0x4a55bf?[_0x4a55bf]:[],'tdx':_0x3aced3});process[_0x30a001(0x360)](_0x2951d5);}),journeyCmd[a2_0x2babb7(0x27b)]('push\x20[target]')[a2_0x2babb7(0x207)]('Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data')[a2_0x2babb7(0x209)](async(_0x5a24f1,_0x16a85c)=>{const _0x3707a8=a2_0x2babb7,_0x46c9c4=new JourneyPushCommand(),_0x48899f=program[_0x3707a8(0x253)](),_0x20a62d=await createTDXInstance(_0x48899f),_0x38a2e6=await _0x46c9c4[_0x3707a8(0x186)]({'options':{..._0x48899f,..._0x16a85c},'args':_0x5a24f1?[_0x5a24f1]:[],'tdx':_0x20a62d});process[_0x3707a8(0x360)](_0x38a2e6);}),journeyCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x374))[a2_0x2babb7(0x207)](a2_0x2babb7(0x372))['action'](async(_0x5b6308,_0x5a49a2)=>{const _0x35bae2=a2_0x2babb7,_0x51fad4=new JourneyValidateCommand(),_0x3b90e6=program[_0x35bae2(0x253)](),_0x53eb95=await createTDXInstance(_0x3b90e6),_0x415805=await _0x51fad4[_0x35bae2(0x186)]({'options':{..._0x3b90e6,..._0x5a49a2},'args':_0x5b6308?[_0x5b6308]:[],'tdx':_0x53eb95});process[_0x35bae2(0x360)](_0x415805);}),program['command']('journeys\x20[pattern]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x279))['action'](journeyListAction);const agentSyncCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2bd))['description'](a2_0x2babb7(0x280));agentSyncCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x206))['description'](a2_0x2babb7(0x2ed))['option'](a2_0x2babb7(0x251),'Output\x20directory')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x163),a2_0x2babb7(0x29d))[a2_0x2babb7(0x209)](async(_0x41a5d,_0x2c2611,_0x2655ca)=>{const _0x27d3b1=a2_0x2babb7,_0x131331=new AgentPullCommand(),_0x478590=program[_0x27d3b1(0x253)](),_0x55452c=await createTDXInstance(_0x478590),_0x1cde7f=[];if(_0x41a5d)_0x1cde7f[_0x27d3b1(0x1ba)](_0x41a5d);if(_0x2c2611)_0x1cde7f[_0x27d3b1(0x1ba)](_0x2c2611);const _0x1b99d5=await _0x131331[_0x27d3b1(0x186)]({'options':{..._0x478590,..._0x2655ca},'args':_0x1cde7f,'tdx':_0x55452c});process[_0x27d3b1(0x360)](_0x1b99d5);}),agentSyncCmd['command'](a2_0x2babb7(0x26d))['description']('Push\x20local\x20agent\x20files\x20to\x20LLM\x20project')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x163),a2_0x2babb7(0x295))[a2_0x2babb7(0x209)](async(_0x3c1ec9,_0x3c90cc)=>{const _0xa6f528=a2_0x2babb7,_0x2326fd=new AgentPushCommand(),_0x4f42f6=program[_0xa6f528(0x253)](),_0x4ffd14=await createTDXInstance(_0x4f42f6),_0x208521=await _0x2326fd['run']({'options':{..._0x4f42f6,..._0x3c90cc},'args':_0x3c1ec9?[_0x3c1ec9]:[],'tdx':_0x4ffd14});process['exit'](_0x208521);}),agentSyncCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x17e))[a2_0x2babb7(0x207)](a2_0x2babb7(0x1dd))['option'](a2_0x2babb7(0x2cf),a2_0x2babb7(0x23d))[a2_0x2babb7(0x209)](async(_0x2ea575,_0xe42c82)=>{const _0x163adb=a2_0x2babb7,_0x2be71c=new AgentCloneCommand(),_0x3483d3=program[_0x163adb(0x253)](),_0x4031e9=await createTDXInstance(_0x3483d3),_0xde0c1b=await _0x2be71c['run']({'options':{..._0x3483d3,..._0xe42c82},'args':_0x2ea575?[_0x2ea575]:[],'tdx':_0x4031e9});process['exit'](_0xde0c1b);}),agentSyncCmd['command'](a2_0x2babb7(0x33c))[a2_0x2babb7(0x207)](a2_0x2babb7(0x167))[a2_0x2babb7(0x2ec)]('--name\x20<names>',a2_0x2babb7(0x223))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x17d),'Parse\x20and\x20validate\x20without\x20executing')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2b4),a2_0x2babb7(0x29b))[a2_0x2babb7(0x209)](async(_0x5a4d81,_0x1fee90)=>{const _0x3fa616=a2_0x2babb7,_0x563d4e=new AgentTestCommand(),_0x17a831=program[_0x3fa616(0x253)](),_0x44ad96=await createTDXInstance(_0x17a831),_0x4b485c=await _0x563d4e[_0x3fa616(0x186)]({'options':{..._0x17a831,..._0x1fee90},'args':_0x5a4d81?[_0x5a4d81]:[],'tdx':_0x44ad96});process[_0x3fa616(0x360)](_0x4b485c);}),agentSyncCmd[a2_0x2babb7(0x27b)]('list\x20[pattern]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x26c))[a2_0x2babb7(0x209)](llmAgentListAction),agentSyncCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2eb))[a2_0x2babb7(0x207)]('Show\x20agent\x20details')[a2_0x2babb7(0x209)](async(_0x57dd16,_0x1969c9)=>{const _0x3ff1e9=a2_0x2babb7,_0x360b38=new LLMAgentShowCommand(),_0x3a8309=program[_0x3ff1e9(0x253)](),_0x5ecd3b=await createTDXInstance(_0x3a8309),_0x413f74=await _0x360b38['run']({'options':{..._0x3a8309,..._0x1969c9},'args':[_0x57dd16],'tdx':_0x5ecd3b});process['exit'](_0x413f74);}),agentSyncCmd['command']('create\x20<name>')['description']('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x294),'System\x20prompt/instructions\x20(default:\x20empty)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x234),a2_0x2babb7(0x16f),'claude-4.5-sonnet')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x204),'Starter\x20message')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x376),a2_0x2babb7(0x2bc),'4')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x365),a2_0x2babb7(0x2af),a2_0x2babb7(0x361))[a2_0x2babb7(0x209)](async(_0x3bbd27,_0x32d0b3)=>{const _0x3949a8=a2_0x2babb7,_0x37fd79=new LLMAgentCreateCommand(),_0x63a2c8=program['opts'](),_0x592b13=await createTDXInstance(_0x63a2c8),_0x383945=await _0x37fd79['run']({'options':{..._0x63a2c8,..._0x32d0b3},'args':[_0x3bbd27],'tdx':_0x592b13});process[_0x3949a8(0x360)](_0x383945);}),agentSyncCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x20a))[a2_0x2babb7(0x207)](a2_0x2babb7(0x30f))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x188),'Agent\x20name')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2d4),a2_0x2babb7(0x1ef))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x225),'Agent\x20description')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x204),a2_0x2babb7(0x35d))[a2_0x2babb7(0x209)](async(_0x5334b5,_0x3d11d3)=>{const _0x3b22b8=a2_0x2babb7,_0x4fd76d=new LLMAgentUpdateCommand(),_0x2a8dcf=program[_0x3b22b8(0x253)](),_0x59fc97=await createTDXInstance(_0x2a8dcf),_0x15b050=await _0x4fd76d['run']({'options':{..._0x2a8dcf,..._0x3d11d3},'args':[_0x5334b5],'tdx':_0x59fc97});process[_0x3b22b8(0x360)](_0x15b050);}),agentSyncCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2f5))['description'](a2_0x2babb7(0x320))[a2_0x2babb7(0x209)](async(_0x430bbf,_0x18e579)=>{const _0x5245a5=a2_0x2babb7,_0x23e5e6=new LLMAgentDeleteCommand(),_0x29b83f=program[_0x5245a5(0x253)](),_0x8d9fd1=await createTDXInstance(_0x29b83f),_0x11ffee=await _0x23e5e6[_0x5245a5(0x186)]({'options':{..._0x29b83f,..._0x18e579},'args':[_0x430bbf],'tdx':_0x8d9fd1});process['exit'](_0x11ffee);});export{program};export function runCLI(){const _0x15bbb7=a2_0x2babb7,_0x179bce=!process[_0x15bbb7(0x29c)][_0x15bbb7(0x2c3)](0x2)[_0x15bbb7(0x2ab)];showBriefHelp=_0x179bce,program[_0x15bbb7(0x277)](process[_0x15bbb7(0x29c)]),_0x179bce&&program['outputHelp'](),process[_0x15bbb7(0x205)][_0x15bbb7(0x24b)]&&process['argv'][_0x15bbb7(0x2ab)]>0x2&&!isDevVersion()&&checkForUpdate(currentVersion)[_0x15bbb7(0x33f)](_0x20e7f1=>{_0x20e7f1&&displayUpdateNotification(_0x20e7f1);})[_0x15bbb7(0x172)](()=>{});}
|
|
1
|
+
const a2_0x3df4f4=a2_0x54ca;(function(_0x2d81ac,_0x24ae92){const _0x50bc79=a2_0x54ca,_0x59836d=_0x2d81ac();while(!![]){try{const _0x449c31=-parseInt(_0x50bc79(0x2af))/0x1+parseInt(_0x50bc79(0x2fe))/0x2+parseInt(_0x50bc79(0x1f7))/0x3+-parseInt(_0x50bc79(0x29e))/0x4*(parseInt(_0x50bc79(0x232))/0x5)+-parseInt(_0x50bc79(0x228))/0x6+-parseInt(_0x50bc79(0x2b1))/0x7*(parseInt(_0x50bc79(0x29a))/0x8)+parseInt(_0x50bc79(0x362))/0x9;if(_0x449c31===_0x24ae92)break;else _0x59836d['push'](_0x59836d['shift']());}catch(_0x5a6a6a){_0x59836d['push'](_0x59836d['shift']());}}}(a2_0xb2fd,0x47cef));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/tdx-logger.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand}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}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{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{LLMProxyCommand}from'./commands/llm-proxy.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{ProfilesCommand}from'./commands/profiles-command.js';function a2_0xb2fd(){const _0x3f361b=['jobs','pull\x20[project]\x20[agent-name]','Limit\x20number\x20of\x20rows','Action:\x20logs,\x20tasks,\x20kill,\x20retry','--reason\x20<text>','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','Delete\x20an\x20email\x20template','database','Updated\x20schedule\x20option','required','Arguments:','--no-eval','stderr','format','Clear\x20workflow\x20project\x20context','--session-time\x20<time>','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Show\x20master\x20table\x20sample\x20data','push\x20[target]','action','Export\x20journey(s)\x20as\x20YAML\x20files','--prompt\x20<text>','--master','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','--customer-group-file\x20<file>','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','--trace','--revision\x20<revision>','logLevel','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','638582aQtdpg','--rule\x20<json>','create\x20<segment_name>','use\x20<project-name>','\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','tsv','Preview\x20changes\x20without\x20writing\x20files','Unknown\x20action:\x20','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','use\x20<path>','Show\x20journey\x20details','-p,\x20--profile\x20<name>','Create\x20a\x20new\x20LLM\x20project','--name\x20<names>','New\x20segment\x20name','--tsv','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','use\x20<name>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','--name\x20<name>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Updated\x20description','attempts\x20[project]','Delete\x20a\x20workspace','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','retry\x20<session-id>','parse','project','help','logs','--plaintext\x20<text>','user','--description\x20<text>','Pull\x20workflow\x20project\x20to\x20local\x20folder','registeredArguments','result\x20<job-id>','opts','Reason\x20for\x20killing\x20the\x20attempt','connection','--behavior\x20[name]','injectIntoOptions','allowUnknownOption','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','-c,\x20--continue','Output\x20directory','Workflow\x20parameter\x20(repeatable)','\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','argumentTerm','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','Template\x20name','schema\x20<type>','Show\x20campaign\x20details','Output\x20as\x20JSON','--html\x20<html>','Launch\x20a\x20campaign','desc\x20[segment_name]','get','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','--attribute\x20[name]','Preview\x20without\x20creating\x20the\x20project','create\x20<name>','kill\x20<job-id>','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','usage','Overwrite\x20local\x20changes\x20without\x20confirmation','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','profile','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','--behaviors\x20<json>','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','--attributes\x20<json>','join','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Setup\x20API\x20key\x20authentication\x20interactively','--include-retried','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','setup','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','--default','Agent\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)','Validate\x20journey\x20YAML\x20files\x20locally','--table','--full','configureHelp','-y,\x20--yes','description','Make\x20segment\x20invisible\x20(default:\x20visible)','pull\x20[parent_or_file]','createAsync','Filtering\x20rule\x20as\x20JSON\x20string','delete\x20<project-name-or-id>','Table\x20management\x20commands','llm','--jsonl','Set\x20a\x20profile\x20configuration\x20value','Skip\x20validation\x20of\x20.dig\x20files','7244406vAoTVV','padWidth','table','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','--port\x20<number>','Folder\x20name\x20for\x20organization','hook','Parent\x20segment\x20description','LLM\x20project\x20management','Revision\x20name\x20(default:\x20timestamp)','Include\x20retried\x20attempts\x20(for\x20list)','Model\x20type\x20(default:\x20claude-4.5-sonnet)','validate\x20[name]','push','Use\x20TD\x20LLM\x20Proxy\x20pass-through\x20mode\x20(optionally\x20specify\x20custom\x20URL)','name','\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','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Set\x20operation\x20timeout\x20in\x20seconds','Read\x20SQL\x20query\x20from\x20file','Custom\x20revision\x20name\x20(default:\x20timestamp)','delete\x20<name-or-id>','--llm-proxy\x20[url]','log','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','flatMap','validate\x20[file]','Attempt\x20ID','jsonl','Skip\x20population\x20counting','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','statusline','stdout','-X,\x20--method\x20<method>','_hidden','Commands:','--timezone\x20<tz>','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','--temperature\x20<n>','--no-color','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','4000','Include\x20retried\x20attempts','Workflow\x20attempt\x20management','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','parent','Output\x20folder\x20(default:\x20{project_name}.llm)','--debug','Show\x20the\x20most\x20recent\x20chat','filter','describe\x20[table]','argument','optionTerm','colorFn','--job-type\x20<type>','template','set','Job\x20management\x20commands','tdx','New\x20template\x20name','Remove\x20a\x20profile','restore\x20<folder>','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','commands','users','addHelpText','[DEPRECATED]\x20Segment\x20folder\x20management','--database\x20<db>','auth','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','0.7','run\x20[name]','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','backup\x20<name>',',\x20version\x20','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Pull\x20child\x20segments\x20to\x20YAML\x20files','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','--clear','Database\x20management\x20commands','Maximum\x20tool\x20iterations\x20(default:\x204)','--add-behaviors-file\x20<file>','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','GET','Run\x20tests\x20for\x20an\x20LLM\x20agent','slice','Execute\x20tests\x20without\x20evaluation\x20(Phase\x202\x20only)','Workspace\x20name','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','--llm-project\x20<name>','requiredOption','replace','--in\x20<database>','Submit\x20a\x20job','Show\x20workspace\x20details','download\x20<project-name>\x20[output-dir]','remove\x20<name>','-w,\x20--web','--yes','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','session','--site\x20<site>','List\x20journeys\x20(alias\x20for\x20journey\x20list)','Include\x20execution\x20statistics','--status\x20<status>','Follow/watch\x20timeline\x20for\x20running\x20attempts','port','--in\x20<name>','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','Pause\x20a\x20running\x20journey','Read\x20query\x20from\x20file','--behaviors-file\x20<file>','Options:','--starter-message\x20<text>','Add\x20attributes\x20from\x20JSON\x20file','\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\x20--llm-proxy\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Use\x20TD\x20LLM\x20Proxy\x20pass-through\x20mode\x0a\x20\x20tdx\x20claude\x20--llm-proxy\x20http://localhost:8080\x20\x20Use\x20custom\x20proxy\x20URL\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','Model\x20to\x20use\x20(haiku,\x20sonnet,\x20opus)','use\x20[project]','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Create\x20segment\x20folder','Open\x20segment\x20in\x20web\x20browser','show\x20<agent-name>','information_schema','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Starter\x20message','-n,\x20--name\x20<name>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','-r,\x20--recursive','\x20-\x20built\x20','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','Preview\x20changes\x20without\x20pushing','includes','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','--color','Run\x20specific\x20tests\x20(comma-separated)','update\x20<agent-name>','--json-columns\x20<cols>','unset\x20<resource>','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','directory','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','timeline\x20[project.workflow]','view\x20<name-or-path>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','journeys\x20[pattern]','--enriched','--format\x20<format>','DEBUG','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','Trino\x20catalog\x20(default:\x20td)','--add-attributes-file\x20<file>','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Delete\x20an\x20LLM\x20project','Data\x20connection\x20management\x20(for\x20activations/exports)','--schedule-option\x20<value>','--param\x20<key=value>','validate\x20[target]','preview\x20[name]','--folder\x20<name>','show\x20[segment_name]','--parent-folder\x20<name>','workspace','List\x20available\x20LLM\x20models','-v,\x20--verbose','Show\x20timeline\x20for\x20specific\x20attempt','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','show\x20<name-or-id>','preAction','LLM\x20agent\x20management','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Attributes\x20as\x20JSON\x20string','optionDescription','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','journey','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','HTML\x20template\x20content','--customer-group\x20<json>','Create\x20a\x20new\x20profile','--rule-file\x20<file>','--interval\x20<range>','clone\x20[source-dir]','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Campaign\x20type\x20(email\x20or\x20push)','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','pause\x20<name-or-path>','--from-task\x20<task>','--include-stats','--output\x20<file>','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','--dry-run','parents\x20[pattern]','aliases','info\x20[segment_name]','alias','Behaviors\x20from\x20JSON\x20file','New\x20campaign\x20name','agents\x20[pattern]','models','Skip\x20confirmation\x20prompt','Workflow\x20(Digdag)\x20management\x20commands','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','folders\x20<parent_name>','list\x20[project]','CDP\x20Journey\x20Orchestration\x20commands','subcommandDescription','Database\x20to\x20query\x20(default:\x20information_schema)','run','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','projects\x20[pattern]','repeat','kill','attempt','noColor','-C,\x20--directory\x20<path>','Parent\x20segment\x20management','--include-subtasks','--from\x20<timestamp>','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Output\x20as\x20JSON\x20Lines','hidden','isArray','desc','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Resume\x20from\x20specific\x20task\x20(retry)','site','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Editor\x20type','after','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','--subject\x20<subject>','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Plaintext\x20template\x20content','Interactive\x20chat\x20selector','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Alias\x20for\x20--database\x20(natural\x20language\x20style)','--catalog\x20<catalog>','resume\x20<name-or-id>','New\x20workspace\x20name','show\x20[table]','Push\x20without\x20confirmation','chats','connections','1338204LEZPyd','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','CDP\x20segment\x20management\x20commands','Project\x20description','End\x20time\x20filter\x20(ISO\x208601\x20format)','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','sql\x20[name]','create','Updated\x20timezone','sessions\x20[project]','isTTY','--version','chat\x20[message...]','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Show\x20only\x20master\x20table\x20validation','Override\x20project\x20name','--limit\x20<rows>','-1d','Email\x20template\x20management','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','--description\x20<desc>','use\x20[resource]\x20[value]','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','--no-count-population','List\x20all\x20data\x20connections','--schedule-type\x20<type>','delete\x20<name>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','[options]\x20--\x20[claude-code-args...]','workflow','run\x20[workflow]','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','activations\x20<segment_name>','--start-at\x20<datetime>','parent_segment','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','LLM\x20project\x20to\x20use\x20(overrides\x20context)','attempt:','Output\x20file\x20path','query\x20[sql]','preview\x20[file]','List\x20all\x20users\x20in\x20the\x20account','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','outputHelp','--data\x20<data>','push\x20[source-dir]','--resume-from\x20<task>','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','--json','3331506YDKLGi','Set\x20or\x20show\x20parent\x20segment\x20context','Workspace\x20description','Agent\x20name','Resume\x20from\x20specific\x20task','--max-depth\x20<depth>','--kind\x20<type>','command','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','sonnet','220TQCdIC','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','commandDescription','-f,\x20--file\x20<path>','--limit\x20<number>','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','job','agent','describe','--email-sender-id\x20<id>','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','set\x20<key=value>','map','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','AI-native\x20CLI\x20for\x20Treasure\x20Data','pause\x20<name-or-id>','Create\x20a\x20new\x20campaign','--type\x20<type>','Show\x20job\x20details','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','List\x20all\x20available\x20profiles','pull\x20[name]','exit','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','--parent-segment\x20<name>','set\x20<args...>','Workspace\x20name\x20(required)','Agent\x20description','--last','us01','gitRevision','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','workflows\x20[project]','update\x20<segment_name>','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','view\x20[segment_name]','Open\x20journey\x20in\x20web\x20browser','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Duplicate\x20a\x20campaign','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','--attributes-file\x20<file>','Email\x20subject\x20template','\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','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','claude-4.5-sonnet','push\x20[parent_or_file]','--skip-validation','databases\x20[pattern]','--type\x20<api_type>','--session-id\x20<id>','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','push\x20[name]','use\x20[name]','Show\x20segment\x20schema\x20(column\x20types)','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','System\x20prompt/instructions\x20(default:\x20empty)','Skip\x20confirmation\x20prompts','error','trino','-o,\x20--output\x20<file>','catch','List\x20available\x20connector\x20types','Start\x20a\x20new\x20chat\x20session','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','Enable\x20verbose\x20logging','Get\x20job\x20results','Create\x20a\x20new\x20agent\x20in\x20current\x20project','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Authentication\x20management','delete\x20<agent-name>','update\x20<name-or-id>','Delete\x20an\x20agent','--timeout\x20<seconds>','-f,\x20--force','--name\x20<text>','secrets','Name\x20for\x20the\x20new\x20project\x20(required)','--table\x20<table>','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','--delete','List\x20agents\x20in\x20current\x20project','--to\x20<timestamp>','proxy','--follow','Create\x20a\x20workspace','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','push\x20[path]','upload\x20[project-name-or-dir]','--add-attributes\x20<json>','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','Database\x20to\x20use\x20(overrides\x20context)','list\x20[pattern]','commandUsage','Clear\x20session\x20context','option','Create\x20an\x20email\x20template','--name\x20<new-name>','campaigns\x20[pattern]','length','--new','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','16cIJvJC','Campaign\x20name','push\x20[file]','types','16292uHVRnB','list','templates\x20[pattern]','segments\x20[path]','Email\x20sender\x20ID\x20for\x20delivery','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','argv','Customer\x20group\x20as\x20JSON\x20string','Master\x20database\x20name','--stage\x20<name>','Port\x20to\x20run\x20the\x20proxy\x20server\x20on','Delete\x20a\x20campaign','--force','Segment\x20description','buildTime','chdir','Resume\x20a\x20paused\x20campaign','49509QXJMuY','Save\x20output\x20to\x20file','1722679EZKIBT','clone\x20[source]','delete\x20<args...>','Add\x20behaviors\x20as\x20JSON\x20string','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','Pull\x20specific\x20revision\x20(default:\x20latest)','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Workspace\x20management','--workspace\x20<name>','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','argumentDescription','Continue\x20most\x20recent\x20conversation','forEach','engage','tdx\x20','settings\x20<type>','TRACE','Agent\x20prompt/instructions','Maximum\x20recursion\x20depth\x20(default:\x2010)','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','--system-prompt\x20<text>','fields\x20[name]','Kill\x20a\x20job','parent-segment','Workflow\x20session\x20management','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','view\x20[name]','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','--model\x20<name>','Read\x20request\x20body\x20from\x20file','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','-d,\x20--database\x20<database>','Folder\x20description','[action]','Campaign\x20description','status','List\x20jobs','Manage\x20workflow\x20project\x20secrets','Show\x20email\x20template\x20details','update\x20<name>','options','Resume\x20a\x20conversation\x20(shows\x20selector)','Database\x20name\x20(default:\x20information_schema)','retry'];a2_0xb2fd=function(){return _0x3f361b;};return a2_0xb2fd();}import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x3df4f4(0x2a4)][a2_0x3df4f4(0x180)](a2_0x3df4f4(0x202))){let versionOutput=a2_0x3df4f4(0x2bf)+currentVersion;buildInfo[a2_0x3df4f4(0x252)]&&!currentVersion[a2_0x3df4f4(0x180)](buildInfo[a2_0x3df4f4(0x252)])&&(versionOutput+='\x20('+buildInfo[a2_0x3df4f4(0x252)]+')'),buildInfo[a2_0x3df4f4(0x2ac)]&&(versionOutput+=a2_0x3df4f4(0x17d)+buildInfo[a2_0x3df4f4(0x2ac)]),console[a2_0x3df4f4(0x379)](versionOutput),process['exit'](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0x3df4f4(0x241);buildInfo[a2_0x3df4f4(0x252)]&&!currentVersion['includes'](buildInfo[a2_0x3df4f4(0x252)])?description+=a2_0x3df4f4(0x3b0)+currentVersion+'\x20('+buildInfo[a2_0x3df4f4(0x252)]+')':description+=',\x20version\x20'+currentVersion;program['name'](a2_0x3df4f4(0x39f))[a2_0x3df4f4(0x357)](description),program['option'](a2_0x3df4f4(0x1d7),'Change\x20to\x20directory\x20before\x20executing\x20command')['option'](a2_0x3df4f4(0x309),'Profile\x20to\x20use\x20(overrides\x20active\x20profile)')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x3cb),a2_0x3df4f4(0x2e3),a2_0x3df4f4(0x251))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x190),a2_0x3df4f4(0x20a))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x353),a2_0x3df4f4(0x230))[a2_0x3df4f4(0x293)]('--json',a2_0x3df4f4(0x1c9))['option']('--jsonl',a2_0x3df4f4(0x283))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x30d),'Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x1bc),a2_0x3df4f4(0x2b0))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x237),a2_0x3df4f4(0x204))['option'](a2_0x3df4f4(0x182),a2_0x3df4f4(0x1ea),![])[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x389),a2_0x3df4f4(0x1ca),![])[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x1a2),a2_0x3df4f4(0x275),![])[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x394),a2_0x3df4f4(0x1bd))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2fa),'Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x27d),a2_0x3df4f4(0x374),'30')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x1be),'Preview\x20operation\x20without\x20executing',![])[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x356),a2_0x3df4f4(0x26d),![])['option']('--session\x20<id>','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20parent\x20PID,\x20allows\x20sharing\x20sessions\x20across\x20processes)')[a2_0x3df4f4(0x293)]('-d,\x20--database\x20<name>',a2_0x3df4f4(0x28f))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x3d1),a2_0x3df4f4(0x1ef))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x24c),a2_0x3df4f4(0x3ae))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x3bf),a2_0x3df4f4(0x21b)),program[a2_0x3df4f4(0x355)]({'formatHelp':(_0x3aac79,_0x1339db)=>{const _0x38824a=a2_0x3df4f4,_0x161154=_0x1339db[_0x38824a(0x363)](_0x3aac79,_0x1339db),_0x426cfe=0x2,_0x317dc8=0x2;function _0x45cca2(_0x577d5a){const _0xfc18fe=_0x38824a,_0x24ee78=_0x577d5a;return!!(_0x24ee78[_0xfc18fe(0x384)]||_0x24ee78[_0xfc18fe(0x1dd)]);}function _0x53b1b6(_0x272d72,_0x36887a){if(_0x36887a){const _0x5f42d0=''+_0x272d72['padEnd'](_0x161154+_0x317dc8)+_0x36887a;return _0x5f42d0;}return _0x272d72;}function _0x500a30(_0x2dba8d){const _0x4c0011=_0x38824a;return _0x2dba8d[_0x4c0011(0x348)]('\x0a')[_0x4c0011(0x3c1)](/^/gm,'\x20'[_0x4c0011(0x1d3)](_0x426cfe));}const _0x116f35=[];_0x116f35[_0x38824a(0x36f)]('Usage:\x20'+_0x1339db[_0x38824a(0x291)](_0x3aac79));const _0x39916e=_0x1339db[_0x38824a(0x235)](_0x3aac79);_0x39916e&&(_0x116f35[_0x38824a(0x36f)](''),_0x116f35['push'](_0x39916e));const _0x5f51d7=_0x3aac79[_0x38824a(0x3a4)]['filter'](_0x3cd63c=>!_0x45cca2(_0x3cd63c));if(_0x5f51d7[_0x38824a(0x297)]>0x0){if(_0x3aac79[_0x38824a(0x371)]()==='tdx'){const _0xcb6d3a=_0x3aac79[_0x38824a(0x323)](),_0x225a30=!_0xcb6d3a[_0x38824a(0x1d6)]&&process[_0x38824a(0x382)]['isTTY'],_0x484c4b=COMMAND_CATEGORIES,_0x3f3a4b=(_0xf078d1,_0x3e181f)=>_0x225a30?_0x3e181f(_0xf078d1):_0xf078d1,_0x5bec26=new Map();_0x5f51d7[_0x38824a(0x2bd)](_0x360acb=>{const _0x52556f=_0x38824a;_0x5bec26[_0x52556f(0x39d)](_0x360acb[_0x52556f(0x371)](),_0x360acb);}),_0x484c4b[_0x38824a(0x2bd)](_0x2e5e25=>{const _0x3806f1=_0x38824a,_0xdc072d=_0x2e5e25[_0x3806f1(0x3a4)][_0x3806f1(0x37b)](_0x947171=>_0x5bec26[_0x3806f1(0x338)](_0x947171)??[]);if(_0xdc072d[_0x3806f1(0x297)]>0x0){_0x116f35[_0x3806f1(0x36f)](''),_0x116f35['push'](_0x3f3a4b(_0x2e5e25['name']+':',_0x2e5e25[_0x3806f1(0x39a)]));const _0x314b6d=_0xdc072d[_0x3806f1(0x23f)](_0x4967dd=>{const _0x622d14=_0x3806f1,_0x167113=_0x1339db['subcommandTerm'](_0x4967dd),_0x4ce600=_0x1339db[_0x622d14(0x1ce)](_0x4967dd);return _0x53b1b6(_0x167113,_0x4ce600);});_0x116f35[_0x3806f1(0x36f)](_0x500a30(_0x314b6d));}}),_0x116f35[_0x38824a(0x36f)](''),_0x116f35[_0x38824a(0x36f)](_0x38824a(0x1ac));}else{const _0x48e9cc=_0x5f51d7[_0x38824a(0x23f)](_0x2231c6=>{const _0x5c9b21=_0x38824a,_0x2916a3=_0x1339db['subcommandTerm'](_0x2231c6),_0x4a5d8c=_0x1339db[_0x5c9b21(0x1ce)](_0x2231c6);return _0x53b1b6(_0x2916a3,_0x4a5d8c);});_0x116f35['push'](''),_0x116f35[_0x38824a(0x36f)](_0x38824a(0x385)),_0x116f35[_0x38824a(0x36f)](_0x500a30(_0x48e9cc));}}if(showBriefHelp&&_0x3aac79[_0x38824a(0x371)]()===_0x38824a(0x39f))_0x116f35['push'](''),_0x116f35[_0x38824a(0x36f)](_0x38824a(0x330));else{const _0x20d198=_0x3aac79[_0x38824a(0x2da)][_0x38824a(0x396)](_0x2f6648=>!_0x45cca2(_0x2f6648));if(_0x20d198['length']>0x0){const _0x555d32=_0x20d198['map'](_0x211784=>{const _0x1c436b=_0x38824a,_0x6c51cf=_0x1339db[_0x1c436b(0x399)](_0x211784),_0x2c5772=_0x1339db[_0x1c436b(0x1aa)](_0x211784);return _0x53b1b6(_0x6c51cf,_0x2c5772);});_0x116f35['push'](''),_0x116f35[_0x38824a(0x36f)](_0x38824a(0x16c)),_0x116f35[_0x38824a(0x36f)](_0x500a30(_0x555d32));}}const _0x1c820f=(_0x3aac79[_0x38824a(0x321)]||[])['filter'](_0xa6fc05=>!_0x45cca2(_0xa6fc05));if(_0x1c820f[_0x38824a(0x297)]>0x0){const _0x52aef0=_0x1c820f[_0x38824a(0x23f)](_0x4aa123=>{const _0x2e5838=_0x38824a,_0x41b6bc=_0x1339db[_0x2e5838(0x32f)](_0x4aa123),_0x38eaab=_0x1339db[_0x2e5838(0x2bb)](_0x4aa123);return _0x53b1b6(_0x41b6bc,_0x38eaab);});_0x116f35[_0x38824a(0x36f)](''),_0x116f35['push'](_0x38824a(0x2e8)),_0x116f35[_0x38824a(0x36f)](_0x500a30(_0x52aef0));}return _0x116f35[_0x38824a(0x348)]('\x0a')+'\x0a';},'subcommandTerm':_0x56acaf=>{const _0x4bf888=a2_0x3df4f4,_0x10e6d7=(_0x56acaf[_0x4bf888(0x321)]||[])[_0x4bf888(0x23f)](_0x3c60b7=>_0x3c60b7[_0x4bf888(0x2e7)]?'<'+_0x3c60b7['name']()+'>':'['+_0x3c60b7[_0x4bf888(0x371)]()+']')[_0x4bf888(0x348)]('\x20'),_0x237e62=_0x56acaf[_0x4bf888(0x1c0)](),_0x505262=_0x237e62[_0x4bf888(0x297)]>0x0?_0x56acaf[_0x4bf888(0x371)]()+',\x20'+_0x237e62[_0x4bf888(0x348)](',\x20'):_0x56acaf[_0x4bf888(0x371)]();return _0x10e6d7?_0x505262+'\x20'+_0x10e6d7:_0x505262;}}),program[a2_0x3df4f4(0x368)](a2_0x3df4f4(0x1a6),_0x4d0131=>{const _0x542965=a2_0x3df4f4,_0x169cca=_0x4d0131[_0x542965(0x323)]();if(_0x169cca[_0x542965(0x188)]){const _0x16bff9=resolve(_0x169cca['directory']),_0x55e6ee=_0x16bff9!==_0x169cca['directory']?'\x20(resolved\x20to\x20'+_0x16bff9+')':'';if(!existsSync(_0x16bff9))throw new SDKError(ErrorCode[_0x542965(0x25f)],'Directory\x20does\x20not\x20exist:\x20'+_0x169cca['directory']+_0x55e6ee,undefined,{'helpText':_0x542965(0x38f)});const _0x20e3c3=statSync(_0x16bff9);if(!_0x20e3c3['isDirectory']())throw new SDKError(ErrorCode[_0x542965(0x25f)],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x169cca[_0x542965(0x188)]+_0x55e6ee,undefined,{'helpText':_0x542965(0x329)});process[_0x542965(0x2ad)](_0x16bff9);}if(!_0x169cca[_0x542965(0x2eb)]){if(_0x169cca[_0x542965(0x364)])_0x169cca['format']=_0x542965(0x364);else{if(_0x169cca['json'])_0x169cca[_0x542965(0x2eb)]='json';else{if(_0x169cca[_0x542965(0x37e)])_0x169cca['format']=_0x542965(0x37e);else _0x169cca[_0x542965(0x303)]&&(_0x169cca['format']=_0x542965(0x303));}}}_0x169cca['in']&&!_0x169cca['database']&&(_0x169cca[_0x542965(0x2e5)]=_0x169cca['in']);if(_0x169cca['trace'])_0x169cca[_0x542965(0x2fc)]=LogLevel[_0x542965(0x2c1)];else{if(_0x169cca['debug'])_0x169cca[_0x542965(0x2fc)]=LogLevel[_0x542965(0x191)];else _0x169cca[_0x542965(0x2fc)]===undefined&&(_0x169cca['logLevel']=LogLevel['INFO']);}});async function createTDXInstance(_0x1ba9a4){const _0x1921e5=a2_0x3df4f4,_0x44491e=await GlobalContext[_0x1921e5(0x35a)](_0x1ba9a4);return _0x44491e[_0x1921e5(0x327)](_0x1ba9a4),TDX['create']({'site':_0x44491e[_0x1921e5(0x1e2)],'apiKey':_0x44491e['apiKey'],'logLevel':_0x44491e[_0x1921e5(0x2fc)],'profile':_0x44491e[_0x1921e5(0x343)]});}const databaseCmd=program[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x2e5))['alias']('db')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x3b5)),databaseListAction=async(_0x5d1395,_0x2f462f)=>{const _0x578f94=a2_0x3df4f4,_0x490da8=new DatabasesCommand(),_0x347bce=program[_0x578f94(0x323)](),_0xc605e8=await createTDXInstance(_0x347bce),_0x37c983=await _0x490da8[_0x578f94(0x1d0)]({'options':{..._0x347bce,..._0x2f462f},'args':_0x5d1395?[_0x5d1395]:[],'tdx':_0xc605e8});process[_0x578f94(0x249)](_0x37c983);};databaseCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x290))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x192))[a2_0x3df4f4(0x2f2)](databaseListAction),program[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x264),{'hidden':!![]})['description'](a2_0x3df4f4(0x32a))[a2_0x3df4f4(0x2f2)](databaseListAction),program[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x203))[a2_0x3df4f4(0x357)]('Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)')[a2_0x3df4f4(0x293)]('--agent\x20<ref>',a2_0x3df4f4(0x1ab))['option'](a2_0x3df4f4(0x298),a2_0x3df4f4(0x273))[a2_0x3df4f4(0x2f2)](async(_0x5f2b6b,_0x40c07a)=>{const _0xb7fdee=a2_0x3df4f4,_0x55fa4e=new ChatCommand(),_0x34ae84=program[_0xb7fdee(0x323)](),_0x99cee=await createTDXInstance(_0x34ae84),_0x411ba8=await _0x55fa4e[_0xb7fdee(0x1d0)]({'options':{..._0x34ae84,..._0x40c07a},'args':_0x5f2b6b,'tdx':_0x99cee});process[_0xb7fdee(0x249)](_0x411ba8);});const apiCmd=program[a2_0x3df4f4(0x22f)]('api\x20[endpoint]')['summary'](a2_0x3df4f4(0x341))[a2_0x3df4f4(0x3a6)](a2_0x3df4f4(0x1e6),a2_0x3df4f4(0x302))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x383),a2_0x3df4f4(0x390),a2_0x3df4f4(0x3b9))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x223),'Request\x20body\x20as\x20JSON\x20string')['option'](a2_0x3df4f4(0x236),a2_0x3df4f4(0x2cf))[a2_0x3df4f4(0x293)]('-H,\x20--header\x20<header>','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x343817,_0x35a4e2)=>{return _0x35a4e2?[..._0x35a4e2,_0x343817]:[_0x343817];})[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x265),a2_0x3df4f4(0x233),'td')[a2_0x3df4f4(0x2f2)](async(_0x2e58e4,_0x54921f)=>{const _0x34da2a=a2_0x3df4f4;if(!_0x2e58e4){apiCmd[_0x34da2a(0x31b)]();return;}const _0x35c85a=new ApiCommand(),_0x15bd97=program['opts'](),_0x389f29=await createTDXInstance(_0x15bd97),_0x40d160=await _0x35c85a['run']({'options':{..._0x15bd97,..._0x54921f},'args':[_0x2e58e4],'tdx':_0x389f29});process[_0x34da2a(0x249)](_0x40d160);});program[a2_0x3df4f4(0x22f)]('mcp')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x274))['addHelpText'](a2_0x3df4f4(0x1e6),a2_0x3df4f4(0x32e))[a2_0x3df4f4(0x2f2)](async _0x117d5e=>{const _0x5bab5a=a2_0x3df4f4,_0x3cb8cd=new MCPCommand(),_0xfb388b=program[_0x5bab5a(0x323)](),_0xd5ba63=await createTDXInstance(_0xfb388b),_0x67eb94=await _0x3cb8cd['run']({'options':{..._0xfb388b,..._0x117d5e},'args':[],'tdx':_0xd5ba63});process[_0x5bab5a(0x249)](_0x67eb94);});const tableCmd=program['command']('table')['description'](a2_0x3df4f4(0x35d)),tableListAction=async(_0x12e4a1,_0xf9123d)=>{const _0x2f9911=a2_0x3df4f4,_0x7e00b9=new TablesCommand(),_0x18bd3e=program['opts'](),_0xc63b93=await createTDXInstance(_0x18bd3e);_0xf9123d['in']&&(_0xf9123d['database']=_0xf9123d['in']);const _0x5f182e=await _0x7e00b9['run']({'options':{..._0x18bd3e,..._0xf9123d},'args':_0x12e4a1?[_0x12e4a1]:[],'tdx':_0xc63b93});process[_0x2f9911(0x249)](_0x5f182e);};tableCmd['command']('list\x20[pattern]')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x2f9))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2d1),a2_0x3df4f4(0x310))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x3c2),a2_0x3df4f4(0x1ef))[a2_0x3df4f4(0x2f2)](tableListAction),program[a2_0x3df4f4(0x22f)]('tables\x20[pattern]',{'hidden':!![]})[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x221))['option'](a2_0x3df4f4(0x2d1),a2_0x3df4f4(0x310))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x3c2),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x3df4f4(0x2f2)](tableListAction),program[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x1f3))['description'](a2_0x3df4f4(0x1b7))[a2_0x3df4f4(0x293)]('-d,\x20--database\x20<database>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x3c2),a2_0x3df4f4(0x1ef))[a2_0x3df4f4(0x2f2)](async(_0x400203,_0x2adcb1)=>{const _0xc2d22c=a2_0x3df4f4,_0x2be6ef=new ShowCommand(),_0x1364db=program[_0xc2d22c(0x323)](),_0x3b1f94=await createTDXInstance(_0x1364db);_0x2adcb1['in']&&(_0x2adcb1[_0xc2d22c(0x2e5)]=_0x2adcb1['in']);const _0x5dc46f=await _0x2be6ef['run']({'options':{..._0x1364db,..._0x2adcb1},'args':_0x400203?[_0x400203]:[],'tdx':_0x3b1f94});process[_0xc2d22c(0x249)](_0x5dc46f);}),program[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x397))[a2_0x3df4f4(0x1c2)](a2_0x3df4f4(0x1df))[a2_0x3df4f4(0x357)]('Describe\x20table\x20schema')['option'](a2_0x3df4f4(0x2d1),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x3c2),a2_0x3df4f4(0x1ef))['action'](async(_0x182c45,_0x2a743f)=>{const _0x2ee8cf=a2_0x3df4f4,_0x30a354=new DescribeCommand(),_0x47d84d=program['opts'](),_0xd93b1f=await createTDXInstance(_0x47d84d);_0x2a743f['in']&&(_0x2a743f['database']=_0x2a743f['in']);const _0x5339a6=await _0x30a354['run']({'options':{..._0x47d84d,..._0x2a743f},'args':_0x182c45?[_0x182c45]:[],'tdx':_0xd93b1f});process[_0x2ee8cf(0x249)](_0x5339a6);}),program['command'](a2_0x3df4f4(0x21e))['description']('Run\x20Trino\x20query\x20with\x20streaming\x20results')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2d1),a2_0x3df4f4(0x1cf))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x3c2),a2_0x3df4f4(0x1ef))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x1f0),a2_0x3df4f4(0x194))['option'](a2_0x3df4f4(0x236),a2_0x3df4f4(0x375))['option'](a2_0x3df4f4(0x207),a2_0x3df4f4(0x25b),'40')[a2_0x3df4f4(0x2f2)](async(_0x56c96d,_0x39b700)=>{const _0x2df4f3=a2_0x3df4f4,_0xef4b2a=new QueryCommand(),_0x507a6e=program['opts'](),_0x426a2b=await createTDXInstance(_0x507a6e);_0x39b700['in']&&(_0x39b700['database']=_0x39b700['in']);const _0x4baa4c=await _0xef4b2a['run']({'options':{..._0x507a6e,..._0x39b700},'args':_0x56c96d?[_0x56c96d]:[],'tdx':_0x426a2b});process[_0x2df4f3(0x249)](_0x4baa4c);});const segmentCmd=program[a2_0x3df4f4(0x22f)]('segment')[a2_0x3df4f4(0x1c2)]('sg')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x1f9)),segmentListAction=async(_0x35323a,_0x22dd37)=>{const _0x19e480=a2_0x3df4f4,_0x275199=new SegmentsCommand(),_0x4e401f=program[_0x19e480(0x323)](),_0x4440d5=await createTDXInstance(_0x4e401f),_0x58bfda=await _0x275199[_0x19e480(0x1d0)]({'options':{..._0x4e401f,..._0x22dd37},'args':_0x35323a?[_0x35323a]:[],'tdx':_0x4440d5});process[_0x19e480(0x249)](_0x58bfda);};segmentCmd[a2_0x3df4f4(0x22f)]('list\x20[path]')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x28e))[a2_0x3df4f4(0x293)]('-r,\x20--recursive',a2_0x3df4f4(0x1f8))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x22d),a2_0x3df4f4(0x2c3),'10')[a2_0x3df4f4(0x2f2)](segmentListAction),program[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x2a1),{'hidden':!![]})[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x226))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x17c),a2_0x3df4f4(0x1f8))['option'](a2_0x3df4f4(0x22d),a2_0x3df4f4(0x2c3),'10')[a2_0x3df4f4(0x2f2)](segmentListAction),segmentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x307),{'hidden':!![]})['description']('[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)')['action'](async(_0x5ebbe9,_0x300cde)=>{const _0x3437f3=a2_0x3df4f4,_0x2419a1=new SegmentUseCommand(),_0x498dde=program[_0x3437f3(0x323)](),_0x4adce1=await createTDXInstance(_0x498dde),_0x5bb66a=await _0x2419a1[_0x3437f3(0x1d0)]({'options':{..._0x498dde,..._0x300cde},'args':[_0x5ebbe9],'tdx':_0x4adce1});process['exit'](_0x5bb66a);});const segmentViewAction=async(_0x4b6b55,_0x26cfaf)=>{const _0x4a403c=a2_0x3df4f4,_0x4b3cef=new SegmentViewCommand(),_0x2184c5=program[_0x4a403c(0x323)](),_0x4f6113=await createTDXInstance(_0x2184c5),_0xc577a=await _0x4b3cef['run']({'options':{..._0x2184c5,..._0x26cfaf},'args':_0x4b6b55?[_0x4b6b55]:[],'tdx':_0x4f6113});process[_0x4a403c(0x249)](_0xc577a);};segmentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x257))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x2c4))['option'](a2_0x3df4f4(0x3c7),'Open\x20segment\x20in\x20web\x20browser')[a2_0x3df4f4(0x2f2)](segmentViewAction),segmentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x1c1),{'hidden':!![]})[a2_0x3df4f4(0x1c2)](a2_0x3df4f4(0x23b))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x3c7),a2_0x3df4f4(0x174))[a2_0x3df4f4(0x357)]('Show\x20segment\x20details\x20(alias\x20for\x20view)')[a2_0x3df4f4(0x2f2)](segmentViewAction),segmentCmd['command'](a2_0x3df4f4(0x337))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x26a))['action'](async(_0x1c1802,_0x4beef1)=>{const _0x4f6d81=a2_0x3df4f4,_0x5acf5d=new SegmentDescCommand(),_0x5d04b2=program[_0x4f6d81(0x323)](),_0x138990=await createTDXInstance(_0x5d04b2),_0xeacbb4=await _0x5acf5d[_0x4f6d81(0x1d0)]({'options':{..._0x5d04b2,..._0x4beef1},'args':_0x1c1802?[_0x1c1802]:[],'tdx':_0x138990});process[_0x4f6d81(0x249)](_0xeacbb4);}),segmentCmd['command'](a2_0x3df4f4(0x19e))['description'](a2_0x3df4f4(0x33e))['action'](async(_0x24bfb4,_0x2d456d)=>{const _0x337cb8=a2_0x3df4f4,_0x20e679=new SegmentShowCommand(),_0xba135e=program[_0x337cb8(0x323)](),_0x377ff8=await createTDXInstance(_0xba135e),_0x4788c8=await _0x20e679[_0x337cb8(0x1d0)]({'options':{..._0xba135e,..._0x2d456d},'args':_0x24bfb4?[_0x24bfb4]:[],'tdx':_0x377ff8});process[_0x337cb8(0x249)](_0x4788c8);}),segmentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x1cb),{'hidden':!![]})[a2_0x3df4f4(0x357)]('[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)')[a2_0x3df4f4(0x2f2)](async(_0x14dd22,_0x4446d1)=>{const _0x3419d1=a2_0x3df4f4,_0x14985c=new SegmentFolderListCommand(),_0x2ef18d=program[_0x3419d1(0x323)](),_0x47e432=await createTDXInstance(_0x2ef18d),_0x15282d=await _0x14985c[_0x3419d1(0x1d0)]({'options':{..._0x2ef18d,..._0x4446d1},'args':[_0x14dd22],'tdx':_0x47e432});process[_0x3419d1(0x249)](_0x15282d);});const folderCmd=segmentCmd[a2_0x3df4f4(0x22f)]('folder',{'hidden':!![]})['description'](a2_0x3df4f4(0x3a7));folderCmd['command']('show\x20<folder_ref>')[a2_0x3df4f4(0x357)]('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')['action'](async(_0x2faa2a,_0x2afca4)=>{const _0x24c677=a2_0x3df4f4,_0x3600d9=new SegmentFolderShowCommand(),_0x4c217d=program['opts'](),_0x430f2d=await createTDXInstance(_0x4c217d),_0x4a47b4=await _0x3600d9[_0x24c677(0x1d0)]({'options':{..._0x4c217d,..._0x2afca4},'args':[_0x2faa2a],'tdx':_0x430f2d});process[_0x24c677(0x249)](_0x4a47b4);}),segmentCmd['command']('sql\x20[segment_name]')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x3d2))[a2_0x3df4f4(0x2f2)](async(_0x63ed2,_0x2c57be)=>{const _0x47fc2e=a2_0x3df4f4,_0x4e818f=new SegmentSQLCommand(),_0x53373b=program[_0x47fc2e(0x323)](),_0x441427=await createTDXInstance(_0x53373b),_0x48c15b=await _0x4e818f[_0x47fc2e(0x1d0)]({'options':{..._0x53373b,..._0x2c57be},'args':_0x63ed2?[_0x63ed2]:[],'tdx':_0x441427});process[_0x47fc2e(0x249)](_0x48c15b);}),segmentCmd[a2_0x3df4f4(0x22f)]('fields\x20[parent_name]')['description']('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)')[a2_0x3df4f4(0x2f2)](async(_0xa088ce,_0xbfa40b)=>{const _0x13b51c=a2_0x3df4f4,_0x2da8ba=new SegmentFieldsCommand(),_0x1976e4=program[_0x13b51c(0x323)](),_0xdd450c=await createTDXInstance(_0x1976e4),_0x26f59d=await _0x2da8ba[_0x13b51c(0x1d0)]({'options':{..._0x1976e4,..._0xbfa40b},'args':_0xa088ce?[_0xa088ce]:[],'tdx':_0xdd450c});process[_0x13b51c(0x249)](_0x26f59d);}),segmentCmd['command'](a2_0x3df4f4(0x359))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x3b2))['option']('-y,\x20--yes','Skip\x20confirmation\x20prompts')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x1be),a2_0x3df4f4(0x259))['action'](async(_0x1301b7,_0x18018e)=>{const _0x4262b5=a2_0x3df4f4,_0x23f4d8=new SegmentPullCommand(),_0x490c3b=program['opts'](),_0x15be00=await createTDXInstance(_0x490c3b),_0x2f5e85=await _0x23f4d8[_0x4262b5(0x1d0)]({'options':{..._0x490c3b,..._0x18018e},'args':_0x1301b7?[_0x1301b7]:[],'tdx':_0x15be00});process[_0x4262b5(0x249)](_0x2f5e85);}),segmentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x262))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x34f))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x356),a2_0x3df4f4(0x26d))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x1be),a2_0x3df4f4(0x259))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x284),a2_0x3df4f4(0x172))[a2_0x3df4f4(0x2f2)](async(_0x3905e8,_0x20c0ed)=>{const _0x1b7989=a2_0x3df4f4,_0x5eafca=new SegmentPushCommand(),_0x519270=program[_0x1b7989(0x323)](),_0x4800ad=await createTDXInstance(_0x519270),_0x34a78f=await _0x5eafca[_0x1b7989(0x1d0)]({'options':{..._0x519270,..._0x20c0ed},'args':_0x3905e8?[_0x3905e8]:[],'tdx':_0x4800ad});process[_0x1b7989(0x249)](_0x34a78f);}),segmentCmd['command'](a2_0x3df4f4(0x19b))['description'](a2_0x3df4f4(0x234))[a2_0x3df4f4(0x2f2)](async(_0x1c4b0a,_0x1e8ed4)=>{const _0x326fd4=a2_0x3df4f4,_0x4d4a4c=new SegmentValidateCommand(),_0x16e080=program[_0x326fd4(0x323)](),_0x5a9dc3=await createTDXInstance(_0x16e080),_0x3ff330=await _0x4d4a4c[_0x326fd4(0x1d0)]({'options':{..._0x16e080,..._0x1e8ed4},'args':_0x1c4b0a?[_0x1c4b0a]:[],'tdx':_0x5a9dc3});process[_0x326fd4(0x249)](_0x3ff330);}),segmentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x300),{'hidden':!![]})[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x349))[a2_0x3df4f4(0x293)]('--description\x20<text>',a2_0x3df4f4(0x2ab))['option'](a2_0x3df4f4(0x2ff),a2_0x3df4f4(0x35b))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x1b2),'Filtering\x20rule\x20from\x20JSON\x20file')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x19d),a2_0x3df4f4(0x367))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x22e),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x3df4f4(0x293)]('--invisible',a2_0x3df4f4(0x358))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x20e),a2_0x3df4f4(0x37f))[a2_0x3df4f4(0x2f2)](async(_0x335611,_0x4caf20)=>{const _0x192775=a2_0x3df4f4,_0x3fb19f=new SegmentCreateCommand(),_0x45cabe=program[_0x192775(0x323)](),_0x5cf782=await createTDXInstance(_0x45cabe),_0x5b3cf4=await _0x3fb19f[_0x192775(0x1d0)]({'options':{..._0x45cabe,..._0x4caf20},'args':[_0x335611],'tdx':_0x5cf782});process['exit'](_0x5b3cf4);}),segmentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x255),{'hidden':!![]})['description'](a2_0x3df4f4(0x3b8))[a2_0x3df4f4(0x293)]('--name\x20<new_name>',a2_0x3df4f4(0x30c))[a2_0x3df4f4(0x293)]('--description\x20<text>','Updated\x20description')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2ff),'Updated\x20filtering\x20rule\x20as\x20JSON\x20string')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x1b2),a2_0x3df4f4(0x34c))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x19d),'Move\x20to\x20folder')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x22e),a2_0x3df4f4(0x18d))[a2_0x3df4f4(0x2f2)](async(_0xc051eb,_0x5db23c)=>{const _0x1d0bec=a2_0x3df4f4,_0x3b8b25=new SegmentUpdateCommand(),_0x3389d1=program[_0x1d0bec(0x323)](),_0x501300=await createTDXInstance(_0x3389d1),_0x5c8fcf=await _0x3b8b25['run']({'options':{..._0x3389d1,..._0x5db23c},'args':[_0xc051eb],'tdx':_0x501300});process['exit'](_0x5c8fcf);});const parentCmd=segmentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x392),{'hidden':!![]})[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x3be)),parentListAction=async(_0x15560c,_0x2229ae)=>{const _0x39217b=a2_0x3df4f4,_0x49c566=new ParentSegmentListCommand(),_0x413337=program[_0x39217b(0x323)](),_0x46a31f=await createTDXInstance(_0x413337),_0x1a145a=await _0x49c566[_0x39217b(0x1d0)]({'options':{..._0x413337,..._0x2229ae},'args':_0x15560c?[_0x15560c]:[],'tdx':_0x46a31f});process[_0x39217b(0x249)](_0x1a145a);};parentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x290))['description'](a2_0x3df4f4(0x339))[a2_0x3df4f4(0x2f2)](parentListAction),segmentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x1bf),{'hidden':!![]})[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x187))[a2_0x3df4f4(0x2f2)](parentListAction),parentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x248))[a2_0x3df4f4(0x357)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x270),'Output\x20file\x20path\x20(default:\x20<name>.yml)')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x356),a2_0x3df4f4(0x1c7))[a2_0x3df4f4(0x2f2)](async(_0x20adba,_0x5b4e7b)=>{const _0x2570e3=a2_0x3df4f4,_0x4137da=new ParentSegmentPullCommand(),_0x565dd2=program[_0x2570e3(0x323)](),_0x37d79c=await createTDXInstance(_0x565dd2),_0x3bef81=await _0x4137da['run']({'options':{..._0x565dd2,..._0x5b4e7b},'args':_0x20adba?[_0x20adba]:[],'tdx':_0x37d79c});process[_0x2570e3(0x249)](_0x3bef81);}),parentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x29c))['description'](a2_0x3df4f4(0x260))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x356),a2_0x3df4f4(0x1c7))['action'](async(_0x185c65,_0x1d2b59)=>{const _0x3049aa=a2_0x3df4f4,_0x8f2844=new ParentSegmentPushCommand(),_0x208ab0=program[_0x3049aa(0x323)](),_0x28b3f4=await createTDXInstance(_0x208ab0),_0xb556ad=await _0x8f2844[_0x3049aa(0x1d0)]({'options':{..._0x208ab0,..._0x1d2b59},'args':_0x185c65?[_0x185c65]:[],'tdx':_0x28b3f4});process[_0x3049aa(0x249)](_0xb556ad);}),parentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x37c))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x2fd))['option'](a2_0x3df4f4(0x2f5),a2_0x3df4f4(0x205))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x33a),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x326),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')['option'](a2_0x3df4f4(0x18f),a2_0x3df4f4(0x24a))['option'](a2_0x3df4f4(0x1b3),a2_0x3df4f4(0x312),a2_0x3df4f4(0x208))['action'](async(_0x12963b,_0x9791d)=>{const _0xa7047d=new ParentSegmentValidateCommand(),_0x1bc4ce=program['opts'](),_0x3c5ea0=await createTDXInstance(_0x1bc4ce),_0x5ef29c=await _0xa7047d['run']({'options':{..._0x1bc4ce,..._0x9791d},'args':_0x12963b?[_0x12963b]:[],'tdx':_0x3c5ea0});process['exit'](_0x5ef29c);}),parentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x21f))['description'](a2_0x3df4f4(0x391))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2f5),a2_0x3df4f4(0x2f0))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x33a),a2_0x3df4f4(0x189))[a2_0x3df4f4(0x293)]('--behavior\x20[name]',a2_0x3df4f4(0x2ca))[a2_0x3df4f4(0x293)]('--enriched','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')['option'](a2_0x3df4f4(0x1b3),a2_0x3df4f4(0x312),a2_0x3df4f4(0x208))[a2_0x3df4f4(0x2f2)](async(_0x2213db,_0x3c27d6)=>{const _0x593176=a2_0x3df4f4,_0x4181c1=new ParentSegmentPreviewCommand(),_0x5881f2=program[_0x593176(0x323)](),_0x1818c7=await createTDXInstance(_0x5881f2),_0x2848e7=await _0x4181c1[_0x593176(0x1d0)]({'options':{..._0x5881f2,..._0x3c27d6},'args':_0x2213db?[_0x2213db]:[],'tdx':_0x1818c7});process[_0x593176(0x249)](_0x2848e7);}),parentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x3ac))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x387))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x356),'Skip\x20confirmation\x20prompt')[a2_0x3df4f4(0x2f2)](async(_0x1eb8c7,_0x679484)=>{const _0x2319e5=a2_0x3df4f4,_0xa81a89=new ParentSegmentRunCommand(),_0x21e4ac=program[_0x2319e5(0x323)](),_0x14e522=await createTDXInstance(_0x21e4ac),_0x8c5992=await _0xa81a89[_0x2319e5(0x1d0)]({'options':{..._0x21e4ac,..._0x679484},'args':_0x1eb8c7?[_0x1eb8c7]:[],'tdx':_0x14e522});process[_0x2319e5(0x249)](_0x8c5992);});const parentSegmentCmd=program['command'](a2_0x3df4f4(0x2c8))[a2_0x3df4f4(0x1c2)]('ps')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x1d8));parentSegmentCmd['command'](a2_0x3df4f4(0x290))['description'](a2_0x3df4f4(0x339))[a2_0x3df4f4(0x2f2)](parentListAction),parentSegmentCmd[a2_0x3df4f4(0x22f)]('pull\x20[name]')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x17a))[a2_0x3df4f4(0x293)]('-o,\x20--output\x20<file>',a2_0x3df4f4(0x21d))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x356),a2_0x3df4f4(0x1c7))[a2_0x3df4f4(0x293)]('-u,\x20--use',a2_0x3df4f4(0x3b3))['action'](async(_0x89eccb,_0x11e4ab)=>{const _0x392e5f=a2_0x3df4f4,_0x3c4d0b=new ParentSegmentPullCommand(),_0x40ecb9=program[_0x392e5f(0x323)](),_0x570387=await createTDXInstance(_0x40ecb9),_0x3c0ecd=await _0x3c4d0b['run']({'options':{..._0x40ecb9,..._0x11e4ab},'args':_0x89eccb?[_0x89eccb]:[],'tdx':_0x570387});process[_0x392e5f(0x249)](_0x3c0ecd);}),parentSegmentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x268))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x28a))['option'](a2_0x3df4f4(0x356),a2_0x3df4f4(0x1c7))[a2_0x3df4f4(0x2f2)](async(_0x3f6cca,_0x4251e6)=>{const _0x60ec49=a2_0x3df4f4,_0x179544=new ParentSegmentPushCommand(),_0x52621e=program['opts'](),_0x470c21=await createTDXInstance(_0x52621e),_0x48f948=await _0x179544[_0x60ec49(0x1d0)]({'options':{..._0x52621e,..._0x4251e6},'args':_0x3f6cca?[_0x3f6cca]:[],'tdx':_0x470c21});process[_0x60ec49(0x249)](_0x48f948);}),parentSegmentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x36e))[a2_0x3df4f4(0x357)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')['option'](a2_0x3df4f4(0x2f5),a2_0x3df4f4(0x205))['option'](a2_0x3df4f4(0x33a),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x3df4f4(0x293)]('--behavior\x20[name]',a2_0x3df4f4(0x1db))[a2_0x3df4f4(0x293)]('--enriched',a2_0x3df4f4(0x24a))['option']('--interval\x20<range>',a2_0x3df4f4(0x312),a2_0x3df4f4(0x208))[a2_0x3df4f4(0x2f2)](async(_0x328116,_0x5b8699)=>{const _0x38472c=a2_0x3df4f4,_0x29012f=new ParentSegmentValidateCommand(),_0xe3c2ce=program[_0x38472c(0x323)](),_0x22f9f9=await createTDXInstance(_0xe3c2ce),_0x3dc83e=await _0x29012f['run']({'options':{..._0xe3c2ce,..._0x5b8699},'args':_0x328116?[_0x328116]:[],'tdx':_0x22f9f9});process[_0x38472c(0x249)](_0x3dc83e);}),parentSegmentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x19c))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x391))[a2_0x3df4f4(0x293)]('--master',a2_0x3df4f4(0x2f0))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x33a),a2_0x3df4f4(0x189))['option'](a2_0x3df4f4(0x326),a2_0x3df4f4(0x2ca))['option'](a2_0x3df4f4(0x18f),a2_0x3df4f4(0x1ae))['option'](a2_0x3df4f4(0x1b3),a2_0x3df4f4(0x312),a2_0x3df4f4(0x208))['action'](async(_0x48d99a,_0x5c7281)=>{const _0x86c32=a2_0x3df4f4,_0x40092a=new ParentSegmentPreviewCommand(),_0xa06b6d=program[_0x86c32(0x323)](),_0x5d3ce2=await createTDXInstance(_0xa06b6d),_0x39789c=await _0x40092a[_0x86c32(0x1d0)]({'options':{..._0xa06b6d,..._0x5c7281},'args':_0x48d99a?[_0x48d99a]:[],'tdx':_0x5d3ce2});process['exit'](_0x39789c);}),parentSegmentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x3ac))['description'](a2_0x3df4f4(0x387))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x356),a2_0x3df4f4(0x1c7))['action'](async(_0x2b63b9,_0x216d45)=>{const _0x5d3f06=a2_0x3df4f4,_0x45bb30=new ParentSegmentRunCommand(),_0x156975=program[_0x5d3f06(0x323)](),_0x2fe868=await createTDXInstance(_0x156975),_0x12bc7d=await _0x45bb30['run']({'options':{..._0x156975,..._0x216d45},'args':_0x2b63b9?[_0x2b63b9]:[],'tdx':_0x2fe868});process[_0x5d3f06(0x249)](_0x12bc7d);}),parentSegmentCmd['command'](a2_0x3df4f4(0x2c6))[a2_0x3df4f4(0x357)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x227),a2_0x3df4f4(0x334))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x35f),a2_0x3df4f4(0x1dc))['action'](async(_0x1c2a68,_0x5d0a80)=>{const _0x591040=a2_0x3df4f4,_0x4cfd3b=new ParentSegmentFieldsCommand(),_0x2388a2=program[_0x591040(0x323)](),_0x97a6a6=await createTDXInstance(_0x2388a2),_0x208cca=await _0x4cfd3b[_0x591040(0x1d0)]({'options':{..._0x2388a2,..._0x5d0a80},'args':_0x1c2a68?[_0x1c2a68]:[],'tdx':_0x97a6a6});process['exit'](_0x208cca);}),parentSegmentCmd['command'](a2_0x3df4f4(0x2cb))['description'](a2_0x3df4f4(0x306))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x3c7),'Open\x20parent\x20segment\x20in\x20web\x20browser')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x227),a2_0x3df4f4(0x334))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x35f),a2_0x3df4f4(0x1dc))[a2_0x3df4f4(0x2f2)](async(_0x56b6a7,_0x2ecb86)=>{const _0x1ded4e=a2_0x3df4f4,_0x566862=new ParentSegmentViewCommand(),_0x3e6b8a=program['opts'](),_0x8a1ac6=await createTDXInstance(_0x3e6b8a),_0x396f43=await _0x566862[_0x1ded4e(0x1d0)]({'options':{..._0x3e6b8a,..._0x2ecb86},'args':_0x56b6a7?[_0x56b6a7]:[],'tdx':_0x8a1ac6});process[_0x1ded4e(0x249)](_0x396f43);}),parentSegmentCmd['command']('desc\x20[name]')[a2_0x3df4f4(0x357)]('Show\x20parent\x20segment\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x3df4f4(0x227),'Output\x20as\x20JSON')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x35f),a2_0x3df4f4(0x1dc))['action'](async(_0x3db60a,_0x5e672a)=>{const _0x3e3a39=a2_0x3df4f4,_0x38c6ea=new ParentSegmentDescCommand(),_0x55ffb3=program[_0x3e3a39(0x323)](),_0x5de9bc=await createTDXInstance(_0x55ffb3),_0x2fe10b=await _0x38c6ea[_0x3e3a39(0x1d0)]({'options':{..._0x55ffb3,..._0x5e672a},'args':_0x3db60a?[_0x3db60a]:[],'tdx':_0x5de9bc});process[_0x3e3a39(0x249)](_0x2fe10b);}),parentSegmentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x1fd))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x3aa))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x227),a2_0x3df4f4(0x334))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x35f),a2_0x3df4f4(0x1dc))[a2_0x3df4f4(0x2f2)](async(_0xd74485,_0x3c8416)=>{const _0x37ee53=a2_0x3df4f4,_0x332955=new ParentSegmentSQLCommand(),_0x27d989=program[_0x37ee53(0x323)](),_0x3ac891=await createTDXInstance(_0x27d989),_0x14196d=await _0x332955['run']({'options':{..._0x27d989,..._0x3c8416},'args':_0xd74485?[_0xd74485]:[],'tdx':_0x3ac891});process[_0x37ee53(0x249)](_0x14196d);}),parentSegmentCmd['command']('show\x20[name]')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x37a))[a2_0x3df4f4(0x293)]('--limit\x20<n>',a2_0x3df4f4(0x2e0))[a2_0x3df4f4(0x293)]('--json',a2_0x3df4f4(0x334))[a2_0x3df4f4(0x293)]('--jsonl',a2_0x3df4f4(0x1dc))[a2_0x3df4f4(0x2f2)](async(_0x22b8ce,_0x5a7323)=>{const _0x550d2d=a2_0x3df4f4,_0x48e0af=new ParentSegmentShowCommand(),_0x2655b4=program[_0x550d2d(0x323)](),_0x2a94c8=await createTDXInstance(_0x2655b4),_0x1897d6=await _0x48e0af[_0x550d2d(0x1d0)]({'options':{..._0x2655b4,..._0x5a7323},'args':_0x22b8ce?[_0x22b8ce]:[],'tdx':_0x2a94c8});process['exit'](_0x1897d6);}),parentSegmentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x269))['description'](a2_0x3df4f4(0x229))[a2_0x3df4f4(0x2f2)](async(_0x205b2f,_0x23b958)=>{const _0x183e0e=a2_0x3df4f4,_0x508195=new UseCommand(),_0x3ed777=program[_0x183e0e(0x323)](),_0x348d6e=_0x205b2f?[_0x183e0e(0x219),_0x205b2f]:[],_0x4a9db2=await _0x508195['run']({'options':{..._0x3ed777,..._0x23b958},'args':_0x348d6e,'tdx':null});process[_0x183e0e(0x249)](_0x4a9db2);}),parentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x33c))[a2_0x3df4f4(0x357)]('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x3df4f4(0x3c0)](a2_0x3df4f4(0x3a8),a2_0x3df4f4(0x2a6))[a2_0x3df4f4(0x3c0)](a2_0x3df4f4(0x282),'Master\x20table\x20name')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x31f),a2_0x3df4f4(0x369))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x210),'Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')['option']('--schedule-option\x20<value>',a2_0x3df4f4(0x3b1))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x386),'Timezone\x20(e.g.,\x20America/Los_Angeles)')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x347),a2_0x3df4f4(0x1a9))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x25c),'Attributes\x20from\x20JSON\x20file')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x345),'Behaviors\x20as\x20JSON\x20string')['option'](a2_0x3df4f4(0x3d5),a2_0x3df4f4(0x1c3))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x1b0),a2_0x3df4f4(0x2a5))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2f7),'Customer\x20group\x20from\x20JSON\x20file')[a2_0x3df4f4(0x2f2)](async(_0x3b10a2,_0x3a6596)=>{const _0x3efd25=a2_0x3df4f4,_0x3e2e03=new ParentSegmentCreateCommand(),_0x1e7d4f=program['opts'](),_0x52d4ca=await createTDXInstance(_0x1e7d4f),_0x277184=await _0x3e2e03['run']({'options':{..._0x1e7d4f,..._0x3a6596},'args':[_0x3b10a2],'tdx':_0x52d4ca});process[_0x3efd25(0x249)](_0x277184);}),parentCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x2d9))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x30e))[a2_0x3df4f4(0x293)]('--description\x20<text>',a2_0x3df4f4(0x314))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x210),'Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x199),a2_0x3df4f4(0x2e6))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x386),a2_0x3df4f4(0x1ff))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x28d),'Add\x20attributes\x20as\x20JSON\x20string')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x195),a2_0x3df4f4(0x16e))[a2_0x3df4f4(0x293)]('--add-behaviors\x20<json>',a2_0x3df4f4(0x2b4))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x3b7),'Add\x20behaviors\x20from\x20JSON\x20file')['action'](async(_0x29ed7a,_0x1e0b94)=>{const _0x41b2dc=a2_0x3df4f4,_0x12f2b3=new ParentSegmentUpdateCommand(),_0x484972=program[_0x41b2dc(0x323)](),_0x456107=await createTDXInstance(_0x484972),_0x509d44=await _0x12f2b3[_0x41b2dc(0x1d0)]({'options':{..._0x484972,..._0x1e0b94},'args':[_0x29ed7a],'tdx':_0x456107});process[_0x41b2dc(0x249)](_0x509d44);}),folderCmd[a2_0x3df4f4(0x22f)]('create\x20<parent_name>\x20<folder_name>')['description'](a2_0x3df4f4(0x173))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x31f),a2_0x3df4f4(0x2d2))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x19f),'Parent\x20folder\x20name\x20for\x20nested\x20folders')['action'](async(_0x4ef688,_0x5b7ba6,_0x2b68bd)=>{const _0x268cd6=a2_0x3df4f4,_0x23f275=new SegmentFolderCreateCommand(),_0x383391=program[_0x268cd6(0x323)](),_0x43014e=await createTDXInstance(_0x383391),_0x54bc51=await _0x23f275[_0x268cd6(0x1d0)]({'options':{..._0x383391,..._0x2b68bd},'args':[_0x4ef688,_0x5b7ba6],'tdx':_0x43014e});process[_0x268cd6(0x249)](_0x54bc51);}),program[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x217))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x2b7))[a2_0x3df4f4(0x2f2)](async(_0x42ed2c,_0x5aaa9a)=>{const _0x40002c=a2_0x3df4f4,_0xb150a7=new ActivationsCommand(),_0x1b2428=program[_0x40002c(0x323)](),_0x4ad8c8=await createTDXInstance(_0x1b2428),_0x39323f=await _0xb150a7[_0x40002c(0x1d0)]({'options':{..._0x1b2428,..._0x5aaa9a},'args':[_0x42ed2c],'tdx':_0x4ad8c8});process[_0x40002c(0x249)](_0x39323f);});const workflowCmd=program['command'](a2_0x3df4f4(0x214))[a2_0x3df4f4(0x1c2)]('wf')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x1c8)),wfProjectCmd=workflowCmd['command'](a2_0x3df4f4(0x31a))['description']('Workflow\x20project\x20management'),wfProjectListAction=async(_0x4b95d3,_0x3bb334)=>{const _0x13d405=a2_0x3df4f4,_0x1af6b9=new WorkflowProjectsCommand(),_0x575d41=program['opts'](),_0x478f59=await createTDXInstance(_0x575d41),_0x23ac25=await _0x1af6b9[_0x13d405(0x1d0)]({'options':{..._0x575d41,..._0x3bb334},'args':_0x4b95d3?[_0x4b95d3]:[],'tdx':_0x478f59});process[_0x13d405(0x249)](_0x23ac25);};wfProjectCmd[a2_0x3df4f4(0x22f)]('list\x20[pattern]')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x313))[a2_0x3df4f4(0x2f2)](wfProjectListAction),workflowCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x1d2))[a2_0x3df4f4(0x357)]('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0x3df4f4(0x2f2)](wfProjectListAction);const wfWorkflowListAction=async(_0x31ac5a,_0x1f73c0)=>{const _0x57e4fd=a2_0x3df4f4,_0x56bd7b=new WorkflowWorkflowsCommand(),_0x551e6e=program[_0x57e4fd(0x323)](),_0x2aace6=await createTDXInstance(_0x551e6e),_0x5a582f=await _0x56bd7b[_0x57e4fd(0x1d0)]({'options':{..._0x551e6e,..._0x1f73c0},'args':_0x31ac5a?[_0x31ac5a]:[],'tdx':_0x2aace6});process[_0x57e4fd(0x249)](_0x5a582f);};workflowCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x254))['description'](a2_0x3df4f4(0x1a4))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x3ca))['description'](a2_0x3df4f4(0x2c9)),wfSessionListAction=async(_0x3df03c,_0x279ffd)=>{const _0x24cbd7=a2_0x3df4f4,_0x5a961e=new WorkflowSessionsCommand(),_0x2b7fa2=program[_0x24cbd7(0x323)](),_0x54157c=await createTDXInstance(_0x2b7fa2),_0x3275d4=await _0x5a961e[_0x24cbd7(0x1d0)]({'options':{..._0x2b7fa2,..._0x279ffd},'args':_0x3df03c?[_0x3df03c]:[],'tdx':_0x54157c});process[_0x24cbd7(0x249)](_0x3275d4);};wfSessionCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x1cc))['description'](a2_0x3df4f4(0x34e))['option'](a2_0x3df4f4(0x3ce),a2_0x3df4f4(0x212))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x1da),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option'](a2_0x3df4f4(0x286),'End\x20time\x20filter\x20(ISO\x208601\x20format)')['action'](wfSessionListAction),workflowCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x200))[a2_0x3df4f4(0x357)]('List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x3ce),a2_0x3df4f4(0x212))['option'](a2_0x3df4f4(0x1da),a2_0x3df4f4(0x2ee))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x286),a2_0x3df4f4(0x1fb))[a2_0x3df4f4(0x2f2)](wfSessionListAction);const wfAttemptListAction=async(_0x3c63f7,_0x14a94d)=>{const _0x30b32d=a2_0x3df4f4,_0x12863f=new WorkflowAttemptsCommand(),_0x2112a7=program['opts'](),_0x563c1c=await createTDXInstance(_0x2112a7),_0x2ea0ba=await _0x12863f[_0x30b32d(0x1d0)]({'options':{..._0x2112a7,..._0x14a94d},'args':_0x3c63f7?[_0x3c63f7]:[],'tdx':_0x563c1c});process[_0x30b32d(0x249)](_0x2ea0ba);},attemptCmd=workflowCmd['command'](a2_0x3df4f4(0x1d5))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x38d))[a2_0x3df4f4(0x398)]('[attempt-id]',a2_0x3df4f4(0x37d))[a2_0x3df4f4(0x398)](a2_0x3df4f4(0x2d3),a2_0x3df4f4(0x2e1))[a2_0x3df4f4(0x398)]('[task-name]','Task\x20name\x20for\x20logs\x20action')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x1d9),'Include\x20subtasks\x20in\x20tasks\x20output')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2e2),a2_0x3df4f4(0x324))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x225),a2_0x3df4f4(0x1e1))[a2_0x3df4f4(0x293)]('--params\x20<json>','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2aa),'Force\x20retry\x20even\x20if\x20not\x20failed')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x34b),a2_0x3df4f4(0x36c))[a2_0x3df4f4(0x2f2)](async(_0x2065a2,_0x7ce287,_0x95b052,_0x3d5847)=>{const _0x12b28c=a2_0x3df4f4;if(_0x2065a2===_0x12b28c(0x29f)){await wfAttemptListAction(_0x7ce287,_0x3d5847);return;}if(!_0x2065a2){attemptCmd[_0x12b28c(0x31b)]();return;}const _0x2cfa9c=program[_0x12b28c(0x323)](),_0xc97677=await createTDXInstance(_0x2cfa9c);let _0xbcb90d=0x0;if(!_0x7ce287){const _0x34700a=new WorkflowAttemptCommand();_0xbcb90d=await _0x34700a['run']({'options':{..._0x2cfa9c,..._0x3d5847},'args':[_0x2065a2],'tdx':_0xc97677});}else{if(_0x7ce287===_0x12b28c(0x31c)){const _0x403619=new WorkflowLogsCommand();_0xbcb90d=await _0x403619['run']({'options':{..._0x2cfa9c,..._0x3d5847},'args':_0x95b052?[_0x2065a2,_0x95b052]:[_0x2065a2],'tdx':_0xc97677});}else{if(_0x7ce287==='tasks'){const _0x5dbfbd=new WorkflowTasksCommand();_0xbcb90d=await _0x5dbfbd[_0x12b28c(0x1d0)]({'options':{..._0x2cfa9c,..._0x3d5847},'args':[_0x2065a2],'tdx':_0xc97677});}else{if(_0x7ce287===_0x12b28c(0x1d4)){const _0x158540=new WorkflowKillCommand();_0xbcb90d=await _0x158540['run']({'options':{..._0x2cfa9c,..._0x3d5847},'args':[_0x2065a2],'tdx':_0xc97677});}else{if(_0x7ce287===_0x12b28c(0x2dd)){const _0x41cdd4=new WorkflowRetryCommand();_0xbcb90d=await _0x41cdd4[_0x12b28c(0x1d0)]({'options':{..._0x2cfa9c,..._0x3d5847},'args':[_0x12b28c(0x21c)+_0x2065a2],'tdx':_0xc97677});}else console[_0x12b28c(0x26e)](_0x12b28c(0x305)+_0x7ce287),console[_0x12b28c(0x26e)](_0x12b28c(0x342)),_0xbcb90d=0x1;}}}}process[_0x12b28c(0x249)](_0xbcb90d);});attemptCmd['command'](a2_0x3df4f4(0x1cc))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x2cd))['option'](a2_0x3df4f4(0x34b),'Include\x20retried\x20attempts')[a2_0x3df4f4(0x2f2)](wfAttemptListAction),workflowCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x315))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x2f6))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x34b),a2_0x3df4f4(0x38c))[a2_0x3df4f4(0x2f2)](wfAttemptListAction),workflowCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x18b))['description'](a2_0x3df4f4(0x23d))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x288),a2_0x3df4f4(0x3cf))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x266),a2_0x3df4f4(0x380))[a2_0x3df4f4(0x293)]('--attempt-id\x20<id>',a2_0x3df4f4(0x1a3))[a2_0x3df4f4(0x2f2)](async(_0x568f54,_0x55eba9)=>{const _0x3011fb=a2_0x3df4f4,_0x2a8110=new WorkflowTimelineCommand(),_0x55e877=program[_0x3011fb(0x323)](),_0xcbe54=await createTDXInstance(_0x55e877),_0x4467f9=await _0x2a8110[_0x3011fb(0x1d0)]({'options':{..._0x55e877,..._0x55eba9},'args':_0x568f54?[_0x568f54]:[],'tdx':_0xcbe54});process['exit'](_0x4467f9);}),workflowCmd['command'](a2_0x3df4f4(0x318))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x17b))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x1ba),a2_0x3df4f4(0x22c))[a2_0x3df4f4(0x293)]('--params\x20<json>',a2_0x3df4f4(0x1d1))[a2_0x3df4f4(0x2f2)](async(_0x4bed8e,_0x209c3c)=>{const _0x234edf=a2_0x3df4f4,_0x25a917=new WorkflowRetryCommand(),_0x45a94d=program[_0x234edf(0x323)](),_0x59a911=await createTDXInstance(_0x45a94d),_0xf017aa=await _0x25a917['run']({'options':{..._0x45a94d,..._0x209c3c},'args':[_0x4bed8e],'tdx':_0x59a911});process[_0x234edf(0x249)](_0xf017aa);}),workflowCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x215))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x2a3))['option'](a2_0x3df4f4(0x19a),a2_0x3df4f4(0x32d),(_0x4131a9,_0x251ef7=[])=>[..._0x251ef7,_0x4131a9],[])[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2ed),a2_0x3df4f4(0x1b5))['action'](async(_0x291aca,_0x4b0219)=>{const _0x4b7780=a2_0x3df4f4,_0x266c49=new WorkflowRunCommand(),_0xf21b97=program['opts'](),_0x30bdd8=await createTDXInstance(_0xf21b97),_0x572f9a=await _0x266c49[_0x4b7780(0x1d0)]({'options':{..._0xf21b97,..._0x4b0219},'args':_0x291aca?[_0x291aca]:[],'tdx':_0x30bdd8});process['exit'](_0x572f9a);}),workflowCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x3c5))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x1e3))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2fb),a2_0x3df4f4(0x238))[a2_0x3df4f4(0x2f2)](async(_0x3ebe38,_0xf791e7,_0x3dd8c6)=>{const _0x46b168=a2_0x3df4f4,_0x44d089=new WorkflowDownloadCommand(),_0x80ce5f=program[_0x46b168(0x323)](),_0x5efa10=await createTDXInstance(_0x80ce5f),_0x440f7e=await _0x44d089[_0x46b168(0x1d0)]({'options':{..._0x80ce5f,..._0x3dd8c6},'args':[_0x3ebe38,_0xf791e7||'.'],'tdx':_0x5efa10});process[_0x46b168(0x249)](_0x440f7e);}),workflowCmd[a2_0x3df4f4(0x22f)]('pull\x20<project>\x20[target-dir]')['description'](a2_0x3df4f4(0x320))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2fb),a2_0x3df4f4(0x2b6))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x1be),a2_0x3df4f4(0x304))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x356),a2_0x3df4f4(0x1c7))[a2_0x3df4f4(0x2f2)](async(_0x4b85e6,_0x5d741c,_0x363988)=>{const _0x4c7e02=a2_0x3df4f4,_0x1e05d2=new WorkflowPullCommand(),_0x5507e9=program[_0x4c7e02(0x323)](),_0x3a5998=await createTDXInstance(_0x5507e9),_0x3f06ac=await _0x1e05d2[_0x4c7e02(0x1d0)]({'options':{..._0x5507e9,..._0x363988},'args':_0x5d741c?[_0x4b85e6,_0x5d741c]:[_0x4b85e6],'tdx':_0x3a5998});process[_0x4c7e02(0x249)](_0x3f06ac);}),workflowCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x224))[a2_0x3df4f4(0x357)]('Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data')['option'](a2_0x3df4f4(0x2fb),a2_0x3df4f4(0x376))['option'](a2_0x3df4f4(0x1be),a2_0x3df4f4(0x17f))[a2_0x3df4f4(0x293)]('--skip-validation',a2_0x3df4f4(0x361))[a2_0x3df4f4(0x293)]('-y,\x20--yes','Skip\x20confirmation\x20prompt')[a2_0x3df4f4(0x2f2)](async(_0x11fec8,_0x1ae0aa)=>{const _0x8b84c6=a2_0x3df4f4,_0x423b78=new WorkflowPushCommand(),_0x252866=program[_0x8b84c6(0x323)](),_0x25bf60=await createTDXInstance(_0x252866),_0x357b0=await _0x423b78['run']({'options':{..._0x252866,..._0x1ae0aa},'args':_0x11fec8?[_0x11fec8]:[],'tdx':_0x25bf60});process[_0x8b84c6(0x249)](_0x357b0);}),workflowCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x28c))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x253))[a2_0x3df4f4(0x293)]('--name\x20<name>',a2_0x3df4f4(0x206))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2fb),a2_0x3df4f4(0x36b))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x263),a2_0x3df4f4(0x361))['action'](async(_0x37ae73,_0x4f1d0d)=>{const _0x1c9c39=a2_0x3df4f4,_0x10e099=new WorkflowUploadCommand(),_0x2a4218=program[_0x1c9c39(0x323)](),_0x138257=await createTDXInstance(_0x2a4218),_0x426800=await _0x10e099[_0x1c9c39(0x1d0)]({'options':{..._0x2a4218,..._0x4f1d0d},'args':_0x37ae73?[_0x37ae73]:[],'tdx':_0x138257});process['exit'](_0x426800);}),workflowCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x1b4))[a2_0x3df4f4(0x357)]('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x311),'Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2fb),a2_0x3df4f4(0x376))['option'](a2_0x3df4f4(0x1be),a2_0x3df4f4(0x33b))['option'](a2_0x3df4f4(0x263),a2_0x3df4f4(0x361))[a2_0x3df4f4(0x293)]('-y,\x20--yes',a2_0x3df4f4(0x1c7))['action'](async(_0x1d4b26,_0x3079a3)=>{const _0x30ab30=a2_0x3df4f4,_0x6c5cde=new WorkflowCloneCommand(),_0x4e9e1c=program[_0x30ab30(0x323)](),_0x5bad97=await createTDXInstance(_0x4e9e1c),_0x1513fe=await _0x6c5cde['run']({'options':{..._0x4e9e1c,..._0x3079a3},'args':_0x1d4b26?[_0x1d4b26]:[],'tdx':_0x5bad97});process[_0x30ab30(0x249)](_0x1513fe);}),workflowCmd['command'](a2_0x3df4f4(0x35c))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x193))[a2_0x3df4f4(0x2f2)](async(_0x24dfce,_0x120dc2)=>{const _0x57ac55=a2_0x3df4f4,_0x289e15=new WorkflowDeleteCommand(),_0xf121e5=program['opts'](),_0x8ccf9d=await createTDXInstance(_0xf121e5),_0x2b1047=await _0x289e15[_0x57ac55(0x1d0)]({'options':{..._0xf121e5,..._0x120dc2},'args':[_0x24dfce],'tdx':_0x8ccf9d});process[_0x57ac55(0x249)](_0x2b1047);}),workflowCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x171))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x24b))['option'](a2_0x3df4f4(0x3b4),a2_0x3df4f4(0x2ec))[a2_0x3df4f4(0x2f2)](async(_0xb68dd9,_0x41799f)=>{const _0x2a207e=a2_0x3df4f4,_0x132809=new WorkflowUseCommand(),_0xc37459=program[_0x2a207e(0x323)](),_0x5297f7=await createTDXInstance(_0xc37459),_0x1b755b=await _0x132809[_0x2a207e(0x1d0)]({'options':{..._0xc37459,..._0x41799f},'args':_0xb68dd9?[_0xb68dd9]:[],'tdx':_0x5297f7});process['exit'](_0x1b755b);});const wfSecretsCmd=workflowCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x280))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x2d7));wfSecretsCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x1cc))[a2_0x3df4f4(0x357)]('List\x20secret\x20keys\x20for\x20a\x20project')[a2_0x3df4f4(0x2f2)](async(_0x2daa9a,_0x7f731d)=>{const _0x576783=a2_0x3df4f4,_0x358e04=new WorkflowSecretsListCommand(),_0xc9d492=program['opts'](),_0x598142=await createTDXInstance(_0xc9d492),_0x52459c=await _0x358e04[_0x576783(0x1d0)]({'options':{..._0xc9d492,..._0x7f731d},'args':_0x2daa9a?[_0x2daa9a]:[],'tdx':_0x598142});process[_0x576783(0x249)](_0x52459c);}),wfSecretsCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x24d))[a2_0x3df4f4(0x357)]('Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)')['action'](async(_0x3a7d2e,_0x48fc17)=>{const _0x1adf30=a2_0x3df4f4,_0x212401=new WorkflowSecretsSetCommand(),_0x1bab58=program[_0x1adf30(0x323)](),_0x2e1724=await createTDXInstance(_0x1bab58),_0x2de423=await _0x212401[_0x1adf30(0x1d0)]({'options':{..._0x1bab58,..._0x48fc17},'args':_0x3a7d2e,'tdx':_0x2e1724});process[_0x1adf30(0x249)](_0x2de423);}),wfSecretsCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x2b3))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x299))['option'](a2_0x3df4f4(0x356),a2_0x3df4f4(0x1c7))['action'](async(_0x7ff527,_0x2a1839)=>{const _0x583169=a2_0x3df4f4,_0x4af346=new WorkflowSecretsDeleteCommand(),_0x2bd742=program['opts'](),_0x2e8cf6=await createTDXInstance(_0x2bd742),_0xcd066b=await _0x4af346[_0x583169(0x1d0)]({'options':{..._0x2bd742,..._0x2a1839},'args':_0x7ff527,'tdx':_0x2e8cf6});process[_0x583169(0x249)](_0xcd066b);});const jobCmd=program[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x239))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x39e)),jobListAction=async _0x4ffc2e=>{const _0x17ee9f=a2_0x3df4f4,_0x2502ba=new JobListCommand(),_0x4bcb23=program[_0x17ee9f(0x323)](),_0xe5dc8e=await createTDXInstance(_0x4bcb23),_0x35b4a0=await _0x2502ba['run']({'options':{..._0x4bcb23,..._0x4ffc2e},'args':[],'tdx':_0xe5dc8e});process['exit'](_0x35b4a0);};jobCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x29f))['description'](a2_0x3df4f4(0x2d6))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x3ce),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')['action'](jobListAction),program['command'](a2_0x3df4f4(0x2de),{'hidden':!![]})[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x2d0))[a2_0x3df4f4(0x293)]('--status\x20<status>','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')['action'](jobListAction),jobCmd[a2_0x3df4f4(0x22f)]('show\x20<job-id>')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x245))[a2_0x3df4f4(0x2f2)](async(_0x31b687,_0xedbf5d)=>{const _0x1039c8=a2_0x3df4f4,_0x1dc9e1=new JobShowCommand(),_0x1b255b=program[_0x1039c8(0x323)](),_0x25df22=await createTDXInstance(_0x1b255b),_0x27c709=await _0x1dc9e1[_0x1039c8(0x1d0)]({'options':{..._0x1b255b,..._0xedbf5d},'args':[_0x31b687],'tdx':_0x25df22});process[_0x1039c8(0x249)](_0x27c709);}),jobCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x33d))['description'](a2_0x3df4f4(0x2c7))[a2_0x3df4f4(0x2f2)](async(_0x7e127d,_0x22703b)=>{const _0x81c54f=a2_0x3df4f4,_0x47e309=new JobKillCommand(),_0x31ac70=program[_0x81c54f(0x323)](),_0x18fb9d=await createTDXInstance(_0x31ac70),_0xb0fc15=await _0x47e309[_0x81c54f(0x1d0)]({'options':{..._0x31ac70,..._0x22703b},'args':[_0x7e127d],'tdx':_0x18fb9d});process[_0x81c54f(0x249)](_0xb0fc15);}),jobCmd[a2_0x3df4f4(0x22f)]('submit\x20[query]')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x3c3))['option'](a2_0x3df4f4(0x39b),a2_0x3df4f4(0x256),a2_0x3df4f4(0x26f))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x236),a2_0x3df4f4(0x3d4))[a2_0x3df4f4(0x293)]('--database\x20<name>',a2_0x3df4f4(0x2dc),a2_0x3df4f4(0x176))[a2_0x3df4f4(0x2f2)](async(_0x3c7652,_0x3fb889)=>{const _0x228113=a2_0x3df4f4,_0x3f4a25=new JobSubmitCommand(),_0x3d4061=program[_0x228113(0x323)](),_0x1188c9=await createTDXInstance(_0x3d4061),_0x452811=await _0x3f4a25[_0x228113(0x1d0)]({'options':{..._0x3d4061,..._0x3fb889},'args':_0x3c7652?[_0x3c7652]:[],'tdx':_0x1188c9});process[_0x228113(0x249)](_0x452811);}),jobCmd['command'](a2_0x3df4f4(0x322))['description'](a2_0x3df4f4(0x276))[a2_0x3df4f4(0x2f2)](async(_0x111fc2,_0x4ebefd)=>{const _0x22fd06=a2_0x3df4f4,_0x39a974=new JobResultCommand(),_0x19b789=program[_0x22fd06(0x323)](),_0x40773b=await createTDXInstance(_0x19b789),_0x34d01b=await _0x39a974['run']({'options':{..._0x19b789,..._0x4ebefd},'args':[_0x111fc2],'tdx':_0x40773b});process['exit'](_0x34d01b);});const llmCmd=program['command'](a2_0x3df4f4(0x35e))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x346));llmCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x301))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x365))[a2_0x3df4f4(0x2f2)](async(_0x18c9db,_0xd0f2a3)=>{const _0x3f676e=a2_0x3df4f4,_0x2995fa=new LLMUseCommand(),_0x3e27f=program[_0x3f676e(0x323)](),_0x2f8776=await createTDXInstance(_0x3e27f),_0x580908=await _0x2995fa[_0x3f676e(0x1d0)]({'options':{..._0x3e27f,..._0xd0f2a3},'args':[_0x18c9db],'tdx':_0x2f8776});process[_0x3f676e(0x249)](_0x580908);}),llmCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x1c6))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x1a1))[a2_0x3df4f4(0x2f2)](async _0x285514=>{const _0x1c587a=a2_0x3df4f4,_0x512de=new LLMModelsCommand(),_0x3fcda1=program[_0x1c587a(0x323)](),_0x51be7f=await createTDXInstance(_0x3fcda1),_0x57e49b=await _0x512de[_0x1c587a(0x1d0)]({'options':{..._0x3fcda1,..._0x285514},'args':[],'tdx':_0x51be7f});process[_0x1c587a(0x249)](_0x57e49b);});const projectCmd=llmCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x31a))['description'](a2_0x3df4f4(0x36a)),llmProjectListAction=async(_0xcd070d,_0x61f1cc)=>{const _0x3eb817=a2_0x3df4f4,_0x2acbcf=new LLMProjectsCommand(),_0x504cfc=program[_0x3eb817(0x323)](),_0x5a7891=await createTDXInstance(_0x504cfc),_0x439ea2=await _0x2acbcf[_0x3eb817(0x1d0)]({'options':{..._0x504cfc,..._0x61f1cc},'args':_0xcd070d?[_0xcd070d]:[],'tdx':_0x5a7891});process[_0x3eb817(0x249)](_0x439ea2);};projectCmd['command']('list\x20[pattern]')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x2f8))['action'](llmProjectListAction),llmCmd['command'](a2_0x3df4f4(0x1d2))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x1e7))['action'](llmProjectListAction),projectCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x33c))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x30a))[a2_0x3df4f4(0x293)]('--description\x20<text>',a2_0x3df4f4(0x1fa))[a2_0x3df4f4(0x2f2)](async(_0x5d2924,_0x50f7da)=>{const _0x110e52=a2_0x3df4f4,_0x4faac8=new LLMProjectCreateCommand(),_0x147eb8=program[_0x110e52(0x323)](),_0x4b6cd7=await createTDXInstance(_0x147eb8),_0x2a394f=await _0x4faac8[_0x110e52(0x1d0)]({'options':{..._0x147eb8,..._0x50f7da},'args':[_0x5d2924],'tdx':_0x4b6cd7});process['exit'](_0x2a394f);}),projectCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x211))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x197))[a2_0x3df4f4(0x2f2)](async(_0x5128e7,_0x4d5447)=>{const _0x4c3ef5=a2_0x3df4f4,_0x3fb3fa=new LLMProjectDeleteCommand(),_0xc195e4=program['opts'](),_0x34bb87=await createTDXInstance(_0xc195e4),_0x533e91=await _0x3fb3fa[_0x4c3ef5(0x1d0)]({'options':{..._0xc195e4,..._0x4d5447},'args':[_0x5128e7],'tdx':_0x34bb87});process[_0x4c3ef5(0x249)](_0x533e91);}),projectCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x3af))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x2cc))['option']('-o,\x20--output\x20<folder>',a2_0x3df4f4(0x393))[a2_0x3df4f4(0x293)]('--dry-run',a2_0x3df4f4(0x344))[a2_0x3df4f4(0x2f2)](async(_0x81e42c,_0x425aa2)=>{const _0x3233de=a2_0x3df4f4,_0x46b492=new LLMProjectBackupCommand(),_0xaf129f=program['opts'](),_0x55065f=await createTDXInstance(_0xaf129f),_0xb029e=await _0x46b492[_0x3233de(0x1d0)]({'options':{..._0xaf129f,..._0x425aa2},'args':[_0x81e42c],'tdx':_0x55065f});process[_0x3233de(0x249)](_0xb029e);}),projectCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x3a2))['description'](a2_0x3df4f4(0x21a))['option'](a2_0x3df4f4(0x295),a2_0x3df4f4(0x246))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x1be),a2_0x3df4f4(0x196))[a2_0x3df4f4(0x2f2)](async(_0x12bab8,_0xced07)=>{const _0x216f2f=a2_0x3df4f4,_0x1f0eae=new LLMProjectRestoreCommand(),_0x508aa8=program['opts'](),_0x312f0f=await createTDXInstance(_0x508aa8),_0x2c9f48=await _0x1f0eae[_0x216f2f(0x1d0)]({'options':{..._0x508aa8,..._0xced07},'args':[_0x12bab8],'tdx':_0x312f0f});process[_0x216f2f(0x249)](_0x2c9f48);});const llmAgentListAction=async(_0x41fea4,_0x3bb212)=>{const _0x4ac912=a2_0x3df4f4,_0x1c59b5=new LLMAgentsCommand(),_0x2f6438=program[_0x4ac912(0x323)](),_0xcf0fc7=await createTDXInstance(_0x2f6438),_0x434c7b=await _0x1c59b5['run']({'options':{..._0x2f6438,..._0x3bb212},'args':_0x41fea4?[_0x41fea4]:[],'tdx':_0xcf0fc7});process['exit'](_0x434c7b);};llmCmd['command']('agents\x20[pattern]')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x240))[a2_0x3df4f4(0x2f2)](llmAgentListAction),program['command'](a2_0x3df4f4(0x1c5))['description'](a2_0x3df4f4(0x240))[a2_0x3df4f4(0x2f2)](llmAgentListAction),llmCmd[a2_0x3df4f4(0x22f)]('history\x20[chat-id]')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x3ad))[a2_0x3df4f4(0x293)]('--last',a2_0x3df4f4(0x26b))[a2_0x3df4f4(0x2f2)](async(_0x5e1df1,_0x21570f)=>{const _0x451895=a2_0x3df4f4,_0x18ca08=new LLMHistoryCommand(),_0x3a09b7=program[_0x451895(0x323)](),_0x735dbe=await createTDXInstance(_0x3a09b7),_0x4a3c69=await _0x18ca08['run']({'options':{..._0x3a09b7,..._0x21570f},'args':_0x5e1df1?[_0x5e1df1]:[],'tdx':_0x735dbe});process[_0x451895(0x249)](_0x4a3c69);}),llmCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x287))[a2_0x3df4f4(0x357)]('[EXPERIMENTAL]\x20Start\x20LLM\x20proxy\x20server\x20for\x20Claude\x20Code\x20integration\x20(use\x20global\x20--debug/--trace\x20for\x20logging)')['option'](a2_0x3df4f4(0x366),a2_0x3df4f4(0x2a8),a2_0x3df4f4(0x38b))[a2_0x3df4f4(0x293)]('--project\x20<name>','LLM\x20project\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)')[a2_0x3df4f4(0x293)]('--agent\x20<name>',a2_0x3df4f4(0x351))['action'](async _0x3d4525=>{const _0x1f03c9=a2_0x3df4f4,_0x3d64a4=new LLMProxyCommand(),_0x63452=program[_0x1f03c9(0x323)](),_0x35c23d=await createTDXInstance(_0x63452),_0x588576={..._0x3d4525,'port':_0x3d4525[_0x1f03c9(0x3d0)]?parseInt(_0x3d4525[_0x1f03c9(0x3d0)],0xa):undefined},_0x3afcff=await _0x3d64a4[_0x1f03c9(0x1d0)]({'options':{..._0x63452,..._0x588576},'args':[],'tdx':_0x35c23d});process[_0x1f03c9(0x249)](_0x3afcff);}),program['command']('claude\x20[args...]')[a2_0x3df4f4(0x33f)](a2_0x3df4f4(0x213))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x1b8))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2ce),a2_0x3df4f4(0x170),a2_0x3df4f4(0x231))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x32b),a2_0x3df4f4(0x2bc))[a2_0x3df4f4(0x293)]('-r,\x20--resume',a2_0x3df4f4(0x2db))[a2_0x3df4f4(0x293)]('--no-proxy','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')['option'](a2_0x3df4f4(0x378),a2_0x3df4f4(0x370))[a2_0x3df4f4(0x328)]()['allowExcessArguments'](!![])[a2_0x3df4f4(0x3a6)]('after',a2_0x3df4f4(0x16f))['action'](async(_0x85229b,_0x2d9470)=>{const _0x82494c=a2_0x3df4f4,_0x399dc6=program[_0x82494c(0x323)](),_0x5e1b48=Array[_0x82494c(0x1de)](_0x85229b)?_0x85229b:[];if(_0x5e1b48[0x0]===_0x82494c(0x381)){const _0x58b376=new ClaudeStatuslineCommand(),_0x397672=await _0x58b376['run']({'options':{..._0x399dc6,..._0x2d9470},'args':_0x5e1b48['slice'](0x1),'tdx':null});process[_0x82494c(0x249)](_0x397672);}if(_0x5e1b48[0x0]==='usage'){const _0x290a1e=new ClaudeUsageCommand(),_0x1b9590=await _0x290a1e[_0x82494c(0x1d0)]({'options':{..._0x399dc6,..._0x2d9470},'args':_0x5e1b48[_0x82494c(0x3bb)](0x1),'tdx':null});process[_0x82494c(0x249)](_0x1b9590);}const _0x345c12=new ClaudeCommand(),_0x373586=await createTDXInstance(_0x399dc6),_0x3eebd9=await _0x345c12[_0x82494c(0x1d0)]({'options':{..._0x399dc6,..._0x2d9470},'args':_0x5e1b48,'tdx':_0x373586});process['exit'](_0x3eebd9);}),program['command'](a2_0x3df4f4(0x20c))[a2_0x3df4f4(0x357)]('Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x3b4),a2_0x3df4f4(0x292))['option'](a2_0x3df4f4(0x350),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')['action'](async(_0x24dfe0,_0x410b62,_0x1e52bd)=>{const _0x57bd14=a2_0x3df4f4,_0xadee15=new UseCommand(),_0xdaa16=program[_0x57bd14(0x323)](),_0x4a5628=[];if(_0x24dfe0)_0x4a5628['push'](_0x24dfe0);if(_0x410b62)_0x4a5628[_0x57bd14(0x36f)](_0x410b62);const _0x1b9948=await _0xadee15['run']({'options':{..._0xdaa16,..._0x1e52bd},'args':_0x4a5628,'tdx':null});process[_0x57bd14(0x249)](_0x1b9948);}),program[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x186))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x177))['option'](a2_0x3df4f4(0x350),'Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x3df4f4(0x2f2)](async(_0x575c96,_0x5602d3)=>{const _0x50eb70=a2_0x3df4f4,_0x40d38e=new UnsetCommand(),_0x495d51=program[_0x50eb70(0x323)](),_0x5037d5=await _0x40d38e[_0x50eb70(0x1d0)]({'options':{..._0x495d51,..._0x5602d3},'args':[_0x575c96],'tdx':null});process[_0x50eb70(0x249)](_0x5037d5);}),program['command'](a2_0x3df4f4(0x1f5))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x1ec))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x250),a2_0x3df4f4(0x395))[a2_0x3df4f4(0x2f2)](async _0x2e914c=>{const _0x42c59a=a2_0x3df4f4,_0x1a9c8c=new ChatsCommand(),_0xb89a81=program['opts'](),_0x4b974e=await createTDXInstance(_0xb89a81),_0x51d6ab=await _0x1a9c8c[_0x42c59a(0x1d0)]({'options':{..._0xb89a81,..._0x2e914c},'args':[],'tdx':_0x4b974e});process[_0x42c59a(0x249)](_0x51d6ab);});const authCmd=program[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x3a9))['description'](a2_0x3df4f4(0x279));async function runAuthStatusCommand(_0x15a729){const _0x2e4ce5=a2_0x3df4f4,_0x53360d=new AuthStatusCommand(),_0x14238e=program['opts'](),_0x51c4e1=await createTDXInstance(_0x14238e),_0xb1eb54=await _0x53360d[_0x2e4ce5(0x1d0)]({'options':{..._0x14238e,..._0x15a729},'args':[],'tdx':_0x51c4e1});process['exit'](_0xb1eb54);}function a2_0x54ca(_0x3986ac,_0x5b5c6d){_0x3986ac=_0x3986ac-0x16c;const _0xb2fd45=a2_0xb2fd();let _0x54ca88=_0xb2fd45[_0x3986ac];return _0x54ca88;}authCmd[a2_0x3df4f4(0x2f2)](runAuthStatusCommand),authCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x2d5))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x20d))[a2_0x3df4f4(0x2f2)](runAuthStatusCommand),authCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x34d))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x34a))[a2_0x3df4f4(0x3a6)](a2_0x3df4f4(0x1e6),a2_0x3df4f4(0x25e))[a2_0x3df4f4(0x2f2)](async _0x319b22=>{const _0x38541d=a2_0x3df4f4,_0x4460fa=new AuthSetupCommand(),_0x11b017=program[_0x38541d(0x323)](),_0x27b13a=await createTDXInstance(_0x11b017),_0x1f411a=await _0x4460fa[_0x38541d(0x1d0)]({'options':{..._0x11b017,..._0x319b22},'args':[],'tdx':_0x27b13a});process[_0x38541d(0x249)](_0x1f411a);}),authCmd['command']('clear')[a2_0x3df4f4(0x357)]('Remove\x20API\x20key\x20from\x20system\x20keychain')[a2_0x3df4f4(0x3a6)](a2_0x3df4f4(0x1e6),a2_0x3df4f4(0x372))['action'](async _0x4fab3d=>{const _0x4ac954=a2_0x3df4f4,_0x1432c1=new AuthClearCommand(),_0x117115=program[_0x4ac954(0x323)](),_0x5890c2=await _0x1432c1[_0x4ac954(0x1d0)]({'options':{..._0x117115,..._0x4fab3d},'args':[],'tdx':null});process[_0x4ac954(0x249)](_0x5890c2);});const userCmd=program[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x31e))[a2_0x3df4f4(0x357)]('User\x20management\x20commands'),userListAction=async _0xf594c8=>{const _0x1939b8=a2_0x3df4f4,_0x155204=new UserListCommand(),_0x2c0b7e=program[_0x1939b8(0x323)](),_0x27d5f6=await createTDXInstance(_0x2c0b7e),_0x2f038d=await _0x155204[_0x1939b8(0x1d0)]({'options':{..._0x2c0b7e,..._0xf594c8},'args':[],'tdx':_0x27d5f6});process['exit'](_0x2f038d);};userCmd['action'](async _0x2816a6=>{const _0x373b96=new UserCommand(),_0x58c910=program['opts'](),_0xa0eaf0=await createTDXInstance(_0x58c910),_0x2be635=await _0x373b96['run']({'options':{..._0x58c910,..._0x2816a6},'args':[],'tdx':_0xa0eaf0});process['exit'](_0x2be635);}),userCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x29f))['description'](a2_0x3df4f4(0x220))[a2_0x3df4f4(0x2f2)](userListAction),program[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x3a5))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x17e))[a2_0x3df4f4(0x2f2)](userListAction),program[a2_0x3df4f4(0x22f)]('profiles')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x247))[a2_0x3df4f4(0x2f2)](async _0x5520a6=>{const _0x2a6722=a2_0x3df4f4,_0x4da62b=new ProfilesCommand(),_0x250517=program['opts'](),_0x47e1a3=await _0x4da62b['run']({'options':{..._0x250517,..._0x5520a6},'args':[],'tdx':null});process[_0x2a6722(0x249)](_0x47e1a3);});const profileCmd=program['command'](a2_0x3df4f4(0x343))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x1e4));profileCmd[a2_0x3df4f4(0x2f2)](()=>{const _0x21cdcd=a2_0x3df4f4;profileCmd[_0x21cdcd(0x222)]();});const profileListAction=async _0x4e5732=>{const _0x34d608=a2_0x3df4f4,_0x5e4cda=new ProfilesCommand(),_0x23bafb=program['opts'](),_0x2719f7=await _0x5e4cda[_0x34d608(0x1d0)]({'options':{..._0x23bafb,..._0x4e5732},'args':[],'tdx':null});process[_0x34d608(0x249)](_0x2719f7);};profileCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x29f))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x247))[a2_0x3df4f4(0x2f2)](profileListAction),profileCmd['command']('create\x20[name]')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x1b1))[a2_0x3df4f4(0x3a6)](a2_0x3df4f4(0x1e6),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a\x20\x20$\x20tdx\x20profile\x20create\x20production\x20\x20\x20#\x20Create\x20profile\x20named\x20\x27production\x27\x0a')['action'](async(_0x5d2865,_0x20371f)=>{const _0x8d6bc5=a2_0x3df4f4,_0x54b4e8=new ProfileCreateCommand(),_0x4ac958=program['opts'](),_0x5b450f=await _0x54b4e8['run']({'options':{..._0x4ac958,..._0x20371f},'args':_0x5d2865?[_0x5d2865]:[],'tdx':null});process[_0x8d6bc5(0x249)](_0x5b450f);}),profileCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x3c6))['description'](a2_0x3df4f4(0x3a1))[a2_0x3df4f4(0x3a6)](a2_0x3df4f4(0x1e6),a2_0x3df4f4(0x216))[a2_0x3df4f4(0x2f2)](async(_0x58d87b,_0x4b71e3)=>{const _0x42f77f=a2_0x3df4f4,_0x5d84fa=new ProfileRemoveCommand(),_0x437366=program[_0x42f77f(0x323)](),_0x18b4d6=await _0x5d84fa[_0x42f77f(0x1d0)]({'options':{..._0x437366,..._0x4b71e3},'args':[_0x58d87b],'tdx':null});process['exit'](_0x18b4d6);}),profileCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x23e))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x360))['addHelpText'](a2_0x3df4f4(0x1e6),'\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_0x3df4f4(0x2f2)](async(_0x4efc07,_0x4f3938)=>{const _0x5497e5=a2_0x3df4f4,_0x37b90a=new ProfileSetCommand(),_0x495720=program[_0x5497e5(0x323)](),_0x5c2bd3=await _0x37b90a[_0x5497e5(0x1d0)]({'options':{..._0x495720,..._0x4f3938},'args':[_0x4efc07],'tdx':null});process[_0x5497e5(0x249)](_0x5c2bd3);}),profileCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x30f))['description'](a2_0x3df4f4(0x38e))['option'](a2_0x3df4f4(0x350),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x3df4f4(0x3a6)]('after','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27prod\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20staging\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27staging\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20--default\x20#\x20Set\x20default\x20profile\x20permanently\x0a')[a2_0x3df4f4(0x2f2)](async(_0x5a7597,_0x13397b)=>{const _0x4b2de3=a2_0x3df4f4,_0x1cb1cf=new ProfileUseCommand(),_0x2a7188=program[_0x4b2de3(0x323)](),_0x1d09b0=await _0x1cb1cf['run']({'options':{..._0x2a7188,..._0x13397b},'args':[_0x5a7597],'tdx':null});process[_0x4b2de3(0x249)](_0x1d09b0);});const engageCmd=program['command'](a2_0x3df4f4(0x2be))['description'](a2_0x3df4f4(0x373)),createEngageAction=_0x4a6c6f=>{return async(_0x5ab172,_0x2ca2f0)=>{const _0x4c33d4=a2_0x54ca,_0x44b79d=new _0x4a6c6f(),_0x12f6c2=program[_0x4c33d4(0x323)](),_0x1df081=await createTDXInstance(_0x12f6c2),_0x348d2a=await _0x44b79d[_0x4c33d4(0x1d0)]({'options':{..._0x12f6c2,..._0x2ca2f0},'args':[_0x5ab172],'tdx':_0x1df081});process[_0x4c33d4(0x249)](_0x348d2a);};},createEngageNoArgAction=_0x1cc9b5=>{return async _0x3b9a96=>{const _0x535cc4=a2_0x54ca,_0x429c21=new _0x1cc9b5(),_0x186a25=program[_0x535cc4(0x323)](),_0x12731f=await createTDXInstance(_0x186a25),_0x57d923=await _0x429c21[_0x535cc4(0x1d0)]({'options':{..._0x186a25,..._0x3b9a96},'args':[],'tdx':_0x12731f});process[_0x535cc4(0x249)](_0x57d923);};},campaignCmd=engageCmd['command']('campaign')[a2_0x3df4f4(0x357)]('Campaign\x20management'),campaignListAction=async(_0x26159d,_0xd9e4b5)=>{const _0x4a45e7=a2_0x3df4f4,_0x38864a=new EngageCampaignsCommand(),_0x157802=program[_0x4a45e7(0x323)](),_0x1b8263=await createTDXInstance(_0x157802),_0x388a2b=await _0x38864a[_0x4a45e7(0x1d0)]({'options':{..._0x157802,..._0xd9e4b5},'args':_0x26159d?[_0x26159d]:[],'tdx':_0x1b8263});process[_0x4a45e7(0x249)](_0x388a2b);};campaignCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x290))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x317))[a2_0x3df4f4(0x293)]('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x3ce),a2_0x3df4f4(0x3a3))[a2_0x3df4f4(0x293)]('--workspace\x20<name>',a2_0x3df4f4(0x3bd))['action'](campaignListAction),engageCmd['command'](a2_0x3df4f4(0x296))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x278))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x244),a2_0x3df4f4(0x2ef))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x3ce),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2b9),a2_0x3df4f4(0x3bd))[a2_0x3df4f4(0x2f2)](campaignListAction),campaignCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x1a5))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x333))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2b9),a2_0x3df4f4(0x3bd))['option']('--full',a2_0x3df4f4(0x1e0))[a2_0x3df4f4(0x2f2)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x1fe))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x243))['requiredOption'](a2_0x3df4f4(0x311),a2_0x3df4f4(0x29b))['requiredOption'](a2_0x3df4f4(0x244),a2_0x3df4f4(0x1b6))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2b9),a2_0x3df4f4(0x24e))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x20b),a2_0x3df4f4(0x2d4))[a2_0x3df4f4(0x293)]('--segment\x20<path>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')['option'](a2_0x3df4f4(0x23c),a2_0x3df4f4(0x2a2))[a2_0x3df4f4(0x293)]('--json-columns\x20<cols>',a2_0x3df4f4(0x1ed))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x218),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x386),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x3df4f4(0x2f2)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x3df4f4(0x22f)]('update\x20<name-or-id>')[a2_0x3df4f4(0x357)]('Update\x20a\x20campaign')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2b9),'Workspace\x20name')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x311),a2_0x3df4f4(0x1c4))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x20b),a2_0x3df4f4(0x2d4))['option']('--segment\x20<path>',a2_0x3df4f4(0x18a))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x23c),a2_0x3df4f4(0x2a2))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x185),a2_0x3df4f4(0x1ed))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x218),a2_0x3df4f4(0x181))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x386),a2_0x3df4f4(0x1e8))[a2_0x3df4f4(0x2f2)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x3df4f4(0x22f)]('delete\x20<name-or-id>')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x2a9))['option'](a2_0x3df4f4(0x2b9),a2_0x3df4f4(0x3bd))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x3c8),a2_0x3df4f4(0x1c7))[a2_0x3df4f4(0x2f2)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command']('launch\x20<name-or-id>')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x336))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2b9),a2_0x3df4f4(0x3bd))[a2_0x3df4f4(0x2f2)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x242))[a2_0x3df4f4(0x357)]('Pause\x20a\x20campaign')['option'](a2_0x3df4f4(0x2b9),a2_0x3df4f4(0x3bd))[a2_0x3df4f4(0x2f2)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x1f1))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x2ae))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2b9),a2_0x3df4f4(0x3bd))[a2_0x3df4f4(0x2f2)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x3df4f4(0x22f)]('duplicate\x20<name-or-id>')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x25a))['option'](a2_0x3df4f4(0x2b9),a2_0x3df4f4(0x3bd))[a2_0x3df4f4(0x2f2)](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd['command'](a2_0x3df4f4(0x39c))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x209)),templateListAction=async(_0x18f57c,_0x35a7b7)=>{const _0x273a75=a2_0x3df4f4,_0x5e56f3=new EngageTemplatesCommand(),_0x234aa0=program[_0x273a75(0x323)](),_0x33a41d=await createTDXInstance(_0x234aa0),_0x27f171=await _0x5e56f3['run']({'options':{..._0x234aa0,..._0x35a7b7},'args':_0x18f57c?[_0x18f57c]:[],'tdx':_0x33a41d});process[_0x273a75(0x249)](_0x27f171);};templateCmd['command'](a2_0x3df4f4(0x290))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x2b5))['option']('--workspace\x20<name>',a2_0x3df4f4(0x3bd))['action'](templateListAction),engageCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x2a0))[a2_0x3df4f4(0x357)]('List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2b9),a2_0x3df4f4(0x3bd))['action'](templateListAction),templateCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x1a5))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x2d8))[a2_0x3df4f4(0x293)]('--workspace\x20<name>',a2_0x3df4f4(0x3bd))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x354),a2_0x3df4f4(0x1e0))[a2_0x3df4f4(0x2f2)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x3df4f4(0x22f)]('create')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x294))[a2_0x3df4f4(0x3c0)](a2_0x3df4f4(0x311),a2_0x3df4f4(0x331))[a2_0x3df4f4(0x3c0)]('--subject\x20<subject>',a2_0x3df4f4(0x25d))['requiredOption'](a2_0x3df4f4(0x335),'HTML\x20template\x20content')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2b9),a2_0x3df4f4(0x24e))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x31d),a2_0x3df4f4(0x1eb))[a2_0x3df4f4(0x293)]('--editor-type\x20<type>',a2_0x3df4f4(0x1e5))[a2_0x3df4f4(0x2f2)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd['command'](a2_0x3df4f4(0x27b))[a2_0x3df4f4(0x357)]('Update\x20an\x20email\x20template')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2b9),a2_0x3df4f4(0x3bd))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x311),a2_0x3df4f4(0x3a0))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x1e9),a2_0x3df4f4(0x25d))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x335),a2_0x3df4f4(0x1af))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x31d),a2_0x3df4f4(0x1eb))[a2_0x3df4f4(0x2f2)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd['command'](a2_0x3df4f4(0x377))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x2e4))['option'](a2_0x3df4f4(0x2b9),'Workspace\x20name')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x3c8),a2_0x3df4f4(0x1c7))[a2_0x3df4f4(0x2f2)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command'](a2_0x3df4f4(0x1a0))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x2b8)),workspaceListAction=async(_0x3db468,_0x289350)=>{const _0x603c9=a2_0x3df4f4,_0x8fa555=new EngageWorkspacesCommand(),_0xad8bbb=program[_0x603c9(0x323)](),_0x50efaf=await createTDXInstance(_0xad8bbb),_0x160ca8=await _0x8fa555['run']({'options':{..._0xad8bbb,..._0x289350},'args':_0x3db468?[_0x3db468]:[],'tdx':_0x50efaf});process[_0x603c9(0x249)](_0x160ca8);};workspaceCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x290))[a2_0x3df4f4(0x357)]('List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)')['action'](workspaceListAction),engageCmd[a2_0x3df4f4(0x22f)]('workspaces\x20[pattern]')['description'](a2_0x3df4f4(0x38a))[a2_0x3df4f4(0x2f2)](workspaceListAction),workspaceCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x1a5))['description'](a2_0x3df4f4(0x3c4))[a2_0x3df4f4(0x293)]('--full',a2_0x3df4f4(0x1e0))[a2_0x3df4f4(0x2f2)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x3df4f4(0x22f)]('create')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x289))[a2_0x3df4f4(0x3c0)]('--name\x20<name>',a2_0x3df4f4(0x3bd))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x20b),a2_0x3df4f4(0x22a))[a2_0x3df4f4(0x2f2)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x27b))[a2_0x3df4f4(0x357)]('Update\x20a\x20workspace')[a2_0x3df4f4(0x293)]('--name\x20<name>',a2_0x3df4f4(0x1f2))[a2_0x3df4f4(0x293)]('--description\x20<desc>','Workspace\x20description')[a2_0x3df4f4(0x2f2)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x377))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x316))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x3c8),a2_0x3df4f4(0x1c7))[a2_0x3df4f4(0x2f2)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x30f))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x267))[a2_0x3df4f4(0x2f2)](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program['command'](a2_0x3df4f4(0x325))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x198)),connectionListAction=async _0x16196d=>{const _0x16f38d=a2_0x3df4f4,_0x179e31=new ConnectionListCommand(),_0x46085b=program[_0x16f38d(0x323)](),_0x390047=await createTDXInstance(_0x46085b),_0x1aa4db=await _0x179e31[_0x16f38d(0x1d0)]({'options':{..._0x46085b,..._0x16196d},'args':[],'tdx':_0x390047});process[_0x16f38d(0x249)](_0x1aa4db);};connectionCmd['command'](a2_0x3df4f4(0x29f))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x20f))[a2_0x3df4f4(0x2f2)](connectionListAction),program['command'](a2_0x3df4f4(0x1f6),{'hidden':!![]})[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x1a8))[a2_0x3df4f4(0x2f2)](connectionListAction),connectionCmd[a2_0x3df4f4(0x22f)]('show\x20<name>')[a2_0x3df4f4(0x357)]('Show\x20connection\x20details\x20by\x20name')[a2_0x3df4f4(0x2f2)](async(_0x8cb48a,_0x1134f7)=>{const _0x3eb654=a2_0x3df4f4,_0x483537=new ConnectionShowCommand(),_0x5aead5=program[_0x3eb654(0x323)](),_0x3f799f=await createTDXInstance(_0x5aead5),_0xced158=await _0x483537[_0x3eb654(0x1d0)]({'options':{..._0x5aead5,..._0x1134f7},'args':[_0x8cb48a],'tdx':_0x3f799f});process[_0x3eb654(0x249)](_0xced158);}),connectionCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x332))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x2ba))[a2_0x3df4f4(0x2f2)](async(_0x4fde24,_0x514b7a)=>{const _0x3a1743=a2_0x3df4f4,_0x713ec=new ConnectionSchemaCommand(),_0x473e9a=program[_0x3a1743(0x323)](),_0x16938c=await createTDXInstance(_0x473e9a),_0x4e7424=await _0x713ec[_0x3a1743(0x1d0)]({'options':{..._0x473e9a,..._0x514b7a},'args':[_0x4fde24],'tdx':_0x16938c});process[_0x3a1743(0x249)](_0x4e7424);}),connectionCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x29d))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x272))[a2_0x3df4f4(0x2f2)](async _0x442463=>{const _0x3292fc=a2_0x3df4f4,_0x37afca=new ConnectionTypesCommand(),_0x53c357=program[_0x3292fc(0x323)](),_0x279516=await createTDXInstance(_0x53c357),_0x2ffb3a=await _0x37afca[_0x3292fc(0x1d0)]({'options':{..._0x53c357,..._0x442463},'args':[],'tdx':_0x279516});process['exit'](_0x2ffb3a);}),connectionCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x2c0))[a2_0x3df4f4(0x357)]('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x3df4f4(0x2f2)](async(_0x40de19,_0x509ea2)=>{const _0x72b256=a2_0x3df4f4,_0x5b139b=new ConnectionSettingsCommand(),_0x20131c=program[_0x72b256(0x323)](),_0x1de52c=await createTDXInstance(_0x20131c),_0x154ffe=await _0x5b139b[_0x72b256(0x1d0)]({'options':{..._0x20131c,..._0x509ea2},'args':[_0x40de19],'tdx':_0x1de52c});process['exit'](_0x154ffe);});const journeyCmd=program[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x1ad))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x1cd)),journeyListAction=async(_0x26c4ef,_0x2b8870)=>{const _0x30d31a=a2_0x3df4f4,_0x4c410d=new JourneyListCommand(),_0xff188e=program[_0x30d31a(0x323)](),_0x5aa9d4=await createTDXInstance(_0xff188e),_0x358ba2=await _0x4c410d[_0x30d31a(0x1d0)]({'options':{..._0xff188e,..._0x2b8870},'args':_0x26c4ef?[_0x26c4ef]:[],'tdx':_0x5aa9d4});process[_0x30d31a(0x249)](_0x358ba2);};journeyCmd[a2_0x3df4f4(0x22f)]('list\x20[pattern]')[a2_0x3df4f4(0x357)]('List\x20journeys\x20in\x20current\x20context')[a2_0x3df4f4(0x2f2)](journeyListAction),journeyCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x18c))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x308))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x3c7),a2_0x3df4f4(0x258))['option'](a2_0x3df4f4(0x1bb),a2_0x3df4f4(0x3cd))[a2_0x3df4f4(0x2f2)](async(_0x36100c,_0x2bf01a)=>{const _0x298e29=a2_0x3df4f4,_0x5ea969=new JourneyViewCommand(),_0x52cfa3=program[_0x298e29(0x323)](),_0x1609ed=await createTDXInstance(_0x52cfa3),_0x40c685=await _0x5ea969['run']({'options':{..._0x52cfa3,..._0x2bf01a},'args':[_0x36100c],'tdx':_0x1609ed});process[_0x298e29(0x249)](_0x40c685);}),journeyCmd[a2_0x3df4f4(0x22f)]('stats\x20<name-or-path>')[a2_0x3df4f4(0x357)]('Show\x20journey\x20statistics')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2a7),'Show\x20stats\x20for\x20specific\x20stage')[a2_0x3df4f4(0x2f2)](async(_0x48c37e,_0x3e612c)=>{const _0x5eaf81=a2_0x3df4f4,_0x2b0aea=new JourneyStatsCommand(),_0x573872=program[_0x5eaf81(0x323)](),_0x376a67=await createTDXInstance(_0x573872),_0x5c8f30=await _0x2b0aea[_0x5eaf81(0x1d0)]({'options':{..._0x573872,..._0x3e612c},'args':[_0x48c37e],'tdx':_0x376a67});process['exit'](_0x5c8f30);}),journeyCmd['command'](a2_0x3df4f4(0x1b9))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x3d3))[a2_0x3df4f4(0x2f2)](async(_0x151ac0,_0x19deec)=>{const _0x461275=a2_0x3df4f4,_0x562a11=new JourneyPauseCommand(),_0x18bac0=program[_0x461275(0x323)](),_0xc2418c=await createTDXInstance(_0x18bac0),_0x23d3a8=await _0x562a11[_0x461275(0x1d0)]({'options':{..._0x18bac0,..._0x19deec},'args':[_0x151ac0],'tdx':_0xc2418c});process['exit'](_0x23d3a8);}),journeyCmd['command']('resume\x20<name-or-path>')[a2_0x3df4f4(0x357)]('Resume\x20a\x20paused\x20journey')[a2_0x3df4f4(0x2f2)](async(_0x4a846d,_0x406388)=>{const _0x3f6619=a2_0x3df4f4,_0x3fbd43=new JourneyResumeCommand(),_0x1b3b60=program[_0x3f6619(0x323)](),_0x5c1096=await createTDXInstance(_0x1b3b60),_0x40c169=await _0x3fbd43[_0x3f6619(0x1d0)]({'options':{..._0x1b3b60,..._0x406388},'args':[_0x4a846d],'tdx':_0x5c1096});process[_0x3f6619(0x249)](_0x40c169);}),journeyCmd[a2_0x3df4f4(0x22f)]('pull\x20[name]')['description'](a2_0x3df4f4(0x2f3))['option'](a2_0x3df4f4(0x356),'Skip\x20confirmation\x20prompt')['option'](a2_0x3df4f4(0x1be),'Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')[a2_0x3df4f4(0x2f2)](async(_0x403bae,_0x2be824)=>{const _0x3b18d6=a2_0x3df4f4,_0x36192a=new JourneyPullCommand(),_0x252fe5=program[_0x3b18d6(0x323)](),_0x14f827=await createTDXInstance(_0x252fe5),_0x1901cf=await _0x36192a['run']({'options':{..._0x252fe5,..._0x2be824},'args':_0x403bae?[_0x403bae]:[],'tdx':_0x14f827});process[_0x3b18d6(0x249)](_0x1901cf);}),journeyCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x2f1))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x1fc))['action'](async(_0x6cca85,_0x436499)=>{const _0x809fc4=a2_0x3df4f4,_0x508e00=new JourneyPushCommand(),_0x36642c=program[_0x809fc4(0x323)](),_0xce5d16=await createTDXInstance(_0x36642c),_0x297817=await _0x508e00['run']({'options':{..._0x36642c,..._0x436499},'args':_0x6cca85?[_0x6cca85]:[],'tdx':_0xce5d16});process['exit'](_0x297817);}),journeyCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x19b))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x352))[a2_0x3df4f4(0x2f2)](async(_0x470927,_0x2af42b)=>{const _0x5502e4=a2_0x3df4f4,_0xfe5dc2=new JourneyValidateCommand(),_0x349b08=program[_0x5502e4(0x323)](),_0x3c9717=await createTDXInstance(_0x349b08),_0x67fea7=await _0xfe5dc2[_0x5502e4(0x1d0)]({'options':{..._0x349b08,..._0x2af42b},'args':_0x470927?[_0x470927]:[],'tdx':_0x3c9717});process['exit'](_0x67fea7);}),program[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x18e))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x3cc))[a2_0x3df4f4(0x2f2)](journeyListAction);const agentSyncCmd=program[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x23a))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x1a7));agentSyncCmd['command'](a2_0x3df4f4(0x2df))['description'](a2_0x3df4f4(0x3c9))[a2_0x3df4f4(0x293)]('-o,\x20--output\x20<dir>',a2_0x3df4f4(0x32c))['option'](a2_0x3df4f4(0x27e),a2_0x3df4f4(0x340))[a2_0x3df4f4(0x2f2)](async(_0x22abc2,_0xf142fa,_0x535ff8)=>{const _0x186002=a2_0x3df4f4,_0x1b20d8=new AgentPullCommand(),_0x100a1f=program[_0x186002(0x323)](),_0x9898c6=await createTDXInstance(_0x100a1f),_0x9cc1c9=[];if(_0x22abc2)_0x9cc1c9['push'](_0x22abc2);if(_0xf142fa)_0x9cc1c9['push'](_0xf142fa);const _0x12adeb=await _0x1b20d8['run']({'options':{..._0x100a1f,..._0x535ff8},'args':_0x9cc1c9,'tdx':_0x9898c6});process[_0x186002(0x249)](_0x12adeb);}),agentSyncCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x28b))[a2_0x3df4f4(0x357)]('Push\x20local\x20agent\x20files\x20to\x20LLM\x20project')[a2_0x3df4f4(0x293)]('-f,\x20--force',a2_0x3df4f4(0x1f4))['action'](async(_0x23a923,_0xf743e8)=>{const _0x431d44=a2_0x3df4f4,_0x5eda96=new AgentPushCommand(),_0x213142=program[_0x431d44(0x323)](),_0x12ea00=await createTDXInstance(_0x213142),_0x589344=await _0x5eda96[_0x431d44(0x1d0)]({'options':{..._0x213142,..._0xf743e8},'args':_0x23a923?[_0x23a923]:[],'tdx':_0x12ea00});process[_0x431d44(0x249)](_0x589344);}),agentSyncCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x2b2))['description']('Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x179),a2_0x3df4f4(0x281))['action'](async(_0x4ee56d,_0xbc27e7)=>{const _0x26e026=a2_0x3df4f4,_0x3f4ecb=new AgentCloneCommand(),_0x2ccb5b=program[_0x26e026(0x323)](),_0x1af025=await createTDXInstance(_0x2ccb5b),_0x433245=await _0x3f4ecb[_0x26e026(0x1d0)]({'options':{..._0x2ccb5b,..._0xbc27e7},'args':_0x4ee56d?[_0x4ee56d]:[],'tdx':_0x1af025});process[_0x26e026(0x249)](_0x433245);}),agentSyncCmd['command']('test\x20[path]')[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x3ba))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x30b),a2_0x3df4f4(0x183))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x1be),'Parse\x20and\x20validate\x20without\x20executing')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2e9),a2_0x3df4f4(0x3bc))[a2_0x3df4f4(0x2f2)](async(_0x5fa512,_0x505e34)=>{const _0x3396a4=a2_0x3df4f4,_0x33857b=new AgentTestCommand(),_0x2444fe=program[_0x3396a4(0x323)](),_0x405d25=await createTDXInstance(_0x2444fe),_0x522f5d=await _0x33857b[_0x3396a4(0x1d0)]({'options':{..._0x2444fe,..._0x505e34},'args':_0x5fa512?[_0x5fa512]:[],'tdx':_0x405d25});process[_0x3396a4(0x249)](_0x522f5d);}),agentSyncCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x290))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x285))[a2_0x3df4f4(0x2f2)](llmAgentListAction),agentSyncCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x175))['description']('Show\x20agent\x20details')[a2_0x3df4f4(0x2f2)](async(_0x6fe4cc,_0x297532)=>{const _0x5bf9ff=a2_0x3df4f4,_0x3deb11=new LLMAgentShowCommand(),_0xc029a8=program[_0x5bf9ff(0x323)](),_0x197315=await createTDXInstance(_0xc029a8),_0x3e8f98=await _0x3deb11[_0x5bf9ff(0x1d0)]({'options':{..._0xc029a8,..._0x297532},'args':[_0x6fe4cc],'tdx':_0x197315});process[_0x5bf9ff(0x249)](_0x3e8f98);}),agentSyncCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x33c))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x277))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2c5),a2_0x3df4f4(0x26c))['option'](a2_0x3df4f4(0x2ce),a2_0x3df4f4(0x36d),a2_0x3df4f4(0x261))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x16d),a2_0x3df4f4(0x178))[a2_0x3df4f4(0x293)]('--max-tool-iterations\x20<n>',a2_0x3df4f4(0x3b6),'4')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x388),a2_0x3df4f4(0x1ee),a2_0x3df4f4(0x3ab))['action'](async(_0x406560,_0x5d3c8a)=>{const _0x45fe74=a2_0x3df4f4,_0x380434=new LLMAgentCreateCommand(),_0x30e3e7=program[_0x45fe74(0x323)](),_0x572e69=await createTDXInstance(_0x30e3e7),_0x33ff49=await _0x380434[_0x45fe74(0x1d0)]({'options':{..._0x30e3e7,..._0x5d3c8a},'args':[_0x406560],'tdx':_0x572e69});process[_0x45fe74(0x249)](_0x33ff49);}),agentSyncCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x184))[a2_0x3df4f4(0x357)]('Update\x20an\x20existing\x20agent')[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x27f),a2_0x3df4f4(0x22b))[a2_0x3df4f4(0x293)](a2_0x3df4f4(0x2f4),a2_0x3df4f4(0x2c2))['option'](a2_0x3df4f4(0x31f),a2_0x3df4f4(0x24f))['option'](a2_0x3df4f4(0x16d),a2_0x3df4f4(0x178))[a2_0x3df4f4(0x2f2)](async(_0xecfe4e,_0x5bb355)=>{const _0x5666a3=a2_0x3df4f4,_0x4ac002=new LLMAgentUpdateCommand(),_0x444145=program[_0x5666a3(0x323)](),_0xba0546=await createTDXInstance(_0x444145),_0x1b90f3=await _0x4ac002['run']({'options':{..._0x444145,..._0x5bb355},'args':[_0xecfe4e],'tdx':_0xba0546});process['exit'](_0x1b90f3);}),agentSyncCmd[a2_0x3df4f4(0x22f)](a2_0x3df4f4(0x27a))[a2_0x3df4f4(0x357)](a2_0x3df4f4(0x27c))[a2_0x3df4f4(0x2f2)](async(_0x404319,_0x56842c)=>{const _0x182ed0=a2_0x3df4f4,_0x5927a8=new LLMAgentDeleteCommand(),_0xe7bedc=program[_0x182ed0(0x323)](),_0x2452d6=await createTDXInstance(_0xe7bedc),_0x1c8f80=await _0x5927a8[_0x182ed0(0x1d0)]({'options':{..._0xe7bedc,..._0x56842c},'args':[_0x404319],'tdx':_0x2452d6});process['exit'](_0x1c8f80);});export{program};export function runCLI(){const _0x3f10fa=a2_0x3df4f4,_0x18a949=!process['argv']['slice'](0x2)[_0x3f10fa(0x297)];showBriefHelp=_0x18a949,program[_0x3f10fa(0x319)](process[_0x3f10fa(0x2a4)]),_0x18a949&&program[_0x3f10fa(0x222)](),process[_0x3f10fa(0x2ea)][_0x3f10fa(0x201)]&&process[_0x3f10fa(0x2a4)][_0x3f10fa(0x297)]>0x2&&!isDevVersion()&&checkForUpdate(currentVersion)['then'](_0x10ec25=>{_0x10ec25&&displayUpdateNotification(_0x10ec25);})[_0x3f10fa(0x271)](()=>{});}
|