@treasuredata/tdx 2026.3.11 → 2026.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +1 -1
- package/dist/build-info.json +3 -3
- package/dist/cli-categories.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/commands/activations.js +1 -1
- package/dist/commands/agent-command.js +1 -1
- package/dist/commands/agent-test-command.js +1 -1
- package/dist/commands/api-command.js +1 -1
- package/dist/commands/auth-command.js +1 -1
- package/dist/commands/auth-login-command.js +1 -1
- package/dist/commands/chat-command.js +1 -1
- package/dist/commands/claude-command.js +1 -1
- package/dist/commands/claude-statusline-command.js +1 -1
- package/dist/commands/claude-usage-command.js +1 -1
- package/dist/commands/command.js +1 -1
- package/dist/commands/connection-command.js +1 -1
- package/dist/commands/databases.js +1 -1
- package/dist/commands/delivery-command.js +1 -1
- package/dist/commands/describe.js +1 -1
- package/dist/commands/engage-campaign-pull-command.js +1 -1
- package/dist/commands/engage-campaign-push-command.js +1 -1
- package/dist/commands/engage-campaign-validate-command.js +1 -1
- package/dist/commands/engage-command.js +1 -1
- package/dist/commands/engage-template-pull-command.js +1 -1
- package/dist/commands/engage-template-push-command.js +1 -1
- package/dist/commands/engage-template-validate-command.js +1 -1
- package/dist/commands/job-command.js +1 -1
- package/dist/commands/journey-command.js +1 -1
- package/dist/commands/journey-validate-command.js +1 -1
- package/dist/commands/llm-command.js +1 -1
- package/dist/commands/mcp-command.js +1 -1
- package/dist/commands/parent-segment-command.js +1 -1
- package/dist/commands/profile-command.js +1 -1
- package/dist/commands/profiles-command.js +1 -1
- package/dist/commands/query-command.js +1 -1
- package/dist/commands/schedule-command.js +1 -1
- package/dist/commands/segment-command.js +1 -1
- package/dist/commands/segment-create-command.js +1 -1
- package/dist/commands/segment-fields-command.js +1 -1
- package/dist/commands/segment-pull-command.js +1 -1
- package/dist/commands/segment-push-command.js +1 -1
- package/dist/commands/segment-update-command.js +1 -1
- package/dist/commands/segment-use-command.js +1 -1
- package/dist/commands/segment-validate-command.js +1 -1
- package/dist/commands/segments.js +1 -1
- package/dist/commands/show.js +1 -1
- package/dist/commands/status-command.js +1 -1
- package/dist/commands/tables.js +1 -1
- package/dist/commands/unset-command.js +1 -1
- package/dist/commands/upgrade-command.js +1 -1
- package/dist/commands/use-command.js +1 -1
- package/dist/commands/user-command.js +1 -1
- package/dist/commands/workflow-command.js +1 -1
- package/dist/core/auth.js +1 -1
- package/dist/core/command-output.js +1 -1
- package/dist/core/config.js +1 -1
- package/dist/core/connection-cache.js +1 -1
- package/dist/core/constants.js +1 -1
- package/dist/core/credential-cache.js +1 -1
- package/dist/core/global-context.js +1 -1
- package/dist/core/keychain.js +1 -1
- package/dist/core/oauth-keychain.js +1 -1
- package/dist/core/oauth.js +1 -1
- package/dist/core/profile.js +1 -1
- package/dist/core/project-config.js +1 -1
- package/dist/core/session.js +1 -1
- package/dist/core/user-cache.js +1 -1
- package/dist/core/version.js +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/tools/index.js +1 -1
- package/dist/mcp/tools/tdx-run.js +1 -1
- package/dist/mcp/tools/tdx-search.js +1 -1
- package/dist/mcp/utils.js +1 -1
- package/dist/proxy/claude-usage-tracker.js +1 -1
- package/dist/proxy/passthrough-server.js +1 -1
- package/dist/proxy/sse-usage-parser.js +1 -1
- package/dist/sdk/agent/agent-config.js +1 -1
- package/dist/sdk/agent/agent-ref-parser.js +1 -1
- package/dist/sdk/agent/agent-yaml.js +1 -1
- package/dist/sdk/agent/test/evaluator.js +1 -1
- package/dist/sdk/agent/test/executor.js +1 -1
- package/dist/sdk/agent/test/index.js +1 -1
- package/dist/sdk/agent/test/output.js +1 -1
- package/dist/sdk/agent/test/parser.js +1 -1
- package/dist/sdk/agent/tool-target-registry.js +1 -1
- package/dist/sdk/api.js +1 -1
- package/dist/sdk/client/cdp-api-client.js +1 -1
- package/dist/sdk/client/delivery-api-client.js +1 -1
- package/dist/sdk/client/endpoints.js +1 -1
- package/dist/sdk/client/engage-api-client.js +1 -1
- package/dist/sdk/client/http-client.js +1 -1
- package/dist/sdk/client/llm-api-client.js +1 -1
- package/dist/sdk/client/oauth-refresh.js +1 -1
- package/dist/sdk/client/rate-limiter.js +1 -1
- package/dist/sdk/client/td-api-client.js +1 -1
- package/dist/sdk/client/trino-api-client.js +1 -1
- package/dist/sdk/client/workflow-client.js +1 -1
- package/dist/sdk/connection-validator.js +1 -1
- package/dist/sdk/connection.js +1 -1
- package/dist/sdk/delivery.js +1 -1
- package/dist/sdk/engage/campaign-pull.js +1 -1
- package/dist/sdk/engage/campaign-push.js +1 -1
- package/dist/sdk/engage/campaign-validator.js +1 -1
- package/dist/sdk/engage/campaign-yaml.js +1 -1
- package/dist/sdk/engage/template-pull.js +1 -1
- package/dist/sdk/engage/template-push.js +1 -1
- package/dist/sdk/engage/template-validator.js +1 -1
- package/dist/sdk/engage/template-yaml.js +1 -1
- package/dist/sdk/engage/types/campaign-def.js +1 -1
- package/dist/sdk/engage/types/campaign-schema.js +1 -1
- package/dist/sdk/engage/types/template-schema.js +1 -1
- package/dist/sdk/engage.js +1 -1
- package/dist/sdk/errors.js +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/io/index.js +1 -1
- package/dist/sdk/io/node-filesystem.js +1 -1
- package/dist/sdk/job.js +1 -1
- package/dist/sdk/journey.js +1 -1
- package/dist/sdk/llm/chat-cache.js +1 -1
- package/dist/sdk/llm/index.js +1 -1
- package/dist/sdk/llm/llm-backup-utils.js +1 -1
- package/dist/sdk/llm/model-factors.js +1 -1
- package/dist/sdk/personalization.js +1 -1
- package/dist/sdk/query/index.js +1 -1
- package/dist/sdk/query/sql-parser.js +1 -1
- package/dist/sdk/realtime.js +1 -1
- package/dist/sdk/schedule.js +1 -1
- package/dist/sdk/segment/child-segment-yaml.js +1 -1
- package/dist/sdk/segment/fields-display.js +1 -1
- package/dist/sdk/segment/file-discovery.js +1 -1
- package/dist/sdk/segment/journey-utils.js +1 -1
- package/dist/sdk/segment/journey-validator.js +1 -1
- package/dist/sdk/segment/journey-yaml.js +1 -1
- package/dist/sdk/segment/parent-segment-preview.js +1 -1
- package/dist/sdk/segment/parent-segment-yaml.js +1 -1
- package/dist/sdk/segment/pull-workflow.js +1 -1
- package/dist/sdk/segment/push-recovery.js +1 -1
- package/dist/sdk/segment/push-workflow.js +1 -1
- package/dist/sdk/segment/resolution-context.js +1 -1
- package/dist/sdk/segment/segment-path-parser.js +1 -1
- package/dist/sdk/segment/segment-ref-parser.js +1 -1
- package/dist/sdk/segment/segment-validator.js +1 -1
- package/dist/sdk/segment/target-resolution.js +1 -1
- package/dist/sdk/segment/tdx-config.js +1 -1
- package/dist/sdk/segment/types/activation-schema.js +1 -1
- package/dist/sdk/segment/types/journey-def.js +1 -1
- package/dist/sdk/segment/types/journey-schema.js +1 -1
- package/dist/sdk/segment/types/segment-def.js +1 -1
- package/dist/sdk/segment/types/segment-schema.js +1 -1
- package/dist/sdk/segment/validate-files.js +1 -1
- package/dist/sdk/segment/yaml-validator.js +1 -1
- package/dist/sdk/segment.js +1 -1
- package/dist/sdk/types/index.js +1 -1
- package/dist/sdk/types/progress.js +1 -1
- package/dist/sdk/user.js +1 -1
- package/dist/sdk/util/format-detector.js +1 -1
- package/dist/sdk/util/formatters.js +1 -1
- package/dist/sdk/util/index.js +1 -1
- package/dist/sdk/util/paginate.js +1 -1
- package/dist/sdk/util/tree-formatter.js +1 -1
- package/dist/sdk/workflow/archive-validation.js +1 -1
- package/dist/sdk/workflow/clone-workflow.js +1 -1
- package/dist/sdk/workflow/index.js +1 -1
- package/dist/sdk/workflow/pull-workflow.js +1 -1
- package/dist/sdk/workflow/push-workflow.js +1 -1
- package/dist/sdk/workflow/tdx-config.js +1 -1
- package/dist/sdk/workflow/workflow-utils.js +1 -1
- package/dist/test-utils/command-runner.js +1 -1
- package/dist/test-utils/factories.js +1 -1
- package/dist/test-utils/fixtures.js +1 -1
- package/dist/test-utils/http-mock.js +1 -1
- package/dist/test-utils/index.js +1 -1
- package/dist/utils/async.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/diff.js +1 -1
- package/dist/utils/file-permissions.js +1 -1
- package/dist/utils/file-reader.js +1 -1
- package/dist/utils/github-releases.js +1 -1
- package/dist/utils/global-cache.js +1 -1
- package/dist/utils/json-loader.js +1 -1
- package/dist/utils/local-cache.js +1 -1
- package/dist/utils/logger/formatters/default-formatter.js +1 -1
- package/dist/utils/logger/formatters/index.js +1 -1
- package/dist/utils/logger/handlers/console-handler.js +1 -1
- package/dist/utils/logger/handlers/file-handler.js +1 -1
- package/dist/utils/logger/handlers/index.js +1 -1
- package/dist/utils/logger/handlers/null-handler.js +1 -1
- package/dist/utils/logger/index.js +1 -1
- package/dist/utils/logger/logger.js +1 -1
- package/dist/utils/logger/types.js +1 -1
- package/dist/utils/option-validation.js +1 -1
- package/dist/utils/process.js +1 -1
- package/dist/utils/prompt.js +1 -1
- package/dist/utils/spinner.js +1 -1
- package/dist/utils/sse-parser.js +1 -1
- package/dist/utils/string-utils.js +1 -1
- package/dist/utils/table-ref-parser.js +1 -1
- package/dist/utils/tdx-logger.js +1 -1
- package/dist/utils/version-check.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a2_0x2830ac=a2_0xc295;(function(_0x513b1a,_0xb2ef0){const _0x6951b=a2_0xc295,_0x1a3044=_0x513b1a();while(!![]){try{const _0x5d1814=-parseInt(_0x6951b(0x33a))/0x1*(-parseInt(_0x6951b(0x239))/0x2)+-parseInt(_0x6951b(0x34c))/0x3*(parseInt(_0x6951b(0x205))/0x4)+-parseInt(_0x6951b(0x2f1))/0x5+-parseInt(_0x6951b(0x31d))/0x6+-parseInt(_0x6951b(0xbc))/0x7*(parseInt(_0x6951b(0x2d6))/0x8)+-parseInt(_0x6951b(0x258))/0x9+parseInt(_0x6951b(0x20f))/0xa*(parseInt(_0x6951b(0x1b5))/0xb);if(_0x5d1814===_0xb2ef0)break;else _0x1a3044['push'](_0x1a3044['shift']());}catch(_0x3c2e25){_0x1a3044['push'](_0x1a3044['shift']());}}}(a2_0x6a14,0x53282));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSPzListCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';function a2_0x6a14(){const _0x17cbeb=['includes','Delete\x20a\x20campaign','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','list\x20[project]','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Pull\x20specific\x20campaign\x20by\x20name','--tsv','\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON','--engine-version\x20<version>','requiredOption','map','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Show\x20what\x20would\x20be\x20written\x20without\x20writing','--new','aliases','Template\x20name','\x20(resolved\x20to\x20','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','grapesjs','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','use\x20[resource]\x20[value]','tdx','--result\x20<target>','908235FxDaou','campaigns\x20[pattern]','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Show\x20only\x20master\x20table\x20validation','status','Clear\x20workflow\x20project\x20context','-f,\x20--file\x20<path>','-o,\x20--output\x20<dir>','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','injectIntoOptions','--yes','information_schema','command','journeys\x20[pattern]','Ending\x20offset\x20(default:\x2020)','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','always-on-campaigns\x20[pattern]','update\x20<segment_name>','--attributes\x20<json>','New\x20workspace\x20name','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','--agent\x20<ref>','Resume\x20a\x20paused\x20campaign','argument','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Workspace\x20name','--kind\x20<type>','--json-columns\x20<cols>','pull\x20[project]\x20[agent-name]','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','--to\x20<timestamp>','-y,\x20--yes','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Pause\x20a\x20running\x20journey','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','pull\x20[workspace-name]','Show\x20segment\x20schema\x20(column\x20types)','Show\x20schedule\x20execution\x20history','list','workflows\x20[project]','--from-task\x20<task>','table','3952830bNyzbQ','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--output\x20<file>','YAML\x20file\x20path\x20for\x20unpushed\x20segment','debug','Start\x20time\x20filter\x20(ISO\x208601\x20format)','-o,\x20--output\x20<folder>','--llm-project\x20<name>','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','attempt','create\x20<name-or-path>','show\x20[name]','--enriched','alias','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','List\x20activations\x20for\x20a\x20journey','segment','--prompt\x20<text>','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','flatMap','Create\x20a\x20scheduled\x20query','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','then','List\x20agents\x20in\x20current\x20project','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Database\x20management\x20commands','GET','Name\x20for\x20the\x20new\x20project\x20(required)','11fZjaUn','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Finish\x20an\x20always-on\x20campaign','log','argumentTerm','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','--session\x20<id>','--cron\x20<expression>','preview\x20[name]','addHelpText','slice','sessions\x20[project]','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','template','-d,\x20--database\x20<database>','Request\x20body\x20as\x20JSON\x20string','get','--name\x20<name>','3Njcnbo','Parent\x20segment\x20description','create\x20[name]','--job-type\x20<type>','Open\x20journey\x20in\x20web\x20browser','Output\x20directory','Push\x20without\x20confirmation','mcp','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','desc\x20[segment_name]','Master\x20database\x20name','chat\x20[message...]','engage_workspace','--description\x20<desc>','Behaviors\x20as\x20JSON\x20string','traffic\x20<name-or-path>','long','--name\x20<new_name>','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Remove\x20API\x20key\x20from\x20system\x20keychain','show\x20<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','Query\x20engine\x20version','gitRevision','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Clear\x20session\x20context','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Limit\x20number\x20of\x20rows','split','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','--last','Show\x20email\x20template\x20details','query\x20[sql]','show\x20<folder_ref>','Delay\x20in\x20seconds\x20before\x20execution','run','LLM\x20agent\x20management','Data\x20connection\x20management\x20(for\x20activations/exports)','claude\x20[args...]','connection','--version\x20<number>','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','--model\x20<name>','DEBUG','noColor','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Email\x20subject\x20template','Read\x20SQL\x20query\x20from\x20file','List\x20email\x20senders','Add\x20behaviors\x20from\x20JSON\x20file','INFO','Attributes\x20from\x20JSON\x20file','Submit\x20a\x20job','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','Setup\x20API\x20key\x20authentication\x20interactively','use\x20<project-name>','\x20-\x20built\x20','init\x20[name]','length','hook','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','Delete\x20an\x20agent','required','unset\x20<resource>','--num\x20<1-10>','chats','folder','delete\x20<name-or-id>','Interactive\x20chat\x20selector','buildTime','--attributes-file\x20<file>','--add-attributes\x20<json>','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Overwrite\x20local\x20changes\x20without\x20confirmation','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','Maximum\x20tool\x20iterations\x20(default:\x204)','49SQKzoE','Check\x20for\x20updates\x20without\x20installing','--max-depth\x20<depth>','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','--no-color','hidden','models','JSON\x20columns\x20for\x20connector\x20(comma-separated)','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','-d,\x20--database\x20<db>','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','-f,\x20--force','--site\x20<site>','Make\x20segment\x20invisible\x20(default:\x20visible)','--trace','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','--to\x20<n>','run\x20<name>','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Pause\x20an\x20always-on\x20campaign','duplicate\x20<name-or-id>','show\x20<name-or-id>','action','clear','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','--jsonl','pull\x20[workspace]','Move\x20to\x20folder','option','update\x20<name>','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','filter','Scheduled\x20query\x20management\x20commands','Launch\x20an\x20always-on\x20campaign','_list-commands','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','--start-at\x20<datetime>','Kill\x20a\x20job','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Include\x20raw\x20history\x20data\x20in\x20output','Email\x20template\x20management','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','--rule-file\x20<file>','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','--behaviors\x20<json>','setup','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','Campaign\x20type\x20(email\x20or\x20push)','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Campaign\x20description','Show\x20journey\x20details','-u,\x20--use','test\x20[path]','Job\x20management\x20commands','resume\x20<name-or-id>','parents\x20[pattern]','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','--starter-message\x20<text>','result\x20<job-id>','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','CDP\x20segment\x20management\x20commands','us01','--include-subtasks','restore\x20<folder>','--follow','Create\x20a\x20new\x20campaign','--params\x20<json>','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','--limit\x20<number>','Email\x20sender\x20ID\x20for\x20delivery','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','--in\x20<database>','Workflow\x20project\x20management','Create\x20a\x20new\x20always-on\x20campaign','Delete\x20a\x20workspace','configureHelp','after','Updated\x20description','--no-eval','Export\x20journey(s)\x20as\x20YAML\x20files','Starting\x20offset\x20(default:\x200)','Workflow\x20session\x20management','accessToken','--dry-run','--type\x20<api_type>','Parent\x20segment\x20management',',\x20version\x20','Show\x20all\x20files\x20including\x20valid\x20ones','validate\x20[name]','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Table\x20management\x20commands','Personalization\x20service\x20management','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','tsv','[DEPRECATED]\x20Segment\x20folder\x20management','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','--name\x20<new-name>','Pause\x20a\x20campaign','INVALID_ARGUMENT','New\x20campaign\x20name','workflow','Run\x20tests\x20for\x20an\x20LLM\x20agent','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Pull\x20specific\x20revision\x20(default:\x20latest)','catch','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','--format\x20<format>','--from\x20<timestamp>','Filtering\x20rule\x20from\x20JSON\x20file','-c,\x20--continue','User\x20management\x20commands','Workspace\x20management','outputHelp','stderr','--email-sender-id\x20<id>','name','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','--interval\x20<range>','Create\x20a\x20new\x20profile','optionTerm','Starter\x20message','description','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','-H,\x20--header\x20<header>','parent','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','Update\x20a\x20workspace','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','Run\x20specific\x20tests\x20(comma-separated)','End\x20time\x20filter\x20(ISO\x208601\x20format)','Pull\x20specific\x20template\x20by\x20name','--tags\x20<tags>','--workspace\x20<name>','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','view\x20<name-or-path>','Preview\x20without\x20creating\x20the\x20project','delivery','Task\x20name\x20for\x20logs\x20action','--name\x20<names>','profile','isTTY','summary','delete\x20<project-name-or-id>','preAction','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20ap01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','--limit\x20<n>','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','System\x20prompt/instructions\x20(default:\x20empty)','Create\x20segment\x20folder','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','create','finish\x20<name-or-id>','-p,\x20--profile\x20<name>','-w,\x20--web','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','attempt:','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','show\x20<agent-name>','Unknown\x20action:\x20','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','stringify','update\x20<name-or-id>','columns\x20<name-or-path>','describe\x20[table]','Result\x20output\x20destination\x20URL','--rule\x20<json>','Output\x20as\x20JSON','project','delete\x20<agent-name>','Show\x20job\x20details','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','--segment\x20<path>','--retry-limit\x20<0~32>','List\x20all\x20available\x20profiles','--status\x20<status>','Create\x20a\x20workspace','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','--reeval','Parent\x20folder\x20name\x20for\x20nested\x20folders','--schedule-option\x20<value>','Pull\x20child\x20segments\x20to\x20YAML\x20files','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','--session-time\x20<time>','push\x20[source-dir]','Cron\x20expression\x20for\x20scheduling','tables\x20[pattern]','Run\x20a\x20scheduled\x20query\x20immediately','join','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','-n,\x20--name\x20<name>','pull\x20[parent_or_file]','--customer-group\x20<json>','Alias\x20for\x20--database\x20(natural\x20language\x20style)','users','logLevel','Workflow\x20(Digdag)\x20management\x20commands','Database\x20name\x20(default:\x20information_schema)','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','RT\x202.0\x20configuration\x20management','Enable\x20UTM\x20tracking','variadic','--subject\x20<subject>','Preview\x20operation\x20without\x20executing','clone\x20[source-dir]','--name\x20<text>','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','launch\x20<name-or-id>','--include-retried','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Database\x20name\x20(required)','Show\x20journey\x20table\x20column-to-step\x20mapping','fields\x20[parent_name]','pause\x20<name-or-path>','_hidden','Query\x20type:\x20trino\x20or\x20hive','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Update\x20a\x20campaign','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','createAsync','--resume-from\x20<task>','Workflow\x20attempt\x20management','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','--timezone\x20<tz>','Version\x20number\x20to\x20view','parse','Show\x20journey\x20statistics','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','Read\x20query\x20from\x20file','Usage:\x20','--master','--priority\x20<-2~2>','upgrade','agents\x20[pattern]','Updated\x20timezone','parent-segment','senders\x20[pattern]','--database\x20<db>','33gWeYPw','--full','agent','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Retry\x20limit\x20(0\x20to\x2032)','colorFn','--html\x20<html>','api\x20[endpoint]','Delete\x20a\x20scheduled\x20query','error','\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','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','replace','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','--no-proxy','Plaintext\x20template\x20content','Get\x20job\x20results','Generate\x20test\x20conversations\x20without\x20evaluation','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','delete\x20<name>','Customer\x20group\x20as\x20JSON\x20string','backup\x20<name>','projects\x20[pattern]','claude-4.5-sonnet','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','commands','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','create\x20<name>','Delete\x20an\x20LLM\x20project','argv','-a,\x20--agent\x20<name>','preview\x20[file]','secrets','view\x20[name]','--folder\x20<name>','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','[EXPERIMENTAL]\x20Show\x20chat\x20log','Show\x20schedule\x20details','subcommandTerm','--behaviors-file\x20<file>','Workspace\x20name\x20(required)','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','commandUsage','flags','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','usage','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Folder\x20description','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','parent_segment','validate\x20[target]','set\x20<key=value>','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','--json','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Customer\x20group\x20from\x20JSON\x20file','Validate\x20campaign\x20YAML\x20files\x20locally','info\x20[segment_name]','run\x20[workflow]','--description\x20<text>','download\x20<project-name>\x20[output-dir]','directory','Output\x20as\x20JSON\x20Lines','always-on-campaign','desc\x20[name]','Read\x20HTML\x20template\x20from\x20file','submit\x20[query]','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Describe\x20table\x20schema','Show\x20always-on\x20campaign\x20details','history\x20<name>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','workspace','New\x20template\x20name','Trino\x20catalog\x20(default:\x20td)','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','--system-prompt\x20<text>','list\x20[pattern]','beefree','1116856aTEZTv','Parse\x20and\x20validate\x20without\x20executing','Skip\x20confirmation\x20prompts','pause\x20<name-or-id>','jsonl','activations\x20<segment_name>','Pull\x20campaigns\x20to\x20YAML\x20files','statusline','llm','-o,\x20--output\x20<file>','7238670UifPBJ','Arguments:','--max-tool-iterations\x20<n>','--reason\x20<text>','workspaces\x20[pattern]','--clear','json','optionDescription','Update\x20an\x20always-on\x20campaign','Skip\x20confirmation\x20prompt','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','registeredArguments','Campaign\x20name','run\x20[name]','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','engage','argumentDescription','attempts\x20[project]','Validate\x20journey\x20YAML\x20files\x20locally','Campaign\x20management','Update\x20an\x20email\x20template','Timezone\x20for\x20cron\x20(default:\x20UTC)','List\x20jobs','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','forEach','list\x20[name]','allowExcessArguments','stats\x20<name-or-path>','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Workspace\x20description','-v,\x20--verbose','logs','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','List\x20secret\x20keys\x20for\x20a\x20project','Include\x20retried\x20attempts\x20(for\x20list)','Directory\x20does\x20not\x20exist:\x20','New\x20segment\x20name','--add-behaviors\x20<json>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','folders\x20<parent_name>','--stream','24472VbwDdE','trace','Follow/watch\x20timeline\x20for\x20running\x20attempts','Resume\x20a\x20paused\x20journey','Always-on\x20campaign\x20management','--html-file\x20<path>','create\x20<parent_name>\x20<folder_name>','List\x20journeys\x20(alias\x20for\x20journey\x20list)','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Invalid\x20editor\x20type:\x20','--skip-validation','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','--add-attributes-file\x20<file>','Change\x20to\x20directory\x20before\x20executing\x20command','--to\x20<date>','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','session','repeat','--in\x20<db>','CDP\x20Journey\x20Orchestration\x20commands','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','--add-behaviors-file\x20<file>','schema\x20<type>','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','use\x20[name]','apiKey','--include-history','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Show\x20connection\x20details\x20by\x20name','4882491bhIOTP','Show\x20master\x20table\x20sample\x20data','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','--limit\x20<rows>','HTML\x20template\x20content','push\x20[target]','sql\x20[name]','retry\x20<session-id>','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','...','subcommandDescription','Show\x20workspace\x20details','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','List\x20journeys\x20in\x20current\x20context','pull\x20<project>\x20[target-dir]','activations\x20<name-or-path>','[attempt-id]','--invisible','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Attempt\x20ID','padEnd','connections','Update\x20an\x20existing\x20agent','Show\x20agent\x20details','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','Login\x20via\x20OAuth\x20(dev\x20sites\x20only)','--table','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20OAuth\x20tokens\x20to\x20profile-specific\x20keychain)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20OAuth\x20login\x20for\x20default\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--site\x20ap01\x20\x20\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20for\x20Japan\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--profile\x20dev\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20saved\x20to\x20\x27dev\x27\x20profile\x0a','validate\x20[file]','-r,\x20--recursive','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','--attribute\x20[name]','--enable-utm-tracking','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','--from\x20<n>','Attributes\x20as\x20JSON\x20string','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','set','--color','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','user','--behavior\x20[name]','help','LLM\x20project\x20to\x20use\x20(overrides\x20context)','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','-1d','\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=ap01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a','fields\x20[name]','job','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','retry','--default','--revision\x20<revision>','--catalog\x20<catalog>','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Job\x20priority\x20(-2\x20to\x202)','Journey\x20version\x20management','--database\x20<name>','use\x20[project]','Output\x20folder\x20(default:\x20{project_name}.llm)','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Set\x20a\x20profile\x20configuration\x20value','--session-id\x20<id>','segments\x20[path]','use\x20<name>','show\x20<job-id>','Filtering\x20rule\x20as\x20JSON\x20string','format','--verbose','--customer-group-file\x20<file>','--plaintext\x20<text>','Output\x20file\x20path','List\x20all\x20data\x20connections','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','database','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','--from\x20<date>','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','set\x20<args...>','pull\x20[name]','--next','--result\x20<url>','Reason\x20for\x20killing\x20the\x20attempt','--debug','Behaviors\x20from\x20JSON\x20file','Path\x20is\x20not\x20a\x20directory:\x20','options','List\x20available\x20connector\x20types','--delay\x20<seconds>','chdir','Duplicate\x20an\x20always-on\x20campaign','trino','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','--delete','Include\x20retried\x20attempts','--temperature\x20<n>','opts','--method\x20<pm>','Authentication\x20management','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Open\x20segment\x20in\x20web\x20browser','0.7','Agent\x20prompt/instructions','isArray','Resume\x20a\x20conversation\x20(shows\x20selector)','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','tasks','push','create\x20<segment_name>','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','--chat-id\x20<id>','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Skip\x20validation\x20of\x20.dig\x20files','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Timezone\x20(e.g.,\x20America/Los_Angeles)','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','view\x20[segment_name]','list\x20[path]','346768tvwqyD','--type\x20<type>','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project'];a2_0x6a14=function(){return _0x17cbeb;};return a2_0x6a14();}import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{AuthLoginCommand}from'./commands/auth-login-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x2830ac(0x1d3)]['includes']('--version')){let versionOutput='tdx\x20'+currentVersion;buildInfo[a2_0x2830ac(0x85)]&&!currentVersion[a2_0x2830ac(0x2d9)](buildInfo[a2_0x2830ac(0x85)])&&(versionOutput+='\x20('+buildInfo[a2_0x2830ac(0x85)]+')'),buildInfo['buildTime']&&(versionOutput+=a2_0x2830ac(0xa7)+buildInfo[a2_0x2830ac(0xb5)]),console['log'](versionOutput),process['exit'](0x0);}const program=new Command();export function mergeCommandOptions(_0x474772,_0x33b0e9){const _0x1489ee={..._0x474772};for(const [_0x426eb8,_0x3af39e]of Object['entries'](_0x33b0e9)){_0x3af39e!==undefined&&(_0x1489ee[_0x426eb8]=_0x3af39e);}return _0x1489ee;}let showBriefHelp=![],description='AI-native\x20CLI\x20for\x20Treasure\x20Data';buildInfo[a2_0x2830ac(0x85)]&&!currentVersion[a2_0x2830ac(0x2d9)](buildInfo[a2_0x2830ac(0x85)])?description+=a2_0x2830ac(0x114)+currentVersion+'\x20('+buildInfo[a2_0x2830ac(0x85)]+')':description+=a2_0x2830ac(0x114)+currentVersion;program[a2_0x2830ac(0x131)](a2_0x2830ac(0x2ef))[a2_0x2830ac(0x137)](description),program[a2_0x2830ac(0xd9)]('-C,\x20--directory\x20<path>',a2_0x2830ac(0x246))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x15b),a2_0x2830ac(0x2d3))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xc9),a2_0x2830ac(0x17a),a2_0x2830ac(0xfb))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x128),a2_0x2830ac(0x1e4))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x273),'Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1eb),a2_0x2830ac(0x261))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xd6),a2_0x2830ac(0x175))['option'](a2_0x2830ac(0x2df),a2_0x2830ac(0x193))['option'](a2_0x2830ac(0x320),'Save\x20output\x20to\x20file')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x102),'Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x280),a2_0x2830ac(0x292),![])['option'](a2_0x2830ac(0xc0),a2_0x2830ac(0x157),![])[a2_0x2830ac(0xd9)](a2_0x2830ac(0x22d),'Enable\x20verbose\x20logging',![])['option'](a2_0x2830ac(0x2b1),a2_0x2830ac(0x80))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xcb),a2_0x2830ac(0x2a6))[a2_0x2830ac(0xd9)]('--timeout\x20<seconds>','Set\x20operation\x20timeout\x20in\x20seconds','30')[a2_0x2830ac(0xd9)]('--dry-run',a2_0x2830ac(0x190),![])['option'](a2_0x2830ac(0x312),a2_0x2830ac(0x207),![])[a2_0x2830ac(0xd9)](a2_0x2830ac(0x340),a2_0x2830ac(0xec))[a2_0x2830ac(0xd9)]('--parent-segment\x20<name>',a2_0x2830ac(0x1aa))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x325),a2_0x2830ac(0x285)),program[a2_0x2830ac(0x109)]({'formatHelp':(_0x49e6f1,_0x2d735d)=>{const _0x43d93e=a2_0x2830ac,_0x34449d=_0x2d735d['padWidth'](_0x49e6f1,_0x2d735d),_0x6b9575=0x2,_0x34bdbb=0x2;function _0x4109e5(_0x9517bc){const _0x1d1f9b=a2_0xc295,_0xc85405=_0x9517bc;return!!(_0xc85405[_0x1d1f9b(0x19d)]||_0xc85405[_0x1d1f9b(0xc1)]);}function _0x1a9b2f(_0xaa2adf,_0x4bd74a){const _0x27ac76=a2_0xc295;if(_0x4bd74a){const _0x3c9cc6=''+_0xaa2adf[_0x27ac76(0x26d)](_0x34449d+_0x34bdbb)+_0x4bd74a;return _0x3c9cc6;}return _0xaa2adf;}function _0x4deedf(_0x1be062){const _0x5393de=a2_0xc295;return _0x1be062[_0x5393de(0x180)]('\x0a')[_0x5393de(0x1c2)](/^/gm,'\x20'[_0x5393de(0x24b)](_0x6b9575));}const _0x4747e3=[];_0x4747e3[_0x43d93e(0x2c9)](_0x43d93e(0x1ac)+_0x2d735d[_0x43d93e(0x1e0)](_0x49e6f1));const _0x45384b=_0x2d735d['commandDescription'](_0x49e6f1);_0x45384b&&(_0x4747e3[_0x43d93e(0x2c9)](''),_0x4747e3[_0x43d93e(0x2c9)](_0x45384b));const _0x19f11f=_0x49e6f1[_0x43d93e(0x1cf)][_0x43d93e(0xdc)](_0x42211b=>!_0x4109e5(_0x42211b));if(_0x19f11f[_0x43d93e(0xa9)]>0x0){if(_0x49e6f1[_0x43d93e(0x131)]()===_0x43d93e(0x2ef)){const _0x27b3bd=_0x49e6f1[_0x43d93e(0x2be)](),_0x5e9ccb=!_0x27b3bd[_0x43d93e(0x9a)]&&process['stdout']['isTTY'],_0x2cefc6=COMMAND_CATEGORIES,_0x27abb2=(_0x21464b,_0x2d08f4)=>_0x5e9ccb?_0x2d08f4(_0x21464b):_0x21464b,_0x4eb31a=new Map();_0x19f11f[_0x43d93e(0x227)](_0xf7b9de=>{const _0x3bdef7=_0x43d93e;_0x4eb31a[_0x3bdef7(0x27f)](_0xf7b9de[_0x3bdef7(0x131)](),_0xf7b9de);}),_0x2cefc6['forEach'](_0x5da278=>{const _0xfec4c3=_0x43d93e,_0x569228=_0x5da278['commands'][_0xfec4c3(0x331)](_0x2ed106=>_0x4eb31a[_0xfec4c3(0x34a)](_0x2ed106)??[]);if(_0x569228['length']>0x0){_0x4747e3[_0xfec4c3(0x2c9)](''),_0x4747e3[_0xfec4c3(0x2c9)](_0x27abb2(_0x5da278[_0xfec4c3(0x131)]+':',_0x5da278[_0xfec4c3(0x1bb)]));const _0xc1af85=_0x569228[_0xfec4c3(0x2e3)](_0x339a92=>{const _0x1f1e00=_0xfec4c3,_0x2d1561=_0x2d735d[_0x1f1e00(0x1dc)](_0x339a92),_0x5e9a16=_0x2d735d[_0x1f1e00(0x263)](_0x339a92);return _0x1a9b2f(_0x2d1561,_0x5e9a16);});_0x4747e3['push'](_0x4deedf(_0xc1af85));}}),_0x4747e3[_0x43d93e(0x2c9)](''),_0x4747e3[_0x43d93e(0x2c9)](_0x43d93e(0xb8));}else{const _0x4f440e=_0x19f11f[_0x43d93e(0x2e3)](_0x77baa9=>{const _0x23904e=_0x43d93e,_0x296c3e=_0x2d735d[_0x23904e(0x1dc)](_0x77baa9),_0x24021f=_0x2d735d[_0x23904e(0x263)](_0x77baa9);return _0x1a9b2f(_0x296c3e,_0x24021f);});_0x4747e3[_0x43d93e(0x2c9)](''),_0x4747e3[_0x43d93e(0x2c9)]('Commands:'),_0x4747e3[_0x43d93e(0x2c9)](_0x4deedf(_0x4f440e));}}if(showBriefHelp&&_0x49e6f1[_0x43d93e(0x131)]()===_0x43d93e(0x2ef))_0x4747e3[_0x43d93e(0x2c9)](''),_0x4747e3[_0x43d93e(0x2c9)](_0x43d93e(0xac));else{const _0x5ed9e8=_0x49e6f1[_0x43d93e(0x2b4)][_0x43d93e(0xdc)](_0x8d41d7=>!_0x4109e5(_0x8d41d7));if(_0x5ed9e8[_0x43d93e(0xa9)]>0x0){const _0x19cdc2=_0x5ed9e8[_0x43d93e(0x2e3)](_0x1d0c8a=>{const _0x289572=_0x43d93e,_0x559c69=_0x2d735d[_0x289572(0x135)](_0x1d0c8a),_0x38ebf2=_0x2d735d[_0x289572(0x216)](_0x1d0c8a);return _0x1a9b2f(_0x559c69,_0x38ebf2);});_0x4747e3[_0x43d93e(0x2c9)](''),_0x4747e3[_0x43d93e(0x2c9)]('Options:'),_0x4747e3[_0x43d93e(0x2c9)](_0x4deedf(_0x19cdc2));}}const _0x56db27=(_0x49e6f1[_0x43d93e(0x21a)]||[])['filter'](_0x500b67=>!_0x4109e5(_0x500b67));if(_0x56db27[_0x43d93e(0xa9)]>0x0){const _0x543faf=_0x56db27[_0x43d93e(0x2e3)](_0x464118=>{const _0x4f4100=_0x43d93e,_0xfe1a9f=_0x2d735d[_0x4f4100(0x33e)](_0x464118),_0x1e1734=_0x2d735d[_0x4f4100(0x21f)](_0x464118);return _0x1a9b2f(_0xfe1a9f,_0x1e1734);});_0x4747e3['push'](''),_0x4747e3[_0x43d93e(0x2c9)](_0x43d93e(0x210)),_0x4747e3[_0x43d93e(0x2c9)](_0x4deedf(_0x543faf));}return _0x4747e3[_0x43d93e(0x180)]('\x0a')+'\x0a';},'subcommandTerm':_0xd70fa5=>{const _0x4daa76=a2_0x2830ac,_0x55cd18=(_0xd70fa5[_0x4daa76(0x21a)]||[])[_0x4daa76(0x2e3)](_0x27bb5d=>_0x27bb5d[_0x4daa76(0xae)]?'<'+_0x27bb5d['name']()+'>':'['+_0x27bb5d[_0x4daa76(0x131)]()+']')[_0x4daa76(0x180)]('\x20'),_0x333c6b=_0xd70fa5[_0x4daa76(0x2e8)](),_0x4f99fd=_0x333c6b[_0x4daa76(0xa9)]>0x0?_0xd70fa5['name']()+',\x20'+_0x333c6b[_0x4daa76(0x180)](',\x20'):_0xd70fa5[_0x4daa76(0x131)]();return _0x55cd18?_0x4f99fd+'\x20'+_0x55cd18:_0x4f99fd;}}),program[a2_0x2830ac(0xaa)](a2_0x2830ac(0x14f),_0xf5cca6=>{const _0x5053d3=a2_0x2830ac,_0x358cdf=_0xf5cca6[_0x5053d3(0x2be)]();if(_0x358cdf['directory']){const _0x23f434=resolve(_0x358cdf[_0x5053d3(0x1f3)]),_0x3335de=_0x23f434!==_0x358cdf[_0x5053d3(0x1f3)]?_0x5053d3(0x2ea)+_0x23f434+')':'';if(!existsSync(_0x23f434))throw new SDKError(ErrorCode[_0x5053d3(0x120)],_0x5053d3(0x233)+_0x358cdf[_0x5053d3(0x1f3)]+_0x3335de,undefined,{'helpText':_0x5053d3(0x1e6)});const _0x3e749e=statSync(_0x23f434);if(!_0x3e749e['isDirectory']())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x5053d3(0x2b3)+_0x358cdf[_0x5053d3(0x1f3)]+_0x3335de,undefined,{'helpText':_0x5053d3(0x19f)});process[_0x5053d3(0x2b7)](_0x23f434);}if(!_0x358cdf[_0x5053d3(0x29f)]){if(_0x358cdf[_0x5053d3(0x31c)])_0x358cdf[_0x5053d3(0x29f)]='table';else{if(_0x358cdf[_0x5053d3(0x215)])_0x358cdf[_0x5053d3(0x29f)]='json';else{if(_0x358cdf[_0x5053d3(0x209)])_0x358cdf[_0x5053d3(0x29f)]=_0x5053d3(0x209);else _0x358cdf['tsv']&&(_0x358cdf[_0x5053d3(0x29f)]=_0x5053d3(0x11b));}}}if(_0x358cdf[_0x5053d3(0x23a)])_0x358cdf[_0x5053d3(0x188)]=LogLevel['TRACE'];else{if(_0x358cdf[_0x5053d3(0x322)])_0x358cdf[_0x5053d3(0x188)]=LogLevel[_0x5053d3(0x99)];else _0x358cdf[_0x5053d3(0x188)]===undefined&&(_0x358cdf[_0x5053d3(0x188)]=LogLevel[_0x5053d3(0xa0)]);}});async function createTDXInstance(_0x3d802f){const _0x57557d=a2_0x2830ac,_0x362728=await GlobalContext[_0x57557d(0x1a2)](_0x3d802f);return _0x362728[_0x57557d(0x2fa)](_0x3d802f),TDX['create']({'site':_0x362728['site'],'apiKey':_0x362728[_0x57557d(0x253)],'accessToken':_0x362728[_0x57557d(0x110)],'logLevel':_0x362728[_0x57557d(0x188)],'profile':_0x362728[_0x57557d(0x14b)]});}const databaseCmd=program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x2a8))[a2_0x2830ac(0x32b)]('db')[a2_0x2830ac(0x137)](a2_0x2830ac(0x337)),databaseListAction=async(_0x16395e,_0x1843a5)=>{const _0x1bc609=a2_0x2830ac,_0x792c2e=new DatabasesCommand(),_0x2434ba=program[_0x1bc609(0x2be)](),_0x27a4b8=await createTDXInstance(_0x2434ba),_0x341e3f=await _0x792c2e['run']({'options':{..._0x2434ba,..._0x1843a5},'args':_0x16395e?[_0x16395e]:[],'tdx':_0x27a4b8});gracefulExit(_0x341e3f);};databaseCmd[a2_0x2830ac(0x2fd)]('list\x20[pattern]')['description']('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')['action'](databaseListAction),program['command']('databases\x20[pattern]',{'hidden':!![]})[a2_0x2830ac(0x137)](a2_0x2830ac(0x1b9))[a2_0x2830ac(0xd3)](databaseListAction),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x79))[a2_0x2830ac(0x137)](a2_0x2830ac(0x30a))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x306),a2_0x2830ac(0x9b))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2e7),'Start\x20a\x20new\x20chat\x20session')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2cc),a2_0x2830ac(0x230))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x238),a2_0x2830ac(0x2ab))['action'](async(_0x476c1a,_0x3a861d)=>{const _0x4a7afe=a2_0x2830ac,_0x3f245a=program[_0x4a7afe(0x2be)](),_0x45de32=await createTDXInstance(_0x3f245a);if(_0x476c1a[0x0]===_0x4a7afe(0x159)){const _0x446fae=new ChatCreateCommand();gracefulExit(await _0x446fae['run']({'options':{..._0x3f245a,..._0x3a861d},'args':_0x476c1a[_0x4a7afe(0x344)](0x1),'tdx':_0x45de32}));return;}const _0x45f4c7=new ChatCommand(),_0x269be5=await _0x45f4c7[_0x4a7afe(0x91)]({'options':{..._0x3f245a,..._0x3a861d},'args':_0x476c1a,'tdx':_0x45de32});gracefulExit(_0x269be5);});const apiCmd=program['command'](a2_0x2830ac(0x1bd))[a2_0x2830ac(0x14d)](a2_0x2830ac(0xe6))[a2_0x2830ac(0x343)]('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_0x2830ac(0xd9)]('-X,\x20--method\x20<method>',a2_0x2830ac(0x244),a2_0x2830ac(0x338))['option']('--data\x20<data>',a2_0x2830ac(0x349))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2f7),'Read\x20request\x20body\x20from\x20file')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x13b),a2_0x2830ac(0x2e5),(_0x44e20b,_0x1d5e84)=>{return _0x1d5e84?[..._0x1d5e84,_0x44e20b]:[_0x44e20b];})[a2_0x2830ac(0xd9)](a2_0x2830ac(0x112),a2_0x2830ac(0x271),'td')[a2_0x2830ac(0xd3)](async(_0x2cab5a,_0x362e35)=>{const _0x470099=a2_0x2830ac;if(!_0x2cab5a){apiCmd['help']();return;}const _0x5cd168=new ApiCommand(),_0x3b4c46=program[_0x470099(0x2be)](),_0x500c8e=await createTDXInstance(_0x3b4c46),_0x47ead8=await _0x5cd168[_0x470099(0x91)]({'options':{..._0x3b4c46,..._0x362e35},'args':[_0x2cab5a],'tdx':_0x500c8e});gracefulExit(_0x47ead8);});program['command'](a2_0x2830ac(0x74))[a2_0x2830ac(0x137)](a2_0x2830ac(0x1c8))['addHelpText'](a2_0x2830ac(0x10a),a2_0x2830ac(0x13d))['action'](async _0xbe5113=>{const _0x541195=a2_0x2830ac,_0x223363=new MCPCommand(),_0x53662d=program[_0x541195(0x2be)](),_0x484a43=await createTDXInstance(_0x53662d),_0x71b6a7=await _0x223363[_0x541195(0x91)]({'options':{..._0x53662d,..._0xbe5113},'args':[],'tdx':_0x484a43});gracefulExit(_0x71b6a7);});const tableCmd=program['command'](a2_0x2830ac(0x31c))[a2_0x2830ac(0x137)](a2_0x2830ac(0x118)),tableListAction=async(_0x5b6982,_0x1cadc1)=>{const _0x4468e0=a2_0x2830ac,_0x40455a=new TablesCommand(),_0x590fec=program[_0x4468e0(0x2be)](),_0x6000a2=await createTDXInstance(_0x590fec);_0x1cadc1['in']&&(_0x1cadc1[_0x4468e0(0x2a8)]=_0x1cadc1['in']);const _0x4a0f6d=await _0x40455a[_0x4468e0(0x91)]({'options':{..._0x590fec,..._0x1cadc1},'args':_0x5b6982?[_0x5b6982]:[],'tdx':_0x6000a2});gracefulExit(_0x4a0f6d);};function a2_0xc295(_0x197908,_0x1ab082){_0x197908=_0x197908-0x71;const _0x6a149e=a2_0x6a14();let _0xc295d3=_0x6a149e[_0x197908];return _0xc295d3;}tableCmd[a2_0x2830ac(0x2fd)]('list\x20[pattern]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x27b))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x348),a2_0x2830ac(0xd5))[a2_0x2830ac(0xd9)]('--in\x20<database>',a2_0x2830ac(0x186))[a2_0x2830ac(0xd3)](tableListAction),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x17e),{'hidden':!![]})[a2_0x2830ac(0x137)](a2_0x2830ac(0xf9))['option'](a2_0x2830ac(0x348),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x105),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x2830ac(0xd3)](tableListAction),program[a2_0x2830ac(0x2fd)]('show\x20[table]')['description']('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')[a2_0x2830ac(0xd9)]('-d,\x20--database\x20<database>',a2_0x2830ac(0x27e))['option'](a2_0x2830ac(0x105),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](async(_0x393cb3,_0x42d620)=>{const _0x27fa34=a2_0x2830ac,_0x28fc15=new ShowCommand(),_0x512709=program[_0x27fa34(0x2be)](),_0x3f2682=await createTDXInstance(_0x512709);_0x42d620['in']&&(_0x42d620[_0x27fa34(0x2a8)]=_0x42d620['in']);const _0x16cbad=await _0x28fc15[_0x27fa34(0x91)]({'options':{..._0x512709,..._0x42d620},'args':_0x393cb3?[_0x393cb3]:[],'tdx':_0x3f2682});gracefulExit(_0x16cbad);}),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x168))['alias']('desc')[a2_0x2830ac(0x137)](a2_0x2830ac(0x1fa))['option'](a2_0x2830ac(0x348),a2_0x2830ac(0x27e))['option']('--in\x20<database>',a2_0x2830ac(0x186))[a2_0x2830ac(0xd3)](async(_0x54836c,_0x1aa984)=>{const _0x20d534=a2_0x2830ac,_0x57f974=new DescribeCommand(),_0x2f189d=program['opts'](),_0x449596=await createTDXInstance(_0x2f189d);_0x1aa984['in']&&(_0x1aa984[_0x20d534(0x2a8)]=_0x1aa984['in']);const _0x493d99=await _0x57f974[_0x20d534(0x91)]({'options':{..._0x2f189d,..._0x1aa984},'args':_0x54836c?[_0x54836c]:[],'tdx':_0x449596});gracefulExit(_0x493d99);}),program['command'](a2_0x2830ac(0x8e))[a2_0x2830ac(0x137)]('Run\x20Trino\x20query\x20with\x20streaming\x20results')[a2_0x2830ac(0xd9)]('-d,\x20--database\x20<database>','Database\x20to\x20query\x20(default:\x20information_schema)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x105),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x291),a2_0x2830ac(0x200))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2f7),a2_0x2830ac(0x9d))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x25b),'Maximum\x20rows\x20to\x20display')[a2_0x2830ac(0xd3)](async(_0x1fc641,_0x5655ca)=>{const _0x5c5010=a2_0x2830ac,_0x31ce49=new QueryCommand(),_0x2c9fe1=program[_0x5c5010(0x2be)](),_0x8727eb=await createTDXInstance(_0x2c9fe1);_0x5655ca['in']&&(_0x5655ca[_0x5c5010(0x2a8)]=_0x5655ca['in']);const _0x5aa007=await _0x31ce49[_0x5c5010(0x91)]({'options':mergeCommandOptions(_0x2c9fe1,_0x5655ca),'args':_0x1fc641?[_0x1fc641]:[],'tdx':_0x8727eb});gracefulExit(_0x5aa007);});const segmentCmd=program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x32e))[a2_0x2830ac(0x32b)]('sg')[a2_0x2830ac(0x137)](a2_0x2830ac(0xfa)),segmentListAction=async(_0x21bf5f,_0x568510)=>{const _0x305e08=a2_0x2830ac,_0x5494c2=new SegmentsCommand(),_0x32ac2e=program[_0x305e08(0x2be)](),_0x22e92e=await createTDXInstance(_0x32ac2e),_0x32955c=await _0x5494c2[_0x305e08(0x91)]({'options':{..._0x32ac2e,..._0x568510},'args':_0x21bf5f?[_0x21bf5f]:[],'tdx':_0x22e92e});gracefulExit(_0x32955c);};segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x2d5))[a2_0x2830ac(0x137)]('List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x276),a2_0x2830ac(0x1a1))['option'](a2_0x2830ac(0xbe),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x2830ac(0xd3)](segmentListAction),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x29b),{'hidden':!![]})['description']('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')['option'](a2_0x2830ac(0x276),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0xbe),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x2830ac(0xd3)](segmentListAction),segmentCmd['command']('use\x20<path>',{'hidden':!![]})['description'](a2_0x2830ac(0x310))['action'](async(_0x5dcc0b,_0x47ffcd)=>{const _0x2c5789=a2_0x2830ac,_0x16b983=new SegmentUseCommand(),_0x38af3c=program[_0x2c5789(0x2be)](),_0x4c613a=await createTDXInstance(_0x38af3c),_0x538ae5=await _0x16b983['run']({'options':{..._0x38af3c,..._0x47ffcd},'args':[_0x5dcc0b],'tdx':_0x4c613a});gracefulExit(_0x538ae5);});const segmentViewAction=async(_0x573152,_0xca86f0)=>{const _0xf45199=a2_0x2830ac,_0x2ae241=new SegmentViewCommand(),_0x3b56c0=program[_0xf45199(0x2be)](),_0x87d7ae=await createTDXInstance(_0x3b56c0),_0x44832e=await _0x2ae241[_0xf45199(0x91)]({'options':{..._0x3b56c0,..._0xca86f0},'args':_0x573152?[_0x573152]:[],'tdx':_0x87d7ae});gracefulExit(_0x44832e);};segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x2d4))[a2_0x2830ac(0x137)](a2_0x2830ac(0xa4))[a2_0x2830ac(0xd9)]('-w,\x20--web','Open\x20segment\x20in\x20web\x20browser')[a2_0x2830ac(0xd3)](segmentViewAction),segmentCmd['command'](a2_0x2830ac(0x1ef),{'hidden':!![]})[a2_0x2830ac(0x32b)]('describe')['option'](a2_0x2830ac(0x15c),a2_0x2830ac(0x2c2))[a2_0x2830ac(0x137)]('Show\x20segment\x20details\x20(alias\x20for\x20view)')[a2_0x2830ac(0xd3)](segmentViewAction),segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x77))['description'](a2_0x2830ac(0x317))[a2_0x2830ac(0xd3)](async(_0x569985,_0x31528e)=>{const _0x124f15=a2_0x2830ac,_0x5f3465=new SegmentDescCommand(),_0x2981b9=program['opts'](),_0x4b6d47=await createTDXInstance(_0x2981b9),_0x5c8d0b=await _0x5f3465[_0x124f15(0x91)]({'options':{..._0x2981b9,..._0x31528e},'args':_0x569985?[_0x569985]:[],'tdx':_0x4b6d47});gracefulExit(_0x5c8d0b);}),segmentCmd[a2_0x2830ac(0x2fd)]('show\x20[segment_name]')[a2_0x2830ac(0x137)](a2_0x2830ac(0xc7))[a2_0x2830ac(0xd3)](async(_0xd5c00e,_0x34bc11)=>{const _0x22c912=a2_0x2830ac,_0x1c44e4=new SegmentShowCommand(),_0x467cfa=program[_0x22c912(0x2be)](),_0x416ce7=await createTDXInstance(_0x467cfa),_0x304833=await _0x1c44e4['run']({'options':{..._0x467cfa,..._0x34bc11},'args':_0xd5c00e?[_0xd5c00e]:[],'tdx':_0x416ce7});gracefulExit(_0x304833);}),segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x237),{'hidden':!![]})[a2_0x2830ac(0x137)](a2_0x2830ac(0x1ea))[a2_0x2830ac(0xd3)](async(_0x15a009,_0x8763f5)=>{const _0x3fab9d=a2_0x2830ac,_0x44f0e2=new SegmentFolderListCommand(),_0x274c4f=program['opts'](),_0x9f9f42=await createTDXInstance(_0x274c4f),_0x11f312=await _0x44f0e2[_0x3fab9d(0x91)]({'options':{..._0x274c4f,..._0x8763f5},'args':[_0x15a009],'tdx':_0x9f9f42});gracefulExit(_0x11f312);});const folderCmd=segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xb2),{'hidden':!![]})[a2_0x2830ac(0x137)](a2_0x2830ac(0x11c));folderCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x8f))[a2_0x2830ac(0x137)](a2_0x2830ac(0x22f))['action'](async(_0x267a2b,_0x3d944d)=>{const _0x594101=a2_0x2830ac,_0x24248e=new SegmentFolderShowCommand(),_0x4b996d=program[_0x594101(0x2be)](),_0x298dfb=await createTDXInstance(_0x4b996d),_0x2f1be0=await _0x24248e[_0x594101(0x91)]({'options':{..._0x4b996d,..._0x3d944d},'args':[_0x267a2b],'tdx':_0x298dfb});gracefulExit(_0x2f1be0);}),segmentCmd['command']('sql\x20[segment_name]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x2cb))[a2_0x2830ac(0xd9)]('--path\x20<file-path>',a2_0x2830ac(0x321))[a2_0x2830ac(0xd3)](async(_0x3666ea,_0x3838b9)=>{const _0x3674ea=a2_0x2830ac,_0x1ee667=new SegmentSQLCommand(),_0x505c82=program['opts'](),_0x2f0374=await createTDXInstance(_0x505c82),_0x4686ac=await _0x1ee667[_0x3674ea(0x91)]({'options':{..._0x505c82,..._0x3838b9},'args':_0x3666ea?[_0x3666ea]:[],'tdx':_0x2f0374});gracefulExit(_0x4686ac);}),segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x19b))['description']('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)')[a2_0x2830ac(0xd3)](async(_0x56348b,_0x5dc8dd)=>{const _0x5529ff=a2_0x2830ac,_0x24ef1c=new SegmentFieldsCommand(),_0x15993d=program[_0x5529ff(0x2be)](),_0x4f0afd=await createTDXInstance(_0x15993d),_0x1caade=await _0x24ef1c[_0x5529ff(0x91)]({'options':{..._0x15993d,..._0x5dc8dd},'args':_0x56348b?[_0x56348b]:[],'tdx':_0x4f0afd});gracefulExit(_0x1caade);}),segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x184))[a2_0x2830ac(0x137)](a2_0x2830ac(0x179))['option'](a2_0x2830ac(0x111),a2_0x2830ac(0x249))[a2_0x2830ac(0xd3)](async(_0x120e92,_0x4ffceb)=>{const _0x1b2db3=a2_0x2830ac,_0x647630=new SegmentPullCommand(),_0x5af859=program['opts'](),_0x370046=await createTDXInstance(_0x5af859),_0x4c1c06=await _0x647630[_0x1b2db3(0x91)]({'options':{..._0x5af859,..._0x4ffceb},'args':_0x120e92?[_0x120e92]:[],'tdx':_0x370046});gracefulExit(_0x4c1c06);}),segmentCmd[a2_0x2830ac(0x2fd)]('push\x20[parent_or_file]')['description'](a2_0x2830ac(0x2ce))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x111),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2bb),a2_0x2830ac(0x1ec))[a2_0x2830ac(0xd3)](async(_0x5aa112,_0x1f5c91)=>{const _0x756db2=a2_0x2830ac,_0x5c4f31=new SegmentPushCommand(),_0xc1bc3b=program[_0x756db2(0x2be)](),_0x229149=await createTDXInstance(_0xc1bc3b),_0x209b02=await _0x5c4f31[_0x756db2(0x91)]({'options':{..._0xc1bc3b,..._0x1f5c91},'args':_0x5aa112?[_0x5aa112]:[],'tdx':_0x229149});gracefulExit(_0x209b02);}),segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1e8))[a2_0x2830ac(0x137)](a2_0x2830ac(0x1b8))['action'](async(_0x159acb,_0x31231d)=>{const _0x16c54b=new SegmentValidateCommand(),_0x110b5c=program['opts'](),_0x44e3e9=await createTDXInstance(_0x110b5c),_0xc69118=await _0x16c54b['run']({'options':{..._0x110b5c,..._0x31231d},'args':_0x159acb?[_0x159acb]:[],'tdx':_0x44e3e9});gracefulExit(_0xc69118);}),segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x2ca),{'hidden':!![]})[a2_0x2830ac(0x137)](a2_0x2830ac(0x251))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1f1),'Segment\x20description')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x16a),a2_0x2830ac(0x29e))['option'](a2_0x2830ac(0xe8),a2_0x2830ac(0x12a))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1d8),'Folder\x20name\x20for\x20organization')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x30c),a2_0x2830ac(0x1fd))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x26a),a2_0x2830ac(0xca))[a2_0x2830ac(0xd9)]('--no-count-population','Skip\x20population\x20counting')['action'](async(_0x13fd93,_0x318f8c)=>{const _0x131c18=a2_0x2830ac,_0x16ccea=new SegmentCreateCommand(),_0x548f95=program[_0x131c18(0x2be)](),_0x4e7fe4=await createTDXInstance(_0x548f95),_0x50436f=await _0x16ccea[_0x131c18(0x91)]({'options':{..._0x548f95,..._0x318f8c},'args':[_0x13fd93],'tdx':_0x4e7fe4});gracefulExit(_0x50436f);}),segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x302),{'hidden':!![]})['description']('[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x7f),a2_0x2830ac(0x234))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1f1),'Updated\x20description')['option'](a2_0x2830ac(0x16a),a2_0x2830ac(0x236))[a2_0x2830ac(0xd9)]('--rule-file\x20<file>',a2_0x2830ac(0x2f9))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1d8),a2_0x2830ac(0xd8))['option'](a2_0x2830ac(0x30c),a2_0x2830ac(0x1fd))['action'](async(_0x2d808e,_0x33d167)=>{const _0x302525=a2_0x2830ac,_0x785766=new SegmentUpdateCommand(),_0x59a175=program['opts'](),_0x4ef3a3=await createTDXInstance(_0x59a175),_0x409719=await _0x785766[_0x302525(0x91)]({'options':{..._0x59a175,..._0x33d167},'args':[_0x2d808e],'tdx':_0x4ef3a3});gracefulExit(_0x409719);});const parentCmd=segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x13c),{'hidden':!![]})[a2_0x2830ac(0x137)](a2_0x2830ac(0x226)),parentListAction=async(_0x4842b2,_0x308914)=>{const _0xccf0f2=a2_0x2830ac,_0x50e584=new ParentSegmentListCommand(),_0x10307b=program['opts'](),_0x1d15c4=await createTDXInstance(_0x10307b),_0x4a9535=await _0x50e584[_0xccf0f2(0x91)]({'options':{..._0x10307b,..._0x308914},'args':_0x4842b2?[_0x4842b2]:[],'tdx':_0x1d15c4});gracefulExit(_0x4a9535);};parentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x203))[a2_0x2830ac(0x137)](a2_0x2830ac(0x160))[a2_0x2830ac(0xd3)](parentListAction),segmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xf5),{'hidden':!![]})[a2_0x2830ac(0x137)](a2_0x2830ac(0x117))[a2_0x2830ac(0xd3)](parentListAction),parentCmd['command'](a2_0x2830ac(0x2ad))[a2_0x2830ac(0x137)](a2_0x2830ac(0x76))[a2_0x2830ac(0xd9)]('-o,\x20--output\x20<file>','Output\x20file\x20path\x20(default:\x20<name>.yml)')[a2_0x2830ac(0xd3)](async(_0x3d6dc5,_0x552c0b)=>{const _0x58809f=a2_0x2830ac,_0x57dfb5=new ParentSegmentPullCommand(),_0x2346e2=program[_0x58809f(0x2be)](),_0x3bf248=await createTDXInstance(_0x2346e2),_0x1f2558=await _0x57dfb5['run']({'options':{..._0x2346e2,..._0x552c0b},'args':_0x3d6dc5?[_0x3d6dc5]:[],'tdx':_0x3bf248});gracefulExit(_0x1f2558);}),parentCmd[a2_0x2830ac(0x2fd)]('push\x20[file]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x158))[a2_0x2830ac(0xd3)](async(_0x2ae627,_0x4bb2a0)=>{const _0x478e9f=a2_0x2830ac,_0xf52e6c=new ParentSegmentPushCommand(),_0x3fc68f=program[_0x478e9f(0x2be)](),_0x2af852=await createTDXInstance(_0x3fc68f),_0x1a79db=await _0xf52e6c[_0x478e9f(0x91)]({'options':{..._0x3fc68f,..._0x4bb2a0},'args':_0x2ae627?[_0x2ae627]:[],'tdx':_0x2af852});gracefulExit(_0x1a79db);}),parentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x275))['description'](a2_0x2830ac(0x2ed))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1ad),a2_0x2830ac(0x2f4))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x278),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')['option'](a2_0x2830ac(0x283),a2_0x2830ac(0x88))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x32a),a2_0x2830ac(0x1a5))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x133),a2_0x2830ac(0x315),a2_0x2830ac(0x287))[a2_0x2830ac(0xd3)](async(_0x4313f2,_0xb91247)=>{const _0x360a0c=a2_0x2830ac,_0xac0706=new ParentSegmentValidateCommand(),_0x2105cf=program[_0x360a0c(0x2be)](),_0x51c1c7=await createTDXInstance(_0x2105cf),_0x2fc017=await _0xac0706['run']({'options':{..._0x2105cf,..._0xb91247},'args':_0x4313f2?[_0x4313f2]:[],'tdx':_0x51c1c7});gracefulExit(_0x2fc017);}),parentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1d5))[a2_0x2830ac(0x137)](a2_0x2830ac(0x28b))[a2_0x2830ac(0xd9)]('--master',a2_0x2830ac(0x259))['option']('--attribute\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x283),a2_0x2830ac(0x145))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x32a),a2_0x2830ac(0x152))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x133),a2_0x2830ac(0x315),a2_0x2830ac(0x287))['action'](async(_0x4987bb,_0x5215f7)=>{const _0x176d8a=a2_0x2830ac,_0x2e1dee=new ParentSegmentPreviewCommand(),_0x515f12=program[_0x176d8a(0x2be)](),_0x2b9a22=await createTDXInstance(_0x515f12),_0x1251b0=await _0x2e1dee['run']({'options':{..._0x515f12,..._0x5215f7},'args':_0x4987bb?[_0x4987bb]:[],'tdx':_0x2b9a22});gracefulExit(_0x1251b0);}),parentCmd['command'](a2_0x2830ac(0x21c))[a2_0x2830ac(0x137)](a2_0x2830ac(0x30f))[a2_0x2830ac(0xd3)](async(_0x51f0a8,_0x21d2ca)=>{const _0x1d8dd2=new ParentSegmentRunCommand(),_0x20fdb0=program['opts'](),_0x5b1a85=await createTDXInstance(_0x20fdb0),_0x152500=await _0x1d8dd2['run']({'options':{..._0x20fdb0,..._0x21d2ca},'args':_0x51f0a8?[_0x51f0a8]:[],'tdx':_0x5b1a85});gracefulExit(_0x152500);});const parentSegmentCmd=program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1b2))['alias']('ps')[a2_0x2830ac(0x137)](a2_0x2830ac(0x113));parentSegmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x203))['description'](a2_0x2830ac(0x160))[a2_0x2830ac(0xd3)](parentListAction),parentSegmentCmd['command'](a2_0x2830ac(0x2ad))['description'](a2_0x2830ac(0x1e2))['option'](a2_0x2830ac(0x20e),'Output\x20file\x20path')['option'](a2_0x2830ac(0xf1),a2_0x2830ac(0x2a9))[a2_0x2830ac(0xd3)](async(_0x51241e,_0x1c8581)=>{const _0x24ae89=a2_0x2830ac,_0x7cc10e=new ParentSegmentPullCommand(),_0x513234=program[_0x24ae89(0x2be)](),_0x2f46cc=await createTDXInstance(_0x513234),_0x2cb644=await _0x7cc10e[_0x24ae89(0x91)]({'options':{..._0x513234,..._0x1c8581},'args':_0x51241e?[_0x51241e]:[],'tdx':_0x2f46cc});gracefulExit(_0x2cb644);}),parentSegmentCmd['command']('push\x20[name]')['description'](a2_0x2830ac(0x31f))['action'](async(_0x725547,_0x1e79ab)=>{const _0x5cc047=a2_0x2830ac,_0x2d6515=new ParentSegmentPushCommand(),_0x5207e3=program['opts'](),_0x1da7a6=await createTDXInstance(_0x5207e3),_0x2f23f7=await _0x2d6515[_0x5cc047(0x91)]({'options':{..._0x5207e3,..._0x1e79ab},'args':_0x725547?[_0x725547]:[],'tdx':_0x1da7a6});gracefulExit(_0x2f23f7);}),parentSegmentCmd['command'](a2_0x2830ac(0x116))[a2_0x2830ac(0x137)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1ad),a2_0x2830ac(0x2f4))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x278),a2_0x2830ac(0x25a))[a2_0x2830ac(0xd9)]('--behavior\x20[name]',a2_0x2830ac(0x88))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x32a),a2_0x2830ac(0x1a5))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x133),a2_0x2830ac(0x315),a2_0x2830ac(0x287))['action'](async(_0x10ab8,_0x547b7c)=>{const _0x3d6efd=a2_0x2830ac,_0x29eff0=new ParentSegmentValidateCommand(),_0x31ab1d=program[_0x3d6efd(0x2be)](),_0x1a10d7=await createTDXInstance(_0x31ab1d),_0x16e918=await _0x29eff0['run']({'options':{..._0x31ab1d,..._0x547b7c},'args':_0x10ab8?[_0x10ab8]:[],'tdx':_0x1a10d7});gracefulExit(_0x16e918);}),parentSegmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x342))[a2_0x2830ac(0x137)](a2_0x2830ac(0x28b))[a2_0x2830ac(0xd9)]('--master',a2_0x2830ac(0x259))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x278),a2_0x2830ac(0x313))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x283),a2_0x2830ac(0x145))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x32a),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x2830ac(0xd9)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x2830ac(0x287))[a2_0x2830ac(0xd3)](async(_0x359ca9,_0x1eee86)=>{const _0x152b11=a2_0x2830ac,_0x552e16=new ParentSegmentPreviewCommand(),_0x35d938=program[_0x152b11(0x2be)](),_0xaa7ca8=await createTDXInstance(_0x35d938),_0x3815fa=await _0x552e16[_0x152b11(0x91)]({'options':{..._0x35d938,..._0x1eee86},'args':_0x359ca9?[_0x359ca9]:[],'tdx':_0xaa7ca8});gracefulExit(_0x3815fa);}),parentSegmentCmd['command'](a2_0x2830ac(0x21c))[a2_0x2830ac(0x137)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x2830ac(0xd3)](async(_0x3a215b,_0x3a68d7)=>{const _0x358487=a2_0x2830ac,_0x1361ed=new ParentSegmentRunCommand(),_0x35660e=program[_0x358487(0x2be)](),_0x51ffe5=await createTDXInstance(_0x35660e),_0x5ccc56=await _0x1361ed[_0x358487(0x91)]({'options':{..._0x35660e,..._0x3a68d7},'args':_0x3a215b?[_0x3a215b]:[],'tdx':_0x51ffe5});gracefulExit(_0x5ccc56);}),parentSegmentCmd['command'](a2_0x2830ac(0x289))[a2_0x2830ac(0x137)](a2_0x2830ac(0x182))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1eb),a2_0x2830ac(0x16b))[a2_0x2830ac(0xd9)]('--jsonl',a2_0x2830ac(0x1f4))[a2_0x2830ac(0xd3)](async(_0x26ce7c,_0xe938e3)=>{const _0x2205a3=a2_0x2830ac,_0x225226=new ParentSegmentFieldsCommand(),_0x37497f=program['opts'](),_0x7f5b15=await createTDXInstance(_0x37497f),_0x30c729=await _0x225226[_0x2205a3(0x91)]({'options':{..._0x37497f,..._0xe938e3},'args':_0x26ce7c?[_0x26ce7c]:[],'tdx':_0x7f5b15});gracefulExit(_0x30c729);}),parentSegmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1d7))[a2_0x2830ac(0x137)]('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')['option']('-w,\x20--web','Open\x20parent\x20segment\x20in\x20web\x20browser')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1eb),'Output\x20as\x20JSON')[a2_0x2830ac(0xd9)](a2_0x2830ac(0xd6),a2_0x2830ac(0x1f4))[a2_0x2830ac(0xd3)](async(_0x575922,_0x244fce)=>{const _0x3a03e4=a2_0x2830ac,_0x1a185c=new ParentSegmentViewCommand(),_0x349217=program[_0x3a03e4(0x2be)](),_0x56982c=await createTDXInstance(_0x349217),_0x43aca0=await _0x1a185c['run']({'options':{..._0x349217,..._0x244fce},'args':_0x575922?[_0x575922]:[],'tdx':_0x56982c});gracefulExit(_0x43aca0);}),parentSegmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1f6))[a2_0x2830ac(0x137)](a2_0x2830ac(0xe0))[a2_0x2830ac(0xd9)]('-o,\x20--output\x20<file>',a2_0x2830ac(0x2a3))['option'](a2_0x2830ac(0x1eb),a2_0x2830ac(0x16b))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xd6),'Output\x20as\x20JSON\x20Lines')['action'](async(_0x22d35f,_0x437947)=>{const _0xa3997=a2_0x2830ac,_0x447f99=new ParentSegmentDescCommand(),_0x3a69c8=program[_0xa3997(0x2be)](),_0x586ca3=await createTDXInstance(_0x3a69c8),_0x5dea83=await _0x447f99[_0xa3997(0x91)]({'options':{..._0x3a69c8,..._0x437947},'args':_0x22d35f?[_0x22d35f]:[],'tdx':_0x586ca3});gracefulExit(_0x5dea83);}),parentSegmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x25e))['description'](a2_0x2830ac(0x97))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1eb),'Output\x20as\x20JSON')[a2_0x2830ac(0xd9)](a2_0x2830ac(0xd6),a2_0x2830ac(0x1f4))[a2_0x2830ac(0xd3)](async(_0x5a6ae1,_0x245407)=>{const _0x389084=a2_0x2830ac,_0x529dc3=new ParentSegmentSQLCommand(),_0x26f6b5=program[_0x389084(0x2be)](),_0x12f841=await createTDXInstance(_0x26f6b5),_0x40fa22=await _0x529dc3[_0x389084(0x91)]({'options':{..._0x26f6b5,..._0x245407},'args':_0x5a6ae1?[_0x5a6ae1]:[],'tdx':_0x12f841});gracefulExit(_0x40fa22);}),parentSegmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x329))[a2_0x2830ac(0x137)](a2_0x2830ac(0x8b))['option'](a2_0x2830ac(0x153),a2_0x2830ac(0x89))[a2_0x2830ac(0xd9)]('--json',a2_0x2830ac(0x16b))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xd6),a2_0x2830ac(0x1f4))[a2_0x2830ac(0xd3)](async(_0x80a656,_0x11436b)=>{const _0x9dace7=a2_0x2830ac,_0xdd9941=new ParentSegmentShowCommand(),_0x3d512e=program[_0x9dace7(0x2be)](),_0x285cd5=await createTDXInstance(_0x3d512e),_0x31187f=await _0xdd9941[_0x9dace7(0x91)]({'options':{..._0x3d512e,..._0x11436b},'args':_0x80a656?[_0x80a656]:[],'tdx':_0x285cd5});gracefulExit(_0x31187f);}),parentSegmentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x252))['description']('Set\x20or\x20show\x20parent\x20segment\x20context')['action'](async(_0x3f9c15,_0x48684d)=>{const _0x9ee98e=a2_0x2830ac,_0x205f81=new UseCommand(),_0x4ad49b=program['opts'](),_0xd185ba=_0x3f9c15?[_0x9ee98e(0x1e7),_0x3f9c15]:[],_0x5ee362=await _0x205f81[_0x9ee98e(0x91)]({'options':{..._0x4ad49b,..._0x48684d},'args':_0xd185ba,'tdx':null});gracefulExit(_0x5ee362);});const psRtCmd=parentSegmentCmd[a2_0x2830ac(0x2fd)]('rt')['description'](a2_0x2830ac(0x18c));psRtCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x203))[a2_0x2830ac(0x137)](a2_0x2830ac(0x2d0))['action'](async(_0x2839f3,_0x5eefa3)=>{const _0x416494=a2_0x2830ac,_0x582b9f=new PSRtListCommand(),_0x200242=program[_0x416494(0x2be)](),_0x12eeb0=await createTDXInstance(_0x200242),_0x13a10e=await _0x582b9f[_0x416494(0x91)]({'options':{..._0x200242,..._0x5eefa3},'args':_0x2839f3?[_0x2839f3]:[],'tdx':_0x12eeb0});gracefulExit(_0x13a10e);}),psRtCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x116))['description'](a2_0x2830ac(0x309))[a2_0x2830ac(0xd3)](async(_0x6c5e8,_0x567efa)=>{const _0x441be3=new PSRtValidateCommand(),_0x1b458e=program['opts'](),_0x16fd0b=await createTDXInstance(_0x1b458e),_0x41030b=await _0x441be3['run']({'options':{..._0x1b458e,..._0x567efa},'args':_0x6c5e8?[_0x6c5e8]:[],'tdx':_0x16fd0b});gracefulExit(_0x41030b);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})[a2_0x2830ac(0x137)]('RT\x202.0\x20configuration\x20management');parentRtCmd['command'](a2_0x2830ac(0x203))[a2_0x2830ac(0x137)](a2_0x2830ac(0x2d0))[a2_0x2830ac(0xd3)](async(_0x290202,_0x1d0960)=>{const _0x16b985=a2_0x2830ac,_0x34242c=new PSRtListCommand(),_0x58b6f9=program[_0x16b985(0x2be)](),_0x5dea0a=await createTDXInstance(_0x58b6f9),_0x1b1b17=await _0x34242c[_0x16b985(0x91)]({'options':{..._0x58b6f9,..._0x1d0960},'args':_0x290202?[_0x290202]:[],'tdx':_0x5dea0a});gracefulExit(_0x1b1b17);}),parentRtCmd['command'](a2_0x2830ac(0x116))['description'](a2_0x2830ac(0x309))[a2_0x2830ac(0xd3)](async(_0x141eeb,_0x1991ce)=>{const _0x1fd76f=a2_0x2830ac,_0x45f5d3=new PSRtValidateCommand(),_0x69e16c=program['opts'](),_0x577f30=await createTDXInstance(_0x69e16c),_0x2c3862=await _0x45f5d3[_0x1fd76f(0x91)]({'options':{..._0x69e16c,..._0x1991ce},'args':_0x141eeb?[_0x141eeb]:[],'tdx':_0x577f30});gracefulExit(_0x2c3862);});const psPzCmd=parentSegmentCmd[a2_0x2830ac(0x2fd)]('pz')[a2_0x2830ac(0x137)]('Personalization\x20service\x20management');psPzCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x228))[a2_0x2830ac(0x137)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x327b0c,_0x4e2bfe)=>{const _0x19513b=a2_0x2830ac,_0x5a0d70=new PSPzListCommand(),_0xa6856=program['opts'](),_0xc1ea70=await createTDXInstance(_0xa6856),_0x2525ec=await _0x5a0d70[_0x19513b(0x91)]({'options':{..._0xa6856,..._0x4e2bfe},'args':_0x327b0c?[_0x327b0c]:[],'tdx':_0xc1ea70});gracefulExit(_0x2525ec);}),psPzCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xa8))[a2_0x2830ac(0x137)](a2_0x2830ac(0x346))[a2_0x2830ac(0xd3)](async(_0x1285f2,_0x518586)=>{const _0x41e080=a2_0x2830ac,_0x3e9578=new PSPzInitCommand(),_0x11a3be=program[_0x41e080(0x2be)](),_0x140a28=await createTDXInstance(_0x11a3be),_0x33ba23=await _0x3e9578[_0x41e080(0x91)]({'options':{..._0x11a3be,..._0x518586},'args':_0x1285f2?[_0x1285f2]:[],'tdx':_0x140a28});gracefulExit(_0x33ba23);});const parentPzCmd=parentCmd[a2_0x2830ac(0x2fd)]('pz',{'hidden':!![]})[a2_0x2830ac(0x137)](a2_0x2830ac(0x119));parentPzCmd['command'](a2_0x2830ac(0x228))[a2_0x2830ac(0x137)](a2_0x2830ac(0x101))[a2_0x2830ac(0xd3)](async(_0x276558,_0x195cb7)=>{const _0x36d603=new PSPzListCommand(),_0x24aaf7=program['opts'](),_0x1eb240=await createTDXInstance(_0x24aaf7),_0x501494=await _0x36d603['run']({'options':{..._0x24aaf7,..._0x195cb7},'args':_0x276558?[_0x276558]:[],'tdx':_0x1eb240});gracefulExit(_0x501494);}),parentPzCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xa8))[a2_0x2830ac(0x137)](a2_0x2830ac(0x346))[a2_0x2830ac(0xd3)](async(_0x4c737a,_0x574d8c)=>{const _0x561307=a2_0x2830ac,_0x571b5b=new PSPzInitCommand(),_0x389d94=program[_0x561307(0x2be)](),_0x529e93=await createTDXInstance(_0x389d94),_0x46dbbf=await _0x571b5b[_0x561307(0x91)]({'options':{..._0x389d94,..._0x574d8c},'args':_0x4c737a?[_0x4c737a]:[],'tdx':_0x529e93});gracefulExit(_0x46dbbf);}),parentCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1d1))[a2_0x2830ac(0x137)](a2_0x2830ac(0x1f9))[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x1b4),a2_0x2830ac(0x78))[a2_0x2830ac(0x2e2)]('--table\x20<table>','Master\x20table\x20name')['option']('--description\x20<text>',a2_0x2830ac(0x34d))['option']('--schedule-type\x20<type>','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')['option'](a2_0x2830ac(0x178),a2_0x2830ac(0xdb))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1a6),a2_0x2830ac(0x2d1))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x303),a2_0x2830ac(0x27d))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xb6),a2_0x2830ac(0xa1))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xea),a2_0x2830ac(0x7c))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1dd),a2_0x2830ac(0x2b2))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x185),a2_0x2830ac(0x1ca))['option'](a2_0x2830ac(0x2a1),a2_0x2830ac(0x1ed))[a2_0x2830ac(0xd3)](async(_0x47fc31,_0x1cfd5e)=>{const _0x3ccc3f=a2_0x2830ac,_0x1fc395=new ParentSegmentCreateCommand(),_0x147dd1=program[_0x3ccc3f(0x2be)](),_0x20f01e=await createTDXInstance(_0x147dd1),_0x12ceb5=await _0x1fc395[_0x3ccc3f(0x91)]({'options':{..._0x147dd1,..._0x1cfd5e},'args':[_0x47fc31],'tdx':_0x20f01e});gracefulExit(_0x12ceb5);}),parentCmd['command'](a2_0x2830ac(0xda))[a2_0x2830ac(0x137)](a2_0x2830ac(0x22b))['option'](a2_0x2830ac(0x1f1),a2_0x2830ac(0x10b))[a2_0x2830ac(0xd9)]('--schedule-type\x20<type>',a2_0x2830ac(0x2db))['option'](a2_0x2830ac(0x178),'Updated\x20schedule\x20option')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1a6),a2_0x2830ac(0x1b1))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xb7),'Add\x20attributes\x20as\x20JSON\x20string')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x245),'Add\x20attributes\x20from\x20JSON\x20file')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x235),'Add\x20behaviors\x20as\x20JSON\x20string')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x24f),a2_0x2830ac(0x9f))[a2_0x2830ac(0xd3)](async(_0x530dcb,_0x3d8e4b)=>{const _0x5d4492=a2_0x2830ac,_0x4c8ffa=new ParentSegmentUpdateCommand(),_0x3d9680=program[_0x5d4492(0x2be)](),_0x310d2c=await createTDXInstance(_0x3d9680),_0x33c7ce=await _0x4c8ffa[_0x5d4492(0x91)]({'options':{..._0x3d9680,..._0x3d8e4b},'args':[_0x530dcb],'tdx':_0x310d2c});gracefulExit(_0x33c7ce);}),folderCmd['command'](a2_0x2830ac(0x23f))[a2_0x2830ac(0x137)](a2_0x2830ac(0x156))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1f1),a2_0x2830ac(0x1e5))['option']('--parent-folder\x20<name>',a2_0x2830ac(0x177))[a2_0x2830ac(0xd3)](async(_0x46fe91,_0xaacd0,_0x34b0dc)=>{const _0xccc56=a2_0x2830ac,_0x5a11f0=new SegmentFolderCreateCommand(),_0x137d72=program['opts'](),_0x43e6d3=await createTDXInstance(_0x137d72),_0x5e7f99=await _0x5a11f0[_0xccc56(0x91)]({'options':{..._0x137d72,..._0x34b0dc},'args':[_0x46fe91,_0xaacd0],'tdx':_0x43e6d3});gracefulExit(_0x5e7f99);}),program['command'](a2_0x2830ac(0x20a))[a2_0x2830ac(0x137)](a2_0x2830ac(0x31e))[a2_0x2830ac(0xd3)](async(_0x597bb4,_0x5ec49b)=>{const _0x28b688=a2_0x2830ac,_0x3263db=new ActivationsCommand(),_0x17c63a=program['opts'](),_0x2fe9e3=await createTDXInstance(_0x17c63a),_0x172832=await _0x3263db[_0x28b688(0x91)]({'options':{..._0x17c63a,..._0x5ec49b},'args':[_0x597bb4],'tdx':_0x2fe9e3});gracefulExit(_0x172832);});const workflowCmd=program['command'](a2_0x2830ac(0x122))[a2_0x2830ac(0x32b)]('wf')[a2_0x2830ac(0x137)](a2_0x2830ac(0x189)),wfProjectCmd=workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x16c))[a2_0x2830ac(0x137)](a2_0x2830ac(0x106)),wfProjectListAction=async(_0x1ddcba,_0x93c618)=>{const _0x58f2ef=a2_0x2830ac,_0x2e0606=new WorkflowProjectsCommand(),_0x23cfa7=program[_0x58f2ef(0x2be)](),_0x3b9511=await createTDXInstance(_0x23cfa7),_0x27bcb2=await _0x2e0606['run']({'options':{..._0x23cfa7,..._0x93c618},'args':_0x1ddcba?[_0x1ddcba]:[],'tdx':_0x3b9511});gracefulExit(_0x27bcb2);};wfProjectCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x203))['description'](a2_0x2830ac(0x18b))[a2_0x2830ac(0xd3)](wfProjectListAction),workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1cc))[a2_0x2830ac(0x137)](a2_0x2830ac(0x196))[a2_0x2830ac(0xd3)](wfProjectListAction);const wfWorkflowListAction=async(_0x5155ab,_0x3836fa)=>{const _0x16b141=a2_0x2830ac,_0x36444f=new WorkflowWorkflowsCommand(),_0x19f3c8=program[_0x16b141(0x2be)](),_0x2a022b=await createTDXInstance(_0x19f3c8),_0x4448ae=await _0x36444f[_0x16b141(0x91)]({'options':{..._0x19f3c8,..._0x3836fa},'args':_0x5155ab?[_0x5155ab]:[],'tdx':_0x2a022b});gracefulExit(_0x4448ae);};workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x31a))[a2_0x2830ac(0x137)](a2_0x2830ac(0x33f))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command'](a2_0x2830ac(0x24a))[a2_0x2830ac(0x137)](a2_0x2830ac(0x10f)),wfSessionListAction=async(_0x414f17,_0x2e428a)=>{const _0x44df6c=a2_0x2830ac,_0x24a5bc=new WorkflowSessionsCommand(),_0x1bd0ff=program[_0x44df6c(0x2be)](),_0x608f58=await createTDXInstance(_0x1bd0ff),_0x20d880=await _0x24a5bc[_0x44df6c(0x91)]({'options':{..._0x1bd0ff,..._0x2e428a},'args':_0x414f17?[_0x414f17]:[],'tdx':_0x608f58});gracefulExit(_0x20d880);};wfSessionCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x2dc))[a2_0x2830ac(0x137)](a2_0x2830ac(0xcf))['option']('--status\x20<status>',a2_0x2830ac(0xe7))['option'](a2_0x2830ac(0x129),a2_0x2830ac(0x323))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x311),'End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x2830ac(0xd3)](wfSessionListAction),workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x345))['description'](a2_0x2830ac(0x139))['option'](a2_0x2830ac(0x173),a2_0x2830ac(0xe7))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x129),a2_0x2830ac(0x323))['option'](a2_0x2830ac(0x311),a2_0x2830ac(0x141))[a2_0x2830ac(0xd3)](wfSessionListAction);const wfAttemptListAction=async(_0x38210f,_0x270de9)=>{const _0x49c9be=a2_0x2830ac,_0x266f06=new WorkflowAttemptsCommand(),_0x46ecbe=program[_0x49c9be(0x2be)](),_0x58da64=await createTDXInstance(_0x46ecbe),_0x596969=await _0x266f06[_0x49c9be(0x91)]({'options':{..._0x46ecbe,..._0x270de9},'args':_0x38210f?[_0x38210f]:[],'tdx':_0x58da64});gracefulExit(_0x596969);},attemptCmd=workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x327))[a2_0x2830ac(0x137)](a2_0x2830ac(0x1a4))[a2_0x2830ac(0x308)](a2_0x2830ac(0x269),a2_0x2830ac(0x26c))['argument']('[action]','Action:\x20logs,\x20tasks,\x20kill,\x20retry')[a2_0x2830ac(0x308)]('[task-name]',a2_0x2830ac(0x149))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xfc),'Include\x20subtasks\x20in\x20tasks\x20output')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x212),a2_0x2830ac(0x2b0))['option'](a2_0x2830ac(0x1a3),'Resume\x20from\x20specific\x20task\x20(retry)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x100),a2_0x2830ac(0x1d9))[a2_0x2830ac(0xd9)]('--force','Force\x20retry\x20even\x20if\x20not\x20failed')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x195),a2_0x2830ac(0x232))[a2_0x2830ac(0xd3)](async(_0x4cf3c0,_0x474f28,_0x2ec6f5,_0x550de1)=>{const _0x52db3c=a2_0x2830ac;if(_0x4cf3c0===_0x52db3c(0x319)){await wfAttemptListAction(_0x474f28,_0x550de1);return;}if(!_0x4cf3c0){attemptCmd[_0x52db3c(0x284)]();return;}const _0x46cda0=program[_0x52db3c(0x2be)](),_0x3ddee2=await createTDXInstance(_0x46cda0);let _0x174457=0x0;if(!_0x474f28){const _0x36d60d=new WorkflowAttemptCommand();_0x174457=await _0x36d60d[_0x52db3c(0x91)]({'options':{..._0x46cda0,..._0x550de1},'args':[_0x4cf3c0],'tdx':_0x3ddee2});}else{if(_0x474f28===_0x52db3c(0x22e)){const _0x418223=new WorkflowLogsCommand();_0x174457=await _0x418223[_0x52db3c(0x91)]({'options':{..._0x46cda0,..._0x550de1},'args':_0x2ec6f5?[_0x4cf3c0,_0x2ec6f5]:[_0x4cf3c0],'tdx':_0x3ddee2});}else{if(_0x474f28===_0x52db3c(0x2c8)){const _0x44f639=new WorkflowTasksCommand();_0x174457=await _0x44f639[_0x52db3c(0x91)]({'options':{..._0x46cda0,..._0x550de1},'args':[_0x4cf3c0],'tdx':_0x3ddee2});}else{if(_0x474f28==='kill'){const _0x3f0b09=new WorkflowKillCommand();_0x174457=await _0x3f0b09[_0x52db3c(0x91)]({'options':{..._0x46cda0,..._0x550de1},'args':[_0x4cf3c0],'tdx':_0x3ddee2});}else{if(_0x474f28===_0x52db3c(0x28e)){const _0x320764=new WorkflowRetryCommand();_0x174457=await _0x320764[_0x52db3c(0x91)]({'options':{..._0x46cda0,..._0x550de1},'args':[_0x52db3c(0x15e)+_0x4cf3c0],'tdx':_0x3ddee2});}else console[_0x52db3c(0x1bf)](_0x52db3c(0x163)+_0x474f28),console[_0x52db3c(0x1bf)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x174457=0x1;}}}}gracefulExit(_0x174457);});attemptCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x2dc))[a2_0x2830ac(0x137)](a2_0x2830ac(0x198))[a2_0x2830ac(0xd9)]('--include-retried',a2_0x2830ac(0x2bc))[a2_0x2830ac(0xd3)](wfAttemptListAction),workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x220))[a2_0x2830ac(0x137)](a2_0x2830ac(0x11a))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x195),a2_0x2830ac(0x2bc))['action'](wfAttemptListAction),workflowCmd[a2_0x2830ac(0x2fd)]('timeline\x20[project.workflow]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x104))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xfe),a2_0x2830ac(0x23b))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x29a),'Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)')['option']('--attempt-id\x20<id>','Show\x20timeline\x20for\x20specific\x20attempt')[a2_0x2830ac(0xd3)](async(_0xf4beb8,_0x2bcd24)=>{const _0x36d335=a2_0x2830ac,_0x215d6a=new WorkflowTimelineCommand(),_0x2e370d=program[_0x36d335(0x2be)](),_0x110e35=await createTDXInstance(_0x2e370d),_0x5ca27c=await _0x215d6a[_0x36d335(0x91)]({'options':{..._0x2e370d,..._0x2bcd24},'args':_0xf4beb8?[_0xf4beb8]:[],'tdx':_0x110e35});gracefulExit(_0x5ca27c);}),workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x25f))['description'](a2_0x2830ac(0x181))['option'](a2_0x2830ac(0x31b),'Resume\x20from\x20specific\x20task')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x100),a2_0x2830ac(0x2a5))[a2_0x2830ac(0xd3)](async(_0x474a45,_0x1dbc84)=>{const _0x1da261=a2_0x2830ac,_0x2e2984=new WorkflowRetryCommand(),_0x3e451d=program[_0x1da261(0x2be)](),_0x5b82b0=await createTDXInstance(_0x3e451d),_0x5da326=await _0x2e2984[_0x1da261(0x91)]({'options':{..._0x3e451d,..._0x1dbc84},'args':[_0x474a45],'tdx':_0x5b82b0});gracefulExit(_0x5da326);}),workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1f0))[a2_0x2830ac(0x137)]('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')[a2_0x2830ac(0xd9)]('--param\x20<key=value>','Workflow\x20parameter\x20(repeatable)',(_0x5c0bb1,_0x331dd0=[])=>[..._0x331dd0,_0x5c0bb1],[])[a2_0x2830ac(0xd9)](a2_0x2830ac(0x17b),a2_0x2830ac(0x132))[a2_0x2830ac(0xd3)](async(_0x48dfa9,_0x296efd)=>{const _0x3810b1=a2_0x2830ac,_0xe76fc2=new WorkflowRunCommand(),_0x3106d7=program[_0x3810b1(0x2be)](),_0xd329a4=await createTDXInstance(_0x3106d7),_0x145ed8=await _0xe76fc2['run']({'options':{..._0x3106d7,..._0x296efd},'args':_0x48dfa9?[_0x48dfa9]:[],'tdx':_0xd329a4});gracefulExit(_0x145ed8);}),workflowCmd['command'](a2_0x2830ac(0x1f2))['description'](a2_0x2830ac(0x265))[a2_0x2830ac(0xd9)]('--revision\x20<revision>',a2_0x2830ac(0xc6))[a2_0x2830ac(0xd3)](async(_0x8ff5c0,_0x546b55,_0x1bc977)=>{const _0x4e20fc=a2_0x2830ac,_0x3b04fc=new WorkflowDownloadCommand(),_0x3fc6b1=program[_0x4e20fc(0x2be)](),_0x26b4d3=await createTDXInstance(_0x3fc6b1),_0x488620=await _0x3b04fc['run']({'options':{..._0x3fc6b1,..._0x1bc977},'args':[_0x8ff5c0,_0x546b55||'.'],'tdx':_0x26b4d3});gracefulExit(_0x488620);}),workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x267))['description']('Pull\x20workflow\x20project\x20to\x20local\x20folder')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x290),a2_0x2830ac(0x125))['option'](a2_0x2830ac(0x111),'Preview\x20changes\x20without\x20writing\x20files')[a2_0x2830ac(0xd3)](async(_0x5c790c,_0x44e70d,_0x475269)=>{const _0x504ea4=a2_0x2830ac,_0x22acf7=new WorkflowPullCommand(),_0x3d5c24=program['opts'](),_0x47bf5f=await createTDXInstance(_0x3d5c24),_0x58dc8b=await _0x22acf7[_0x504ea4(0x91)]({'options':{..._0x3d5c24,..._0x475269},'args':_0x44e70d?[_0x5c790c,_0x44e70d]:[_0x5c790c],'tdx':_0x47bf5f});gracefulExit(_0x58dc8b);}),workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x17c))[a2_0x2830ac(0x137)](a2_0x2830ac(0x326))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x290),'Custom\x20revision\x20name\x20(default:\x20timestamp)')['option']('--dry-run','Preview\x20changes\x20without\x20pushing')['option'](a2_0x2830ac(0x243),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x2830ac(0xd3)](async(_0xb878bd,_0x23ff56)=>{const _0x4e448a=a2_0x2830ac,_0x3e3f7e=new WorkflowPushCommand(),_0x20b9be=program['opts'](),_0xf63d4d=await createTDXInstance(_0x20b9be),_0x30c0fb=await _0x3e3f7e[_0x4e448a(0x91)]({'options':{..._0x20b9be,..._0x23ff56},'args':_0xb878bd?[_0xb878bd]:[],'tdx':_0xf63d4d});gracefulExit(_0x30c0fb);}),workflowCmd[a2_0x2830ac(0x2fd)]('upload\x20[project-name-or-dir]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x260))['option'](a2_0x2830ac(0x34b),'Override\x20project\x20name')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x290),'Revision\x20name\x20(default:\x20timestamp)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x243),a2_0x2830ac(0x2cf))[a2_0x2830ac(0xd3)](async(_0x17e9ec,_0xd9e42a)=>{const _0x3a7bd6=a2_0x2830ac,_0x50c188=new WorkflowUploadCommand(),_0x2f2851=program[_0x3a7bd6(0x2be)](),_0x155559=await createTDXInstance(_0x2f2851),_0x1a0f3d=await _0x50c188[_0x3a7bd6(0x91)]({'options':{..._0x2f2851,..._0xd9e42a},'args':_0x17e9ec?[_0x17e9ec]:[],'tdx':_0x155559});gracefulExit(_0x1a0f3d);}),workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x191))[a2_0x2830ac(0x137)](a2_0x2830ac(0x1df))['option'](a2_0x2830ac(0x34b),a2_0x2830ac(0x339))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x290),'Custom\x20revision\x20name\x20(default:\x20timestamp)')['option'](a2_0x2830ac(0x111),a2_0x2830ac(0x147))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x243),a2_0x2830ac(0x2cf))[a2_0x2830ac(0xd3)](async(_0x496a67,_0xdda63f)=>{const _0x31c767=a2_0x2830ac,_0x2168bc=new WorkflowCloneCommand(),_0x319ea5=program[_0x31c767(0x2be)](),_0x2fadd6=await createTDXInstance(_0x319ea5),_0x4afd0b=await _0x2168bc[_0x31c767(0x91)]({'options':{..._0x319ea5,..._0xdda63f},'args':_0x496a67?[_0x496a67]:[],'tdx':_0x2fadd6});gracefulExit(_0x4afd0b);}),workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x14e))[a2_0x2830ac(0x137)](a2_0x2830ac(0x13f))[a2_0x2830ac(0xd3)](async(_0x260f88,_0x4ccef7)=>{const _0xa34c3b=a2_0x2830ac,_0x291736=new WorkflowDeleteCommand(),_0x26b7df=program[_0xa34c3b(0x2be)](),_0x138802=await createTDXInstance(_0x26b7df),_0x34a5b2=await _0x291736[_0xa34c3b(0x91)]({'options':{..._0x26b7df,..._0x4ccef7},'args':[_0x260f88],'tdx':_0x138802});gracefulExit(_0x34a5b2);}),workflowCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x296))[a2_0x2830ac(0x137)](a2_0x2830ac(0x15f))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x214),a2_0x2830ac(0x2f6))[a2_0x2830ac(0xd3)](async(_0x5522b8,_0x54607d)=>{const _0x43c7a7=a2_0x2830ac,_0x39ac93=new WorkflowUseCommand(),_0x567bc4=program['opts'](),_0x1035aa=await createTDXInstance(_0x567bc4),_0x1ad22e=await _0x39ac93[_0x43c7a7(0x91)]({'options':{..._0x567bc4,..._0x54607d},'args':_0x5522b8?[_0x5522b8]:[],'tdx':_0x1035aa});gracefulExit(_0x1ad22e);});const wfSecretsCmd=workflowCmd['command'](a2_0x2830ac(0x1d6))[a2_0x2830ac(0x137)]('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x2dc))[a2_0x2830ac(0x137)](a2_0x2830ac(0x231))[a2_0x2830ac(0xd3)](async(_0x1f8caa,_0x5633dc)=>{const _0x267a62=a2_0x2830ac,_0x14be77=new WorkflowSecretsListCommand(),_0x297c5e=program[_0x267a62(0x2be)](),_0x35ad07=await createTDXInstance(_0x297c5e),_0x5db9ad=await _0x14be77['run']({'options':{..._0x297c5e,..._0x5633dc},'args':_0x1f8caa?[_0x1f8caa]:[],'tdx':_0x35ad07});gracefulExit(_0x5db9ad);}),wfSecretsCmd['command'](a2_0x2830ac(0x2ac))[a2_0x2830ac(0x137)]('Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])')[a2_0x2830ac(0xd3)](async(_0xfae57b,_0x32702a)=>{const _0x522cad=a2_0x2830ac,_0x2f593a=new WorkflowSecretsSetCommand(),_0x38ca31=program[_0x522cad(0x2be)](),_0x16eeb7=await createTDXInstance(_0x38ca31),_0x23edeb=await _0x2f593a[_0x522cad(0x91)]({'options':{..._0x38ca31,..._0x32702a},'args':_0xfae57b,'tdx':_0x16eeb7});gracefulExit(_0x23edeb);}),wfSecretsCmd[a2_0x2830ac(0x2fd)]('delete\x20<args...>')[a2_0x2830ac(0x137)]('Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)')[a2_0x2830ac(0xd3)](async(_0x139c42,_0x472d20)=>{const _0x320ff3=a2_0x2830ac,_0x26c419=new WorkflowSecretsDeleteCommand(),_0x5891e9=program[_0x320ff3(0x2be)](),_0x45a24f=await createTDXInstance(_0x5891e9),_0x4bc49c=await _0x26c419[_0x320ff3(0x91)]({'options':{..._0x5891e9,..._0x472d20},'args':_0x139c42,'tdx':_0x45a24f});gracefulExit(_0x4bc49c);});const jobCmd=program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x28a))[a2_0x2830ac(0x137)](a2_0x2830ac(0xf3)),jobListAction=async _0x5425be=>{const _0xb44804=a2_0x2830ac,_0x699481=new JobListCommand(),_0x5f28c8=program[_0xb44804(0x2be)](),_0x4ad0ee=await createTDXInstance(_0x5f28c8),_0x11d13a=await _0x699481[_0xb44804(0x91)]({'options':{..._0x5f28c8,..._0x5425be},'args':[],'tdx':_0x4ad0ee});gracefulExit(_0x11d13a);};jobCmd[a2_0x2830ac(0x2fd)]('list')[a2_0x2830ac(0x137)](a2_0x2830ac(0x225))[a2_0x2830ac(0xd9)]('--status\x20<status>',a2_0x2830ac(0x27a))[a2_0x2830ac(0xd3)](jobListAction),program[a2_0x2830ac(0x2fd)]('jobs',{'hidden':!![]})[a2_0x2830ac(0x137)](a2_0x2830ac(0xc4))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x173),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')['action'](jobListAction),jobCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x29d))[a2_0x2830ac(0x137)](a2_0x2830ac(0x16e))['action'](async(_0x234e79,_0x1b56ed)=>{const _0xb5d001=a2_0x2830ac,_0x48ae56=new JobShowCommand(),_0x2a7300=program[_0xb5d001(0x2be)](),_0x42cb68=await createTDXInstance(_0x2a7300),_0x1a060e=await _0x48ae56[_0xb5d001(0x91)]({'options':{..._0x2a7300,..._0x1b56ed},'args':[_0x234e79],'tdx':_0x42cb68});gracefulExit(_0x1a060e);}),jobCmd[a2_0x2830ac(0x2fd)]('kill\x20<job-id>')[a2_0x2830ac(0x137)](a2_0x2830ac(0xe2))['action'](async(_0x3f0116,_0x592b4b)=>{const _0x1722f5=a2_0x2830ac,_0x59dea8=new JobKillCommand(),_0x348d1a=program['opts'](),_0x56a238=await createTDXInstance(_0x348d1a),_0x956f4f=await _0x59dea8[_0x1722f5(0x91)]({'options':{..._0x348d1a,..._0x592b4b},'args':[_0x3f0116],'tdx':_0x56a238});gracefulExit(_0x956f4f);}),jobCmd['command'](a2_0x2830ac(0x1f8))[a2_0x2830ac(0x137)](a2_0x2830ac(0xa2))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x34f),a2_0x2830ac(0x11d),a2_0x2830ac(0x2b9))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2f7),a2_0x2830ac(0x1ab))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x295),a2_0x2830ac(0x18a),a2_0x2830ac(0x2fc))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2f0),a2_0x2830ac(0x336))[a2_0x2830ac(0xd3)](async(_0x2175e4,_0x5618cd)=>{const _0x385acd=a2_0x2830ac,_0x2ade96=new JobSubmitCommand(),_0xd8983d=program['opts'](),_0x1ff657=await createTDXInstance(_0xd8983d),_0x47ea9d=await _0x2ade96[_0x385acd(0x91)]({'options':{..._0xd8983d,..._0x5618cd},'args':_0x2175e4?[_0x2175e4]:[],'tdx':_0x1ff657});gracefulExit(_0x47ea9d);}),jobCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xf8))[a2_0x2830ac(0x137)](a2_0x2830ac(0x1c6))[a2_0x2830ac(0xd3)](async(_0x298fef,_0x316497)=>{const _0x391a08=a2_0x2830ac,_0x38aced=new JobResultCommand(),_0x196b33=program[_0x391a08(0x2be)](),_0x540e64=await createTDXInstance(_0x196b33),_0x5e1fb1=await _0x38aced[_0x391a08(0x91)]({'options':{..._0x196b33,..._0x316497},'args':[_0x298fef],'tdx':_0x540e64});gracefulExit(_0x5e1fb1);});const scheduleCmd=jobCmd['command']('schedule')[a2_0x2830ac(0x137)](a2_0x2830ac(0xdd));scheduleCmd['command'](a2_0x2830ac(0x203))['description'](a2_0x2830ac(0x2cd))['action'](async(_0x3cc347,_0xf320e0)=>{const _0x17d900=a2_0x2830ac,_0x60c395=new ScheduleListCommand(),_0x4c4875=program[_0x17d900(0x2be)](),_0x572c30=await createTDXInstance(_0x4c4875),_0x5d3102=await _0x60c395[_0x17d900(0x91)]({'options':{..._0x4c4875,..._0xf320e0},'args':_0x3cc347?[_0x3cc347]:[],'tdx':_0x572c30});gracefulExit(_0x5d3102);}),scheduleCmd[a2_0x2830ac(0x2fd)]('show\x20<name>')[a2_0x2830ac(0x137)](a2_0x2830ac(0x1db))[a2_0x2830ac(0xd3)](async(_0x1c7d7d,_0x200da9)=>{const _0xeca9e9=a2_0x2830ac,_0x5f5488=new ScheduleShowCommand(),_0xd34e89=program[_0xeca9e9(0x2be)](),_0x137fcb=await createTDXInstance(_0xd34e89),_0x10d0ba=await _0x5f5488['run']({'options':{..._0xd34e89,..._0x200da9},'args':[_0x1c7d7d],'tdx':_0x137fcb});gracefulExit(_0x10d0ba);}),scheduleCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1d1))['description'](a2_0x2830ac(0x332))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xc5),a2_0x2830ac(0x199))['option']('--in\x20<db>',a2_0x2830ac(0x186))[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x2f7),a2_0x2830ac(0x1ab))['option']('--type\x20<type>','Query\x20type:\x20trino\x20or\x20hive','trino')['option'](a2_0x2830ac(0x341),a2_0x2830ac(0x17d))[a2_0x2830ac(0xd9)]('--timezone\x20<tz>',a2_0x2830ac(0x224))[a2_0x2830ac(0xd9)]('--delay\x20<seconds>',a2_0x2830ac(0x90))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1ae),a2_0x2830ac(0x293))[a2_0x2830ac(0xd9)]('--retry-limit\x20<0~32>',a2_0x2830ac(0x1ba))['option']('--engine-version\x20<version>','Query\x20engine\x20version')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2af),a2_0x2830ac(0x169))[a2_0x2830ac(0xd3)](async(_0x1ba65c,_0x437362)=>{const _0xf338f6=a2_0x2830ac,_0x1b8318=new ScheduleCreateCommand(),_0x564c31=program[_0xf338f6(0x2be)](),_0x52247d=await createTDXInstance(_0x564c31);_0x437362['in']&&(_0x437362[_0xf338f6(0x2a8)]=_0x437362['in']);const _0x386334=await _0x1b8318['run']({'options':{..._0x564c31,..._0x437362},'args':[_0x1ba65c],'tdx':_0x52247d});gracefulExit(_0x386334);}),scheduleCmd['command'](a2_0x2830ac(0xda))[a2_0x2830ac(0x137)]('Update\x20a\x20scheduled\x20query')[a2_0x2830ac(0xd9)](a2_0x2830ac(0xc5),'Database\x20name')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x24c),a2_0x2830ac(0x186))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2f7),a2_0x2830ac(0x1ab))['option'](a2_0x2830ac(0x2d7),a2_0x2830ac(0x19e))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x341),a2_0x2830ac(0x17d))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1a6),'Timezone\x20for\x20cron')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2b6),a2_0x2830ac(0x90))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1ae),a2_0x2830ac(0x293))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x171),a2_0x2830ac(0x1ba))['option'](a2_0x2830ac(0x2e1),a2_0x2830ac(0x84))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2af),'Result\x20output\x20destination\x20URL')[a2_0x2830ac(0xd3)](async(_0x5109bc,_0x3e4dc2)=>{const _0x5a5d97=a2_0x2830ac,_0x29eb83=new ScheduleUpdateCommand(),_0x57f3e6=program[_0x5a5d97(0x2be)](),_0x59d908=await createTDXInstance(_0x57f3e6);_0x3e4dc2['in']&&(_0x3e4dc2[_0x5a5d97(0x2a8)]=_0x3e4dc2['in']);const _0x54837d=await _0x29eb83[_0x5a5d97(0x91)]({'options':{..._0x57f3e6,..._0x3e4dc2},'args':[_0x5109bc],'tdx':_0x59d908});gracefulExit(_0x54837d);}),scheduleCmd['command'](a2_0x2830ac(0x1c9))[a2_0x2830ac(0x137)](a2_0x2830ac(0x1be))[a2_0x2830ac(0xd3)](async(_0x2e1aa1,_0x5566c3)=>{const _0x5cdf43=a2_0x2830ac,_0x54e86c=new ScheduleDeleteCommand(),_0x10f1d6=program[_0x5cdf43(0x2be)](),_0x3fad4c=await createTDXInstance(_0x10f1d6),_0x404189=await _0x54e86c[_0x5cdf43(0x91)]({'options':{..._0x10f1d6,..._0x5566c3},'args':[_0x2e1aa1],'tdx':_0x3fad4c});gracefulExit(_0x404189);}),scheduleCmd['command'](a2_0x2830ac(0xce))[a2_0x2830ac(0x137)](a2_0x2830ac(0x17f))['option']('--time\x20<iso8601>','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0xb0),'Number\x20of\x20executions\x20(1-10,\x20default:\x201)')[a2_0x2830ac(0xd3)](async(_0x1be749,_0x24bf7d)=>{const _0x4aa588=a2_0x2830ac,_0x1ccca6=new ScheduleRunCommand(),_0x4e1469=program[_0x4aa588(0x2be)](),_0x367821=await createTDXInstance(_0x4e1469),_0x1132a6=await _0x1ccca6[_0x4aa588(0x91)]({'options':{..._0x4e1469,..._0x24bf7d},'args':[_0x1be749],'tdx':_0x367821});gracefulExit(_0x1132a6);}),scheduleCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1fc))[a2_0x2830ac(0x137)](a2_0x2830ac(0x318))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x27c),a2_0x2830ac(0x10e))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xcd),a2_0x2830ac(0x2ff))['action'](async(_0x5f51e7,_0x1c4bd1)=>{const _0x347e4d=a2_0x2830ac,_0x53780e=new ScheduleHistoryCommand(),_0x460c84=program[_0x347e4d(0x2be)](),_0x1a78a7=await createTDXInstance(_0x460c84),_0x5affbc=await _0x53780e[_0x347e4d(0x91)]({'options':{..._0x460c84,..._0x1c4bd1},'args':[_0x5f51e7],'tdx':_0x1a78a7});gracefulExit(_0x5affbc);});const llmCmd=program['command'](a2_0x2830ac(0x20d))[a2_0x2830ac(0x137)](a2_0x2830ac(0x15d));llmCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xa6))[a2_0x2830ac(0x137)](a2_0x2830ac(0x2ba))[a2_0x2830ac(0xd3)](async(_0x559730,_0xb33c5a)=>{const _0x2c1c60=a2_0x2830ac,_0x240840=new LLMUseCommand(),_0x39d833=program['opts'](),_0x401bb3=await createTDXInstance(_0x39d833),_0x169156=await _0x240840[_0x2c1c60(0x91)]({'options':{..._0x39d833,..._0xb33c5a},'args':[_0x559730],'tdx':_0x401bb3});gracefulExit(_0x169156);}),llmCmd['command'](a2_0x2830ac(0xc2))['description']('List\x20available\x20LLM\x20models')[a2_0x2830ac(0xd3)](async _0x19da8d=>{const _0x5cda10=new LLMModelsCommand(),_0x205dce=program['opts'](),_0xeb5792=await createTDXInstance(_0x205dce),_0x5116d0=await _0x5cda10['run']({'options':{..._0x205dce,..._0x19da8d},'args':[],'tdx':_0xeb5792});gracefulExit(_0x5116d0);});const projectCmd=llmCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x16c))[a2_0x2830ac(0x137)]('LLM\x20project\x20management'),llmProjectListAction=async(_0x2e45b4,_0x5748ff)=>{const _0x46e49b=a2_0x2830ac,_0x2218fb=new LLMProjectsCommand(),_0x406b75=program[_0x46e49b(0x2be)](),_0x38bfea=await createTDXInstance(_0x406b75),_0x2cbffe=await _0x2218fb[_0x46e49b(0x91)]({'options':{..._0x406b75,..._0x5748ff},'args':_0x2e45b4?[_0x2e45b4]:[],'tdx':_0x38bfea});gracefulExit(_0x2cbffe);};projectCmd[a2_0x2830ac(0x2fd)]('list\x20[pattern]')['description'](a2_0x2830ac(0xa3))['action'](llmProjectListAction),llmCmd['command'](a2_0x2830ac(0x1cc))[a2_0x2830ac(0x137)](a2_0x2830ac(0x2f3))[a2_0x2830ac(0xd3)](llmProjectListAction),projectCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1d1))['description']('Create\x20a\x20new\x20LLM\x20project')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1f1),'Project\x20description')[a2_0x2830ac(0xd3)](async(_0x2456f4,_0x141a7e)=>{const _0x1ae856=a2_0x2830ac,_0x501bc0=new LLMProjectCreateCommand(),_0x420d1b=program[_0x1ae856(0x2be)](),_0x1e988e=await createTDXInstance(_0x420d1b),_0x5d67f3=await _0x501bc0[_0x1ae856(0x91)]({'options':{..._0x420d1b,..._0x141a7e},'args':[_0x2456f4],'tdx':_0x1e988e});gracefulExit(_0x5d67f3);}),projectCmd['command']('delete\x20<name>')[a2_0x2830ac(0x137)](a2_0x2830ac(0x1d2))[a2_0x2830ac(0xd3)](async(_0x4c81c3,_0xba2ab9)=>{const _0x2ac2b6=a2_0x2830ac,_0x283494=new LLMProjectDeleteCommand(),_0x4caca3=program[_0x2ac2b6(0x2be)](),_0x2ed0d1=await createTDXInstance(_0x4caca3),_0x3143fe=await _0x283494[_0x2ac2b6(0x91)]({'options':{..._0x4caca3,..._0xba2ab9},'args':[_0x4c81c3],'tdx':_0x2ed0d1});gracefulExit(_0x3143fe);}),projectCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1cb))[a2_0x2830ac(0x137)]('[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)')['option'](a2_0x2830ac(0x324),a2_0x2830ac(0x297))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x111),a2_0x2830ac(0x2e4))[a2_0x2830ac(0xd3)](async(_0x4ad004,_0x1b6edc)=>{const _0x1fbd10=a2_0x2830ac,_0x523271=new LLMProjectBackupCommand(),_0x22bb53=program[_0x1fbd10(0x2be)](),_0x3e56f3=await createTDXInstance(_0x22bb53),_0x1d9f70=await _0x523271[_0x1fbd10(0x91)]({'options':{..._0x22bb53,..._0x1b6edc},'args':[_0x4ad004],'tdx':_0x3e56f3});gracefulExit(_0x1d9f70);}),projectCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xfd))[a2_0x2830ac(0x137)](a2_0x2830ac(0x2a7))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x11e),a2_0x2830ac(0x1ce))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x111),'Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')[a2_0x2830ac(0xd3)](async(_0x326098,_0x938be3)=>{const _0x1432c0=a2_0x2830ac,_0x1cee9e=new LLMProjectRestoreCommand(),_0x31a137=program[_0x1432c0(0x2be)](),_0x3ccf85=await createTDXInstance(_0x31a137),_0x59930a=await _0x1cee9e[_0x1432c0(0x91)]({'options':{..._0x31a137,..._0x938be3},'args':[_0x326098],'tdx':_0x3ccf85});gracefulExit(_0x59930a);});const llmAgentListAction=async(_0x58baf3,_0x38df7a)=>{const _0x5e41a9=a2_0x2830ac,_0x3b3db0=new LLMAgentsCommand(),_0x40766b=program['opts'](),_0x51fb2b=await createTDXInstance(_0x40766b),_0x58d612=await _0x3b3db0[_0x5e41a9(0x91)]({'options':{..._0x40766b,..._0x38df7a},'args':_0x58baf3?[_0x58baf3]:[],'tdx':_0x51fb2b});gracefulExit(_0x58d612);};llmCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1b0))[a2_0x2830ac(0x137)]('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')['action'](llmAgentListAction),program[a2_0x2830ac(0x2fd)]('agents\x20[pattern]')[a2_0x2830ac(0x137)](a2_0x2830ac(0xab))[a2_0x2830ac(0xd3)](llmAgentListAction),llmCmd['command']('history\x20[chat-id]')['description']('Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)')['option'](a2_0x2830ac(0x8c),a2_0x2830ac(0x13a))[a2_0x2830ac(0xd3)](async(_0x4c9160,_0x464f99)=>{const _0x285d18=a2_0x2830ac,_0x1fddfb=new LLMHistoryCommand(),_0x4d56e0=program['opts'](),_0x5cecb3=await createTDXInstance(_0x4d56e0),_0x1c9d0b=await _0x1fddfb[_0x285d18(0x91)]({'options':{..._0x4d56e0,..._0x464f99},'args':_0x4c9160?[_0x4c9160]:[],'tdx':_0x5cecb3});gracefulExit(_0x1c9d0b);});isExperimentalAvailable()&&llmCmd[a2_0x2830ac(0x2fd)]('log\x20<chat-id>')[a2_0x2830ac(0x137)](a2_0x2830ac(0x1da))['action'](async(_0x5163a6,_0x3e080a)=>{const _0xc7d6af=a2_0x2830ac,_0x520b78=new LLMLogCommand(),_0x377fa3=program['opts'](),_0x2eb04d=await createTDXInstance(_0x377fa3),_0x29d731=await _0x520b78[_0xc7d6af(0x91)]({'options':{..._0x377fa3,..._0x3e080a},'args':[_0x5163a6],'tdx':_0x2eb04d});gracefulExit(_0x29d731);});program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x94))[a2_0x2830ac(0x1e3)]('[options]\x20--\x20[claude-code-args...]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x286))['option'](a2_0x2830ac(0x12b),'Continue\x20most\x20recent\x20conversation')[a2_0x2830ac(0xd9)]('-r,\x20--resume',a2_0x2830ac(0x2c6))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1c4),a2_0x2830ac(0x32c))['allowUnknownOption']()[a2_0x2830ac(0x229)](!![])[a2_0x2830ac(0x343)](a2_0x2830ac(0x10a),a2_0x2830ac(0x2e0))[a2_0x2830ac(0xd3)](async(_0x542fd9,_0x368c17)=>{const _0x1b478a=a2_0x2830ac,_0x1d3c21=program[_0x1b478a(0x2be)](),_0x1f2b7b=Array[_0x1b478a(0x2c5)](_0x542fd9)?_0x542fd9:[];if(_0x1f2b7b[0x0]===_0x1b478a(0x20c)){const _0x9b7e51=new ClaudeStatuslineCommand(),_0x3ac62c=await _0x9b7e51[_0x1b478a(0x91)]({'options':{..._0x1d3c21,..._0x368c17},'args':_0x1f2b7b['slice'](0x1),'tdx':null});gracefulExit(_0x3ac62c);}if(_0x1f2b7b[0x0]===_0x1b478a(0x1e3)){const _0x27eb8a=new ClaudeUsageCommand(),_0x50ef7c=await _0x27eb8a[_0x1b478a(0x91)]({'options':{..._0x1d3c21,..._0x368c17},'args':_0x1f2b7b[_0x1b478a(0x344)](0x1),'tdx':null});gracefulExit(_0x50ef7c);}const _0x246459=new ClaudeCommand(),_0x2f258b=await createTDXInstance(_0x1d3c21),_0x437033=await _0x246459[_0x1b478a(0x91)]({'options':{..._0x1d3c21,..._0x368c17},'args':_0x1f2b7b,'tdx':_0x2f258b});gracefulExit(_0x437033);}),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x2ee))['description'](a2_0x2830ac(0x298))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x214),a2_0x2830ac(0x87))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x28f),a2_0x2830ac(0x28d))['action'](async(_0x5ebf29,_0x3abda3,_0x29e476)=>{const _0x96931=a2_0x2830ac,_0x1976db=new UseCommand(),_0x3fe808=program['opts'](),_0x374854=[];if(_0x5ebf29)_0x374854[_0x96931(0x2c9)](_0x5ebf29);if(_0x3abda3)_0x374854[_0x96931(0x2c9)](_0x3abda3);const _0x470491=_0x5ebf29===_0x96931(0x7a),_0x2e9608=_0x470491?await createTDXInstance(_0x3fe808):null,_0xd070fa=await _0x1976db[_0x96931(0x91)]({'options':{..._0x3fe808,..._0x29e476},'args':_0x374854,'tdx':_0x2e9608});gracefulExit(_0xd070fa);}),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x2f5))[a2_0x2830ac(0x137)]('Show\x20authentication\x20status\x20and\x20current\x20context')[a2_0x2830ac(0xd3)](async _0x156c4a=>{const _0x2d662b=a2_0x2830ac,_0x1d26df=new StatusCommand(),_0x48c044=program['opts'](),_0x45bc34=await createTDXInstance(_0x48c044),_0xb7743=await _0x1d26df[_0x2d662b(0x91)]({'options':{..._0x48c044,..._0x156c4a},'args':[],'tdx':_0x45bc34});gracefulExit(_0xb7743);}),program[a2_0x2830ac(0x2fd)]('upgrade\x20[version]')['description'](a2_0x2830ac(0x1c3))['option'](a2_0x2830ac(0x111),a2_0x2830ac(0xbd))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2ae),a2_0x2830ac(0x201))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2bf),'Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)')[a2_0x2830ac(0xd3)](async(_0x2d3386,_0x2f5a7f)=>{const _0x4f259a=a2_0x2830ac,_0x16c1d0=new UpgradeCommand(),_0x597f18=program[_0x4f259a(0x2be)](),_0x489f32=await _0x16c1d0[_0x4f259a(0x91)]({'options':{..._0x597f18,..._0x2f5a7f},'args':_0x2d3386?[_0x2d3386]:[],'tdx':null});gracefulExit(_0x489f32);}),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xaf))['description'](a2_0x2830ac(0xf6))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x28f),a2_0x2830ac(0x2d2))[a2_0x2830ac(0xd3)](async(_0x28aa5,_0x48ed74)=>{const _0x2c7141=a2_0x2830ac,_0x2fff26=new UnsetCommand(),_0x350580=program[_0x2c7141(0x2be)](),_0x10ad53=await _0x2fff26[_0x2c7141(0x91)]({'options':{..._0x350580,..._0x48ed74},'args':[_0x28aa5],'tdx':null});gracefulExit(_0x10ad53);}),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xb1))[a2_0x2830ac(0x137)](a2_0x2830ac(0xb4))['option'](a2_0x2830ac(0x8c),'Show\x20the\x20most\x20recent\x20chat')['action'](async _0x30618f=>{const _0x4b0269=new ChatsCommand(),_0x27e26e=program['opts'](),_0x15e9d4=await createTDXInstance(_0x27e26e),_0x266c90=await _0x4b0269['run']({'options':{..._0x27e26e,..._0x30618f},'args':[],'tdx':_0x15e9d4});gracefulExit(_0x266c90);});const authCmd=program[a2_0x2830ac(0x2fd)]('auth')[a2_0x2830ac(0x137)](a2_0x2830ac(0x2c0));async function runAuthStatusCommand(_0x575f22){const _0x16e581=new AuthStatusCommand(),_0x4f95cb=program['opts'](),_0x297825=await createTDXInstance(_0x4f95cb),_0xb6cde5=await _0x16e581['run']({'options':{..._0x4f95cb,..._0x575f22},'args':[],'tdx':_0x297825});gracefulExit(_0xb6cde5);}authCmd[a2_0x2830ac(0xd3)](runAuthStatusCommand),authCmd[a2_0x2830ac(0x2fd)]('status')[a2_0x2830ac(0x137)](a2_0x2830ac(0x24e))['action'](runAuthStatusCommand),authCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xeb))['description'](a2_0x2830ac(0xa5))[a2_0x2830ac(0x343)](a2_0x2830ac(0x10a),a2_0x2830ac(0x151))[a2_0x2830ac(0xd3)](async _0x5a9758=>{const _0x4df56e=a2_0x2830ac,_0x40a772=new AuthSetupCommand(),_0x59a47f=program[_0x4df56e(0x2be)](),_0x2740d6=await createTDXInstance(_0x59a47f),_0x1dc13b=await _0x40a772[_0x4df56e(0x91)]({'options':{..._0x59a47f,..._0x5a9758},'args':[],'tdx':_0x2740d6});gracefulExit(_0x1dc13b);}),authCmd[a2_0x2830ac(0x2fd)]('login')[a2_0x2830ac(0x137)](a2_0x2830ac(0x272))[a2_0x2830ac(0x343)](a2_0x2830ac(0x10a),a2_0x2830ac(0x274))[a2_0x2830ac(0xd3)](async _0x1bf5a1=>{const _0x792e73=a2_0x2830ac,_0x5db14b=new AuthLoginCommand(),_0x345f2f=program[_0x792e73(0x2be)](),_0x5aea2f=await _0x5db14b[_0x792e73(0x91)]({'options':{..._0x345f2f,..._0x1bf5a1},'args':[],'tdx':null});gracefulExit(_0x5aea2f);}),authCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xd4))[a2_0x2830ac(0x137)](a2_0x2830ac(0x81))[a2_0x2830ac(0x343)](a2_0x2830ac(0x10a),a2_0x2830ac(0x83))[a2_0x2830ac(0xd3)](async _0x711d37=>{const _0x1ee7a2=new AuthClearCommand(),_0x28c219=program['opts'](),_0x21b1a2=await _0x1ee7a2['run']({'options':{..._0x28c219,..._0x711d37},'args':[],'tdx':null});gracefulExit(_0x21b1a2);});const userCmd=program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x282))['description'](a2_0x2830ac(0x12c)),userListAction=async _0xbd685a=>{const _0x1a30cf=a2_0x2830ac,_0x34a9a6=new UserListCommand(),_0x9fe16e=program[_0x1a30cf(0x2be)](),_0x5d2a98=await createTDXInstance(_0x9fe16e),_0x44922f=await _0x34a9a6[_0x1a30cf(0x91)]({'options':{..._0x9fe16e,..._0xbd685a},'args':[],'tdx':_0x5d2a98});gracefulExit(_0x44922f);};userCmd['action'](async _0x452daa=>{const _0x194d46=a2_0x2830ac,_0x39addd=new UserCommand(),_0x317364=program[_0x194d46(0x2be)](),_0x2f29d2=await createTDXInstance(_0x317364),_0xb91880=await _0x39addd['run']({'options':{..._0x317364,..._0x452daa},'args':[],'tdx':_0x2f29d2});gracefulExit(_0xb91880);}),userCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x319))[a2_0x2830ac(0x137)]('List\x20all\x20users\x20in\x20the\x20account')[a2_0x2830ac(0xd3)](userListAction),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x187))[a2_0x2830ac(0x137)]('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')[a2_0x2830ac(0xd3)](userListAction),program[a2_0x2830ac(0x2fd)]('profiles')['description']('List\x20all\x20available\x20profiles')[a2_0x2830ac(0xd3)](async _0xe7af92=>{const _0x49150a=new ProfilesCommand(),_0x19d5ed=program['opts'](),_0x2f75ce=await _0x49150a['run']({'options':{..._0x19d5ed,..._0xe7af92},'args':[],'tdx':null});gracefulExit(_0x2f75ce);});const profileCmd=program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x14b))[a2_0x2830ac(0x137)](a2_0x2830ac(0x154));profileCmd[a2_0x2830ac(0xd3)](()=>{const _0xd91e52=a2_0x2830ac;profileCmd[_0xd91e52(0x12e)]();});const profileListAction=async _0x4adb91=>{const _0x544973=a2_0x2830ac,_0x5e3de5=new ProfilesCommand(),_0x56abf8=program[_0x544973(0x2be)](),_0x468caf=await _0x5e3de5['run']({'options':{..._0x56abf8,..._0x4adb91},'args':[],'tdx':null});gracefulExit(_0x468caf);};profileCmd['command'](a2_0x2830ac(0x319))[a2_0x2830ac(0x137)](a2_0x2830ac(0x172))[a2_0x2830ac(0xd3)](profileListAction),profileCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x34e))[a2_0x2830ac(0x137)](a2_0x2830ac(0x134))[a2_0x2830ac(0x343)]('after',a2_0x2830ac(0x1c0))['action'](async(_0x32cbd1,_0x48e122)=>{const _0x5f1b4d=new ProfileCreateCommand(),_0x38c200=program['opts'](),_0x19c54a=await _0x5f1b4d['run']({'options':{..._0x38c200,..._0x48e122},'args':_0x32cbd1?[_0x32cbd1]:[],'tdx':null});gracefulExit(_0x19c54a);}),profileCmd[a2_0x2830ac(0x2fd)]('remove\x20<name>')[a2_0x2830ac(0x137)]('Remove\x20a\x20profile')[a2_0x2830ac(0x343)](a2_0x2830ac(0x10a),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a')[a2_0x2830ac(0xd3)](async(_0x2631d6,_0x4789d4)=>{const _0x5cbca3=a2_0x2830ac,_0x3857f6=new ProfileRemoveCommand(),_0x208138=program[_0x5cbca3(0x2be)](),_0x3a6b56=await _0x3857f6[_0x5cbca3(0x91)]({'options':{..._0x208138,..._0x4789d4},'args':[_0x2631d6],'tdx':null});gracefulExit(_0x3a6b56);}),profileCmd['command'](a2_0x2830ac(0x1e9))[a2_0x2830ac(0x137)](a2_0x2830ac(0x299))[a2_0x2830ac(0x343)]('after',a2_0x2830ac(0x288))[a2_0x2830ac(0xd3)](async(_0x297823,_0x4667bb)=>{const _0x434fc4=a2_0x2830ac,_0x7722d=new ProfileSetCommand(),_0x5b5d29=program[_0x434fc4(0x2be)](),_0x8bb927=await _0x7722d['run']({'options':{..._0x5b5d29,..._0x4667bb},'args':[_0x297823],'tdx':null});gracefulExit(_0x8bb927);}),profileCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x29c))[a2_0x2830ac(0x137)](a2_0x2830ac(0x255))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x28f),a2_0x2830ac(0x28d))[a2_0x2830ac(0x343)]('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_0x2830ac(0xd3)](async(_0x38f4fd,_0x7d0ec)=>{const _0x5385aa=a2_0x2830ac,_0x8222aa=new ProfileUseCommand(),_0x2f5a33=program[_0x5385aa(0x2be)](),_0x4976ca=await _0x8222aa[_0x5385aa(0x91)]({'options':{..._0x2f5a33,..._0x7d0ec},'args':[_0x38f4fd],'tdx':null});gracefulExit(_0x4976ca);});const engageCmd=program['command'](a2_0x2830ac(0x21e))['description'](a2_0x2830ac(0x256)),createEngageAction=_0x32d26b=>{return async(_0x1461fa,_0x20768f)=>{const _0x29ca0a=a2_0xc295,_0x3c00fb=new _0x32d26b(),_0x492ff0=program[_0x29ca0a(0x2be)](),_0x225d19=await createTDXInstance(_0x492ff0),_0x2e817e=await _0x3c00fb[_0x29ca0a(0x91)]({'options':{..._0x492ff0,..._0x20768f},'args':[_0x1461fa],'tdx':_0x225d19});gracefulExit(_0x2e817e);};},createEngageNoArgAction=_0x3bfd62=>{return async _0x4f8a5f=>{const _0xc44a69=a2_0xc295,_0x3345d8=new _0x3bfd62(),_0x56b8bb=program[_0xc44a69(0x2be)](),_0x56f16b=await createTDXInstance(_0x56b8bb),_0x2591a0=await _0x3345d8[_0xc44a69(0x91)]({'options':{..._0x56b8bb,..._0x4f8a5f},'args':[],'tdx':_0x56f16b});gracefulExit(_0x2591a0);};},createEngageListAction=_0x496912=>{return async(_0x24e7fb,_0x250ae4)=>{const _0x4a02f1=a2_0xc295,_0x13b8fc=new _0x496912(),_0x182949=program['opts'](),_0x46711a=await createTDXInstance(_0x182949),_0xfe4cdf=await _0x13b8fc[_0x4a02f1(0x91)]({'options':{..._0x182949,..._0x250ae4},'args':_0x24e7fb?[_0x24e7fb]:[],'tdx':_0x46711a});gracefulExit(_0xfe4cdf);};},campaignCmd=engageCmd[a2_0x2830ac(0x2fd)]('campaign')[a2_0x2830ac(0x137)](a2_0x2830ac(0x222));campaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x203))[a2_0x2830ac(0x137)]('List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2d7),a2_0x2830ac(0x2eb))[a2_0x2830ac(0xd9)]('--status\x20<status>','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))[a2_0x2830ac(0xd3)](createEngageListAction(EngageCampaignsCommand)),engageCmd['command'](a2_0x2830ac(0x2f2))[a2_0x2830ac(0x137)](a2_0x2830ac(0x248))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2d7),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x173),a2_0x2830ac(0x1d0))['option'](a2_0x2830ac(0x144),'Workspace\x20name')[a2_0x2830ac(0xd3)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xd2))[a2_0x2830ac(0x137)]('Show\x20campaign\x20details')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1b6),a2_0x2830ac(0x1c1))[a2_0x2830ac(0xd3)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x159))[a2_0x2830ac(0x137)](a2_0x2830ac(0xff))[a2_0x2830ac(0x2e2)]('--name\x20<name>',a2_0x2830ac(0x21b))[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x2d7),a2_0x2830ac(0xed))['option']('--workspace\x20<name>',a2_0x2830ac(0x1de))['option'](a2_0x2830ac(0x7b),'Campaign\x20description')[a2_0x2830ac(0xd9)]('--segment\x20<path>',a2_0x2830ac(0x138))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x130),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x30d),a2_0x2830ac(0xc3))['option'](a2_0x2830ac(0xe1),a2_0x2830ac(0x164))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1a6),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')['action'](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x166))[a2_0x2830ac(0x137)](a2_0x2830ac(0x1a0))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))['option'](a2_0x2830ac(0x34b),'New\x20campaign\x20name')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x7b),'Campaign\x20description')[a2_0x2830ac(0xd9)]('--segment\x20<path>',a2_0x2830ac(0x138))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x130),a2_0x2830ac(0x103))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x30d),a2_0x2830ac(0xc3))['option'](a2_0x2830ac(0xe1),a2_0x2830ac(0x164))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1a6),a2_0x2830ac(0xba))[a2_0x2830ac(0xd3)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command'](a2_0x2830ac(0xb3))['description'](a2_0x2830ac(0x2da))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2fb),a2_0x2830ac(0x218))[a2_0x2830ac(0xd3)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x194))[a2_0x2830ac(0x137)]('Launch\x20a\x20campaign')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))[a2_0x2830ac(0xd3)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x208))[a2_0x2830ac(0x137)](a2_0x2830ac(0x11f))['option'](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))['action'](createEngageAction(EngageCampaignPauseCommand)),campaignCmd['command'](a2_0x2830ac(0xf4))[a2_0x2830ac(0x137)](a2_0x2830ac(0x307))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),'Workspace\x20name')[a2_0x2830ac(0xd3)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xd1))[a2_0x2830ac(0x137)]('Duplicate\x20a\x20campaign')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),'Workspace\x20name')[a2_0x2830ac(0xd3)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x316))[a2_0x2830ac(0x137)](a2_0x2830ac(0x20b))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x34b),a2_0x2830ac(0x2de))[a2_0x2830ac(0xd9)]('--type\x20<type>',a2_0x2830ac(0x2eb))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x111),a2_0x2830ac(0x2e6))['action'](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x2830ac(0x2fd)]('push\x20[target]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x21d))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))[a2_0x2830ac(0xd9)]('--dry-run',a2_0x2830ac(0x300))[a2_0x2830ac(0xd3)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1e8))[a2_0x2830ac(0x137)](a2_0x2830ac(0x1ee))['option'](a2_0x2830ac(0x2a0),'Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x2830ac(0xd3)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd['command'](a2_0x2830ac(0x1f5))['description'](a2_0x2830ac(0x23d));alwaysOnCampaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x203))[a2_0x2830ac(0x137)](a2_0x2830ac(0x33b))['option']('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x173),a2_0x2830ac(0xcc))['requiredOption'](a2_0x2830ac(0x144),a2_0x2830ac(0x1de))[a2_0x2830ac(0xd3)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x301))[a2_0x2830ac(0x137)]('List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)')['option'](a2_0x2830ac(0x2d7),a2_0x2830ac(0x2eb))['option']('--status\x20<status>',a2_0x2830ac(0xcc))['requiredOption'](a2_0x2830ac(0x144),a2_0x2830ac(0x1de))[a2_0x2830ac(0xd3)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x2830ac(0x2fd)]('show\x20<name-or-id>')['description'](a2_0x2830ac(0x1fb))[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x144),a2_0x2830ac(0x1de))[a2_0x2830ac(0xd9)]('--full',a2_0x2830ac(0x1c1))[a2_0x2830ac(0xd3)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x159))[a2_0x2830ac(0x137)](a2_0x2830ac(0x107))[a2_0x2830ac(0x2e2)]('--name\x20<name>','Campaign\x20name')[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x2d7),a2_0x2830ac(0xed))[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x144),'Workspace\x20name\x20(required)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x7b),a2_0x2830ac(0xef))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x170),a2_0x2830ac(0x281))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x279),a2_0x2830ac(0x18d))[a2_0x2830ac(0xd3)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd['command'](a2_0x2830ac(0x166))[a2_0x2830ac(0x137)](a2_0x2830ac(0x217))['requiredOption'](a2_0x2830ac(0x144),a2_0x2830ac(0x1de))['option'](a2_0x2830ac(0x34b),a2_0x2830ac(0x121))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x7b),a2_0x2830ac(0xef))['option'](a2_0x2830ac(0x170),'Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x279),a2_0x2830ac(0x18d))[a2_0x2830ac(0xd3)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xb3))[a2_0x2830ac(0x137)](a2_0x2830ac(0x277))[a2_0x2830ac(0x2e2)]('--workspace\x20<name>',a2_0x2830ac(0x1de))['option'](a2_0x2830ac(0x2fb),a2_0x2830ac(0x218))[a2_0x2830ac(0xd3)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x2830ac(0x2fd)]('launch\x20<name-or-id>')[a2_0x2830ac(0x137)](a2_0x2830ac(0xde))['requiredOption'](a2_0x2830ac(0x144),a2_0x2830ac(0x1de))['action'](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd['command']('pause\x20<name-or-id>')['description'](a2_0x2830ac(0xd0))[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x144),a2_0x2830ac(0x1de))[a2_0x2830ac(0xd3)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xf4))[a2_0x2830ac(0x137)]('Resume\x20a\x20paused\x20always-on\x20campaign')[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x144),a2_0x2830ac(0x1de))[a2_0x2830ac(0xd3)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd['command'](a2_0x2830ac(0x15a))[a2_0x2830ac(0x137)](a2_0x2830ac(0x33c))[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x144),a2_0x2830ac(0x1de))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2fb),a2_0x2830ac(0x218))['action'](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xd1))['description'](a2_0x2830ac(0x2b8))['requiredOption'](a2_0x2830ac(0x144),a2_0x2830ac(0x1de))[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x34b),'Name\x20for\x20the\x20duplicated\x20campaign')['action'](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x347))['description'](a2_0x2830ac(0xe5));templateCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x203))[a2_0x2830ac(0x137)](a2_0x2830ac(0x16f))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))[a2_0x2830ac(0xd3)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x2830ac(0x2fd)]('templates\x20[pattern]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x330))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))[a2_0x2830ac(0xd3)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xd2))[a2_0x2830ac(0x137)](a2_0x2830ac(0x8d))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))['option'](a2_0x2830ac(0x1b6),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x2830ac(0xd3)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x159))[a2_0x2830ac(0x137)]('Create\x20an\x20email\x20template')[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x34b),a2_0x2830ac(0x2e9))[a2_0x2830ac(0x2e2)](a2_0x2830ac(0x18f),a2_0x2830ac(0x9c))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1bc),a2_0x2830ac(0x25c))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x23e),'Read\x20HTML\x20template\x20from\x20file')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x1de))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2a2),a2_0x2830ac(0x1c5))[a2_0x2830ac(0xd9)]('--editor-type\x20<type>',a2_0x2830ac(0x2c7),_0x11d99f=>{const _0x56b299=a2_0x2830ac;if(![_0x56b299(0x204),_0x56b299(0x2ec)][_0x56b299(0x2d9)](_0x11d99f))throw new SDKError(ErrorCode[_0x56b299(0x120)],_0x56b299(0x242)+_0x11d99f+_0x56b299(0x86));return _0x11d99f;})['action'](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x166))['description'](a2_0x2830ac(0x223))[a2_0x2830ac(0xd9)]('--workspace\x20<name>',a2_0x2830ac(0x30b))['option'](a2_0x2830ac(0x34b),a2_0x2830ac(0x1ff))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x18f),'Email\x20subject\x20template')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x1bc),'HTML\x20template\x20content')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x23e),a2_0x2830ac(0x1f7))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2a2),a2_0x2830ac(0x1c5))[a2_0x2830ac(0xd3)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xd7))['description']('Pull\x20templates\x20to\x20YAML\x20files')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),a2_0x2830ac(0x30b))['option']('--name\x20<name>',a2_0x2830ac(0x142))['option'](a2_0x2830ac(0x312),a2_0x2830ac(0x218))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x111),a2_0x2830ac(0x2e6))[a2_0x2830ac(0xd3)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x25d))['description'](a2_0x2830ac(0x305))['option']('--workspace\x20<name>',a2_0x2830ac(0x30b))[a2_0x2830ac(0xd9)]('-y,\x20--yes',a2_0x2830ac(0x218))[a2_0x2830ac(0xd9)]('--dry-run',a2_0x2830ac(0x300))[a2_0x2830ac(0xd3)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1e8))['description']('Validate\x20template\x20YAML\x20files\x20locally')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2a0),a2_0x2830ac(0x115))[a2_0x2830ac(0xd3)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xb3))[a2_0x2830ac(0x137)]('Delete\x20an\x20email\x20template')['option']('--workspace\x20<name>',a2_0x2830ac(0x30b))[a2_0x2830ac(0xd9)]('--yes',a2_0x2830ac(0x218))[a2_0x2830ac(0xd3)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1fe))['description'](a2_0x2830ac(0x12d));workspaceCmd['command']('list\x20[pattern]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x219))[a2_0x2830ac(0xd3)](createEngageListAction(EngageWorkspacesCommand)),engageCmd['command'](a2_0x2830ac(0x213))[a2_0x2830ac(0x137)]('List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)')[a2_0x2830ac(0xd3)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xd2))['description'](a2_0x2830ac(0x264))[a2_0x2830ac(0xd9)]('--full','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x2830ac(0xd3)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x159))[a2_0x2830ac(0x137)](a2_0x2830ac(0x174))['requiredOption']('--name\x20<name>',a2_0x2830ac(0x30b))[a2_0x2830ac(0xd9)]('--description\x20<desc>',a2_0x2830ac(0x22c))[a2_0x2830ac(0xd3)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd['command'](a2_0x2830ac(0x166))[a2_0x2830ac(0x137)](a2_0x2830ac(0x13e))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x34b),a2_0x2830ac(0x304))['option']('--description\x20<desc>',a2_0x2830ac(0x22c))['action'](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xb3))[a2_0x2830ac(0x137)](a2_0x2830ac(0x108))['option'](a2_0x2830ac(0x2fb),'Skip\x20confirmation\x20prompt')[a2_0x2830ac(0xd3)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x29c))[a2_0x2830ac(0x137)](a2_0x2830ac(0x2c1))[a2_0x2830ac(0xd3)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x148))[a2_0x2830ac(0x137)]('Delivery\x20operations\x20(email\x20senders)');deliveryCmd['command'](a2_0x2830ac(0x1b3))[a2_0x2830ac(0x137)](a2_0x2830ac(0x9e))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x144),'Workspace\x20name')[a2_0x2830ac(0xd3)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program['command'](a2_0x2830ac(0x95))[a2_0x2830ac(0x137)](a2_0x2830ac(0x93)),connectionListAction=async _0x9a609c=>{const _0x3e8776=a2_0x2830ac,_0x17ff77=new ConnectionListCommand(),_0x40bc5d=program[_0x3e8776(0x2be)](),_0x44dcac=await createTDXInstance(_0x40bc5d),_0x3f2d30=await _0x17ff77['run']({'options':{..._0x40bc5d,..._0x9a609c},'args':[],'tdx':_0x44dcac});gracefulExit(_0x3f2d30);};connectionCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x319))['description'](a2_0x2830ac(0x2a4))['action'](connectionListAction),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x26e),{'hidden':!![]})[a2_0x2830ac(0x137)](a2_0x2830ac(0x161))[a2_0x2830ac(0xd3)](connectionListAction),connectionCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x82))['description'](a2_0x2830ac(0x257))[a2_0x2830ac(0xd3)](async(_0x382108,_0x53fbf6)=>{const _0x2781c5=a2_0x2830ac,_0x2fe0da=new ConnectionShowCommand(),_0x1d9bd6=program[_0x2781c5(0x2be)](),_0x3ee675=await createTDXInstance(_0x1d9bd6),_0x4dbecd=await _0x2fe0da[_0x2781c5(0x91)]({'options':{..._0x1d9bd6,..._0x53fbf6},'args':[_0x382108],'tdx':_0x3ee675});gracefulExit(_0x4dbecd);}),connectionCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x250))[a2_0x2830ac(0x137)](a2_0x2830ac(0xe3))[a2_0x2830ac(0xd3)](async(_0x28c401,_0x285244)=>{const _0x4ac2fb=a2_0x2830ac,_0x3172f3=new ConnectionSchemaCommand(),_0xd879dc=program[_0x4ac2fb(0x2be)](),_0x2c2924=await createTDXInstance(_0xd879dc),_0x1301bf=await _0x3172f3['run']({'options':{..._0xd879dc,..._0x285244},'args':[_0x28c401],'tdx':_0x2c2924});gracefulExit(_0x1301bf);}),connectionCmd[a2_0x2830ac(0x2fd)]('types')[a2_0x2830ac(0x137)](a2_0x2830ac(0x2b5))['action'](async _0x1e2391=>{const _0x302219=a2_0x2830ac,_0x5bcd1d=new ConnectionTypesCommand(),_0x4a33dd=program[_0x302219(0x2be)](),_0x11060e=await createTDXInstance(_0x4a33dd),_0x3a01db=await _0x5bcd1d[_0x302219(0x91)]({'options':{..._0x4a33dd,..._0x1e2391},'args':[],'tdx':_0x11060e});gracefulExit(_0x3a01db);}),connectionCmd[a2_0x2830ac(0x2fd)]('settings\x20<type>')[a2_0x2830ac(0x137)]('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x2830ac(0xd3)](async(_0x4388ea,_0x1bb2be)=>{const _0x42646b=a2_0x2830ac,_0x563d42=new ConnectionSettingsCommand(),_0x4cec08=program[_0x42646b(0x2be)](),_0x4c7df0=await createTDXInstance(_0x4cec08),_0x1de10a=await _0x563d42[_0x42646b(0x91)]({'options':{..._0x4cec08,..._0x1bb2be},'args':[_0x4388ea],'tdx':_0x4c7df0});gracefulExit(_0x1de10a);});const journeyCmd=program[a2_0x2830ac(0x2fd)]('journey')[a2_0x2830ac(0x137)](a2_0x2830ac(0x24d)),journeyListAction=async(_0x453327,_0x57f8d8)=>{const _0x5b641d=a2_0x2830ac,_0x1bae71=new JourneyListCommand(),_0x129a24=program[_0x5b641d(0x2be)](),_0x11d7ec=await createTDXInstance(_0x129a24),_0x180b24=await _0x1bae71['run']({'options':{..._0x129a24,..._0x57f8d8},'args':_0x453327?[_0x453327]:[],'tdx':_0x11d7ec});gracefulExit(_0x180b24);};journeyCmd['command'](a2_0x2830ac(0x203))[a2_0x2830ac(0x137)](a2_0x2830ac(0x266))[a2_0x2830ac(0xd3)](journeyListAction),journeyCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x146))[a2_0x2830ac(0x137)](a2_0x2830ac(0xf0))[a2_0x2830ac(0xd9)]('-w,\x20--web',a2_0x2830ac(0x71))[a2_0x2830ac(0xd9)]('--include-stats','Include\x20execution\x20statistics')[a2_0x2830ac(0xd3)](async(_0x3ce8be,_0x334348)=>{const _0x35d2fc=a2_0x2830ac,_0xe97c41=new JourneyViewCommand(),_0x140fd2=program[_0x35d2fc(0x2be)](),_0x295492=await createTDXInstance(_0x140fd2),_0x1a2b7b=await _0xe97c41[_0x35d2fc(0x91)]({'options':{..._0x140fd2,..._0x334348},'args':[_0x3ce8be],'tdx':_0x295492});gracefulExit(_0x1a2b7b);}),journeyCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x22a))[a2_0x2830ac(0x137)](a2_0x2830ac(0x1a9))['option']('--stage\x20<name>','Show\x20stats\x20for\x20specific\x20stage')[a2_0x2830ac(0xd9)]('--from\x20<date>',a2_0x2830ac(0x2dd))['option'](a2_0x2830ac(0x247),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x2830ac(0xd9)](a2_0x2830ac(0x254),a2_0x2830ac(0xe4))['action'](async(_0x52c40e,_0x2a9cce)=>{const _0x1ff67b=a2_0x2830ac,_0x39d97=new JourneyStatsCommand(),_0x680b61=program[_0x1ff67b(0x2be)](),_0x567ad9=await createTDXInstance(_0x680b61),_0x30388c=await _0x39d97['run']({'options':{..._0x680b61,..._0x2a9cce},'args':[_0x52c40e],'tdx':_0x567ad9});gracefulExit(_0x30388c);}),journeyCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x7d))[a2_0x2830ac(0x137)](a2_0x2830ac(0x150))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2d7),a2_0x2830ac(0x333))['option'](a2_0x2830ac(0x2aa),a2_0x2830ac(0x2dd))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x247),a2_0x2830ac(0x127))['option'](a2_0x2830ac(0x102),'Maximum\x20number\x20of\x20nodes',_0x1b285d=>{const _0x10b337=parseInt(_0x1b285d,0xa);if(isNaN(_0x10b337))throw new Error('Invalid\x20--limit\x20value:\x20\x22'+_0x1b285d+'\x22.\x20Must\x20be\x20a\x20number.');return _0x10b337;})[a2_0x2830ac(0xd3)](async(_0x4ef363,_0x302806)=>{const _0x199445=a2_0x2830ac,_0x40f58e=new JourneyTrafficCommand(),_0x492882=program['opts'](),_0x481fe0=await createTDXInstance(_0x492882),_0x2e6fa0=await _0x40f58e[_0x199445(0x91)]({'options':{..._0x492882,..._0x302806},'args':[_0x4ef363],'tdx':_0x481fe0});gracefulExit(_0x2e6fa0);}),journeyCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x19c))['description'](a2_0x2830ac(0x314))[a2_0x2830ac(0xd3)](async(_0x2a70aa,_0x4d56e6)=>{const _0x6ad470=a2_0x2830ac,_0x15f9ed=new JourneyPauseCommand(),_0x50a985=program[_0x6ad470(0x2be)](),_0x33fe5d=await createTDXInstance(_0x50a985),_0x1708e9=await _0x15f9ed['run']({'options':{..._0x50a985,..._0x4d56e6},'args':[_0x2a70aa],'tdx':_0x33fe5d});gracefulExit(_0x1708e9);}),journeyCmd['command']('resume\x20<name-or-path>')['description'](a2_0x2830ac(0x23c))[a2_0x2830ac(0xd3)](async(_0x379343,_0x4a1083)=>{const _0x20563c=new JourneyResumeCommand(),_0x300f5f=program['opts'](),_0x5bc8fb=await createTDXInstance(_0x300f5f),_0x43e697=await _0x20563c['run']({'options':{..._0x300f5f,..._0x4a1083},'args':[_0x379343],'tdx':_0x5bc8fb});gracefulExit(_0x43e697);}),journeyCmd['command'](a2_0x2830ac(0x2ad))['description'](a2_0x2830ac(0x10d))[a2_0x2830ac(0xd9)]('--dry-run',a2_0x2830ac(0x26b))[a2_0x2830ac(0xd3)](async(_0x39d4b5,_0x20b6b6)=>{const _0x5f5ce9=a2_0x2830ac,_0x5de47c=new JourneyPullCommand(),_0x436b36=program[_0x5f5ce9(0x2be)](),_0x4b1d1e=await createTDXInstance(_0x436b36),_0x53ded2=await _0x5de47c[_0x5f5ce9(0x91)]({'options':{..._0x436b36,..._0x20b6b6},'args':_0x39d4b5?[_0x39d4b5]:[],'tdx':_0x4b1d1e});gracefulExit(_0x53ded2);}),journeyCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x25d))[a2_0x2830ac(0x137)]('Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data')[a2_0x2830ac(0xd3)](async(_0x173c89,_0x39474f)=>{const _0x40fb73=a2_0x2830ac,_0x5d1dc5=new JourneyPushCommand(),_0x1f71eb=program[_0x40fb73(0x2be)](),_0x20c988=await createTDXInstance(_0x1f71eb),_0x53717e=await _0x5d1dc5['run']({'options':{..._0x1f71eb,..._0x39474f},'args':_0x173c89?[_0x173c89]:[],'tdx':_0x20c988});gracefulExit(_0x53717e);}),journeyCmd['command'](a2_0x2830ac(0x167))[a2_0x2830ac(0x137)](a2_0x2830ac(0x19a))[a2_0x2830ac(0xd3)](async(_0x38e470,_0x405e78)=>{const _0x2b4ba9=a2_0x2830ac,_0x39605e=new JourneyColumnsCommand(),_0x28b2b3=program[_0x2b4ba9(0x2be)](),_0x4f8906=await createTDXInstance(_0x28b2b3),_0x4dbe85=await _0x39605e[_0x2b4ba9(0x91)]({'options':{..._0x28b2b3,..._0x405e78},'args':[_0x38e470],'tdx':_0x4f8906});gracefulExit(_0x4dbe85);}),journeyCmd['command'](a2_0x2830ac(0x268))[a2_0x2830ac(0x137)](a2_0x2830ac(0x32d))[a2_0x2830ac(0xd3)](async(_0x30228f,_0x2a4883)=>{const _0x3b0b21=a2_0x2830ac,_0x280c04=new JourneyActivationsCommand(),_0x558a98=program['opts'](),_0xccc267=await createTDXInstance(_0x558a98),_0x33dabd=await _0x280c04[_0x3b0b21(0x91)]({'options':{..._0x558a98,..._0x2a4883},'args':[_0x30228f],'tdx':_0xccc267});gracefulExit(_0x33dabd);}),journeyCmd[a2_0x2830ac(0x2fd)]('versions\x20<name-or-path>')[a2_0x2830ac(0x137)]('List\x20all\x20versions\x20of\x20a\x20journey')[a2_0x2830ac(0xd3)](async(_0x45029c,_0x44c549)=>{const _0x1c2749=a2_0x2830ac,_0x3c2c16=new JourneyVersionsCommand(),_0x27103e=program[_0x1c2749(0x2be)](),_0x50d213=await createTDXInstance(_0x27103e),_0x32b5de=await _0x3c2c16[_0x1c2749(0x91)]({'options':{..._0x27103e,..._0x44c549},'args':[_0x45029c],'tdx':_0x50d213});gracefulExit(_0x32b5de);});const journeyVersionCmd=journeyCmd[a2_0x2830ac(0x2fd)]('version')[a2_0x2830ac(0x137)](a2_0x2830ac(0x294));journeyVersionCmd['command'](a2_0x2830ac(0x328))[a2_0x2830ac(0x137)](a2_0x2830ac(0xbf))[a2_0x2830ac(0xd3)](async(_0x950b76,_0x1c8892)=>{const _0x15305d=a2_0x2830ac,_0x4546a3=new JourneyVersionCreateCommand(),_0x8d047e=program[_0x15305d(0x2be)](),_0x135085=await createTDXInstance(_0x8d047e),_0x12e10e=await _0x4546a3['run']({'options':{..._0x8d047e,..._0x1c8892},'args':[_0x950b76],'tdx':_0x135085});gracefulExit(_0x12e10e);}),journeyVersionCmd[a2_0x2830ac(0x2fd)]('view\x20<name-or-path>')[a2_0x2830ac(0x137)]('View\x20a\x20specific\x20version\x20of\x20a\x20journey')['requiredOption'](a2_0x2830ac(0x96),a2_0x2830ac(0x1a7))[a2_0x2830ac(0xd3)](async(_0x59f608,_0x53e75b)=>{const _0x3d5cdc=a2_0x2830ac,_0x3f202c=new JourneyVersionViewCommand(),_0x25adc5=program[_0x3d5cdc(0x2be)](),_0x516b92=await createTDXInstance(_0x25adc5),_0x3c68e7=await _0x3f202c['run']({'options':{..._0x25adc5,..._0x53e75b},'args':[_0x59f608],'tdx':_0x516b92});gracefulExit(_0x3c68e7);}),journeyCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1e8))['description'](a2_0x2830ac(0x221))[a2_0x2830ac(0xd3)](async(_0x429137,_0x3ab0e5)=>{const _0x426b08=a2_0x2830ac,_0x1de10b=new JourneyValidateCommand(),_0x108d33=program[_0x426b08(0x2be)](),_0x678052=await createTDXInstance(_0x108d33),_0x4c3447=await _0x1de10b[_0x426b08(0x91)]({'options':{..._0x108d33,..._0x3ab0e5},'args':_0x429137?[_0x429137]:[],'tdx':_0x678052});gracefulExit(_0x4c3447);}),program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x2fe))['description'](a2_0x2830ac(0x240))[a2_0x2830ac(0xd3)](journeyListAction);const agentSyncCmd=program[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x1b7))[a2_0x2830ac(0x137)](a2_0x2830ac(0x92));agentSyncCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x30e))[a2_0x2830ac(0x137)](a2_0x2830ac(0x197))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x2f8),a2_0x2830ac(0x72))[a2_0x2830ac(0xd9)]('-f,\x20--force',a2_0x2830ac(0xb9))['option'](a2_0x2830ac(0x1d4),'Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)')[a2_0x2830ac(0xd3)](async(_0xb33ef5,_0xe16c00,_0x36eb6a)=>{const _0x28dff8=a2_0x2830ac,_0x281535=new AgentPullCommand(),_0x3374fc=program[_0x28dff8(0x2be)](),_0x1b4355=await createTDXInstance(_0x3374fc),_0x2377b7=[];if(_0xb33ef5)_0x2377b7['push'](_0xb33ef5);if(_0xe16c00)_0x2377b7[_0x28dff8(0x2c9)](_0xe16c00);const _0x52f674=await _0x281535[_0x28dff8(0x91)]({'options':{..._0x3374fc,..._0x36eb6a},'args':_0x2377b7,'tdx':_0x1b4355});gracefulExit(_0x52f674);}),agentSyncCmd['command']('push\x20[path]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x2d8))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xc8),a2_0x2830ac(0x73))[a2_0x2830ac(0xd3)](async(_0x55df2e,_0x5cbee8)=>{const _0x42daaf=a2_0x2830ac,_0x192cd5=new AgentPushCommand(),_0x47fd95=program['opts'](),_0x5cde9f=await createTDXInstance(_0x47fd95),_0x1197c0=await _0x192cd5[_0x42daaf(0x91)]({'options':{..._0x47fd95,..._0x5cbee8},'args':_0x55df2e?[_0x55df2e]:[],'tdx':_0x5cde9f});gracefulExit(_0x1197c0);}),agentSyncCmd[a2_0x2830ac(0x2fd)]('clone\x20[source]')['description'](a2_0x2830ac(0xe9))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x183),a2_0x2830ac(0x339))[a2_0x2830ac(0xd3)](async(_0x1b8904,_0x3ed794)=>{const _0x5f1aec=a2_0x2830ac,_0x15202e=new AgentCloneCommand(),_0x5449c7=program[_0x5f1aec(0x2be)](),_0x4828a7=await createTDXInstance(_0x5449c7),_0x45e72a=await _0x15202e[_0x5f1aec(0x91)]({'options':{..._0x5449c7,..._0x3ed794},'args':_0x1b8904?[_0x1b8904]:[],'tdx':_0x4828a7});gracefulExit(_0x45e72a);}),agentSyncCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0xf2))[a2_0x2830ac(0x137)](a2_0x2830ac(0x123))['option'](a2_0x2830ac(0x14a),a2_0x2830ac(0x140))['option'](a2_0x2830ac(0x143),a2_0x2830ac(0x75))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x111),a2_0x2830ac(0x206))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x10c),a2_0x2830ac(0x1c7))['option'](a2_0x2830ac(0x176),a2_0x2830ac(0x28c))['action'](async(_0x17ab44,_0x43e39b)=>{const _0x5e5209=a2_0x2830ac,_0x670c2=new AgentTestCommand(),_0x59d26d=program[_0x5e5209(0x2be)](),_0x5e843d=await createTDXInstance(_0x59d26d),_0x2a1c4f=await _0x670c2[_0x5e5209(0x91)]({'options':{..._0x59d26d,..._0x43e39b},'args':_0x17ab44?[_0x17ab44]:[],'tdx':_0x5e843d});gracefulExit(_0x2a1c4f);}),agentSyncCmd[a2_0x2830ac(0x2fd)]('list\x20[pattern]')[a2_0x2830ac(0x137)](a2_0x2830ac(0x335))[a2_0x2830ac(0xd3)](llmAgentListAction),agentSyncCmd['command'](a2_0x2830ac(0x162))['description'](a2_0x2830ac(0x270))[a2_0x2830ac(0xd3)](async(_0x2bbc3b,_0x2dfe65)=>{const _0x43c1f6=a2_0x2830ac,_0x762d8c=new LLMAgentShowCommand(),_0x538200=program[_0x43c1f6(0x2be)](),_0x2a07e9=await createTDXInstance(_0x538200),_0x161961=await _0x762d8c[_0x43c1f6(0x91)]({'options':{..._0x538200,..._0x2dfe65},'args':[_0x2bbc3b],'tdx':_0x2a07e9});gracefulExit(_0x161961);}),agentSyncCmd['command'](a2_0x2830ac(0x1d1))['description'](a2_0x2830ac(0x124))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x202),a2_0x2830ac(0x155))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x98),a2_0x2830ac(0x241),a2_0x2830ac(0x1cd))[a2_0x2830ac(0xd9)](a2_0x2830ac(0xf7),a2_0x2830ac(0x136))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x211),a2_0x2830ac(0xbb),'4')['option'](a2_0x2830ac(0x2bd),a2_0x2830ac(0xee),a2_0x2830ac(0x2c3))[a2_0x2830ac(0xd3)](async(_0x3997b2,_0x5cfa1f)=>{const _0x2e0057=a2_0x2830ac,_0x59ebfc=new LLMAgentCreateCommand(),_0x4f518b=program[_0x2e0057(0x2be)](),_0x56f3e7=await createTDXInstance(_0x4f518b),_0x459631=await _0x59ebfc[_0x2e0057(0x91)]({'options':{..._0x4f518b,..._0x5cfa1f},'args':[_0x3997b2],'tdx':_0x56f3e7});gracefulExit(_0x459631);}),agentSyncCmd[a2_0x2830ac(0x2fd)]('update\x20<agent-name>')[a2_0x2830ac(0x137)](a2_0x2830ac(0x26f))[a2_0x2830ac(0xd9)](a2_0x2830ac(0x192),'Agent\x20name')['option'](a2_0x2830ac(0x32f),a2_0x2830ac(0x2c4))[a2_0x2830ac(0xd9)]('--description\x20<text>','Agent\x20description')['option']('--starter-message\x20<text>',a2_0x2830ac(0x136))[a2_0x2830ac(0xd3)](async(_0x2a268d,_0x5e4d1b)=>{const _0x5c8dfe=a2_0x2830ac,_0x3adb1f=new LLMAgentUpdateCommand(),_0x1028d5=program[_0x5c8dfe(0x2be)](),_0x155913=await createTDXInstance(_0x1028d5),_0x202456=await _0x3adb1f['run']({'options':{..._0x1028d5,..._0x5e4d1b},'args':[_0x2a268d],'tdx':_0x155913});gracefulExit(_0x202456);}),agentSyncCmd[a2_0x2830ac(0x2fd)](a2_0x2830ac(0x16d))['description'](a2_0x2830ac(0xad))[a2_0x2830ac(0xd3)](async(_0x1945e7,_0x269faf)=>{const _0x50d6f6=a2_0x2830ac,_0x5dcf18=new LLMAgentDeleteCommand(),_0x3b502a=program[_0x50d6f6(0x2be)](),_0x52c8ea=await createTDXInstance(_0x3b502a),_0x391f69=await _0x5dcf18[_0x50d6f6(0x91)]({'options':{..._0x3b502a,..._0x269faf},'args':[_0x1945e7],'tdx':_0x52c8ea});gracefulExit(_0x391f69);}),program['command'](a2_0x2830ac(0xdf),{'hidden':!![]})['action'](()=>{const _0x5dfa74=a2_0x2830ac;function _0x46d0a4(_0x4a88d1,_0x48ff7f){const _0x545d3d=a2_0xc295,_0x363079=[];for(const _0x3a7b5f of _0x4a88d1['commands']){if(_0x3a7b5f[_0x545d3d(0x19d)])continue;const _0x5f27ce=_0x48ff7f?_0x48ff7f+'\x20'+_0x3a7b5f['name']():_0x3a7b5f[_0x545d3d(0x131)](),_0x1eb4e3=_0x5f27ce[_0x545d3d(0x8a)]('\x20')[0x0],_0x25d19=COMMAND_CATEGORIES['find'](_0x371179=>_0x371179[_0x545d3d(0x1cf)][_0x545d3d(0x2d9)](_0x1eb4e3)),_0x9272d0=_0x25d19?.[_0x545d3d(0x131)]??'';if(_0x3a7b5f[_0x545d3d(0x1cf)][_0x545d3d(0xa9)]>0x0)_0x363079[_0x545d3d(0x2c9)](..._0x46d0a4(_0x3a7b5f,_0x5f27ce));else{const _0x412490=(_0x3a7b5f[_0x545d3d(0x21a)]||[])['map'](_0x3c32c9=>{const _0x3664a5=_0x545d3d,_0x259858=_0x3c32c9[_0x3664a5(0x18e)]?_0x3c32c9[_0x3664a5(0x131)]()+_0x3664a5(0x262):_0x3c32c9[_0x3664a5(0x131)]();return _0x3c32c9['required']?'<'+_0x259858+'>':'['+_0x259858+']';})[_0x545d3d(0x180)]('\x20'),_0x30833d=_0x3a7b5f['options'][_0x545d3d(0xdc)](_0x2e2c76=>!_0x2e2c76[_0x545d3d(0xc1)]&&_0x2e2c76[_0x545d3d(0x7e)]!=='--help')[_0x545d3d(0x2e3)](_0x5e7c16=>({'flags':_0x5e7c16[_0x545d3d(0x1e1)],'description':_0x5e7c16[_0x545d3d(0x137)]}));_0x363079[_0x545d3d(0x2c9)]({'name':_0x5f27ce,'description':_0x3a7b5f['description'](),'group':_0x9272d0,'usage':_0x412490,'options':_0x30833d});}}return _0x363079;}console[_0x5dfa74(0x33d)](JSON[_0x5dfa74(0x165)](_0x46d0a4(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x35d89a=a2_0x2830ac,_0x125b58=!process[_0x35d89a(0x1d3)][_0x35d89a(0x344)](0x2)[_0x35d89a(0xa9)];showBriefHelp=_0x125b58,program[_0x35d89a(0x1a8)](process['argv']);_0x125b58&&program[_0x35d89a(0x12e)]();const _0x1db209=process[_0x35d89a(0x1d3)][0x2]===_0x35d89a(0x1af);if(process[_0x35d89a(0x12f)][_0x35d89a(0x14c)]&&process[_0x35d89a(0x1d3)]['length']>0x2&&!isDevVersion()&&!_0x1db209){const _0x49ea98=loadReleaseChannel();checkForUpdate(currentVersion,_0x49ea98)[_0x35d89a(0x334)](_0x2a05f0=>{_0x2a05f0&&displayUpdateNotification(_0x2a05f0);})[_0x35d89a(0x126)](()=>{});}}
|
|
1
|
+
const a2_0x360f70=a2_0x4908;(function(_0x844a4a,_0x476a56){const _0x977db5=a2_0x4908,_0x2483a7=_0x844a4a();while(!![]){try{const _0x1e5e2b=parseInt(_0x977db5(0x28b))/0x1+-parseInt(_0x977db5(0x228))/0x2*(-parseInt(_0x977db5(0x2e3))/0x3)+-parseInt(_0x977db5(0x25b))/0x4*(-parseInt(_0x977db5(0x214))/0x5)+-parseInt(_0x977db5(0x382))/0x6*(parseInt(_0x977db5(0x3c3))/0x7)+parseInt(_0x977db5(0x19a))/0x8*(-parseInt(_0x977db5(0x15f))/0x9)+-parseInt(_0x977db5(0x1a8))/0xa*(-parseInt(_0x977db5(0x3a5))/0xb)+-parseInt(_0x977db5(0x1c4))/0xc*(parseInt(_0x977db5(0x2cb))/0xd);if(_0x1e5e2b===_0x476a56)break;else _0x2483a7['push'](_0x2483a7['shift']());}catch(_0x47b462){_0x2483a7['push'](_0x2483a7['shift']());}}}(a2_0x3806,0x99f93));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSPzListCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{AuthLoginCommand}from'./commands/auth-login-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x360f70(0x1fe)][a2_0x360f70(0x18c)](a2_0x360f70(0x206))){let versionOutput=a2_0x360f70(0x416)+currentVersion;buildInfo['gitRevision']&&!currentVersion['includes'](buildInfo[a2_0x360f70(0x3ae)])&&(versionOutput+='\x20('+buildInfo[a2_0x360f70(0x3ae)]+')'),buildInfo[a2_0x360f70(0x369)]&&(versionOutput+=a2_0x360f70(0x3a4)+buildInfo[a2_0x360f70(0x369)]),console['log'](versionOutput),process[a2_0x360f70(0x365)](0x0);}const program=new Command();export function mergeCommandOptions(_0x14d22b,_0x5aeb6b){const _0x4f133c=a2_0x360f70,_0x3de068={..._0x14d22b};for(const [_0x263b41,_0x35135f]of Object[_0x4f133c(0x40c)](_0x5aeb6b)){_0x35135f!==undefined&&(_0x3de068[_0x263b41]=_0x35135f);}return _0x3de068;}let showBriefHelp=![],description=a2_0x360f70(0x260);buildInfo['gitRevision']&&!currentVersion[a2_0x360f70(0x18c)](buildInfo[a2_0x360f70(0x3ae)])?description+=a2_0x360f70(0x250)+currentVersion+'\x20('+buildInfo[a2_0x360f70(0x3ae)]+')':description+=a2_0x360f70(0x250)+currentVersion;program['name'](a2_0x360f70(0x18d))[a2_0x360f70(0x390)](description),program[a2_0x360f70(0x2e6)](a2_0x360f70(0x3e5),'Change\x20to\x20directory\x20before\x20executing\x20command')['option'](a2_0x360f70(0x274),a2_0x360f70(0x355))[a2_0x360f70(0x2e6)](a2_0x360f70(0x165),a2_0x360f70(0x185),a2_0x360f70(0x414))[a2_0x360f70(0x2e6)](a2_0x360f70(0x1d4),'Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)')[a2_0x360f70(0x2e6)]('--table',a2_0x360f70(0x2d8))['option'](a2_0x360f70(0x275),a2_0x360f70(0x28a))['option'](a2_0x360f70(0x379),a2_0x360f70(0x22d))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3a3),a2_0x360f70(0x381))[a2_0x360f70(0x2e6)](a2_0x360f70(0x27a),'Save\x20output\x20to\x20file')[a2_0x360f70(0x2e6)](a2_0x360f70(0x3e8),'Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)')[a2_0x360f70(0x2e6)]('--color',a2_0x360f70(0x197),![])[a2_0x360f70(0x2e6)](a2_0x360f70(0x34e),'Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)',![])['option']('-v,\x20--verbose',a2_0x360f70(0x3a7),![])[a2_0x360f70(0x2e6)](a2_0x360f70(0x37e),a2_0x360f70(0x160))[a2_0x360f70(0x2e6)](a2_0x360f70(0x16c),'Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')[a2_0x360f70(0x2e6)](a2_0x360f70(0x36a),a2_0x360f70(0x211),'30')[a2_0x360f70(0x2e6)]('--dry-run','Preview\x20operation\x20without\x20executing',![])['option'](a2_0x360f70(0x372),a2_0x360f70(0x32d),![])[a2_0x360f70(0x2e6)](a2_0x360f70(0x2d1),a2_0x360f70(0x226))[a2_0x360f70(0x2e6)](a2_0x360f70(0x29d),a2_0x360f70(0x3fc))['option'](a2_0x360f70(0x252),a2_0x360f70(0x255)),program[a2_0x360f70(0x407)]({'formatHelp':(_0x37cfae,_0x846267)=>{const _0x1bbc27=a2_0x360f70,_0x326be5=_0x846267[_0x1bbc27(0x298)](_0x37cfae,_0x846267),_0x150e87=0x2,_0x3495cc=0x2;function _0x12923f(_0x3d589e){const _0x1e3e3e=_0x1bbc27,_0x34f6b9=_0x3d589e;return!!(_0x34f6b9[_0x1e3e3e(0x310)]||_0x34f6b9[_0x1e3e3e(0x3a0)]);}function _0x4c9b91(_0x1c8a08,_0x2ef213){const _0x958508=_0x1bbc27;if(_0x2ef213){const _0x569989=''+_0x1c8a08[_0x958508(0x352)](_0x326be5+_0x3495cc)+_0x2ef213;return _0x569989;}return _0x1c8a08;}function _0x2544fd(_0x45de05){const _0x72876b=_0x1bbc27;return _0x45de05[_0x72876b(0x313)]('\x0a')['replace'](/^/gm,'\x20'[_0x72876b(0x1b7)](_0x150e87));}const _0x1ec4ee=[];_0x1ec4ee[_0x1bbc27(0x1d1)]('Usage:\x20'+_0x846267['commandUsage'](_0x37cfae));const _0x2aac81=_0x846267['commandDescription'](_0x37cfae);_0x2aac81&&(_0x1ec4ee[_0x1bbc27(0x1d1)](''),_0x1ec4ee[_0x1bbc27(0x1d1)](_0x2aac81));const _0x554c20=_0x37cfae[_0x1bbc27(0x16d)]['filter'](_0x3964f2=>!_0x12923f(_0x3964f2));if(_0x554c20[_0x1bbc27(0x157)]>0x0){if(_0x37cfae[_0x1bbc27(0x218)]()===_0x1bbc27(0x18d)){const _0x58ee8c=_0x37cfae[_0x1bbc27(0x186)](),_0x1ed6c0=!_0x58ee8c[_0x1bbc27(0x2bc)]&&process[_0x1bbc27(0x167)][_0x1bbc27(0x2fc)],_0x5b1762=COMMAND_CATEGORIES,_0x211071=(_0x3d478f,_0x37b548)=>_0x1ed6c0?_0x37b548(_0x3d478f):_0x3d478f,_0x40cb8c=new Map();_0x554c20['forEach'](_0x43a2e4=>{const _0x34bdbd=_0x1bbc27;_0x40cb8c['set'](_0x43a2e4[_0x34bdbd(0x218)](),_0x43a2e4);}),_0x5b1762['forEach'](_0x8551d9=>{const _0x2521f9=_0x1bbc27,_0x32ce1b=_0x8551d9[_0x2521f9(0x16d)][_0x2521f9(0x1b9)](_0x46b503=>_0x40cb8c[_0x2521f9(0x36c)](_0x46b503)??[]);if(_0x32ce1b[_0x2521f9(0x157)]>0x0){_0x1ec4ee[_0x2521f9(0x1d1)](''),_0x1ec4ee[_0x2521f9(0x1d1)](_0x211071(_0x8551d9['name']+':',_0x8551d9[_0x2521f9(0x1a6)]));const _0x26ad93=_0x32ce1b[_0x2521f9(0x3f7)](_0x266ac2=>{const _0x8b5def=_0x846267['subcommandTerm'](_0x266ac2),_0x2f5f13=_0x846267['subcommandDescription'](_0x266ac2);return _0x4c9b91(_0x8b5def,_0x2f5f13);});_0x1ec4ee[_0x2521f9(0x1d1)](_0x2544fd(_0x26ad93));}}),_0x1ec4ee[_0x1bbc27(0x1d1)](''),_0x1ec4ee[_0x1bbc27(0x1d1)]('Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22');}else{const _0x44ffa5=_0x554c20[_0x1bbc27(0x3f7)](_0x5c9787=>{const _0x1acaa3=_0x1bbc27,_0x5ae975=_0x846267[_0x1acaa3(0x204)](_0x5c9787),_0x383b9c=_0x846267[_0x1acaa3(0x1c8)](_0x5c9787);return _0x4c9b91(_0x5ae975,_0x383b9c);});_0x1ec4ee[_0x1bbc27(0x1d1)](''),_0x1ec4ee[_0x1bbc27(0x1d1)](_0x1bbc27(0x30d)),_0x1ec4ee[_0x1bbc27(0x1d1)](_0x2544fd(_0x44ffa5));}}if(showBriefHelp&&_0x37cfae['name']()===_0x1bbc27(0x18d))_0x1ec4ee[_0x1bbc27(0x1d1)](''),_0x1ec4ee[_0x1bbc27(0x1d1)](_0x1bbc27(0x315));else{const _0x3a0d64=_0x37cfae[_0x1bbc27(0x3e1)][_0x1bbc27(0x1f4)](_0x27c4f7=>!_0x12923f(_0x27c4f7));if(_0x3a0d64['length']>0x0){const _0x411d15=_0x3a0d64[_0x1bbc27(0x3f7)](_0x5c6088=>{const _0x45b87e=_0x1bbc27,_0x21f105=_0x846267[_0x45b87e(0x277)](_0x5c6088),_0x24640a=_0x846267[_0x45b87e(0x353)](_0x5c6088);return _0x4c9b91(_0x21f105,_0x24640a);});_0x1ec4ee[_0x1bbc27(0x1d1)](''),_0x1ec4ee[_0x1bbc27(0x1d1)](_0x1bbc27(0x21b)),_0x1ec4ee[_0x1bbc27(0x1d1)](_0x2544fd(_0x411d15));}}const _0x993648=(_0x37cfae[_0x1bbc27(0x358)]||[])[_0x1bbc27(0x1f4)](_0x2d011c=>!_0x12923f(_0x2d011c));if(_0x993648[_0x1bbc27(0x157)]>0x0){const _0x3af7dc=_0x993648['map'](_0x3b99ac=>{const _0x5cb9c6=_0x1bbc27,_0x3129ef=_0x846267['argumentTerm'](_0x3b99ac),_0x341c2a=_0x846267[_0x5cb9c6(0x2ba)](_0x3b99ac);return _0x4c9b91(_0x3129ef,_0x341c2a);});_0x1ec4ee['push'](''),_0x1ec4ee[_0x1bbc27(0x1d1)](_0x1bbc27(0x39e)),_0x1ec4ee[_0x1bbc27(0x1d1)](_0x2544fd(_0x3af7dc));}return _0x1ec4ee[_0x1bbc27(0x313)]('\x0a')+'\x0a';},'subcommandTerm':_0xa18170=>{const _0x2e0fc5=a2_0x360f70,_0x8e364d=(_0xa18170[_0x2e0fc5(0x358)]||[])['map'](_0x23eeb8=>_0x23eeb8[_0x2e0fc5(0x178)]?'<'+_0x23eeb8[_0x2e0fc5(0x218)]()+'>':'['+_0x23eeb8[_0x2e0fc5(0x218)]()+']')[_0x2e0fc5(0x313)]('\x20'),_0x772248=_0xa18170[_0x2e0fc5(0x2c5)](),_0x4b2c6a=_0x772248[_0x2e0fc5(0x157)]>0x0?_0xa18170[_0x2e0fc5(0x218)]()+',\x20'+_0x772248[_0x2e0fc5(0x313)](',\x20'):_0xa18170[_0x2e0fc5(0x218)]();return _0x8e364d?_0x4b2c6a+'\x20'+_0x8e364d:_0x4b2c6a;}}),program[a2_0x360f70(0x377)]('preAction',_0x57a720=>{const _0x283a30=a2_0x360f70,_0x52245c=_0x57a720[_0x283a30(0x186)]();if(_0x52245c[_0x283a30(0x25f)]){const _0xbe6c74=resolve(_0x52245c[_0x283a30(0x25f)]),_0x3dedc4=_0xbe6c74!==_0x52245c[_0x283a30(0x25f)]?'\x20(resolved\x20to\x20'+_0xbe6c74+')':'';if(!existsSync(_0xbe6c74))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x283a30(0x1c6)+_0x52245c[_0x283a30(0x25f)]+_0x3dedc4,undefined,{'helpText':_0x283a30(0x3c6)});const _0x2690b1=statSync(_0xbe6c74);if(!_0x2690b1[_0x283a30(0x1d9)]())throw new SDKError(ErrorCode[_0x283a30(0x266)],_0x283a30(0x320)+_0x52245c[_0x283a30(0x25f)]+_0x3dedc4,undefined,{'helpText':'The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.'});process['chdir'](_0xbe6c74);}if(!_0x52245c['format']){if(_0x52245c[_0x283a30(0x2d5)])_0x52245c[_0x283a30(0x3ef)]=_0x283a30(0x2d5);else{if(_0x52245c[_0x283a30(0x21f)])_0x52245c['format']=_0x283a30(0x21f);else{if(_0x52245c[_0x283a30(0x2f4)])_0x52245c[_0x283a30(0x3ef)]=_0x283a30(0x2f4);else _0x52245c['tsv']&&(_0x52245c[_0x283a30(0x3ef)]=_0x283a30(0x2d3));}}}if(_0x52245c[_0x283a30(0x17e)])_0x52245c[_0x283a30(0x182)]=LogLevel['TRACE'];else{if(_0x52245c['debug'])_0x52245c[_0x283a30(0x182)]=LogLevel[_0x283a30(0x26a)];else _0x52245c[_0x283a30(0x182)]===undefined&&(_0x52245c['logLevel']=LogLevel[_0x283a30(0x3f6)]);}});async function createTDXInstance(_0x139c24){const _0x5c522b=a2_0x360f70,_0x16c6b3=await GlobalContext['createAsync'](_0x139c24);return _0x16c6b3[_0x5c522b(0x341)](_0x139c24),TDX[_0x5c522b(0x269)]({'site':_0x16c6b3[_0x5c522b(0x1a4)],'apiKey':_0x16c6b3[_0x5c522b(0x1f3)],'accessToken':_0x16c6b3['accessToken'],'logLevel':_0x16c6b3[_0x5c522b(0x182)],'profile':_0x16c6b3[_0x5c522b(0x3e6)]});}const databaseCmd=program[a2_0x360f70(0x339)](a2_0x360f70(0x223))[a2_0x360f70(0x367)]('db')[a2_0x360f70(0x390)]('Database\x20management\x20commands'),databaseListAction=async(_0x134c6a,_0x47a7bc)=>{const _0x340292=a2_0x360f70,_0x32a1b0=new DatabasesCommand(),_0x56a230=program[_0x340292(0x186)](),_0x2b875c=await createTDXInstance(_0x56a230),_0xb7f524=await _0x32a1b0[_0x340292(0x3bf)]({'options':{..._0x56a230,..._0x47a7bc},'args':_0x134c6a?[_0x134c6a]:[],'tdx':_0x2b875c});gracefulExit(_0xb7f524);};databaseCmd[a2_0x360f70(0x339)]('list\x20[pattern]')['description'](a2_0x360f70(0x3c8))[a2_0x360f70(0x40a)](databaseListAction),program['command'](a2_0x360f70(0x22f),{'hidden':!![]})[a2_0x360f70(0x390)](a2_0x360f70(0x35b))[a2_0x360f70(0x40a)](databaseListAction),program[a2_0x360f70(0x339)](a2_0x360f70(0x17a))[a2_0x360f70(0x390)](a2_0x360f70(0x3bc))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3b8),a2_0x360f70(0x305))[a2_0x360f70(0x2e6)](a2_0x360f70(0x349),a2_0x360f70(0x3f0))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3ad),a2_0x360f70(0x25e))[a2_0x360f70(0x2e6)]('--stream',a2_0x360f70(0x1a2))[a2_0x360f70(0x40a)](async(_0xd569cb,_0x4a6369)=>{const _0x214bb4=a2_0x360f70,_0x4d02f4=program['opts'](),_0x18793f=await createTDXInstance(_0x4d02f4);if(_0xd569cb[0x0]===_0x214bb4(0x269)){const _0x5031da=new ChatCreateCommand();gracefulExit(await _0x5031da[_0x214bb4(0x3bf)]({'options':{..._0x4d02f4,..._0x4a6369},'args':_0xd569cb['slice'](0x1),'tdx':_0x18793f}));return;}const _0x51acf0=new ChatCommand(),_0x2fe383=await _0x51acf0[_0x214bb4(0x3bf)]({'options':{..._0x4d02f4,..._0x4a6369},'args':_0xd569cb,'tdx':_0x18793f});gracefulExit(_0x2fe383);});const apiCmd=program['command'](a2_0x360f70(0x16e))[a2_0x360f70(0x176)](a2_0x360f70(0x309))['addHelpText'](a2_0x360f70(0x35d),a2_0x360f70(0x1ed))[a2_0x360f70(0x2e6)](a2_0x360f70(0x1c7),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a2_0x360f70(0x387))[a2_0x360f70(0x2e6)](a2_0x360f70(0x2a4),a2_0x360f70(0x28e))[a2_0x360f70(0x2e6)](a2_0x360f70(0x244),a2_0x360f70(0x346))[a2_0x360f70(0x2e6)](a2_0x360f70(0x402),a2_0x360f70(0x2e9),(_0x3ccd4b,_0x550347)=>{return _0x550347?[..._0x550347,_0x3ccd4b]:[_0x3ccd4b];})[a2_0x360f70(0x2e6)]('--type\x20<api_type>','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')['action'](async(_0x1e6e66,_0x39edf9)=>{const _0x580fec=a2_0x360f70;if(!_0x1e6e66){apiCmd[_0x580fec(0x2ed)]();return;}const _0x56d30c=new ApiCommand(),_0x499203=program[_0x580fec(0x186)](),_0x26b0a4=await createTDXInstance(_0x499203),_0x3b99f5=await _0x56d30c[_0x580fec(0x3bf)]({'options':{..._0x499203,..._0x39edf9},'args':[_0x1e6e66],'tdx':_0x26b0a4});gracefulExit(_0x3b99f5);});program[a2_0x360f70(0x339)](a2_0x360f70(0x1f1))[a2_0x360f70(0x390)]('Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration')[a2_0x360f70(0x350)](a2_0x360f70(0x35d),a2_0x360f70(0x163))[a2_0x360f70(0x40a)](async _0x2d82ee=>{const _0xe51d68=a2_0x360f70,_0x48e8fe=new MCPCommand(),_0x32e71e=program['opts'](),_0x2eee6a=await createTDXInstance(_0x32e71e),_0x2c28d1=await _0x48e8fe[_0xe51d68(0x3bf)]({'options':{..._0x32e71e,..._0x2d82ee},'args':[],'tdx':_0x2eee6a});gracefulExit(_0x2c28d1);});const tableCmd=program[a2_0x360f70(0x339)](a2_0x360f70(0x2d5))[a2_0x360f70(0x390)](a2_0x360f70(0x363)),tableListAction=async(_0x3e8a2e,_0xdb9957)=>{const _0x3fd7ea=a2_0x360f70,_0x366c19=new TablesCommand(),_0x5b4a1b=program['opts'](),_0xa9cc0e=await createTDXInstance(_0x5b4a1b);_0xdb9957['in']&&(_0xdb9957[_0x3fd7ea(0x223)]=_0xdb9957['in']);const _0xd74b77=await _0x366c19[_0x3fd7ea(0x3bf)]({'options':{..._0x5b4a1b,..._0xdb9957},'args':_0x3e8a2e?[_0x3e8a2e]:[],'tdx':_0xa9cc0e});gracefulExit(_0xd74b77);};tableCmd['command'](a2_0x360f70(0x2d0))[a2_0x360f70(0x390)](a2_0x360f70(0x15d))[a2_0x360f70(0x2e6)](a2_0x360f70(0x2df),a2_0x360f70(0x2a9))[a2_0x360f70(0x2e6)]('--in\x20<database>',a2_0x360f70(0x307))[a2_0x360f70(0x40a)](tableListAction),program[a2_0x360f70(0x339)]('tables\x20[pattern]',{'hidden':!![]})[a2_0x360f70(0x390)](a2_0x360f70(0x282))[a2_0x360f70(0x2e6)](a2_0x360f70(0x2df),a2_0x360f70(0x2a9))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3d8),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x360f70(0x40a)](tableListAction),program[a2_0x360f70(0x339)](a2_0x360f70(0x26d))[a2_0x360f70(0x390)](a2_0x360f70(0x1b8))['option'](a2_0x360f70(0x2df),a2_0x360f70(0x340))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3d8),a2_0x360f70(0x307))[a2_0x360f70(0x40a)](async(_0x40310e,_0x1aba54)=>{const _0x298e8b=a2_0x360f70,_0xa149fa=new ShowCommand(),_0x94d8ce=program[_0x298e8b(0x186)](),_0x4a1fee=await createTDXInstance(_0x94d8ce);_0x1aba54['in']&&(_0x1aba54[_0x298e8b(0x223)]=_0x1aba54['in']);const _0x4cf720=await _0xa149fa[_0x298e8b(0x3bf)]({'options':{..._0x94d8ce,..._0x1aba54},'args':_0x40310e?[_0x40310e]:[],'tdx':_0x4a1fee});gracefulExit(_0x4cf720);}),program[a2_0x360f70(0x339)]('describe\x20[table]')[a2_0x360f70(0x367)]('desc')['description']('Describe\x20table\x20schema')['option'](a2_0x360f70(0x2df),a2_0x360f70(0x340))[a2_0x360f70(0x2e6)]('--in\x20<database>',a2_0x360f70(0x307))[a2_0x360f70(0x40a)](async(_0x1ebe75,_0x52e155)=>{const _0xcb4cc3=a2_0x360f70,_0x31498b=new DescribeCommand(),_0xc9b0db=program[_0xcb4cc3(0x186)](),_0x5b2676=await createTDXInstance(_0xc9b0db);_0x52e155['in']&&(_0x52e155[_0xcb4cc3(0x223)]=_0x52e155['in']);const _0xea1980=await _0x31498b['run']({'options':{..._0xc9b0db,..._0x52e155},'args':_0x1ebe75?[_0x1ebe75]:[],'tdx':_0x5b2676});gracefulExit(_0xea1980);}),program['command']('query\x20[sql]')[a2_0x360f70(0x390)](a2_0x360f70(0x264))[a2_0x360f70(0x2e6)](a2_0x360f70(0x2df),a2_0x360f70(0x3cf))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3d8),a2_0x360f70(0x307))[a2_0x360f70(0x2e6)](a2_0x360f70(0x1ef),a2_0x360f70(0x284))[a2_0x360f70(0x2e6)]('-f,\x20--file\x20<path>',a2_0x360f70(0x40e))[a2_0x360f70(0x2e6)](a2_0x360f70(0x14d),a2_0x360f70(0x154))['action'](async(_0x586942,_0x556c90)=>{const _0x534ea8=new QueryCommand(),_0x1a4e56=program['opts'](),_0x41ba02=await createTDXInstance(_0x1a4e56);_0x556c90['in']&&(_0x556c90['database']=_0x556c90['in']);const _0x33ebbb=await _0x534ea8['run']({'options':mergeCommandOptions(_0x1a4e56,_0x556c90),'args':_0x586942?[_0x586942]:[],'tdx':_0x41ba02});gracefulExit(_0x33ebbb);});const segmentCmd=program[a2_0x360f70(0x339)](a2_0x360f70(0x192))[a2_0x360f70(0x367)]('sg')[a2_0x360f70(0x390)](a2_0x360f70(0x194)),segmentListAction=async(_0x3c33e8,_0x5e535b)=>{const _0x26517c=a2_0x360f70,_0x54aa76=new SegmentsCommand(),_0x5a45b7=program[_0x26517c(0x186)](),_0x5c6803=await createTDXInstance(_0x5a45b7),_0x165e3a=await _0x54aa76[_0x26517c(0x3bf)]({'options':{..._0x5a45b7,..._0x5e535b},'args':_0x3c33e8?[_0x3c33e8]:[],'tdx':_0x5c6803});gracefulExit(_0x165e3a);};segmentCmd[a2_0x360f70(0x339)](a2_0x360f70(0x23a))[a2_0x360f70(0x390)](a2_0x360f70(0x285))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3fb),a2_0x360f70(0x31c))[a2_0x360f70(0x2e6)](a2_0x360f70(0x30a),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x360f70(0x40a)](segmentListAction),program[a2_0x360f70(0x339)]('segments\x20[path]',{'hidden':!![]})[a2_0x360f70(0x390)](a2_0x360f70(0x18f))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3fb),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x360f70(0x2e6)](a2_0x360f70(0x30a),a2_0x360f70(0x169),'10')['action'](segmentListAction),segmentCmd['command'](a2_0x360f70(0x319),{'hidden':!![]})['description'](a2_0x360f70(0x1ad))[a2_0x360f70(0x40a)](async(_0x3922c7,_0x331347)=>{const _0x933e54=a2_0x360f70,_0x5e5c6b=new SegmentUseCommand(),_0x39462f=program[_0x933e54(0x186)](),_0x4c6fb8=await createTDXInstance(_0x39462f),_0x42bd85=await _0x5e5c6b['run']({'options':{..._0x39462f,..._0x331347},'args':[_0x3922c7],'tdx':_0x4c6fb8});gracefulExit(_0x42bd85);});const segmentViewAction=async(_0x31293e,_0x4288b1)=>{const _0xc886dc=a2_0x360f70,_0x1c4c96=new SegmentViewCommand(),_0x260673=program[_0xc886dc(0x186)](),_0x1eba95=await createTDXInstance(_0x260673),_0xf9a9b9=await _0x1c4c96[_0xc886dc(0x3bf)]({'options':{..._0x260673,..._0x4288b1},'args':_0x31293e?[_0x31293e]:[],'tdx':_0x1eba95});gracefulExit(_0xf9a9b9);};segmentCmd[a2_0x360f70(0x339)](a2_0x360f70(0x161))[a2_0x360f70(0x390)](a2_0x360f70(0x2ef))[a2_0x360f70(0x2e6)](a2_0x360f70(0x1d8),'Open\x20segment\x20in\x20web\x20browser')[a2_0x360f70(0x40a)](segmentViewAction),segmentCmd[a2_0x360f70(0x339)]('info\x20[segment_name]',{'hidden':!![]})[a2_0x360f70(0x367)](a2_0x360f70(0x396))[a2_0x360f70(0x2e6)](a2_0x360f70(0x1d8),a2_0x360f70(0x184))[a2_0x360f70(0x390)](a2_0x360f70(0x2a8))['action'](segmentViewAction),segmentCmd['command'](a2_0x360f70(0x2ab))['description'](a2_0x360f70(0x2b1))[a2_0x360f70(0x40a)](async(_0x3a6df2,_0x371395)=>{const _0x5250c8=a2_0x360f70,_0x3fdc87=new SegmentDescCommand(),_0xee0fdf=program['opts'](),_0x34d463=await createTDXInstance(_0xee0fdf),_0x25c8ad=await _0x3fdc87[_0x5250c8(0x3bf)]({'options':{..._0xee0fdf,..._0x371395},'args':_0x3a6df2?[_0x3a6df2]:[],'tdx':_0x34d463});gracefulExit(_0x25c8ad);}),segmentCmd[a2_0x360f70(0x339)](a2_0x360f70(0x2a7))[a2_0x360f70(0x390)](a2_0x360f70(0x216))[a2_0x360f70(0x40a)](async(_0x47d880,_0x39dbb7)=>{const _0x5a5bd0=a2_0x360f70,_0x5c3b22=new SegmentShowCommand(),_0x1b77d5=program[_0x5a5bd0(0x186)](),_0x35494c=await createTDXInstance(_0x1b77d5),_0x277886=await _0x5c3b22[_0x5a5bd0(0x3bf)]({'options':{..._0x1b77d5,..._0x39dbb7},'args':_0x47d880?[_0x47d880]:[],'tdx':_0x35494c});gracefulExit(_0x277886);}),segmentCmd[a2_0x360f70(0x339)](a2_0x360f70(0x3d1),{'hidden':!![]})[a2_0x360f70(0x390)](a2_0x360f70(0x325))[a2_0x360f70(0x40a)](async(_0x89f085,_0x9aa8c9)=>{const _0x5d9ab9=a2_0x360f70,_0x232e0e=new SegmentFolderListCommand(),_0x3b444e=program[_0x5d9ab9(0x186)](),_0x347caa=await createTDXInstance(_0x3b444e),_0x2fc248=await _0x232e0e[_0x5d9ab9(0x3bf)]({'options':{..._0x3b444e,..._0x9aa8c9},'args':[_0x89f085],'tdx':_0x347caa});gracefulExit(_0x2fc248);});const folderCmd=segmentCmd[a2_0x360f70(0x339)]('folder',{'hidden':!![]})[a2_0x360f70(0x390)](a2_0x360f70(0x1cc));folderCmd[a2_0x360f70(0x339)]('show\x20<folder_ref>')[a2_0x360f70(0x390)](a2_0x360f70(0x362))[a2_0x360f70(0x40a)](async(_0x3efe85,_0x14d55c)=>{const _0x301c5b=a2_0x360f70,_0x47441a=new SegmentFolderShowCommand(),_0x51a46e=program[_0x301c5b(0x186)](),_0x92a02a=await createTDXInstance(_0x51a46e),_0x29a7d0=await _0x47441a[_0x301c5b(0x3bf)]({'options':{..._0x51a46e,..._0x14d55c},'args':[_0x3efe85],'tdx':_0x92a02a});gracefulExit(_0x29a7d0);}),segmentCmd['command'](a2_0x360f70(0x1d2))['description'](a2_0x360f70(0x1a1))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3b9),a2_0x360f70(0x190))[a2_0x360f70(0x40a)](async(_0x5c157c,_0x55d54f)=>{const _0x1f253a=a2_0x360f70,_0x2f45ad=new SegmentSQLCommand(),_0x1b2703=program[_0x1f253a(0x186)](),_0x1754e0=await createTDXInstance(_0x1b2703),_0x12b268=await _0x2f45ad[_0x1f253a(0x3bf)]({'options':{..._0x1b2703,..._0x55d54f},'args':_0x5c157c?[_0x5c157c]:[],'tdx':_0x1754e0});gracefulExit(_0x12b268);}),segmentCmd['command']('fields\x20[parent_name]')[a2_0x360f70(0x390)](a2_0x360f70(0x317))[a2_0x360f70(0x40a)](async(_0x48afd6,_0x2cbd36)=>{const _0x1fdbd3=new SegmentFieldsCommand(),_0x2b5201=program['opts'](),_0x4264d3=await createTDXInstance(_0x2b5201),_0x13ddf1=await _0x1fdbd3['run']({'options':{..._0x2b5201,..._0x2cbd36},'args':_0x48afd6?[_0x48afd6]:[],'tdx':_0x4264d3});gracefulExit(_0x13ddf1);}),segmentCmd[a2_0x360f70(0x339)](a2_0x360f70(0x3d0))[a2_0x360f70(0x390)](a2_0x360f70(0x3db))[a2_0x360f70(0x2e6)](a2_0x360f70(0x1dd),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x360f70(0x40a)](async(_0x41b14f,_0x2bc8b8)=>{const _0x6590e0=a2_0x360f70,_0xca1823=new SegmentPullCommand(),_0x1f4b0f=program[_0x6590e0(0x186)](),_0x2eee79=await createTDXInstance(_0x1f4b0f),_0x2adba5=await _0xca1823['run']({'options':{..._0x1f4b0f,..._0x2bc8b8},'args':_0x41b14f?[_0x41b14f]:[],'tdx':_0x2eee79});gracefulExit(_0x2adba5);}),segmentCmd[a2_0x360f70(0x339)](a2_0x360f70(0x3ff))['description']('Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments')['option'](a2_0x360f70(0x1dd),a2_0x360f70(0x2eb))['option'](a2_0x360f70(0x3f3),a2_0x360f70(0x33d))[a2_0x360f70(0x40a)](async(_0x5ccc7e,_0x13b681)=>{const _0x4a43f8=a2_0x360f70,_0x327f64=new SegmentPushCommand(),_0x3e8e18=program['opts'](),_0x617913=await createTDXInstance(_0x3e8e18),_0x33ad8b=await _0x327f64[_0x4a43f8(0x3bf)]({'options':{..._0x3e8e18,..._0x13b681},'args':_0x5ccc7e?[_0x5ccc7e]:[],'tdx':_0x617913});gracefulExit(_0x33ad8b);}),segmentCmd['command'](a2_0x360f70(0x370))['description'](a2_0x360f70(0x152))['action'](async(_0x3b047e,_0x985b75)=>{const _0x212f10=a2_0x360f70,_0x38331e=new SegmentValidateCommand(),_0x381c24=program[_0x212f10(0x186)](),_0x11aad2=await createTDXInstance(_0x381c24),_0x2acb65=await _0x38331e['run']({'options':{..._0x381c24,..._0x985b75},'args':_0x3b047e?[_0x3b047e]:[],'tdx':_0x11aad2});gracefulExit(_0x2acb65);}),segmentCmd[a2_0x360f70(0x339)]('create\x20<segment_name>',{'hidden':!![]})[a2_0x360f70(0x390)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')['option'](a2_0x360f70(0x1b0),a2_0x360f70(0x412))[a2_0x360f70(0x2e6)](a2_0x360f70(0x1f6),'Filtering\x20rule\x20as\x20JSON\x20string')[a2_0x360f70(0x2e6)](a2_0x360f70(0x2c0),a2_0x360f70(0x1c5))['option'](a2_0x360f70(0x1db),a2_0x360f70(0x347))['option']('--kind\x20<type>',a2_0x360f70(0x3ea))[a2_0x360f70(0x2e6)]('--invisible',a2_0x360f70(0x1fd))[a2_0x360f70(0x2e6)](a2_0x360f70(0x177),a2_0x360f70(0x3e2))[a2_0x360f70(0x40a)](async(_0x14cdb2,_0x42a2a6)=>{const _0x399729=a2_0x360f70,_0x250515=new SegmentCreateCommand(),_0x4737c1=program['opts'](),_0x15ecbc=await createTDXInstance(_0x4737c1),_0x354d95=await _0x250515[_0x399729(0x3bf)]({'options':{..._0x4737c1,..._0x42a2a6},'args':[_0x14cdb2],'tdx':_0x15ecbc});gracefulExit(_0x354d95);}),segmentCmd['command'](a2_0x360f70(0x174),{'hidden':!![]})[a2_0x360f70(0x390)](a2_0x360f70(0x3f1))[a2_0x360f70(0x2e6)](a2_0x360f70(0x251),'New\x20segment\x20name')[a2_0x360f70(0x2e6)]('--description\x20<text>',a2_0x360f70(0x38e))['option']('--rule\x20<json>',a2_0x360f70(0x175))[a2_0x360f70(0x2e6)]('--rule-file\x20<file>','Updated\x20filtering\x20rule\x20from\x20JSON\x20file')[a2_0x360f70(0x2e6)](a2_0x360f70(0x1db),a2_0x360f70(0x302))['option'](a2_0x360f70(0x1b3),a2_0x360f70(0x3ea))[a2_0x360f70(0x40a)](async(_0x5aee2b,_0x25863e)=>{const _0xf5cded=a2_0x360f70,_0x359a34=new SegmentUpdateCommand(),_0x51d457=program[_0xf5cded(0x186)](),_0x3f4425=await createTDXInstance(_0x51d457),_0x36dd99=await _0x359a34[_0xf5cded(0x3bf)]({'options':{..._0x51d457,..._0x25863e},'args':[_0x5aee2b],'tdx':_0x3f4425});gracefulExit(_0x36dd99);});const parentCmd=segmentCmd['command']('parent',{'hidden':!![]})[a2_0x360f70(0x390)](a2_0x360f70(0x2c9)),parentListAction=async(_0x51496d,_0x2235f5)=>{const _0x34a448=a2_0x360f70,_0x58e763=new ParentSegmentListCommand(),_0x43352e=program[_0x34a448(0x186)](),_0x1b4aeb=await createTDXInstance(_0x43352e),_0xba2a92=await _0x58e763[_0x34a448(0x3bf)]({'options':{..._0x43352e,..._0x2235f5},'args':_0x51496d?[_0x51496d]:[],'tdx':_0x1b4aeb});gracefulExit(_0xba2a92);};parentCmd[a2_0x360f70(0x339)]('list\x20[pattern]')[a2_0x360f70(0x390)]('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x360f70(0x40a)](parentListAction),segmentCmd['command']('parents\x20[pattern]',{'hidden':!![]})['description'](a2_0x360f70(0x38a))[a2_0x360f70(0x40a)](parentListAction),parentCmd['command'](a2_0x360f70(0x2db))[a2_0x360f70(0x390)](a2_0x360f70(0x423))[a2_0x360f70(0x2e6)](a2_0x360f70(0x155),a2_0x360f70(0x23f))['action'](async(_0x38e218,_0x19fc6a)=>{const _0x10e83e=a2_0x360f70,_0x3263a3=new ParentSegmentPullCommand(),_0x6dc931=program['opts'](),_0x3588f3=await createTDXInstance(_0x6dc931),_0x27d117=await _0x3263a3[_0x10e83e(0x3bf)]({'options':{..._0x6dc931,..._0x19fc6a},'args':_0x38e218?[_0x38e218]:[],'tdx':_0x3588f3});gracefulExit(_0x27d117);}),parentCmd[a2_0x360f70(0x339)]('push\x20[file]')[a2_0x360f70(0x390)](a2_0x360f70(0x393))[a2_0x360f70(0x40a)](async(_0x46bf04,_0x32474a)=>{const _0x43d453=new ParentSegmentPushCommand(),_0x4c8fa0=program['opts'](),_0x297ca5=await createTDXInstance(_0x4c8fa0),_0x178b65=await _0x43d453['run']({'options':{..._0x4c8fa0,..._0x32474a},'args':_0x46bf04?[_0x46bf04]:[],'tdx':_0x297ca5});gracefulExit(_0x178b65);}),parentCmd['command'](a2_0x360f70(0x162))[a2_0x360f70(0x390)](a2_0x360f70(0x3a9))[a2_0x360f70(0x2e6)]('--master',a2_0x360f70(0x24a))[a2_0x360f70(0x2e6)](a2_0x360f70(0x2e7),a2_0x360f70(0x308))['option'](a2_0x360f70(0x40b),a2_0x360f70(0x224))[a2_0x360f70(0x2e6)](a2_0x360f70(0x31d),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x360f70(0x2e6)](a2_0x360f70(0x314),a2_0x360f70(0x19b),a2_0x360f70(0x408))[a2_0x360f70(0x40a)](async(_0x301205,_0x1813ba)=>{const _0x250f4a=a2_0x360f70,_0x485931=new ParentSegmentValidateCommand(),_0x1375ba=program[_0x250f4a(0x186)](),_0x4cef0c=await createTDXInstance(_0x1375ba),_0x1dce9e=await _0x485931['run']({'options':{..._0x1375ba,..._0x1813ba},'args':_0x301205?[_0x301205]:[],'tdx':_0x4cef0c});gracefulExit(_0x1dce9e);}),parentCmd[a2_0x360f70(0x339)]('preview\x20[file]')[a2_0x360f70(0x390)](a2_0x360f70(0x150))['option'](a2_0x360f70(0x30e),'Show\x20master\x20table\x20sample\x20data')[a2_0x360f70(0x2e6)](a2_0x360f70(0x2e7),a2_0x360f70(0x392))['option'](a2_0x360f70(0x40b),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')['option'](a2_0x360f70(0x31d),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x360f70(0x2e6)](a2_0x360f70(0x314),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x360f70(0x408))['action'](async(_0x5b5cab,_0x4f20dd)=>{const _0x10370f=a2_0x360f70,_0x30e4b7=new ParentSegmentPreviewCommand(),_0x2c736b=program[_0x10370f(0x186)](),_0x4e5711=await createTDXInstance(_0x2c736b),_0x1dc74e=await _0x30e4b7[_0x10370f(0x3bf)]({'options':{..._0x2c736b,..._0x4f20dd},'args':_0x5b5cab?[_0x5b5cab]:[],'tdx':_0x4e5711});gracefulExit(_0x1dc74e);}),parentCmd['command'](a2_0x360f70(0x171))[a2_0x360f70(0x390)](a2_0x360f70(0x1f9))[a2_0x360f70(0x40a)](async(_0x508834,_0x173f2d)=>{const _0x25f3b2=a2_0x360f70,_0x29e85d=new ParentSegmentRunCommand(),_0x57d4ce=program[_0x25f3b2(0x186)](),_0x3ba443=await createTDXInstance(_0x57d4ce),_0x4a89c8=await _0x29e85d[_0x25f3b2(0x3bf)]({'options':{..._0x57d4ce,..._0x173f2d},'args':_0x508834?[_0x508834]:[],'tdx':_0x3ba443});gracefulExit(_0x4a89c8);});const parentSegmentCmd=program[a2_0x360f70(0x339)](a2_0x360f70(0x245))[a2_0x360f70(0x367)]('ps')['description'](a2_0x360f70(0x1fb));parentSegmentCmd[a2_0x360f70(0x339)]('list\x20[pattern]')['description'](a2_0x360f70(0x36e))['action'](parentListAction),parentSegmentCmd[a2_0x360f70(0x339)](a2_0x360f70(0x2db))[a2_0x360f70(0x390)](a2_0x360f70(0x34f))[a2_0x360f70(0x2e6)](a2_0x360f70(0x155),a2_0x360f70(0x32a))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3d7),a2_0x360f70(0x371))[a2_0x360f70(0x40a)](async(_0x1f9781,_0x568006)=>{const _0x2b7f32=a2_0x360f70,_0x3f6824=new ParentSegmentPullCommand(),_0x5a8b4d=program['opts'](),_0x523664=await createTDXInstance(_0x5a8b4d),_0x61bdbc=await _0x3f6824[_0x2b7f32(0x3bf)]({'options':{..._0x5a8b4d,..._0x568006},'args':_0x1f9781?[_0x1f9781]:[],'tdx':_0x523664});gracefulExit(_0x61bdbc);}),parentSegmentCmd[a2_0x360f70(0x339)](a2_0x360f70(0x326))[a2_0x360f70(0x390)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x360f70(0x40a)](async(_0x317383,_0x15536e)=>{const _0x4a97af=a2_0x360f70,_0x132d36=new ParentSegmentPushCommand(),_0x37cdb6=program[_0x4a97af(0x186)](),_0x4a229a=await createTDXInstance(_0x37cdb6),_0x41daa9=await _0x132d36['run']({'options':{..._0x37cdb6,..._0x15536e},'args':_0x317383?[_0x317383]:[],'tdx':_0x4a229a});gracefulExit(_0x41daa9);}),parentSegmentCmd[a2_0x360f70(0x339)](a2_0x360f70(0x1ac))['description'](a2_0x360f70(0x3a9))[a2_0x360f70(0x2e6)](a2_0x360f70(0x30e),a2_0x360f70(0x24a))[a2_0x360f70(0x2e6)](a2_0x360f70(0x2e7),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')['option']('--behavior\x20[name]','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')['option']('--enriched',a2_0x360f70(0x2b7))['option'](a2_0x360f70(0x314),a2_0x360f70(0x19b),a2_0x360f70(0x408))['action'](async(_0x183231,_0xb4944f)=>{const _0x1b3c52=a2_0x360f70,_0x1b677c=new ParentSegmentValidateCommand(),_0x87a1a3=program[_0x1b3c52(0x186)](),_0x3af33a=await createTDXInstance(_0x87a1a3),_0x402248=await _0x1b677c['run']({'options':{..._0x87a1a3,..._0xb4944f},'args':_0x183231?[_0x183231]:[],'tdx':_0x3af33a});gracefulExit(_0x402248);}),parentSegmentCmd['command'](a2_0x360f70(0x290))[a2_0x360f70(0x390)](a2_0x360f70(0x150))[a2_0x360f70(0x2e6)](a2_0x360f70(0x30e),'Show\x20master\x20table\x20sample\x20data')[a2_0x360f70(0x2e6)](a2_0x360f70(0x2e7),a2_0x360f70(0x392))[a2_0x360f70(0x2e6)]('--behavior\x20[name]',a2_0x360f70(0x1c9))[a2_0x360f70(0x2e6)](a2_0x360f70(0x31d),a2_0x360f70(0x2f5))[a2_0x360f70(0x2e6)](a2_0x360f70(0x314),a2_0x360f70(0x19b),a2_0x360f70(0x408))[a2_0x360f70(0x40a)](async(_0x49dd6f,_0x2031f6)=>{const _0x5e986f=a2_0x360f70,_0x1998eb=new ParentSegmentPreviewCommand(),_0x754116=program[_0x5e986f(0x186)](),_0x17c372=await createTDXInstance(_0x754116),_0x2ed234=await _0x1998eb[_0x5e986f(0x3bf)]({'options':{..._0x754116,..._0x2031f6},'args':_0x49dd6f?[_0x49dd6f]:[],'tdx':_0x17c372});gracefulExit(_0x2ed234);}),parentSegmentCmd[a2_0x360f70(0x339)](a2_0x360f70(0x171))[a2_0x360f70(0x390)](a2_0x360f70(0x1f9))[a2_0x360f70(0x40a)](async(_0x19a202,_0x39bb37)=>{const _0x5dfa4b=a2_0x360f70,_0x257865=new ParentSegmentRunCommand(),_0x1a5c1d=program[_0x5dfa4b(0x186)](),_0xffc4b0=await createTDXInstance(_0x1a5c1d),_0x488dff=await _0x257865[_0x5dfa4b(0x3bf)]({'options':{..._0x1a5c1d,..._0x39bb37},'args':_0x19a202?[_0x19a202]:[],'tdx':_0xffc4b0});gracefulExit(_0x488dff);}),parentSegmentCmd[a2_0x360f70(0x339)]('fields\x20[name]')[a2_0x360f70(0x390)](a2_0x360f70(0x40d))[a2_0x360f70(0x2e6)]('--json',a2_0x360f70(0x31f))['option']('--jsonl',a2_0x360f70(0x262))[a2_0x360f70(0x40a)](async(_0x311348,_0x2cb88f)=>{const _0x29f87e=a2_0x360f70,_0x3cc936=new ParentSegmentFieldsCommand(),_0x51e055=program[_0x29f87e(0x186)](),_0x45704f=await createTDXInstance(_0x51e055),_0x256a99=await _0x3cc936[_0x29f87e(0x3bf)]({'options':{..._0x51e055,..._0x2cb88f},'args':_0x311348?[_0x311348]:[],'tdx':_0x45704f});gracefulExit(_0x256a99);}),parentSegmentCmd[a2_0x360f70(0x339)]('view\x20[name]')[a2_0x360f70(0x390)](a2_0x360f70(0x1e4))['option'](a2_0x360f70(0x1d8),a2_0x360f70(0x24b))['option']('--json',a2_0x360f70(0x31f))[a2_0x360f70(0x2e6)](a2_0x360f70(0x379),a2_0x360f70(0x262))['action'](async(_0x3e1e44,_0x2b0635)=>{const _0x26e851=a2_0x360f70,_0x228dd3=new ParentSegmentViewCommand(),_0x3b9284=program[_0x26e851(0x186)](),_0x56402a=await createTDXInstance(_0x3b9284),_0x134546=await _0x228dd3[_0x26e851(0x3bf)]({'options':{..._0x3b9284,..._0x2b0635},'args':_0x3e1e44?[_0x3e1e44]:[],'tdx':_0x56402a});gracefulExit(_0x134546);}),parentSegmentCmd[a2_0x360f70(0x339)](a2_0x360f70(0x306))['description'](a2_0x360f70(0x283))[a2_0x360f70(0x2e6)](a2_0x360f70(0x155),a2_0x360f70(0x32a))[a2_0x360f70(0x2e6)](a2_0x360f70(0x275),a2_0x360f70(0x31f))[a2_0x360f70(0x2e6)]('--jsonl','Output\x20as\x20JSON\x20Lines')[a2_0x360f70(0x40a)](async(_0x1ff7d1,_0x3d8803)=>{const _0xdf0cc9=a2_0x360f70,_0x745ff6=new ParentSegmentDescCommand(),_0x28291a=program['opts'](),_0x73954=await createTDXInstance(_0x28291a),_0xa3aab8=await _0x745ff6[_0xdf0cc9(0x3bf)]({'options':{..._0x28291a,..._0x3d8803},'args':_0x1ff7d1?[_0x1ff7d1]:[],'tdx':_0x73954});gracefulExit(_0xa3aab8);}),parentSegmentCmd[a2_0x360f70(0x339)](a2_0x360f70(0x37d))[a2_0x360f70(0x390)](a2_0x360f70(0x1bb))[a2_0x360f70(0x2e6)](a2_0x360f70(0x275),a2_0x360f70(0x31f))[a2_0x360f70(0x2e6)](a2_0x360f70(0x379),a2_0x360f70(0x262))[a2_0x360f70(0x40a)](async(_0x4ad2b3,_0x5288ee)=>{const _0x19e7d0=a2_0x360f70,_0x4e76a3=new ParentSegmentSQLCommand(),_0x1f1636=program[_0x19e7d0(0x186)](),_0xa8c3d6=await createTDXInstance(_0x1f1636),_0x17d8ee=await _0x4e76a3[_0x19e7d0(0x3bf)]({'options':{..._0x1f1636,..._0x5288ee},'args':_0x4ad2b3?[_0x4ad2b3]:[],'tdx':_0xa8c3d6});gracefulExit(_0x17d8ee);}),parentSegmentCmd['command']('show\x20[name]')[a2_0x360f70(0x390)](a2_0x360f70(0x33c))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3c4),a2_0x360f70(0x3d4))[a2_0x360f70(0x2e6)](a2_0x360f70(0x275),a2_0x360f70(0x31f))[a2_0x360f70(0x2e6)](a2_0x360f70(0x379),'Output\x20as\x20JSON\x20Lines')['action'](async(_0x53cdb4,_0x568d0c)=>{const _0x2a0671=a2_0x360f70,_0x398a63=new ParentSegmentShowCommand(),_0x2a9d40=program[_0x2a0671(0x186)](),_0x40bb01=await createTDXInstance(_0x2a9d40),_0x2b87dd=await _0x398a63[_0x2a0671(0x3bf)]({'options':{..._0x2a9d40,..._0x568d0c},'args':_0x53cdb4?[_0x53cdb4]:[],'tdx':_0x40bb01});gracefulExit(_0x2b87dd);}),parentSegmentCmd[a2_0x360f70(0x339)](a2_0x360f70(0x166))[a2_0x360f70(0x390)](a2_0x360f70(0x199))[a2_0x360f70(0x40a)](async(_0x4d93b3,_0x35a34b)=>{const _0x2c1343=a2_0x360f70,_0x7c0567=new UseCommand(),_0x4ef790=program[_0x2c1343(0x186)](),_0x48bc64=_0x4d93b3?[_0x2c1343(0x422),_0x4d93b3]:[],_0x5c7ea7=await _0x7c0567[_0x2c1343(0x3bf)]({'options':{..._0x4ef790,..._0x35a34b},'args':_0x48bc64,'tdx':null});gracefulExit(_0x5c7ea7);});const psRtCmd=parentSegmentCmd[a2_0x360f70(0x339)]('rt')[a2_0x360f70(0x390)]('RT\x202.0\x20configuration\x20management');psRtCmd[a2_0x360f70(0x339)]('list\x20[pattern]')[a2_0x360f70(0x390)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0x360f70(0x40a)](async(_0x35471f,_0x135657)=>{const _0x19b8e6=a2_0x360f70,_0x2ac55f=new PSRtListCommand(),_0x2858b7=program[_0x19b8e6(0x186)](),_0x35f491=await createTDXInstance(_0x2858b7),_0x57d381=await _0x2ac55f['run']({'options':{..._0x2858b7,..._0x135657},'args':_0x35471f?[_0x35471f]:[],'tdx':_0x35f491});gracefulExit(_0x57d381);}),psRtCmd[a2_0x360f70(0x339)](a2_0x360f70(0x1ac))[a2_0x360f70(0x390)]('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')[a2_0x360f70(0x40a)](async(_0x1bc07b,_0x38f0ba)=>{const _0x240a63=a2_0x360f70,_0x41adfc=new PSRtValidateCommand(),_0x34b335=program[_0x240a63(0x186)](),_0xea19bc=await createTDXInstance(_0x34b335),_0x22e967=await _0x41adfc[_0x240a63(0x3bf)]({'options':{..._0x34b335,..._0x38f0ba},'args':_0x1bc07b?[_0x1bc07b]:[],'tdx':_0xea19bc});gracefulExit(_0x22e967);});const parentRtCmd=parentCmd[a2_0x360f70(0x339)]('rt',{'hidden':!![]})[a2_0x360f70(0x390)](a2_0x360f70(0x328));parentRtCmd['command']('list\x20[pattern]')[a2_0x360f70(0x390)](a2_0x360f70(0x1e1))[a2_0x360f70(0x40a)](async(_0x3b7295,_0x28e39c)=>{const _0x5c3d75=a2_0x360f70,_0x256ac1=new PSRtListCommand(),_0x48cd16=program[_0x5c3d75(0x186)](),_0x123d3e=await createTDXInstance(_0x48cd16),_0x2c02f4=await _0x256ac1['run']({'options':{..._0x48cd16,..._0x28e39c},'args':_0x3b7295?[_0x3b7295]:[],'tdx':_0x123d3e});gracefulExit(_0x2c02f4);}),parentRtCmd['command'](a2_0x360f70(0x1ac))[a2_0x360f70(0x390)](a2_0x360f70(0x1d7))[a2_0x360f70(0x40a)](async(_0x1f517b,_0x293cb9)=>{const _0x2c1ab1=a2_0x360f70,_0x1fc157=new PSRtValidateCommand(),_0x442e0b=program['opts'](),_0x65a69e=await createTDXInstance(_0x442e0b),_0x1b7d49=await _0x1fc157[_0x2c1ab1(0x3bf)]({'options':{..._0x442e0b,..._0x293cb9},'args':_0x1f517b?[_0x1f517b]:[],'tdx':_0x65a69e});gracefulExit(_0x1b7d49);});const psPzCmd=parentSegmentCmd[a2_0x360f70(0x339)]('pz')[a2_0x360f70(0x390)]('Personalization\x20service\x20management');psPzCmd[a2_0x360f70(0x339)](a2_0x360f70(0x31b))[a2_0x360f70(0x390)](a2_0x360f70(0x1e3))['action'](async(_0x1fed5b,_0x3dde58)=>{const _0x3e0885=a2_0x360f70,_0x4b0757=new PSPzListCommand(),_0x53b926=program[_0x3e0885(0x186)](),_0x4fba0e=await createTDXInstance(_0x53b926),_0x48f8b3=await _0x4b0757[_0x3e0885(0x3bf)]({'options':{..._0x53b926,..._0x3dde58},'args':_0x1fed5b?[_0x1fed5b]:[],'tdx':_0x4fba0e});gracefulExit(_0x48f8b3);}),psPzCmd[a2_0x360f70(0x339)](a2_0x360f70(0x3af))['description'](a2_0x360f70(0x232))[a2_0x360f70(0x40a)](async(_0x273687,_0xa8b8fe)=>{const _0x10c2c3=a2_0x360f70,_0x23b1e7=new PSPzInitCommand(),_0x2d0290=program['opts'](),_0xc11b84=await createTDXInstance(_0x2d0290),_0x3e679e=await _0x23b1e7[_0x10c2c3(0x3bf)]({'options':{..._0x2d0290,..._0xa8b8fe},'args':_0x273687?[_0x273687]:[],'tdx':_0xc11b84});gracefulExit(_0x3e679e);});const parentPzCmd=parentCmd['command']('pz',{'hidden':!![]})[a2_0x360f70(0x390)]('Personalization\x20service\x20management');parentPzCmd['command'](a2_0x360f70(0x31b))[a2_0x360f70(0x390)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x360f70(0x40a)](async(_0x198aec,_0x5f18fb)=>{const _0x64c132=a2_0x360f70,_0x3d3a3a=new PSPzListCommand(),_0x1425a3=program['opts'](),_0x411630=await createTDXInstance(_0x1425a3),_0x3b26ac=await _0x3d3a3a[_0x64c132(0x3bf)]({'options':{..._0x1425a3,..._0x5f18fb},'args':_0x198aec?[_0x198aec]:[],'tdx':_0x411630});gracefulExit(_0x3b26ac);}),parentPzCmd['command'](a2_0x360f70(0x3af))['description']('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x2b4c99,_0x3ae55a)=>{const _0x4b6a42=a2_0x360f70,_0x110685=new PSPzInitCommand(),_0x11ee4e=program[_0x4b6a42(0x186)](),_0x4ed7b8=await createTDXInstance(_0x11ee4e),_0x52237a=await _0x110685[_0x4b6a42(0x3bf)]({'options':{..._0x11ee4e,..._0x3ae55a},'args':_0x2b4c99?[_0x2b4c99]:[],'tdx':_0x4ed7b8});gracefulExit(_0x52237a);}),parentCmd[a2_0x360f70(0x339)](a2_0x360f70(0x22b))[a2_0x360f70(0x390)]('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')['requiredOption'](a2_0x360f70(0x3f5),a2_0x360f70(0x364))[a2_0x360f70(0x24f)](a2_0x360f70(0x24c),a2_0x360f70(0x1b2))['option'](a2_0x360f70(0x1b0),a2_0x360f70(0x32b))[a2_0x360f70(0x2e6)]('--schedule-type\x20<type>',a2_0x360f70(0x27e))[a2_0x360f70(0x2e6)](a2_0x360f70(0x296),a2_0x360f70(0x20e))[a2_0x360f70(0x2e6)]('--timezone\x20<tz>',a2_0x360f70(0x1e9))[a2_0x360f70(0x2e6)](a2_0x360f70(0x14c),a2_0x360f70(0x23b))[a2_0x360f70(0x2e6)](a2_0x360f70(0x267),a2_0x360f70(0x20f))[a2_0x360f70(0x2e6)](a2_0x360f70(0x2d7),a2_0x360f70(0x2cc))['option'](a2_0x360f70(0x3fe),a2_0x360f70(0x394))[a2_0x360f70(0x2e6)](a2_0x360f70(0x183),a2_0x360f70(0x207))[a2_0x360f70(0x2e6)](a2_0x360f70(0x15b),'Customer\x20group\x20from\x20JSON\x20file')['action'](async(_0x426ed6,_0x2bb557)=>{const _0x35da1e=a2_0x360f70,_0xaa9cc6=new ParentSegmentCreateCommand(),_0x520a54=program[_0x35da1e(0x186)](),_0x348d22=await createTDXInstance(_0x520a54),_0x1f33f3=await _0xaa9cc6['run']({'options':{..._0x520a54,..._0x2bb557},'args':[_0x426ed6],'tdx':_0x348d22});gracefulExit(_0x1f33f3);}),parentCmd['command'](a2_0x360f70(0x35e))[a2_0x360f70(0x390)]('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')['option'](a2_0x360f70(0x1b0),a2_0x360f70(0x38e))[a2_0x360f70(0x2e6)]('--schedule-type\x20<type>','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')['option'](a2_0x360f70(0x296),a2_0x360f70(0x361))['option'](a2_0x360f70(0x168),'Updated\x20timezone')[a2_0x360f70(0x2e6)](a2_0x360f70(0x1af),a2_0x360f70(0x16a))[a2_0x360f70(0x2e6)](a2_0x360f70(0x391),a2_0x360f70(0x2da))[a2_0x360f70(0x2e6)]('--add-behaviors\x20<json>',a2_0x360f70(0x16f))[a2_0x360f70(0x2e6)](a2_0x360f70(0x2de),a2_0x360f70(0x20d))[a2_0x360f70(0x40a)](async(_0x331b0c,_0x784ab)=>{const _0x1cf129=a2_0x360f70,_0x306167=new ParentSegmentUpdateCommand(),_0x325ab6=program[_0x1cf129(0x186)](),_0x1b7e35=await createTDXInstance(_0x325ab6),_0x30c6bb=await _0x306167[_0x1cf129(0x3bf)]({'options':{..._0x325ab6,..._0x784ab},'args':[_0x331b0c],'tdx':_0x1b7e35});gracefulExit(_0x30c6bb);}),folderCmd[a2_0x360f70(0x339)](a2_0x360f70(0x1da))[a2_0x360f70(0x390)](a2_0x360f70(0x15c))[a2_0x360f70(0x2e6)](a2_0x360f70(0x1b0),a2_0x360f70(0x337))[a2_0x360f70(0x2e6)](a2_0x360f70(0x242),'Parent\x20folder\x20name\x20for\x20nested\x20folders')['action'](async(_0x5e26e8,_0x5a5aa0,_0x474be3)=>{const _0x2768eb=a2_0x360f70,_0x30f140=new SegmentFolderCreateCommand(),_0x23d656=program[_0x2768eb(0x186)](),_0x393ed6=await createTDXInstance(_0x23d656),_0x435fcc=await _0x30f140[_0x2768eb(0x3bf)]({'options':{..._0x23d656,..._0x474be3},'args':[_0x5e26e8,_0x5a5aa0],'tdx':_0x393ed6});gracefulExit(_0x435fcc);}),program[a2_0x360f70(0x339)](a2_0x360f70(0x1a3))[a2_0x360f70(0x390)]('List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)')[a2_0x360f70(0x40a)](async(_0x5a77ee,_0x2b115b)=>{const _0x49f507=a2_0x360f70,_0x1bf211=new ActivationsCommand(),_0x29547a=program['opts'](),_0x112a72=await createTDXInstance(_0x29547a),_0x446b8c=await _0x1bf211[_0x49f507(0x3bf)]({'options':{..._0x29547a,..._0x2b115b},'args':[_0x5a77ee],'tdx':_0x112a72});gracefulExit(_0x446b8c);});const workflowCmd=program[a2_0x360f70(0x339)](a2_0x360f70(0x2e4))[a2_0x360f70(0x367)]('wf')[a2_0x360f70(0x390)](a2_0x360f70(0x2ea)),wfProjectCmd=workflowCmd[a2_0x360f70(0x339)](a2_0x360f70(0x323))[a2_0x360f70(0x390)]('Workflow\x20project\x20management'),wfProjectListAction=async(_0x1c2829,_0x21d7af)=>{const _0x373fa3=a2_0x360f70,_0x4118ac=new WorkflowProjectsCommand(),_0x4dd1cf=program['opts'](),_0x2d1f95=await createTDXInstance(_0x4dd1cf),_0x3c0249=await _0x4118ac[_0x373fa3(0x3bf)]({'options':{..._0x4dd1cf,..._0x21d7af},'args':_0x1c2829?[_0x1c2829]:[],'tdx':_0x2d1f95});gracefulExit(_0x3c0249);};wfProjectCmd['command'](a2_0x360f70(0x2d0))[a2_0x360f70(0x390)](a2_0x360f70(0x3b7))['action'](wfProjectListAction),workflowCmd['command'](a2_0x360f70(0x3bb))[a2_0x360f70(0x390)]('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0x360f70(0x40a)](wfProjectListAction);const wfWorkflowListAction=async(_0xe04572,_0x5d6835)=>{const _0x3e97e7=a2_0x360f70,_0x2e40f0=new WorkflowWorkflowsCommand(),_0x447300=program[_0x3e97e7(0x186)](),_0xd8c0a9=await createTDXInstance(_0x447300),_0x59f21b=await _0x2e40f0[_0x3e97e7(0x3bf)]({'options':{..._0x447300,..._0x5d6835},'args':_0xe04572?[_0xe04572]:[],'tdx':_0xd8c0a9});gracefulExit(_0x59f21b);};workflowCmd[a2_0x360f70(0x339)](a2_0x360f70(0x3d9))['description'](a2_0x360f70(0x1ca))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x360f70(0x339)](a2_0x360f70(0x3fd))[a2_0x360f70(0x390)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0x52dbbd,_0x5c9a40)=>{const _0x397ede=a2_0x360f70,_0x824d3=new WorkflowSessionsCommand(),_0x4390d2=program[_0x397ede(0x186)](),_0x10743a=await createTDXInstance(_0x4390d2),_0x1061a8=await _0x824d3[_0x397ede(0x3bf)]({'options':{..._0x4390d2,..._0x5c9a40},'args':_0x52dbbd?[_0x52dbbd]:[],'tdx':_0x10743a});gracefulExit(_0x1061a8);};wfSessionCmd['command'](a2_0x360f70(0x3cd))['description']('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x360f70(0x2e6)](a2_0x360f70(0x1b6),a2_0x360f70(0x1d5))[a2_0x360f70(0x2e6)]('--from\x20<timestamp>',a2_0x360f70(0x29f))[a2_0x360f70(0x2e6)](a2_0x360f70(0x280),a2_0x360f70(0x29e))[a2_0x360f70(0x40a)](wfSessionListAction),workflowCmd[a2_0x360f70(0x339)]('sessions\x20[project]')['description']('List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)')['option'](a2_0x360f70(0x1b6),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x360f70(0x2e6)](a2_0x360f70(0x311),a2_0x360f70(0x29f))[a2_0x360f70(0x2e6)](a2_0x360f70(0x280),'End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x360f70(0x40a)](wfSessionListAction);const wfAttemptListAction=async(_0x191cef,_0x275848)=>{const _0x18a6a6=a2_0x360f70,_0xc110ad=new WorkflowAttemptsCommand(),_0x323d18=program[_0x18a6a6(0x186)](),_0x299860=await createTDXInstance(_0x323d18),_0x57c499=await _0xc110ad[_0x18a6a6(0x3bf)]({'options':{..._0x323d18,..._0x275848},'args':_0x191cef?[_0x191cef]:[],'tdx':_0x299860});gracefulExit(_0x57c499);},attemptCmd=workflowCmd[a2_0x360f70(0x339)]('attempt')[a2_0x360f70(0x390)](a2_0x360f70(0x287))[a2_0x360f70(0x2af)](a2_0x360f70(0x303),a2_0x360f70(0x2fb))[a2_0x360f70(0x2af)]('[action]',a2_0x360f70(0x3d3))['argument'](a2_0x360f70(0x3fa),a2_0x360f70(0x38c))[a2_0x360f70(0x2e6)](a2_0x360f70(0x19c),a2_0x360f70(0x24d))[a2_0x360f70(0x2e6)](a2_0x360f70(0x2cd),a2_0x360f70(0x3f9))[a2_0x360f70(0x2e6)](a2_0x360f70(0x248),a2_0x360f70(0x354))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3d5),'Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x360f70(0x2e6)](a2_0x360f70(0x231),a2_0x360f70(0x1f0))[a2_0x360f70(0x2e6)](a2_0x360f70(0x2e1),a2_0x360f70(0x14f))[a2_0x360f70(0x40a)](async(_0x435834,_0x4e7870,_0x210e4f,_0x29d581)=>{const _0x4930bf=a2_0x360f70;if(_0x435834===_0x4930bf(0x293)){await wfAttemptListAction(_0x4e7870,_0x29d581);return;}if(!_0x435834){attemptCmd[_0x4930bf(0x2ed)]();return;}const _0x12c9b7=program[_0x4930bf(0x186)](),_0x55435c=await createTDXInstance(_0x12c9b7);let _0xc70f96=0x0;if(!_0x4e7870){const _0x460ed3=new WorkflowAttemptCommand();_0xc70f96=await _0x460ed3[_0x4930bf(0x3bf)]({'options':{..._0x12c9b7,..._0x29d581},'args':[_0x435834],'tdx':_0x55435c});}else{if(_0x4e7870===_0x4930bf(0x384)){const _0x190056=new WorkflowLogsCommand();_0xc70f96=await _0x190056[_0x4930bf(0x3bf)]({'options':{..._0x12c9b7,..._0x29d581},'args':_0x210e4f?[_0x435834,_0x210e4f]:[_0x435834],'tdx':_0x55435c});}else{if(_0x4e7870===_0x4930bf(0x413)){const _0x21694d=new WorkflowTasksCommand();_0xc70f96=await _0x21694d[_0x4930bf(0x3bf)]({'options':{..._0x12c9b7,..._0x29d581},'args':[_0x435834],'tdx':_0x55435c});}else{if(_0x4e7870===_0x4930bf(0x373)){const _0x27e452=new WorkflowKillCommand();_0xc70f96=await _0x27e452[_0x4930bf(0x3bf)]({'options':{..._0x12c9b7,..._0x29d581},'args':[_0x435834],'tdx':_0x55435c});}else{if(_0x4e7870===_0x4930bf(0x1ee)){const _0x51fbc3=new WorkflowRetryCommand();_0xc70f96=await _0x51fbc3['run']({'options':{..._0x12c9b7,..._0x29d581},'args':['attempt:'+_0x435834],'tdx':_0x55435c});}else console[_0x4930bf(0x3c2)](_0x4930bf(0x3e4)+_0x4e7870),console['error'](_0x4930bf(0x21e)),_0xc70f96=0x1;}}}}gracefulExit(_0xc70f96);});attemptCmd['command']('list\x20[project]')[a2_0x360f70(0x390)](a2_0x360f70(0x2c1))[a2_0x360f70(0x2e6)]('--include-retried',a2_0x360f70(0x2fe))[a2_0x360f70(0x40a)](wfAttemptListAction),workflowCmd[a2_0x360f70(0x339)]('attempts\x20[project]')[a2_0x360f70(0x390)](a2_0x360f70(0x27b))[a2_0x360f70(0x2e6)](a2_0x360f70(0x2e1),'Include\x20retried\x20attempts')['action'](wfAttemptListAction),workflowCmd[a2_0x360f70(0x339)](a2_0x360f70(0x1e2))[a2_0x360f70(0x390)](a2_0x360f70(0x3eb))[a2_0x360f70(0x2e6)](a2_0x360f70(0x2c7),a2_0x360f70(0x256))[a2_0x360f70(0x2e6)](a2_0x360f70(0x28d),a2_0x360f70(0x31e))[a2_0x360f70(0x2e6)]('--attempt-id\x20<id>',a2_0x360f70(0x263))['action'](async(_0x30523e,_0xd594e6)=>{const _0x2f18d7=a2_0x360f70,_0x526438=new WorkflowTimelineCommand(),_0xdbf523=program['opts'](),_0x36d3c3=await createTDXInstance(_0xdbf523),_0x41cb13=await _0x526438[_0x2f18d7(0x3bf)]({'options':{..._0xdbf523,..._0xd594e6},'args':_0x30523e?[_0x30523e]:[],'tdx':_0x36d3c3});gracefulExit(_0x41cb13);}),workflowCmd[a2_0x360f70(0x339)](a2_0x360f70(0x279))[a2_0x360f70(0x390)](a2_0x360f70(0x222))[a2_0x360f70(0x2e6)](a2_0x360f70(0x356),a2_0x360f70(0x1a7))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3d5),'Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x360f70(0x40a)](async(_0x3e3ca5,_0x56e775)=>{const _0xb9686d=a2_0x360f70,_0x23ca9f=new WorkflowRetryCommand(),_0x2c8b6e=program[_0xb9686d(0x186)](),_0x2a31ac=await createTDXInstance(_0x2c8b6e),_0x216251=await _0x23ca9f[_0xb9686d(0x3bf)]({'options':{..._0x2c8b6e,..._0x56e775},'args':[_0x3e3ca5],'tdx':_0x2a31ac});gracefulExit(_0x216251);}),workflowCmd[a2_0x360f70(0x339)]('run\x20[workflow]')[a2_0x360f70(0x390)](a2_0x360f70(0x2a3))[a2_0x360f70(0x2e6)](a2_0x360f70(0x409),a2_0x360f70(0x25a),(_0x147638,_0x5492bf=[])=>[..._0x5492bf,_0x147638],[])[a2_0x360f70(0x2e6)]('--session-time\x20<time>',a2_0x360f70(0x292))[a2_0x360f70(0x40a)](async(_0x5d27b3,_0x5683a5)=>{const _0xcd6f95=a2_0x360f70,_0x1cc1b6=new WorkflowRunCommand(),_0x578e05=program[_0xcd6f95(0x186)](),_0x5d27ee=await createTDXInstance(_0x578e05),_0x2494d3=await _0x1cc1b6[_0xcd6f95(0x3bf)]({'options':{..._0x578e05,..._0x5683a5},'args':_0x5d27b3?[_0x5d27b3]:[],'tdx':_0x5d27ee});gracefulExit(_0x2494d3);}),workflowCmd['command'](a2_0x360f70(0x291))['description'](a2_0x360f70(0x2c8))[a2_0x360f70(0x2e6)](a2_0x360f70(0x359),'Specific\x20revision\x20to\x20download\x20(default:\x20latest)')[a2_0x360f70(0x40a)](async(_0x4b1507,_0x1bca2d,_0x1b5831)=>{const _0x1bf707=a2_0x360f70,_0x5a3e88=new WorkflowDownloadCommand(),_0x241a62=program[_0x1bf707(0x186)](),_0x131886=await createTDXInstance(_0x241a62),_0x29586c=await _0x5a3e88[_0x1bf707(0x3bf)]({'options':{..._0x241a62,..._0x1b5831},'args':[_0x4b1507,_0x1bca2d||'.'],'tdx':_0x131886});gracefulExit(_0x29586c);}),workflowCmd['command']('pull\x20<project>\x20[target-dir]')['description'](a2_0x360f70(0x1fc))[a2_0x360f70(0x2e6)]('--revision\x20<revision>','Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0x360f70(0x2e6)]('--dry-run',a2_0x360f70(0x329))[a2_0x360f70(0x40a)](async(_0x23afeb,_0x8acfc,_0x4f09e5)=>{const _0x38f3af=a2_0x360f70,_0x4aa5df=new WorkflowPullCommand(),_0x3913b9=program[_0x38f3af(0x186)](),_0x276ff5=await createTDXInstance(_0x3913b9),_0x365756=await _0x4aa5df[_0x38f3af(0x3bf)]({'options':{..._0x3913b9,..._0x4f09e5},'args':_0x8acfc?[_0x23afeb,_0x8acfc]:[_0x23afeb],'tdx':_0x276ff5});gracefulExit(_0x365756);}),workflowCmd[a2_0x360f70(0x339)](a2_0x360f70(0x39d))[a2_0x360f70(0x390)](a2_0x360f70(0x35c))[a2_0x360f70(0x2e6)](a2_0x360f70(0x359),'Custom\x20revision\x20name\x20(default:\x20timestamp)')[a2_0x360f70(0x2e6)](a2_0x360f70(0x1dd),a2_0x360f70(0x38d))['option'](a2_0x360f70(0x30f),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x360f70(0x40a)](async(_0x3d0ed4,_0x44110c)=>{const _0x51d20c=a2_0x360f70,_0x48a8e3=new WorkflowPushCommand(),_0x1df037=program[_0x51d20c(0x186)](),_0x46976f=await createTDXInstance(_0x1df037),_0x1b507d=await _0x48a8e3['run']({'options':{..._0x1df037,..._0x44110c},'args':_0x3d0ed4?[_0x3d0ed4]:[],'tdx':_0x46976f});gracefulExit(_0x1b507d);}),workflowCmd[a2_0x360f70(0x339)](a2_0x360f70(0x221))[a2_0x360f70(0x390)](a2_0x360f70(0x41e))[a2_0x360f70(0x2e6)]('--name\x20<name>',a2_0x360f70(0x316))['option'](a2_0x360f70(0x359),a2_0x360f70(0x304))[a2_0x360f70(0x2e6)](a2_0x360f70(0x30f),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x360f70(0x40a)](async(_0x144885,_0x7437e4)=>{const _0x2cdb34=a2_0x360f70,_0x5fd5e8=new WorkflowUploadCommand(),_0x19d685=program[_0x2cdb34(0x186)](),_0x497a63=await createTDXInstance(_0x19d685),_0x36f105=await _0x5fd5e8[_0x2cdb34(0x3bf)]({'options':{..._0x19d685,..._0x7437e4},'args':_0x144885?[_0x144885]:[],'tdx':_0x497a63});gracefulExit(_0x36f105);}),workflowCmd[a2_0x360f70(0x339)]('clone\x20[source-dir]')['description'](a2_0x360f70(0x23c))['option'](a2_0x360f70(0x1cf),'Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x360f70(0x2e6)](a2_0x360f70(0x359),a2_0x360f70(0x18e))[a2_0x360f70(0x2e6)](a2_0x360f70(0x1dd),a2_0x360f70(0x234))[a2_0x360f70(0x2e6)](a2_0x360f70(0x30f),a2_0x360f70(0x342))[a2_0x360f70(0x40a)](async(_0x9ca571,_0x5eab61)=>{const _0x2470fd=a2_0x360f70,_0x2c7c25=new WorkflowCloneCommand(),_0x188a67=program[_0x2470fd(0x186)](),_0x4d9f1a=await createTDXInstance(_0x188a67),_0x4f473c=await _0x2c7c25[_0x2470fd(0x3bf)]({'options':{..._0x188a67,..._0x5eab61},'args':_0x9ca571?[_0x9ca571]:[],'tdx':_0x4d9f1a});gracefulExit(_0x4f473c);}),workflowCmd[a2_0x360f70(0x339)]('delete\x20<project-name-or-id>')[a2_0x360f70(0x390)](a2_0x360f70(0x22c))[a2_0x360f70(0x40a)](async(_0x378558,_0x41a1d5)=>{const _0x30f348=a2_0x360f70,_0x4eff6b=new WorkflowDeleteCommand(),_0x5b1ef3=program[_0x30f348(0x186)](),_0x4368e7=await createTDXInstance(_0x5b1ef3),_0x1c0ab6=await _0x4eff6b[_0x30f348(0x3bf)]({'options':{..._0x5b1ef3,..._0x41a1d5},'args':[_0x378558],'tdx':_0x4368e7});gracefulExit(_0x1c0ab6);}),workflowCmd[a2_0x360f70(0x339)]('use\x20[project]')[a2_0x360f70(0x390)](a2_0x360f70(0x324))[a2_0x360f70(0x2e6)](a2_0x360f70(0x23e),a2_0x360f70(0x1bc))['action'](async(_0x19b119,_0x4da732)=>{const _0x210821=a2_0x360f70,_0xc68c55=new WorkflowUseCommand(),_0x4514a6=program['opts'](),_0x3c48e4=await createTDXInstance(_0x4514a6),_0x3b4735=await _0xc68c55[_0x210821(0x3bf)]({'options':{..._0x4514a6,..._0x4da732},'args':_0x19b119?[_0x19b119]:[],'tdx':_0x3c48e4});gracefulExit(_0x3b4735);});const wfSecretsCmd=workflowCmd[a2_0x360f70(0x339)](a2_0x360f70(0x2dd))[a2_0x360f70(0x390)](a2_0x360f70(0x3e0));wfSecretsCmd[a2_0x360f70(0x339)](a2_0x360f70(0x3cd))[a2_0x360f70(0x390)](a2_0x360f70(0x3da))[a2_0x360f70(0x40a)](async(_0x1705ec,_0x5a821a)=>{const _0x17e4dc=a2_0x360f70,_0xc86111=new WorkflowSecretsListCommand(),_0x5f38ca=program[_0x17e4dc(0x186)](),_0x4255b6=await createTDXInstance(_0x5f38ca),_0x61c919=await _0xc86111[_0x17e4dc(0x3bf)]({'options':{..._0x5f38ca,..._0x5a821a},'args':_0x1705ec?[_0x1705ec]:[],'tdx':_0x4255b6});gracefulExit(_0x61c919);}),wfSecretsCmd['command'](a2_0x360f70(0x16b))['description']('Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])')['action'](async(_0x4683fe,_0x279d4f)=>{const _0x7e79fa=a2_0x360f70,_0x52f49d=new WorkflowSecretsSetCommand(),_0x104cd1=program[_0x7e79fa(0x186)](),_0x1571d2=await createTDXInstance(_0x104cd1),_0x102717=await _0x52f49d['run']({'options':{..._0x104cd1,..._0x279d4f},'args':_0x4683fe,'tdx':_0x1571d2});gracefulExit(_0x102717);}),wfSecretsCmd['command'](a2_0x360f70(0x32e))[a2_0x360f70(0x390)](a2_0x360f70(0x2bb))[a2_0x360f70(0x40a)](async(_0x4cd6d7,_0xa5d87b)=>{const _0x47a2dc=a2_0x360f70,_0x129e87=new WorkflowSecretsDeleteCommand(),_0xea9aa=program[_0x47a2dc(0x186)](),_0xae3a04=await createTDXInstance(_0xea9aa),_0x3d21e0=await _0x129e87[_0x47a2dc(0x3bf)]({'options':{..._0xea9aa,..._0xa5d87b},'args':_0x4cd6d7,'tdx':_0xae3a04});gracefulExit(_0x3d21e0);});const jobCmd=program[a2_0x360f70(0x339)]('job')[a2_0x360f70(0x390)]('Job\x20management\x20commands'),jobListAction=async _0x56e35f=>{const _0x3a5329=a2_0x360f70,_0x15e19a=new JobListCommand(),_0x50f308=program[_0x3a5329(0x186)](),_0x4932d4=await createTDXInstance(_0x50f308),_0x3cac9a=await _0x15e19a[_0x3a5329(0x3bf)]({'options':{..._0x50f308,..._0x56e35f},'args':[],'tdx':_0x4932d4});gracefulExit(_0x3cac9a);};jobCmd[a2_0x360f70(0x339)](a2_0x360f70(0x293))[a2_0x360f70(0x390)](a2_0x360f70(0x1df))[a2_0x360f70(0x2e6)](a2_0x360f70(0x1b6),a2_0x360f70(0x217))[a2_0x360f70(0x40a)](jobListAction),program[a2_0x360f70(0x339)](a2_0x360f70(0x26f),{'hidden':!![]})[a2_0x360f70(0x390)](a2_0x360f70(0x2f9))[a2_0x360f70(0x2e6)]('--status\x20<status>','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')['action'](jobListAction),jobCmd['command'](a2_0x360f70(0x3b1))[a2_0x360f70(0x390)]('Show\x20job\x20details')[a2_0x360f70(0x40a)](async(_0x1a1f70,_0x4c0a8b)=>{const _0x2ecd2f=a2_0x360f70,_0x14c7da=new JobShowCommand(),_0x11de9b=program[_0x2ecd2f(0x186)](),_0x762850=await createTDXInstance(_0x11de9b),_0x5546de=await _0x14c7da[_0x2ecd2f(0x3bf)]({'options':{..._0x11de9b,..._0x4c0a8b},'args':[_0x1a1f70],'tdx':_0x762850});gracefulExit(_0x5546de);}),jobCmd[a2_0x360f70(0x339)](a2_0x360f70(0x2ca))[a2_0x360f70(0x390)](a2_0x360f70(0x332))[a2_0x360f70(0x40a)](async(_0x17d2bc,_0x4a0f54)=>{const _0x37c419=a2_0x360f70,_0x25a46e=new JobKillCommand(),_0x4927b1=program['opts'](),_0x345fbc=await createTDXInstance(_0x4927b1),_0x3bd421=await _0x25a46e[_0x37c419(0x3bf)]({'options':{..._0x4927b1,..._0x4a0f54},'args':[_0x17d2bc],'tdx':_0x345fbc});gracefulExit(_0x3bd421);}),jobCmd['command'](a2_0x360f70(0x3d2))[a2_0x360f70(0x390)]('Submit\x20a\x20job')[a2_0x360f70(0x2e6)]('--job-type\x20<type>',a2_0x360f70(0x2c2),a2_0x360f70(0x2b2))['option'](a2_0x360f70(0x244),'Read\x20query\x20from\x20file')['option'](a2_0x360f70(0x3b4),a2_0x360f70(0x378),a2_0x360f70(0x1a5))['option'](a2_0x360f70(0x265),a2_0x360f70(0x41a))['action'](async(_0x38af75,_0x5c4cf1)=>{const _0x4579ad=a2_0x360f70,_0x22b7ce=new JobSubmitCommand(),_0x2e595a=program[_0x4579ad(0x186)](),_0x241d29=await createTDXInstance(_0x2e595a),_0x2e7773=await _0x22b7ce['run']({'options':{..._0x2e595a,..._0x5c4cf1},'args':_0x38af75?[_0x38af75]:[],'tdx':_0x241d29});gracefulExit(_0x2e7773);}),jobCmd[a2_0x360f70(0x339)]('result\x20<job-id>')[a2_0x360f70(0x390)](a2_0x360f70(0x299))[a2_0x360f70(0x40a)](async(_0x12e132,_0x10e951)=>{const _0x2c1f5f=a2_0x360f70,_0x409356=new JobResultCommand(),_0x4d0568=program[_0x2c1f5f(0x186)](),_0x1a224d=await createTDXInstance(_0x4d0568),_0x5405dd=await _0x409356[_0x2c1f5f(0x3bf)]({'options':{..._0x4d0568,..._0x10e951},'args':[_0x12e132],'tdx':_0x1a224d});gracefulExit(_0x5405dd);});const scheduleCmd=jobCmd[a2_0x360f70(0x339)]('schedule')['description'](a2_0x360f70(0x219));scheduleCmd[a2_0x360f70(0x339)](a2_0x360f70(0x2d0))[a2_0x360f70(0x390)](a2_0x360f70(0x33a))[a2_0x360f70(0x40a)](async(_0x1c7af6,_0x582f5e)=>{const _0x174c71=new ScheduleListCommand(),_0x88f965=program['opts'](),_0x2e99e2=await createTDXInstance(_0x88f965),_0x36380a=await _0x174c71['run']({'options':{..._0x88f965,..._0x582f5e},'args':_0x1c7af6?[_0x1c7af6]:[],'tdx':_0x2e99e2});gracefulExit(_0x36380a);}),scheduleCmd[a2_0x360f70(0x339)](a2_0x360f70(0x2e0))['description'](a2_0x360f70(0x3aa))[a2_0x360f70(0x40a)](async(_0x39c930,_0xff346f)=>{const _0xb4e2d8=a2_0x360f70,_0xf9aa81=new ScheduleShowCommand(),_0x1ecd11=program[_0xb4e2d8(0x186)](),_0xf5c550=await createTDXInstance(_0x1ecd11),_0x55106b=await _0xf9aa81['run']({'options':{..._0x1ecd11,..._0xff346f},'args':[_0x39c930],'tdx':_0xf5c550});gracefulExit(_0x55106b);}),scheduleCmd[a2_0x360f70(0x339)](a2_0x360f70(0x22b))[a2_0x360f70(0x390)](a2_0x360f70(0x243))[a2_0x360f70(0x2e6)](a2_0x360f70(0x32c),a2_0x360f70(0x18a))[a2_0x360f70(0x2e6)](a2_0x360f70(0x383),a2_0x360f70(0x307))[a2_0x360f70(0x24f)](a2_0x360f70(0x244),a2_0x360f70(0x2f2))['option'](a2_0x360f70(0x3ac),a2_0x360f70(0x3dd),a2_0x360f70(0x2b2))[a2_0x360f70(0x2e6)](a2_0x360f70(0x415),a2_0x360f70(0x424))[a2_0x360f70(0x2e6)](a2_0x360f70(0x168),a2_0x360f70(0x1ea))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3ec),a2_0x360f70(0x2fd))[a2_0x360f70(0x2e6)](a2_0x360f70(0x2f3),a2_0x360f70(0x196))[a2_0x360f70(0x2e6)](a2_0x360f70(0x33e),a2_0x360f70(0x29a))[a2_0x360f70(0x2e6)]('--engine-version\x20<version>',a2_0x360f70(0x1eb))[a2_0x360f70(0x2e6)](a2_0x360f70(0x2b5),a2_0x360f70(0x268))[a2_0x360f70(0x40a)](async(_0x58f3cf,_0x54d5de)=>{const _0x4ac61b=a2_0x360f70,_0x56d554=new ScheduleCreateCommand(),_0x53aff5=program[_0x4ac61b(0x186)](),_0xdeacb1=await createTDXInstance(_0x53aff5);_0x54d5de['in']&&(_0x54d5de[_0x4ac61b(0x223)]=_0x54d5de['in']);const _0x4176e1=await _0x56d554[_0x4ac61b(0x3bf)]({'options':{..._0x53aff5,..._0x54d5de},'args':[_0x58f3cf],'tdx':_0xdeacb1});gracefulExit(_0x4176e1);}),scheduleCmd[a2_0x360f70(0x339)](a2_0x360f70(0x35e))[a2_0x360f70(0x390)](a2_0x360f70(0x3c5))[a2_0x360f70(0x2e6)](a2_0x360f70(0x32c),a2_0x360f70(0x237))[a2_0x360f70(0x2e6)]('--in\x20<db>',a2_0x360f70(0x307))[a2_0x360f70(0x2e6)](a2_0x360f70(0x244),'Read\x20query\x20from\x20file')[a2_0x360f70(0x2e6)](a2_0x360f70(0x3ac),a2_0x360f70(0x3dd))[a2_0x360f70(0x2e6)](a2_0x360f70(0x415),'Cron\x20expression\x20for\x20scheduling')[a2_0x360f70(0x2e6)](a2_0x360f70(0x168),a2_0x360f70(0x1d6))['option']('--delay\x20<seconds>',a2_0x360f70(0x2fd))['option'](a2_0x360f70(0x2f3),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x360f70(0x2e6)](a2_0x360f70(0x33e),a2_0x360f70(0x29a))[a2_0x360f70(0x2e6)](a2_0x360f70(0x421),a2_0x360f70(0x1eb))['option'](a2_0x360f70(0x2b5),a2_0x360f70(0x268))[a2_0x360f70(0x40a)](async(_0x164b73,_0x5d2efa)=>{const _0x4d7b6d=a2_0x360f70,_0x11bc59=new ScheduleUpdateCommand(),_0x3f237c=program[_0x4d7b6d(0x186)](),_0x41cc04=await createTDXInstance(_0x3f237c);_0x5d2efa['in']&&(_0x5d2efa[_0x4d7b6d(0x223)]=_0x5d2efa['in']);const _0xbd8672=await _0x11bc59[_0x4d7b6d(0x3bf)]({'options':{..._0x3f237c,..._0x5d2efa},'args':[_0x164b73],'tdx':_0x41cc04});gracefulExit(_0xbd8672);}),scheduleCmd[a2_0x360f70(0x339)](a2_0x360f70(0x2b0))['description'](a2_0x360f70(0x1ab))[a2_0x360f70(0x40a)](async(_0x2a051f,_0x249d30)=>{const _0x5f0680=a2_0x360f70,_0x47697c=new ScheduleDeleteCommand(),_0x58e914=program['opts'](),_0x27a86d=await createTDXInstance(_0x58e914),_0x11cd4f=await _0x47697c[_0x5f0680(0x3bf)]({'options':{..._0x58e914,..._0x249d30},'args':[_0x2a051f],'tdx':_0x27a86d});gracefulExit(_0x11cd4f);}),scheduleCmd[a2_0x360f70(0x339)](a2_0x360f70(0x253))['description']('Run\x20a\x20scheduled\x20query\x20immediately')[a2_0x360f70(0x2e6)]('--time\x20<iso8601>',a2_0x360f70(0x14e))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3c7),'Number\x20of\x20executions\x20(1-10,\x20default:\x201)')['action'](async(_0xa501f7,_0x4df06a)=>{const _0x403a9a=a2_0x360f70,_0x56eece=new ScheduleRunCommand(),_0x523797=program[_0x403a9a(0x186)](),_0x150930=await createTDXInstance(_0x523797),_0x4b194f=await _0x56eece[_0x403a9a(0x3bf)]({'options':{..._0x523797,..._0x4df06a},'args':[_0xa501f7],'tdx':_0x150930});gracefulExit(_0x4b194f);}),scheduleCmd['command'](a2_0x360f70(0x21d))['description'](a2_0x360f70(0x410))[a2_0x360f70(0x2e6)](a2_0x360f70(0x170),'Starting\x20offset\x20(default:\x200)')['option'](a2_0x360f70(0x22a),a2_0x360f70(0x1de))[a2_0x360f70(0x40a)](async(_0x39a820,_0x43be3b)=>{const _0x57e0a6=a2_0x360f70,_0x39b89e=new ScheduleHistoryCommand(),_0x3d14dd=program[_0x57e0a6(0x186)](),_0x1377bc=await createTDXInstance(_0x3d14dd),_0x1611b8=await _0x39b89e[_0x57e0a6(0x3bf)]({'options':{..._0x3d14dd,..._0x43be3b},'args':[_0x39a820],'tdx':_0x1377bc});gracefulExit(_0x1611b8);});const llmCmd=program['command']('llm')[a2_0x360f70(0x390)](a2_0x360f70(0x233));llmCmd[a2_0x360f70(0x339)](a2_0x360f70(0x193))[a2_0x360f70(0x390)](a2_0x360f70(0x2a5))[a2_0x360f70(0x40a)](async(_0x2760e0,_0x216c0f)=>{const _0x1ca42d=a2_0x360f70,_0x1693b5=new LLMUseCommand(),_0x363048=program[_0x1ca42d(0x186)](),_0x4a786a=await createTDXInstance(_0x363048),_0x344532=await _0x1693b5['run']({'options':{..._0x363048,..._0x216c0f},'args':[_0x2760e0],'tdx':_0x4a786a});gracefulExit(_0x344532);}),llmCmd[a2_0x360f70(0x339)](a2_0x360f70(0x3f2))[a2_0x360f70(0x390)]('List\x20available\x20LLM\x20models')['action'](async _0x36aa0d=>{const _0xd2de29=a2_0x360f70,_0x2135ab=new LLMModelsCommand(),_0x44aac1=program[_0xd2de29(0x186)](),_0x127857=await createTDXInstance(_0x44aac1),_0x45f95d=await _0x2135ab['run']({'options':{..._0x44aac1,..._0x36aa0d},'args':[],'tdx':_0x127857});gracefulExit(_0x45f95d);});const projectCmd=llmCmd[a2_0x360f70(0x339)]('project')['description'](a2_0x360f70(0x2cf)),llmProjectListAction=async(_0x35dcb5,_0x2c3196)=>{const _0x4e7acc=a2_0x360f70,_0xaac912=new LLMProjectsCommand(),_0x541dc4=program[_0x4e7acc(0x186)](),_0x4a5fc9=await createTDXInstance(_0x541dc4),_0x437268=await _0xaac912[_0x4e7acc(0x3bf)]({'options':{..._0x541dc4,..._0x2c3196},'args':_0x35dcb5?[_0x35dcb5]:[],'tdx':_0x4a5fc9});gracefulExit(_0x437268);};projectCmd['command'](a2_0x360f70(0x2d0))[a2_0x360f70(0x390)](a2_0x360f70(0x343))[a2_0x360f70(0x40a)](llmProjectListAction),llmCmd[a2_0x360f70(0x339)](a2_0x360f70(0x3bb))[a2_0x360f70(0x390)](a2_0x360f70(0x3cb))[a2_0x360f70(0x40a)](llmProjectListAction),projectCmd[a2_0x360f70(0x339)](a2_0x360f70(0x22b))[a2_0x360f70(0x390)](a2_0x360f70(0x26c))[a2_0x360f70(0x2e6)](a2_0x360f70(0x1b0),a2_0x360f70(0x181))[a2_0x360f70(0x40a)](async(_0x22ee99,_0x3c9e7a)=>{const _0x4624d0=new LLMProjectCreateCommand(),_0x423724=program['opts'](),_0x1ed74f=await createTDXInstance(_0x423724),_0x9a12ec=await _0x4624d0['run']({'options':{..._0x423724,..._0x3c9e7a},'args':[_0x22ee99],'tdx':_0x1ed74f});gracefulExit(_0x9a12ec);}),projectCmd['command'](a2_0x360f70(0x2b0))[a2_0x360f70(0x390)]('Delete\x20an\x20LLM\x20project')[a2_0x360f70(0x40a)](async(_0x4a5cb9,_0xbac4db)=>{const _0xb89f8=a2_0x360f70,_0x4cea58=new LLMProjectDeleteCommand(),_0x3ff802=program['opts'](),_0x3638bb=await createTDXInstance(_0x3ff802),_0x10ea81=await _0x4cea58[_0xb89f8(0x3bf)]({'options':{..._0x3ff802,..._0xbac4db},'args':[_0x4a5cb9],'tdx':_0x3638bb});gracefulExit(_0x10ea81);}),projectCmd[a2_0x360f70(0x339)](a2_0x360f70(0x322))[a2_0x360f70(0x390)](a2_0x360f70(0x202))[a2_0x360f70(0x2e6)](a2_0x360f70(0x33b),a2_0x360f70(0x271))[a2_0x360f70(0x2e6)](a2_0x360f70(0x1dd),a2_0x360f70(0x1ce))[a2_0x360f70(0x40a)](async(_0x4edb74,_0x5dc5dc)=>{const _0x10d938=a2_0x360f70,_0xc2ecd9=new LLMProjectBackupCommand(),_0xc2cb85=program[_0x10d938(0x186)](),_0x407cf2=await createTDXInstance(_0xc2cb85),_0x2ab25b=await _0xc2ecd9[_0x10d938(0x3bf)]({'options':{..._0xc2cb85,..._0x5dc5dc},'args':[_0x4edb74],'tdx':_0x407cf2});gracefulExit(_0x2ab25b);}),projectCmd[a2_0x360f70(0x339)](a2_0x360f70(0x380))[a2_0x360f70(0x390)]('[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)')['option']('--name\x20<new-name>',a2_0x360f70(0x2bf))[a2_0x360f70(0x2e6)](a2_0x360f70(0x1dd),a2_0x360f70(0x225))[a2_0x360f70(0x40a)](async(_0x4c0167,_0x346050)=>{const _0xd687dd=a2_0x360f70,_0x1b7862=new LLMProjectRestoreCommand(),_0x3fa257=program['opts'](),_0x4e29d9=await createTDXInstance(_0x3fa257),_0xe5aadc=await _0x1b7862[_0xd687dd(0x3bf)]({'options':{..._0x3fa257,..._0x346050},'args':[_0x4c0167],'tdx':_0x4e29d9});gracefulExit(_0xe5aadc);});const llmAgentListAction=async(_0x12f961,_0x597542)=>{const _0x84c7c6=a2_0x360f70,_0x7f47e4=new LLMAgentsCommand(),_0x516779=program['opts'](),_0x44c29f=await createTDXInstance(_0x516779),_0x30cc62=await _0x7f47e4[_0x84c7c6(0x3bf)]({'options':{..._0x516779,..._0x597542},'args':_0x12f961?[_0x12f961]:[],'tdx':_0x44c29f});gracefulExit(_0x30cc62);};llmCmd[a2_0x360f70(0x339)]('agents\x20[pattern]')[a2_0x360f70(0x390)]('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')[a2_0x360f70(0x40a)](llmAgentListAction),program[a2_0x360f70(0x339)](a2_0x360f70(0x3dc))[a2_0x360f70(0x390)](a2_0x360f70(0x180))[a2_0x360f70(0x40a)](llmAgentListAction),llmCmd[a2_0x360f70(0x339)](a2_0x360f70(0x35f))['description'](a2_0x360f70(0x1e8))[a2_0x360f70(0x2e6)](a2_0x360f70(0x34a),a2_0x360f70(0x20b))['action'](async(_0x167bf2,_0x15376c)=>{const _0x218f09=a2_0x360f70,_0x313c5a=new LLMHistoryCommand(),_0x5d8376=program[_0x218f09(0x186)](),_0x1ccfb7=await createTDXInstance(_0x5d8376),_0x4c3b90=await _0x313c5a[_0x218f09(0x3bf)]({'options':{..._0x5d8376,..._0x15376c},'args':_0x167bf2?[_0x167bf2]:[],'tdx':_0x1ccfb7});gracefulExit(_0x4c3b90);});isExperimentalAvailable()&&llmCmd[a2_0x360f70(0x339)]('log\x20<chat-id>')[a2_0x360f70(0x390)]('[EXPERIMENTAL]\x20Show\x20chat\x20log')[a2_0x360f70(0x40a)](async(_0x535de3,_0x3dc981)=>{const _0x57efea=a2_0x360f70,_0x2b5c0c=new LLMLogCommand(),_0x255507=program[_0x57efea(0x186)](),_0xfaa06f=await createTDXInstance(_0x255507),_0xcc44b9=await _0x2b5c0c[_0x57efea(0x3bf)]({'options':{..._0x255507,..._0x3dc981},'args':[_0x535de3],'tdx':_0xfaa06f});gracefulExit(_0xcc44b9);});program[a2_0x360f70(0x339)](a2_0x360f70(0x2b9))[a2_0x360f70(0x289)]('[options]\x20--\x20[claude-code-args...]')['description']('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')[a2_0x360f70(0x2e6)](a2_0x360f70(0x366),a2_0x360f70(0x2e8))[a2_0x360f70(0x2e6)](a2_0x360f70(0x19f),a2_0x360f70(0x37c))[a2_0x360f70(0x2e6)](a2_0x360f70(0x2b8),a2_0x360f70(0x151))[a2_0x360f70(0x3b3)]()['allowExcessArguments'](!![])[a2_0x360f70(0x350)](a2_0x360f70(0x35d),a2_0x360f70(0x2f8))[a2_0x360f70(0x40a)](async(_0x21974c,_0x4d2078)=>{const _0x119ec3=a2_0x360f70,_0xce40c=program[_0x119ec3(0x186)](),_0xee8ebe=Array[_0x119ec3(0x2ac)](_0x21974c)?_0x21974c:[];if(_0xee8ebe[0x0]==='statusline'){const _0x37a5c5=new ClaudeStatuslineCommand(),_0x30052b=await _0x37a5c5[_0x119ec3(0x3bf)]({'options':{..._0xce40c,..._0x4d2078},'args':_0xee8ebe['slice'](0x1),'tdx':null});gracefulExit(_0x30052b);}if(_0xee8ebe[0x0]===_0x119ec3(0x289)){const _0x2d3d46=new ClaudeUsageCommand(),_0x4a49ca=await _0x2d3d46[_0x119ec3(0x3bf)]({'options':{..._0xce40c,..._0x4d2078},'args':_0xee8ebe[_0x119ec3(0x246)](0x1),'tdx':null});gracefulExit(_0x4a49ca);}const _0x52703e=new ClaudeCommand(),_0x22d76b=await createTDXInstance(_0xce40c),_0x4712d5=await _0x52703e[_0x119ec3(0x3bf)]({'options':{..._0xce40c,..._0x4d2078},'args':_0xee8ebe,'tdx':_0x22d76b});gracefulExit(_0x4712d5);}),program[a2_0x360f70(0x339)](a2_0x360f70(0x29b))[a2_0x360f70(0x390)]('Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)')[a2_0x360f70(0x2e6)](a2_0x360f70(0x23e),a2_0x360f70(0x18b))['option']('--default','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x360f70(0x40a)](async(_0x20ded2,_0x53d7b6,_0x3eead8)=>{const _0x2962f3=a2_0x360f70,_0x7550a1=new UseCommand(),_0x47972a=program[_0x2962f3(0x186)](),_0x475e2a=[];if(_0x20ded2)_0x475e2a[_0x2962f3(0x1d1)](_0x20ded2);if(_0x53d7b6)_0x475e2a[_0x2962f3(0x1d1)](_0x53d7b6);const _0x31d5c0=_0x20ded2==='engage_workspace',_0x28ebb1=_0x31d5c0?await createTDXInstance(_0x47972a):null,_0x11800e=await _0x7550a1[_0x2962f3(0x3bf)]({'options':{..._0x47972a,..._0x3eead8},'args':_0x475e2a,'tdx':_0x28ebb1});gracefulExit(_0x11800e);}),program[a2_0x360f70(0x339)](a2_0x360f70(0x327))[a2_0x360f70(0x390)](a2_0x360f70(0x3ab))[a2_0x360f70(0x40a)](async _0x1c4db7=>{const _0x16999e=a2_0x360f70,_0x24f59a=new StatusCommand(),_0x540fa8=program['opts'](),_0x3a0a7a=await createTDXInstance(_0x540fa8),_0x5fe489=await _0x24f59a[_0x16999e(0x3bf)]({'options':{..._0x540fa8,..._0x1c4db7},'args':[],'tdx':_0x3a0a7a});gracefulExit(_0x5fe489);}),program[a2_0x360f70(0x339)](a2_0x360f70(0x238))[a2_0x360f70(0x390)]('Upgrade\x20tdx\x20to\x20the\x20latest\x20version')[a2_0x360f70(0x2e6)](a2_0x360f70(0x1dd),'Check\x20for\x20updates\x20without\x20installing')[a2_0x360f70(0x2e6)](a2_0x360f70(0x2ae),a2_0x360f70(0x2e2))[a2_0x360f70(0x2e6)](a2_0x360f70(0x25d),a2_0x360f70(0x20c))[a2_0x360f70(0x40a)](async(_0x5098c0,_0x24cd27)=>{const _0x4f607b=a2_0x360f70,_0x5a59a9=new UpgradeCommand(),_0x436c7e=program[_0x4f607b(0x186)](),_0x58e43f=await _0x5a59a9['run']({'options':{..._0x436c7e,..._0x24cd27},'args':_0x5098c0?[_0x5098c0]:[],'tdx':null});gracefulExit(_0x58e43f);}),program[a2_0x360f70(0x339)](a2_0x360f70(0x17d))[a2_0x360f70(0x390)]('Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)')[a2_0x360f70(0x2e6)](a2_0x360f70(0x26e),a2_0x360f70(0x37f))['action'](async(_0x12c875,_0x4807aa)=>{const _0x144b6e=a2_0x360f70,_0x4ec26a=new UnsetCommand(),_0x4b31d8=program[_0x144b6e(0x186)](),_0x294fa7=await _0x4ec26a[_0x144b6e(0x3bf)]({'options':{..._0x4b31d8,..._0x4807aa},'args':[_0x12c875],'tdx':null});gracefulExit(_0x294fa7);}),program[a2_0x360f70(0x339)]('chats')[a2_0x360f70(0x390)]('Interactive\x20chat\x20selector')['option'](a2_0x360f70(0x34a),a2_0x360f70(0x2ec))['action'](async _0x388740=>{const _0x42e534=a2_0x360f70,_0x52f1ff=new ChatsCommand(),_0x5542ea=program[_0x42e534(0x186)](),_0x511db5=await createTDXInstance(_0x5542ea),_0xab5b91=await _0x52f1ff['run']({'options':{..._0x5542ea,..._0x388740},'args':[],'tdx':_0x511db5});gracefulExit(_0xab5b91);});const authCmd=program[a2_0x360f70(0x339)](a2_0x360f70(0x3f8))[a2_0x360f70(0x390)](a2_0x360f70(0x2a0));async function runAuthStatusCommand(_0xf98a12){const _0x113c82=a2_0x360f70,_0x18e487=new AuthStatusCommand(),_0x1902b9=program[_0x113c82(0x186)](),_0x550af2=await createTDXInstance(_0x1902b9),_0x19f62f=await _0x18e487['run']({'options':{..._0x1902b9,..._0xf98a12},'args':[],'tdx':_0x550af2});gracefulExit(_0x19f62f);}authCmd[a2_0x360f70(0x40a)](runAuthStatusCommand),authCmd[a2_0x360f70(0x339)](a2_0x360f70(0x327))['description'](a2_0x360f70(0x3ca))[a2_0x360f70(0x40a)](runAuthStatusCommand),authCmd[a2_0x360f70(0x339)](a2_0x360f70(0x198))[a2_0x360f70(0x390)](a2_0x360f70(0x20a))['addHelpText'](a2_0x360f70(0x35d),'\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20ap01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a')[a2_0x360f70(0x40a)](async _0x445313=>{const _0x5b0554=a2_0x360f70,_0x22d85e=new AuthSetupCommand(),_0x1b916c=program['opts'](),_0xb81041=await createTDXInstance(_0x1b916c),_0x3d3ef6=await _0x22d85e[_0x5b0554(0x3bf)]({'options':{..._0x1b916c,..._0x445313},'args':[],'tdx':_0xb81041});gracefulExit(_0x3d3ef6);}),authCmd[a2_0x360f70(0x339)](a2_0x360f70(0x404))['description'](a2_0x360f70(0x385))['addHelpText'](a2_0x360f70(0x35d),a2_0x360f70(0x3de))['action'](async _0x9b444c=>{const _0x5eddef=a2_0x360f70,_0x3b7474=new AuthLoginCommand(),_0x22b632=program[_0x5eddef(0x186)](),_0x1df9a8=await _0x3b7474[_0x5eddef(0x3bf)]({'options':{..._0x22b632,..._0x9b444c},'args':[],'tdx':null});gracefulExit(_0x1df9a8);}),authCmd[a2_0x360f70(0x339)]('clear')[a2_0x360f70(0x390)](a2_0x360f70(0x1ba))[a2_0x360f70(0x350)](a2_0x360f70(0x35d),a2_0x360f70(0x2f7))[a2_0x360f70(0x40a)](async _0x4e68a1=>{const _0x148dc5=a2_0x360f70,_0x2e488d=new AuthClearCommand(),_0x6cf28c=program[_0x148dc5(0x186)](),_0x4d8256=await _0x2e488d[_0x148dc5(0x3bf)]({'options':{..._0x6cf28c,..._0x4e68a1},'args':[],'tdx':null});gracefulExit(_0x4d8256);});function a2_0x4908(_0x1120b2,_0x4fdb6d){_0x1120b2=_0x1120b2-0x14c;const _0x38063f=a2_0x3806();let _0x49083b=_0x38063f[_0x1120b2];return _0x49083b;}const userCmd=program[a2_0x360f70(0x339)]('user')['description'](a2_0x360f70(0x34b)),userListAction=async _0x35d127=>{const _0x31fdcd=a2_0x360f70,_0x4ae653=new UserListCommand(),_0x4f2d9d=program[_0x31fdcd(0x186)](),_0x39985a=await createTDXInstance(_0x4f2d9d),_0x433d49=await _0x4ae653['run']({'options':{..._0x4f2d9d,..._0x35d127},'args':[],'tdx':_0x39985a});gracefulExit(_0x433d49);};userCmd[a2_0x360f70(0x40a)](async _0x31aa7b=>{const _0x4360e4=a2_0x360f70,_0x6c5219=new UserCommand(),_0x2f12aa=program[_0x4360e4(0x186)](),_0x2e99bc=await createTDXInstance(_0x2f12aa),_0x53bda7=await _0x6c5219[_0x4360e4(0x3bf)]({'options':{..._0x2f12aa,..._0x31aa7b},'args':[],'tdx':_0x2e99bc});gracefulExit(_0x53bda7);}),userCmd[a2_0x360f70(0x339)](a2_0x360f70(0x293))[a2_0x360f70(0x390)](a2_0x360f70(0x301))[a2_0x360f70(0x40a)](userListAction),program['command']('users')['description'](a2_0x360f70(0x31a))[a2_0x360f70(0x40a)](userListAction),program[a2_0x360f70(0x339)](a2_0x360f70(0x2b6))['description'](a2_0x360f70(0x3bd))[a2_0x360f70(0x40a)](async _0x43f03a=>{const _0x27e2fd=a2_0x360f70,_0x1d99db=new ProfilesCommand(),_0x546544=program[_0x27e2fd(0x186)](),_0x181a17=await _0x1d99db[_0x27e2fd(0x3bf)]({'options':{..._0x546544,..._0x43f03a},'args':[],'tdx':null});gracefulExit(_0x181a17);});const profileCmd=program[a2_0x360f70(0x339)](a2_0x360f70(0x3e6))[a2_0x360f70(0x390)](a2_0x360f70(0x32f));profileCmd[a2_0x360f70(0x40a)](()=>{const _0x54f7f8=a2_0x360f70;profileCmd[_0x54f7f8(0x1ec)]();});const profileListAction=async _0x460fd4=>{const _0x4ecee8=a2_0x360f70,_0xe029bc=new ProfilesCommand(),_0x5a48ed=program[_0x4ecee8(0x186)](),_0x142d6b=await _0xe029bc[_0x4ecee8(0x3bf)]({'options':{..._0x5a48ed,..._0x460fd4},'args':[],'tdx':null});gracefulExit(_0x142d6b);};profileCmd[a2_0x360f70(0x339)]('list')[a2_0x360f70(0x390)](a2_0x360f70(0x3bd))[a2_0x360f70(0x40a)](profileListAction),profileCmd[a2_0x360f70(0x339)]('create\x20[name]')[a2_0x360f70(0x390)](a2_0x360f70(0x41f))[a2_0x360f70(0x350)](a2_0x360f70(0x35d),'\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(_0x2b6233,_0x4a5f79)=>{const _0x415989=a2_0x360f70,_0x2cae06=new ProfileCreateCommand(),_0x38a9ca=program[_0x415989(0x186)](),_0x242cb4=await _0x2cae06['run']({'options':{..._0x38a9ca,..._0x4a5f79},'args':_0x2b6233?[_0x2b6233]:[],'tdx':null});gracefulExit(_0x242cb4);}),profileCmd[a2_0x360f70(0x339)]('remove\x20<name>')[a2_0x360f70(0x390)]('Remove\x20a\x20profile')[a2_0x360f70(0x350)](a2_0x360f70(0x35d),a2_0x360f70(0x39c))['action'](async(_0x36646e,_0x304281)=>{const _0x313449=a2_0x360f70,_0x524c46=new ProfileRemoveCommand(),_0x297151=program[_0x313449(0x186)](),_0x43c7ab=await _0x524c46[_0x313449(0x3bf)]({'options':{..._0x297151,..._0x304281},'args':[_0x36646e],'tdx':null});gracefulExit(_0x43c7ab);}),profileCmd[a2_0x360f70(0x339)]('set\x20<key=value>')[a2_0x360f70(0x390)](a2_0x360f70(0x1a9))[a2_0x360f70(0x350)]('after',a2_0x360f70(0x33f))['action'](async(_0x4eb55e,_0x2c141d)=>{const _0x560b0a=a2_0x360f70,_0x3cc9ea=new ProfileSetCommand(),_0x46e20d=program[_0x560b0a(0x186)](),_0x21ada7=await _0x3cc9ea[_0x560b0a(0x3bf)]({'options':{..._0x46e20d,..._0x2c141d},'args':[_0x4eb55e],'tdx':null});gracefulExit(_0x21ada7);}),profileCmd[a2_0x360f70(0x339)]('use\x20<name>')[a2_0x360f70(0x390)](a2_0x360f70(0x21a))[a2_0x360f70(0x2e6)](a2_0x360f70(0x26e),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x360f70(0x350)]('after',a2_0x360f70(0x375))['action'](async(_0x1697a2,_0x5c5177)=>{const _0x57a71b=a2_0x360f70,_0x366664=new ProfileUseCommand(),_0x5df725=program['opts'](),_0x337a5a=await _0x366664[_0x57a71b(0x3bf)]({'options':{..._0x5df725,..._0x5c5177},'args':[_0x1697a2],'tdx':null});gracefulExit(_0x337a5a);});const engageCmd=program[a2_0x360f70(0x339)](a2_0x360f70(0x295))[a2_0x360f70(0x390)](a2_0x360f70(0x27c)),createEngageAction=_0x4c8871=>{return async(_0x1163c1,_0x397425)=>{const _0x11b705=a2_0x4908,_0x56c9e3=new _0x4c8871(),_0xbe7166=program['opts'](),_0x4db3fa=await createTDXInstance(_0xbe7166),_0x408293=await _0x56c9e3[_0x11b705(0x3bf)]({'options':{..._0xbe7166,..._0x397425},'args':[_0x1163c1],'tdx':_0x4db3fa});gracefulExit(_0x408293);};},createEngageNoArgAction=_0x35a032=>{return async _0x121233=>{const _0x5519b7=a2_0x4908,_0x3cc3b3=new _0x35a032(),_0x3e4d1c=program[_0x5519b7(0x186)](),_0x1623d6=await createTDXInstance(_0x3e4d1c),_0x577d3e=await _0x3cc3b3['run']({'options':{..._0x3e4d1c,..._0x121233},'args':[],'tdx':_0x1623d6});gracefulExit(_0x577d3e);};},createEngageListAction=_0x951a1f=>{return async(_0x1c161d,_0x2e4695)=>{const _0x5174fc=a2_0x4908,_0x7a1b30=new _0x951a1f(),_0x46ed48=program[_0x5174fc(0x186)](),_0x43d57b=await createTDXInstance(_0x46ed48),_0x5ef271=await _0x7a1b30[_0x5174fc(0x3bf)]({'options':{..._0x46ed48,..._0x2e4695},'args':_0x1c161d?[_0x1c161d]:[],'tdx':_0x43d57b});gracefulExit(_0x5ef271);};},campaignCmd=engageCmd['command']('campaign')[a2_0x360f70(0x390)](a2_0x360f70(0x425));campaignCmd[a2_0x360f70(0x339)](a2_0x360f70(0x2d0))['description']('List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x360f70(0x2e6)]('--type\x20<type>',a2_0x360f70(0x3a1))['option'](a2_0x360f70(0x1b6),a2_0x360f70(0x374))[a2_0x360f70(0x2e6)]('--workspace\x20<name>',a2_0x360f70(0x19e))[a2_0x360f70(0x40a)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x360f70(0x339)](a2_0x360f70(0x164))[a2_0x360f70(0x390)](a2_0x360f70(0x2bd))[a2_0x360f70(0x2e6)]('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x360f70(0x2e6)](a2_0x360f70(0x1b6),a2_0x360f70(0x374))[a2_0x360f70(0x2e6)]('--workspace\x20<name>','Workspace\x20name')[a2_0x360f70(0x40a)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x360f70(0x339)]('show\x20<name-or-id>')[a2_0x360f70(0x390)](a2_0x360f70(0x348))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3b0),'Workspace\x20name')[a2_0x360f70(0x2e6)](a2_0x360f70(0x179),a2_0x360f70(0x158))['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x360f70(0x339)]('create')[a2_0x360f70(0x390)](a2_0x360f70(0x156))[a2_0x360f70(0x24f)](a2_0x360f70(0x1cf),a2_0x360f70(0x2a2))[a2_0x360f70(0x24f)]('--type\x20<type>',a2_0x360f70(0x3df))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3b0),a2_0x360f70(0x188))[a2_0x360f70(0x2e6)](a2_0x360f70(0x398),'Campaign\x20description')[a2_0x360f70(0x2e6)](a2_0x360f70(0x3ed),a2_0x360f70(0x276))[a2_0x360f70(0x2e6)](a2_0x360f70(0x24e),a2_0x360f70(0x2d9))[a2_0x360f70(0x2e6)](a2_0x360f70(0x191),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')['option'](a2_0x360f70(0x240),a2_0x360f70(0x1ae))[a2_0x360f70(0x2e6)](a2_0x360f70(0x168),a2_0x360f70(0x1c3))[a2_0x360f70(0x40a)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x360f70(0x339)](a2_0x360f70(0x1f8))['description'](a2_0x360f70(0x2a1))[a2_0x360f70(0x2e6)]('--workspace\x20<name>',a2_0x360f70(0x19e))[a2_0x360f70(0x2e6)]('--name\x20<name>',a2_0x360f70(0x35a))[a2_0x360f70(0x2e6)](a2_0x360f70(0x398),a2_0x360f70(0x2c3))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3ed),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x360f70(0x2e6)](a2_0x360f70(0x24e),a2_0x360f70(0x2d9))['option'](a2_0x360f70(0x191),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')['option'](a2_0x360f70(0x240),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x360f70(0x2e6)](a2_0x360f70(0x168),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')['action'](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x360f70(0x339)]('delete\x20<name-or-id>')[a2_0x360f70(0x390)](a2_0x360f70(0x36b))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3b0),'Workspace\x20name')['option'](a2_0x360f70(0x2dc),a2_0x360f70(0x40f))[a2_0x360f70(0x40a)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x360f70(0x339)](a2_0x360f70(0x3cc))['description']('Launch\x20a\x20campaign')['option']('--workspace\x20<name>',a2_0x360f70(0x19e))[a2_0x360f70(0x40a)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x360f70(0x339)](a2_0x360f70(0x258))[a2_0x360f70(0x390)](a2_0x360f70(0x38b))[a2_0x360f70(0x2e6)]('--workspace\x20<name>',a2_0x360f70(0x19e))['action'](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x360f70(0x339)]('resume\x20<name-or-id>')[a2_0x360f70(0x390)](a2_0x360f70(0x3a8))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3b0),a2_0x360f70(0x19e))[a2_0x360f70(0x40a)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x360f70(0x339)](a2_0x360f70(0x30c))[a2_0x360f70(0x390)](a2_0x360f70(0x212))[a2_0x360f70(0x2e6)]('--workspace\x20<name>','Workspace\x20name')[a2_0x360f70(0x40a)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x360f70(0x339)](a2_0x360f70(0x368))[a2_0x360f70(0x390)](a2_0x360f70(0x399))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3b0),'Workspace\x20name')[a2_0x360f70(0x2e6)](a2_0x360f70(0x1cf),a2_0x360f70(0x3d6))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3ac),a2_0x360f70(0x3a1))[a2_0x360f70(0x2e6)](a2_0x360f70(0x1dd),'Show\x20what\x20would\x20be\x20written\x20without\x20writing')['action'](createEngageAction(EngageCampaignPullCommand)),campaignCmd['command'](a2_0x360f70(0x39b))[a2_0x360f70(0x390)]('Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns')[a2_0x360f70(0x2e6)](a2_0x360f70(0x3b0),a2_0x360f70(0x19e))[a2_0x360f70(0x2e6)](a2_0x360f70(0x1dd),a2_0x360f70(0x189))['action'](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x360f70(0x339)](a2_0x360f70(0x370))[a2_0x360f70(0x390)](a2_0x360f70(0x247))[a2_0x360f70(0x2e6)](a2_0x360f70(0x38f),a2_0x360f70(0x397))[a2_0x360f70(0x40a)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x360f70(0x339)](a2_0x360f70(0x1c2))[a2_0x360f70(0x390)](a2_0x360f70(0x27f));alwaysOnCampaignCmd['command'](a2_0x360f70(0x2d0))[a2_0x360f70(0x390)](a2_0x360f70(0x15e))['option'](a2_0x360f70(0x3ac),a2_0x360f70(0x3a1))[a2_0x360f70(0x2e6)]('--status\x20<status>',a2_0x360f70(0x235))[a2_0x360f70(0x24f)](a2_0x360f70(0x3b0),a2_0x360f70(0x188))[a2_0x360f70(0x40a)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x360f70(0x339)](a2_0x360f70(0x25c))[a2_0x360f70(0x390)](a2_0x360f70(0x17c))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3ac),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')['option'](a2_0x360f70(0x1b6),'Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')[a2_0x360f70(0x24f)](a2_0x360f70(0x3b0),a2_0x360f70(0x188))[a2_0x360f70(0x40a)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x360f70(0x339)](a2_0x360f70(0x239))['description'](a2_0x360f70(0x2f1))[a2_0x360f70(0x24f)](a2_0x360f70(0x3b0),a2_0x360f70(0x188))[a2_0x360f70(0x2e6)](a2_0x360f70(0x179),a2_0x360f70(0x158))[a2_0x360f70(0x40a)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x360f70(0x339)](a2_0x360f70(0x269))[a2_0x360f70(0x390)](a2_0x360f70(0x34c))[a2_0x360f70(0x24f)](a2_0x360f70(0x1cf),'Campaign\x20name')[a2_0x360f70(0x24f)](a2_0x360f70(0x3ac),a2_0x360f70(0x3df))[a2_0x360f70(0x24f)](a2_0x360f70(0x3b0),a2_0x360f70(0x188))[a2_0x360f70(0x2e6)](a2_0x360f70(0x398),a2_0x360f70(0x2c3))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3ed),a2_0x360f70(0x41b))[a2_0x360f70(0x2e6)]('--enable-utm-tracking',a2_0x360f70(0x1e5))[a2_0x360f70(0x40a)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x360f70(0x339)](a2_0x360f70(0x1f8))[a2_0x360f70(0x390)](a2_0x360f70(0x1bd))[a2_0x360f70(0x24f)](a2_0x360f70(0x3b0),a2_0x360f70(0x188))[a2_0x360f70(0x2e6)](a2_0x360f70(0x1cf),a2_0x360f70(0x35a))[a2_0x360f70(0x2e6)](a2_0x360f70(0x398),a2_0x360f70(0x2c3))['option']('--segment\x20<path>',a2_0x360f70(0x41b))[a2_0x360f70(0x2e6)]('--enable-utm-tracking',a2_0x360f70(0x1e5))[a2_0x360f70(0x40a)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x360f70(0x339)](a2_0x360f70(0x2be))[a2_0x360f70(0x390)](a2_0x360f70(0x338))[a2_0x360f70(0x24f)](a2_0x360f70(0x3b0),'Workspace\x20name\x20(required)')[a2_0x360f70(0x2e6)](a2_0x360f70(0x2dc),a2_0x360f70(0x40f))['action'](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd['command'](a2_0x360f70(0x3cc))['description']('Launch\x20an\x20always-on\x20campaign')['requiredOption']('--workspace\x20<name>',a2_0x360f70(0x188))[a2_0x360f70(0x40a)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x360f70(0x339)](a2_0x360f70(0x258))[a2_0x360f70(0x390)](a2_0x360f70(0x229))[a2_0x360f70(0x24f)](a2_0x360f70(0x3b0),a2_0x360f70(0x188))[a2_0x360f70(0x40a)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x360f70(0x339)](a2_0x360f70(0x389))[a2_0x360f70(0x390)](a2_0x360f70(0x241))[a2_0x360f70(0x24f)](a2_0x360f70(0x3b0),a2_0x360f70(0x188))['action'](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x360f70(0x339)](a2_0x360f70(0x420))['description'](a2_0x360f70(0x3ce))[a2_0x360f70(0x24f)](a2_0x360f70(0x3b0),a2_0x360f70(0x188))[a2_0x360f70(0x2e6)](a2_0x360f70(0x2dc),'Skip\x20confirmation\x20prompt')[a2_0x360f70(0x40a)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x360f70(0x339)]('duplicate\x20<name-or-id>')[a2_0x360f70(0x390)](a2_0x360f70(0x3e7))[a2_0x360f70(0x24f)](a2_0x360f70(0x3b0),a2_0x360f70(0x188))[a2_0x360f70(0x24f)](a2_0x360f70(0x1cf),a2_0x360f70(0x3a6))[a2_0x360f70(0x40a)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd['command']('template')[a2_0x360f70(0x390)]('Email\x20template\x20management');templateCmd[a2_0x360f70(0x339)](a2_0x360f70(0x2d0))[a2_0x360f70(0x390)](a2_0x360f70(0x172))['option']('--workspace\x20<name>','Workspace\x20name')['action'](createEngageListAction(EngageTemplatesCommand)),engageCmd['command'](a2_0x360f70(0x21c))[a2_0x360f70(0x390)](a2_0x360f70(0x288))['option']('--workspace\x20<name>',a2_0x360f70(0x19e))[a2_0x360f70(0x40a)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x360f70(0x339)](a2_0x360f70(0x239))['description'](a2_0x360f70(0x2ee))[a2_0x360f70(0x2e6)]('--workspace\x20<name>',a2_0x360f70(0x19e))[a2_0x360f70(0x2e6)](a2_0x360f70(0x179),a2_0x360f70(0x158))[a2_0x360f70(0x40a)](createEngageAction(EngageTemplateShowCommand)),templateCmd['command'](a2_0x360f70(0x269))[a2_0x360f70(0x390)](a2_0x360f70(0x2d6))['requiredOption'](a2_0x360f70(0x1cf),a2_0x360f70(0x3a2))[a2_0x360f70(0x24f)](a2_0x360f70(0x17b),a2_0x360f70(0x376))[a2_0x360f70(0x2e6)](a2_0x360f70(0x351),a2_0x360f70(0x2c6))['option']('--html-file\x20<path>',a2_0x360f70(0x173))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3b0),a2_0x360f70(0x188))[a2_0x360f70(0x2e6)](a2_0x360f70(0x300),'Plaintext\x20template\x20content')[a2_0x360f70(0x2e6)](a2_0x360f70(0x272),a2_0x360f70(0x215),_0x272f45=>{const _0x5befc9=a2_0x360f70;if(![_0x5befc9(0x23d),'grapesjs'][_0x5befc9(0x18c)](_0x272f45))throw new SDKError(ErrorCode[_0x5befc9(0x266)],_0x5befc9(0x400)+_0x272f45+_0x5befc9(0x1a0));return _0x272f45;})[a2_0x360f70(0x40a)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x360f70(0x339)](a2_0x360f70(0x1f8))[a2_0x360f70(0x390)](a2_0x360f70(0x261))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3b0),'Workspace\x20name')[a2_0x360f70(0x2e6)]('--name\x20<name>','New\x20template\x20name')['option'](a2_0x360f70(0x17b),'Email\x20subject\x20template')[a2_0x360f70(0x2e6)]('--html\x20<html>','HTML\x20template\x20content')[a2_0x360f70(0x2e6)]('--html-file\x20<path>',a2_0x360f70(0x173))[a2_0x360f70(0x2e6)]('--plaintext\x20<text>',a2_0x360f70(0x29c))['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd['command']('pull\x20[workspace]')[a2_0x360f70(0x390)](a2_0x360f70(0x36f))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3b0),a2_0x360f70(0x19e))['option'](a2_0x360f70(0x1cf),a2_0x360f70(0x270))[a2_0x360f70(0x2e6)](a2_0x360f70(0x372),a2_0x360f70(0x40f))['option'](a2_0x360f70(0x1dd),a2_0x360f70(0x1d0))[a2_0x360f70(0x40a)](createEngageAction(EngageTemplatePullCommand)),templateCmd['command'](a2_0x360f70(0x39b))[a2_0x360f70(0x390)](a2_0x360f70(0x1d3))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3b0),a2_0x360f70(0x19e))[a2_0x360f70(0x2e6)](a2_0x360f70(0x372),'Skip\x20confirmation\x20prompt')[a2_0x360f70(0x2e6)](a2_0x360f70(0x1dd),'Show\x20what\x20would\x20be\x20applied\x20without\x20applying')['action'](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x360f70(0x339)](a2_0x360f70(0x370))[a2_0x360f70(0x390)](a2_0x360f70(0x200))[a2_0x360f70(0x2e6)]('--verbose',a2_0x360f70(0x397))[a2_0x360f70(0x40a)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x360f70(0x339)](a2_0x360f70(0x2be))[a2_0x360f70(0x390)](a2_0x360f70(0x3c0))['option'](a2_0x360f70(0x3b0),'Workspace\x20name')[a2_0x360f70(0x2e6)](a2_0x360f70(0x2dc),a2_0x360f70(0x40f))[a2_0x360f70(0x40a)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x360f70(0x339)](a2_0x360f70(0x210))['description']('Workspace\x20management');workspaceCmd[a2_0x360f70(0x339)]('list\x20[pattern]')[a2_0x360f70(0x390)](a2_0x360f70(0x2d4))[a2_0x360f70(0x40a)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x360f70(0x339)](a2_0x360f70(0x336))[a2_0x360f70(0x390)](a2_0x360f70(0x28f))[a2_0x360f70(0x40a)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x360f70(0x339)](a2_0x360f70(0x239))[a2_0x360f70(0x390)](a2_0x360f70(0x411))['option'](a2_0x360f70(0x179),a2_0x360f70(0x158))[a2_0x360f70(0x40a)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd['command'](a2_0x360f70(0x269))[a2_0x360f70(0x390)](a2_0x360f70(0x401))[a2_0x360f70(0x24f)]('--name\x20<name>','Workspace\x20name')[a2_0x360f70(0x2e6)](a2_0x360f70(0x398),a2_0x360f70(0x1bf))[a2_0x360f70(0x40a)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x360f70(0x339)](a2_0x360f70(0x1f8))[a2_0x360f70(0x390)](a2_0x360f70(0x1c1))[a2_0x360f70(0x2e6)](a2_0x360f70(0x1cf),a2_0x360f70(0x30b))[a2_0x360f70(0x2e6)](a2_0x360f70(0x398),a2_0x360f70(0x1bf))['action'](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x360f70(0x339)]('delete\x20<name-or-id>')['description'](a2_0x360f70(0x278))[a2_0x360f70(0x2e6)](a2_0x360f70(0x2dc),a2_0x360f70(0x40f))[a2_0x360f70(0x40a)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x360f70(0x339)]('use\x20<name>')['description']('Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)')[a2_0x360f70(0x40a)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x360f70(0x339)](a2_0x360f70(0x1fa))[a2_0x360f70(0x390)](a2_0x360f70(0x1b1));deliveryCmd[a2_0x360f70(0x339)](a2_0x360f70(0x209))[a2_0x360f70(0x390)]('List\x20email\x20senders')[a2_0x360f70(0x2e6)](a2_0x360f70(0x3b0),a2_0x360f70(0x19e))[a2_0x360f70(0x40a)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x360f70(0x339)](a2_0x360f70(0x3b6))[a2_0x360f70(0x390)](a2_0x360f70(0x419)),connectionListAction=async _0x3592a7=>{const _0x44164c=a2_0x360f70,_0x3b2851=new ConnectionListCommand(),_0xb9b3ca=program[_0x44164c(0x186)](),_0x59dd16=await createTDXInstance(_0xb9b3ca),_0x1aa41a=await _0x3b2851[_0x44164c(0x3bf)]({'options':{..._0xb9b3ca,..._0x3592a7},'args':[],'tdx':_0x59dd16});gracefulExit(_0x1aa41a);};connectionCmd[a2_0x360f70(0x339)](a2_0x360f70(0x293))[a2_0x360f70(0x390)](a2_0x360f70(0x1c0))[a2_0x360f70(0x40a)](connectionListAction),program['command'](a2_0x360f70(0x3e3),{'hidden':!![]})[a2_0x360f70(0x390)](a2_0x360f70(0x22e))[a2_0x360f70(0x40a)](connectionListAction),connectionCmd[a2_0x360f70(0x339)](a2_0x360f70(0x2e0))[a2_0x360f70(0x390)](a2_0x360f70(0x1f5))[a2_0x360f70(0x40a)](async(_0x569925,_0x587957)=>{const _0x276bae=a2_0x360f70,_0x505237=new ConnectionShowCommand(),_0x43493f=program[_0x276bae(0x186)](),_0x545a9b=await createTDXInstance(_0x43493f),_0x2362d0=await _0x505237[_0x276bae(0x3bf)]({'options':{..._0x43493f,..._0x587957},'args':[_0x569925],'tdx':_0x545a9b});gracefulExit(_0x2362d0);}),connectionCmd[a2_0x360f70(0x339)]('schema\x20<type>')[a2_0x360f70(0x390)]('Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation')[a2_0x360f70(0x40a)](async(_0xbe3fff,_0x3fc658)=>{const _0xd61660=a2_0x360f70,_0x4241bf=new ConnectionSchemaCommand(),_0xf04ea7=program[_0xd61660(0x186)](),_0x468fa8=await createTDXInstance(_0xf04ea7),_0x4c110e=await _0x4241bf[_0xd61660(0x3bf)]({'options':{..._0xf04ea7,..._0x3fc658},'args':[_0xbe3fff],'tdx':_0x468fa8});gracefulExit(_0x4c110e);}),connectionCmd['command'](a2_0x360f70(0x3be))[a2_0x360f70(0x390)](a2_0x360f70(0x34d))[a2_0x360f70(0x40a)](async _0x426fbd=>{const _0x15b9c6=a2_0x360f70,_0x71fed4=new ConnectionTypesCommand(),_0x55c74c=program['opts'](),_0x30fef9=await createTDXInstance(_0x55c74c),_0x4ab702=await _0x71fed4[_0x15b9c6(0x3bf)]({'options':{..._0x55c74c,..._0x426fbd},'args':[],'tdx':_0x30fef9});gracefulExit(_0x4ab702);}),connectionCmd['command'](a2_0x360f70(0x249))[a2_0x360f70(0x390)](a2_0x360f70(0x2ad))[a2_0x360f70(0x40a)](async(_0x416e71,_0x455feb)=>{const _0x5aa116=a2_0x360f70,_0x21730b=new ConnectionSettingsCommand(),_0x149ce3=program['opts'](),_0x33bb6f=await createTDXInstance(_0x149ce3),_0x4eea59=await _0x21730b[_0x5aa116(0x3bf)]({'options':{..._0x149ce3,..._0x455feb},'args':[_0x416e71],'tdx':_0x33bb6f});gracefulExit(_0x4eea59);});function a2_0x3806(){const _0x4c1e67=['workflow','Overwrite\x20local\x20changes\x20without\x20confirmation','option','--attribute\x20[name]','Continue\x20most\x20recent\x20conversation','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Workflow\x20(Digdag)\x20management\x20commands','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Show\x20the\x20most\x20recent\x20chat','help','Show\x20email\x20template\x20details','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','Show\x20always-on\x20campaign\x20details','Read\x20query\x20from\x20file','--priority\x20<-2~2>','jsonl','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','journey','\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','\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','columns\x20<name-or-path>','Attempt\x20ID','isTTY','Delay\x20in\x20seconds\x20before\x20execution','Include\x20retried\x20attempts','--starter-message\x20<text>','--plaintext\x20<text>','List\x20all\x20users\x20in\x20the\x20account','Move\x20to\x20folder','[attempt-id]','Revision\x20name\x20(default:\x20timestamp)','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','desc\x20[name]','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','--max-depth\x20<depth>','New\x20workspace\x20name','duplicate\x20<name-or-id>','Commands:','--master','--skip-validation','_hidden','--from\x20<timestamp>','create\x20<name-or-path>','join','--interval\x20<range>','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','Override\x20project\x20name','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','split','use\x20<path>','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','list\x20[name]','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','--enriched','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Output\x20as\x20JSON','Path\x20is\x20not\x20a\x20directory:\x20','-a,\x20--agent\x20<name>','backup\x20<name>','project','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','push\x20[name]','status','RT\x202.0\x20configuration\x20management','Preview\x20changes\x20without\x20writing\x20files','Output\x20file\x20path','Parent\x20segment\x20description','-d,\x20--database\x20<db>','Skip\x20confirmation\x20prompts','delete\x20<args...>','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Agent\x20description','resume\x20<name-or-path>','Kill\x20a\x20job','Temperature\x20(0.0-2.0,\x20default:\x200.7)','--include-stats','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','workspaces\x20[pattern]','Folder\x20description','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','command','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','-o,\x20--output\x20<folder>','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','--retry-limit\x20<0~32>','\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=ap01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','injectIntoOptions','Skip\x20validation\x20of\x20.dig\x20files','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','delete\x20<agent-name>','Show\x20journey\x20details','Read\x20request\x20body\x20from\x20file','Folder\x20name\x20for\x20organization','Show\x20campaign\x20details','--new','--last','User\x20management\x20commands','Create\x20a\x20new\x20always-on\x20campaign','List\x20available\x20connector\x20types','--no-color','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','addHelpText','--html\x20<html>','padEnd','optionDescription','Resume\x20from\x20specific\x20task\x20(retry)','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','--from-task\x20<task>','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','registeredArguments','--revision\x20<revision>','New\x20campaign\x20name','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','after','update\x20<name>','history\x20[chat-id]','List\x20all\x20versions\x20of\x20a\x20journey','Updated\x20schedule\x20option','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','Table\x20management\x20commands','Master\x20database\x20name','exit','-c,\x20--continue','alias','pull\x20[workspace-name]','buildTime','--timeout\x20<seconds>','Delete\x20a\x20campaign','get','Agent\x20name','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Pull\x20templates\x20to\x20YAML\x20files','validate\x20[target]','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','-y,\x20--yes','kill','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','\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','Email\x20subject\x20template','hook','Database\x20name\x20(default:\x20information_schema)','--jsonl','Starter\x20message','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Resume\x20a\x20conversation\x20(shows\x20selector)','sql\x20[name]','--debug','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','restore\x20<folder>','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','60EhLRjN','--in\x20<db>','logs','Login\x20via\x20OAuth\x20(dev\x20sites\x20only)','Include\x20execution\x20statistics','GET','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','resume\x20<name-or-id>','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Pause\x20a\x20campaign','Task\x20name\x20for\x20logs\x20action','Preview\x20changes\x20without\x20pushing','Updated\x20description','--verbose','description','--add-attributes-file\x20<file>','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Behaviors\x20from\x20JSON\x20file','catch','describe','Show\x20all\x20files\x20including\x20valid\x20ones','--description\x20<desc>','Pull\x20campaigns\x20to\x20YAML\x20files','Run\x20specific\x20tests\x20(comma-separated)','push\x20[target]','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','push\x20[source-dir]','Arguments:','Export\x20journey(s)\x20as\x20YAML\x20files','hidden','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Template\x20name','--tsv','\x20-\x20built\x20','48994hwbFhR','Name\x20for\x20the\x20duplicated\x20campaign','Enable\x20verbose\x20logging','Resume\x20a\x20paused\x20campaign','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Show\x20schedule\x20details','Show\x20authentication\x20status\x20and\x20current\x20context','--type\x20<type>','--chat-id\x20<id>','gitRevision','init\x20[name]','--workspace\x20<name>','show\x20<job-id>','flags','allowUnknownOption','--database\x20<name>','--tags\x20<tags>','connection','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','--agent\x20<ref>','--path\x20<file-path>','--version\x20<number>','projects\x20[pattern]','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','List\x20all\x20available\x20profiles','types','run','Delete\x20an\x20email\x20template','List\x20agents\x20in\x20current\x20project','error','203119dIpIpf','--limit\x20<n>','Update\x20a\x20scheduled\x20query','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','--num\x20<1-10>','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','List\x20journeys\x20(alias\x20for\x20journey\x20list)','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','launch\x20<name-or-id>','list\x20[project]','Finish\x20an\x20always-on\x20campaign','Database\x20to\x20query\x20(default:\x20information_schema)','pull\x20[parent_or_file]','folders\x20<parent_name>','submit\x20[query]','Action:\x20logs,\x20tasks,\x20kill,\x20retry','Limit\x20number\x20of\x20rows','--params\x20<json>','Pull\x20specific\x20campaign\x20by\x20name','-u,\x20--use','--in\x20<database>','workflows\x20[project]','List\x20secret\x20keys\x20for\x20a\x20project','Pull\x20child\x20segments\x20to\x20YAML\x20files','agents\x20[pattern]','Query\x20type:\x20trino\x20or\x20hive','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20OAuth\x20tokens\x20to\x20profile-specific\x20keychain)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20OAuth\x20login\x20for\x20default\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--site\x20ap01\x20\x20\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20for\x20Japan\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--profile\x20dev\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20saved\x20to\x20\x27dev\x27\x20profile\x0a','Campaign\x20type\x20(email\x20or\x20push)','Manage\x20workflow\x20project\x20secrets','options','Skip\x20population\x20counting','connections','Unknown\x20action:\x20','-C,\x20--directory\x20<path>','profile','Duplicate\x20an\x20always-on\x20campaign','--limit\x20<number>','versions\x20<name-or-path>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','--delay\x20<seconds>','--segment\x20<path>','version','format','Start\x20a\x20new\x20chat\x20session','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','models','--delete','--system-prompt\x20<text>','--database\x20<db>','INFO','map','auth','Reason\x20for\x20killing\x20the\x20attempt','[task-name]','-r,\x20--recursive','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','session','--behaviors-file\x20<file>','push\x20[parent_or_file]','Invalid\x20editor\x20type:\x20','Create\x20a\x20workspace','-H,\x20--header\x20<header>','CDP\x20Journey\x20Orchestration\x20commands','login','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','List\x20journeys\x20in\x20current\x20context','configureHelp','-1d','--param\x20<key=value>','action','--behavior\x20[name]','entries','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Read\x20SQL\x20query\x20from\x20file','Skip\x20confirmation\x20prompt','Show\x20schedule\x20execution\x20history','Show\x20workspace\x20details','Segment\x20description','tasks','us01','--cron\x20<expression>','tdx\x20','Show\x20agent\x20details','List\x20activations\x20for\x20a\x20journey','Data\x20connection\x20management\x20(for\x20activations/exports)','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','--name\x20<names>','push\x20[path]','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','Create\x20a\x20new\x20profile','finish\x20<name-or-id>','--engine-version\x20<version>','parent_segment','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Cron\x20expression\x20for\x20scheduling','Campaign\x20management','--attributes\x20<json>','--limit\x20<rows>','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','Include\x20retried\x20attempts\x20(for\x20list)','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','activations\x20<name-or-path>','Maximum\x20rows\x20to\x20display','-o,\x20--output\x20<file>','Create\x20a\x20new\x20campaign','length','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','clone\x20[source]','LLM\x20agent\x20management','--customer-group-file\x20<file>','Create\x20segment\x20folder','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','9bnidFI','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','view\x20[segment_name]','validate\x20[file]','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','campaigns\x20[pattern]','--site\x20<site>','use\x20[name]','stdout','--timezone\x20<tz>','Maximum\x20recursion\x20depth\x20(default:\x2010)','Add\x20attributes\x20as\x20JSON\x20string','set\x20<args...>','--trace','commands','api\x20[endpoint]','Add\x20behaviors\x20as\x20JSON\x20string','--from\x20<n>','run\x20[name]','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','Read\x20HTML\x20template\x20from\x20file','update\x20<segment_name>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','summary','--no-count-population','required','--full','chat\x20[message...]','--subject\x20<subject>','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','unset\x20<resource>','trace','Open\x20journey\x20in\x20web\x20browser','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Project\x20description','logLevel','--customer-group\x20<json>','Open\x20segment\x20in\x20web\x20browser','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','opts','Run\x20tests\x20for\x20an\x20LLM\x20agent','Workspace\x20name\x20(required)','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','Database\x20name\x20(required)','Clear\x20session\x20context','includes','tdx','Custom\x20revision\x20name\x20(default:\x20timestamp)','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','YAML\x20file\x20path\x20for\x20unpushed\x20segment','--json-columns\x20<cols>','segment','use\x20<project-name>','CDP\x20segment\x20management\x20commands','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','Job\x20priority\x20(-2\x20to\x202)','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','setup','Set\x20or\x20show\x20parent\x20segment\x20context','8235952ZTzonh','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','--include-subtasks','Invalid\x20--limit\x20value:\x20\x22','Workspace\x20name','-r,\x20--resume','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','activations\x20<segment_name>','site','information_schema','colorFn','Resume\x20from\x20specific\x20task','20WQofVL','Set\x20a\x20profile\x20configuration\x20value','Include\x20raw\x20history\x20data\x20in\x20output','Delete\x20a\x20scheduled\x20query','validate\x20[name]','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','--add-attributes\x20<json>','--description\x20<text>','Delivery\x20operations\x20(email\x20senders)','Master\x20table\x20name','--kind\x20<type>','_list-commands','System\x20prompt/instructions\x20(default:\x20empty)','--status\x20<status>','repeat','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','flatMap','Remove\x20API\x20key\x20from\x20system\x20keychain','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','Clear\x20workflow\x20project\x20context','Update\x20an\x20always-on\x20campaign','Name\x20for\x20the\x20new\x20project\x20(required)','Workspace\x20description','List\x20all\x20data\x20connections','Update\x20a\x20workspace','always-on-campaign','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','12tcXLtZ','Filtering\x20rule\x20from\x20JSON\x20file','Directory\x20does\x20not\x20exist:\x20','-X,\x20--method\x20<method>','subcommandDescription','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','pause\x20<name-or-path>','[DEPRECATED]\x20Segment\x20folder\x20management','-f,\x20--force','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','--name\x20<name>','Show\x20what\x20would\x20be\x20written\x20without\x20writing','push','sql\x20[segment_name]','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','--format\x20<format>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Timezone\x20for\x20cron','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','-w,\x20--web','isDirectory','create\x20<parent_name>\x20<folder_name>','--folder\x20<name>','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','--dry-run','Ending\x20offset\x20(default:\x2020)','List\x20jobs','--to\x20<date>','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','timeline\x20[project.workflow]','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Enable\x20UTM\x20tracking','pull\x20[project]\x20[agent-name]','Generate\x20test\x20conversations\x20without\x20evaluation','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Timezone\x20(e.g.,\x20America/Los_Angeles)','Timezone\x20for\x20cron\x20(default:\x20UTC)','Query\x20engine\x20version','outputHelp','\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','retry','--catalog\x20<catalog>','Force\x20retry\x20even\x20if\x20not\x20failed','mcp','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','apiKey','filter','Show\x20connection\x20details\x20by\x20name','--rule\x20<json>','-n,\x20--name\x20<name>','update\x20<name-or-id>','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','delivery','Parent\x20segment\x20management','Pull\x20workflow\x20project\x20to\x20local\x20folder','Make\x20segment\x20invisible\x20(default:\x20visible)','argv','Pause\x20a\x20running\x20journey','Validate\x20template\x20YAML\x20files\x20locally','-o,\x20--output\x20<dir>','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','View\x20a\x20specific\x20version\x20of\x20a\x20journey','subcommandTerm','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','--version','Customer\x20group\x20as\x20JSON\x20string','show\x20<agent-name>','senders\x20[pattern]','Setup\x20API\x20key\x20authentication\x20interactively','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','Add\x20behaviors\x20from\x20JSON\x20file','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Attributes\x20from\x20JSON\x20file','workspace','Set\x20operation\x20timeout\x20in\x20seconds','Duplicate\x20a\x20campaign','Agent\x20prompt/instructions','5gNEvHu','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','name','Scheduled\x20query\x20management\x20commands','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Options:','templates\x20[pattern]','history\x20<name>','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','json','traffic\x20<name-or-path>','upload\x20[project-name-or-dir]','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','database','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','--no-eval','2IiTqRK','Pause\x20an\x20always-on\x20campaign','--to\x20<n>','create\x20<name>','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','databases\x20[pattern]','Show\x20journey\x20statistics','--force','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Preview\x20without\x20creating\x20the\x20project','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','--include-history','Database\x20name','upgrade\x20[version]','show\x20<name-or-id>','list\x20[path]','Attributes\x20as\x20JSON\x20string','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','beefree','--clear','Output\x20file\x20path\x20(default:\x20<name>.yml)','--start-at\x20<datetime>','Resume\x20a\x20paused\x20always-on\x20campaign','--parent-folder\x20<name>','Create\x20a\x20scheduled\x20query','-f,\x20--file\x20<path>','parent-segment','slice','Validate\x20campaign\x20YAML\x20files\x20locally','--resume-from\x20<task>','settings\x20<type>','Show\x20only\x20master\x20table\x20validation','Open\x20parent\x20segment\x20in\x20web\x20browser','--table\x20<table>','Include\x20subtasks\x20in\x20tasks\x20output','--email-sender-id\x20<id>','requiredOption',',\x20version\x20','--name\x20<new_name>','--llm-project\x20<name>','run\x20<name>','Show\x20journey\x20table\x20column-to-step\x20mapping','LLM\x20project\x20to\x20use\x20(overrides\x20context)','Follow/watch\x20timeline\x20for\x20running\x20attempts','test\x20[path]','pause\x20<name-or-id>','Version\x20number\x20to\x20view','Workflow\x20parameter\x20(repeatable)','4989268fRyDqs','always-on-campaigns\x20[pattern]','--method\x20<pm>','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','directory','AI-native\x20CLI\x20for\x20Treasure\x20Data','Update\x20an\x20email\x20template','Output\x20as\x20JSON\x20Lines','Show\x20timeline\x20for\x20specific\x20attempt','Run\x20Trino\x20query\x20with\x20streaming\x20results','--result\x20<target>','INVALID_ARGUMENT','--attributes-file\x20<file>','Result\x20output\x20destination\x20URL','create','DEBUG','--name\x20<text>','Create\x20a\x20new\x20LLM\x20project','show\x20[table]','--default','jobs','Pull\x20specific\x20template\x20by\x20name','Output\x20folder\x20(default:\x20{project_name}.llm)','--editor-type\x20<type>','--from\x20<date>','-p,\x20--profile\x20<name>','--json','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','optionTerm','Delete\x20a\x20workspace','retry\x20<session-id>','--output\x20<file>','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','view\x20<name-or-path>','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Always-on\x20campaign\x20management','--to\x20<timestamp>','\x22.\x20Must\x20be\x20a\x20number.','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','Trino\x20catalog\x20(default:\x20td)','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','...','Workflow\x20attempt\x20management','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','usage','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','545707ZdegUo','--model\x20<name>','--session-id\x20<id>','Request\x20body\x20as\x20JSON\x20string','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','preview\x20[name]','download\x20<project-name>\x20[output-dir]','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','list','claude-4.5-sonnet','engage','--schedule-option\x20<value>','--help','padWidth','Get\x20job\x20results','Retry\x20limit\x20(0\x20to\x2032)','use\x20[resource]\x20[value]','Plaintext\x20template\x20content','--parent-segment\x20<name>','End\x20time\x20filter\x20(ISO\x208601\x20format)','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Authentication\x20management','Update\x20a\x20campaign','Campaign\x20name','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','--data\x20<data>','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','upgrade','show\x20[segment_name]','Show\x20segment\x20details\x20(alias\x20for\x20view)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','--stage\x20<name>','desc\x20[segment_name]','isArray','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','--next','argument','delete\x20<name>','Show\x20segment\x20schema\x20(column\x20types)','trino','variadic','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','--result\x20<url>','profiles','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','--no-proxy','claude\x20[args...]','argumentDescription','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','noColor','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','delete\x20<name-or-id>','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','--rule-file\x20<file>','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Campaign\x20description','Output\x20directory','aliases','HTML\x20template\x20content','--follow','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','kill\x20<job-id>','3815123kDGzHk','Behaviors\x20as\x20JSON\x20string','--reason\x20<text>','--temperature\x20<n>','LLM\x20project\x20management','list\x20[pattern]','--session\x20<id>','0.7','tsv','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','table','Create\x20an\x20email\x20template','--behaviors\x20<json>','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','Email\x20sender\x20ID\x20for\x20delivery','Add\x20attributes\x20from\x20JSON\x20file','pull\x20[name]','--yes','secrets','--add-behaviors-file\x20<file>','-d,\x20--database\x20<database>','show\x20<name>','--include-retried','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','1325634gxEvhH'];a2_0x3806=function(){return _0x4c1e67;};return a2_0x3806();}const journeyCmd=program[a2_0x360f70(0x339)](a2_0x360f70(0x2f6))[a2_0x360f70(0x390)](a2_0x360f70(0x403)),journeyListAction=async(_0x9d4354,_0xcaaf9c)=>{const _0x164bb3=a2_0x360f70,_0x50cf0b=new JourneyListCommand(),_0x3b2743=program[_0x164bb3(0x186)](),_0x13d0a2=await createTDXInstance(_0x3b2743),_0x3cb8ef=await _0x50cf0b[_0x164bb3(0x3bf)]({'options':{..._0x3b2743,..._0xcaaf9c},'args':_0x9d4354?[_0x9d4354]:[],'tdx':_0x13d0a2});gracefulExit(_0x3cb8ef);};journeyCmd['command'](a2_0x360f70(0x2d0))[a2_0x360f70(0x390)](a2_0x360f70(0x406))[a2_0x360f70(0x40a)](journeyListAction),journeyCmd[a2_0x360f70(0x339)](a2_0x360f70(0x27d))[a2_0x360f70(0x390)](a2_0x360f70(0x345))[a2_0x360f70(0x2e6)]('-w,\x20--web',a2_0x360f70(0x17f))[a2_0x360f70(0x2e6)](a2_0x360f70(0x334),a2_0x360f70(0x386))['action'](async(_0x2c4b60,_0x2d5cee)=>{const _0x11b344=a2_0x360f70,_0xb82987=new JourneyViewCommand(),_0x3b06ce=program[_0x11b344(0x186)](),_0x3a7ecd=await createTDXInstance(_0x3b06ce),_0x3226fa=await _0xb82987['run']({'options':{..._0x3b06ce,..._0x2d5cee},'args':[_0x2c4b60],'tdx':_0x3a7ecd});gracefulExit(_0x3226fa);}),journeyCmd[a2_0x360f70(0x339)]('stats\x20<name-or-path>')[a2_0x360f70(0x390)](a2_0x360f70(0x230))['option'](a2_0x360f70(0x2aa),'Show\x20stats\x20for\x20specific\x20stage')[a2_0x360f70(0x2e6)](a2_0x360f70(0x273),'Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x360f70(0x2e6)](a2_0x360f70(0x1e0),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x360f70(0x2e6)](a2_0x360f70(0x236),a2_0x360f70(0x1aa))['action'](async(_0x1787de,_0x24ee0a)=>{const _0x47c230=a2_0x360f70,_0x2b084f=new JourneyStatsCommand(),_0x4a7430=program[_0x47c230(0x186)](),_0x4b753b=await createTDXInstance(_0x4a7430),_0x143278=await _0x2b084f[_0x47c230(0x3bf)]({'options':{..._0x4a7430,..._0x24ee0a},'args':[_0x1787de],'tdx':_0x4b753b});gracefulExit(_0x143278);}),journeyCmd[a2_0x360f70(0x339)](a2_0x360f70(0x220))['description'](a2_0x360f70(0x2b4))['option'](a2_0x360f70(0x3ac),'Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)')['option']('--from\x20<date>','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x360f70(0x2e6)](a2_0x360f70(0x1e0),a2_0x360f70(0x405))['option'](a2_0x360f70(0x3e8),'Maximum\x20number\x20of\x20nodes',_0x127e33=>{const _0x7724ac=a2_0x360f70,_0x385ea5=parseInt(_0x127e33,0xa);if(isNaN(_0x385ea5))throw new Error(_0x7724ac(0x19d)+_0x127e33+_0x7724ac(0x281));return _0x385ea5;})['action'](async(_0x4f7452,_0x4f5c4a)=>{const _0x2b7cdc=new JourneyTrafficCommand(),_0x2b1b78=program['opts'](),_0x16b5ad=await createTDXInstance(_0x2b1b78),_0xa25f60=await _0x2b7cdc['run']({'options':{..._0x2b1b78,..._0x4f5c4a},'args':[_0x4f7452],'tdx':_0x16b5ad});gracefulExit(_0xa25f60);}),journeyCmd[a2_0x360f70(0x339)](a2_0x360f70(0x1cb))['description'](a2_0x360f70(0x1ff))[a2_0x360f70(0x40a)](async(_0x1dcfc6,_0x2c15f0)=>{const _0x3982bb=a2_0x360f70,_0x38ff5c=new JourneyPauseCommand(),_0x2b01c1=program['opts'](),_0x19abe0=await createTDXInstance(_0x2b01c1),_0x448c11=await _0x38ff5c[_0x3982bb(0x3bf)]({'options':{..._0x2b01c1,..._0x2c15f0},'args':[_0x1dcfc6],'tdx':_0x19abe0});gracefulExit(_0x448c11);}),journeyCmd[a2_0x360f70(0x339)](a2_0x360f70(0x331))[a2_0x360f70(0x390)]('Resume\x20a\x20paused\x20journey')[a2_0x360f70(0x40a)](async(_0x1858ca,_0x356a99)=>{const _0x1d44c5=new JourneyResumeCommand(),_0x4d68ed=program['opts'](),_0x51fb9e=await createTDXInstance(_0x4d68ed),_0x32a79d=await _0x1d44c5['run']({'options':{..._0x4d68ed,..._0x356a99},'args':[_0x1858ca],'tdx':_0x51fb9e});gracefulExit(_0x32a79d);}),journeyCmd['command'](a2_0x360f70(0x2db))['description'](a2_0x360f70(0x39f))['option'](a2_0x360f70(0x1dd),a2_0x360f70(0x335))['action'](async(_0x3c6aab,_0x4d782b)=>{const _0x69f956=a2_0x360f70,_0x4aac2d=new JourneyPullCommand(),_0xee22e5=program[_0x69f956(0x186)](),_0x24b928=await createTDXInstance(_0xee22e5),_0xaa4944=await _0x4aac2d[_0x69f956(0x3bf)]({'options':{..._0xee22e5,..._0x4d782b},'args':_0x3c6aab?[_0x3c6aab]:[],'tdx':_0x24b928});gracefulExit(_0xaa4944);}),journeyCmd[a2_0x360f70(0x339)](a2_0x360f70(0x39b))[a2_0x360f70(0x390)](a2_0x360f70(0x1f2))[a2_0x360f70(0x40a)](async(_0x4053ed,_0x2455d9)=>{const _0x371f00=a2_0x360f70,_0x3aad93=new JourneyPushCommand(),_0x26326b=program['opts'](),_0x57d089=await createTDXInstance(_0x26326b),_0x395ace=await _0x3aad93[_0x371f00(0x3bf)]({'options':{..._0x26326b,..._0x2455d9},'args':_0x4053ed?[_0x4053ed]:[],'tdx':_0x57d089});gracefulExit(_0x395ace);}),journeyCmd[a2_0x360f70(0x339)](a2_0x360f70(0x2fa))[a2_0x360f70(0x390)](a2_0x360f70(0x254))[a2_0x360f70(0x40a)](async(_0x2a9bc8,_0x1ed51c)=>{const _0x24fd0e=a2_0x360f70,_0xff9b9b=new JourneyColumnsCommand(),_0x464e03=program[_0x24fd0e(0x186)](),_0x153042=await createTDXInstance(_0x464e03),_0x2304bb=await _0xff9b9b[_0x24fd0e(0x3bf)]({'options':{..._0x464e03,..._0x1ed51c},'args':[_0x2a9bc8],'tdx':_0x153042});gracefulExit(_0x2304bb);}),journeyCmd[a2_0x360f70(0x339)](a2_0x360f70(0x153))[a2_0x360f70(0x390)](a2_0x360f70(0x418))['action'](async(_0x1769b5,_0x8f8b2b)=>{const _0x5db373=a2_0x360f70,_0x3207b4=new JourneyActivationsCommand(),_0x2879ba=program['opts'](),_0x3c988b=await createTDXInstance(_0x2879ba),_0x128d8e=await _0x3207b4[_0x5db373(0x3bf)]({'options':{..._0x2879ba,..._0x8f8b2b},'args':[_0x1769b5],'tdx':_0x3c988b});gracefulExit(_0x128d8e);}),journeyCmd[a2_0x360f70(0x339)](a2_0x360f70(0x3e9))[a2_0x360f70(0x390)](a2_0x360f70(0x360))[a2_0x360f70(0x40a)](async(_0x2f8c5a,_0x16e414)=>{const _0xf1e85e=a2_0x360f70,_0x468b37=new JourneyVersionsCommand(),_0x4b8440=program[_0xf1e85e(0x186)](),_0x2926e6=await createTDXInstance(_0x4b8440),_0x5e1a32=await _0x468b37['run']({'options':{..._0x4b8440,..._0x16e414},'args':[_0x2f8c5a],'tdx':_0x2926e6});gracefulExit(_0x5e1a32);});const journeyVersionCmd=journeyCmd[a2_0x360f70(0x339)](a2_0x360f70(0x3ee))[a2_0x360f70(0x390)]('Journey\x20version\x20management');journeyVersionCmd[a2_0x360f70(0x339)](a2_0x360f70(0x312))[a2_0x360f70(0x390)](a2_0x360f70(0x195))[a2_0x360f70(0x40a)](async(_0x2f458d,_0x34073f)=>{const _0xd76ad3=a2_0x360f70,_0x339eaa=new JourneyVersionCreateCommand(),_0x538615=program[_0xd76ad3(0x186)](),_0x2a80cc=await createTDXInstance(_0x538615),_0x532149=await _0x339eaa[_0xd76ad3(0x3bf)]({'options':{..._0x538615,..._0x34073f},'args':[_0x2f458d],'tdx':_0x2a80cc});gracefulExit(_0x532149);}),journeyVersionCmd['command'](a2_0x360f70(0x27d))[a2_0x360f70(0x390)](a2_0x360f70(0x203))[a2_0x360f70(0x24f)](a2_0x360f70(0x3ba),a2_0x360f70(0x259))['action'](async(_0x4c2480,_0x326214)=>{const _0x337f2a=a2_0x360f70,_0xed6449=new JourneyVersionViewCommand(),_0x43fed1=program['opts'](),_0x2b0fd5=await createTDXInstance(_0x43fed1),_0x5b1ce9=await _0xed6449[_0x337f2a(0x3bf)]({'options':{..._0x43fed1,..._0x326214},'args':[_0x4c2480],'tdx':_0x2b0fd5});gracefulExit(_0x5b1ce9);}),journeyCmd[a2_0x360f70(0x339)](a2_0x360f70(0x370))[a2_0x360f70(0x390)]('Validate\x20journey\x20YAML\x20files\x20locally')[a2_0x360f70(0x40a)](async(_0x1d2cfd,_0x4f28a4)=>{const _0x511f8f=a2_0x360f70,_0x2cbf21=new JourneyValidateCommand(),_0x379f40=program[_0x511f8f(0x186)](),_0x560223=await createTDXInstance(_0x379f40),_0x2e0b2e=await _0x2cbf21['run']({'options':{..._0x379f40,..._0x4f28a4},'args':_0x1d2cfd?[_0x1d2cfd]:[],'tdx':_0x560223});gracefulExit(_0x2e0b2e);}),program[a2_0x360f70(0x339)]('journeys\x20[pattern]')['description'](a2_0x360f70(0x3c9))['action'](journeyListAction);const agentSyncCmd=program[a2_0x360f70(0x339)]('agent')[a2_0x360f70(0x390)](a2_0x360f70(0x15a));agentSyncCmd[a2_0x360f70(0x339)](a2_0x360f70(0x1e6))['description'](a2_0x360f70(0x1dc))[a2_0x360f70(0x2e6)](a2_0x360f70(0x201),a2_0x360f70(0x2c4))[a2_0x360f70(0x2e6)](a2_0x360f70(0x1cd),a2_0x360f70(0x2e5))['option'](a2_0x360f70(0x321),a2_0x360f70(0x2f0))[a2_0x360f70(0x40a)](async(_0xae970a,_0x2f1bb0,_0x154591)=>{const _0x56add2=a2_0x360f70,_0x4a337a=new AgentPullCommand(),_0x1c7399=program[_0x56add2(0x186)](),_0x1fb315=await createTDXInstance(_0x1c7399),_0x722c2f=[];if(_0xae970a)_0x722c2f[_0x56add2(0x1d1)](_0xae970a);if(_0x2f1bb0)_0x722c2f[_0x56add2(0x1d1)](_0x2f1bb0);const _0x1b6274=await _0x4a337a[_0x56add2(0x3bf)]({'options':{..._0x1c7399,..._0x154591},'args':_0x722c2f,'tdx':_0x1fb315});gracefulExit(_0x1b6274);}),agentSyncCmd[a2_0x360f70(0x339)](a2_0x360f70(0x41d))['description']('Push\x20local\x20agent\x20files\x20to\x20LLM\x20project')['option'](a2_0x360f70(0x1cd),'Push\x20without\x20confirmation')[a2_0x360f70(0x40a)](async(_0x12f544,_0x5f065c)=>{const _0x30a2a0=a2_0x360f70,_0x44b0df=new AgentPushCommand(),_0x2001b8=program[_0x30a2a0(0x186)](),_0x24c3d4=await createTDXInstance(_0x2001b8),_0x2c5f50=await _0x44b0df[_0x30a2a0(0x3bf)]({'options':{..._0x2001b8,..._0x5f065c},'args':_0x12f544?[_0x12f544]:[],'tdx':_0x24c3d4});gracefulExit(_0x2c5f50);}),agentSyncCmd[a2_0x360f70(0x339)](a2_0x360f70(0x159))[a2_0x360f70(0x390)](a2_0x360f70(0x205))[a2_0x360f70(0x2e6)](a2_0x360f70(0x1f7),a2_0x360f70(0x1be))[a2_0x360f70(0x40a)](async(_0x1f3ae,_0x4d55af)=>{const _0x3646cf=a2_0x360f70,_0x18fc27=new AgentCloneCommand(),_0x29121c=program[_0x3646cf(0x186)](),_0x16a628=await createTDXInstance(_0x29121c),_0x571cb2=await _0x18fc27['run']({'options':{..._0x29121c,..._0x4d55af},'args':_0x1f3ae?[_0x1f3ae]:[],'tdx':_0x16a628});gracefulExit(_0x571cb2);}),agentSyncCmd['command'](a2_0x360f70(0x257))[a2_0x360f70(0x390)](a2_0x360f70(0x187))['option'](a2_0x360f70(0x41c),a2_0x360f70(0x39a))[a2_0x360f70(0x2e6)](a2_0x360f70(0x3b5),a2_0x360f70(0x357))[a2_0x360f70(0x2e6)](a2_0x360f70(0x1dd),'Parse\x20and\x20validate\x20without\x20executing')[a2_0x360f70(0x2e6)](a2_0x360f70(0x227),a2_0x360f70(0x1e7))['option']('--reeval',a2_0x360f70(0x388))[a2_0x360f70(0x40a)](async(_0x5a63f4,_0x41aa45)=>{const _0x2bd890=a2_0x360f70,_0x2ce87b=new AgentTestCommand(),_0x4edc53=program[_0x2bd890(0x186)](),_0x1b6e84=await createTDXInstance(_0x4edc53),_0x5ecfbb=await _0x2ce87b[_0x2bd890(0x3bf)]({'options':{..._0x4edc53,..._0x41aa45},'args':_0x5a63f4?[_0x5a63f4]:[],'tdx':_0x1b6e84});gracefulExit(_0x5ecfbb);}),agentSyncCmd[a2_0x360f70(0x339)](a2_0x360f70(0x2d0))[a2_0x360f70(0x390)](a2_0x360f70(0x3c1))[a2_0x360f70(0x40a)](llmAgentListAction),agentSyncCmd[a2_0x360f70(0x339)](a2_0x360f70(0x208))[a2_0x360f70(0x390)](a2_0x360f70(0x417))['action'](async(_0x268b99,_0x37b8f3)=>{const _0x1a826b=a2_0x360f70,_0x392361=new LLMAgentShowCommand(),_0x2345f8=program[_0x1a826b(0x186)](),_0x5d8383=await createTDXInstance(_0x2345f8),_0x30dd9a=await _0x392361[_0x1a826b(0x3bf)]({'options':{..._0x2345f8,..._0x37b8f3},'args':[_0x268b99],'tdx':_0x5d8383});gracefulExit(_0x30dd9a);}),agentSyncCmd[a2_0x360f70(0x339)](a2_0x360f70(0x22b))[a2_0x360f70(0x390)]('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a2_0x360f70(0x2e6)](a2_0x360f70(0x3f4),a2_0x360f70(0x1b5))[a2_0x360f70(0x2e6)](a2_0x360f70(0x28c),a2_0x360f70(0x37b),a2_0x360f70(0x294))[a2_0x360f70(0x2e6)](a2_0x360f70(0x2ff),'Starter\x20message')[a2_0x360f70(0x2e6)]('--max-tool-iterations\x20<n>','Maximum\x20tool\x20iterations\x20(default:\x204)','4')[a2_0x360f70(0x2e6)](a2_0x360f70(0x2ce),a2_0x360f70(0x333),a2_0x360f70(0x2d2))[a2_0x360f70(0x40a)](async(_0x5d4e31,_0x433f4a)=>{const _0x4e38bb=a2_0x360f70,_0x2725a2=new LLMAgentCreateCommand(),_0x3a6f09=program[_0x4e38bb(0x186)](),_0x5a2921=await createTDXInstance(_0x3a6f09),_0xd0a8c7=await _0x2725a2[_0x4e38bb(0x3bf)]({'options':{..._0x3a6f09,..._0x433f4a},'args':[_0x5d4e31],'tdx':_0x5a2921});gracefulExit(_0xd0a8c7);}),agentSyncCmd[a2_0x360f70(0x339)]('update\x20<agent-name>')['description']('Update\x20an\x20existing\x20agent')[a2_0x360f70(0x2e6)](a2_0x360f70(0x26b),a2_0x360f70(0x36d))[a2_0x360f70(0x2e6)]('--prompt\x20<text>',a2_0x360f70(0x213))[a2_0x360f70(0x2e6)]('--description\x20<text>',a2_0x360f70(0x330))[a2_0x360f70(0x2e6)]('--starter-message\x20<text>',a2_0x360f70(0x37a))[a2_0x360f70(0x40a)](async(_0x38e2d5,_0x3c1003)=>{const _0x198885=a2_0x360f70,_0x4ce9c5=new LLMAgentUpdateCommand(),_0x1b6b82=program[_0x198885(0x186)](),_0x11c123=await createTDXInstance(_0x1b6b82),_0x166e25=await _0x4ce9c5[_0x198885(0x3bf)]({'options':{..._0x1b6b82,..._0x3c1003},'args':[_0x38e2d5],'tdx':_0x11c123});gracefulExit(_0x166e25);}),agentSyncCmd[a2_0x360f70(0x339)](a2_0x360f70(0x344))[a2_0x360f70(0x390)]('Delete\x20an\x20agent')[a2_0x360f70(0x40a)](async(_0x276833,_0x36247c)=>{const _0x27c4e1=a2_0x360f70,_0x176298=new LLMAgentDeleteCommand(),_0x2b01e0=program[_0x27c4e1(0x186)](),_0x5ddf33=await createTDXInstance(_0x2b01e0),_0x1f57a7=await _0x176298[_0x27c4e1(0x3bf)]({'options':{..._0x2b01e0,..._0x36247c},'args':[_0x276833],'tdx':_0x5ddf33});gracefulExit(_0x1f57a7);}),program[a2_0x360f70(0x339)](a2_0x360f70(0x1b4),{'hidden':!![]})[a2_0x360f70(0x40a)](()=>{function _0x5b1893(_0x2d9646,_0x183cb6){const _0xa0f502=a2_0x4908,_0x30fc69=[];for(const _0x49dfc2 of _0x2d9646['commands']){if(_0x49dfc2[_0xa0f502(0x310)])continue;const _0x4787db=_0x183cb6?_0x183cb6+'\x20'+_0x49dfc2[_0xa0f502(0x218)]():_0x49dfc2[_0xa0f502(0x218)](),_0x380cb5=_0x4787db[_0xa0f502(0x318)]('\x20')[0x0],_0x3ef7e6=COMMAND_CATEGORIES['find'](_0x3dccfa=>_0x3dccfa['commands']['includes'](_0x380cb5)),_0xf9b4b6=_0x3ef7e6?.[_0xa0f502(0x218)]??'';if(_0x49dfc2['commands'][_0xa0f502(0x157)]>0x0)_0x30fc69[_0xa0f502(0x1d1)](..._0x5b1893(_0x49dfc2,_0x4787db));else{const _0x38bfd2=(_0x49dfc2[_0xa0f502(0x358)]||[])['map'](_0x569bcb=>{const _0x42454f=_0xa0f502,_0x4c0459=_0x569bcb[_0x42454f(0x2b3)]?_0x569bcb[_0x42454f(0x218)]()+_0x42454f(0x286):_0x569bcb[_0x42454f(0x218)]();return _0x569bcb[_0x42454f(0x178)]?'<'+_0x4c0459+'>':'['+_0x4c0459+']';})['join']('\x20'),_0x155149=_0x49dfc2[_0xa0f502(0x3e1)][_0xa0f502(0x1f4)](_0x18864a=>!_0x18864a['hidden']&&_0x18864a['long']!==_0xa0f502(0x297))[_0xa0f502(0x3f7)](_0x170bc7=>({'flags':_0x170bc7[_0xa0f502(0x3b2)],'description':_0x170bc7['description']}));_0x30fc69[_0xa0f502(0x1d1)]({'name':_0x4787db,'description':_0x49dfc2[_0xa0f502(0x390)](),'group':_0xf9b4b6,'usage':_0x38bfd2,'options':_0x155149});}}return _0x30fc69;}console['log'](JSON['stringify'](_0x5b1893(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x5e015d=a2_0x360f70,_0x29661f=!process[_0x5e015d(0x1fe)]['slice'](0x2)['length'];showBriefHelp=_0x29661f,program['parse'](process[_0x5e015d(0x1fe)]);_0x29661f&&program[_0x5e015d(0x1ec)]();const _0x20075e=process[_0x5e015d(0x1fe)][0x2]===_0x5e015d(0x2a6);if(process['stderr'][_0x5e015d(0x2fc)]&&process[_0x5e015d(0x1fe)]['length']>0x2&&!isDevVersion()&&!_0x20075e){const _0xb10ab2=loadReleaseChannel();checkForUpdate(currentVersion,_0xb10ab2)['then'](_0x1b0f14=>{_0x1b0f14&&displayUpdateNotification(_0x1b0f14);})[_0x5e015d(0x395)](()=>{});}}
|