@treasuredata/tdx 2026.3.23 → 2026.3.24
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/policy-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/policy.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_0x382dad=a2_0x5251;(function(_0x4a86f9,_0x4a0ddb){const _0x3801d6=a2_0x5251,_0x2145dc=_0x4a86f9();while(!![]){try{const _0x543286=parseInt(_0x3801d6(0x171))/0x1+-parseInt(_0x3801d6(0x1de))/0x2+parseInt(_0x3801d6(0x2d2))/0x3*(parseInt(_0x3801d6(0x137))/0x4)+parseInt(_0x3801d6(0x17d))/0x5+-parseInt(_0x3801d6(0x188))/0x6+-parseInt(_0x3801d6(0x211))/0x7*(parseInt(_0x3801d6(0x2d1))/0x8)+parseInt(_0x3801d6(0x33d))/0x9*(parseInt(_0x3801d6(0x160))/0xa);if(_0x543286===_0x4a0ddb)break;else _0x2145dc['push'](_0x2145dc['shift']());}catch(_0x1be917){_0x2145dc['push'](_0x2145dc['shift']());}}}(a2_0x467e,0x71b1e));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';function a2_0x467e(){const _0x444695=['Maximum\x20rows\x20to\x20display','mcp','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Continue\x20most\x20recent\x20conversation','attempts\x20[project]','Read\x20query\x20from\x20file','--llm-project\x20<name>','after','parse','--to\x20<timestamp>','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Directory\x20does\x20not\x20exist:\x20','--subject\x20<subject>','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','--version\x20<number>','api\x20[endpoint]','Show\x20connection\x20details\x20by\x20name','forEach','Customer\x20group\x20as\x20JSON\x20string','Skip\x20validation\x20of\x20.dig\x20files','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','--invisible','Overwrite\x20local\x20changes\x20without\x20confirmation','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Skip\x20confirmation\x20prompts','tdx','push\x20[target]','list\x20[project]','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Duplicate\x20a\x20campaign','--type\x20<api_type>','Skip\x20confirmation\x20prompt','use\x20<project-name>','Clear\x20session\x20context','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','--enable-utm-tracking','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','repeat','-p,\x20--profile\x20<name>','use\x20<path>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','format','pull\x20<project>\x20[target-dir]','validate\x20[name]','Delete\x20a\x20scheduled\x20query','Scheduled\x20query\x20management\x20commands','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','list','Data\x20connection\x20management\x20(for\x20activations/exports)','project','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Plaintext\x20template\x20content','Custom\x20revision\x20name\x20(default:\x20timestamp)','GET','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','--table','[task-name]','status','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','Parent\x20segment\x20management','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','--add-behaviors\x20<json>','-C,\x20--directory\x20<path>','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','chat\x20[message...]','--schedule-type\x20<type>','Add\x20attributes\x20as\x20JSON\x20string','argument','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','Resume\x20from\x20specific\x20task\x20(retry)','--parent-segment\x20<name>','Updated\x20schedule\x20option','--max-depth\x20<depth>','delivery','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','option','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Resume\x20a\x20paused\x20journey','Timezone\x20(e.g.,\x20America/Los_Angeles)','Override\x20project\x20name','Preview\x20changes\x20without\x20writing\x20files','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','Workflow\x20(Digdag)\x20management\x20commands','models','Launch\x20a\x20campaign','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','Maximum\x20recursion\x20depth\x20(default:\x2010)','Email\x20subject\x20template','Updated\x20description','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','--color','--in\x20<database>','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','Remove\x20a\x20profile','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','push\x20[parent_or_file]','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Output\x20folder\x20(default:\x20{project_name}.llm)','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','retry\x20<session-id>','allowUnknownOption','entries','Kill\x20a\x20job','--folder\x20<name>','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','timeline\x20[project.workflow]','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','preview\x20[file]','--verbose','--system-prompt\x20<text>','--catalog\x20<catalog>','Update\x20a\x20campaign','Version\x20number\x20to\x20view','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','-d,\x20--database\x20<db>','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','-c,\x20--continue','show\x20<name-or-id>','--enriched','stringify','-H,\x20--header\x20<header>','Preview\x20operation\x20without\x20executing','backup\x20<name>','create\x20[name]','us01','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','show\x20<policy>','--tags\x20<tags>','json','Timezone\x20for\x20cron','\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','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','login','Action:\x20logs,\x20tasks,\x20kill,\x20retry','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','logs','YAML\x20file\x20path\x20for\x20unpushed\x20segment','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','set\x20<key=value>','--priority\x20<-2~2>','Unknown\x20action:\x20','commands','users','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Read\x20SQL\x20query\x20from\x20file','INFO','Parent\x20folder\x20name\x20for\x20nested\x20folders','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','--kind\x20<type>','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','--include-history','workflow','List\x20all\x20versions\x20of\x20a\x20journey','--output\x20<file>','-y,\x20--yes','user','chdir','\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','Run\x20Trino\x20query\x20with\x20streaming\x20results','isTTY','create','--rule\x20<json>','Resume\x20from\x20specific\x20task','variadic','preview\x20[name]','Preview\x20without\x20creating\x20the\x20project','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','User\x20management\x20commands','connections','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','--default','List\x20agents\x20in\x20current\x20project','Template\x20name','Delete\x20a\x20campaign','-v,\x20--verbose','List\x20all\x20users\x20in\x20the\x20account','Update\x20a\x20scheduled\x20query','Create\x20a\x20new\x20campaign','Include\x20retried\x20attempts\x20(for\x20list)','4aZQNZG','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','resume\x20<name-or-id>','--dry-run','Attributes\x20from\x20JSON\x20file','isArray','hidden','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Set\x20or\x20show\x20parent\x20segment\x20context','Table\x20management\x20commands','--behaviors-file\x20<file>','Output\x20as\x20JSON','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','--add-attributes\x20<json>','Master\x20database\x20name','Pull\x20workflow\x20project\x20to\x20local\x20folder','Journey\x20version\x20management','Folder\x20name\x20for\x20organization','[attempt-id]','finish\x20<name-or-id>','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','Authentication\x20management','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','sql\x20[name]','use\x20[project]','[EXPERIMENTAL]\x20Show\x20chat\x20log','parent_segment','Workflow\x20parameter\x20(repeatable)','--chat-id\x20<id>','--force','colorFn','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','Pull\x20campaigns\x20to\x20YAML\x20files','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','--data\x20<data>','Segment\x20description','Updated\x20timezone','--description\x20<text>','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','create\x20<parent_name>\x20<folder_name>','10ZFWMaU','Delay\x20in\x20seconds\x20before\x20execution','--starter-message\x20<text>','information_schema','desc\x20[segment_name]','tdx\x20','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','view\x20<name-or-path>','--json','Show\x20what\x20would\x20be\x20written\x20without\x20writing','senders\x20[pattern]','update\x20<name-or-id>','End\x20time\x20filter\x20(ISO\x208601\x20format)','schedule','Create\x20segment\x20folder','Pull\x20child\x20segments\x20to\x20YAML\x20files','New\x20template\x20name','335706BdSzqd','run','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','Get\x20job\x20results','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','profiles','pull\x20[workspace-name]','--no-proxy','List\x20all\x20available\x20profiles','run\x20[name]','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','--json-columns\x20<cols>','1833110gyHKIR','action','Resume\x20a\x20conversation\x20(shows\x20selector)','workspaces\x20[pattern]','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','agent','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Update\x20an\x20existing\x20agent','--include-subtasks','Cron\x20expression\x20for\x20scheduling','1095714AsQLKw','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Show\x20agent\x20details','test\x20[path]','sessions\x20[project]','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','claude-4.5-sonnet','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','--name\x20<name>','Delete\x20an\x20email\x20template','kill\x20<job-id>','Query\x20engine\x20version','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Output\x20directory','Open\x20journey\x20in\x20web\x20browser','Workspace\x20management','Create\x20a\x20workspace','--retry-limit\x20<0~32>','clear','--to\x20<date>','-d,\x20--database\x20<database>','Preview\x20changes\x20without\x20pushing','Create\x20an\x20email\x20template','-X,\x20--method\x20<method>','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','set','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','DEBUG','use\x20[resource]\x20[value]','init\x20[name]','fields\x20[parent_name]','Show\x20only\x20master\x20table\x20validation','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','--name\x20<new_name>','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','workflows\x20[project]','restore\x20<folder>','--resume-from\x20<task>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','\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','Pull\x20specific\x20campaign\x20by\x20name','slice','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','--workspace\x20<name>','addHelpText','Workspace\x20description','Attributes\x20as\x20JSON\x20string','--engine-version\x20<version>','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','System\x20prompt/instructions\x20(default:\x20empty)','Attempt\x20ID','filter','aliases','--no-count-population','launch\x20<name-or-id>','--yes','columns\x20<name-or-path>','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','--html\x20<html>','profile','resume\x20<name-or-path>','length','Output\x20file\x20path','describe','RT\x202.0\x20configuration\x20management','--stage\x20<name>','find','--start-at\x20<datetime>','push\x20[name]','activations\x20<name-or-path>','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','padWidth','agents\x20[pattern]','--add-attributes-file\x20<file>','view\x20[name]','Read\x20request\x20body\x20from\x20file','--clear','upgrade','--behavior\x20[name]','exit','741204tgOZAP','[action]','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','createAsync','Show\x20all\x20files\x20including\x20valid\x20ones','traffic\x20<name-or-path>','--database\x20<db>','Agent\x20name','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--delay\x20<seconds>','pull\x20[project]\x20[agent-name]','--status\x20<status>','--behaviors\x20<json>','AI-native\x20CLI\x20for\x20Treasure\x20Data','Behaviors\x20as\x20JSON\x20string','\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','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Show\x20segment\x20details\x20(alias\x20for\x20view)','job','then','setup','--last','types','--max-tool-iterations\x20<n>','requiredOption','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','Delete\x20an\x20agent','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','hook','Database\x20name\x20(default:\x20information_schema)','--segment\x20<path>','--customer-group\x20<json>','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','show\x20[segment_name]','Commands:','Revision\x20name\x20(default:\x20timestamp)','usage','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','--type\x20<type>','New\x20campaign\x20name','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','show\x20<job-id>','Folder\x20description','Resume\x20a\x20paused\x20always-on\x20campaign','Email\x20sender\x20ID\x20for\x20delivery','list\x20[name]','CDP\x20Journey\x20Orchestration\x20commands','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','2219140VPTgTP','list\x20[path]','--skip-validation','--plaintext\x20<text>','subcommandDescription','LLM\x20project\x20management','Options:','--rule-file\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','claude\x20[args...]','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','push\x20[path]','--parent-folder\x20<name>','Campaign\x20management','buildTime','Usage:\x20','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','-o,\x20--output\x20<file>','attempt','gitRevision','long','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Enable\x20UTM\x20tracking','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','\x20-\x20built\x20','Master\x20table\x20name','Invalid\x20--limit\x20value:\x20\x22','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Add\x20attributes\x20from\x20JSON\x20file','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Access\x20control\x20policy\x20commands','--revision\x20<revision>','optionTerm','always-on-campaigns\x20[pattern]','settings\x20<type>','Name\x20for\x20the\x20duplicated\x20campaign','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','padEnd','session','--email-sender-id\x20<id>','Skip\x20population\x20counting','delete\x20<project-name-or-id>','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','Set\x20a\x20profile\x20configuration\x20value','Timezone\x20for\x20cron\x20(default:\x20UTC)','Arguments:','--editor-type\x20<type>','templates\x20[pattern]','database','Duplicate\x20an\x20always-on\x20campaign','Force\x20retry\x20even\x20if\x20not\x20failed','segments\x20[path]','--no-eval','Job\x20priority\x20(-2\x20to\x202)','Agent\x20prompt/instructions','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','--table\x20<table>','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','chats','tasks','configureHelp','List\x20journeys\x20in\x20current\x20context','--customer-group-file\x20<file>','--to\x20<n>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','List\x20available\x20connector\x20types','stats\x20<name-or-path>','Start\x20time\x20filter\x20(ISO\x208601\x20format)','--full','--format\x20<format>','--limit\x20<number>','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','--path\x20<file-path>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','\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','--include-stats','--add-behaviors-file\x20<file>','desc','--attempt-id\x20<id>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Workspace\x20name\x20(required)','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Push\x20without\x20confirmation','--limit\x20<n>','subcommandTerm','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Show\x20campaign\x20details','Trino\x20catalog\x20(default:\x20td)','argv','alias','Request\x20body\x20as\x20JSON\x20string','site','download\x20<project-name>\x20[output-dir]','Open\x20parent\x20segment\x20in\x20web\x20browser','Database\x20management\x20commands','Export\x20journey(s)\x20as\x20YAML\x20files','tsv','jsonl','Create\x20a\x20new\x20LLM\x20project','--description\x20<desc>','Email\x20template\x20management','--schedule-option\x20<value>','Login\x20via\x20OAuth\x20(dev\x20sites\x20only)','Add\x20behaviors\x20from\x20JSON\x20file','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','--name\x20<new-name>','Create\x20a\x20new\x20always-on\x20campaign','-1d','command','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Show\x20the\x20most\x20recent\x20chat','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','use\x20<name>','secrets','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','help','history\x20<name>','Database\x20to\x20query\x20(default:\x20information_schema)','engage_workspace','attempt:','Update\x20an\x20always-on\x20campaign','options','pause\x20<name-or-path>','LLM\x20project\x20to\x20use\x20(overrides\x20context)','stdout','directory','\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','includes','Add\x20behaviors\x20as\x20JSON\x20string','-r,\x20--recursive','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','push','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','update\x20<segment_name>','journeys\x20[pattern]','Query\x20type:\x20trino\x20or\x20hive','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','--attributes\x20<json>','Filtering\x20rule\x20as\x20JSON\x20string','flatMap','--session-id\x20<id>','--next','delete\x20<name>','Delete\x20an\x20LLM\x20project','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Campaign\x20description','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','--num\x20<1-10>','databases\x20[pattern]','create\x20<name-or-path>','Maximum\x20number\x20of\x20nodes','Pause\x20a\x20running\x20journey','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','Parse\x20and\x20validate\x20without\x20executing','\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','Starter\x20message','Setup\x20API\x20key\x20authentication\x20interactively','run\x20[workflow]','Always-on\x20campaign\x20management','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','error','trino','-u,\x20--use','delete\x20<args...>','name','flags','Show\x20journey\x20table\x20column-to-step\x20mapping','required','--result\x20<url>','show\x20<agent-name>','--html-file\x20<path>','--in\x20<db>','Start\x20a\x20new\x20chat\x20session','logLevel','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','_hidden','Show\x20journey\x20details','--follow','Project\x20description','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Alias\x20for\x20--database\x20(natural\x20language\x20style)','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','info\x20[segment_name]','Change\x20to\x20directory\x20before\x20executing\x20command','Validate\x20template\x20YAML\x20files\x20locally','Show\x20workspace\x20details','INVALID_ARGUMENT','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','8AIuTpH','1078386jXrAxd','describe\x20[table]','upgrade\x20[version]','split','--include-retried','Set\x20operation\x20timeout\x20in\x20seconds','table','Read\x20HTML\x20template\x20from\x20file','List\x20email\x20senders','Pull\x20specific\x20template\x20by\x20name','Retry\x20limit\x20(0\x20to\x2032)','--version','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','argumentDescription','Show\x20stats\x20for\x20specific\x20stage','Include\x20execution\x20statistics','show\x20[table]','--model\x20<name>','--params\x20<json>','--attribute\x20[name]','Check\x20for\x20updates\x20without\x20installing','--stream','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','pull\x20[workspace]','Path\x20is\x20not\x20a\x20directory:\x20','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','--from\x20<n>','Campaign\x20type\x20(email\x20or\x20push)','commandDescription','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','sql\x20[segment_name]','projects\x20[pattern]','Show\x20segment\x20schema\x20(column\x20types)','join','push\x20[file]','--from-task\x20<task>','run\x20<name>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','-w,\x20--web','Update\x20an\x20email\x20template','schema\x20<type>','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','grapesjs','Job\x20management\x20commands','workspace','Pull\x20templates\x20to\x20YAML\x20files','pause\x20<name-or-id>','delete\x20<name-or-id>','opts','HTML\x20template\x20content','duplicate\x20<name-or-id>','--jsonl','-f,\x20--force','--time\x20<iso8601>','create\x20<name>','description','Workspace\x20name','Clear\x20workflow\x20project\x20context','Launch\x20an\x20always-on\x20campaign','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','--reeval','--from\x20<timestamp>','folder','fields\x20[name]','LLM\x20agent\x20management','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Show\x20schedule\x20details','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','--help','-r,\x20--resume','llm','show\x20<name>','--master','-n,\x20--name\x20<name>','Ending\x20offset\x20(default:\x2020)','--interval\x20<range>','--timezone\x20<tz>','registeredArguments','list\x20[pattern]','Resume\x20a\x20paused\x20campaign','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','pull\x20[name]','[DEPRECATED]\x20Segment\x20folder\x20management','map','--from\x20<date>','accessToken','-a,\x20--agent\x20<name>','Personalization\x20service\x20management','Output\x20file\x20path\x20(default:\x20<name>.yml)','--session\x20<id>','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Output\x20as\x20JSON\x20Lines','Validate\x20journey\x20YAML\x20files\x20locally','summary','commandUsage','Enable\x20verbose\x20logging','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Maximum\x20tool\x20iterations\x20(default:\x204)','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','activations\x20<segment_name>','outputHelp','template','Remove\x20API\x20key\x20from\x20system\x20keychain','engage','2467305URRGbu','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','Move\x20to\x20folder','clone\x20[source-dir]','allowExcessArguments','validate\x20[target]','--name\x20<text>','Show\x20master\x20table\x20sample\x20data','preAction','segment','stderr','-f,\x20--file\x20<path>'];a2_0x467e=function(){return _0x444695;};return a2_0x467e();}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';function a2_0x5251(_0xd03a8e,_0x5939ec){_0xd03a8e=_0xd03a8e-0x136;const _0x467ea0=a2_0x467e();let _0x52514e=_0x467ea0[_0xd03a8e];return _0x52514e;}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{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-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_0x382dad(0x26c)][a2_0x382dad(0x294)](a2_0x382dad(0x2dd))){let versionOutput=a2_0x382dad(0x165)+currentVersion;buildInfo['gitRevision']&&!currentVersion[a2_0x382dad(0x294)](buildInfo[a2_0x382dad(0x226)])&&(versionOutput+='\x20('+buildInfo[a2_0x382dad(0x226)]+')'),buildInfo[a2_0x382dad(0x220)]&&(versionOutput+=a2_0x382dad(0x22b)+buildInfo['buildTime']),console['log'](versionOutput),process[a2_0x382dad(0x1dd)](0x0);}const program=new Command();export function mergeCommandOptions(_0x1e2a13,_0x56016d){const _0x411305=a2_0x382dad,_0x21ad82={..._0x1e2a13};for(const [_0x3afdf7,_0x433e53]of Object[_0x411305(0x3b9)](_0x56016d)){_0x433e53!==undefined&&(_0x21ad82[_0x3afdf7]=_0x433e53);}return _0x21ad82;}let showBriefHelp=![],description=a2_0x382dad(0x1ec);buildInfo[a2_0x382dad(0x226)]&&!currentVersion[a2_0x382dad(0x294)](buildInfo[a2_0x382dad(0x226)])?description+=',\x20version\x20'+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=',\x20version\x20'+currentVersion;program[a2_0x382dad(0x2b9)](a2_0x382dad(0x364))[a2_0x382dad(0x309)](description),program[a2_0x382dad(0x396)](a2_0x382dad(0x389),a2_0x382dad(0x2cc))[a2_0x382dad(0x396)](a2_0x382dad(0x371),a2_0x382dad(0x22a))[a2_0x382dad(0x396)]('--site\x20<site>',a2_0x382dad(0x1a9),a2_0x382dad(0x3d0))[a2_0x382dad(0x396)](a2_0x382dad(0x259),a2_0x382dad(0x175))[a2_0x382dad(0x396)](a2_0x382dad(0x382),a2_0x382dad(0x1a3))[a2_0x382dad(0x396)](a2_0x382dad(0x168),a2_0x382dad(0x181))[a2_0x382dad(0x396)]('--jsonl',a2_0x382dad(0x2e8))[a2_0x382dad(0x396)]('--tsv',a2_0x382dad(0x36d))[a2_0x382dad(0x396)](a2_0x382dad(0x3ef),'Save\x20output\x20to\x20file')[a2_0x382dad(0x396)](a2_0x382dad(0x25a),a2_0x382dad(0x354))[a2_0x382dad(0x396)](a2_0x382dad(0x3a8),a2_0x382dad(0x228),![])[a2_0x382dad(0x396)]('--no-color',a2_0x382dad(0x34b),![])[a2_0x382dad(0x396)](a2_0x382dad(0x407),a2_0x382dad(0x334),![])['option']('--debug',a2_0x382dad(0x3ff))['option']('--trace',a2_0x382dad(0x3d7))[a2_0x382dad(0x396)]('--timeout\x20<seconds>',a2_0x382dad(0x2d7),'30')[a2_0x382dad(0x396)](a2_0x382dad(0x13a),a2_0x382dad(0x3cd),![])['option'](a2_0x382dad(0x3f0),a2_0x382dad(0x363),![])[a2_0x382dad(0x396)](a2_0x382dad(0x32e),a2_0x382dad(0x337))[a2_0x382dad(0x396)](a2_0x382dad(0x391),a2_0x382dad(0x3dd))['option'](a2_0x382dad(0x34f),a2_0x382dad(0x28f)),program[a2_0x382dad(0x250)]({'formatHelp':(_0x597fb8,_0x4e4219)=>{const _0x3526fa=a2_0x382dad,_0x56690f=_0x4e4219[_0x3526fa(0x1d5)](_0x597fb8,_0x4e4219),_0x4f7258=0x2,_0x5b2912=0x2;function _0xd0f7f8(_0x12292b){const _0x21a6b6=_0x3526fa,_0x339cce=_0x12292b;return!!(_0x339cce[_0x21a6b6(0x2c4)]||_0x339cce[_0x21a6b6(0x13d)]);}function _0x4d5ab6(_0x2b6e9d,_0x610ed0){const _0x5ee01d=_0x3526fa;if(_0x610ed0){const _0x1ffc5f=''+_0x2b6e9d[_0x5ee01d(0x239)](_0x56690f+_0x5b2912)+_0x610ed0;return _0x1ffc5f;}return _0x2b6e9d;}function _0x59c9e6(_0x52b943){const _0x2378dc=_0x3526fa;return _0x52b943[_0x2378dc(0x2f3)]('\x0a')['replace'](/^/gm,'\x20'[_0x2378dc(0x370)](_0x4f7258));}const _0x313754=[];_0x313754[_0x3526fa(0x298)](_0x3526fa(0x221)+_0x4e4219[_0x3526fa(0x333)](_0x597fb8));const _0x519ed9=_0x4e4219[_0x3526fa(0x2ee)](_0x597fb8);_0x519ed9&&(_0x313754[_0x3526fa(0x298)](''),_0x313754['push'](_0x519ed9));const _0x3b34d8=_0x597fb8[_0x3526fa(0x3e1)][_0x3526fa(0x1c1)](_0x422d39=>!_0xd0f7f8(_0x422d39));if(_0x3b34d8[_0x3526fa(0x1cb)]>0x0){if(_0x597fb8[_0x3526fa(0x2b9)]()===_0x3526fa(0x364)){const _0x57f443=_0x597fb8[_0x3526fa(0x302)](),_0xcabc44=!_0x57f443['noColor']&&process[_0x3526fa(0x290)][_0x3526fa(0x3f5)],_0x28266d=COMMAND_CATEGORIES,_0x472996=(_0x1fda06,_0x126bbd)=>_0xcabc44?_0x126bbd(_0x1fda06):_0x1fda06,_0x477fdf=new Map();_0x3b34d8[_0x3526fa(0x35b)](_0x492f2d=>{const _0x41ea33=_0x3526fa;_0x477fdf[_0x41ea33(0x1a2)](_0x492f2d[_0x41ea33(0x2b9)](),_0x492f2d);}),_0x28266d[_0x3526fa(0x35b)](_0x5db6f6=>{const _0x17ce6e=_0x3526fa,_0x35e708=_0x5db6f6['commands'][_0x17ce6e(0x2a0)](_0x588141=>_0x477fdf['get'](_0x588141)??[]);if(_0x35e708[_0x17ce6e(0x1cb)]>0x0){_0x313754['push'](''),_0x313754[_0x17ce6e(0x298)](_0x472996(_0x5db6f6[_0x17ce6e(0x2b9)]+':',_0x5db6f6[_0x17ce6e(0x155)]));const _0xf1f3c3=_0x35e708[_0x17ce6e(0x328)](_0x219bc0=>{const _0x589b7e=_0x17ce6e,_0x2a5c52=_0x4e4219[_0x589b7e(0x268)](_0x219bc0),_0x5a8891=_0x4e4219['subcommandDescription'](_0x219bc0);return _0x4d5ab6(_0x2a5c52,_0x5a8891);});_0x313754[_0x17ce6e(0x298)](_0x59c9e6(_0xf1f3c3));}}),_0x313754[_0x3526fa(0x298)](''),_0x313754['push'](_0x3526fa(0x3be));}else{const _0xdaa0c1=_0x3b34d8[_0x3526fa(0x328)](_0x2495ae=>{const _0x2a4dc8=_0x3526fa,_0x3e308a=_0x4e4219[_0x2a4dc8(0x268)](_0x2495ae),_0x3e75fb=_0x4e4219[_0x2a4dc8(0x215)](_0x2495ae);return _0x4d5ab6(_0x3e308a,_0x3e75fb);});_0x313754['push'](''),_0x313754['push'](_0x3526fa(0x203)),_0x313754[_0x3526fa(0x298)](_0x59c9e6(_0xdaa0c1));}}if(showBriefHelp&&_0x597fb8['name']()===_0x3526fa(0x364))_0x313754['push'](''),_0x313754['push'](_0x3526fa(0x2ad));else{const _0x462fb7=_0x597fb8['options'][_0x3526fa(0x1c1)](_0xdd349b=>!_0xd0f7f8(_0xdd349b));if(_0x462fb7[_0x3526fa(0x1cb)]>0x0){const _0x278b76=_0x462fb7[_0x3526fa(0x328)](_0x258adc=>{const _0x5c1fcd=_0x3526fa,_0x2bf899=_0x4e4219[_0x5c1fcd(0x234)](_0x258adc),_0x4e906c=_0x4e4219['optionDescription'](_0x258adc);return _0x4d5ab6(_0x2bf899,_0x4e906c);});_0x313754[_0x3526fa(0x298)](''),_0x313754[_0x3526fa(0x298)](_0x3526fa(0x217)),_0x313754[_0x3526fa(0x298)](_0x59c9e6(_0x278b76));}}const _0x566786=(_0x597fb8['registeredArguments']||[])[_0x3526fa(0x1c1)](_0x4d9962=>!_0xd0f7f8(_0x4d9962));if(_0x566786[_0x3526fa(0x1cb)]>0x0){const _0x362744=_0x566786[_0x3526fa(0x328)](_0x17af07=>{const _0x252205=_0x3526fa,_0x17cbb9=_0x4e4219['argumentTerm'](_0x17af07),_0x27718e=_0x4e4219[_0x252205(0x2df)](_0x17af07);return _0x4d5ab6(_0x17cbb9,_0x27718e);});_0x313754[_0x3526fa(0x298)](''),_0x313754[_0x3526fa(0x298)](_0x3526fa(0x241)),_0x313754['push'](_0x59c9e6(_0x362744));}return _0x313754[_0x3526fa(0x2f3)]('\x0a')+'\x0a';},'subcommandTerm':_0xe76ced=>{const _0x55d555=a2_0x382dad,_0x3d29a5=(_0xe76ced[_0x55d555(0x321)]||[])[_0x55d555(0x328)](_0x3dd33c=>_0x3dd33c[_0x55d555(0x2bc)]?'<'+_0x3dd33c[_0x55d555(0x2b9)]()+'>':'['+_0x3dd33c[_0x55d555(0x2b9)]()+']')[_0x55d555(0x2f3)]('\x20'),_0x591b44=_0xe76ced[_0x55d555(0x1c2)](),_0x3783ee=_0x591b44[_0x55d555(0x1cb)]>0x0?_0xe76ced[_0x55d555(0x2b9)]()+',\x20'+_0x591b44[_0x55d555(0x2f3)](',\x20'):_0xe76ced[_0x55d555(0x2b9)]();return _0x3d29a5?_0x3783ee+'\x20'+_0x3d29a5:_0x3783ee;}}),program[a2_0x382dad(0x1fc)](a2_0x382dad(0x345),_0x179540=>{const _0x2788d2=a2_0x382dad,_0x111fb0=_0x179540[_0x2788d2(0x302)]();if(_0x111fb0['directory']){const _0x105a7e=resolve(_0x111fb0[_0x2788d2(0x291)]),_0x1005ce=_0x105a7e!==_0x111fb0[_0x2788d2(0x291)]?'\x20(resolved\x20to\x20'+_0x105a7e+')':'';if(!existsSync(_0x105a7e))throw new SDKError(ErrorCode[_0x2788d2(0x2cf)],_0x2788d2(0x355)+_0x111fb0[_0x2788d2(0x291)]+_0x1005ce,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x134428=statSync(_0x105a7e);if(!_0x134428['isDirectory']())throw new SDKError(ErrorCode[_0x2788d2(0x2cf)],_0x2788d2(0x2ea)+_0x111fb0['directory']+_0x1005ce,undefined,{'helpText':_0x2788d2(0x143)});process[_0x2788d2(0x3f2)](_0x105a7e);}if(!_0x111fb0[_0x2788d2(0x374)]){if(_0x111fb0['table'])_0x111fb0[_0x2788d2(0x374)]=_0x2788d2(0x2d8);else{if(_0x111fb0[_0x2788d2(0x3d4)])_0x111fb0[_0x2788d2(0x374)]=_0x2788d2(0x3d4);else{if(_0x111fb0[_0x2788d2(0x275)])_0x111fb0[_0x2788d2(0x374)]=_0x2788d2(0x275);else _0x111fb0['tsv']&&(_0x111fb0[_0x2788d2(0x374)]=_0x2788d2(0x274));}}}if(_0x111fb0['trace'])_0x111fb0[_0x2788d2(0x2c2)]=LogLevel['TRACE'];else{if(_0x111fb0['debug'])_0x111fb0[_0x2788d2(0x2c2)]=LogLevel[_0x2788d2(0x1a4)];else _0x111fb0[_0x2788d2(0x2c2)]===undefined&&(_0x111fb0['logLevel']=LogLevel[_0x2788d2(0x3e5)]);}});async function createTDXInstance(_0x3ac83f){const _0x50b3c6=a2_0x382dad,_0x18db72=await GlobalContext[_0x50b3c6(0x1e2)](_0x3ac83f);return _0x18db72['injectIntoOptions'](_0x3ac83f),TDX[_0x50b3c6(0x3f6)]({'site':_0x18db72[_0x50b3c6(0x26f)],'apiKey':_0x18db72['apiKey'],'accessToken':_0x18db72[_0x50b3c6(0x32a)],'logLevel':_0x18db72[_0x50b3c6(0x2c2)],'profile':_0x18db72[_0x50b3c6(0x1c9)]});}const databaseCmd=program['command'](a2_0x382dad(0x244))[a2_0x382dad(0x26d)]('db')[a2_0x382dad(0x309)](a2_0x382dad(0x272)),databaseListAction=async(_0x1c4303,_0xbe2e6e)=>{const _0x1d0954=a2_0x382dad,_0x206e71=new DatabasesCommand(),_0x3417c9=program[_0x1d0954(0x302)](),_0xd22772=await createTDXInstance(_0x3417c9),_0x16aa91=await _0x206e71[_0x1d0954(0x172)]({'options':{..._0x3417c9,..._0xbe2e6e},'args':_0x1c4303?[_0x1c4303]:[],'tdx':_0xd22772});gracefulExit(_0x16aa91);};databaseCmd[a2_0x382dad(0x280)]('list\x20[pattern]')[a2_0x382dad(0x309)](a2_0x382dad(0x3ac))[a2_0x382dad(0x17e)](databaseListAction),program[a2_0x382dad(0x280)](a2_0x382dad(0x2a9),{'hidden':!![]})[a2_0x382dad(0x309)]('List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)')[a2_0x382dad(0x17e)](databaseListAction),program[a2_0x382dad(0x280)](a2_0x382dad(0x38b))[a2_0x382dad(0x309)]('Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)')[a2_0x382dad(0x396)]('--agent\x20<ref>',a2_0x382dad(0x231))[a2_0x382dad(0x396)]('--new',a2_0x382dad(0x2c1))[a2_0x382dad(0x396)](a2_0x382dad(0x153),a2_0x382dad(0x18d))[a2_0x382dad(0x396)](a2_0x382dad(0x2e7),a2_0x382dad(0x200))['action'](async(_0x57ff23,_0x2c592a)=>{const _0x217c09=a2_0x382dad,_0x4c0cb4=program[_0x217c09(0x302)](),_0xede68=await createTDXInstance(_0x4c0cb4);if(_0x57ff23[0x0]==='create'){const _0x173243=new ChatCreateCommand();gracefulExit(await _0x173243[_0x217c09(0x172)]({'options':{..._0x4c0cb4,..._0x2c592a},'args':_0x57ff23[_0x217c09(0x1b5)](0x1),'tdx':_0xede68}));return;}const _0x13462e=new ChatCommand(),_0x36df0d=await _0x13462e[_0x217c09(0x172)]({'options':{..._0x4c0cb4,..._0x2c592a},'args':_0x57ff23,'tdx':_0xede68});gracefulExit(_0x36df0d);});const apiCmd=program[a2_0x382dad(0x280)](a2_0x382dad(0x359))[a2_0x382dad(0x332)](a2_0x382dad(0x206))[a2_0x382dad(0x1ba)](a2_0x382dad(0x350),a2_0x382dad(0x292))[a2_0x382dad(0x396)](a2_0x382dad(0x1a0),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a2_0x382dad(0x380))['option'](a2_0x382dad(0x15a),a2_0x382dad(0x26e))['option']('-f,\x20--file\x20<path>',a2_0x382dad(0x1d9))['option'](a2_0x382dad(0x3cc),a2_0x382dad(0x209),(_0x585268,_0x24da9d)=>{return _0x24da9d?[..._0x24da9d,_0x585268]:[_0x585268];})[a2_0x382dad(0x396)](a2_0x382dad(0x369),'API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')[a2_0x382dad(0x17e)](async(_0xecd813,_0x14406b)=>{const _0x297c3e=a2_0x382dad;if(!_0xecd813){apiCmd[_0x297c3e(0x287)]();return;}const _0x1fec00=new ApiCommand(),_0x175bd8=program[_0x297c3e(0x302)](),_0x40f7d7=await createTDXInstance(_0x175bd8),_0x2744b7=await _0x1fec00[_0x297c3e(0x172)]({'options':{..._0x175bd8,..._0x14406b},'args':[_0xecd813],'tdx':_0x40f7d7});gracefulExit(_0x2744b7);});program['command'](a2_0x382dad(0x34a))[a2_0x382dad(0x309)]('Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration')[a2_0x382dad(0x1ba)]('after',a2_0x382dad(0x219))[a2_0x382dad(0x17e)](async _0x501572=>{const _0x367e9f=a2_0x382dad,_0x1777cd=new MCPCommand(),_0x4aaa24=program[_0x367e9f(0x302)](),_0x1f4849=await createTDXInstance(_0x4aaa24),_0x23aea3=await _0x1777cd[_0x367e9f(0x172)]({'options':{..._0x4aaa24,..._0x501572},'args':[],'tdx':_0x1f4849});gracefulExit(_0x23aea3);});const tableCmd=program['command'](a2_0x382dad(0x2d8))[a2_0x382dad(0x309)](a2_0x382dad(0x140)),tableListAction=async(_0x40ba17,_0x36583e)=>{const _0x3f1177=a2_0x382dad,_0xb9b9ac=new TablesCommand(),_0x8d8599=program[_0x3f1177(0x302)](),_0x5cf26=await createTDXInstance(_0x8d8599);_0x36583e['in']&&(_0x36583e[_0x3f1177(0x244)]=_0x36583e['in']);const _0x208bef=await _0xb9b9ac[_0x3f1177(0x172)]({'options':{..._0x8d8599,..._0x36583e},'args':_0x40ba17?[_0x40ba17]:[],'tdx':_0x5cf26});gracefulExit(_0x208bef);};tableCmd['command']('list\x20[pattern]')[a2_0x382dad(0x309)]('List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)')[a2_0x382dad(0x396)](a2_0x382dad(0x19d),a2_0x382dad(0x3b2))[a2_0x382dad(0x396)](a2_0x382dad(0x3a9),a2_0x382dad(0x2c9))['action'](tableListAction),program[a2_0x382dad(0x280)]('tables\x20[pattern]',{'hidden':!![]})['description']('List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)')[a2_0x382dad(0x396)]('-d,\x20--database\x20<database>',a2_0x382dad(0x3b2))[a2_0x382dad(0x396)]('--in\x20<database>',a2_0x382dad(0x2c9))[a2_0x382dad(0x17e)](tableListAction),program['command'](a2_0x382dad(0x2e2))[a2_0x382dad(0x309)](a2_0x382dad(0x315))['option']('-d,\x20--database\x20<database>',a2_0x382dad(0x381))[a2_0x382dad(0x396)](a2_0x382dad(0x3a9),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x382dad(0x17e)](async(_0x6d3de5,_0x2bfd47)=>{const _0x532b15=a2_0x382dad,_0x3ff63c=new ShowCommand(),_0x413ba2=program['opts'](),_0x2e6b13=await createTDXInstance(_0x413ba2);_0x2bfd47['in']&&(_0x2bfd47[_0x532b15(0x244)]=_0x2bfd47['in']);const _0x584dac=await _0x3ff63c['run']({'options':{..._0x413ba2,..._0x2bfd47},'args':_0x6d3de5?[_0x6d3de5]:[],'tdx':_0x2e6b13});gracefulExit(_0x584dac);}),program['command'](a2_0x382dad(0x2d3))[a2_0x382dad(0x26d)](a2_0x382dad(0x261))[a2_0x382dad(0x309)]('Describe\x20table\x20schema')[a2_0x382dad(0x396)](a2_0x382dad(0x19d),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')['option'](a2_0x382dad(0x3a9),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](async(_0x48048e,_0x41ac83)=>{const _0x38af42=a2_0x382dad,_0x4501a9=new DescribeCommand(),_0x386c23=program['opts'](),_0x1dfb38=await createTDXInstance(_0x386c23);_0x41ac83['in']&&(_0x41ac83[_0x38af42(0x244)]=_0x41ac83['in']);const _0x5e9be8=await _0x4501a9[_0x38af42(0x172)]({'options':{..._0x386c23,..._0x41ac83},'args':_0x48048e?[_0x48048e]:[],'tdx':_0x1dfb38});gracefulExit(_0x5e9be8);}),program['command']('query\x20[sql]')[a2_0x382dad(0x309)](a2_0x382dad(0x3f4))['option']('-d,\x20--database\x20<database>',a2_0x382dad(0x289))[a2_0x382dad(0x396)](a2_0x382dad(0x3a9),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x382dad(0x396)](a2_0x382dad(0x3c2),a2_0x382dad(0x26b))[a2_0x382dad(0x396)](a2_0x382dad(0x348),a2_0x382dad(0x3e4))[a2_0x382dad(0x396)]('--limit\x20<rows>',a2_0x382dad(0x349))[a2_0x382dad(0x17e)](async(_0x42e7fa,_0x5bf5df)=>{const _0x447670=a2_0x382dad,_0x170a75=new QueryCommand(),_0x2ab539=program[_0x447670(0x302)](),_0x4e1518=await createTDXInstance(_0x2ab539);_0x5bf5df['in']&&(_0x5bf5df[_0x447670(0x244)]=_0x5bf5df['in']);const _0x5e18a6=await _0x170a75[_0x447670(0x172)]({'options':mergeCommandOptions(_0x2ab539,_0x5bf5df),'args':_0x42e7fa?[_0x42e7fa]:[],'tdx':_0x4e1518});gracefulExit(_0x5e18a6);});const segmentCmd=program[a2_0x382dad(0x280)](a2_0x382dad(0x346))[a2_0x382dad(0x26d)]('sg')[a2_0x382dad(0x309)]('CDP\x20segment\x20management\x20commands'),segmentListAction=async(_0x821ce5,_0x2820a9)=>{const _0x39cd12=a2_0x382dad,_0x1e0080=new SegmentsCommand(),_0x52ca1c=program[_0x39cd12(0x302)](),_0x19be40=await createTDXInstance(_0x52ca1c),_0x5d8fb6=await _0x1e0080[_0x39cd12(0x172)]({'options':{..._0x52ca1c,..._0x2820a9},'args':_0x821ce5?[_0x821ce5]:[],'tdx':_0x19be40});gracefulExit(_0x5d8fb6);};segmentCmd['command'](a2_0x382dad(0x212))[a2_0x382dad(0x309)](a2_0x382dad(0x15e))[a2_0x382dad(0x396)]('-r,\x20--recursive',a2_0x382dad(0x182))[a2_0x382dad(0x396)](a2_0x382dad(0x393),a2_0x382dad(0x3a3),'10')[a2_0x382dad(0x17e)](segmentListAction),program[a2_0x382dad(0x280)](a2_0x382dad(0x247),{'hidden':!![]})[a2_0x382dad(0x309)](a2_0x382dad(0x222))[a2_0x382dad(0x396)](a2_0x382dad(0x296),a2_0x382dad(0x182))[a2_0x382dad(0x396)]('--max-depth\x20<depth>',a2_0x382dad(0x3a3),'10')['action'](segmentListAction),segmentCmd[a2_0x382dad(0x280)](a2_0x382dad(0x372),{'hidden':!![]})['description'](a2_0x382dad(0x14b))[a2_0x382dad(0x17e)](async(_0x4f9031,_0x3c3bf8)=>{const _0x55c4b3=a2_0x382dad,_0x5bda9d=new SegmentUseCommand(),_0x17bf8f=program[_0x55c4b3(0x302)](),_0x4b0889=await createTDXInstance(_0x17bf8f),_0x729dc4=await _0x5bda9d[_0x55c4b3(0x172)]({'options':{..._0x17bf8f,..._0x3c3bf8},'args':[_0x4f9031],'tdx':_0x4b0889});gracefulExit(_0x729dc4);});const segmentViewAction=async(_0x261379,_0x24549a)=>{const _0x3834ec=a2_0x382dad,_0x1124aa=new SegmentViewCommand(),_0x20c59f=program[_0x3834ec(0x302)](),_0x1fdebf=await createTDXInstance(_0x20c59f),_0x1788ff=await _0x1124aa[_0x3834ec(0x172)]({'options':{..._0x20c59f,..._0x24549a},'args':_0x261379?[_0x261379]:[],'tdx':_0x1fdebf});gracefulExit(_0x1788ff);};segmentCmd[a2_0x382dad(0x280)]('view\x20[segment_name]')[a2_0x382dad(0x309)](a2_0x382dad(0x1e1))[a2_0x382dad(0x396)]('-w,\x20--web','Open\x20segment\x20in\x20web\x20browser')[a2_0x382dad(0x17e)](segmentViewAction),segmentCmd[a2_0x382dad(0x280)](a2_0x382dad(0x2cb),{'hidden':!![]})[a2_0x382dad(0x26d)](a2_0x382dad(0x1cd))[a2_0x382dad(0x396)](a2_0x382dad(0x2f8),'Open\x20segment\x20in\x20web\x20browser')[a2_0x382dad(0x309)](a2_0x382dad(0x1f1))[a2_0x382dad(0x17e)](segmentViewAction),segmentCmd[a2_0x382dad(0x280)](a2_0x382dad(0x164))[a2_0x382dad(0x309)](a2_0x382dad(0x2f2))[a2_0x382dad(0x17e)](async(_0x2232c5,_0x41e748)=>{const _0x1c50bb=a2_0x382dad,_0x1b276a=new SegmentDescCommand(),_0x56029c=program[_0x1c50bb(0x302)](),_0x45bd54=await createTDXInstance(_0x56029c),_0x28f7b1=await _0x1b276a[_0x1c50bb(0x172)]({'options':{..._0x56029c,..._0x41e748},'args':_0x2232c5?[_0x2232c5]:[],'tdx':_0x45bd54});gracefulExit(_0x28f7b1);}),segmentCmd[a2_0x382dad(0x280)](a2_0x382dad(0x202))[a2_0x382dad(0x309)]('Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x382dad(0x17e)](async(_0x2c2f1f,_0x2e5523)=>{const _0x7ee5b6=a2_0x382dad,_0xd60bf3=new SegmentShowCommand(),_0x718ff5=program['opts'](),_0x1aae5d=await createTDXInstance(_0x718ff5),_0x4ef7cc=await _0xd60bf3[_0x7ee5b6(0x172)]({'options':{..._0x718ff5,..._0x2e5523},'args':_0x2c2f1f?[_0x2c2f1f]:[],'tdx':_0x1aae5d});gracefulExit(_0x4ef7cc);}),segmentCmd[a2_0x382dad(0x280)]('folders\x20<parent_name>',{'hidden':!![]})[a2_0x382dad(0x309)](a2_0x382dad(0x194))[a2_0x382dad(0x17e)](async(_0x57099e,_0x387007)=>{const _0x546afa=a2_0x382dad,_0x5de049=new SegmentFolderListCommand(),_0x48588d=program[_0x546afa(0x302)](),_0x2bee04=await createTDXInstance(_0x48588d),_0x5171d1=await _0x5de049[_0x546afa(0x172)]({'options':{..._0x48588d,..._0x387007},'args':[_0x57099e],'tdx':_0x2bee04});gracefulExit(_0x5171d1);});const folderCmd=segmentCmd[a2_0x382dad(0x280)](a2_0x382dad(0x311),{'hidden':!![]})[a2_0x382dad(0x309)](a2_0x382dad(0x327));folderCmd[a2_0x382dad(0x280)]('show\x20<folder_ref>')[a2_0x382dad(0x309)](a2_0x382dad(0x357))['action'](async(_0x35948d,_0x46345c)=>{const _0x2d1dc2=a2_0x382dad,_0x4c3236=new SegmentFolderShowCommand(),_0x29b857=program[_0x2d1dc2(0x302)](),_0x27c40c=await createTDXInstance(_0x29b857),_0x1ce389=await _0x4c3236[_0x2d1dc2(0x172)]({'options':{..._0x29b857,..._0x46345c},'args':[_0x35948d],'tdx':_0x27c40c});gracefulExit(_0x1ce389);}),segmentCmd['command'](a2_0x382dad(0x2f0))[a2_0x382dad(0x309)](a2_0x382dad(0x3ad))['option'](a2_0x382dad(0x25c),a2_0x382dad(0x3dc))[a2_0x382dad(0x17e)](async(_0xbd80ba,_0x41959f)=>{const _0x17d7e9=a2_0x382dad,_0x242286=new SegmentSQLCommand(),_0x3592e0=program[_0x17d7e9(0x302)](),_0x211826=await createTDXInstance(_0x3592e0),_0x48d291=await _0x242286[_0x17d7e9(0x172)]({'options':{..._0x3592e0,..._0x41959f},'args':_0xbd80ba?[_0xbd80ba]:[],'tdx':_0x211826});gracefulExit(_0x48d291);}),segmentCmd[a2_0x382dad(0x280)](a2_0x382dad(0x1a7))[a2_0x382dad(0x309)](a2_0x382dad(0x3af))['action'](async(_0x2ca970,_0xe792d3)=>{const _0x452dee=a2_0x382dad,_0x50df94=new SegmentFieldsCommand(),_0x7f1e1a=program[_0x452dee(0x302)](),_0x134106=await createTDXInstance(_0x7f1e1a),_0xa3266c=await _0x50df94[_0x452dee(0x172)]({'options':{..._0x7f1e1a,..._0xe792d3},'args':_0x2ca970?[_0x2ca970]:[],'tdx':_0x134106});gracefulExit(_0xa3266c);}),segmentCmd[a2_0x382dad(0x280)]('pull\x20[parent_or_file]')[a2_0x382dad(0x309)](a2_0x382dad(0x16f))[a2_0x382dad(0x396)]('--dry-run',a2_0x382dad(0x1fb))['action'](async(_0x542297,_0x25f1f1)=>{const _0x4181a4=a2_0x382dad,_0x50c46a=new SegmentPullCommand(),_0xdc1e43=program[_0x4181a4(0x302)](),_0x2e1766=await createTDXInstance(_0xdc1e43),_0x2bd26f=await _0x50c46a[_0x4181a4(0x172)]({'options':{..._0xdc1e43,..._0x25f1f1},'args':_0x542297?[_0x542297]:[],'tdx':_0x2e1766});gracefulExit(_0x2bd26f);}),segmentCmd[a2_0x382dad(0x280)](a2_0x382dad(0x3b0))[a2_0x382dad(0x309)]('Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments')[a2_0x382dad(0x396)](a2_0x382dad(0x13a),a2_0x382dad(0x1fb))[a2_0x382dad(0x396)]('--delete','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)')[a2_0x382dad(0x17e)](async(_0x27959e,_0x35948a)=>{const _0x259194=a2_0x382dad,_0x4e71bf=new SegmentPushCommand(),_0x546415=program[_0x259194(0x302)](),_0x23b95a=await createTDXInstance(_0x546415),_0x5e896a=await _0x4e71bf[_0x259194(0x172)]({'options':{..._0x546415,..._0x35948a},'args':_0x27959e?[_0x27959e]:[],'tdx':_0x23b95a});gracefulExit(_0x5e896a);}),segmentCmd[a2_0x382dad(0x280)]('validate\x20[target]')[a2_0x382dad(0x309)](a2_0x382dad(0x1a1))[a2_0x382dad(0x17e)](async(_0xd5d361,_0x2a5017)=>{const _0x446279=a2_0x382dad,_0x3cf6f7=new SegmentValidateCommand(),_0xd7cdaf=program[_0x446279(0x302)](),_0x2f0d88=await createTDXInstance(_0xd7cdaf),_0x5654f7=await _0x3cf6f7[_0x446279(0x172)]({'options':{..._0xd7cdaf,..._0x2a5017},'args':_0xd5d361?[_0xd5d361]:[],'tdx':_0x2f0d88});gracefulExit(_0x5654f7);}),segmentCmd['command']('create\x20<segment_name>',{'hidden':!![]})[a2_0x382dad(0x309)](a2_0x382dad(0x14d))[a2_0x382dad(0x396)]('--description\x20<text>',a2_0x382dad(0x15b))[a2_0x382dad(0x396)](a2_0x382dad(0x3f7),a2_0x382dad(0x29f))[a2_0x382dad(0x396)](a2_0x382dad(0x218),'Filtering\x20rule\x20from\x20JSON\x20file')[a2_0x382dad(0x396)](a2_0x382dad(0x3bb),a2_0x382dad(0x148))[a2_0x382dad(0x396)](a2_0x382dad(0x3e9),a2_0x382dad(0x254))[a2_0x382dad(0x396)](a2_0x382dad(0x360),'Make\x20segment\x20invisible\x20(default:\x20visible)')['option'](a2_0x382dad(0x1c3),a2_0x382dad(0x23c))['action'](async(_0x2b1f50,_0x144e2e)=>{const _0x57173a=a2_0x382dad,_0x47f7b1=new SegmentCreateCommand(),_0x30d348=program[_0x57173a(0x302)](),_0x30c001=await createTDXInstance(_0x30d348),_0x567470=await _0x47f7b1[_0x57173a(0x172)]({'options':{..._0x30d348,..._0x144e2e},'args':[_0x2b1f50],'tdx':_0x30c001});gracefulExit(_0x567470);}),segmentCmd[a2_0x382dad(0x280)](a2_0x382dad(0x29a),{'hidden':!![]})[a2_0x382dad(0x309)](a2_0x382dad(0x1b8))['option'](a2_0x382dad(0x1aa),'New\x20segment\x20name')[a2_0x382dad(0x396)](a2_0x382dad(0x15d),a2_0x382dad(0x3a5))[a2_0x382dad(0x396)](a2_0x382dad(0x3f7),a2_0x382dad(0x1b0))['option'](a2_0x382dad(0x218),a2_0x382dad(0x2c3))[a2_0x382dad(0x396)]('--folder\x20<name>',a2_0x382dad(0x33f))[a2_0x382dad(0x396)]('--kind\x20<type>',a2_0x382dad(0x254))[a2_0x382dad(0x17e)](async(_0x4af6b3,_0x1f4cae)=>{const _0x1a5d4a=a2_0x382dad,_0x561702=new SegmentUpdateCommand(),_0x458a25=program[_0x1a5d4a(0x302)](),_0x38779e=await createTDXInstance(_0x458a25),_0x45b3d6=await _0x561702[_0x1a5d4a(0x172)]({'options':{..._0x458a25,..._0x1f4cae},'args':[_0x4af6b3],'tdx':_0x38779e});gracefulExit(_0x45b3d6);});const parentCmd=segmentCmd[a2_0x382dad(0x280)]('parent',{'hidden':!![]})[a2_0x382dad(0x309)](a2_0x382dad(0x265)),parentListAction=async(_0x13d3fd,_0x5c6d4c)=>{const _0x222507=a2_0x382dad,_0x950e2e=new ParentSegmentListCommand(),_0x4dddfa=program[_0x222507(0x302)](),_0x1c3058=await createTDXInstance(_0x4dddfa),_0x93c37b=await _0x950e2e[_0x222507(0x172)]({'options':{..._0x4dddfa,..._0x5c6d4c},'args':_0x13d3fd?[_0x13d3fd]:[],'tdx':_0x1c3058});gracefulExit(_0x93c37b);};parentCmd['command'](a2_0x382dad(0x322))[a2_0x382dad(0x309)](a2_0x382dad(0x3b4))[a2_0x382dad(0x17e)](parentListAction),segmentCmd[a2_0x382dad(0x280)]('parents\x20[pattern]',{'hidden':!![]})[a2_0x382dad(0x309)](a2_0x382dad(0x402))['action'](parentListAction),parentCmd[a2_0x382dad(0x280)]('pull\x20[name]')[a2_0x382dad(0x309)](a2_0x382dad(0x29d))[a2_0x382dad(0x396)](a2_0x382dad(0x224),a2_0x382dad(0x32d))['action'](async(_0x1e7fe6,_0x6bc914)=>{const _0x3d9f1d=a2_0x382dad,_0x47dbb9=new ParentSegmentPullCommand(),_0x3da97d=program[_0x3d9f1d(0x302)](),_0x1ca26a=await createTDXInstance(_0x3da97d),_0xd75212=await _0x47dbb9[_0x3d9f1d(0x172)]({'options':{..._0x3da97d,..._0x6bc914},'args':_0x1e7fe6?[_0x1e7fe6]:[],'tdx':_0x1ca26a});gracefulExit(_0xd75212);}),parentCmd[a2_0x382dad(0x280)](a2_0x382dad(0x2f4))[a2_0x382dad(0x309)](a2_0x382dad(0x3eb))['action'](async(_0x7d3418,_0x51aadd)=>{const _0xa09058=a2_0x382dad,_0x26b70a=new ParentSegmentPushCommand(),_0x3a169a=program['opts'](),_0x53baf9=await createTDXInstance(_0x3a169a),_0x231d22=await _0x26b70a[_0xa09058(0x172)]({'options':{..._0x3a169a,..._0x51aadd},'args':_0x7d3418?[_0x7d3418]:[],'tdx':_0x53baf9});gracefulExit(_0x231d22);}),parentCmd['command']('validate\x20[file]')['description'](a2_0x382dad(0x2b4))[a2_0x382dad(0x396)](a2_0x382dad(0x31c),a2_0x382dad(0x1a8))[a2_0x382dad(0x396)](a2_0x382dad(0x2e5),a2_0x382dad(0x3a6))[a2_0x382dad(0x396)]('--behavior\x20[name]',a2_0x382dad(0x184))[a2_0x382dad(0x396)](a2_0x382dad(0x3ca),a2_0x382dad(0x38a))[a2_0x382dad(0x396)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x382dad(0x27f))[a2_0x382dad(0x17e)](async(_0x3d06c1,_0x2ba7f5)=>{const _0x211a4c=a2_0x382dad,_0x25fdb1=new ParentSegmentValidateCommand(),_0x1b28ef=program[_0x211a4c(0x302)](),_0x1ab0ee=await createTDXInstance(_0x1b28ef),_0xf77cf9=await _0x25fdb1[_0x211a4c(0x172)]({'options':{..._0x1b28ef,..._0x2ba7f5},'args':_0x3d06c1?[_0x3d06c1]:[],'tdx':_0x1ab0ee});gracefulExit(_0xf77cf9);}),parentCmd[a2_0x382dad(0x280)](a2_0x382dad(0x3bf))['description']('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x382dad(0x396)](a2_0x382dad(0x31c),a2_0x382dad(0x344))[a2_0x382dad(0x396)](a2_0x382dad(0x2e5),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x382dad(0x396)](a2_0x382dad(0x1dc),a2_0x382dad(0x32f))[a2_0x382dad(0x396)](a2_0x382dad(0x3ca),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x382dad(0x396)](a2_0x382dad(0x31f),a2_0x382dad(0x159),a2_0x382dad(0x27f))[a2_0x382dad(0x17e)](async(_0x33a29b,_0x305e2e)=>{const _0x54f17e=a2_0x382dad,_0x26687b=new ParentSegmentPreviewCommand(),_0x418a18=program[_0x54f17e(0x302)](),_0x10b192=await createTDXInstance(_0x418a18),_0x3db437=await _0x26687b['run']({'options':{..._0x418a18,..._0x305e2e},'args':_0x33a29b?[_0x33a29b]:[],'tdx':_0x10b192});gracefulExit(_0x3db437);}),parentCmd['command'](a2_0x382dad(0x17a))['description'](a2_0x382dad(0x367))[a2_0x382dad(0x17e)](async(_0xb04927,_0x189118)=>{const _0x5af6c2=a2_0x382dad,_0x1e6467=new ParentSegmentRunCommand(),_0x4a4b3f=program[_0x5af6c2(0x302)](),_0x2e88b5=await createTDXInstance(_0x4a4b3f),_0x1efc82=await _0x1e6467[_0x5af6c2(0x172)]({'options':{..._0x4a4b3f,..._0x189118},'args':_0xb04927?[_0xb04927]:[],'tdx':_0x2e88b5});gracefulExit(_0x1efc82);});const parentSegmentCmd=program[a2_0x382dad(0x280)]('parent-segment')['alias']('ps')[a2_0x382dad(0x309)](a2_0x382dad(0x386));parentSegmentCmd[a2_0x382dad(0x280)](a2_0x382dad(0x322))[a2_0x382dad(0x309)](a2_0x382dad(0x3b4))[a2_0x382dad(0x17e)](parentListAction),parentSegmentCmd['command'](a2_0x382dad(0x326))[a2_0x382dad(0x309)](a2_0x382dad(0x3fc))[a2_0x382dad(0x396)]('-o,\x20--output\x20<file>','Output\x20file\x20path')[a2_0x382dad(0x396)](a2_0x382dad(0x2b7),'Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')[a2_0x382dad(0x17e)](async(_0x4fa5fe,_0x33fe1f)=>{const _0x16b49f=a2_0x382dad,_0x522f99=new ParentSegmentPullCommand(),_0x5be8ff=program[_0x16b49f(0x302)](),_0x7f2106=await createTDXInstance(_0x5be8ff),_0x59bc26=await _0x522f99[_0x16b49f(0x172)]({'options':{..._0x5be8ff,..._0x33fe1f},'args':_0x4fa5fe?[_0x4fa5fe]:[],'tdx':_0x7f2106});gracefulExit(_0x59bc26);}),parentSegmentCmd['command'](a2_0x382dad(0x1d2))[a2_0x382dad(0x309)](a2_0x382dad(0x25d))[a2_0x382dad(0x17e)](async(_0x52a71e,_0x19fc8c)=>{const _0x5b2c53=a2_0x382dad,_0x40e6f1=new ParentSegmentPushCommand(),_0x32bdac=program[_0x5b2c53(0x302)](),_0x284fc6=await createTDXInstance(_0x32bdac),_0x56552f=await _0x40e6f1['run']({'options':{..._0x32bdac,..._0x19fc8c},'args':_0x52a71e?[_0x52a71e]:[],'tdx':_0x284fc6});gracefulExit(_0x56552f);}),parentSegmentCmd[a2_0x382dad(0x280)](a2_0x382dad(0x376))['description'](a2_0x382dad(0x2b4))['option'](a2_0x382dad(0x31c),a2_0x382dad(0x1a8))['option'](a2_0x382dad(0x2e5),a2_0x382dad(0x3a6))[a2_0x382dad(0x396)](a2_0x382dad(0x1dc),a2_0x382dad(0x184))['option'](a2_0x382dad(0x3ca),a2_0x382dad(0x38a))[a2_0x382dad(0x396)]('--interval\x20<range>',a2_0x382dad(0x159),a2_0x382dad(0x27f))[a2_0x382dad(0x17e)](async(_0x27238f,_0xfacb89)=>{const _0x549d87=a2_0x382dad,_0x4977f4=new ParentSegmentValidateCommand(),_0x48330a=program[_0x549d87(0x302)](),_0x51803d=await createTDXInstance(_0x48330a),_0x28280d=await _0x4977f4[_0x549d87(0x172)]({'options':{..._0x48330a,..._0xfacb89},'args':_0x27238f?[_0x27238f]:[],'tdx':_0x51803d});gracefulExit(_0x28280d);}),parentSegmentCmd[a2_0x382dad(0x280)](a2_0x382dad(0x3fa))[a2_0x382dad(0x309)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x382dad(0x396)](a2_0x382dad(0x31c),a2_0x382dad(0x344))[a2_0x382dad(0x396)]('--attribute\x20[name]',a2_0x382dad(0x3fd))[a2_0x382dad(0x396)](a2_0x382dad(0x1dc),a2_0x382dad(0x32f))[a2_0x382dad(0x396)](a2_0x382dad(0x3ca),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')['option'](a2_0x382dad(0x31f),a2_0x382dad(0x159),a2_0x382dad(0x27f))[a2_0x382dad(0x17e)](async(_0x23f5cc,_0x24cf7b)=>{const _0x488d66=a2_0x382dad,_0x4cd37f=new ParentSegmentPreviewCommand(),_0x506e69=program[_0x488d66(0x302)](),_0x98899b=await createTDXInstance(_0x506e69),_0x554a86=await _0x4cd37f[_0x488d66(0x172)]({'options':{..._0x506e69,..._0x24cf7b},'args':_0x23f5cc?[_0x23f5cc]:[],'tdx':_0x98899b});gracefulExit(_0x554a86);}),parentSegmentCmd[a2_0x382dad(0x280)](a2_0x382dad(0x17a))[a2_0x382dad(0x309)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x382dad(0x17e)](async(_0x2e85a3,_0x55304d)=>{const _0x22e263=a2_0x382dad,_0x717336=new ParentSegmentRunCommand(),_0xd148a6=program[_0x22e263(0x302)](),_0x2610dd=await createTDXInstance(_0xd148a6),_0xed6fd4=await _0x717336[_0x22e263(0x172)]({'options':{..._0xd148a6,..._0x55304d},'args':_0x2e85a3?[_0x2e85a3]:[],'tdx':_0x2610dd});gracefulExit(_0xed6fd4);}),parentSegmentCmd[a2_0x382dad(0x280)](a2_0x382dad(0x312))[a2_0x382dad(0x309)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)')['option']('--json',a2_0x382dad(0x142))['option'](a2_0x382dad(0x305),a2_0x382dad(0x330))[a2_0x382dad(0x17e)](async(_0x2550b1,_0x26d020)=>{const _0x1311e8=a2_0x382dad,_0x5db845=new ParentSegmentFieldsCommand(),_0x397058=program[_0x1311e8(0x302)](),_0xd32e72=await createTDXInstance(_0x397058),_0x573138=await _0x5db845[_0x1311e8(0x172)]({'options':{..._0x397058,..._0x26d020},'args':_0x2550b1?[_0x2550b1]:[],'tdx':_0xd32e72});gracefulExit(_0x573138);}),parentSegmentCmd['command'](a2_0x382dad(0x1d8))['description']('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x382dad(0x396)](a2_0x382dad(0x2f8),a2_0x382dad(0x271))['option']('--json',a2_0x382dad(0x142))[a2_0x382dad(0x396)]('--jsonl',a2_0x382dad(0x330))[a2_0x382dad(0x17e)](async(_0x310807,_0x48f900)=>{const _0x5e95b9=a2_0x382dad,_0x4424f6=new ParentSegmentViewCommand(),_0x366dfe=program[_0x5e95b9(0x302)](),_0x4b3f08=await createTDXInstance(_0x366dfe),_0x3d0168=await _0x4424f6[_0x5e95b9(0x172)]({'options':{..._0x366dfe,..._0x48f900},'args':_0x310807?[_0x310807]:[],'tdx':_0x4b3f08});gracefulExit(_0x3d0168);}),parentSegmentCmd[a2_0x382dad(0x280)]('desc\x20[name]')[a2_0x382dad(0x309)](a2_0x382dad(0x1ef))['option'](a2_0x382dad(0x224),a2_0x382dad(0x1cc))[a2_0x382dad(0x396)](a2_0x382dad(0x168),a2_0x382dad(0x142))[a2_0x382dad(0x396)](a2_0x382dad(0x305),a2_0x382dad(0x330))[a2_0x382dad(0x17e)](async(_0x391005,_0x268a9d)=>{const _0x339fbd=a2_0x382dad,_0x2f10d8=new ParentSegmentDescCommand(),_0x3634db=program['opts'](),_0x37efd2=await createTDXInstance(_0x3634db),_0x8d4b95=await _0x2f10d8[_0x339fbd(0x172)]({'options':{..._0x3634db,..._0x268a9d},'args':_0x391005?[_0x391005]:[],'tdx':_0x37efd2});gracefulExit(_0x8d4b95);}),parentSegmentCmd[a2_0x382dad(0x280)](a2_0x382dad(0x14e))[a2_0x382dad(0x309)](a2_0x382dad(0x173))[a2_0x382dad(0x396)](a2_0x382dad(0x168),a2_0x382dad(0x142))[a2_0x382dad(0x396)](a2_0x382dad(0x305),a2_0x382dad(0x330))[a2_0x382dad(0x17e)](async(_0x19477a,_0x42d429)=>{const _0x4911e3=a2_0x382dad,_0x2bacf4=new ParentSegmentSQLCommand(),_0x377207=program[_0x4911e3(0x302)](),_0x376e5b=await createTDXInstance(_0x377207),_0x4eed19=await _0x2bacf4[_0x4911e3(0x172)]({'options':{..._0x377207,..._0x42d429},'args':_0x19477a?[_0x19477a]:[],'tdx':_0x376e5b});gracefulExit(_0x4eed19);}),parentSegmentCmd[a2_0x382dad(0x280)]('show\x20[name]')[a2_0x382dad(0x309)](a2_0x382dad(0x2eb))[a2_0x382dad(0x396)](a2_0x382dad(0x267),'Limit\x20number\x20of\x20rows')[a2_0x382dad(0x396)](a2_0x382dad(0x168),a2_0x382dad(0x142))[a2_0x382dad(0x396)](a2_0x382dad(0x305),a2_0x382dad(0x330))[a2_0x382dad(0x17e)](async(_0x2514f5,_0x31c10b)=>{const _0x3a0250=a2_0x382dad,_0x5241a7=new ParentSegmentShowCommand(),_0x587cd3=program[_0x3a0250(0x302)](),_0x4333b8=await createTDXInstance(_0x587cd3),_0x27a402=await _0x5241a7[_0x3a0250(0x172)]({'options':{..._0x587cd3,..._0x31c10b},'args':_0x2514f5?[_0x2514f5]:[],'tdx':_0x4333b8});gracefulExit(_0x27a402);}),parentSegmentCmd['command']('use\x20[name]')[a2_0x382dad(0x309)](a2_0x382dad(0x13f))[a2_0x382dad(0x17e)](async(_0x461fa5,_0x56b928)=>{const _0x31d86d=a2_0x382dad,_0x15a00f=new UseCommand(),_0x1f09d0=program[_0x31d86d(0x302)](),_0x555602=_0x461fa5?[_0x31d86d(0x151),_0x461fa5]:[],_0x3112ef=await _0x15a00f[_0x31d86d(0x172)]({'options':{..._0x1f09d0,..._0x56b928},'args':_0x555602,'tdx':null});gracefulExit(_0x3112ef);});const psRtCmd=parentSegmentCmd[a2_0x382dad(0x280)]('rt')[a2_0x382dad(0x309)](a2_0x382dad(0x1ce));psRtCmd['command']('list\x20[pattern]')[a2_0x382dad(0x309)](a2_0x382dad(0x195))['action'](async(_0x5ce7a4,_0x834ebe)=>{const _0x3338a6=a2_0x382dad,_0x3de52c=new PSRtListCommand(),_0x1f70f4=program['opts'](),_0x2eb0ab=await createTDXInstance(_0x1f70f4),_0x21e929=await _0x3de52c[_0x3338a6(0x172)]({'options':{..._0x1f70f4,..._0x834ebe},'args':_0x5ce7a4?[_0x5ce7a4]:[],'tdx':_0x2eb0ab});gracefulExit(_0x21e929);}),psRtCmd[a2_0x382dad(0x280)](a2_0x382dad(0x376))[a2_0x382dad(0x309)](a2_0x382dad(0x17b))[a2_0x382dad(0x17e)](async(_0x2175bf,_0x4aa415)=>{const _0x4e6f9c=a2_0x382dad,_0x30e2fd=new PSRtValidateCommand(),_0x30119e=program[_0x4e6f9c(0x302)](),_0x103276=await createTDXInstance(_0x30119e),_0x7f1848=await _0x30e2fd['run']({'options':{..._0x30119e,..._0x4aa415},'args':_0x2175bf?[_0x2175bf]:[],'tdx':_0x103276});gracefulExit(_0x7f1848);});const parentRtCmd=parentCmd[a2_0x382dad(0x280)]('rt',{'hidden':!![]})[a2_0x382dad(0x309)](a2_0x382dad(0x1ce));parentRtCmd[a2_0x382dad(0x280)](a2_0x382dad(0x322))[a2_0x382dad(0x309)](a2_0x382dad(0x195))[a2_0x382dad(0x17e)](async(_0x4ae242,_0x1dfa2c)=>{const _0x1b6362=a2_0x382dad,_0x4de779=new PSRtListCommand(),_0x4e5218=program[_0x1b6362(0x302)](),_0x6e97c1=await createTDXInstance(_0x4e5218),_0x2e1709=await _0x4de779[_0x1b6362(0x172)]({'options':{..._0x4e5218,..._0x1dfa2c},'args':_0x4ae242?[_0x4ae242]:[],'tdx':_0x6e97c1});gracefulExit(_0x2e1709);}),parentRtCmd[a2_0x382dad(0x280)](a2_0x382dad(0x376))['description'](a2_0x382dad(0x17b))[a2_0x382dad(0x17e)](async(_0x221866,_0x57b906)=>{const _0x14614c=a2_0x382dad,_0x24c1c9=new PSRtValidateCommand(),_0x3fa2ee=program[_0x14614c(0x302)](),_0x3e54f1=await createTDXInstance(_0x3fa2ee),_0x24d756=await _0x24c1c9['run']({'options':{..._0x3fa2ee,..._0x57b906},'args':_0x221866?[_0x221866]:[],'tdx':_0x3e54f1});gracefulExit(_0x24d756);});const psPzCmd=parentSegmentCmd[a2_0x382dad(0x280)]('pz')[a2_0x382dad(0x309)](a2_0x382dad(0x32c));psPzCmd[a2_0x382dad(0x280)](a2_0x382dad(0x20e))['description'](a2_0x382dad(0x1b2))[a2_0x382dad(0x17e)](async(_0x6cb7ce,_0x414564)=>{const _0x1bef9e=a2_0x382dad,_0xd6a546=new PSPzListCommand(),_0x56fe16=program['opts'](),_0x4ef8b4=await createTDXInstance(_0x56fe16),_0x279c97=await _0xd6a546[_0x1bef9e(0x172)]({'options':{..._0x56fe16,..._0x414564},'args':_0x6cb7ce?[_0x6cb7ce]:[],'tdx':_0x4ef8b4});gracefulExit(_0x279c97);}),psPzCmd[a2_0x382dad(0x280)]('init\x20[name]')[a2_0x382dad(0x309)](a2_0x382dad(0x3c5))[a2_0x382dad(0x17e)](async(_0x5b5e06,_0x5e43f0)=>{const _0xa77145=a2_0x382dad,_0x14d10a=new PSPzInitCommand(),_0x11cd9e=program[_0xa77145(0x302)](),_0x65ca51=await createTDXInstance(_0x11cd9e),_0x1e4d23=await _0x14d10a[_0xa77145(0x172)]({'options':{..._0x11cd9e,..._0x5e43f0},'args':_0x5b5e06?[_0x5b5e06]:[],'tdx':_0x65ca51});gracefulExit(_0x1e4d23);});const parentPzCmd=parentCmd[a2_0x382dad(0x280)]('pz',{'hidden':!![]})[a2_0x382dad(0x309)]('Personalization\x20service\x20management');parentPzCmd[a2_0x382dad(0x280)](a2_0x382dad(0x20e))['description'](a2_0x382dad(0x1b2))[a2_0x382dad(0x17e)](async(_0x2fb182,_0x3651c0)=>{const _0x1dde1b=a2_0x382dad,_0x2c995d=new PSPzListCommand(),_0x66aed9=program[_0x1dde1b(0x302)](),_0x6b9b67=await createTDXInstance(_0x66aed9),_0x1f7504=await _0x2c995d['run']({'options':{..._0x66aed9,..._0x3651c0},'args':_0x2fb182?[_0x2fb182]:[],'tdx':_0x6b9b67});gracefulExit(_0x1f7504);}),parentPzCmd[a2_0x382dad(0x280)](a2_0x382dad(0x1a6))['description'](a2_0x382dad(0x3c5))['action'](async(_0x111ab9,_0x779884)=>{const _0xd0ea68=a2_0x382dad,_0x2aaf8f=new PSPzInitCommand(),_0x2c08dc=program[_0xd0ea68(0x302)](),_0x1f322e=await createTDXInstance(_0x2c08dc),_0x509210=await _0x2aaf8f[_0xd0ea68(0x172)]({'options':{..._0x2c08dc,..._0x779884},'args':_0x111ab9?[_0x111ab9]:[],'tdx':_0x1f322e});gracefulExit(_0x509210);}),parentCmd[a2_0x382dad(0x280)]('create\x20<name>')[a2_0x382dad(0x309)](a2_0x382dad(0x3da))[a2_0x382dad(0x1f8)](a2_0x382dad(0x1e5),a2_0x382dad(0x145))[a2_0x382dad(0x1f8)](a2_0x382dad(0x24c),a2_0x382dad(0x22c))[a2_0x382dad(0x396)](a2_0x382dad(0x15d),'Parent\x20segment\x20description')['option'](a2_0x382dad(0x38c),a2_0x382dad(0x397))[a2_0x382dad(0x396)](a2_0x382dad(0x279),a2_0x382dad(0x317))['option'](a2_0x382dad(0x320),a2_0x382dad(0x39b))[a2_0x382dad(0x396)](a2_0x382dad(0x29e),a2_0x382dad(0x1bc))['option']('--attributes-file\x20<file>',a2_0x382dad(0x13b))[a2_0x382dad(0x396)](a2_0x382dad(0x1eb),a2_0x382dad(0x1ed))[a2_0x382dad(0x396)](a2_0x382dad(0x141),'Behaviors\x20from\x20JSON\x20file')[a2_0x382dad(0x396)](a2_0x382dad(0x1ff),a2_0x382dad(0x35c))[a2_0x382dad(0x396)](a2_0x382dad(0x252),'Customer\x20group\x20from\x20JSON\x20file')[a2_0x382dad(0x17e)](async(_0x2b1843,_0x1f3f47)=>{const _0x53d2b6=a2_0x382dad,_0x1cf9ad=new ParentSegmentCreateCommand(),_0x423d45=program[_0x53d2b6(0x302)](),_0xd8ff7a=await createTDXInstance(_0x423d45),_0x2693d9=await _0x1cf9ad['run']({'options':{..._0x423d45,..._0x1f3f47},'args':[_0x2b1843],'tdx':_0xd8ff7a});gracefulExit(_0x2693d9);}),parentCmd[a2_0x382dad(0x280)]('update\x20<name>')[a2_0x382dad(0x309)]('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x382dad(0x396)]('--description\x20<text>',a2_0x382dad(0x3a5))['option']('--schedule-type\x20<type>',a2_0x382dad(0x1e7))[a2_0x382dad(0x396)](a2_0x382dad(0x279),a2_0x382dad(0x392))[a2_0x382dad(0x396)](a2_0x382dad(0x320),a2_0x382dad(0x15c))[a2_0x382dad(0x396)](a2_0x382dad(0x144),a2_0x382dad(0x38d))[a2_0x382dad(0x396)](a2_0x382dad(0x1d7),a2_0x382dad(0x22f))[a2_0x382dad(0x396)](a2_0x382dad(0x388),a2_0x382dad(0x295))[a2_0x382dad(0x396)](a2_0x382dad(0x260),a2_0x382dad(0x27b))[a2_0x382dad(0x17e)](async(_0x524ac9,_0x35114c)=>{const _0x5a22d0=a2_0x382dad,_0xe355a3=new ParentSegmentUpdateCommand(),_0x1f3474=program['opts'](),_0x50b187=await createTDXInstance(_0x1f3474),_0x20e4f7=await _0xe355a3[_0x5a22d0(0x172)]({'options':{..._0x1f3474,..._0x35114c},'args':[_0x524ac9],'tdx':_0x50b187});gracefulExit(_0x20e4f7);}),folderCmd['command'](a2_0x382dad(0x15f))[a2_0x382dad(0x309)](a2_0x382dad(0x16e))[a2_0x382dad(0x396)](a2_0x382dad(0x15d),a2_0x382dad(0x20b))[a2_0x382dad(0x396)](a2_0x382dad(0x21e),a2_0x382dad(0x3e6))[a2_0x382dad(0x17e)](async(_0x5d5ef6,_0x54ffd1,_0x275bee)=>{const _0x3cd2d8=a2_0x382dad,_0x2ec5fd=new SegmentFolderCreateCommand(),_0x1fddc8=program[_0x3cd2d8(0x302)](),_0x5a9226=await createTDXInstance(_0x1fddc8),_0x519ae0=await _0x2ec5fd[_0x3cd2d8(0x172)]({'options':{..._0x1fddc8,..._0x275bee},'args':[_0x5d5ef6,_0x54ffd1],'tdx':_0x5a9226});gracefulExit(_0x519ae0);}),program[a2_0x382dad(0x280)](a2_0x382dad(0x338))[a2_0x382dad(0x309)](a2_0x382dad(0x3ab))['action'](async(_0x2af2e7,_0x2cec7f)=>{const _0xbeddc7=a2_0x382dad,_0x20b2d1=new ActivationsCommand(),_0x44d361=program[_0xbeddc7(0x302)](),_0x3b1081=await createTDXInstance(_0x44d361),_0x247dd3=await _0x20b2d1[_0xbeddc7(0x172)]({'options':{..._0x44d361,..._0x2cec7f},'args':[_0x2af2e7],'tdx':_0x3b1081});gracefulExit(_0x247dd3);});const workflowCmd=program[a2_0x382dad(0x280)](a2_0x382dad(0x3ed))[a2_0x382dad(0x26d)]('wf')[a2_0x382dad(0x309)](a2_0x382dad(0x39f)),wfProjectCmd=workflowCmd[a2_0x382dad(0x280)](a2_0x382dad(0x37c))[a2_0x382dad(0x309)]('Workflow\x20project\x20management'),wfProjectListAction=async(_0x394cdb,_0x4b94cb)=>{const _0x447ad1=a2_0x382dad,_0x1d44c0=new WorkflowProjectsCommand(),_0x460536=program[_0x447ad1(0x302)](),_0x18d92a=await createTDXInstance(_0x460536),_0x4100d7=await _0x1d44c0[_0x447ad1(0x172)]({'options':{..._0x460536,..._0x4b94cb},'args':_0x394cdb?[_0x394cdb]:[],'tdx':_0x18d92a});gracefulExit(_0x4100d7);};wfProjectCmd['command']('list\x20[pattern]')['description'](a2_0x382dad(0x3d1))[a2_0x382dad(0x17e)](wfProjectListAction),workflowCmd[a2_0x382dad(0x280)]('projects\x20[pattern]')['description'](a2_0x382dad(0x2a5))['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x16074a,_0x43d0aa)=>{const _0x5ac216=a2_0x382dad,_0x97c01=new WorkflowWorkflowsCommand(),_0x5c2a87=program[_0x5ac216(0x302)](),_0x162802=await createTDXInstance(_0x5c2a87),_0x346d04=await _0x97c01[_0x5ac216(0x172)]({'options':{..._0x5c2a87,..._0x43d0aa},'args':_0x16074a?[_0x16074a]:[],'tdx':_0x162802});gracefulExit(_0x346d04);};workflowCmd[a2_0x382dad(0x280)](a2_0x382dad(0x1ad))['description'](a2_0x382dad(0x385))[a2_0x382dad(0x17e)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x382dad(0x280)](a2_0x382dad(0x23a))[a2_0x382dad(0x309)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0x560aba,_0x2b07b0)=>{const _0x765958=a2_0x382dad,_0x63fb5=new WorkflowSessionsCommand(),_0x54b414=program[_0x765958(0x302)](),_0x297b31=await createTDXInstance(_0x54b414),_0x55b5f5=await _0x63fb5[_0x765958(0x172)]({'options':{..._0x54b414,..._0x2b07b0},'args':_0x560aba?[_0x560aba]:[],'tdx':_0x297b31});gracefulExit(_0x55b5f5);};wfSessionCmd[a2_0x382dad(0x280)](a2_0x382dad(0x366))[a2_0x382dad(0x309)](a2_0x382dad(0x2ca))[a2_0x382dad(0x396)](a2_0x382dad(0x1ea),a2_0x382dad(0x399))[a2_0x382dad(0x396)](a2_0x382dad(0x310),a2_0x382dad(0x257))[a2_0x382dad(0x396)](a2_0x382dad(0x352),'End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x382dad(0x17e)](wfSessionListAction),workflowCmd[a2_0x382dad(0x280)](a2_0x382dad(0x18c))[a2_0x382dad(0x309)](a2_0x382dad(0x37d))[a2_0x382dad(0x396)](a2_0x382dad(0x1ea),a2_0x382dad(0x399))['option'](a2_0x382dad(0x310),a2_0x382dad(0x257))[a2_0x382dad(0x396)](a2_0x382dad(0x352),a2_0x382dad(0x16c))['action'](wfSessionListAction);const wfAttemptListAction=async(_0x2c87c7,_0x501708)=>{const _0x56ad42=a2_0x382dad,_0x49ede0=new WorkflowAttemptsCommand(),_0xe55d86=program['opts'](),_0x27009a=await createTDXInstance(_0xe55d86),_0x17471c=await _0x49ede0[_0x56ad42(0x172)]({'options':{..._0xe55d86,..._0x501708},'args':_0x2c87c7?[_0x2c87c7]:[],'tdx':_0x27009a});gracefulExit(_0x17471c);},attemptCmd=workflowCmd[a2_0x382dad(0x280)](a2_0x382dad(0x225))[a2_0x382dad(0x309)]('Workflow\x20attempt\x20management')[a2_0x382dad(0x38e)](a2_0x382dad(0x149),a2_0x382dad(0x1c0))[a2_0x382dad(0x38e)](a2_0x382dad(0x1df),a2_0x382dad(0x3d9))[a2_0x382dad(0x38e)](a2_0x382dad(0x383),'Task\x20name\x20for\x20logs\x20action')['option'](a2_0x382dad(0x186),'Include\x20subtasks\x20in\x20tasks\x20output')[a2_0x382dad(0x396)]('--reason\x20<text>','Reason\x20for\x20killing\x20the\x20attempt')[a2_0x382dad(0x396)](a2_0x382dad(0x1af),a2_0x382dad(0x390))[a2_0x382dad(0x396)](a2_0x382dad(0x2e4),'Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x382dad(0x396)](a2_0x382dad(0x154),a2_0x382dad(0x246))[a2_0x382dad(0x396)](a2_0x382dad(0x2d6),a2_0x382dad(0x136))[a2_0x382dad(0x17e)](async(_0x5ee438,_0x2e14f3,_0x11afae,_0x76f2c4)=>{const _0x5115eb=a2_0x382dad;if(_0x5ee438===_0x5115eb(0x37a)){await wfAttemptListAction(_0x2e14f3,_0x76f2c4);return;}if(!_0x5ee438){attemptCmd[_0x5115eb(0x287)]();return;}const _0x359786=program['opts'](),_0x407a04=await createTDXInstance(_0x359786);let _0x51e627=0x0;if(!_0x2e14f3){const _0x9c9980=new WorkflowAttemptCommand();_0x51e627=await _0x9c9980['run']({'options':{..._0x359786,..._0x76f2c4},'args':[_0x5ee438],'tdx':_0x407a04});}else{if(_0x2e14f3===_0x5115eb(0x3db)){const _0x187234=new WorkflowLogsCommand();_0x51e627=await _0x187234[_0x5115eb(0x172)]({'options':{..._0x359786,..._0x76f2c4},'args':_0x11afae?[_0x5ee438,_0x11afae]:[_0x5ee438],'tdx':_0x407a04});}else{if(_0x2e14f3===_0x5115eb(0x24f)){const _0x19360a=new WorkflowTasksCommand();_0x51e627=await _0x19360a[_0x5115eb(0x172)]({'options':{..._0x359786,..._0x76f2c4},'args':[_0x5ee438],'tdx':_0x407a04});}else{if(_0x2e14f3==='kill'){const _0x17e033=new WorkflowKillCommand();_0x51e627=await _0x17e033[_0x5115eb(0x172)]({'options':{..._0x359786,..._0x76f2c4},'args':[_0x5ee438],'tdx':_0x407a04});}else{if(_0x2e14f3===_0x5115eb(0x293)){const _0x29e999=new WorkflowRetryCommand();_0x51e627=await _0x29e999[_0x5115eb(0x172)]({'options':{..._0x359786,..._0x76f2c4},'args':[_0x5115eb(0x28b)+_0x5ee438],'tdx':_0x407a04});}else console[_0x5115eb(0x2b5)](_0x5115eb(0x3e0)+_0x2e14f3),console[_0x5115eb(0x2b5)](_0x5115eb(0x3a2)),_0x51e627=0x1;}}}}gracefulExit(_0x51e627);});attemptCmd[a2_0x382dad(0x280)](a2_0x382dad(0x366))['description'](a2_0x382dad(0x230))['option'](a2_0x382dad(0x2d6),'Include\x20retried\x20attempts')[a2_0x382dad(0x17e)](wfAttemptListAction),workflowCmd['command'](a2_0x382dad(0x34d))['description']('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')['option'](a2_0x382dad(0x2d6),'Include\x20retried\x20attempts')[a2_0x382dad(0x17e)](wfAttemptListAction),workflowCmd['command'](a2_0x382dad(0x3bd))[a2_0x382dad(0x309)](a2_0x382dad(0x3b6))[a2_0x382dad(0x396)](a2_0x382dad(0x2c6),'Follow/watch\x20timeline\x20for\x20running\x20attempts')[a2_0x382dad(0x396)](a2_0x382dad(0x2a1),'Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)')['option'](a2_0x382dad(0x262),'Show\x20timeline\x20for\x20specific\x20attempt')[a2_0x382dad(0x17e)](async(_0x5b8e75,_0x5c48d8)=>{const _0x1cc884=a2_0x382dad,_0x2a71da=new WorkflowTimelineCommand(),_0x45e5a6=program['opts'](),_0x3622e1=await createTDXInstance(_0x45e5a6),_0x5d2829=await _0x2a71da[_0x1cc884(0x172)]({'options':{..._0x45e5a6,..._0x5c48d8},'args':_0x5b8e75?[_0x5b8e75]:[],'tdx':_0x3622e1});gracefulExit(_0x5d2829);}),workflowCmd[a2_0x382dad(0x280)](a2_0x382dad(0x3b7))['description'](a2_0x382dad(0x21b))[a2_0x382dad(0x396)](a2_0x382dad(0x2f5),a2_0x382dad(0x3f8))[a2_0x382dad(0x396)](a2_0x382dad(0x2e4),a2_0x382dad(0x269))['action'](async(_0x365476,_0x4ec040)=>{const _0x55e715=a2_0x382dad,_0xf846d4=new WorkflowRetryCommand(),_0x3dd2c5=program[_0x55e715(0x302)](),_0x3c6333=await createTDXInstance(_0x3dd2c5),_0x2985c0=await _0xf846d4['run']({'options':{..._0x3dd2c5,..._0x4ec040},'args':[_0x365476],'tdx':_0x3c6333});gracefulExit(_0x2985c0);}),workflowCmd[a2_0x382dad(0x280)](a2_0x382dad(0x2b2))[a2_0x382dad(0x309)](a2_0x382dad(0x297))[a2_0x382dad(0x396)]('--param\x20<key=value>',a2_0x382dad(0x152),(_0x4cb231,_0x12bf13=[])=>[..._0x12bf13,_0x4cb231],[])[a2_0x382dad(0x396)]('--session-time\x20<time>','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')[a2_0x382dad(0x17e)](async(_0x1080b0,_0x39d3ba)=>{const _0x5134e=a2_0x382dad,_0x21634f=new WorkflowRunCommand(),_0x6566a6=program['opts'](),_0x58bbd2=await createTDXInstance(_0x6566a6),_0xae3df6=await _0x21634f[_0x5134e(0x172)]({'options':{..._0x6566a6,..._0x39d3ba},'args':_0x1080b0?[_0x1080b0]:[],'tdx':_0x58bbd2});gracefulExit(_0xae3df6);}),workflowCmd[a2_0x382dad(0x280)](a2_0x382dad(0x270))[a2_0x382dad(0x309)](a2_0x382dad(0x2de))[a2_0x382dad(0x396)](a2_0x382dad(0x233),a2_0x382dad(0x189))[a2_0x382dad(0x17e)](async(_0x1d9194,_0x206fb6,_0x218b06)=>{const _0x3c1aa9=a2_0x382dad,_0x298f36=new WorkflowDownloadCommand(),_0x85d486=program[_0x3c1aa9(0x302)](),_0x2b035a=await createTDXInstance(_0x85d486),_0x5cf83c=await _0x298f36['run']({'options':{..._0x85d486,..._0x218b06},'args':[_0x1d9194,_0x206fb6||'.'],'tdx':_0x2b035a});gracefulExit(_0x5cf83c);}),workflowCmd[a2_0x382dad(0x280)](a2_0x382dad(0x375))[a2_0x382dad(0x309)](a2_0x382dad(0x146))[a2_0x382dad(0x396)]('--revision\x20<revision>','Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0x382dad(0x396)](a2_0x382dad(0x13a),a2_0x382dad(0x39d))[a2_0x382dad(0x17e)](async(_0x20a955,_0x14d903,_0x32f44c)=>{const _0x21b151=a2_0x382dad,_0x43573f=new WorkflowPullCommand(),_0x5c5c4f=program[_0x21b151(0x302)](),_0x58d76f=await createTDXInstance(_0x5c5c4f),_0xc6378e=await _0x43573f[_0x21b151(0x172)]({'options':{..._0x5c5c4f,..._0x32f44c},'args':_0x14d903?[_0x20a955,_0x14d903]:[_0x20a955],'tdx':_0x58d76f});gracefulExit(_0xc6378e);}),workflowCmd[a2_0x382dad(0x280)]('push\x20[source-dir]')[a2_0x382dad(0x309)](a2_0x382dad(0x286))[a2_0x382dad(0x396)](a2_0x382dad(0x233),'Custom\x20revision\x20name\x20(default:\x20timestamp)')['option'](a2_0x382dad(0x13a),a2_0x382dad(0x19e))['option'](a2_0x382dad(0x213),a2_0x382dad(0x35d))[a2_0x382dad(0x17e)](async(_0x3cdd4c,_0x404a06)=>{const _0x105411=a2_0x382dad,_0x147fb2=new WorkflowPushCommand(),_0x2663b8=program['opts'](),_0x279f13=await createTDXInstance(_0x2663b8),_0x2a7c6d=await _0x147fb2[_0x105411(0x172)]({'options':{..._0x2663b8,..._0x404a06},'args':_0x3cdd4c?[_0x3cdd4c]:[],'tdx':_0x279f13});gracefulExit(_0x2a7c6d);}),workflowCmd[a2_0x382dad(0x280)]('upload\x20[project-name-or-dir]')[a2_0x382dad(0x309)](a2_0x382dad(0x3a7))[a2_0x382dad(0x396)]('--name\x20<name>',a2_0x382dad(0x39c))[a2_0x382dad(0x396)]('--revision\x20<revision>',a2_0x382dad(0x204))[a2_0x382dad(0x396)](a2_0x382dad(0x213),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x382dad(0x17e)](async(_0x11ba7f,_0x412ae8)=>{const _0x235503=a2_0x382dad,_0x128ff6=new WorkflowUploadCommand(),_0x5eb3bc=program['opts'](),_0x3c2946=await createTDXInstance(_0x5eb3bc),_0x1fa21e=await _0x128ff6[_0x235503(0x172)]({'options':{..._0x5eb3bc,..._0x412ae8},'args':_0x11ba7f?[_0x11ba7f]:[],'tdx':_0x3c2946});gracefulExit(_0x1fa21e);}),workflowCmd[a2_0x382dad(0x280)](a2_0x382dad(0x340))[a2_0x382dad(0x309)]('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')[a2_0x382dad(0x396)](a2_0x382dad(0x190),'Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x382dad(0x396)](a2_0x382dad(0x233),a2_0x382dad(0x37f))[a2_0x382dad(0x396)]('--dry-run',a2_0x382dad(0x3fb))[a2_0x382dad(0x396)](a2_0x382dad(0x213),a2_0x382dad(0x35d))[a2_0x382dad(0x17e)](async(_0x9d7e90,_0xa68c00)=>{const _0x3080ab=new WorkflowCloneCommand(),_0x3f3d9a=program['opts'](),_0x250459=await createTDXInstance(_0x3f3d9a),_0x670b1a=await _0x3080ab['run']({'options':{..._0x3f3d9a,..._0xa68c00},'args':_0x9d7e90?[_0x9d7e90]:[],'tdx':_0x250459});gracefulExit(_0x670b1a);}),workflowCmd[a2_0x382dad(0x280)](a2_0x382dad(0x23d))[a2_0x382dad(0x309)](a2_0x382dad(0x3fe))['action'](async(_0x4cab71,_0x431b41)=>{const _0x2b3886=a2_0x382dad,_0x1c3753=new WorkflowDeleteCommand(),_0x555e9a=program[_0x2b3886(0x302)](),_0x4aee37=await createTDXInstance(_0x555e9a),_0x1ede92=await _0x1c3753['run']({'options':{..._0x555e9a,..._0x431b41},'args':[_0x4cab71],'tdx':_0x4aee37});gracefulExit(_0x1ede92);}),workflowCmd['command'](a2_0x382dad(0x14f))[a2_0x382dad(0x309)](a2_0x382dad(0x238))[a2_0x382dad(0x396)]('--clear',a2_0x382dad(0x30b))[a2_0x382dad(0x17e)](async(_0x227c00,_0x2b5485)=>{const _0x42a131=a2_0x382dad,_0x145433=new WorkflowUseCommand(),_0x56f702=program[_0x42a131(0x302)](),_0x3084a9=await createTDXInstance(_0x56f702),_0x2e7da3=await _0x145433['run']({'options':{..._0x56f702,..._0x2b5485},'args':_0x227c00?[_0x227c00]:[],'tdx':_0x3084a9});gracefulExit(_0x2e7da3);});const wfSecretsCmd=workflowCmd[a2_0x382dad(0x280)](a2_0x382dad(0x285))['description']('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x382dad(0x280)](a2_0x382dad(0x366))[a2_0x382dad(0x309)]('List\x20secret\x20keys\x20for\x20a\x20project')['action'](async(_0x284b1e,_0x14deb0)=>{const _0xc8e8e2=a2_0x382dad,_0x28a5dd=new WorkflowSecretsListCommand(),_0x5f2b5c=program[_0xc8e8e2(0x302)](),_0x292a7f=await createTDXInstance(_0x5f2b5c),_0x590754=await _0x28a5dd[_0xc8e8e2(0x172)]({'options':{..._0x5f2b5c,..._0x14deb0},'args':_0x284b1e?[_0x284b1e]:[],'tdx':_0x292a7f});gracefulExit(_0x590754);}),wfSecretsCmd['command']('set\x20<args...>')['description'](a2_0x382dad(0x3c7))[a2_0x382dad(0x17e)](async(_0x163d8b,_0x14e1e3)=>{const _0x1f5115=a2_0x382dad,_0x32c5e9=new WorkflowSecretsSetCommand(),_0x291f29=program[_0x1f5115(0x302)](),_0x30dc93=await createTDXInstance(_0x291f29),_0x1bfd20=await _0x32c5e9[_0x1f5115(0x172)]({'options':{..._0x291f29,..._0x14e1e3},'args':_0x163d8b,'tdx':_0x30dc93});gracefulExit(_0x1bfd20);}),wfSecretsCmd[a2_0x382dad(0x280)](a2_0x382dad(0x2b8))[a2_0x382dad(0x309)](a2_0x382dad(0x23e))[a2_0x382dad(0x17e)](async(_0x550f63,_0x287a25)=>{const _0x4e05e4=a2_0x382dad,_0x13afc9=new WorkflowSecretsDeleteCommand(),_0x3c3058=program[_0x4e05e4(0x302)](),_0x46161e=await createTDXInstance(_0x3c3058),_0x46abf3=await _0x13afc9[_0x4e05e4(0x172)]({'options':{..._0x3c3058,..._0x287a25},'args':_0x550f63,'tdx':_0x46161e});gracefulExit(_0x46abf3);});const jobCmd=program[a2_0x382dad(0x280)](a2_0x382dad(0x1f2))['description'](a2_0x382dad(0x2fd)),jobListAction=async _0x18f741=>{const _0x255a42=new JobListCommand(),_0x3694cb=program['opts'](),_0x32515b=await createTDXInstance(_0x3694cb),_0x6fd8c3=await _0x255a42['run']({'options':{..._0x3694cb,..._0x18f741},'args':[],'tdx':_0x32515b});gracefulExit(_0x6fd8c3);};jobCmd[a2_0x382dad(0x280)](a2_0x382dad(0x37a))['description']('List\x20jobs')[a2_0x382dad(0x396)]('--status\x20<status>',a2_0x382dad(0x2fb))[a2_0x382dad(0x17e)](jobListAction),program[a2_0x382dad(0x280)]('jobs',{'hidden':!![]})[a2_0x382dad(0x309)](a2_0x382dad(0x24b))[a2_0x382dad(0x396)](a2_0x382dad(0x1ea),a2_0x382dad(0x2fb))['action'](jobListAction),jobCmd[a2_0x382dad(0x280)](a2_0x382dad(0x20a))[a2_0x382dad(0x309)]('Show\x20job\x20details')[a2_0x382dad(0x17e)](async(_0x14ff94,_0x52ade5)=>{const _0x390222=a2_0x382dad,_0x2cde42=new JobShowCommand(),_0xdd2816=program[_0x390222(0x302)](),_0x53a49f=await createTDXInstance(_0xdd2816),_0xf4ad44=await _0x2cde42['run']({'options':{..._0xdd2816,..._0x52ade5},'args':[_0x14ff94],'tdx':_0x53a49f});gracefulExit(_0xf4ad44);}),jobCmd[a2_0x382dad(0x280)](a2_0x382dad(0x192))['description'](a2_0x382dad(0x3ba))['action'](async(_0x2e51d1,_0x47cd56)=>{const _0x5ca6c8=a2_0x382dad,_0x4b2310=new JobKillCommand(),_0x51cd55=program[_0x5ca6c8(0x302)](),_0x1dda7a=await createTDXInstance(_0x51cd55),_0x227c2f=await _0x4b2310[_0x5ca6c8(0x172)]({'options':{..._0x51cd55,..._0x47cd56},'args':[_0x2e51d1],'tdx':_0x1dda7a});gracefulExit(_0x227c2f);}),jobCmd[a2_0x382dad(0x280)]('submit\x20[query]')[a2_0x382dad(0x309)]('Submit\x20a\x20job')[a2_0x382dad(0x396)]('--job-type\x20<type>',a2_0x382dad(0x30e),'trino')['option'](a2_0x382dad(0x348),a2_0x382dad(0x34e))[a2_0x382dad(0x396)]('--database\x20<name>',a2_0x382dad(0x1fd),a2_0x382dad(0x163))[a2_0x382dad(0x396)]('--result\x20<target>',a2_0x382dad(0x35f))['action'](async(_0x3e134d,_0x2e8b30)=>{const _0x331975=a2_0x382dad,_0x585c0b=new JobSubmitCommand(),_0x31fc30=program['opts'](),_0x5991ff=await createTDXInstance(_0x31fc30),_0x110550=await _0x585c0b[_0x331975(0x172)]({'options':{..._0x31fc30,..._0x2e8b30},'args':_0x3e134d?[_0x3e134d]:[],'tdx':_0x5991ff});gracefulExit(_0x110550);}),jobCmd[a2_0x382dad(0x280)]('result\x20<job-id>')[a2_0x382dad(0x309)](a2_0x382dad(0x174))[a2_0x382dad(0x17e)](async(_0x2c4eb1,_0x3ab8c3)=>{const _0x263710=a2_0x382dad,_0x2df807=new JobResultCommand(),_0x1678e3=program['opts'](),_0x338006=await createTDXInstance(_0x1678e3),_0x42683f=await _0x2df807[_0x263710(0x172)]({'options':{..._0x1678e3,..._0x3ab8c3},'args':[_0x2c4eb1],'tdx':_0x338006});gracefulExit(_0x42683f);});const scheduleCmd=jobCmd['command'](a2_0x382dad(0x16d))[a2_0x382dad(0x309)](a2_0x382dad(0x378));scheduleCmd[a2_0x382dad(0x280)]('list\x20[pattern]')[a2_0x382dad(0x309)](a2_0x382dad(0x3ea))['action'](async(_0x327f48,_0x3ab697)=>{const _0xcf4621=a2_0x382dad,_0x487089=new ScheduleListCommand(),_0x20e106=program['opts'](),_0x40d1fc=await createTDXInstance(_0x20e106),_0x5d99fc=await _0x487089[_0xcf4621(0x172)]({'options':{..._0x20e106,..._0x3ab697},'args':_0x327f48?[_0x327f48]:[],'tdx':_0x40d1fc});gracefulExit(_0x5d99fc);}),scheduleCmd[a2_0x382dad(0x280)](a2_0x382dad(0x31b))[a2_0x382dad(0x309)](a2_0x382dad(0x316))['action'](async(_0x13874b,_0x19bd44)=>{const _0x2659d9=a2_0x382dad,_0x571930=new ScheduleShowCommand(),_0x48c0ec=program[_0x2659d9(0x302)](),_0x269d27=await createTDXInstance(_0x48c0ec),_0x5d0980=await _0x571930[_0x2659d9(0x172)]({'options':{..._0x48c0ec,..._0x19bd44},'args':[_0x13874b],'tdx':_0x269d27});gracefulExit(_0x5d0980);}),scheduleCmd[a2_0x382dad(0x280)](a2_0x382dad(0x308))[a2_0x382dad(0x309)]('Create\x20a\x20scheduled\x20query')[a2_0x382dad(0x396)]('-d,\x20--database\x20<db>','Database\x20name\x20(required)')[a2_0x382dad(0x396)](a2_0x382dad(0x2c0),a2_0x382dad(0x2c9))[a2_0x382dad(0x1f8)](a2_0x382dad(0x348),a2_0x382dad(0x34e))[a2_0x382dad(0x396)](a2_0x382dad(0x207),a2_0x382dad(0x29c),a2_0x382dad(0x2b6))['option']('--cron\x20<expression>',a2_0x382dad(0x187))[a2_0x382dad(0x396)](a2_0x382dad(0x320),a2_0x382dad(0x240))[a2_0x382dad(0x396)](a2_0x382dad(0x1e8),a2_0x382dad(0x161))[a2_0x382dad(0x396)](a2_0x382dad(0x3df),a2_0x382dad(0x249))[a2_0x382dad(0x396)]('--retry-limit\x20<0~32>',a2_0x382dad(0x2dc))[a2_0x382dad(0x396)](a2_0x382dad(0x1bd),a2_0x382dad(0x193))[a2_0x382dad(0x396)](a2_0x382dad(0x2bd),'Result\x20output\x20destination\x20URL')[a2_0x382dad(0x17e)](async(_0x405155,_0x104256)=>{const _0x4b611f=a2_0x382dad,_0x240543=new ScheduleCreateCommand(),_0x8eece9=program[_0x4b611f(0x302)](),_0x52553e=await createTDXInstance(_0x8eece9);_0x104256['in']&&(_0x104256[_0x4b611f(0x244)]=_0x104256['in']);const _0x1aa559=await _0x240543[_0x4b611f(0x172)]({'options':{..._0x8eece9,..._0x104256},'args':[_0x405155],'tdx':_0x52553e});gracefulExit(_0x1aa559);}),scheduleCmd[a2_0x382dad(0x280)]('update\x20<name>')[a2_0x382dad(0x309)](a2_0x382dad(0x409))[a2_0x382dad(0x396)](a2_0x382dad(0x3c6),'Database\x20name')[a2_0x382dad(0x396)](a2_0x382dad(0x2c0),a2_0x382dad(0x2c9))['option'](a2_0x382dad(0x348),a2_0x382dad(0x34e))[a2_0x382dad(0x396)](a2_0x382dad(0x207),'Query\x20type:\x20trino\x20or\x20hive')['option']('--cron\x20<expression>',a2_0x382dad(0x187))['option'](a2_0x382dad(0x320),a2_0x382dad(0x3d5))[a2_0x382dad(0x396)](a2_0x382dad(0x1e8),a2_0x382dad(0x161))[a2_0x382dad(0x396)](a2_0x382dad(0x3df),'Job\x20priority\x20(-2\x20to\x202)')['option'](a2_0x382dad(0x19a),a2_0x382dad(0x2dc))['option']('--engine-version\x20<version>',a2_0x382dad(0x193))[a2_0x382dad(0x396)](a2_0x382dad(0x2bd),'Result\x20output\x20destination\x20URL')[a2_0x382dad(0x17e)](async(_0x57df26,_0x1e5bef)=>{const _0x47f737=a2_0x382dad,_0x424362=new ScheduleUpdateCommand(),_0x238c53=program[_0x47f737(0x302)](),_0xa36c3b=await createTDXInstance(_0x238c53);_0x1e5bef['in']&&(_0x1e5bef[_0x47f737(0x244)]=_0x1e5bef['in']);const _0x2406c9=await _0x424362[_0x47f737(0x172)]({'options':{..._0x238c53,..._0x1e5bef},'args':[_0x57df26],'tdx':_0xa36c3b});gracefulExit(_0x2406c9);}),scheduleCmd['command'](a2_0x382dad(0x2a3))[a2_0x382dad(0x309)](a2_0x382dad(0x377))[a2_0x382dad(0x17e)](async(_0x3573e9,_0x3471a5)=>{const _0x3ee22c=a2_0x382dad,_0x1e1a25=new ScheduleDeleteCommand(),_0x3c5ad5=program[_0x3ee22c(0x302)](),_0x52d349=await createTDXInstance(_0x3c5ad5),_0x53c902=await _0x1e1a25['run']({'options':{..._0x3c5ad5,..._0x3471a5},'args':[_0x3573e9],'tdx':_0x52d349});gracefulExit(_0x53c902);}),scheduleCmd[a2_0x382dad(0x280)](a2_0x382dad(0x2f6))[a2_0x382dad(0x309)]('Run\x20a\x20scheduled\x20query\x20immediately')[a2_0x382dad(0x396)](a2_0x382dad(0x307),a2_0x382dad(0x166))[a2_0x382dad(0x396)](a2_0x382dad(0x2a8),a2_0x382dad(0x1c7))[a2_0x382dad(0x17e)](async(_0x27f82e,_0xfa2d59)=>{const _0x209d4c=a2_0x382dad,_0xd7e5bd=new ScheduleRunCommand(),_0x27a239=program['opts'](),_0x181c23=await createTDXInstance(_0x27a239),_0x17c3e6=await _0xd7e5bd[_0x209d4c(0x172)]({'options':{..._0x27a239,..._0xfa2d59},'args':[_0x27f82e],'tdx':_0x181c23});gracefulExit(_0x17c3e6);}),scheduleCmd[a2_0x382dad(0x280)](a2_0x382dad(0x288))['description']('Show\x20schedule\x20execution\x20history')[a2_0x382dad(0x396)](a2_0x382dad(0x2ec),'Starting\x20offset\x20(default:\x200)')[a2_0x382dad(0x396)](a2_0x382dad(0x253),a2_0x382dad(0x31e))['action'](async(_0x4deae3,_0x48ba8a)=>{const _0x4ab6ba=a2_0x382dad,_0x50bc35=new ScheduleHistoryCommand(),_0x11784f=program[_0x4ab6ba(0x302)](),_0x9a370f=await createTDXInstance(_0x11784f),_0xa190c2=await _0x50bc35[_0x4ab6ba(0x172)]({'options':{..._0x11784f,..._0x48ba8a},'args':[_0x4deae3],'tdx':_0x9a370f});gracefulExit(_0xa190c2);});const llmCmd=program[a2_0x382dad(0x280)](a2_0x382dad(0x31a))[a2_0x382dad(0x309)](a2_0x382dad(0x325));llmCmd[a2_0x382dad(0x280)](a2_0x382dad(0x36b))[a2_0x382dad(0x309)]('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')[a2_0x382dad(0x17e)](async(_0x6dae70,_0x256673)=>{const _0xa72c3e=a2_0x382dad,_0x58465d=new LLMUseCommand(),_0x1110a5=program['opts'](),_0x1de072=await createTDXInstance(_0x1110a5),_0x1d0621=await _0x58465d[_0xa72c3e(0x172)]({'options':{..._0x1110a5,..._0x256673},'args':[_0x6dae70],'tdx':_0x1de072});gracefulExit(_0x1d0621);}),llmCmd['command'](a2_0x382dad(0x3a0))[a2_0x382dad(0x309)]('List\x20available\x20LLM\x20models')['action'](async _0x1c591c=>{const _0x2620a9=a2_0x382dad,_0x1f0f52=new LLMModelsCommand(),_0x5e02b9=program[_0x2620a9(0x302)](),_0x4bac85=await createTDXInstance(_0x5e02b9),_0x190051=await _0x1f0f52[_0x2620a9(0x172)]({'options':{..._0x5e02b9,..._0x1c591c},'args':[],'tdx':_0x4bac85});gracefulExit(_0x190051);});const projectCmd=llmCmd['command'](a2_0x382dad(0x37c))['description'](a2_0x382dad(0x216)),llmProjectListAction=async(_0x2f4d9e,_0x317ec7)=>{const _0x27091d=a2_0x382dad,_0x157783=new LLMProjectsCommand(),_0x12b875=program[_0x27091d(0x302)](),_0x4d7448=await createTDXInstance(_0x12b875),_0x6ccdbc=await _0x157783[_0x27091d(0x172)]({'options':{..._0x12b875,..._0x317ec7},'args':_0x2f4d9e?[_0x2f4d9e]:[],'tdx':_0x4d7448});gracefulExit(_0x6ccdbc);};projectCmd[a2_0x382dad(0x280)](a2_0x382dad(0x322))[a2_0x382dad(0x309)](a2_0x382dad(0x362))[a2_0x382dad(0x17e)](llmProjectListAction),llmCmd['command'](a2_0x382dad(0x2f1))[a2_0x382dad(0x309)](a2_0x382dad(0x3b5))['action'](llmProjectListAction),projectCmd[a2_0x382dad(0x280)]('create\x20<name>')[a2_0x382dad(0x309)](a2_0x382dad(0x276))[a2_0x382dad(0x396)](a2_0x382dad(0x15d),a2_0x382dad(0x2c7))[a2_0x382dad(0x17e)](async(_0x338da1,_0x53797c)=>{const _0x17ef44=a2_0x382dad,_0x1f2c11=new LLMProjectCreateCommand(),_0x5200cd=program[_0x17ef44(0x302)](),_0x4eb781=await createTDXInstance(_0x5200cd),_0x512b8a=await _0x1f2c11[_0x17ef44(0x172)]({'options':{..._0x5200cd,..._0x53797c},'args':[_0x338da1],'tdx':_0x4eb781});gracefulExit(_0x512b8a);}),projectCmd[a2_0x382dad(0x280)]('delete\x20<name>')[a2_0x382dad(0x309)](a2_0x382dad(0x2a4))['action'](async(_0x365e9a,_0x32881d)=>{const _0x27f9f8=a2_0x382dad,_0x290e38=new LLMProjectDeleteCommand(),_0x5aec15=program[_0x27f9f8(0x302)](),_0x4ac9da=await createTDXInstance(_0x5aec15),_0x277d41=await _0x290e38[_0x27f9f8(0x172)]({'options':{..._0x5aec15,..._0x32881d},'args':[_0x365e9a],'tdx':_0x4ac9da});gracefulExit(_0x277d41);}),projectCmd[a2_0x382dad(0x280)](a2_0x382dad(0x3ce))[a2_0x382dad(0x309)](a2_0x382dad(0x379))['option']('-o,\x20--output\x20<folder>',a2_0x382dad(0x3b3))['option']('--dry-run','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files')['action'](async(_0x5567b4,_0x4afcb2)=>{const _0xf1c185=a2_0x382dad,_0x26ad8f=new LLMProjectBackupCommand(),_0x20723a=program[_0xf1c185(0x302)](),_0x4a6ebf=await createTDXInstance(_0x20723a),_0x496a1e=await _0x26ad8f['run']({'options':{..._0x20723a,..._0x4afcb2},'args':[_0x5567b4],'tdx':_0x4a6ebf});gracefulExit(_0x496a1e);}),projectCmd[a2_0x382dad(0x280)](a2_0x382dad(0x1ae))['description'](a2_0x382dad(0x1ac))[a2_0x382dad(0x396)](a2_0x382dad(0x27d),'New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')[a2_0x382dad(0x396)]('--dry-run',a2_0x382dad(0x210))['action'](async(_0x1c46c2,_0x2de31a)=>{const _0x544f68=a2_0x382dad,_0x10c265=new LLMProjectRestoreCommand(),_0x34e906=program[_0x544f68(0x302)](),_0x1c5a67=await createTDXInstance(_0x34e906),_0x53babd=await _0x10c265[_0x544f68(0x172)]({'options':{..._0x34e906,..._0x2de31a},'args':[_0x1c46c2],'tdx':_0x1c5a67});gracefulExit(_0x53babd);});const llmAgentListAction=async(_0x4b67c4,_0x491dd2)=>{const _0x12b705=a2_0x382dad,_0x5b4b4a=new LLMAgentsCommand(),_0x393c92=program['opts'](),_0x23ba89=await createTDXInstance(_0x393c92),_0x166078=await _0x5b4b4a[_0x12b705(0x172)]({'options':{..._0x393c92,..._0x491dd2},'args':_0x4b67c4?[_0x4b67c4]:[],'tdx':_0x23ba89});gracefulExit(_0x166078);};llmCmd[a2_0x382dad(0x280)](a2_0x382dad(0x1d6))[a2_0x382dad(0x309)](a2_0x382dad(0x3e3))[a2_0x382dad(0x17e)](llmAgentListAction),program[a2_0x382dad(0x280)](a2_0x382dad(0x1d6))[a2_0x382dad(0x309)](a2_0x382dad(0x3e3))[a2_0x382dad(0x17e)](llmAgentListAction),llmCmd[a2_0x382dad(0x280)]('history\x20[chat-id]')[a2_0x382dad(0x309)](a2_0x382dad(0x138))[a2_0x382dad(0x396)](a2_0x382dad(0x1f5),a2_0x382dad(0x353))[a2_0x382dad(0x17e)](async(_0x4d17e7,_0x2682d2)=>{const _0x1b6d30=a2_0x382dad,_0x279c16=new LLMHistoryCommand(),_0x2cefe7=program[_0x1b6d30(0x302)](),_0x3e1407=await createTDXInstance(_0x2cefe7),_0x418f60=await _0x279c16[_0x1b6d30(0x172)]({'options':{..._0x2cefe7,..._0x2682d2},'args':_0x4d17e7?[_0x4d17e7]:[],'tdx':_0x3e1407});gracefulExit(_0x418f60);});isExperimentalAvailable()&&llmCmd[a2_0x382dad(0x280)]('log\x20<chat-id>')['description'](a2_0x382dad(0x150))[a2_0x382dad(0x17e)](async(_0x129c5c,_0x5ce719)=>{const _0x1df4a1=a2_0x382dad,_0x12d47a=new LLMLogCommand(),_0x42d0b4=program['opts'](),_0x45bb3e=await createTDXInstance(_0x42d0b4),_0x339d9b=await _0x12d47a[_0x1df4a1(0x172)]({'options':{..._0x42d0b4,..._0x5ce719},'args':[_0x129c5c],'tdx':_0x45bb3e});gracefulExit(_0x339d9b);});program['command'](a2_0x382dad(0x21a))[a2_0x382dad(0x205)]('[options]\x20--\x20[claude-code-args...]')[a2_0x382dad(0x309)](a2_0x382dad(0x39e))['option'](a2_0x382dad(0x3c8),a2_0x382dad(0x34c))[a2_0x382dad(0x396)](a2_0x382dad(0x319),a2_0x382dad(0x17f))[a2_0x382dad(0x396)](a2_0x382dad(0x178),a2_0x382dad(0x18f))[a2_0x382dad(0x3b8)]()[a2_0x382dad(0x341)](!![])[a2_0x382dad(0x1ba)](a2_0x382dad(0x350),a2_0x382dad(0x25e))[a2_0x382dad(0x17e)](async(_0x1d6f5a,_0x1a8898)=>{const _0x5a9f80=a2_0x382dad,_0x1c0043=program[_0x5a9f80(0x302)](),_0x1df2c0=Array[_0x5a9f80(0x13c)](_0x1d6f5a)?_0x1d6f5a:[];if(_0x1df2c0[0x0]==='statusline'){const _0x5d833e=new ClaudeStatuslineCommand(),_0xf4598d=await _0x5d833e['run']({'options':{..._0x1c0043,..._0x1a8898},'args':_0x1df2c0[_0x5a9f80(0x1b5)](0x1),'tdx':null});gracefulExit(_0xf4598d);}if(_0x1df2c0[0x0]===_0x5a9f80(0x205)){const _0x293939=new ClaudeUsageCommand(),_0x461f9=await _0x293939[_0x5a9f80(0x172)]({'options':{..._0x1c0043,..._0x1a8898},'args':_0x1df2c0[_0x5a9f80(0x1b5)](0x1),'tdx':null});gracefulExit(_0x461f9);}const _0x8e2295=new ClaudeCommand(),_0x11aa4d=await createTDXInstance(_0x1c0043),_0x151543=await _0x8e2295[_0x5a9f80(0x172)]({'options':{..._0x1c0043,..._0x1a8898},'args':_0x1df2c0,'tdx':_0x11aa4d});gracefulExit(_0x151543);}),program['command'](a2_0x382dad(0x1a5))[a2_0x382dad(0x309)](a2_0x382dad(0x395))[a2_0x382dad(0x396)](a2_0x382dad(0x1da),a2_0x382dad(0x36c))[a2_0x382dad(0x396)](a2_0x382dad(0x403),a2_0x382dad(0x281))[a2_0x382dad(0x17e)](async(_0x3dbf19,_0x2cef9d,_0x2d47f3)=>{const _0x9577ba=a2_0x382dad,_0x18cb3e=new UseCommand(),_0x403e24=program[_0x9577ba(0x302)](),_0x279521=[];if(_0x3dbf19)_0x279521[_0x9577ba(0x298)](_0x3dbf19);if(_0x2cef9d)_0x279521[_0x9577ba(0x298)](_0x2cef9d);const _0x492217=_0x3dbf19===_0x9577ba(0x28a),_0x3d5c5d=_0x492217?await createTDXInstance(_0x403e24):null,_0x146994=await _0x18cb3e[_0x9577ba(0x172)]({'options':{..._0x403e24,..._0x2d47f3},'args':_0x279521,'tdx':_0x3d5c5d});gracefulExit(_0x146994);}),program[a2_0x382dad(0x280)](a2_0x382dad(0x384))['description']('Show\x20authentication\x20status\x20and\x20current\x20context')['action'](async _0xa55c36=>{const _0x39f11a=a2_0x382dad,_0x46cbe7=new StatusCommand(),_0x43a266=program[_0x39f11a(0x302)](),_0x49f250=await createTDXInstance(_0x43a266),_0xb74cad=await _0x46cbe7[_0x39f11a(0x172)]({'options':{..._0x43a266,..._0xa55c36},'args':[],'tdx':_0x49f250});gracefulExit(_0xb74cad);}),program['command'](a2_0x382dad(0x2d4))[a2_0x382dad(0x309)](a2_0x382dad(0x1f9))[a2_0x382dad(0x396)]('--dry-run',a2_0x382dad(0x2e6))[a2_0x382dad(0x396)](a2_0x382dad(0x2a2),a2_0x382dad(0x2d0))['option']('--method\x20<pm>',a2_0x382dad(0x223))[a2_0x382dad(0x17e)](async(_0x32d5c7,_0x20c861)=>{const _0xa7860c=a2_0x382dad,_0x2a75b5=new UpgradeCommand(),_0x2d2507=program[_0xa7860c(0x302)](),_0x15d289=await _0x2a75b5['run']({'options':{..._0x2d2507,..._0x20c861},'args':_0x32d5c7?[_0x32d5c7]:[],'tdx':null});gracefulExit(_0x15d289);}),program['command']('unset\x20<resource>')[a2_0x382dad(0x309)]('Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)')[a2_0x382dad(0x396)](a2_0x382dad(0x403),a2_0x382dad(0x25b))['action'](async(_0x1534f0,_0x2a35c5)=>{const _0xcc941f=a2_0x382dad,_0x2746f2=new UnsetCommand(),_0x1c24eb=program[_0xcc941f(0x302)](),_0x532b1d=await _0x2746f2[_0xcc941f(0x172)]({'options':{..._0x1c24eb,..._0x2a35c5},'args':[_0x1534f0],'tdx':null});gracefulExit(_0x532b1d);}),program[a2_0x382dad(0x280)](a2_0x382dad(0x24e))[a2_0x382dad(0x309)]('Interactive\x20chat\x20selector')[a2_0x382dad(0x396)](a2_0x382dad(0x1f5),a2_0x382dad(0x282))[a2_0x382dad(0x17e)](async _0x4fb3bf=>{const _0x2dfb89=a2_0x382dad,_0x2cb66c=new ChatsCommand(),_0x1cbdbb=program[_0x2dfb89(0x302)](),_0x225247=await createTDXInstance(_0x1cbdbb),_0x14f62f=await _0x2cb66c[_0x2dfb89(0x172)]({'options':{..._0x1cbdbb,..._0x4fb3bf},'args':[],'tdx':_0x225247});gracefulExit(_0x14f62f);});const authCmd=program['command']('auth')[a2_0x382dad(0x309)](a2_0x382dad(0x14c));async function runAuthStatusCommand(_0x4796eb){const _0x5d91b1=new AuthStatusCommand(),_0x2662a9=program['opts'](),_0x2ca1de=await createTDXInstance(_0x2662a9),_0x26623e=await _0x5d91b1['run']({'options':{..._0x2662a9,..._0x4796eb},'args':[],'tdx':_0x2ca1de});gracefulExit(_0x26623e);}authCmd[a2_0x382dad(0x17e)](runAuthStatusCommand),authCmd[a2_0x382dad(0x280)]('status')[a2_0x382dad(0x309)](a2_0x382dad(0x22e))[a2_0x382dad(0x17e)](runAuthStatusCommand),authCmd[a2_0x382dad(0x280)](a2_0x382dad(0x1f4))['description'](a2_0x382dad(0x2b1))[a2_0x382dad(0x1ba)](a2_0x382dad(0x350),a2_0x382dad(0x2af))['action'](async _0x2723b7=>{const _0x4fdd51=a2_0x382dad,_0x39088f=new AuthSetupCommand(),_0x2bc2ee=program[_0x4fdd51(0x302)](),_0x4c72da=await createTDXInstance(_0x2bc2ee),_0x523336=await _0x39088f[_0x4fdd51(0x172)]({'options':{..._0x2bc2ee,..._0x2723b7},'args':[],'tdx':_0x4c72da});gracefulExit(_0x523336);}),authCmd[a2_0x382dad(0x280)](a2_0x382dad(0x3d8))[a2_0x382dad(0x309)](a2_0x382dad(0x27a))[a2_0x382dad(0x1ba)]('after',a2_0x382dad(0x3f3))[a2_0x382dad(0x17e)](async _0x2515bf=>{const _0x1d3c42=a2_0x382dad,_0x365a0a=new AuthLoginCommand(),_0x174b14=program[_0x1d3c42(0x302)](),_0x2af6c4=await _0x365a0a[_0x1d3c42(0x172)]({'options':{..._0x174b14,..._0x2515bf},'args':[],'tdx':null});gracefulExit(_0x2af6c4);}),authCmd['command'](a2_0x382dad(0x19b))[a2_0x382dad(0x309)](a2_0x382dad(0x33b))[a2_0x382dad(0x1ba)](a2_0x382dad(0x350),a2_0x382dad(0x3d6))[a2_0x382dad(0x17e)](async _0x5560ea=>{const _0x34b521=a2_0x382dad,_0x5c42af=new AuthClearCommand(),_0x1bed62=program[_0x34b521(0x302)](),_0x179e4e=await _0x5c42af[_0x34b521(0x172)]({'options':{..._0x1bed62,..._0x5560ea},'args':[],'tdx':null});gracefulExit(_0x179e4e);});const userCmd=program[a2_0x382dad(0x280)](a2_0x382dad(0x3f1))[a2_0x382dad(0x309)](a2_0x382dad(0x400)),userListAction=async _0x1ea076=>{const _0x286a4c=a2_0x382dad,_0x256c5b=new UserListCommand(),_0xa00a9d=program['opts'](),_0x32f7ee=await createTDXInstance(_0xa00a9d),_0x33b5bf=await _0x256c5b[_0x286a4c(0x172)]({'options':{..._0xa00a9d,..._0x1ea076},'args':[],'tdx':_0x32f7ee});gracefulExit(_0x33b5bf);};userCmd[a2_0x382dad(0x17e)](async _0x5f3ee7=>{const _0x44295e=a2_0x382dad,_0x2c365d=new UserCommand(),_0x3ef023=program['opts'](),_0x419724=await createTDXInstance(_0x3ef023),_0x52a176=await _0x2c365d[_0x44295e(0x172)]({'options':{..._0x3ef023,..._0x5f3ee7},'args':[],'tdx':_0x419724});gracefulExit(_0x52a176);}),userCmd[a2_0x382dad(0x280)](a2_0x382dad(0x37a))[a2_0x382dad(0x309)](a2_0x382dad(0x408))[a2_0x382dad(0x17e)](userListAction),program['command'](a2_0x382dad(0x3e2))[a2_0x382dad(0x309)]('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')[a2_0x382dad(0x17e)](userListAction);const policyCmd=program[a2_0x382dad(0x280)]('policy')['description'](a2_0x382dad(0x232));policyCmd[a2_0x382dad(0x17e)](async _0x3000a8=>{const _0x1d6369=a2_0x382dad,_0x3dd0fe=new PolicyCommand(),_0x4adb9e=program[_0x1d6369(0x302)](),_0x27cfd4=await createTDXInstance(_0x4adb9e),_0x4529fd=await _0x3dd0fe[_0x1d6369(0x172)]({'options':{..._0x4adb9e,..._0x3000a8},'args':[],'tdx':_0x27cfd4});gracefulExit(_0x4529fd);}),policyCmd['command'](a2_0x382dad(0x37a))[a2_0x382dad(0x309)]('List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)')[a2_0x382dad(0x17e)](async _0x107a16=>{const _0x5f4d72=a2_0x382dad,_0x39e243=new PolicyListCommand(),_0x576494=program['opts'](),_0x1a7bd4=await createTDXInstance(_0x576494),_0x39b367=await _0x39e243[_0x5f4d72(0x172)]({'options':{..._0x576494,..._0x107a16},'args':[],'tdx':_0x1a7bd4});gracefulExit(_0x39b367);}),policyCmd[a2_0x382dad(0x280)](a2_0x382dad(0x3d2))['description']('Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)')['action'](async(_0xfe1349,_0x32791c)=>{const _0x3230ce=a2_0x382dad,_0x248749=new PolicyShowCommand(),_0x246d10=program[_0x3230ce(0x302)](),_0x286fd5=await createTDXInstance(_0x246d10),_0x29af5b=await _0x248749[_0x3230ce(0x172)]({'options':{..._0x246d10,..._0x32791c},'args':[_0xfe1349],'tdx':_0x286fd5});gracefulExit(_0x29af5b);}),program[a2_0x382dad(0x280)](a2_0x382dad(0x176))[a2_0x382dad(0x309)](a2_0x382dad(0x179))['action'](async _0x46957e=>{const _0x1d9e27=a2_0x382dad,_0x46e56e=new ProfilesCommand(),_0x1d2362=program[_0x1d9e27(0x302)](),_0x2965ea=await _0x46e56e[_0x1d9e27(0x172)]({'options':{..._0x1d2362,..._0x46957e},'args':[],'tdx':null});gracefulExit(_0x2965ea);});const profileCmd=program[a2_0x382dad(0x280)](a2_0x382dad(0x1c9))[a2_0x382dad(0x309)]('Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)');profileCmd[a2_0x382dad(0x17e)](()=>{const _0x467ede=a2_0x382dad;profileCmd[_0x467ede(0x339)]();});const profileListAction=async _0x1acd01=>{const _0x213aad=a2_0x382dad,_0x3f0241=new ProfilesCommand(),_0x365de4=program[_0x213aad(0x302)](),_0x380639=await _0x3f0241['run']({'options':{..._0x365de4,..._0x1acd01},'args':[],'tdx':null});gracefulExit(_0x380639);};profileCmd['command'](a2_0x382dad(0x37a))[a2_0x382dad(0x309)](a2_0x382dad(0x179))[a2_0x382dad(0x17e)](profileListAction),profileCmd[a2_0x382dad(0x280)](a2_0x382dad(0x3cf))['description']('Create\x20a\x20new\x20profile')[a2_0x382dad(0x1ba)](a2_0x382dad(0x350),'\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(_0x4dfedb,_0x226517)=>{const _0x54fa51=a2_0x382dad,_0xda6cfd=new ProfileCreateCommand(),_0x2d0425=program[_0x54fa51(0x302)](),_0x374f42=await _0xda6cfd['run']({'options':{..._0x2d0425,..._0x226517},'args':_0x4dfedb?[_0x4dfedb]:[],'tdx':null});gracefulExit(_0x374f42);}),profileCmd[a2_0x382dad(0x280)]('remove\x20<name>')['description'](a2_0x382dad(0x3ae))[a2_0x382dad(0x1ba)]('after',a2_0x382dad(0x24d))[a2_0x382dad(0x17e)](async(_0x36722a,_0x5aae70)=>{const _0x3cf14f=a2_0x382dad,_0x2b6b48=new ProfileRemoveCommand(),_0x204689=program[_0x3cf14f(0x302)](),_0x52a7f4=await _0x2b6b48[_0x3cf14f(0x172)]({'options':{..._0x204689,..._0x5aae70},'args':[_0x36722a],'tdx':null});gracefulExit(_0x52a7f4);}),profileCmd[a2_0x382dad(0x280)](a2_0x382dad(0x3de))['description'](a2_0x382dad(0x23f))[a2_0x382dad(0x1ba)](a2_0x382dad(0x350),a2_0x382dad(0x1b3))[a2_0x382dad(0x17e)](async(_0x4dbbf3,_0x878ad4)=>{const _0xa20dd0=a2_0x382dad,_0x31b08e=new ProfileSetCommand(),_0x5e6f7e=program[_0xa20dd0(0x302)](),_0x87de43=await _0x31b08e[_0xa20dd0(0x172)]({'options':{..._0x5e6f7e,..._0x878ad4},'args':[_0x4dbbf3],'tdx':null});gracefulExit(_0x87de43);}),profileCmd[a2_0x382dad(0x280)](a2_0x382dad(0x284))[a2_0x382dad(0x309)](a2_0x382dad(0x158))['option'](a2_0x382dad(0x403),a2_0x382dad(0x281))[a2_0x382dad(0x1ba)](a2_0x382dad(0x350),a2_0x382dad(0x1ee))[a2_0x382dad(0x17e)](async(_0x1ef065,_0x2329d0)=>{const _0x392ee4=a2_0x382dad,_0xec0f41=new ProfileUseCommand(),_0x3edb0a=program[_0x392ee4(0x302)](),_0xab3705=await _0xec0f41[_0x392ee4(0x172)]({'options':{..._0x3edb0a,..._0x2329d0},'args':[_0x1ef065],'tdx':null});gracefulExit(_0xab3705);});const engageCmd=program['command'](a2_0x382dad(0x33c))['description']('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x21fa0f=>{return async(_0x52f58a,_0x2c51f8)=>{const _0x2f5e46=a2_0x5251,_0x62da2a=new _0x21fa0f(),_0x51103d=program[_0x2f5e46(0x302)](),_0x3d8fd7=await createTDXInstance(_0x51103d),_0x16d84b=await _0x62da2a[_0x2f5e46(0x172)]({'options':{..._0x51103d,..._0x2c51f8},'args':[_0x52f58a],'tdx':_0x3d8fd7});gracefulExit(_0x16d84b);};},createEngageNoArgAction=_0x3ad6dd=>{return async _0x39e7c4=>{const _0x3914f5=a2_0x5251,_0x4b746d=new _0x3ad6dd(),_0x4b67e2=program[_0x3914f5(0x302)](),_0x33a4b0=await createTDXInstance(_0x4b67e2),_0x3ab2a6=await _0x4b746d[_0x3914f5(0x172)]({'options':{..._0x4b67e2,..._0x39e7c4},'args':[],'tdx':_0x33a4b0});gracefulExit(_0x3ab2a6);};},createEngageListAction=_0x23e822=>{return async(_0x46eec4,_0x10cdbc)=>{const _0x21e9c9=a2_0x5251,_0x70aea1=new _0x23e822(),_0x1c999a=program[_0x21e9c9(0x302)](),_0x1f80fe=await createTDXInstance(_0x1c999a),_0x25bbc0=await _0x70aea1[_0x21e9c9(0x172)]({'options':{..._0x1c999a,..._0x10cdbc},'args':_0x46eec4?[_0x46eec4]:[],'tdx':_0x1f80fe});gracefulExit(_0x25bbc0);};},campaignCmd=engageCmd[a2_0x382dad(0x280)]('campaign')['description'](a2_0x382dad(0x21f));campaignCmd[a2_0x382dad(0x280)](a2_0x382dad(0x322))[a2_0x382dad(0x309)](a2_0x382dad(0x2ef))[a2_0x382dad(0x396)](a2_0x382dad(0x207),a2_0x382dad(0x263))[a2_0x382dad(0x396)](a2_0x382dad(0x1ea),a2_0x382dad(0x3e7))[a2_0x382dad(0x396)](a2_0x382dad(0x1b9),'Workspace\x20name')[a2_0x382dad(0x17e)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x382dad(0x280)]('campaigns\x20[pattern]')['description'](a2_0x382dad(0x335))[a2_0x382dad(0x396)](a2_0x382dad(0x207),a2_0x382dad(0x263))[a2_0x382dad(0x396)](a2_0x382dad(0x1ea),a2_0x382dad(0x3e7))[a2_0x382dad(0x396)](a2_0x382dad(0x1b9),a2_0x382dad(0x30a))['action'](createEngageListAction(EngageCampaignsCommand)),campaignCmd['command']('show\x20<name-or-id>')[a2_0x382dad(0x309)](a2_0x382dad(0x26a))[a2_0x382dad(0x396)](a2_0x382dad(0x1b9),a2_0x382dad(0x30a))[a2_0x382dad(0x396)]('--full',a2_0x382dad(0x201))[a2_0x382dad(0x17e)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x382dad(0x280)](a2_0x382dad(0x3f6))[a2_0x382dad(0x309)](a2_0x382dad(0x40a))[a2_0x382dad(0x1f8)](a2_0x382dad(0x190),'Campaign\x20name')[a2_0x382dad(0x1f8)](a2_0x382dad(0x207),a2_0x382dad(0x2ed))['option'](a2_0x382dad(0x1b9),'Workspace\x20name\x20(required)')['option'](a2_0x382dad(0x277),a2_0x382dad(0x2a6))[a2_0x382dad(0x396)]('--segment\x20<path>',a2_0x382dad(0x373))[a2_0x382dad(0x396)](a2_0x382dad(0x23b),a2_0x382dad(0x20d))[a2_0x382dad(0x396)](a2_0x382dad(0x17c),a2_0x382dad(0x1f0))['option'](a2_0x382dad(0x1d1),a2_0x382dad(0x3e8))[a2_0x382dad(0x396)](a2_0x382dad(0x320),a2_0x382dad(0x2f7))['action'](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x382dad(0x280)](a2_0x382dad(0x16b))['description'](a2_0x382dad(0x3c3))[a2_0x382dad(0x396)]('--workspace\x20<name>',a2_0x382dad(0x30a))['option'](a2_0x382dad(0x190),a2_0x382dad(0x208))[a2_0x382dad(0x396)](a2_0x382dad(0x277),a2_0x382dad(0x2a6))[a2_0x382dad(0x396)](a2_0x382dad(0x1fe),a2_0x382dad(0x373))[a2_0x382dad(0x396)](a2_0x382dad(0x23b),a2_0x382dad(0x20d))[a2_0x382dad(0x396)]('--json-columns\x20<cols>',a2_0x382dad(0x1f0))[a2_0x382dad(0x396)](a2_0x382dad(0x1d1),a2_0x382dad(0x3e8))[a2_0x382dad(0x396)](a2_0x382dad(0x320),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x382dad(0x17e)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x382dad(0x280)](a2_0x382dad(0x301))[a2_0x382dad(0x309)](a2_0x382dad(0x406))[a2_0x382dad(0x396)](a2_0x382dad(0x1b9),a2_0x382dad(0x30a))[a2_0x382dad(0x396)](a2_0x382dad(0x1c5),a2_0x382dad(0x36a))[a2_0x382dad(0x17e)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x382dad(0x280)]('launch\x20<name-or-id>')[a2_0x382dad(0x309)](a2_0x382dad(0x3a1))[a2_0x382dad(0x396)]('--workspace\x20<name>',a2_0x382dad(0x30a))[a2_0x382dad(0x17e)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd['command'](a2_0x382dad(0x300))[a2_0x382dad(0x309)]('Pause\x20a\x20campaign')[a2_0x382dad(0x396)]('--workspace\x20<name>',a2_0x382dad(0x30a))[a2_0x382dad(0x17e)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x382dad(0x280)](a2_0x382dad(0x139))[a2_0x382dad(0x309)](a2_0x382dad(0x323))[a2_0x382dad(0x396)](a2_0x382dad(0x1b9),a2_0x382dad(0x30a))[a2_0x382dad(0x17e)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command']('duplicate\x20<name-or-id>')[a2_0x382dad(0x309)](a2_0x382dad(0x368))[a2_0x382dad(0x396)](a2_0x382dad(0x1b9),a2_0x382dad(0x30a))[a2_0x382dad(0x17e)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x382dad(0x280)](a2_0x382dad(0x177))['description'](a2_0x382dad(0x157))[a2_0x382dad(0x396)](a2_0x382dad(0x1b9),'Workspace\x20name')[a2_0x382dad(0x396)](a2_0x382dad(0x190),a2_0x382dad(0x1b4))[a2_0x382dad(0x396)](a2_0x382dad(0x207),a2_0x382dad(0x263))[a2_0x382dad(0x396)](a2_0x382dad(0x13a),a2_0x382dad(0x169))['action'](createEngageAction(EngageCampaignPullCommand)),campaignCmd['command'](a2_0x382dad(0x365))['description'](a2_0x382dad(0x27c))[a2_0x382dad(0x396)]('--workspace\x20<name>',a2_0x382dad(0x30a))[a2_0x382dad(0x396)](a2_0x382dad(0x13a),'Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0x382dad(0x17e)](createEngageAction(EngageCampaignPushCommand)),campaignCmd['command'](a2_0x382dad(0x342))['description']('Validate\x20campaign\x20YAML\x20files\x20locally')[a2_0x382dad(0x396)](a2_0x382dad(0x3c0),a2_0x382dad(0x1e3))[a2_0x382dad(0x17e)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x382dad(0x280)]('always-on-campaign')[a2_0x382dad(0x309)](a2_0x382dad(0x2b3));alwaysOnCampaignCmd['command'](a2_0x382dad(0x322))[a2_0x382dad(0x309)](a2_0x382dad(0x1d4))['option'](a2_0x382dad(0x207),a2_0x382dad(0x263))['option']('--status\x20<status>',a2_0x382dad(0x1be))[a2_0x382dad(0x1f8)](a2_0x382dad(0x1b9),a2_0x382dad(0x264))[a2_0x382dad(0x17e)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd['command'](a2_0x382dad(0x235))['description'](a2_0x382dad(0x36f))[a2_0x382dad(0x396)](a2_0x382dad(0x207),a2_0x382dad(0x263))[a2_0x382dad(0x396)]('--status\x20<status>',a2_0x382dad(0x1be))[a2_0x382dad(0x1f8)]('--workspace\x20<name>',a2_0x382dad(0x264))[a2_0x382dad(0x17e)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x382dad(0x280)](a2_0x382dad(0x3c9))[a2_0x382dad(0x309)]('Show\x20always-on\x20campaign\x20details')[a2_0x382dad(0x1f8)]('--workspace\x20<name>',a2_0x382dad(0x264))['option'](a2_0x382dad(0x258),a2_0x382dad(0x201))[a2_0x382dad(0x17e)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x382dad(0x280)](a2_0x382dad(0x3f6))[a2_0x382dad(0x309)](a2_0x382dad(0x27e))['requiredOption'](a2_0x382dad(0x190),'Campaign\x20name')[a2_0x382dad(0x1f8)](a2_0x382dad(0x207),a2_0x382dad(0x2ed))['requiredOption'](a2_0x382dad(0x1b9),a2_0x382dad(0x264))[a2_0x382dad(0x396)](a2_0x382dad(0x277),a2_0x382dad(0x2a6))[a2_0x382dad(0x396)](a2_0x382dad(0x1fe),a2_0x382dad(0x156))['option']('--enable-utm-tracking',a2_0x382dad(0x229))[a2_0x382dad(0x17e)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd['command']('update\x20<name-or-id>')[a2_0x382dad(0x309)](a2_0x382dad(0x28c))[a2_0x382dad(0x1f8)](a2_0x382dad(0x1b9),'Workspace\x20name\x20(required)')[a2_0x382dad(0x396)](a2_0x382dad(0x190),'New\x20campaign\x20name')['option'](a2_0x382dad(0x277),a2_0x382dad(0x2a6))['option'](a2_0x382dad(0x1fe),a2_0x382dad(0x156))[a2_0x382dad(0x396)](a2_0x382dad(0x36e),a2_0x382dad(0x229))[a2_0x382dad(0x17e)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x382dad(0x280)](a2_0x382dad(0x301))[a2_0x382dad(0x309)]('Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)')[a2_0x382dad(0x1f8)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x382dad(0x396)](a2_0x382dad(0x1c5),a2_0x382dad(0x36a))[a2_0x382dad(0x17e)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x382dad(0x280)](a2_0x382dad(0x1c4))[a2_0x382dad(0x309)](a2_0x382dad(0x30c))[a2_0x382dad(0x1f8)]('--workspace\x20<name>',a2_0x382dad(0x264))[a2_0x382dad(0x17e)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x382dad(0x280)](a2_0x382dad(0x300))[a2_0x382dad(0x309)]('Pause\x20an\x20always-on\x20campaign')[a2_0x382dad(0x1f8)](a2_0x382dad(0x1b9),a2_0x382dad(0x264))['action'](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x382dad(0x280)](a2_0x382dad(0x139))['description'](a2_0x382dad(0x20c))['requiredOption'](a2_0x382dad(0x1b9),a2_0x382dad(0x264))[a2_0x382dad(0x17e)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd['command'](a2_0x382dad(0x14a))[a2_0x382dad(0x309)]('Finish\x20an\x20always-on\x20campaign')['requiredOption'](a2_0x382dad(0x1b9),a2_0x382dad(0x264))[a2_0x382dad(0x396)]('--yes',a2_0x382dad(0x36a))[a2_0x382dad(0x17e)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd['command'](a2_0x382dad(0x304))[a2_0x382dad(0x309)](a2_0x382dad(0x245))[a2_0x382dad(0x1f8)](a2_0x382dad(0x1b9),a2_0x382dad(0x264))[a2_0x382dad(0x1f8)](a2_0x382dad(0x190),a2_0x382dad(0x237))['action'](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x382dad(0x280)](a2_0x382dad(0x33a))[a2_0x382dad(0x309)](a2_0x382dad(0x278));templateCmd[a2_0x382dad(0x280)](a2_0x382dad(0x322))[a2_0x382dad(0x309)](a2_0x382dad(0x398))[a2_0x382dad(0x396)](a2_0x382dad(0x1b9),a2_0x382dad(0x30a))[a2_0x382dad(0x17e)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x382dad(0x280)](a2_0x382dad(0x243))[a2_0x382dad(0x309)](a2_0x382dad(0x387))['option'](a2_0x382dad(0x1b9),a2_0x382dad(0x30a))['action'](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x382dad(0x280)](a2_0x382dad(0x3c9))['description']('Show\x20email\x20template\x20details')['option'](a2_0x382dad(0x1b9),a2_0x382dad(0x30a))['option'](a2_0x382dad(0x258),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x382dad(0x17e)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x382dad(0x280)](a2_0x382dad(0x3f6))[a2_0x382dad(0x309)](a2_0x382dad(0x19f))['requiredOption'](a2_0x382dad(0x190),a2_0x382dad(0x405))[a2_0x382dad(0x1f8)](a2_0x382dad(0x356),a2_0x382dad(0x3a4))[a2_0x382dad(0x396)](a2_0x382dad(0x1c8),a2_0x382dad(0x303))[a2_0x382dad(0x396)](a2_0x382dad(0x2bf),'Read\x20HTML\x20template\x20from\x20file')[a2_0x382dad(0x396)](a2_0x382dad(0x1b9),a2_0x382dad(0x264))[a2_0x382dad(0x396)](a2_0x382dad(0x214),'Plaintext\x20template\x20content')[a2_0x382dad(0x396)](a2_0x382dad(0x242),a2_0x382dad(0x1ab),_0x6a8aa0=>{const _0x366a60=a2_0x382dad;if(!['beefree',_0x366a60(0x2fc)][_0x366a60(0x294)](_0x6a8aa0))throw new SDKError(ErrorCode[_0x366a60(0x2cf)],'Invalid\x20editor\x20type:\x20'+_0x6a8aa0+_0x366a60(0x283));return _0x6a8aa0;})[a2_0x382dad(0x17e)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x382dad(0x280)]('update\x20<name-or-id>')[a2_0x382dad(0x309)](a2_0x382dad(0x2f9))[a2_0x382dad(0x396)](a2_0x382dad(0x1b9),a2_0x382dad(0x30a))[a2_0x382dad(0x396)]('--name\x20<name>',a2_0x382dad(0x170))[a2_0x382dad(0x396)](a2_0x382dad(0x356),a2_0x382dad(0x3a4))[a2_0x382dad(0x396)]('--html\x20<html>',a2_0x382dad(0x303))[a2_0x382dad(0x396)](a2_0x382dad(0x2bf),a2_0x382dad(0x2d9))['option'](a2_0x382dad(0x214),a2_0x382dad(0x37e))[a2_0x382dad(0x17e)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x382dad(0x280)](a2_0x382dad(0x2e9))[a2_0x382dad(0x309)](a2_0x382dad(0x2ff))['option'](a2_0x382dad(0x1b9),a2_0x382dad(0x30a))[a2_0x382dad(0x396)](a2_0x382dad(0x190),a2_0x382dad(0x2db))['option'](a2_0x382dad(0x3f0),a2_0x382dad(0x36a))['option'](a2_0x382dad(0x13a),a2_0x382dad(0x169))['action'](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x382dad(0x280)]('push\x20[target]')[a2_0x382dad(0x309)](a2_0x382dad(0x38f))[a2_0x382dad(0x396)]('--workspace\x20<name>','Workspace\x20name')[a2_0x382dad(0x396)](a2_0x382dad(0x3f0),a2_0x382dad(0x36a))['option'](a2_0x382dad(0x13a),'Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0x382dad(0x17e)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x382dad(0x280)]('validate\x20[target]')[a2_0x382dad(0x309)](a2_0x382dad(0x2cd))[a2_0x382dad(0x396)](a2_0x382dad(0x3c0),a2_0x382dad(0x1e3))[a2_0x382dad(0x17e)](createEngageAction(EngageTemplateValidateCommand)),templateCmd['command']('delete\x20<name-or-id>')['description'](a2_0x382dad(0x191))[a2_0x382dad(0x396)]('--workspace\x20<name>',a2_0x382dad(0x30a))['option'](a2_0x382dad(0x1c5),a2_0x382dad(0x36a))['action'](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x382dad(0x280)](a2_0x382dad(0x2fe))['description'](a2_0x382dad(0x198));workspaceCmd[a2_0x382dad(0x280)](a2_0x382dad(0x322))['description'](a2_0x382dad(0x324))[a2_0x382dad(0x17e)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x382dad(0x280)](a2_0x382dad(0x180))[a2_0x382dad(0x309)](a2_0x382dad(0x2a7))[a2_0x382dad(0x17e)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x382dad(0x280)](a2_0x382dad(0x3c9))['description'](a2_0x382dad(0x2ce))[a2_0x382dad(0x396)]('--full','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x382dad(0x17e)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x382dad(0x280)]('create')['description'](a2_0x382dad(0x199))[a2_0x382dad(0x1f8)](a2_0x382dad(0x190),a2_0x382dad(0x30a))['option'](a2_0x382dad(0x277),a2_0x382dad(0x1bb))[a2_0x382dad(0x17e)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x382dad(0x280)](a2_0x382dad(0x16b))[a2_0x382dad(0x309)]('Update\x20a\x20workspace')[a2_0x382dad(0x396)]('--name\x20<name>','New\x20workspace\x20name')[a2_0x382dad(0x396)](a2_0x382dad(0x277),a2_0x382dad(0x1bb))[a2_0x382dad(0x17e)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x382dad(0x280)]('delete\x20<name-or-id>')[a2_0x382dad(0x309)]('Delete\x20a\x20workspace')['option']('--yes',a2_0x382dad(0x36a))[a2_0x382dad(0x17e)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x382dad(0x280)](a2_0x382dad(0x284))[a2_0x382dad(0x309)](a2_0x382dad(0x299))['action'](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program['command'](a2_0x382dad(0x394))[a2_0x382dad(0x309)]('Delivery\x20operations\x20(email\x20senders)');deliveryCmd[a2_0x382dad(0x280)](a2_0x382dad(0x16a))[a2_0x382dad(0x309)](a2_0x382dad(0x2da))[a2_0x382dad(0x396)](a2_0x382dad(0x1b9),'Workspace\x20name')[a2_0x382dad(0x17e)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program['command']('connection')[a2_0x382dad(0x309)](a2_0x382dad(0x37b)),connectionListAction=async _0x2250ee=>{const _0x4e5efe=a2_0x382dad,_0x44d21d=new ConnectionListCommand(),_0x404e7f=program[_0x4e5efe(0x302)](),_0xd60974=await createTDXInstance(_0x404e7f),_0x2f2d07=await _0x44d21d[_0x4e5efe(0x172)]({'options':{..._0x404e7f,..._0x2250ee},'args':[],'tdx':_0xd60974});gracefulExit(_0x2f2d07);};connectionCmd[a2_0x382dad(0x280)](a2_0x382dad(0x37a))[a2_0x382dad(0x309)]('List\x20all\x20data\x20connections')[a2_0x382dad(0x17e)](connectionListAction),program['command'](a2_0x382dad(0x401),{'hidden':!![]})[a2_0x382dad(0x309)](a2_0x382dad(0x13e))[a2_0x382dad(0x17e)](connectionListAction),connectionCmd[a2_0x382dad(0x280)](a2_0x382dad(0x31b))[a2_0x382dad(0x309)](a2_0x382dad(0x35a))[a2_0x382dad(0x17e)](async(_0x3beaa0,_0x51fc19)=>{const _0x3fd13a=a2_0x382dad,_0x56fc86=new ConnectionShowCommand(),_0xc47efb=program[_0x3fd13a(0x302)](),_0x1bc863=await createTDXInstance(_0xc47efb),_0x4d02f6=await _0x56fc86['run']({'options':{..._0xc47efb,..._0x51fc19},'args':[_0x3beaa0],'tdx':_0x1bc863});gracefulExit(_0x4d02f6);}),connectionCmd[a2_0x382dad(0x280)](a2_0x382dad(0x2fa))['description'](a2_0x382dad(0x3aa))[a2_0x382dad(0x17e)](async(_0x13bae4,_0x2caa1c)=>{const _0x54a4c1=new ConnectionSchemaCommand(),_0x1e2e1e=program['opts'](),_0x1eeb0f=await createTDXInstance(_0x1e2e1e),_0x430883=await _0x54a4c1['run']({'options':{..._0x1e2e1e,..._0x2caa1c},'args':[_0x13bae4],'tdx':_0x1eeb0f});gracefulExit(_0x430883);}),connectionCmd['command'](a2_0x382dad(0x1f6))['description'](a2_0x382dad(0x255))[a2_0x382dad(0x17e)](async _0x23d736=>{const _0x23e368=a2_0x382dad,_0x6c26a6=new ConnectionTypesCommand(),_0x5ddec0=program[_0x23e368(0x302)](),_0x5d0252=await createTDXInstance(_0x5ddec0),_0x3fd17e=await _0x6c26a6['run']({'options':{..._0x5ddec0,..._0x23d736},'args':[],'tdx':_0x5d0252});gracefulExit(_0x3fd17e);}),connectionCmd[a2_0x382dad(0x280)](a2_0x382dad(0x236))['description'](a2_0x382dad(0x1e0))['action'](async(_0x2afc0e,_0x52223a)=>{const _0x5e278e=a2_0x382dad,_0x1fa431=new ConnectionSettingsCommand(),_0x52334c=program['opts'](),_0x5da518=await createTDXInstance(_0x52334c),_0x58754d=await _0x1fa431[_0x5e278e(0x172)]({'options':{..._0x52334c,..._0x52223a},'args':[_0x2afc0e],'tdx':_0x5da518});gracefulExit(_0x58754d);});const journeyCmd=program[a2_0x382dad(0x280)]('journey')[a2_0x382dad(0x309)](a2_0x382dad(0x20f)),journeyListAction=async(_0x193827,_0x17ca21)=>{const _0xc62f1f=a2_0x382dad,_0x1e8994=new JourneyListCommand(),_0x5ed6e0=program[_0xc62f1f(0x302)](),_0x5059d2=await createTDXInstance(_0x5ed6e0),_0x2b2133=await _0x1e8994[_0xc62f1f(0x172)]({'options':{..._0x5ed6e0,..._0x17ca21},'args':_0x193827?[_0x193827]:[],'tdx':_0x5059d2});gracefulExit(_0x2b2133);};journeyCmd['command'](a2_0x382dad(0x322))[a2_0x382dad(0x309)](a2_0x382dad(0x251))[a2_0x382dad(0x17e)](journeyListAction),journeyCmd[a2_0x382dad(0x280)](a2_0x382dad(0x167))[a2_0x382dad(0x309)](a2_0x382dad(0x2c5))[a2_0x382dad(0x396)](a2_0x382dad(0x2f8),a2_0x382dad(0x197))['option'](a2_0x382dad(0x25f),a2_0x382dad(0x2e1))['action'](async(_0x33ed01,_0x531736)=>{const _0x5c3806=a2_0x382dad,_0x523d23=new JourneyViewCommand(),_0x298172=program[_0x5c3806(0x302)](),_0x2a82c7=await createTDXInstance(_0x298172),_0x26011f=await _0x523d23[_0x5c3806(0x172)]({'options':{..._0x298172,..._0x531736},'args':[_0x33ed01],'tdx':_0x2a82c7});gracefulExit(_0x26011f);}),journeyCmd[a2_0x382dad(0x280)](a2_0x382dad(0x256))[a2_0x382dad(0x309)]('Show\x20journey\x20statistics')[a2_0x382dad(0x396)](a2_0x382dad(0x1cf),a2_0x382dad(0x2e0))[a2_0x382dad(0x396)](a2_0x382dad(0x329),'Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x382dad(0x396)](a2_0x382dad(0x19c),a2_0x382dad(0x3bc))[a2_0x382dad(0x396)](a2_0x382dad(0x3ec),'Include\x20raw\x20history\x20data\x20in\x20output')[a2_0x382dad(0x17e)](async(_0x5e6860,_0x2bcc73)=>{const _0x50f08c=a2_0x382dad,_0x5bbec8=new JourneyStatsCommand(),_0x14afe0=program['opts'](),_0x17f2c6=await createTDXInstance(_0x14afe0),_0x24b061=await _0x5bbec8[_0x50f08c(0x172)]({'options':{..._0x14afe0,..._0x2bcc73},'args':[_0x5e6860],'tdx':_0x17f2c6});gracefulExit(_0x24b061);}),journeyCmd[a2_0x382dad(0x280)](a2_0x382dad(0x1e4))[a2_0x382dad(0x309)](a2_0x382dad(0x30d))['option']('--type\x20<type>',a2_0x382dad(0x1b6))[a2_0x382dad(0x396)](a2_0x382dad(0x329),a2_0x382dad(0x1b7))[a2_0x382dad(0x396)](a2_0x382dad(0x19c),a2_0x382dad(0x3bc))[a2_0x382dad(0x396)](a2_0x382dad(0x25a),a2_0x382dad(0x2ab),_0x195b5c=>{const _0x365bdb=a2_0x382dad,_0x1b0be1=parseInt(_0x195b5c,0xa);if(isNaN(_0x1b0be1))throw new Error(_0x365bdb(0x22d)+_0x195b5c+'\x22.\x20Must\x20be\x20a\x20number.');return _0x1b0be1;})[a2_0x382dad(0x17e)](async(_0x4d7a38,_0x5330bc)=>{const _0x2358ae=a2_0x382dad,_0x180e96=new JourneyTrafficCommand(),_0x1b07f9=program[_0x2358ae(0x302)](),_0x4434e8=await createTDXInstance(_0x1b07f9),_0x21b15e=await _0x180e96['run']({'options':{..._0x1b07f9,..._0x5330bc},'args':[_0x4d7a38],'tdx':_0x4434e8});gracefulExit(_0x21b15e);}),journeyCmd['command'](a2_0x382dad(0x28e))[a2_0x382dad(0x309)](a2_0x382dad(0x2ac))[a2_0x382dad(0x17e)](async(_0x47db38,_0xd5f4d4)=>{const _0x53664a=a2_0x382dad,_0x507d3d=new JourneyPauseCommand(),_0xac9779=program[_0x53664a(0x302)](),_0x3e08e2=await createTDXInstance(_0xac9779),_0x55609c=await _0x507d3d[_0x53664a(0x172)]({'options':{..._0xac9779,..._0xd5f4d4},'args':[_0x47db38],'tdx':_0x3e08e2});gracefulExit(_0x55609c);}),journeyCmd[a2_0x382dad(0x280)](a2_0x382dad(0x1ca))[a2_0x382dad(0x309)](a2_0x382dad(0x39a))[a2_0x382dad(0x17e)](async(_0x59b53f,_0x4d4082)=>{const _0x4cbecd=a2_0x382dad,_0x1ff5e4=new JourneyResumeCommand(),_0x4a7430=program[_0x4cbecd(0x302)](),_0x15c3fa=await createTDXInstance(_0x4a7430),_0x3d3aaa=await _0x1ff5e4['run']({'options':{..._0x4a7430,..._0x4d4082},'args':[_0x59b53f],'tdx':_0x15c3fa});gracefulExit(_0x3d3aaa);}),journeyCmd[a2_0x382dad(0x280)]('pull\x20[name]')[a2_0x382dad(0x309)](a2_0x382dad(0x273))[a2_0x382dad(0x396)](a2_0x382dad(0x13a),a2_0x382dad(0x3b1))[a2_0x382dad(0x17e)](async(_0x3890d8,_0x41cbbb)=>{const _0x57984a=a2_0x382dad,_0x37614e=new JourneyPullCommand(),_0x1e922d=program[_0x57984a(0x302)](),_0x9de68f=await createTDXInstance(_0x1e922d),_0x28d066=await _0x37614e['run']({'options':{..._0x1e922d,..._0x41cbbb},'args':_0x3890d8?[_0x3890d8]:[],'tdx':_0x9de68f});gracefulExit(_0x28d066);}),journeyCmd[a2_0x382dad(0x280)](a2_0x382dad(0x365))[a2_0x382dad(0x309)]('Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data')['action'](async(_0x5dd608,_0x4325b0)=>{const _0x5c5466=a2_0x382dad,_0x148df6=new JourneyPushCommand(),_0xe6d723=program[_0x5c5466(0x302)](),_0x952da5=await createTDXInstance(_0xe6d723),_0xd06db7=await _0x148df6[_0x5c5466(0x172)]({'options':{..._0xe6d723,..._0x4325b0},'args':_0x5dd608?[_0x5dd608]:[],'tdx':_0x952da5});gracefulExit(_0xd06db7);}),journeyCmd['command'](a2_0x382dad(0x1c6))[a2_0x382dad(0x309)](a2_0x382dad(0x2bb))[a2_0x382dad(0x17e)](async(_0x3ff8a1,_0xa6737e)=>{const _0x301d13=a2_0x382dad,_0x10b756=new JourneyColumnsCommand(),_0x3f8dee=program[_0x301d13(0x302)](),_0x45b2a0=await createTDXInstance(_0x3f8dee),_0x18cc09=await _0x10b756['run']({'options':{..._0x3f8dee,..._0xa6737e},'args':[_0x3ff8a1],'tdx':_0x45b2a0});gracefulExit(_0x18cc09);}),journeyCmd[a2_0x382dad(0x280)](a2_0x382dad(0x1d3))['description']('List\x20activations\x20for\x20a\x20journey')[a2_0x382dad(0x17e)](async(_0x515d3e,_0x599613)=>{const _0x20cb8d=a2_0x382dad,_0x5f2e59=new JourneyActivationsCommand(),_0x17e0ee=program[_0x20cb8d(0x302)](),_0xc5ff78=await createTDXInstance(_0x17e0ee),_0x1a5bc6=await _0x5f2e59[_0x20cb8d(0x172)]({'options':{..._0x17e0ee,..._0x599613},'args':[_0x515d3e],'tdx':_0xc5ff78});gracefulExit(_0x1a5bc6);}),journeyCmd[a2_0x382dad(0x280)]('versions\x20<name-or-path>')[a2_0x382dad(0x309)](a2_0x382dad(0x3ee))[a2_0x382dad(0x17e)](async(_0x263c99,_0xcaf4e)=>{const _0x421c87=a2_0x382dad,_0x266763=new JourneyVersionsCommand(),_0x1820df=program[_0x421c87(0x302)](),_0x5d85e3=await createTDXInstance(_0x1820df),_0x23a261=await _0x266763[_0x421c87(0x172)]({'options':{..._0x1820df,..._0xcaf4e},'args':[_0x263c99],'tdx':_0x5d85e3});gracefulExit(_0x23a261);});const journeyVersionCmd=journeyCmd[a2_0x382dad(0x280)]('version')['description'](a2_0x382dad(0x147));journeyVersionCmd['command'](a2_0x382dad(0x2aa))[a2_0x382dad(0x309)]('Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey')[a2_0x382dad(0x17e)](async(_0x2919c4,_0x3757ce)=>{const _0x6bbfe=a2_0x382dad,_0x476fc7=new JourneyVersionCreateCommand(),_0x4269fb=program['opts'](),_0x3a9a1e=await createTDXInstance(_0x4269fb),_0x4e6ac9=await _0x476fc7[_0x6bbfe(0x172)]({'options':{..._0x4269fb,..._0x3757ce},'args':[_0x2919c4],'tdx':_0x3a9a1e});gracefulExit(_0x4e6ac9);}),journeyVersionCmd[a2_0x382dad(0x280)](a2_0x382dad(0x167))['description'](a2_0x382dad(0x35e))[a2_0x382dad(0x1f8)](a2_0x382dad(0x358),a2_0x382dad(0x3c4))[a2_0x382dad(0x17e)](async(_0x5e48e9,_0x30349f)=>{const _0x46dcfd=a2_0x382dad,_0x260533=new JourneyVersionViewCommand(),_0x3cf6c2=program['opts'](),_0x5d6bac=await createTDXInstance(_0x3cf6c2),_0x31ebb6=await _0x260533[_0x46dcfd(0x172)]({'options':{..._0x3cf6c2,..._0x30349f},'args':[_0x5e48e9],'tdx':_0x5d6bac});gracefulExit(_0x31ebb6);}),journeyCmd[a2_0x382dad(0x280)](a2_0x382dad(0x342))[a2_0x382dad(0x309)](a2_0x382dad(0x331))[a2_0x382dad(0x17e)](async(_0x2ea428,_0x5c822b)=>{const _0x24d853=a2_0x382dad,_0x183235=new JourneyValidateCommand(),_0x5524b0=program['opts'](),_0x4ed3dc=await createTDXInstance(_0x5524b0),_0x285d49=await _0x183235[_0x24d853(0x172)]({'options':{..._0x5524b0,..._0x5c822b},'args':_0x2ea428?[_0x2ea428]:[],'tdx':_0x4ed3dc});gracefulExit(_0x285d49);}),program[a2_0x382dad(0x280)](a2_0x382dad(0x29b))[a2_0x382dad(0x309)]('List\x20journeys\x20(alias\x20for\x20journey\x20list)')[a2_0x382dad(0x17e)](journeyListAction);const agentSyncCmd=program['command'](a2_0x382dad(0x183))[a2_0x382dad(0x309)](a2_0x382dad(0x313));agentSyncCmd['command'](a2_0x382dad(0x1e9))['description'](a2_0x382dad(0x21c))[a2_0x382dad(0x396)]('-o,\x20--output\x20<dir>',a2_0x382dad(0x196))[a2_0x382dad(0x396)](a2_0x382dad(0x306),a2_0x382dad(0x361))[a2_0x382dad(0x396)](a2_0x382dad(0x32b),a2_0x382dad(0x33e))['action'](async(_0x3ddfee,_0x47f5c2,_0x27a10e)=>{const _0x1122ad=a2_0x382dad,_0x2d50a2=new AgentPullCommand(),_0xd7983=program[_0x1122ad(0x302)](),_0xe3005b=await createTDXInstance(_0xd7983),_0x28092f=[];if(_0x3ddfee)_0x28092f['push'](_0x3ddfee);if(_0x47f5c2)_0x28092f[_0x1122ad(0x298)](_0x47f5c2);const _0x26e2b5=await _0x2d50a2[_0x1122ad(0x172)]({'options':{..._0xd7983,..._0x27a10e},'args':_0x28092f,'tdx':_0xe3005b});gracefulExit(_0x26e2b5);}),agentSyncCmd[a2_0x382dad(0x280)](a2_0x382dad(0x21d))[a2_0x382dad(0x309)]('Push\x20local\x20agent\x20files\x20to\x20LLM\x20project')[a2_0x382dad(0x396)](a2_0x382dad(0x306),a2_0x382dad(0x266))[a2_0x382dad(0x17e)](async(_0x447f55,_0x59e304)=>{const _0x57f664=a2_0x382dad,_0xcc3377=new AgentPushCommand(),_0x1cb864=program['opts'](),_0x2554af=await createTDXInstance(_0x1cb864),_0x50527f=await _0xcc3377[_0x57f664(0x172)]({'options':{..._0x1cb864,..._0x59e304},'args':_0x447f55?[_0x447f55]:[],'tdx':_0x2554af});gracefulExit(_0x50527f);}),agentSyncCmd[a2_0x382dad(0x280)]('clone\x20[source]')[a2_0x382dad(0x309)]('Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project')[a2_0x382dad(0x396)](a2_0x382dad(0x31d),'Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x382dad(0x17e)](async(_0x10c652,_0x40b891)=>{const _0x5009a6=a2_0x382dad,_0x307745=new AgentCloneCommand(),_0x3a33c4=program[_0x5009a6(0x302)](),_0x847a3a=await createTDXInstance(_0x3a33c4),_0x19b93a=await _0x307745['run']({'options':{..._0x3a33c4,..._0x40b891},'args':_0x10c652?[_0x10c652]:[],'tdx':_0x847a3a});gracefulExit(_0x19b93a);}),agentSyncCmd[a2_0x382dad(0x280)](a2_0x382dad(0x18b))[a2_0x382dad(0x309)]('Run\x20tests\x20for\x20an\x20LLM\x20agent')['option']('--name\x20<names>','Run\x20specific\x20tests\x20(comma-separated)')[a2_0x382dad(0x396)](a2_0x382dad(0x3d3),a2_0x382dad(0x1b1))['option'](a2_0x382dad(0x13a),a2_0x382dad(0x2ae))[a2_0x382dad(0x396)](a2_0x382dad(0x248),'Generate\x20test\x20conversations\x20without\x20evaluation')['option'](a2_0x382dad(0x30f),'Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')[a2_0x382dad(0x17e)](async(_0x31cc2f,_0xc4a52a)=>{const _0xd87803=a2_0x382dad,_0x5608f1=new AgentTestCommand(),_0x5a4537=program['opts'](),_0x5df618=await createTDXInstance(_0x5a4537),_0x3e52c3=await _0x5608f1[_0xd87803(0x172)]({'options':{..._0x5a4537,..._0xc4a52a},'args':_0x31cc2f?[_0x31cc2f]:[],'tdx':_0x5df618});gracefulExit(_0x3e52c3);}),agentSyncCmd[a2_0x382dad(0x280)](a2_0x382dad(0x322))[a2_0x382dad(0x309)](a2_0x382dad(0x404))[a2_0x382dad(0x17e)](llmAgentListAction),agentSyncCmd['command'](a2_0x382dad(0x2be))['description'](a2_0x382dad(0x18a))[a2_0x382dad(0x17e)](async(_0xa26d2f,_0x56b942)=>{const _0x346462=a2_0x382dad,_0x4b556d=new LLMAgentShowCommand(),_0xf06137=program[_0x346462(0x302)](),_0x32c4cf=await createTDXInstance(_0xf06137),_0x439d5d=await _0x4b556d['run']({'options':{..._0xf06137,..._0x56b942},'args':[_0xa26d2f],'tdx':_0x32c4cf});gracefulExit(_0x439d5d);}),agentSyncCmd[a2_0x382dad(0x280)](a2_0x382dad(0x308))[a2_0x382dad(0x309)]('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a2_0x382dad(0x396)](a2_0x382dad(0x3c1),a2_0x382dad(0x1bf))['option'](a2_0x382dad(0x2e3),a2_0x382dad(0x2c8),a2_0x382dad(0x18e))[a2_0x382dad(0x396)](a2_0x382dad(0x162),a2_0x382dad(0x2b0))[a2_0x382dad(0x396)](a2_0x382dad(0x1f7),a2_0x382dad(0x336),'4')[a2_0x382dad(0x396)]('--temperature\x20<n>',a2_0x382dad(0x314),'0.7')['action'](async(_0x52bf09,_0x1aeefa)=>{const _0x59fad5=a2_0x382dad,_0x478be5=new LLMAgentCreateCommand(),_0xf1b634=program[_0x59fad5(0x302)](),_0x3ad62d=await createTDXInstance(_0xf1b634),_0x5d5054=await _0x478be5[_0x59fad5(0x172)]({'options':{..._0xf1b634,..._0x1aeefa},'args':[_0x52bf09],'tdx':_0x3ad62d});gracefulExit(_0x5d5054);}),agentSyncCmd[a2_0x382dad(0x280)]('update\x20<agent-name>')['description'](a2_0x382dad(0x185))[a2_0x382dad(0x396)](a2_0x382dad(0x343),a2_0x382dad(0x1e6))[a2_0x382dad(0x396)]('--prompt\x20<text>',a2_0x382dad(0x24a))[a2_0x382dad(0x396)](a2_0x382dad(0x15d),'Agent\x20description')[a2_0x382dad(0x396)](a2_0x382dad(0x162),a2_0x382dad(0x2b0))[a2_0x382dad(0x17e)](async(_0x57f09a,_0xe51e7e)=>{const _0x3b5ec6=new LLMAgentUpdateCommand(),_0x59824f=program['opts'](),_0x341907=await createTDXInstance(_0x59824f),_0x38be3d=await _0x3b5ec6['run']({'options':{..._0x59824f,..._0xe51e7e},'args':[_0x57f09a],'tdx':_0x341907});gracefulExit(_0x38be3d);}),agentSyncCmd[a2_0x382dad(0x280)]('delete\x20<agent-name>')['description'](a2_0x382dad(0x1fa))[a2_0x382dad(0x17e)](async(_0x47e0b8,_0xad860b)=>{const _0x160e37=a2_0x382dad,_0x52733b=new LLMAgentDeleteCommand(),_0x140a3c=program[_0x160e37(0x302)](),_0x2bbcd8=await createTDXInstance(_0x140a3c),_0x382be5=await _0x52733b['run']({'options':{..._0x140a3c,..._0xad860b},'args':[_0x47e0b8],'tdx':_0x2bbcd8});gracefulExit(_0x382be5);}),program[a2_0x382dad(0x280)]('_list-commands',{'hidden':!![]})['action'](()=>{const _0x542e4c=a2_0x382dad;function _0x2d00de(_0x27ff11,_0x336b56){const _0x31903a=a2_0x5251,_0x510500=[];for(const _0x522655 of _0x27ff11[_0x31903a(0x3e1)]){if(_0x522655[_0x31903a(0x2c4)])continue;const _0x171ee2=_0x336b56?_0x336b56+'\x20'+_0x522655[_0x31903a(0x2b9)]():_0x522655[_0x31903a(0x2b9)](),_0x3b3a13=_0x171ee2[_0x31903a(0x2d5)]('\x20')[0x0],_0xc1b929=COMMAND_CATEGORIES[_0x31903a(0x1d0)](_0x559fdf=>_0x559fdf[_0x31903a(0x3e1)]['includes'](_0x3b3a13)),_0x232546=_0xc1b929?.[_0x31903a(0x2b9)]??'';if(_0x522655[_0x31903a(0x3e1)][_0x31903a(0x1cb)]>0x0)_0x510500[_0x31903a(0x298)](..._0x2d00de(_0x522655,_0x171ee2));else{const _0x5ded98=(_0x522655[_0x31903a(0x321)]||[])[_0x31903a(0x328)](_0x51afbd=>{const _0x4a853a=_0x31903a,_0x5e8404=_0x51afbd[_0x4a853a(0x3f9)]?_0x51afbd[_0x4a853a(0x2b9)]()+'...':_0x51afbd[_0x4a853a(0x2b9)]();return _0x51afbd['required']?'<'+_0x5e8404+'>':'['+_0x5e8404+']';})[_0x31903a(0x2f3)]('\x20'),_0x2f9085=_0x522655[_0x31903a(0x28d)][_0x31903a(0x1c1)](_0xf4a644=>!_0xf4a644[_0x31903a(0x13d)]&&_0xf4a644[_0x31903a(0x227)]!==_0x31903a(0x318))['map'](_0x56a4b6=>({'flags':_0x56a4b6[_0x31903a(0x2ba)],'description':_0x56a4b6['description']}));_0x510500[_0x31903a(0x298)]({'name':_0x171ee2,'description':_0x522655[_0x31903a(0x309)](),'group':_0x232546,'usage':_0x5ded98,'options':_0x2f9085});}}return _0x510500;}console['log'](JSON[_0x542e4c(0x3cb)](_0x2d00de(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x17f4cb=a2_0x382dad,_0x3be9fe=!process[_0x17f4cb(0x26c)][_0x17f4cb(0x1b5)](0x2)[_0x17f4cb(0x1cb)];showBriefHelp=_0x3be9fe,program[_0x17f4cb(0x351)](process[_0x17f4cb(0x26c)]);_0x3be9fe&&program[_0x17f4cb(0x339)]();const _0x4873a8=process['argv'][0x2]===_0x17f4cb(0x1db);if(process[_0x17f4cb(0x347)]['isTTY']&&process[_0x17f4cb(0x26c)][_0x17f4cb(0x1cb)]>0x2&&!isDevVersion()&&!_0x4873a8){const _0x39fb81=loadReleaseChannel();checkForUpdate(currentVersion,_0x39fb81)[_0x17f4cb(0x1f3)](_0xb39fc7=>{_0xb39fc7&&displayUpdateNotification(_0xb39fc7);})['catch'](()=>{});}}
|
|
1
|
+
const a2_0x36f7b6=a2_0xe904;(function(_0xce3d5f,_0xca8267){const _0x4e1333=a2_0xe904,_0x3d1088=_0xce3d5f();while(!![]){try{const _0x226e8e=parseInt(_0x4e1333(0x174))/0x1*(parseInt(_0x4e1333(0x1bc))/0x2)+parseInt(_0x4e1333(0x2a4))/0x3*(parseInt(_0x4e1333(0x182))/0x4)+parseInt(_0x4e1333(0x16e))/0x5+parseInt(_0x4e1333(0xe3))/0x6+-parseInt(_0x4e1333(0xc2))/0x7+-parseInt(_0x4e1333(0x31e))/0x8*(-parseInt(_0x4e1333(0x307))/0x9)+-parseInt(_0x4e1333(0x366))/0xa*(parseInt(_0x4e1333(0x10b))/0xb);if(_0x226e8e===_0xca8267)break;else _0x3d1088['push'](_0x3d1088['shift']());}catch(_0x480814){_0x3d1088['push'](_0x3d1088['shift']());}}}(a2_0x57e9,0xb389c));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';function a2_0x57e9(){const _0x496059=['Include\x20retried\x20attempts','push','isTTY','-f,\x20--force','Show\x20all\x20files\x20including\x20valid\x20ones','--attribute\x20[name]','Delete\x20an\x20email\x20template','--attributes\x20<json>','tdx\x20','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Resume\x20a\x20paused\x20journey','parse','\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','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','--tsv','opts','List\x20email\x20senders','--html\x20<html>','list','--parent-segment\x20<name>','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','View\x20a\x20specific\x20version\x20of\x20a\x20journey','retry','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','push\x20[name]','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Output\x20file\x20path','--new','options','workspace','Filtering\x20rule\x20as\x20JSON\x20string','Move\x20to\x20folder','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','isDirectory','Show\x20only\x20master\x20table\x20validation','upgrade\x20[version]','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Skip\x20validation\x20of\x20.dig\x20files','push\x20[path]','gitRevision','launch\x20<name-or-id>','New\x20campaign\x20name','use\x20<name>','--customer-group\x20<json>','--tags\x20<tags>','[EXPERIMENTAL]\x20Show\x20chat\x20log','journeys\x20[pattern]','Kill\x20a\x20job','--email-sender-id\x20<id>','\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','Limit\x20number\x20of\x20rows','name','AI-native\x20CLI\x20for\x20Treasure\x20Data','commandDescription','Resume\x20from\x20specific\x20task\x20(retry)','show\x20<policy>','Delete\x20a\x20campaign','--type\x20<api_type>','GET','pull\x20[name]','push\x20[parent_or_file]','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','Remove\x20API\x20key\x20from\x20system\x20keychain','Delete\x20a\x20workspace','Validate\x20journey\x20YAML\x20files\x20locally','--timeout\x20<seconds>','--plaintext\x20<text>','Remove\x20a\x20profile','kill\x20<job-id>','Submit\x20a\x20job','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','catch','Maximum\x20rows\x20to\x20display','-d,\x20--database\x20<database>','Plaintext\x20template\x20content','3758487GURvmK','claude\x20[args...]','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Commands:','option','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','view\x20<name-or-path>','attempt:','setup','--table','error','Skip\x20confirmation\x20prompts','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','--enriched','Start\x20a\x20new\x20chat\x20session','remove\x20<name>','accessToken','--clear','New\x20template\x20name','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','--params\x20<json>','Include\x20raw\x20history\x20data\x20in\x20output','show\x20<agent-name>','--limit\x20<n>','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Database\x20name\x20(required)','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','push\x20[target]','tsv','\x22.\x20Must\x20be\x20a\x20number.','Customer\x20group\x20from\x20JSON\x20file','--delay\x20<seconds>','[DEPRECATED]\x20Segment\x20folder\x20management','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','view\x20[segment_name]','Update\x20a\x20scheduled\x20query','--yes','version','Attributes\x20as\x20JSON\x20string','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','Folder\x20name\x20for\x20organization','replace','delete\x20<name-or-id>','List\x20available\x20LLM\x20models','Get\x20job\x20results','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','--invisible','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','update\x20<name-or-id>','--session-time\x20<time>','--description\x20<desc>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','-c,\x20--continue','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','workflows\x20[project]','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','show\x20[name]','pull\x20[project]\x20[agent-name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Read\x20request\x20body\x20from\x20file','fields\x20[parent_name]','--job-type\x20<type>','command','preview\x20[name]','logLevel','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','table','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','--reason\x20<text>','Create\x20a\x20scheduled\x20query','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','filter','RT\x202.0\x20configuration\x20management','usage','description','history\x20<name>','Segment\x20description','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','addHelpText','create','list\x20[project]','--interval\x20<range>','finish\x20<name-or-id>','Workflow\x20parameter\x20(repeatable)','duplicate\x20<name-or-id>','Output\x20as\x20JSON\x20Lines','--path\x20<file-path>','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','agents\x20[pattern]','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','stats\x20<name-or-path>','folders\x20<parent_name>','6635322mhqEdO','Template\x20name','Delete\x20a\x20scheduled\x20query','Pull\x20specific\x20template\x20by\x20name','resume\x20<name-or-path>','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','--workspace\x20<name>','after','Pause\x20a\x20running\x20journey','Show\x20schedule\x20details','--stage\x20<name>','Create\x20segment\x20folder','Launch\x20a\x20campaign','HTML\x20template\x20content','-f,\x20--file\x20<path>','--method\x20<pm>','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Show\x20what\x20would\x20be\x20written\x20without\x20writing','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Continue\x20most\x20recent\x20conversation','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','alias','Name\x20for\x20the\x20duplicated\x20campaign','8hFtqlw','templates\x20[pattern]','Reason\x20for\x20killing\x20the\x20attempt','Custom\x20revision\x20name\x20(default:\x20timestamp)','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','create\x20<name-or-path>','Show\x20authentication\x20status\x20and\x20current\x20context','Email\x20sender\x20ID\x20for\x20delivery','session','List\x20available\x20connector\x20types','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','--from\x20<timestamp>','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Parse\x20and\x20validate\x20without\x20executing','Timezone\x20(e.g.,\x20America/Los_Angeles)','Launch\x20an\x20always-on\x20campaign','--segment\x20<path>','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Set\x20operation\x20timeout\x20in\x20seconds','Include\x20execution\x20statistics','--no-count-population','sessions\x20[project]','list\x20[name]','-y,\x20--yes','--trace','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','DEBUG','--default','length','information_schema','INVALID_ARGUMENT','Overwrite\x20local\x20changes\x20without\x20confirmation','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','--force','always-on-campaigns\x20[pattern]','buildTime','List\x20activations\x20for\x20a\x20journey','-o,\x20--output\x20<folder>','--jsonl','Run\x20a\x20scheduled\x20query\x20immediately','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','Workspace\x20name\x20(required)','--prompt\x20<text>','List\x20jobs','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Pull\x20specific\x20revision\x20(default:\x20latest)','[task-name]','forEach','desc\x20[name]','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','--full','optionTerm','--follow','--status\x20<status>','trace','users','Maximum\x20recursion\x20depth\x20(default:\x2010)','Workspace\x20management','Show\x20segment\x20schema\x20(column\x20types)','result\x20<job-id>','--num\x20<1-10>','[attempt-id]','run\x20[workflow]','show\x20<name-or-id>','Workflow\x20(Digdag)\x20management\x20commands','entries','Update\x20a\x20campaign','Parent\x20folder\x20name\x20for\x20nested\x20folders','\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','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','1390CsxkCi','Make\x20segment\x20invisible\x20(default:\x20visible)','query\x20[sql]','list\x20[pattern]','Set\x20a\x20profile\x20configuration\x20value','Workspace\x20description','\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','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','--skip-validation','push\x20[source-dir]','hidden','List\x20agents\x20in\x20current\x20project','Include\x20subtasks\x20in\x20tasks\x20output','split','TRACE','databases\x20[pattern]','Create\x20a\x20workspace','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','--max-tool-iterations\x20<n>','pause\x20<name-or-path>','Query\x20engine\x20version','pause\x20<name-or-id>','List\x20all\x20versions\x20of\x20a\x20journey','Pull\x20child\x20segments\x20to\x20YAML\x20files','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Show\x20workspace\x20details','versions\x20<name-or-path>','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Maximum\x20tool\x20iterations\x20(default:\x204)','--site\x20<site>','--to\x20<n>','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','List\x20all\x20data\x20connections','--start-at\x20<datetime>','create\x20<parent_name>\x20<folder_name>','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Database\x20name\x20(default:\x20information_schema)','Export\x20journey(s)\x20as\x20YAML\x20files','chat\x20[message...]','Show\x20agent\x20details','Personalization\x20service\x20management','Validate\x20campaign\x20YAML\x20files\x20locally','policy','--dry-run','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','Run\x20tests\x20for\x20an\x20LLM\x20agent','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','delete\x20<args...>','argv','help','stderr','--delete','4615681Wwykdb','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Add\x20behaviors\x20as\x20JSON\x20string','Enable\x20UTM\x20tracking','jsonl','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','argumentTerm','\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','-d,\x20--database\x20<db>','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Open\x20parent\x20segment\x20in\x20web\x20browser','Open\x20journey\x20in\x20web\x20browser','Database\x20to\x20query\x20(default:\x20information_schema)','Update\x20an\x20existing\x20agent','format','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','--retry-limit\x20<0~32>','Database\x20management\x20commands','--version\x20<number>','--timezone\x20<tz>','Project\x20description','Access\x20control\x20policy\x20commands','tables\x20[pattern]','Always-on\x20campaign\x20management','Preview\x20changes\x20without\x20writing\x20files','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','Pull\x20templates\x20to\x20YAML\x20files','attempt','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Pull\x20specific\x20campaign\x20by\x20name','1276620DmAzKI','list\x20[path]','Show\x20master\x20table\x20sample\x20data','--max-depth\x20<depth>','init\x20[name]','--starter-message\x20<text>','Output\x20as\x20JSON','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Workflow\x20attempt\x20management','padEnd','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','-n,\x20--name\x20<name>','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Agent\x20description','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','JSON\x20columns\x20for\x20connector\x20(comma-separated)','--behavior\x20[name]','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','padWidth','Trino\x20catalog\x20(default:\x20td)','--include-subtasks','aliases','log','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','logs','optionDescription','download\x20<project-name>\x20[output-dir]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','--attributes-file\x20<file>','Delay\x20in\x20seconds\x20before\x20execution','use\x20[name]','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','Force\x20retry\x20even\x20if\x20not\x20failed','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','run\x20[name]','upgrade','database','--debug','--from\x20<date>','Output\x20folder\x20(default:\x20{project_name}.llm)','263989CMjqau','subcommandDescription','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Read\x20SQL\x20query\x20from\x20file','auth','Ending\x20offset\x20(default:\x2020)','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','schedule','Usage:\x20','run\x20<name>','Database\x20name','--limit\x20<rows>','Show\x20journey\x20statistics','\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','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','resume\x20<name-or-id>','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','--color','injectIntoOptions','history\x20[chat-id]','chats','Show\x20timeline\x20for\x20specific\x20attempt','Read\x20query\x20from\x20file','exit','Setup\x20API\x20key\x20authentication\x20interactively','includes','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','createAsync','--folder\x20<name>','-r,\x20--resume','Interactive\x20chat\x20selector','create\x20[name]','stringify','--name\x20<name>','use\x20[resource]\x20[value]','outputHelp','preview\x20[file]','Attributes\x20from\x20JSON\x20file','Action:\x20logs,\x20tasks,\x20kill,\x20retry','attempts\x20[project]','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Workflow\x20project\x20management','isArray','Version\x20number\x20to\x20view','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','update\x20<agent-name>','--editor-type\x20<type>','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','\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','Pause\x20an\x20always-on\x20campaign','Add\x20attributes\x20from\x20JSON\x20file','settings\x20<type>','pull\x20[workspace-name]','--description\x20<text>','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Retry\x20limit\x20(0\x20to\x2032)','find','--parent-folder\x20<name>','Output\x20file\x20path\x20(default:\x20<name>.yml)','Cron\x20expression\x20for\x20scheduling','backup\x20<name>','Arguments:','upload\x20[project-name-or-dir]','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','show\x20[table]','--format\x20<format>','--schedule-type\x20<type>','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Task\x20name\x20for\x20logs\x20action','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','statusline','Run\x20specific\x20tests\x20(comma-separated)','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Job\x20management\x20commands','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Request\x20body\x20as\x20JSON\x20string','-X,\x20--method\x20<method>','argumentDescription','validate\x20[name]','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Update\x20an\x20always-on\x20campaign','Updated\x20schedule\x20option','Describe\x20table\x20schema','unset\x20<resource>','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','required','Agent\x20name','requiredOption','use\x20[project]','Read\x20HTML\x20template\x20from\x20file','Timezone\x20for\x20cron','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Master\x20database\x20name','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','6246705Ggpyso','Behaviors\x20from\x20JSON\x20file','claude-4.5-sonnet','folder','--engine-version\x20<version>','0.7','19zZuffW','mcp','us01','clone\x20[source-dir]','Updated\x20description','Resume\x20a\x20paused\x20always-on\x20campaign','Show\x20the\x20most\x20recent\x20chat','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','journey','validate\x20[target]','engage','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','4rWflYb','--rule-file\x20<file>','chdir','Query\x20type:\x20trino\x20or\x20hive','schema\x20<type>','action','--type\x20<type>','Show\x20always-on\x20campaign\x20details','tdx','delete\x20<name>','map','Campaign\x20name','LLM\x20project\x20to\x20use\x20(overrides\x20context)','Timezone\x20for\x20cron\x20(default:\x20UTC)','test\x20[path]','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','subcommandTerm','show\x20<folder_ref>','-C,\x20--directory\x20<path>','allowUnknownOption','--schedule-option\x20<value>','--add-behaviors-file\x20<file>','Show\x20schedule\x20execution\x20history','Push\x20without\x20confirmation','project','--in\x20<db>','-w,\x20--web','Delivery\x20operations\x20(email\x20senders)','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Generate\x20test\x20conversations\x20without\x20evaluation','--last','Campaign\x20management','Starting\x20offset\x20(default:\x200)','Delete\x20an\x20LLM\x20project','Create\x20a\x20new\x20agent\x20in\x20current\x20project','_hidden','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','LLM\x20agent\x20management','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','_list-commands','site','--next','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Journey\x20version\x20management','--rule\x20<json>','template','New\x20workspace\x20name','Create\x20a\x20new\x20profile','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','--result\x20<target>','flags','--to\x20<timestamp>','fields\x20[name]','campaigns\x20[pattern]','Create\x20a\x20new\x20always-on\x20campaign','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','commands','134572PMFzcV','Finish\x20an\x20always-on\x20campaign','engage_workspace',',\x20version\x20','--priority\x20<-2~2>','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','flatMap','--version','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Folder\x20description','List\x20journeys\x20(alias\x20for\x20journey\x20list)','summary','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','push\x20[file]','Update\x20an\x20email\x20template','Starter\x20message','Preview\x20without\x20creating\x20the\x20project','connection','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','run','[options]\x20--\x20[claude-code-args...]','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','directory','CDP\x20Journey\x20Orchestration\x20commands','--include-retried','clear','Update\x20a\x20workspace','show\x20<job-id>','segment','YAML\x20file\x20path\x20for\x20unpushed\x20segment','Create\x20a\x20new\x20LLM\x20project','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','jobs','secrets','json','debug','-1d','INFO','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','argument','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','--to\x20<date>','Show\x20connection\x20details\x20by\x20name','hook','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Delete\x20an\x20agent','workflow','join','Parent\x20segment\x20management','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','update\x20<name>','--reeval','Maximum\x20number\x20of\x20nodes','-v,\x20--verbose','--revision\x20<revision>','--data\x20<data>','describe\x20[table]','show\x20<name>','llm','parent_segment','Include\x20retried\x20attempts\x20(for\x20list)','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','-o,\x20--output\x20<file>','senders\x20[pattern]','timeline\x20[project.workflow]','noColor','--no-eval','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','--result\x20<url>','--session\x20<id>','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','clone\x20[source]','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','--verbose','status','Change\x20to\x20directory\x20before\x20executing\x20command','Name\x20for\x20the\x20new\x20project\x20(required)','Workflow\x20session\x20management','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','Create\x20an\x20email\x20template','--cron\x20<expression>','--add-attributes\x20<json>','Show\x20stats\x20for\x20specific\x20stage','Pull\x20workflow\x20project\x20to\x20local\x20folder','slice','apiKey','Show\x20campaign\x20details','Skip\x20confirmation\x20prompt','--master','use\x20<project-name>','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','...','Path\x20is\x20not\x20a\x20directory:\x20','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','registeredArguments','Preview\x20operation\x20without\x20executing','Skip\x20population\x20counting','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','--session-id\x20<id>','job','Email\x20subject\x20template','New\x20segment\x20name','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','--json','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','Pause\x20a\x20campaign','parent-segment','Workspace\x20name','projects\x20[pattern]','Duplicate\x20an\x20always-on\x20campaign','--time\x20<iso8601>','Campaign\x20description','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Duplicate\x20a\x20campaign','repeat','api\x20[endpoint]','--html-file\x20<path>','Agent\x20prompt/instructions','desc\x20[segment_name]','campaign','segments\x20[path]','--output\x20<file>','always-on-campaign','Filtering\x20rule\x20from\x20JSON\x20file','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','-H,\x20--header\x20<header>','--json-columns\x20<cols>','User\x20management\x20commands','Email\x20template\x20management','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Show\x20job\x20details','delete\x20<agent-name>','End\x20time\x20filter\x20(ISO\x208601\x20format)','--llm-project\x20<name>','--name\x20<names>','--resume-from\x20<task>','Pull\x20campaigns\x20to\x20YAML\x20files','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','variadic','--param\x20<key=value>','--in\x20<database>','create\x20<name>','--kind\x20<type>','Temperature\x20(0.0-2.0,\x20default:\x200.7)','\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','Clear\x20workflow\x20project\x20context','Enable\x20verbose\x20logging','--from\x20<n>','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Job\x20priority\x20(-2\x20to\x202)'];a2_0x57e9=function(){return _0x496059;};return a2_0x57e9();}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{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-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_0x36f7b6(0xbe)][a2_0x36f7b6(0x125)](a2_0x36f7b6(0x1c3))){let versionOutput=a2_0x36f7b6(0x25d)+currentVersion;buildInfo[a2_0x36f7b6(0x280)]&&!currentVersion[a2_0x36f7b6(0x125)](buildInfo[a2_0x36f7b6(0x280)])&&(versionOutput+='\x20('+buildInfo[a2_0x36f7b6(0x280)]+')'),buildInfo[a2_0x36f7b6(0x342)]&&(versionOutput+='\x20-\x20built\x20'+buildInfo[a2_0x36f7b6(0x342)]),console[a2_0x36f7b6(0xf9)](versionOutput),process[a2_0x36f7b6(0x123)](0x0);}const program=new Command();export function mergeCommandOptions(_0x4cbada,_0x57622c){const _0x39f95f=a2_0x36f7b6,_0x4f3ee8={..._0x4cbada};for(const [_0x348d43,_0x3043d2]of Object[_0x39f95f(0x360)](_0x57622c)){_0x3043d2!==undefined&&(_0x4f3ee8[_0x348d43]=_0x3043d2);}return _0x4f3ee8;}let showBriefHelp=![],description=a2_0x36f7b6(0x28d);buildInfo[a2_0x36f7b6(0x280)]&&!currentVersion[a2_0x36f7b6(0x125)](buildInfo[a2_0x36f7b6(0x280)])?description+=a2_0x36f7b6(0x1bf)+currentVersion+'\x20('+buildInfo[a2_0x36f7b6(0x280)]+')':description+=a2_0x36f7b6(0x1bf)+currentVersion;program['name']('tdx')[a2_0x36f7b6(0x2f3)](description),program[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x195),a2_0x36f7b6(0x209))[a2_0x36f7b6(0x2a8)]('-p,\x20--profile\x20<name>',a2_0x36f7b6(0x202))['option'](a2_0x36f7b6(0xaa),a2_0x36f7b6(0x350),a2_0x36f7b6(0x176))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x14e),a2_0x36f7b6(0x143))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x2ae),'Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)')['option'](a2_0x36f7b6(0x226),a2_0x36f7b6(0x13c))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x345),a2_0x36f7b6(0x21b))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x265),'Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)')['option'](a2_0x36f7b6(0x238),'Save\x20output\x20to\x20file')[a2_0x36f7b6(0x2a8)]('--limit\x20<number>',a2_0x36f7b6(0x2c8))['option'](a2_0x36f7b6(0x11d),a2_0x36f7b6(0xd3),![])[a2_0x36f7b6(0x2a8)]('--no-color',a2_0x36f7b6(0x17f),![])[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x1f1),a2_0x36f7b6(0x251),![])[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x108),a2_0x36f7b6(0x15c))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x337),a2_0x36f7b6(0x1ff))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x29a),a2_0x36f7b6(0x331),'30')[a2_0x36f7b6(0x2a8)]('--dry-run',a2_0x36f7b6(0x21d),![])[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x336),a2_0x36f7b6(0x2b0),![])[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x201),a2_0x36f7b6(0x364))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x26a),a2_0x36f7b6(0x1ba))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x244),a2_0x36f7b6(0x18e)),program['configureHelp']({'formatHelp':(_0x1df853,_0x219f94)=>{const _0x2d6d90=a2_0x36f7b6,_0x18e970=_0x219f94[_0x2d6d90(0xf5)](_0x1df853,_0x219f94),_0x35f65d=0x2,_0x230248=0x2;function _0x5ed860(_0x38c0d1){const _0x57fd16=_0x2d6d90,_0x1b33c0=_0x38c0d1;return!!(_0x1b33c0['_hidden']||_0x1b33c0[_0x57fd16(0x371)]);}function _0x76690e(_0x2d4e67,_0x23f3d4){const _0x30e80c=_0x2d6d90;if(_0x23f3d4){const _0x460b5b=''+_0x2d4e67[_0x30e80c(0xec)](_0x18e970+_0x230248)+_0x23f3d4;return _0x460b5b;}return _0x2d4e67;}function _0x5eb388(_0x153530){const _0x2472b1=_0x2d6d90;return _0x153530[_0x2472b1(0x1eb)]('\x0a')[_0x2472b1(0x2d0)](/^/gm,'\x20'[_0x2472b1(0x231)](_0x35f65d));}const _0xcb0618=[];_0xcb0618[_0x2d6d90(0x256)](_0x2d6d90(0x114)+_0x219f94['commandUsage'](_0x1df853));const _0x169a5e=_0x219f94[_0x2d6d90(0x28e)](_0x1df853);_0x169a5e&&(_0xcb0618[_0x2d6d90(0x256)](''),_0xcb0618['push'](_0x169a5e));const _0x50983a=_0x1df853[_0x2d6d90(0x1bb)][_0x2d6d90(0x2f0)](_0x198f23=>!_0x5ed860(_0x198f23));if(_0x50983a[_0x2d6d90(0x33b)]>0x0){if(_0x1df853['name']()==='tdx'){const _0x1187b5=_0x1df853[_0x2d6d90(0x266)](),_0x3ba715=!_0x1187b5[_0x2d6d90(0x1fd)]&&process['stdout'][_0x2d6d90(0x257)],_0x108778=COMMAND_CATEGORIES,_0x3f4130=(_0x32458c,_0x47547c)=>_0x3ba715?_0x47547c(_0x32458c):_0x32458c,_0x5614e4=new Map();_0x50983a[_0x2d6d90(0x34e)](_0x37f838=>{_0x5614e4['set'](_0x37f838['name'](),_0x37f838);}),_0x108778[_0x2d6d90(0x34e)](_0x7b64bb=>{const _0x448a98=_0x2d6d90,_0x550627=_0x7b64bb['commands'][_0x448a98(0x1c2)](_0x191b0d=>_0x5614e4['get'](_0x191b0d)??[]);if(_0x550627[_0x448a98(0x33b)]>0x0){_0xcb0618['push'](''),_0xcb0618[_0x448a98(0x256)](_0x3f4130(_0x7b64bb[_0x448a98(0x28c)]+':',_0x7b64bb['colorFn']));const _0xda982a=_0x550627['map'](_0x5cffb9=>{const _0x5396ca=_0x448a98,_0x134343=_0x219f94[_0x5396ca(0x193)](_0x5cffb9),_0x316533=_0x219f94['subcommandDescription'](_0x5cffb9);return _0x76690e(_0x134343,_0x316533);});_0xcb0618[_0x448a98(0x256)](_0x5eb388(_0xda982a));}}),_0xcb0618[_0x2d6d90(0x256)](''),_0xcb0618[_0x2d6d90(0x256)](_0x2d6d90(0x1c1));}else{const _0x42a71d=_0x50983a['map'](_0x144efd=>{const _0x4e41c9=_0x2d6d90,_0x3099cf=_0x219f94['subcommandTerm'](_0x144efd),_0x5dbb54=_0x219f94[_0x4e41c9(0x10c)](_0x144efd);return _0x76690e(_0x3099cf,_0x5dbb54);});_0xcb0618['push'](''),_0xcb0618[_0x2d6d90(0x256)](_0x2d6d90(0x2a7)),_0xcb0618['push'](_0x5eb388(_0x42a71d));}}if(showBriefHelp&&_0x1df853[_0x2d6d90(0x28c)]()===_0x2d6d90(0x18a))_0xcb0618['push'](''),_0xcb0618[_0x2d6d90(0x256)](_0x2d6d90(0x270));else{const _0x2f59ef=_0x1df853[_0x2d6d90(0x274)]['filter'](_0x33c81d=>!_0x5ed860(_0x33c81d));if(_0x2f59ef[_0x2d6d90(0x33b)]>0x0){const _0x1d28e4=_0x2f59ef[_0x2d6d90(0x18c)](_0x4078af=>{const _0x59dc82=_0x2d6d90,_0x39695a=_0x219f94[_0x59dc82(0x352)](_0x4078af),_0x15099a=_0x219f94[_0x59dc82(0xfc)](_0x4078af);return _0x76690e(_0x39695a,_0x15099a);});_0xcb0618[_0x2d6d90(0x256)](''),_0xcb0618[_0x2d6d90(0x256)]('Options:'),_0xcb0618[_0x2d6d90(0x256)](_0x5eb388(_0x1d28e4));}}const _0x1fa0f0=(_0x1df853['registeredArguments']||[])[_0x2d6d90(0x2f0)](_0x1a64ec=>!_0x5ed860(_0x1a64ec));if(_0x1fa0f0['length']>0x0){const _0x4f201d=_0x1fa0f0['map'](_0x4e322a=>{const _0x3ce2ee=_0x2d6d90,_0x608cc5=_0x219f94[_0x3ce2ee(0xca)](_0x4e322a),_0x3c1130=_0x219f94[_0x3ce2ee(0x15a)](_0x4e322a);return _0x76690e(_0x608cc5,_0x3c1130);});_0xcb0618[_0x2d6d90(0x256)](''),_0xcb0618['push'](_0x2d6d90(0x14a)),_0xcb0618['push'](_0x5eb388(_0x4f201d));}return _0xcb0618['join']('\x0a')+'\x0a';},'subcommandTerm':_0x17215e=>{const _0x42e8c4=a2_0x36f7b6,_0x381548=(_0x17215e['registeredArguments']||[])[_0x42e8c4(0x18c)](_0x3b67fc=>_0x3b67fc[_0x42e8c4(0x162)]?'<'+_0x3b67fc[_0x42e8c4(0x28c)]()+'>':'['+_0x3b67fc[_0x42e8c4(0x28c)]()+']')[_0x42e8c4(0x1eb)]('\x20'),_0x31ccd1=_0x17215e[_0x42e8c4(0xf8)](),_0x2a7522=_0x31ccd1[_0x42e8c4(0x33b)]>0x0?_0x17215e[_0x42e8c4(0x28c)]()+',\x20'+_0x31ccd1[_0x42e8c4(0x1eb)](',\x20'):_0x17215e[_0x42e8c4(0x28c)]();return _0x381548?_0x2a7522+'\x20'+_0x381548:_0x2a7522;}}),program[a2_0x36f7b6(0x1e7)]('preAction',_0x2ad2b2=>{const _0xdc0566=a2_0x36f7b6,_0x37e393=_0x2ad2b2['opts']();if(_0x37e393['directory']){const _0x59abde=resolve(_0x37e393[_0xdc0566(0x1d2)]),_0x164b8e=_0x59abde!==_0x37e393[_0xdc0566(0x1d2)]?'\x20(resolved\x20to\x20'+_0x59abde+')':'';if(!existsSync(_0x59abde))throw new SDKError(ErrorCode[_0xdc0566(0x33d)],'Directory\x20does\x20not\x20exist:\x20'+_0x37e393[_0xdc0566(0x1d2)]+_0x164b8e,undefined,{'helpText':_0xdc0566(0x2ea)});const _0x5ef6af=statSync(_0x59abde);if(!_0x5ef6af[_0xdc0566(0x279)]())throw new SDKError(ErrorCode[_0xdc0566(0x33d)],_0xdc0566(0x21a)+_0x37e393[_0xdc0566(0x1d2)]+_0x164b8e,undefined,{'helpText':_0xdc0566(0x10e)});process[_0xdc0566(0x184)](_0x59abde);}if(!_0x37e393[_0xdc0566(0xd2)]){if(_0x37e393[_0xdc0566(0x2eb)])_0x37e393[_0xdc0566(0xd2)]='table';else{if(_0x37e393[_0xdc0566(0x1de)])_0x37e393[_0xdc0566(0xd2)]=_0xdc0566(0x1de);else{if(_0x37e393[_0xdc0566(0xc8)])_0x37e393[_0xdc0566(0xd2)]=_0xdc0566(0xc8);else _0x37e393[_0xdc0566(0x2c3)]&&(_0x37e393[_0xdc0566(0xd2)]=_0xdc0566(0x2c3));}}}if(_0x37e393[_0xdc0566(0x355)])_0x37e393[_0xdc0566(0x2e9)]=LogLevel[_0xdc0566(0x375)];else{if(_0x37e393[_0xdc0566(0x1df)])_0x37e393[_0xdc0566(0x2e9)]=LogLevel[_0xdc0566(0x339)];else _0x37e393[_0xdc0566(0x2e9)]===undefined&&(_0x37e393[_0xdc0566(0x2e9)]=LogLevel[_0xdc0566(0x1e1)]);}});async function createTDXInstance(_0xb233e2){const _0x20f0ff=a2_0x36f7b6,_0x3f94fa=await GlobalContext[_0x20f0ff(0x127)](_0xb233e2);return _0x3f94fa[_0x20f0ff(0x11e)](_0xb233e2),TDX[_0x20f0ff(0x2f8)]({'site':_0x3f94fa[_0x20f0ff(0x1ab)],'apiKey':_0x3f94fa[_0x20f0ff(0x213)],'accessToken':_0x3f94fa[_0x20f0ff(0x2b6)],'logLevel':_0x3f94fa['logLevel'],'profile':_0x3f94fa['profile']});}const databaseCmd=program[a2_0x36f7b6(0x2e7)]('database')[a2_0x36f7b6(0x31c)]('db')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xd6)),databaseListAction=async(_0x5eee64,_0x15e514)=>{const _0x10b044=a2_0x36f7b6,_0x3b013f=new DatabasesCommand(),_0x5c2e08=program[_0x10b044(0x266)](),_0x451ee3=await createTDXInstance(_0x5c2e08),_0x11b44b=await _0x3b013f[_0x10b044(0x1cf)]({'options':{..._0x5c2e08,..._0x15e514},'args':_0x5eee64?[_0x5eee64]:[],'tdx':_0x451ee3});gracefulExit(_0x11b44b);};databaseCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x369))['description'](a2_0x36f7b6(0xd4))[a2_0x36f7b6(0x187)](databaseListAction),program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x376),{'hidden':!![]})['description'](a2_0x36f7b6(0x271))['action'](databaseListAction),program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0xb3))['description'](a2_0x36f7b6(0x1e4))[a2_0x36f7b6(0x2a8)]('--agent\x20<ref>',a2_0x36f7b6(0x2aa))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x273),a2_0x36f7b6(0x2b4))[a2_0x36f7b6(0x2a8)]('--chat-id\x20<id>',a2_0x36f7b6(0x20c))[a2_0x36f7b6(0x2a8)]('--stream',a2_0x36f7b6(0x2b2))['action'](async(_0x4a1287,_0x49d8fe)=>{const _0x168d4b=a2_0x36f7b6,_0x1e0bd1=program['opts'](),_0x58e02c=await createTDXInstance(_0x1e0bd1);if(_0x4a1287[0x0]===_0x168d4b(0x2f8)){const _0x10b5d2=new ChatCreateCommand();gracefulExit(await _0x10b5d2[_0x168d4b(0x1cf)]({'options':{..._0x1e0bd1,..._0x49d8fe},'args':_0x4a1287[_0x168d4b(0x212)](0x1),'tdx':_0x58e02c}));return;}const _0x3d843a=new ChatCommand(),_0x11b78a=await _0x3d843a['run']({'options':{..._0x1e0bd1,..._0x49d8fe},'args':_0x4a1287,'tdx':_0x58e02c});gracefulExit(_0x11b78a);});const apiCmd=program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x232))[a2_0x36f7b6(0x1c7)](a2_0x36f7b6(0x1db))[a2_0x36f7b6(0x2f7)]('after',a2_0x36f7b6(0x36c))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x159),a2_0x36f7b6(0x248),a2_0x36f7b6(0x293))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x1f3),a2_0x36f7b6(0x158))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x315),a2_0x36f7b6(0x2e4))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x23c),a2_0x36f7b6(0x240),(_0x2af466,_0x28789c)=>{return _0x28789c?[..._0x28789c,_0x2af466]:[_0x2af466];})[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x292),'API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')[a2_0x36f7b6(0x187)](async(_0x135e9d,_0x3ebd1d)=>{const _0x507fa8=a2_0x36f7b6;if(!_0x135e9d){apiCmd[_0x507fa8(0xbf)]();return;}const _0x57cca3=new ApiCommand(),_0x150317=program[_0x507fa8(0x266)](),_0x310d97=await createTDXInstance(_0x150317),_0x236d23=await _0x57cca3[_0x507fa8(0x1cf)]({'options':{..._0x150317,..._0x3ebd1d},'args':[_0x135e9d],'tdx':_0x310d97});gracefulExit(_0x236d23);});program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x175))[a2_0x36f7b6(0x2f3)]('Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration')[a2_0x36f7b6(0x2f7)](a2_0x36f7b6(0x30e),a2_0x36f7b6(0x119))[a2_0x36f7b6(0x187)](async _0x1faba2=>{const _0x4b2983=a2_0x36f7b6,_0x33dadb=new MCPCommand(),_0x976d98=program['opts'](),_0x7882b7=await createTDXInstance(_0x976d98),_0x567d89=await _0x33dadb[_0x4b2983(0x1cf)]({'options':{..._0x976d98,..._0x1faba2},'args':[],'tdx':_0x7882b7});gracefulExit(_0x567d89);});const tableCmd=program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x2eb))[a2_0x36f7b6(0x2f3)]('Table\x20management\x20commands'),tableListAction=async(_0x2622b0,_0x29a028)=>{const _0x583c44=a2_0x36f7b6,_0x1095a1=new TablesCommand(),_0x28d9e0=program[_0x583c44(0x266)](),_0xc9b11d=await createTDXInstance(_0x28d9e0);_0x29a028['in']&&(_0x29a028[_0x583c44(0x107)]=_0x29a028['in']);const _0x470879=await _0x1095a1[_0x583c44(0x1cf)]({'options':{..._0x28d9e0,..._0x29a028},'args':_0x2622b0?[_0x2622b0]:[],'tdx':_0xc9b11d});gracefulExit(_0x470879);};tableCmd['command']('list\x20[pattern]')[a2_0x36f7b6(0x2f3)]('List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)')['option'](a2_0x36f7b6(0x2a2),a2_0x36f7b6(0x27d))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x24b),a2_0x36f7b6(0x16b))[a2_0x36f7b6(0x187)](tableListAction),program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0xdb),{'hidden':!![]})[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xc4))[a2_0x36f7b6(0x2a8)]('-d,\x20--database\x20<database>',a2_0x36f7b6(0x27d))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x24b),a2_0x36f7b6(0x16b))[a2_0x36f7b6(0x187)](tableListAction),program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x14d))['description']('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')['option'](a2_0x36f7b6(0x2a2),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x36f7b6(0x2a8)]('--in\x20<database>',a2_0x36f7b6(0x16b))['action'](async(_0x1d5726,_0x2626e5)=>{const _0x5d40de=a2_0x36f7b6,_0x56b433=new ShowCommand(),_0x435ee8=program[_0x5d40de(0x266)](),_0xa750e1=await createTDXInstance(_0x435ee8);_0x2626e5['in']&&(_0x2626e5[_0x5d40de(0x107)]=_0x2626e5['in']);const _0x39b882=await _0x56b433[_0x5d40de(0x1cf)]({'options':{..._0x435ee8,..._0x2626e5},'args':_0x1d5726?[_0x1d5726]:[],'tdx':_0xa750e1});gracefulExit(_0x39b882);}),program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x1f4))['alias']('desc')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x15f))['option'](a2_0x36f7b6(0x2a2),a2_0x36f7b6(0x2ce))['option']('--in\x20<database>',a2_0x36f7b6(0x16b))[a2_0x36f7b6(0x187)](async(_0x342a5e,_0x10fc01)=>{const _0x26170b=a2_0x36f7b6,_0x4bad32=new DescribeCommand(),_0x2d6cb9=program[_0x26170b(0x266)](),_0x2bc2bf=await createTDXInstance(_0x2d6cb9);_0x10fc01['in']&&(_0x10fc01[_0x26170b(0x107)]=_0x10fc01['in']);const _0x54fcb6=await _0x4bad32[_0x26170b(0x1cf)]({'options':{..._0x2d6cb9,..._0x10fc01},'args':_0x342a5e?[_0x342a5e]:[],'tdx':_0x2bc2bf});gracefulExit(_0x54fcb6);}),program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x368))[a2_0x36f7b6(0x2f3)]('Run\x20Trino\x20query\x20with\x20streaming\x20results')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x2a2),a2_0x36f7b6(0xd0))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x24b),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x36f7b6(0x2a8)]('--catalog\x20<catalog>',a2_0x36f7b6(0xf6))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x315),a2_0x36f7b6(0x10f))['option'](a2_0x36f7b6(0x117),a2_0x36f7b6(0x2a1))[a2_0x36f7b6(0x187)](async(_0x1d8a32,_0x5eb757)=>{const _0xcf424=a2_0x36f7b6,_0x2b6eef=new QueryCommand(),_0xbf95de=program[_0xcf424(0x266)](),_0x521278=await createTDXInstance(_0xbf95de);_0x5eb757['in']&&(_0x5eb757[_0xcf424(0x107)]=_0x5eb757['in']);const _0xcd80f3=await _0x2b6eef[_0xcf424(0x1cf)]({'options':mergeCommandOptions(_0xbf95de,_0x5eb757),'args':_0x1d8a32?[_0x1d8a32]:[],'tdx':_0x521278});gracefulExit(_0xcd80f3);});const segmentCmd=program['command'](a2_0x36f7b6(0x1d8))[a2_0x36f7b6(0x31c)]('sg')[a2_0x36f7b6(0x2f3)]('CDP\x20segment\x20management\x20commands'),segmentListAction=async(_0x2bccf3,_0x1b30eb)=>{const _0x3fe4aa=a2_0x36f7b6,_0x3ce1f1=new SegmentsCommand(),_0x5a13c4=program[_0x3fe4aa(0x266)](),_0x5ba569=await createTDXInstance(_0x5a13c4),_0x47ba8e=await _0x3ce1f1[_0x3fe4aa(0x1cf)]({'options':{..._0x5a13c4,..._0x1b30eb},'args':_0x2bccf3?[_0x2bccf3]:[],'tdx':_0x5ba569});gracefulExit(_0x47ba8e);};segmentCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0xe4))[a2_0x36f7b6(0x2f3)]('List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context')[a2_0x36f7b6(0x2a8)]('-r,\x20--recursive',a2_0x36f7b6(0x157))[a2_0x36f7b6(0x2a8)]('--max-depth\x20<depth>',a2_0x36f7b6(0x357),'10')[a2_0x36f7b6(0x187)](segmentListAction),program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x237),{'hidden':!![]})['description']('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')[a2_0x36f7b6(0x2a8)]('-r,\x20--recursive',a2_0x36f7b6(0x157))['option'](a2_0x36f7b6(0xe6),a2_0x36f7b6(0x357),'10')[a2_0x36f7b6(0x187)](segmentListAction),segmentCmd[a2_0x36f7b6(0x2e7)]('use\x20<path>',{'hidden':!![]})[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x2a9))[a2_0x36f7b6(0x187)](async(_0x12ce0f,_0x469f63)=>{const _0x694d63=a2_0x36f7b6,_0x5a1dee=new SegmentUseCommand(),_0x4772ca=program[_0x694d63(0x266)](),_0x58891a=await createTDXInstance(_0x4772ca),_0x19f1a6=await _0x5a1dee[_0x694d63(0x1cf)]({'options':{..._0x4772ca,..._0x469f63},'args':[_0x12ce0f],'tdx':_0x58891a});gracefulExit(_0x19f1a6);});const segmentViewAction=async(_0x5d1a0f,_0x15e496)=>{const _0x25a58c=a2_0x36f7b6,_0x277cd6=new SegmentViewCommand(),_0x2382a0=program[_0x25a58c(0x266)](),_0x591ce0=await createTDXInstance(_0x2382a0),_0x48361e=await _0x277cd6['run']({'options':{..._0x2382a0,..._0x15e496},'args':_0x5d1a0f?[_0x5d1a0f]:[],'tdx':_0x591ce0});gracefulExit(_0x48361e);};segmentCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x2c9))['description'](a2_0x36f7b6(0x328))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x19d),'Open\x20segment\x20in\x20web\x20browser')[a2_0x36f7b6(0x187)](segmentViewAction),segmentCmd['command']('info\x20[segment_name]',{'hidden':!![]})[a2_0x36f7b6(0x31c)]('describe')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x19d),'Open\x20segment\x20in\x20web\x20browser')['description']('Show\x20segment\x20details\x20(alias\x20for\x20view)')['action'](segmentViewAction),segmentCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x235))['description'](a2_0x36f7b6(0x359))[a2_0x36f7b6(0x187)](async(_0x54e325,_0x303a53)=>{const _0xdea7e1=a2_0x36f7b6,_0x69e4f3=new SegmentDescCommand(),_0x11fd2b=program[_0xdea7e1(0x266)](),_0x43b705=await createTDXInstance(_0x11fd2b),_0xa21800=await _0x69e4f3[_0xdea7e1(0x1cf)]({'options':{..._0x11fd2b,..._0x303a53},'args':_0x54e325?[_0x54e325]:[],'tdx':_0x43b705});gracefulExit(_0xa21800);}),segmentCmd['command']('show\x20[segment_name]')['description'](a2_0x36f7b6(0x31b))[a2_0x36f7b6(0x187)](async(_0x92e20e,_0x123601)=>{const _0x489732=a2_0x36f7b6,_0x2c71e8=new SegmentShowCommand(),_0x34520d=program[_0x489732(0x266)](),_0x2733ee=await createTDXInstance(_0x34520d),_0x183052=await _0x2c71e8[_0x489732(0x1cf)]({'options':{..._0x34520d,..._0x123601},'args':_0x92e20e?[_0x92e20e]:[],'tdx':_0x2733ee});gracefulExit(_0x183052);}),segmentCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x306),{'hidden':!![]})['description'](a2_0x36f7b6(0xc3))[a2_0x36f7b6(0x187)](async(_0xd92db4,_0x4b6966)=>{const _0x3a9b03=a2_0x36f7b6,_0xa64181=new SegmentFolderListCommand(),_0x25d734=program[_0x3a9b03(0x266)](),_0x25613c=await createTDXInstance(_0x25d734),_0x555d7c=await _0xa64181['run']({'options':{..._0x25d734,..._0x4b6966},'args':[_0xd92db4],'tdx':_0x25613c});gracefulExit(_0x555d7c);});const folderCmd=segmentCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x171),{'hidden':!![]})[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x2c7));folderCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x194))['description'](a2_0x36f7b6(0x1d1))[a2_0x36f7b6(0x187)](async(_0x59a472,_0x10a3da)=>{const _0x35b843=a2_0x36f7b6,_0x407760=new SegmentFolderShowCommand(),_0x2aa147=program['opts'](),_0x2bf8af=await createTDXInstance(_0x2aa147),_0x151e2b=await _0x407760[_0x35b843(0x1cf)]({'options':{..._0x2aa147,..._0x10a3da},'args':[_0x59a472],'tdx':_0x2bf8af});gracefulExit(_0x151e2b);}),segmentCmd['command']('sql\x20[segment_name]')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x26b))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x2ff),a2_0x36f7b6(0x1d9))['action'](async(_0x5d574c,_0x3eaba2)=>{const _0x553d2b=a2_0x36f7b6,_0x4c8750=new SegmentSQLCommand(),_0x45bf68=program[_0x553d2b(0x266)](),_0x38b71a=await createTDXInstance(_0x45bf68),_0x580201=await _0x4c8750['run']({'options':{..._0x45bf68,..._0x3eaba2},'args':_0x5d574c?[_0x5d574c]:[],'tdx':_0x38b71a});gracefulExit(_0x580201);}),segmentCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x2e5))['description']('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)')['action'](async(_0x1b96f3,_0x58f010)=>{const _0x3b3813=a2_0x36f7b6,_0x389824=new SegmentFieldsCommand(),_0x42ebec=program[_0x3b3813(0x266)](),_0x304042=await createTDXInstance(_0x42ebec),_0xfb47d2=await _0x389824[_0x3b3813(0x1cf)]({'options':{..._0x42ebec,..._0x58f010},'args':_0x1b96f3?[_0x1b96f3]:[],'tdx':_0x304042});gracefulExit(_0xfb47d2);}),segmentCmd[a2_0x36f7b6(0x2e7)]('pull\x20[parent_or_file]')['description'](a2_0x36f7b6(0xa4))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xb8),a2_0x36f7b6(0x27c))[a2_0x36f7b6(0x187)](async(_0x16ac39,_0x178bbe)=>{const _0x3e136e=new SegmentPullCommand(),_0x39b1ac=program['opts'](),_0x1502d3=await createTDXInstance(_0x39b1ac),_0x44908b=await _0x3e136e['run']({'options':{..._0x39b1ac,..._0x178bbe},'args':_0x16ac39?[_0x16ac39]:[],'tdx':_0x1502d3});gracefulExit(_0x44908b);}),segmentCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x295))['description']('Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments')['option'](a2_0x36f7b6(0xb8),a2_0x36f7b6(0x27c))['option'](a2_0x36f7b6(0xc1),a2_0x36f7b6(0x253))[a2_0x36f7b6(0x187)](async(_0x55692a,_0x300ff3)=>{const _0x1e93b7=new SegmentPushCommand(),_0x39684d=program['opts'](),_0x1ebf09=await createTDXInstance(_0x39684d),_0x5d2cbe=await _0x1e93b7['run']({'options':{..._0x39684d,..._0x300ff3},'args':_0x55692a?[_0x55692a]:[],'tdx':_0x1ebf09});gracefulExit(_0x5d2cbe);}),segmentCmd['command']('validate\x20[target]')[a2_0x36f7b6(0x2f3)]('Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally')[a2_0x36f7b6(0x187)](async(_0x23dbe6,_0x590890)=>{const _0x209f7a=a2_0x36f7b6,_0x87cb7a=new SegmentValidateCommand(),_0x1cd653=program[_0x209f7a(0x266)](),_0x3923cb=await createTDXInstance(_0x1cd653),_0x42f4dd=await _0x87cb7a[_0x209f7a(0x1cf)]({'options':{..._0x1cd653,..._0x590890},'args':_0x23dbe6?[_0x23dbe6]:[],'tdx':_0x3923cb});gracefulExit(_0x42f4dd);}),segmentCmd[a2_0x36f7b6(0x2e7)]('create\x20<segment_name>',{'hidden':!![]})['description']('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x142),a2_0x36f7b6(0x2f5))['option']('--rule\x20<json>',a2_0x36f7b6(0x276))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x183),a2_0x36f7b6(0x23a))['option'](a2_0x36f7b6(0x128),a2_0x36f7b6(0x2cf))[a2_0x36f7b6(0x2a8)]('--kind\x20<type>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x2d5),a2_0x36f7b6(0x367))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x333),a2_0x36f7b6(0x21e))[a2_0x36f7b6(0x187)](async(_0x1270e4,_0x431462)=>{const _0x462c6b=a2_0x36f7b6,_0x3b79b7=new SegmentCreateCommand(),_0x2d19cf=program[_0x462c6b(0x266)](),_0xcccc79=await createTDXInstance(_0x2d19cf),_0x4ec11b=await _0x3b79b7[_0x462c6b(0x1cf)]({'options':{..._0x2d19cf,..._0x431462},'args':[_0x1270e4],'tdx':_0xcccc79});gracefulExit(_0x4ec11b);}),segmentCmd[a2_0x36f7b6(0x2e7)]('update\x20<segment_name>',{'hidden':!![]})[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xf1))[a2_0x36f7b6(0x2a8)]('--name\x20<new_name>',a2_0x36f7b6(0x224))[a2_0x36f7b6(0x2a8)]('--description\x20<text>',a2_0x36f7b6(0x178))['option'](a2_0x36f7b6(0x1af),a2_0x36f7b6(0x1e2))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x183),'Updated\x20filtering\x20rule\x20from\x20JSON\x20file')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x128),a2_0x36f7b6(0x277))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x24d),a2_0x36f7b6(0x23b))[a2_0x36f7b6(0x187)](async(_0x5f132a,_0x2ec115)=>{const _0x67bc6=a2_0x36f7b6,_0x592c73=new SegmentUpdateCommand(),_0x4cc1e6=program[_0x67bc6(0x266)](),_0x29537f=await createTDXInstance(_0x4cc1e6),_0x2d11d8=await _0x592c73[_0x67bc6(0x1cf)]({'options':{..._0x4cc1e6,..._0x2ec115},'args':[_0x5f132a],'tdx':_0x29537f});gracefulExit(_0x2d11d8);});const parentCmd=segmentCmd[a2_0x36f7b6(0x2e7)]('parent',{'hidden':!![]})['description']('[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead'),parentListAction=async(_0x4c637d,_0x443ad4)=>{const _0x232706=a2_0x36f7b6,_0x41d999=new ParentSegmentListCommand(),_0x55fdca=program[_0x232706(0x266)](),_0x2217dd=await createTDXInstance(_0x55fdca),_0x532fed=await _0x41d999[_0x232706(0x1cf)]({'options':{..._0x55fdca,..._0x443ad4},'args':_0x4c637d?[_0x4c637d]:[],'tdx':_0x2217dd});gracefulExit(_0x532fed);};parentCmd[a2_0x36f7b6(0x2e7)]('list\x20[pattern]')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x1f9))[a2_0x36f7b6(0x187)](parentListAction),segmentCmd['command']('parents\x20[pattern]',{'hidden':!![]})[a2_0x36f7b6(0x2f3)]('List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)')[a2_0x36f7b6(0x187)](parentListAction),parentCmd[a2_0x36f7b6(0x2e7)]('pull\x20[name]')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x206))[a2_0x36f7b6(0x2a8)]('-o,\x20--output\x20<file>',a2_0x36f7b6(0x147))[a2_0x36f7b6(0x187)](async(_0x1c1cc2,_0x50bf45)=>{const _0xa5c547=a2_0x36f7b6,_0x2c5451=new ParentSegmentPullCommand(),_0x3ed28d=program['opts'](),_0x44bc38=await createTDXInstance(_0x3ed28d),_0x5f51a0=await _0x2c5451[_0xa5c547(0x1cf)]({'options':{..._0x3ed28d,..._0x50bf45},'args':_0x1c1cc2?[_0x1c1cc2]:[],'tdx':_0x44bc38});gracefulExit(_0x5f51a0);}),parentCmd['command'](a2_0x36f7b6(0x1c9))['description'](a2_0x36f7b6(0x2b9))[a2_0x36f7b6(0x187)](async(_0x422603,_0x35885d)=>{const _0x4f23de=a2_0x36f7b6,_0x61d99=new ParentSegmentPushCommand(),_0x2d595e=program[_0x4f23de(0x266)](),_0x472a64=await createTDXInstance(_0x2d595e),_0x2691cc=await _0x61d99[_0x4f23de(0x1cf)]({'options':{..._0x2d595e,..._0x35885d},'args':_0x422603?[_0x422603]:[],'tdx':_0x472a64});gracefulExit(_0x2691cc);}),parentCmd[a2_0x36f7b6(0x2e7)]('validate\x20[file]')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x169))['option']('--master',a2_0x36f7b6(0x27a))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x25a),a2_0x36f7b6(0x138))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xf3),a2_0x36f7b6(0x32b))['option']('--enriched','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x2fa),a2_0x36f7b6(0x25e),'-1d')[a2_0x36f7b6(0x187)](async(_0x4d4ed1,_0x19121a)=>{const _0xf10166=a2_0x36f7b6,_0x585686=new ParentSegmentValidateCommand(),_0x3afcff=program[_0xf10166(0x266)](),_0x564988=await createTDXInstance(_0x3afcff),_0x993855=await _0x585686[_0xf10166(0x1cf)]({'options':{..._0x3afcff,..._0x19121a},'args':_0x4d4ed1?[_0x4d4ed1]:[],'tdx':_0x564988});gracefulExit(_0x993855);}),parentCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x130))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x2bf))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x216),a2_0x36f7b6(0xe5))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x25a),a2_0x36f7b6(0xfe))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xf3),a2_0x36f7b6(0x2e3))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x2b3),a2_0x36f7b6(0x330))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x2fa),a2_0x36f7b6(0x25e),'-1d')[a2_0x36f7b6(0x187)](async(_0x16aa6c,_0x88a359)=>{const _0x5cd33c=a2_0x36f7b6,_0x56c4e8=new ParentSegmentPreviewCommand(),_0x81ea94=program[_0x5cd33c(0x266)](),_0x214219=await createTDXInstance(_0x81ea94),_0x39566a=await _0x56c4e8['run']({'options':{..._0x81ea94,..._0x88a359},'args':_0x16aa6c?[_0x16aa6c]:[],'tdx':_0x214219});gracefulExit(_0x39566a);}),parentCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x105))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xea))[a2_0x36f7b6(0x187)](async(_0x2b34f0,_0x234748)=>{const _0x56020b=a2_0x36f7b6,_0x3e7c7d=new ParentSegmentRunCommand(),_0x30f996=program[_0x56020b(0x266)](),_0x33421f=await createTDXInstance(_0x30f996),_0x250ac5=await _0x3e7c7d[_0x56020b(0x1cf)]({'options':{..._0x30f996,..._0x234748},'args':_0x2b34f0?[_0x2b34f0]:[],'tdx':_0x33421f});gracefulExit(_0x250ac5);});const parentSegmentCmd=program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x229))[a2_0x36f7b6(0x31c)]('ps')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x1ec));parentSegmentCmd['command'](a2_0x36f7b6(0x369))['description'](a2_0x36f7b6(0x1f9))['action'](parentListAction),parentSegmentCmd[a2_0x36f7b6(0x2e7)]('pull\x20[name]')['description'](a2_0x36f7b6(0x1a7))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x1fa),'Output\x20file\x20path')['option']('-u,\x20--use',a2_0x36f7b6(0x36d))[a2_0x36f7b6(0x187)](async(_0x3db36f,_0x7c4ade)=>{const _0x28b758=new ParentSegmentPullCommand(),_0x57f0ac=program['opts'](),_0x1b5765=await createTDXInstance(_0x57f0ac),_0x91715b=await _0x28b758['run']({'options':{..._0x57f0ac,..._0x7c4ade},'args':_0x3db36f?[_0x3db36f]:[],'tdx':_0x1b5765});gracefulExit(_0x91715b);}),parentSegmentCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x26f))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x1ce))[a2_0x36f7b6(0x187)](async(_0x36bb4b,_0x21366c)=>{const _0x5b0520=a2_0x36f7b6,_0x5c582e=new ParentSegmentPushCommand(),_0x1b896e=program[_0x5b0520(0x266)](),_0xf42178=await createTDXInstance(_0x1b896e),_0x1798b7=await _0x5c582e[_0x5b0520(0x1cf)]({'options':{..._0x1b896e,..._0x21366c},'args':_0x36bb4b?[_0x36bb4b]:[],'tdx':_0xf42178});gracefulExit(_0x1798b7);}),parentSegmentCmd['command'](a2_0x36f7b6(0x15b))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x169))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x216),a2_0x36f7b6(0x27a))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x25a),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')['option'](a2_0x36f7b6(0xf3),a2_0x36f7b6(0x32b))['option'](a2_0x36f7b6(0x2b3),a2_0x36f7b6(0x1ed))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x2fa),a2_0x36f7b6(0x25e),a2_0x36f7b6(0x1e0))[a2_0x36f7b6(0x187)](async(_0x3a8a2f,_0x359355)=>{const _0x1545f0=a2_0x36f7b6,_0x2bd28b=new ParentSegmentValidateCommand(),_0xf08a14=program[_0x1545f0(0x266)](),_0x2b5e69=await createTDXInstance(_0xf08a14),_0x490184=await _0x2bd28b[_0x1545f0(0x1cf)]({'options':{..._0xf08a14,..._0x359355},'args':_0x3a8a2f?[_0x3a8a2f]:[],'tdx':_0x2b5e69});gracefulExit(_0x490184);}),parentSegmentCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x2e8))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x2bf))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x216),'Show\x20master\x20table\x20sample\x20data')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x25a),a2_0x36f7b6(0xfe))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xf3),a2_0x36f7b6(0x2e3))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x2b3),a2_0x36f7b6(0x330))[a2_0x36f7b6(0x2a8)]('--interval\x20<range>',a2_0x36f7b6(0x25e),a2_0x36f7b6(0x1e0))[a2_0x36f7b6(0x187)](async(_0x423af3,_0x32335e)=>{const _0x478c10=new ParentSegmentPreviewCommand(),_0x35b4e7=program['opts'](),_0x532c91=await createTDXInstance(_0x35b4e7),_0x31fbd8=await _0x478c10['run']({'options':{..._0x35b4e7,..._0x32335e},'args':_0x423af3?[_0x423af3]:[],'tdx':_0x532c91});gracefulExit(_0x31fbd8);}),parentSegmentCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x105))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xea))[a2_0x36f7b6(0x187)](async(_0x1f39e6,_0x5d60e3)=>{const _0x115e5e=a2_0x36f7b6,_0x42aa2c=new ParentSegmentRunCommand(),_0xacec9b=program[_0x115e5e(0x266)](),_0x40913c=await createTDXInstance(_0xacec9b),_0x3e343e=await _0x42aa2c[_0x115e5e(0x1cf)]({'options':{..._0xacec9b,..._0x5d60e3},'args':_0x1f39e6?[_0x1f39e6]:[],'tdx':_0x40913c});gracefulExit(_0x3e343e);}),parentSegmentCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x1b7))[a2_0x36f7b6(0x2f3)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x226),a2_0x36f7b6(0xe9))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x345),a2_0x36f7b6(0x2fe))[a2_0x36f7b6(0x187)](async(_0x17eba6,_0xc4551b)=>{const _0xcc8d4c=a2_0x36f7b6,_0x140d3c=new ParentSegmentFieldsCommand(),_0xfd4142=program[_0xcc8d4c(0x266)](),_0x4b5007=await createTDXInstance(_0xfd4142),_0x2b50a8=await _0x140d3c['run']({'options':{..._0xfd4142,..._0xc4551b},'args':_0x17eba6?[_0x17eba6]:[],'tdx':_0x4b5007});gracefulExit(_0x2b50a8);}),parentSegmentCmd[a2_0x36f7b6(0x2e7)]('view\x20[name]')['description'](a2_0x36f7b6(0xe1))['option'](a2_0x36f7b6(0x19d),a2_0x36f7b6(0xce))[a2_0x36f7b6(0x2a8)]('--json','Output\x20as\x20JSON')['option'](a2_0x36f7b6(0x345),a2_0x36f7b6(0x2fe))['action'](async(_0x2fe128,_0x2f45da)=>{const _0x36eae4=a2_0x36f7b6,_0x5c3bda=new ParentSegmentViewCommand(),_0x4cfd8c=program[_0x36eae4(0x266)](),_0x29b31a=await createTDXInstance(_0x4cfd8c),_0x226507=await _0x5c3bda[_0x36eae4(0x1cf)]({'options':{..._0x4cfd8c,..._0x2f45da},'args':_0x2fe128?[_0x2fe128]:[],'tdx':_0x29b31a});gracefulExit(_0x226507);}),parentSegmentCmd['command'](a2_0x36f7b6(0x34f))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xb9))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x1fa),a2_0x36f7b6(0x272))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x226),a2_0x36f7b6(0xe9))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x345),'Output\x20as\x20JSON\x20Lines')[a2_0x36f7b6(0x187)](async(_0xfe233d,_0x5b78b2)=>{const _0x1927a3=a2_0x36f7b6,_0x9025e2=new ParentSegmentDescCommand(),_0x4c319d=program[_0x1927a3(0x266)](),_0x3ec59e=await createTDXInstance(_0x4c319d),_0xaac243=await _0x9025e2[_0x1927a3(0x1cf)]({'options':{..._0x4c319d,..._0x5b78b2},'args':_0xfe233d?[_0xfe233d]:[],'tdx':_0x3ec59e});gracefulExit(_0xaac243);}),parentSegmentCmd[a2_0x36f7b6(0x2e7)]('sql\x20[name]')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xf4))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x226),'Output\x20as\x20JSON')[a2_0x36f7b6(0x2a8)]('--jsonl',a2_0x36f7b6(0x2fe))['action'](async(_0x476fd0,_0x205f3a)=>{const _0x186f7d=a2_0x36f7b6,_0xd65653=new ParentSegmentSQLCommand(),_0x921fce=program[_0x186f7d(0x266)](),_0x78eb26=await createTDXInstance(_0x921fce),_0x591c79=await _0xd65653[_0x186f7d(0x1cf)]({'options':{..._0x921fce,..._0x205f3a},'args':_0x476fd0?[_0x476fd0]:[],'tdx':_0x78eb26});gracefulExit(_0x591c79);}),parentSegmentCmd['command'](a2_0x36f7b6(0x2e1))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x21f))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x2bd),a2_0x36f7b6(0x28b))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x226),a2_0x36f7b6(0xe9))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x345),a2_0x36f7b6(0x2fe))['action'](async(_0x827aaf,_0x4940c5)=>{const _0x5a1ab1=a2_0x36f7b6,_0x36464b=new ParentSegmentShowCommand(),_0x3bc0ba=program[_0x5a1ab1(0x266)](),_0x2d4dcf=await createTDXInstance(_0x3bc0ba),_0x6b5b38=await _0x36464b['run']({'options':{..._0x3bc0ba,..._0x4940c5},'args':_0x827aaf?[_0x827aaf]:[],'tdx':_0x2d4dcf});gracefulExit(_0x6b5b38);}),parentSegmentCmd['command'](a2_0x36f7b6(0x101))['description']('Set\x20or\x20show\x20parent\x20segment\x20context')[a2_0x36f7b6(0x187)](async(_0x38e15f,_0x3de8a8)=>{const _0xc6c3ae=a2_0x36f7b6,_0x202c0b=new UseCommand(),_0x2408c8=program[_0xc6c3ae(0x266)](),_0x25e86b=_0x38e15f?[_0xc6c3ae(0x1f7),_0x38e15f]:[],_0x6288c=await _0x202c0b[_0xc6c3ae(0x1cf)]({'options':{..._0x2408c8,..._0x3de8a8},'args':_0x25e86b,'tdx':null});gracefulExit(_0x6288c);});const psRtCmd=parentSegmentCmd['command']('rt')['description']('RT\x202.0\x20configuration\x20management');psRtCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x369))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x112))['action'](async(_0x13b90a,_0x5a6f2f)=>{const _0xd57c64=a2_0x36f7b6,_0x354da7=new PSRtListCommand(),_0x12cb36=program[_0xd57c64(0x266)](),_0x201a9b=await createTDXInstance(_0x12cb36),_0x2a3b56=await _0x354da7[_0xd57c64(0x1cf)]({'options':{..._0x12cb36,..._0x5a6f2f},'args':_0x13b90a?[_0x13b90a]:[],'tdx':_0x201a9b});gracefulExit(_0x2a3b56);}),psRtCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x15b))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x378))['action'](async(_0x3b7021,_0x4255b9)=>{const _0x2163c7=a2_0x36f7b6,_0x4d11f1=new PSRtValidateCommand(),_0x46c892=program['opts'](),_0x3132d7=await createTDXInstance(_0x46c892),_0xba8794=await _0x4d11f1[_0x2163c7(0x1cf)]({'options':{..._0x46c892,..._0x4255b9},'args':_0x3b7021?[_0x3b7021]:[],'tdx':_0x3132d7});gracefulExit(_0xba8794);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})['description'](a2_0x36f7b6(0x2f1));parentRtCmd['command'](a2_0x36f7b6(0x369))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x112))[a2_0x36f7b6(0x187)](async(_0xe0dfde,_0x149db7)=>{const _0x1dd01b=a2_0x36f7b6,_0x4162d2=new PSRtListCommand(),_0x3d39ae=program[_0x1dd01b(0x266)](),_0x44e253=await createTDXInstance(_0x3d39ae),_0x3b22e6=await _0x4162d2[_0x1dd01b(0x1cf)]({'options':{..._0x3d39ae,..._0x149db7},'args':_0xe0dfde?[_0xe0dfde]:[],'tdx':_0x44e253});gracefulExit(_0x3b22e6);}),parentRtCmd['command'](a2_0x36f7b6(0x15b))['description'](a2_0x36f7b6(0x378))[a2_0x36f7b6(0x187)](async(_0x2a5e7d,_0x13e5fc)=>{const _0xc19e48=a2_0x36f7b6,_0x4eeb15=new PSRtValidateCommand(),_0x3c2baa=program[_0xc19e48(0x266)](),_0x2652e8=await createTDXInstance(_0x3c2baa),_0x4de2fd=await _0x4eeb15[_0xc19e48(0x1cf)]({'options':{..._0x3c2baa,..._0x13e5fc},'args':_0x2a5e7d?[_0x2a5e7d]:[],'tdx':_0x2652e8});gracefulExit(_0x4de2fd);});const psPzCmd=parentSegmentCmd[a2_0x36f7b6(0x2e7)]('pz')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xb5));psPzCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x335))[a2_0x36f7b6(0x2f3)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x36f7b6(0x187)](async(_0x4c11e2,_0x36241f)=>{const _0x5389ae=a2_0x36f7b6,_0x5cb70c=new PSPzListCommand(),_0x3c97fa=program[_0x5389ae(0x266)](),_0x3a0b8d=await createTDXInstance(_0x3c97fa),_0x1d2c2b=await _0x5cb70c[_0x5389ae(0x1cf)]({'options':{..._0x3c97fa,..._0x36241f},'args':_0x4c11e2?[_0x4c11e2]:[],'tdx':_0x3a0b8d});gracefulExit(_0x1d2c2b);}),psPzCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0xe7))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x218))['action'](async(_0x579ac,_0x247ba1)=>{const _0x1ba02d=a2_0x36f7b6,_0x5d5979=new PSPzInitCommand(),_0x374d73=program[_0x1ba02d(0x266)](),_0x26913b=await createTDXInstance(_0x374d73),_0x3de42d=await _0x5d5979[_0x1ba02d(0x1cf)]({'options':{..._0x374d73,..._0x247ba1},'args':_0x579ac?[_0x579ac]:[],'tdx':_0x26913b});gracefulExit(_0x3de42d);});const parentPzCmd=parentCmd[a2_0x36f7b6(0x2e7)]('pz',{'hidden':!![]})[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xb5));parentPzCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x335))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x19f))[a2_0x36f7b6(0x187)](async(_0x582646,_0x5a5266)=>{const _0x4556ff=a2_0x36f7b6,_0x4e353a=new PSPzListCommand(),_0x5f48c5=program['opts'](),_0x3e4ba8=await createTDXInstance(_0x5f48c5),_0x3b0535=await _0x4e353a[_0x4556ff(0x1cf)]({'options':{..._0x5f48c5,..._0x5a5266},'args':_0x582646?[_0x582646]:[],'tdx':_0x3e4ba8});gracefulExit(_0x3b0535);}),parentPzCmd['command'](a2_0x36f7b6(0xe7))[a2_0x36f7b6(0x2f3)]('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x3e7a88,_0x1f3d85)=>{const _0x165a08=a2_0x36f7b6,_0x547f6a=new PSPzInitCommand(),_0x4fe886=program[_0x165a08(0x266)](),_0x498839=await createTDXInstance(_0x4fe886),_0x52a358=await _0x547f6a['run']({'options':{..._0x4fe886,..._0x1f3d85},'args':_0x3e7a88?[_0x3e7a88]:[],'tdx':_0x498839});gracefulExit(_0x52a358);}),parentCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x24c))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xb0))[a2_0x36f7b6(0x164)]('--database\x20<db>',a2_0x36f7b6(0x16c))[a2_0x36f7b6(0x164)]('--table\x20<table>','Master\x20table\x20name')[a2_0x36f7b6(0x2a8)]('--description\x20<text>','Parent\x20segment\x20description')['option'](a2_0x36f7b6(0x14f),'Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x197),a2_0x36f7b6(0x278))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xd8),a2_0x36f7b6(0x32d))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x25c),a2_0x36f7b6(0x2cd))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xff),a2_0x36f7b6(0x131))[a2_0x36f7b6(0x2a8)]('--behaviors\x20<json>','Behaviors\x20as\x20JSON\x20string')['option']('--behaviors-file\x20<file>',a2_0x36f7b6(0x16f))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x284),'Customer\x20group\x20as\x20JSON\x20string')[a2_0x36f7b6(0x2a8)]('--customer-group-file\x20<file>',a2_0x36f7b6(0x2c5))[a2_0x36f7b6(0x187)](async(_0xa7f5cc,_0xb53b8c)=>{const _0xfa6a7=a2_0x36f7b6,_0x4ac3c4=new ParentSegmentCreateCommand(),_0x508a96=program[_0xfa6a7(0x266)](),_0x336339=await createTDXInstance(_0x508a96),_0x5787cc=await _0x4ac3c4[_0xfa6a7(0x1cf)]({'options':{..._0x508a96,..._0xb53b8c},'args':[_0xa7f5cc],'tdx':_0x336339});gracefulExit(_0x5787cc);}),parentCmd[a2_0x36f7b6(0x2e7)]('update\x20<name>')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x303))['option'](a2_0x36f7b6(0x142),a2_0x36f7b6(0x178))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x14f),a2_0x36f7b6(0xed))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x197),a2_0x36f7b6(0x15e))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xd8),'Updated\x20timezone')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x20f),'Add\x20attributes\x20as\x20JSON\x20string')['option']('--add-attributes-file\x20<file>',a2_0x36f7b6(0x13f))[a2_0x36f7b6(0x2a8)]('--add-behaviors\x20<json>',a2_0x36f7b6(0xc6))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x198),'Add\x20behaviors\x20from\x20JSON\x20file')[a2_0x36f7b6(0x187)](async(_0x27d2ce,_0x2fe4f3)=>{const _0x27a366=a2_0x36f7b6,_0x578f92=new ParentSegmentUpdateCommand(),_0x31f71f=program['opts'](),_0x2e8ae9=await createTDXInstance(_0x31f71f),_0x1ee5fa=await _0x578f92[_0x27a366(0x1cf)]({'options':{..._0x31f71f,..._0x2fe4f3},'args':[_0x27d2ce],'tdx':_0x2e8ae9});gracefulExit(_0x1ee5fa);}),folderCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0xaf))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x312))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x142),a2_0x36f7b6(0x1c5))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x146),a2_0x36f7b6(0x362))[a2_0x36f7b6(0x187)](async(_0x2749e1,_0x10c592,_0x4d3371)=>{const _0x28148f=a2_0x36f7b6,_0x30aed0=new SegmentFolderCreateCommand(),_0x410c72=program[_0x28148f(0x266)](),_0x5c2339=await createTDXInstance(_0x410c72),_0x1b417a=await _0x30aed0[_0x28148f(0x1cf)]({'options':{..._0x410c72,..._0x4d3371},'args':[_0x2749e1,_0x10c592],'tdx':_0x5c2339});gracefulExit(_0x1b417a);}),program['command']('activations\x20<segment_name>')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x1e8))[a2_0x36f7b6(0x187)](async(_0x4ea589,_0x3910ca)=>{const _0x5ce2db=a2_0x36f7b6,_0x4eb58b=new ActivationsCommand(),_0x1529f6=program[_0x5ce2db(0x266)](),_0x1c0e7e=await createTDXInstance(_0x1529f6),_0x16a59d=await _0x4eb58b[_0x5ce2db(0x1cf)]({'options':{..._0x1529f6,..._0x3910ca},'args':[_0x4ea589],'tdx':_0x1c0e7e});gracefulExit(_0x16a59d);});const workflowCmd=program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x1ea))[a2_0x36f7b6(0x31c)]('wf')['description'](a2_0x36f7b6(0x35f)),wfProjectCmd=workflowCmd['command'](a2_0x36f7b6(0x19b))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x135)),wfProjectListAction=async(_0x17b55a,_0x322c1f)=>{const _0x6fd94c=a2_0x36f7b6,_0x4b5a48=new WorkflowProjectsCommand(),_0x412630=program['opts'](),_0x6651b2=await createTDXInstance(_0x412630),_0x20f88e=await _0x4b5a48[_0x6fd94c(0x1cf)]({'options':{..._0x412630,..._0x322c1f},'args':_0x17b55a?[_0x17b55a]:[],'tdx':_0x6651b2});gracefulExit(_0x20f88e);};wfProjectCmd['command'](a2_0x36f7b6(0x369))['description'](a2_0x36f7b6(0x150))[a2_0x36f7b6(0x187)](wfProjectListAction),workflowCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x22b))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x329))[a2_0x36f7b6(0x187)](wfProjectListAction);const wfWorkflowListAction=async(_0x254be3,_0x1c6265)=>{const _0x51a1ad=a2_0x36f7b6,_0x21ea3a=new WorkflowWorkflowsCommand(),_0x1c622d=program[_0x51a1ad(0x266)](),_0x5dd933=await createTDXInstance(_0x1c622d),_0x2193ef=await _0x21ea3a[_0x51a1ad(0x1cf)]({'options':{..._0x1c622d,..._0x1c6265},'args':_0x254be3?[_0x254be3]:[],'tdx':_0x5dd933});gracefulExit(_0x2193ef);};workflowCmd['command'](a2_0x36f7b6(0x2df))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x11a))[a2_0x36f7b6(0x187)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x326))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x20b)),wfSessionListAction=async(_0x4b8655,_0x4828e4)=>{const _0x5c960b=a2_0x36f7b6,_0x5d5782=new WorkflowSessionsCommand(),_0x5df30c=program['opts'](),_0x544e49=await createTDXInstance(_0x5df30c),_0x1d1e86=await _0x5d5782[_0x5c960b(0x1cf)]({'options':{..._0x5df30c,..._0x4828e4},'args':_0x4b8655?[_0x4b8655]:[],'tdx':_0x544e49});gracefulExit(_0x1d1e86);};wfSessionCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x2f9))[a2_0x36f7b6(0x2f3)]('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')['option'](a2_0x36f7b6(0x354),a2_0x36f7b6(0x2d6))[a2_0x36f7b6(0x2a8)]('--from\x20<timestamp>',a2_0x36f7b6(0x155))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x1b6),a2_0x36f7b6(0x243))[a2_0x36f7b6(0x187)](wfSessionListAction),workflowCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x334))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x168))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x354),a2_0x36f7b6(0x2d6))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x32a),a2_0x36f7b6(0x155))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x1b6),a2_0x36f7b6(0x243))[a2_0x36f7b6(0x187)](wfSessionListAction);const wfAttemptListAction=async(_0x240f39,_0x33c408)=>{const _0x58d23d=a2_0x36f7b6,_0x591e49=new WorkflowAttemptsCommand(),_0x32c20b=program[_0x58d23d(0x266)](),_0x43355a=await createTDXInstance(_0x32c20b),_0x428b4c=await _0x591e49[_0x58d23d(0x1cf)]({'options':{..._0x32c20b,..._0x33c408},'args':_0x240f39?[_0x240f39]:[],'tdx':_0x43355a});gracefulExit(_0x428b4c);},attemptCmd=workflowCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0xe0))['description'](a2_0x36f7b6(0xeb))[a2_0x36f7b6(0x1e3)](a2_0x36f7b6(0x35c),'Attempt\x20ID')[a2_0x36f7b6(0x1e3)]('[action]',a2_0x36f7b6(0x132))[a2_0x36f7b6(0x1e3)](a2_0x36f7b6(0x34d),a2_0x36f7b6(0x151))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xf7),a2_0x36f7b6(0x373))['option'](a2_0x36f7b6(0x2ed),a2_0x36f7b6(0x320))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x246),a2_0x36f7b6(0x28f))['option'](a2_0x36f7b6(0x2ba),a2_0x36f7b6(0x14c))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x340),a2_0x36f7b6(0x103))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x1d4),a2_0x36f7b6(0x1f8))[a2_0x36f7b6(0x187)](async(_0x45f510,_0x287f31,_0x21bc00,_0x445a98)=>{const _0x21fb7c=a2_0x36f7b6;if(_0x45f510===_0x21fb7c(0x269)){await wfAttemptListAction(_0x287f31,_0x445a98);return;}if(!_0x45f510){attemptCmd['help']();return;}const _0x58e752=program['opts'](),_0x5b065f=await createTDXInstance(_0x58e752);let _0x52eea9=0x0;if(!_0x287f31){const _0x4a345d=new WorkflowAttemptCommand();_0x52eea9=await _0x4a345d[_0x21fb7c(0x1cf)]({'options':{..._0x58e752,..._0x445a98},'args':[_0x45f510],'tdx':_0x5b065f});}else{if(_0x287f31===_0x21fb7c(0xfb)){const _0x2bb9ff=new WorkflowLogsCommand();_0x52eea9=await _0x2bb9ff['run']({'options':{..._0x58e752,..._0x445a98},'args':_0x21bc00?[_0x45f510,_0x21bc00]:[_0x45f510],'tdx':_0x5b065f});}else{if(_0x287f31==='tasks'){const _0x3287c6=new WorkflowTasksCommand();_0x52eea9=await _0x3287c6[_0x21fb7c(0x1cf)]({'options':{..._0x58e752,..._0x445a98},'args':[_0x45f510],'tdx':_0x5b065f});}else{if(_0x287f31==='kill'){const _0x58172d=new WorkflowKillCommand();_0x52eea9=await _0x58172d[_0x21fb7c(0x1cf)]({'options':{..._0x58e752,..._0x445a98},'args':[_0x45f510],'tdx':_0x5b065f});}else{if(_0x287f31===_0x21fb7c(0x26d)){const _0x3f772c=new WorkflowRetryCommand();_0x52eea9=await _0x3f772c['run']({'options':{..._0x58e752,..._0x445a98},'args':[_0x21fb7c(0x2ac)+_0x45f510],'tdx':_0x5b065f});}else console['error']('Unknown\x20action:\x20'+_0x287f31),console[_0x21fb7c(0x2af)](_0x21fb7c(0x139)),_0x52eea9=0x1;}}}}gracefulExit(_0x52eea9);});attemptCmd['command'](a2_0x36f7b6(0x2f9))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x2b1))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x1d4),a2_0x36f7b6(0x255))[a2_0x36f7b6(0x187)](wfAttemptListAction),workflowCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x133))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x17b))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x1d4),'Include\x20retried\x20attempts')[a2_0x36f7b6(0x187)](wfAttemptListAction),workflowCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x1fc))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x29f))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x353),'Follow/watch\x20timeline\x20for\x20running\x20attempts')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x221),a2_0x36f7b6(0x1ad))['option']('--attempt-id\x20<id>',a2_0x36f7b6(0x121))[a2_0x36f7b6(0x187)](async(_0x1c19b5,_0x2b795c)=>{const _0x563905=a2_0x36f7b6,_0x3a0e1a=new WorkflowTimelineCommand(),_0x585438=program[_0x563905(0x266)](),_0x28209b=await createTDXInstance(_0x585438),_0x13dd8e=await _0x3a0e1a[_0x563905(0x1cf)]({'options':{..._0x585438,..._0x2b795c},'args':_0x1c19b5?[_0x1c19b5]:[],'tdx':_0x28209b});gracefulExit(_0x13dd8e);}),workflowCmd[a2_0x36f7b6(0x2e7)]('retry\x20<session-id>')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x300))[a2_0x36f7b6(0x2a8)]('--from-task\x20<task>','Resume\x20from\x20specific\x20task')[a2_0x36f7b6(0x2a8)]('--params\x20<json>',a2_0x36f7b6(0x34b))[a2_0x36f7b6(0x187)](async(_0x30ce2f,_0x2dd8f6)=>{const _0x4fcb50=a2_0x36f7b6,_0x4af0ff=new WorkflowRetryCommand(),_0x18e507=program[_0x4fcb50(0x266)](),_0x183cc3=await createTDXInstance(_0x18e507),_0x3efc41=await _0x4af0ff[_0x4fcb50(0x1cf)]({'options':{..._0x18e507,..._0x2dd8f6},'args':[_0x30ce2f],'tdx':_0x183cc3});gracefulExit(_0x3efc41);}),workflowCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x35d))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x302))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x24a),a2_0x36f7b6(0x2fc),(_0x50ef9f,_0x36edf4=[])=>[..._0x36edf4,_0x50ef9f],[])[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x2d8),'Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')[a2_0x36f7b6(0x187)](async(_0x343104,_0x3462cc)=>{const _0x558c33=a2_0x36f7b6,_0x578ee6=new WorkflowRunCommand(),_0x47080c=program[_0x558c33(0x266)](),_0x464045=await createTDXInstance(_0x47080c),_0x4f5e80=await _0x578ee6['run']({'options':{..._0x47080c,..._0x3462cc},'args':_0x343104?[_0x343104]:[],'tdx':_0x464045});gracefulExit(_0x4f5e80);}),workflowCmd['command'](a2_0x36f7b6(0xfd))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x2d4))[a2_0x36f7b6(0x2a8)]('--revision\x20<revision>',a2_0x36f7b6(0x180))['action'](async(_0x49ffc0,_0x4fd727,_0x49792b)=>{const _0x378539=a2_0x36f7b6,_0x3fa9a7=new WorkflowDownloadCommand(),_0x5ee348=program[_0x378539(0x266)](),_0x1622c9=await createTDXInstance(_0x5ee348),_0x1675b5=await _0x3fa9a7['run']({'options':{..._0x5ee348,..._0x49792b},'args':[_0x49ffc0,_0x4fd727||'.'],'tdx':_0x1622c9});gracefulExit(_0x1675b5);}),workflowCmd['command']('pull\x20<project>\x20[target-dir]')['description'](a2_0x36f7b6(0x211))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x1f2),a2_0x36f7b6(0x34c))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xb8),a2_0x36f7b6(0xdd))[a2_0x36f7b6(0x187)](async(_0x267e13,_0x3169f0,_0x29b868)=>{const _0x4f36c6=a2_0x36f7b6,_0x3829bb=new WorkflowPullCommand(),_0x53c179=program[_0x4f36c6(0x266)](),_0x35f329=await createTDXInstance(_0x53c179),_0x4732ea=await _0x3829bb[_0x4f36c6(0x1cf)]({'options':{..._0x53c179,..._0x29b868},'args':_0x3169f0?[_0x267e13,_0x3169f0]:[_0x267e13],'tdx':_0x35f329});gracefulExit(_0x4732ea);}),workflowCmd['command'](a2_0x36f7b6(0x370))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x152))['option'](a2_0x36f7b6(0x1f2),a2_0x36f7b6(0x321))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xb8),'Preview\x20changes\x20without\x20pushing')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x36f),a2_0x36f7b6(0x27e))[a2_0x36f7b6(0x187)](async(_0x3ec763,_0x3a8d4e)=>{const _0x146c5d=a2_0x36f7b6,_0x4f1299=new WorkflowPushCommand(),_0x4a3390=program['opts'](),_0x211e86=await createTDXInstance(_0x4a3390),_0x3b01fc=await _0x4f1299[_0x146c5d(0x1cf)]({'options':{..._0x4a3390,..._0x3a8d4e},'args':_0x3ec763?[_0x3ec763]:[],'tdx':_0x211e86});gracefulExit(_0x3b01fc);}),workflowCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x14b))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x33f))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x12d),'Override\x20project\x20name')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x1f2),'Revision\x20name\x20(default:\x20timestamp)')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x36f),a2_0x36f7b6(0x27e))[a2_0x36f7b6(0x187)](async(_0x3e85be,_0x14d3ac)=>{const _0xb67cbe=a2_0x36f7b6,_0x1de5e8=new WorkflowUploadCommand(),_0x15fd5c=program[_0xb67cbe(0x266)](),_0x4eee88=await createTDXInstance(_0x15fd5c),_0x20379b=await _0x1de5e8[_0xb67cbe(0x1cf)]({'options':{..._0x15fd5c,..._0x14d3ac},'args':_0x3e85be?[_0x3e85be]:[],'tdx':_0x4eee88});gracefulExit(_0x20379b);}),workflowCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x177))['description']('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x12d),a2_0x36f7b6(0x20a))[a2_0x36f7b6(0x2a8)]('--revision\x20<revision>',a2_0x36f7b6(0x321))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xb8),a2_0x36f7b6(0x1cc))[a2_0x36f7b6(0x2a8)]('--skip-validation',a2_0x36f7b6(0x27e))['action'](async(_0x49643d,_0x2f70e9)=>{const _0x279916=a2_0x36f7b6,_0x28b0fc=new WorkflowCloneCommand(),_0x48cf77=program[_0x279916(0x266)](),_0x11bf84=await createTDXInstance(_0x48cf77),_0x40bb8b=await _0x28b0fc['run']({'options':{..._0x48cf77,..._0x2f70e9},'args':_0x49643d?[_0x49643d]:[],'tdx':_0x11bf84});gracefulExit(_0x40bb8b);}),workflowCmd[a2_0x36f7b6(0x2e7)]('delete\x20<project-name-or-id>')[a2_0x36f7b6(0x2f3)]('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x36f7b6(0x187)](async(_0x595f96,_0x4cad00)=>{const _0x47a5b5=a2_0x36f7b6,_0x484ceb=new WorkflowDeleteCommand(),_0x271c54=program[_0x47a5b5(0x266)](),_0x4fdb93=await createTDXInstance(_0x271c54),_0x2e5bc0=await _0x484ceb[_0x47a5b5(0x1cf)]({'options':{..._0x271c54,..._0x4cad00},'args':[_0x595f96],'tdx':_0x4fdb93});gracefulExit(_0x2e5bc0);}),workflowCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x165))['description'](a2_0x36f7b6(0x37a))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x2b7),a2_0x36f7b6(0x250))[a2_0x36f7b6(0x187)](async(_0x167d50,_0x33d16f)=>{const _0x400f42=a2_0x36f7b6,_0x529265=new WorkflowUseCommand(),_0x5d874e=program[_0x400f42(0x266)](),_0x324b0d=await createTDXInstance(_0x5d874e),_0x525403=await _0x529265['run']({'options':{..._0x5d874e,..._0x33d16f},'args':_0x167d50?[_0x167d50]:[],'tdx':_0x324b0d});gracefulExit(_0x525403);});const wfSecretsCmd=workflowCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x1dd))[a2_0x36f7b6(0x2f3)]('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd['command'](a2_0x36f7b6(0x2f9))[a2_0x36f7b6(0x2f3)]('List\x20secret\x20keys\x20for\x20a\x20project')[a2_0x36f7b6(0x187)](async(_0x545c79,_0x10799e)=>{const _0x5ce99b=a2_0x36f7b6,_0x219a90=new WorkflowSecretsListCommand(),_0x4d4e6d=program['opts'](),_0x261e3d=await createTDXInstance(_0x4d4e6d),_0x2fe94b=await _0x219a90[_0x5ce99b(0x1cf)]({'options':{..._0x4d4e6d,..._0x10799e},'args':_0x545c79?[_0x545c79]:[],'tdx':_0x261e3d});gracefulExit(_0x2fe94b);}),wfSecretsCmd['command']('set\x20<args...>')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x203))[a2_0x36f7b6(0x187)](async(_0x4ed263,_0x2c2930)=>{const _0x1c206a=a2_0x36f7b6,_0x1bbc4f=new WorkflowSecretsSetCommand(),_0x13aaaf=program[_0x1c206a(0x266)](),_0x18449e=await createTDXInstance(_0x13aaaf),_0x1b3764=await _0x1bbc4f[_0x1c206a(0x1cf)]({'options':{..._0x13aaaf,..._0x2c2930},'args':_0x4ed263,'tdx':_0x18449e});gracefulExit(_0x1b3764);}),wfSecretsCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0xbd))[a2_0x36f7b6(0x2f3)]('Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)')[a2_0x36f7b6(0x187)](async(_0x40170e,_0x269c8f)=>{const _0x3fc9a4=a2_0x36f7b6,_0x5535b4=new WorkflowSecretsDeleteCommand(),_0x514b7=program[_0x3fc9a4(0x266)](),_0x2c72a3=await createTDXInstance(_0x514b7),_0x16671a=await _0x5535b4[_0x3fc9a4(0x1cf)]({'options':{..._0x514b7,..._0x269c8f},'args':_0x40170e,'tdx':_0x2c72a3});gracefulExit(_0x16671a);});const jobCmd=program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x222))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x156)),jobListAction=async _0x287053=>{const _0x3d1647=a2_0x36f7b6,_0x7f3fec=new JobListCommand(),_0x2c0b5f=program['opts'](),_0x5059d7=await createTDXInstance(_0x2c0b5f),_0x51f088=await _0x7f3fec[_0x3d1647(0x1cf)]({'options':{..._0x2c0b5f,..._0x287053},'args':[],'tdx':_0x5059d7});gracefulExit(_0x51f088);};jobCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x269))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x34a))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x354),a2_0x36f7b6(0x2db))[a2_0x36f7b6(0x187)](jobListAction),program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x1dc),{'hidden':!![]})[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x2ef))['option'](a2_0x36f7b6(0x354),a2_0x36f7b6(0x2db))[a2_0x36f7b6(0x187)](jobListAction),jobCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x1d7))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x241))[a2_0x36f7b6(0x187)](async(_0x200c7c,_0x1fc095)=>{const _0x3f92b9=a2_0x36f7b6,_0x238d36=new JobShowCommand(),_0x7194c7=program[_0x3f92b9(0x266)](),_0xb1b729=await createTDXInstance(_0x7194c7),_0x3a3288=await _0x238d36[_0x3f92b9(0x1cf)]({'options':{..._0x7194c7,..._0x1fc095},'args':[_0x200c7c],'tdx':_0xb1b729});gracefulExit(_0x3a3288);}),jobCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x29d))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x288))[a2_0x36f7b6(0x187)](async(_0x1b5554,_0x58eb9e)=>{const _0x313dc6=a2_0x36f7b6,_0x42883d=new JobKillCommand(),_0x507fff=program[_0x313dc6(0x266)](),_0x11ac46=await createTDXInstance(_0x507fff),_0x26b836=await _0x42883d[_0x313dc6(0x1cf)]({'options':{..._0x507fff,..._0x58eb9e},'args':[_0x1b5554],'tdx':_0x11ac46});gracefulExit(_0x26b836);}),jobCmd[a2_0x36f7b6(0x2e7)]('submit\x20[query]')['description'](a2_0x36f7b6(0x29e))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x2e6),'Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','trino')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x315),a2_0x36f7b6(0x122))[a2_0x36f7b6(0x2a8)]('--database\x20<name>',a2_0x36f7b6(0xb1),a2_0x36f7b6(0x33c))['option'](a2_0x36f7b6(0x1b4),'Result\x20export\x20destination\x20(URL\x20or\x20JSON)')['action'](async(_0x5cc887,_0xb2c24a)=>{const _0x2d5384=a2_0x36f7b6,_0x1c015c=new JobSubmitCommand(),_0x33add0=program[_0x2d5384(0x266)](),_0x21efdd=await createTDXInstance(_0x33add0),_0x261c56=await _0x1c015c[_0x2d5384(0x1cf)]({'options':{..._0x33add0,..._0xb2c24a},'args':_0x5cc887?[_0x5cc887]:[],'tdx':_0x21efdd});gracefulExit(_0x261c56);}),jobCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x35a))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x2d3))[a2_0x36f7b6(0x187)](async(_0x262690,_0xd84cfa)=>{const _0x1607f7=a2_0x36f7b6,_0x17c620=new JobResultCommand(),_0x40802d=program[_0x1607f7(0x266)](),_0x15f309=await createTDXInstance(_0x40802d),_0x3fb9b2=await _0x17c620[_0x1607f7(0x1cf)]({'options':{..._0x40802d,..._0xd84cfa},'args':[_0x262690],'tdx':_0x15f309});gracefulExit(_0x3fb9b2);});const scheduleCmd=jobCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x113))['description']('Scheduled\x20query\x20management\x20commands');scheduleCmd[a2_0x36f7b6(0x2e7)]('list\x20[pattern]')['description'](a2_0x36f7b6(0x104))['action'](async(_0x1d8953,_0x192071)=>{const _0x3e138f=a2_0x36f7b6,_0x3780c0=new ScheduleListCommand(),_0x2a3b85=program[_0x3e138f(0x266)](),_0x2b6caa=await createTDXInstance(_0x2a3b85),_0x3b4478=await _0x3780c0[_0x3e138f(0x1cf)]({'options':{..._0x2a3b85,..._0x192071},'args':_0x1d8953?[_0x1d8953]:[],'tdx':_0x2b6caa});gracefulExit(_0x3b4478);}),scheduleCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x1f5))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x310))['action'](async(_0x18d2a5,_0x377d0c)=>{const _0x2f869b=a2_0x36f7b6,_0x4d18b2=new ScheduleShowCommand(),_0x274aef=program[_0x2f869b(0x266)](),_0x107c19=await createTDXInstance(_0x274aef),_0x495d14=await _0x4d18b2[_0x2f869b(0x1cf)]({'options':{..._0x274aef,..._0x377d0c},'args':[_0x18d2a5],'tdx':_0x107c19});gracefulExit(_0x495d14);}),scheduleCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x24c))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x2ee))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xcc),a2_0x36f7b6(0x2c0))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x19c),a2_0x36f7b6(0x16b))[a2_0x36f7b6(0x164)]('-f,\x20--file\x20<path>',a2_0x36f7b6(0x122))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x188),a2_0x36f7b6(0x185),'trino')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x20e),a2_0x36f7b6(0x148))['option'](a2_0x36f7b6(0xd8),a2_0x36f7b6(0x18f))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x2c6),a2_0x36f7b6(0x100))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x1c0),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xd5),a2_0x36f7b6(0x144))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x172),a2_0x36f7b6(0x37d))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x200),'Result\x20output\x20destination\x20URL')[a2_0x36f7b6(0x187)](async(_0x17f14c,_0x47adca)=>{const _0x5d9353=a2_0x36f7b6,_0x38bc09=new ScheduleCreateCommand(),_0xa41bd7=program['opts'](),_0x7c1d95=await createTDXInstance(_0xa41bd7);_0x47adca['in']&&(_0x47adca['database']=_0x47adca['in']);const _0x354691=await _0x38bc09[_0x5d9353(0x1cf)]({'options':{..._0xa41bd7,..._0x47adca},'args':[_0x17f14c],'tdx':_0x7c1d95});gracefulExit(_0x354691);}),scheduleCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x1ee))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x2ca))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xcc),a2_0x36f7b6(0x116))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x19c),a2_0x36f7b6(0x16b))['option'](a2_0x36f7b6(0x315),a2_0x36f7b6(0x122))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x188),a2_0x36f7b6(0x185))['option']('--cron\x20<expression>',a2_0x36f7b6(0x148))['option']('--timezone\x20<tz>',a2_0x36f7b6(0x167))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x2c6),a2_0x36f7b6(0x100))['option'](a2_0x36f7b6(0x1c0),a2_0x36f7b6(0x254))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xd5),a2_0x36f7b6(0x144))[a2_0x36f7b6(0x2a8)]('--engine-version\x20<version>',a2_0x36f7b6(0x37d))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x200),'Result\x20output\x20destination\x20URL')['action'](async(_0x48daa4,_0x545aef)=>{const _0x58aa46=a2_0x36f7b6,_0x42c8c0=new ScheduleUpdateCommand(),_0x5e2a18=program[_0x58aa46(0x266)](),_0x3b4c5c=await createTDXInstance(_0x5e2a18);_0x545aef['in']&&(_0x545aef['database']=_0x545aef['in']);const _0x36f4c0=await _0x42c8c0[_0x58aa46(0x1cf)]({'options':{..._0x5e2a18,..._0x545aef},'args':[_0x48daa4],'tdx':_0x3b4c5c});gracefulExit(_0x36f4c0);}),scheduleCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x18b))['description'](a2_0x36f7b6(0x309))[a2_0x36f7b6(0x187)](async(_0x5e77ab,_0x1f5eff)=>{const _0x3efc6f=a2_0x36f7b6,_0x1f378e=new ScheduleDeleteCommand(),_0x350183=program[_0x3efc6f(0x266)](),_0x103639=await createTDXInstance(_0x350183),_0x15276d=await _0x1f378e['run']({'options':{..._0x350183,..._0x1f5eff},'args':[_0x5e77ab],'tdx':_0x103639});gracefulExit(_0x15276d);}),scheduleCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x115))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x346))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x22d),a2_0x36f7b6(0x102))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x35b),'Number\x20of\x20executions\x20(1-10,\x20default:\x201)')[a2_0x36f7b6(0x187)](async(_0x53b504,_0x8bed79)=>{const _0x210e25=a2_0x36f7b6,_0x13eeff=new ScheduleRunCommand(),_0x204030=program[_0x210e25(0x266)](),_0x5812f9=await createTDXInstance(_0x204030),_0x29c316=await _0x13eeff[_0x210e25(0x1cf)]({'options':{..._0x204030,..._0x8bed79},'args':[_0x53b504],'tdx':_0x5812f9});gracefulExit(_0x29c316);}),scheduleCmd['command'](a2_0x36f7b6(0x2f4))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x199))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x252),a2_0x36f7b6(0x1a3))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xab),a2_0x36f7b6(0x111))[a2_0x36f7b6(0x187)](async(_0x1e76ec,_0x2f8138)=>{const _0x5d0c07=a2_0x36f7b6,_0x360ec1=new ScheduleHistoryCommand(),_0x149a64=program[_0x5d0c07(0x266)](),_0x61256b=await createTDXInstance(_0x149a64),_0xb11909=await _0x360ec1[_0x5d0c07(0x1cf)]({'options':{..._0x149a64,..._0x2f8138},'args':[_0x1e76ec],'tdx':_0x61256b});gracefulExit(_0xb11909);});const llmCmd=program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x1f6))['description'](a2_0x36f7b6(0x319));llmCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x217))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x322))[a2_0x36f7b6(0x187)](async(_0x2fbab3,_0x521d0a)=>{const _0x440fa3=a2_0x36f7b6,_0x3fd144=new LLMUseCommand(),_0x811d92=program['opts'](),_0xfd294a=await createTDXInstance(_0x811d92),_0xdb0bc0=await _0x3fd144[_0x440fa3(0x1cf)]({'options':{..._0x811d92,..._0x521d0a},'args':[_0x2fbab3],'tdx':_0xfd294a});gracefulExit(_0xdb0bc0);}),llmCmd['command']('models')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x2d2))[a2_0x36f7b6(0x187)](async _0x2d47a4=>{const _0x1b33e4=a2_0x36f7b6,_0xc3cf7d=new LLMModelsCommand(),_0x233be1=program[_0x1b33e4(0x266)](),_0x3bee17=await createTDXInstance(_0x233be1),_0x1795e8=await _0xc3cf7d['run']({'options':{..._0x233be1,..._0x2d47a4},'args':[],'tdx':_0x3bee17});gracefulExit(_0x1795e8);});const projectCmd=llmCmd['command']('project')[a2_0x36f7b6(0x2f3)]('LLM\x20project\x20management'),llmProjectListAction=async(_0x349ee4,_0x856dce)=>{const _0x15c304=a2_0x36f7b6,_0x29a079=new LLMProjectsCommand(),_0x273d51=program[_0x15c304(0x266)](),_0x43fa6b=await createTDXInstance(_0x273d51),_0x4df78d=await _0x29a079[_0x15c304(0x1cf)]({'options':{..._0x273d51,..._0x856dce},'args':_0x349ee4?[_0x349ee4]:[],'tdx':_0x43fa6b});gracefulExit(_0x4df78d);};projectCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x369))[a2_0x36f7b6(0x2f3)]('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x36f7b6(0x187)](llmProjectListAction),llmCmd['command'](a2_0x36f7b6(0x22b))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xcd))['action'](llmProjectListAction),projectCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x24c))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x1da))['option'](a2_0x36f7b6(0x142),a2_0x36f7b6(0xd9))[a2_0x36f7b6(0x187)](async(_0x16bacf,_0x50f47f)=>{const _0x1782ac=a2_0x36f7b6,_0x122663=new LLMProjectCreateCommand(),_0x18cff9=program[_0x1782ac(0x266)](),_0x21c628=await createTDXInstance(_0x18cff9),_0xd4fd21=await _0x122663[_0x1782ac(0x1cf)]({'options':{..._0x18cff9,..._0x50f47f},'args':[_0x16bacf],'tdx':_0x21c628});gracefulExit(_0xd4fd21);}),projectCmd['command'](a2_0x36f7b6(0x18b))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x1a4))[a2_0x36f7b6(0x187)](async(_0x5ef002,_0x240299)=>{const _0x46d653=a2_0x36f7b6,_0x423c3e=new LLMProjectDeleteCommand(),_0xbf8af8=program[_0x46d653(0x266)](),_0x1a1e44=await createTDXInstance(_0xbf8af8),_0x275f43=await _0x423c3e['run']({'options':{..._0xbf8af8,..._0x240299},'args':[_0x5ef002],'tdx':_0x1a1e44});gracefulExit(_0x275f43);}),projectCmd['command'](a2_0x36f7b6(0x149))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x36e))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x344),a2_0x36f7b6(0x10a))['option'](a2_0x36f7b6(0xb8),a2_0x36f7b6(0x263))[a2_0x36f7b6(0x187)](async(_0x3a1509,_0x5006f1)=>{const _0x5a5914=a2_0x36f7b6,_0x52f19e=new LLMProjectBackupCommand(),_0x38bc84=program[_0x5a5914(0x266)](),_0x581cfe=await createTDXInstance(_0x38bc84),_0x293672=await _0x52f19e[_0x5a5914(0x1cf)]({'options':{..._0x38bc84,..._0x5006f1},'args':[_0x3a1509],'tdx':_0x581cfe});gracefulExit(_0x293672);}),projectCmd[a2_0x36f7b6(0x2e7)]('restore\x20<folder>')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x2ec))[a2_0x36f7b6(0x2a8)]('--name\x20<new-name>',a2_0x36f7b6(0x347))[a2_0x36f7b6(0x2a8)]('--dry-run',a2_0x36f7b6(0x126))[a2_0x36f7b6(0x187)](async(_0x163f28,_0x5e1160)=>{const _0x2d6a80=a2_0x36f7b6,_0x234ee1=new LLMProjectRestoreCommand(),_0x5ab96b=program[_0x2d6a80(0x266)](),_0x1a236e=await createTDXInstance(_0x5ab96b),_0xf1efc7=await _0x234ee1[_0x2d6a80(0x1cf)]({'options':{..._0x5ab96b,..._0x5e1160},'args':[_0x163f28],'tdx':_0x1a236e});gracefulExit(_0xf1efc7);});const llmAgentListAction=async(_0x1d8360,_0x420325)=>{const _0x39f614=a2_0x36f7b6,_0x4b83f9=new LLMAgentsCommand(),_0x3805df=program[_0x39f614(0x266)](),_0x2af8cf=await createTDXInstance(_0x3805df),_0x32743f=await _0x4b83f9['run']({'options':{..._0x3805df,..._0x420325},'args':_0x1d8360?[_0x1d8360]:[],'tdx':_0x2af8cf});gracefulExit(_0x32743f);};llmCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x301))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x225))[a2_0x36f7b6(0x187)](llmAgentListAction),program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x301))[a2_0x36f7b6(0x2f3)]('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')[a2_0x36f7b6(0x187)](llmAgentListAction),llmCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x11f))[a2_0x36f7b6(0x2f3)]('Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x1a1),a2_0x36f7b6(0x10d))['action'](async(_0x571224,_0x450c97)=>{const _0x3bdad9=a2_0x36f7b6,_0x2bb7cb=new LLMHistoryCommand(),_0x3c6f03=program[_0x3bdad9(0x266)](),_0x3a386e=await createTDXInstance(_0x3c6f03),_0x8a53c9=await _0x2bb7cb[_0x3bdad9(0x1cf)]({'options':{..._0x3c6f03,..._0x450c97},'args':_0x571224?[_0x571224]:[],'tdx':_0x3a386e});gracefulExit(_0x8a53c9);});isExperimentalAvailable()&&llmCmd['command']('log\x20<chat-id>')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x286))[a2_0x36f7b6(0x187)](async(_0x155b2f,_0x29a1e4)=>{const _0x3648d3=a2_0x36f7b6,_0x3e9589=new LLMLogCommand(),_0x22b520=program[_0x3648d3(0x266)](),_0xc6b007=await createTDXInstance(_0x22b520),_0x2be42c=await _0x3e9589[_0x3648d3(0x1cf)]({'options':{..._0x22b520,..._0x29a1e4},'args':[_0x155b2f],'tdx':_0xc6b007});gracefulExit(_0x2be42c);});program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x2a5))[a2_0x36f7b6(0x2f2)](a2_0x36f7b6(0x1d0))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x1c8))['option'](a2_0x36f7b6(0x2dd),a2_0x36f7b6(0x31a))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x129),'Resume\x20a\x20conversation\x20(shows\x20selector)')[a2_0x36f7b6(0x2a8)]('--no-proxy','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')[a2_0x36f7b6(0x196)]()['allowExcessArguments'](!![])[a2_0x36f7b6(0x2f7)](a2_0x36f7b6(0x30e),a2_0x36f7b6(0x363))[a2_0x36f7b6(0x187)](async(_0x3b1b8b,_0x5ccb4b)=>{const _0x2ec2ed=a2_0x36f7b6,_0x4479e1=program[_0x2ec2ed(0x266)](),_0x1545b6=Array[_0x2ec2ed(0x136)](_0x3b1b8b)?_0x3b1b8b:[];if(_0x1545b6[0x0]===_0x2ec2ed(0x153)){const _0x158ac2=new ClaudeStatuslineCommand(),_0x4f8c09=await _0x158ac2['run']({'options':{..._0x4479e1,..._0x5ccb4b},'args':_0x1545b6['slice'](0x1),'tdx':null});gracefulExit(_0x4f8c09);}if(_0x1545b6[0x0]===_0x2ec2ed(0x2f2)){const _0x3a05fb=new ClaudeUsageCommand(),_0x5f301d=await _0x3a05fb[_0x2ec2ed(0x1cf)]({'options':{..._0x4479e1,..._0x5ccb4b},'args':_0x1545b6[_0x2ec2ed(0x212)](0x1),'tdx':null});gracefulExit(_0x5f301d);}const _0x27a718=new ClaudeCommand(),_0x5dd101=await createTDXInstance(_0x4479e1),_0x79012=await _0x27a718[_0x2ec2ed(0x1cf)]({'options':{..._0x4479e1,..._0x5ccb4b},'args':_0x1545b6,'tdx':_0x5dd101});gracefulExit(_0x79012);}),program['command'](a2_0x36f7b6(0x12e))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xa8))['option'](a2_0x36f7b6(0x2b7),'Clear\x20session\x20context')['option'](a2_0x36f7b6(0x33a),a2_0x36f7b6(0xfa))[a2_0x36f7b6(0x187)](async(_0x5ec606,_0x58fe60,_0x591f7e)=>{const _0x2921b2=a2_0x36f7b6,_0x409b69=new UseCommand(),_0x23de31=program[_0x2921b2(0x266)](),_0x2414f3=[];if(_0x5ec606)_0x2414f3['push'](_0x5ec606);if(_0x58fe60)_0x2414f3[_0x2921b2(0x256)](_0x58fe60);const _0x5491fe=_0x5ec606===_0x2921b2(0x1be),_0x4c1b0f=_0x5491fe?await createTDXInstance(_0x23de31):null,_0x2e1190=await _0x409b69[_0x2921b2(0x1cf)]({'options':{..._0x23de31,..._0x591f7e},'args':_0x2414f3,'tdx':_0x4c1b0f});gracefulExit(_0x2e1190);}),program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x208))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x324))[a2_0x36f7b6(0x187)](async _0xaf54ee=>{const _0x1ef2dd=a2_0x36f7b6,_0x30ef22=new StatusCommand(),_0x9631c7=program[_0x1ef2dd(0x266)](),_0x1c3d2a=await createTDXInstance(_0x9631c7),_0x4cb640=await _0x30ef22[_0x1ef2dd(0x1cf)]({'options':{..._0x9631c7,..._0xaf54ee},'args':[],'tdx':_0x1c3d2a});gracefulExit(_0x4cb640);}),program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x27b))[a2_0x36f7b6(0x2f3)]('Upgrade\x20tdx\x20to\x20the\x20latest\x20version')[a2_0x36f7b6(0x2a8)]('--dry-run','Check\x20for\x20updates\x20without\x20installing')['option'](a2_0x36f7b6(0x1ac),a2_0x36f7b6(0x1b3))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x316),a2_0x36f7b6(0x2de))[a2_0x36f7b6(0x187)](async(_0x5bdb34,_0x14b727)=>{const _0x1e2c1b=a2_0x36f7b6,_0x17a445=new UpgradeCommand(),_0x5b3ce3=program[_0x1e2c1b(0x266)](),_0x30152a=await _0x17a445[_0x1e2c1b(0x1cf)]({'options':{..._0x5b3ce3,..._0x14b727},'args':_0x5bdb34?[_0x5bdb34]:[],'tdx':null});gracefulExit(_0x30152a);}),program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x160))[a2_0x36f7b6(0x2f3)]('Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)')[a2_0x36f7b6(0x2a8)]('--default',a2_0x36f7b6(0x161))[a2_0x36f7b6(0x187)](async(_0x2f6819,_0x590b9c)=>{const _0x2252e0=a2_0x36f7b6,_0x4ba1e1=new UnsetCommand(),_0x467354=program[_0x2252e0(0x266)](),_0x27baf9=await _0x4ba1e1[_0x2252e0(0x1cf)]({'options':{..._0x467354,..._0x590b9c},'args':[_0x2f6819],'tdx':null});gracefulExit(_0x27baf9);}),program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x120))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x12a))[a2_0x36f7b6(0x2a8)]('--last',a2_0x36f7b6(0x17a))[a2_0x36f7b6(0x187)](async _0x5e90d0=>{const _0xc9a044=a2_0x36f7b6,_0x3000f9=new ChatsCommand(),_0x5cc0e8=program[_0xc9a044(0x266)](),_0x1d3061=await createTDXInstance(_0x5cc0e8),_0x42afa3=await _0x3000f9[_0xc9a044(0x1cf)]({'options':{..._0x5cc0e8,..._0x5e90d0},'args':[],'tdx':_0x1d3061});gracefulExit(_0x42afa3);});const authCmd=program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x110))[a2_0x36f7b6(0x2f3)]('Authentication\x20management');async function runAuthStatusCommand(_0x5a14c8){const _0x208444=a2_0x36f7b6,_0x381281=new AuthStatusCommand(),_0x3598ca=program[_0x208444(0x266)](),_0x436573=await createTDXInstance(_0x3598ca),_0x32ab7d=await _0x381281['run']({'options':{..._0x3598ca,..._0x5a14c8},'args':[],'tdx':_0x436573});gracefulExit(_0x32ab7d);}authCmd[a2_0x36f7b6(0x187)](runAuthStatusCommand),authCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x208))[a2_0x36f7b6(0x2f3)]('Show\x20authentication\x20status\x20and\x20validate\x20API\x20key')[a2_0x36f7b6(0x187)](runAuthStatusCommand),authCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x2ad))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x124))['addHelpText'](a2_0x36f7b6(0x30e),a2_0x36f7b6(0x24f))[a2_0x36f7b6(0x187)](async _0x5594f8=>{const _0x590a21=a2_0x36f7b6,_0x197d43=new AuthSetupCommand(),_0x9c28cf=program['opts'](),_0x583ab1=await createTDXInstance(_0x9c28cf),_0x90ae62=await _0x197d43[_0x590a21(0x1cf)]({'options':{..._0x9c28cf,..._0x5594f8},'args':[],'tdx':_0x583ab1});gracefulExit(_0x90ae62);}),authCmd[a2_0x36f7b6(0x2e7)]('login')[a2_0x36f7b6(0x2f3)]('Login\x20via\x20OAuth\x20(dev\x20sites\x20only)')['addHelpText'](a2_0x36f7b6(0x30e),a2_0x36f7b6(0x28a))[a2_0x36f7b6(0x187)](async _0x54b5d0=>{const _0x3b6316=a2_0x36f7b6,_0x27dfd8=new AuthLoginCommand(),_0x36fd4d=program[_0x3b6316(0x266)](),_0x3743db=await _0x27dfd8[_0x3b6316(0x1cf)]({'options':{..._0x36fd4d,..._0x54b5d0},'args':[],'tdx':null});gracefulExit(_0x3743db);}),authCmd['command'](a2_0x36f7b6(0x1d5))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x297))[a2_0x36f7b6(0x2f7)](a2_0x36f7b6(0x30e),'\x0aGlobal\x20Options:\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20clear\x20(clears\x20default\x20profile\x20if\x20not\x20specified)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Clear\x20API\x20key\x20for\x20default\x20profile\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20--profile\x20prod\x20\x20#\x20Clear\x20API\x20key\x20for\x20\x27prod\x27\x20profile\x0a')[a2_0x36f7b6(0x187)](async _0x4b45ee=>{const _0x2f4df1=a2_0x36f7b6,_0x50ab97=new AuthClearCommand(),_0x4f55f6=program[_0x2f4df1(0x266)](),_0x1f7683=await _0x50ab97['run']({'options':{..._0x4f55f6,..._0x4b45ee},'args':[],'tdx':null});gracefulExit(_0x1f7683);});const userCmd=program[a2_0x36f7b6(0x2e7)]('user')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x23e)),userListAction=async _0x45e452=>{const _0x49dd92=new UserListCommand(),_0x36bba7=program['opts'](),_0x24bfd9=await createTDXInstance(_0x36bba7),_0x2b9335=await _0x49dd92['run']({'options':{..._0x36bba7,..._0x45e452},'args':[],'tdx':_0x24bfd9});gracefulExit(_0x2b9335);};userCmd[a2_0x36f7b6(0x187)](async _0x1ad64a=>{const _0x21854e=a2_0x36f7b6,_0x4c2c08=new UserCommand(),_0x17bdb6=program[_0x21854e(0x266)](),_0x15e858=await createTDXInstance(_0x17bdb6),_0x5058a6=await _0x4c2c08[_0x21854e(0x1cf)]({'options':{..._0x17bdb6,..._0x1ad64a},'args':[],'tdx':_0x15e858});gracefulExit(_0x5058a6);}),userCmd['command']('list')[a2_0x36f7b6(0x2f3)]('List\x20all\x20users\x20in\x20the\x20account')[a2_0x36f7b6(0x187)](userListAction),program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x356))[a2_0x36f7b6(0x2f3)]('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')['action'](userListAction);const policyCmd=program['command'](a2_0x36f7b6(0xb7))['description'](a2_0x36f7b6(0xda));policyCmd['action'](async _0x354d4c=>{const _0x197c2c=a2_0x36f7b6,_0x2c795b=new PolicyCommand(),_0x129d64=program[_0x197c2c(0x266)](),_0x36c288=await createTDXInstance(_0x129d64),_0x3ad8eb=await _0x2c795b[_0x197c2c(0x1cf)]({'options':{..._0x129d64,..._0x354d4c},'args':[],'tdx':_0x36c288});gracefulExit(_0x3ad8eb);}),policyCmd['command'](a2_0x36f7b6(0x269))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x296))['action'](async _0xa0323f=>{const _0x5b4888=a2_0x36f7b6,_0x31bf4d=new PolicyListCommand(),_0x156504=program[_0x5b4888(0x266)](),_0x2f51ea=await createTDXInstance(_0x156504),_0x38334=await _0x31bf4d[_0x5b4888(0x1cf)]({'options':{..._0x156504,..._0xa0323f},'args':[],'tdx':_0x2f51ea});gracefulExit(_0x38334);}),policyCmd['command'](a2_0x36f7b6(0x290))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x304))['action'](async(_0x1eb8ea,_0xa6e3e2)=>{const _0x50720c=a2_0x36f7b6,_0x2051f4=new PolicyShowCommand(),_0x3a7ba0=program[_0x50720c(0x266)](),_0x1e4109=await createTDXInstance(_0x3a7ba0),_0x2dcf64=await _0x2051f4[_0x50720c(0x1cf)]({'options':{..._0x3a7ba0,..._0xa6e3e2},'args':[_0x1eb8ea],'tdx':_0x1e4109});gracefulExit(_0x2dcf64);}),program[a2_0x36f7b6(0x2e7)]('profiles')[a2_0x36f7b6(0x2f3)]('List\x20all\x20available\x20profiles')[a2_0x36f7b6(0x187)](async _0x1d8c6e=>{const _0x12639a=a2_0x36f7b6,_0x133d93=new ProfilesCommand(),_0x284768=program['opts'](),_0x282fe3=await _0x133d93[_0x12639a(0x1cf)]({'options':{..._0x284768,..._0x1d8c6e},'args':[],'tdx':null});gracefulExit(_0x282fe3);});const profileCmd=program[a2_0x36f7b6(0x2e7)]('profile')['description'](a2_0x36f7b6(0xa5));profileCmd[a2_0x36f7b6(0x187)](()=>{const _0x1147a7=a2_0x36f7b6;profileCmd[_0x1147a7(0x12f)]();});const profileListAction=async _0x2ae2e1=>{const _0x5d31ab=a2_0x36f7b6,_0x2ccf05=new ProfilesCommand(),_0x1e66b9=program['opts'](),_0x3388c6=await _0x2ccf05[_0x5d31ab(0x1cf)]({'options':{..._0x1e66b9,..._0x2ae2e1},'args':[],'tdx':null});gracefulExit(_0x3388c6);};profileCmd[a2_0x36f7b6(0x2e7)]('list')[a2_0x36f7b6(0x2f3)]('List\x20all\x20available\x20profiles')[a2_0x36f7b6(0x187)](profileListAction),profileCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x12b))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x1b2))['addHelpText']('after',a2_0x36f7b6(0xcb))[a2_0x36f7b6(0x187)](async(_0x2af015,_0x594ec2)=>{const _0x27fa58=a2_0x36f7b6,_0x580638=new ProfileCreateCommand(),_0x4199c1=program[_0x27fa58(0x266)](),_0x2efc51=await _0x580638[_0x27fa58(0x1cf)]({'options':{..._0x4199c1,..._0x594ec2},'args':_0x2af015?[_0x2af015]:[],'tdx':null});gracefulExit(_0x2efc51);}),profileCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x2b5))['description'](a2_0x36f7b6(0x29c))[a2_0x36f7b6(0x2f7)](a2_0x36f7b6(0x30e),a2_0x36f7b6(0x1a9))[a2_0x36f7b6(0x187)](async(_0x970f36,_0x432299)=>{const _0xe24551=a2_0x36f7b6,_0x343d29=new ProfileRemoveCommand(),_0x4e8a48=program[_0xe24551(0x266)](),_0x432c8d=await _0x343d29[_0xe24551(0x1cf)]({'options':{..._0x4e8a48,..._0x432299},'args':[_0x970f36],'tdx':null});gracefulExit(_0x432c8d);}),profileCmd['command']('set\x20<key=value>')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x36a))[a2_0x36f7b6(0x2f7)]('after',a2_0x36f7b6(0x13d))[a2_0x36f7b6(0x187)](async(_0x3d3b73,_0x31b73d)=>{const _0x25b092=a2_0x36f7b6,_0x7eb8d4=new ProfileSetCommand(),_0x57f1ca=program[_0x25b092(0x266)](),_0x3a8eec=await _0x7eb8d4[_0x25b092(0x1cf)]({'options':{..._0x57f1ca,..._0x31b73d},'args':[_0x3d3b73],'tdx':null});gracefulExit(_0x3a8eec);}),profileCmd[a2_0x36f7b6(0x2e7)]('use\x20<name>')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x204))[a2_0x36f7b6(0x2a8)]('--default',a2_0x36f7b6(0xfa))[a2_0x36f7b6(0x2f7)](a2_0x36f7b6(0x30e),a2_0x36f7b6(0x261))[a2_0x36f7b6(0x187)](async(_0x52db32,_0x11eadf)=>{const _0xe3800e=a2_0x36f7b6,_0x1de3a5=new ProfileUseCommand(),_0x334a9a=program[_0xe3800e(0x266)](),_0x503bec=await _0x1de3a5[_0xe3800e(0x1cf)]({'options':{..._0x334a9a,..._0x11eadf},'args':[_0x52db32],'tdx':null});gracefulExit(_0x503bec);});const engageCmd=program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x17e))['description'](a2_0x36f7b6(0x2dc)),createEngageAction=_0x3ac67b=>{return async(_0x174494,_0x57998c)=>{const _0x7ee8ce=a2_0xe904,_0x275491=new _0x3ac67b(),_0x13d4ba=program[_0x7ee8ce(0x266)](),_0x5d4ab2=await createTDXInstance(_0x13d4ba),_0x49ca4f=await _0x275491[_0x7ee8ce(0x1cf)]({'options':{..._0x13d4ba,..._0x57998c},'args':[_0x174494],'tdx':_0x5d4ab2});gracefulExit(_0x49ca4f);};},createEngageNoArgAction=_0x29a0cb=>{return async _0x2a0d0c=>{const _0x3b0b88=a2_0xe904,_0x209d43=new _0x29a0cb(),_0x4ada8a=program[_0x3b0b88(0x266)](),_0x46d350=await createTDXInstance(_0x4ada8a),_0x4c2e15=await _0x209d43[_0x3b0b88(0x1cf)]({'options':{..._0x4ada8a,..._0x2a0d0c},'args':[],'tdx':_0x46d350});gracefulExit(_0x4c2e15);};},createEngageListAction=_0x50237a=>{return async(_0x20674e,_0x1b6258)=>{const _0x15f42b=a2_0xe904,_0x5bb272=new _0x50237a(),_0x11f75c=program[_0x15f42b(0x266)](),_0x345eb4=await createTDXInstance(_0x11f75c),_0x31a9f8=await _0x5bb272[_0x15f42b(0x1cf)]({'options':{..._0x11f75c,..._0x1b6258},'args':_0x20674e?[_0x20674e]:[],'tdx':_0x345eb4});gracefulExit(_0x31a9f8);};},campaignCmd=engageCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x236))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x1a2));campaignCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x369))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x2f6))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x188),a2_0x36f7b6(0x26e))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x354),a2_0x36f7b6(0x11c))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x30d),a2_0x36f7b6(0x22a))[a2_0x36f7b6(0x187)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x1b8))[a2_0x36f7b6(0x2f3)]('List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)')['option'](a2_0x36f7b6(0x188),a2_0x36f7b6(0x26e))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x354),a2_0x36f7b6(0x11c))['option']('--workspace\x20<name>',a2_0x36f7b6(0x22a))['action'](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x36f7b6(0x2e7)]('show\x20<name-or-id>')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x214))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x30d),a2_0x36f7b6(0x22a))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x351),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x36f7b6(0x187)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x36f7b6(0x2e7)]('create')[a2_0x36f7b6(0x2f3)]('Create\x20a\x20new\x20campaign')[a2_0x36f7b6(0x164)](a2_0x36f7b6(0x12d),a2_0x36f7b6(0x18d))[a2_0x36f7b6(0x164)](a2_0x36f7b6(0x188),'Campaign\x20type\x20(email\x20or\x20push)')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x30d),a2_0x36f7b6(0x348))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x2d9),a2_0x36f7b6(0x22e))[a2_0x36f7b6(0x2a8)]('--segment\x20<path>',a2_0x36f7b6(0x2da))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x289),a2_0x36f7b6(0x325))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x23d),a2_0x36f7b6(0xf2))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xae),a2_0x36f7b6(0xc5))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xd8),a2_0x36f7b6(0x16d))[a2_0x36f7b6(0x187)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x2d7))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x361))['option'](a2_0x36f7b6(0x30d),a2_0x36f7b6(0x22a))['option']('--name\x20<name>',a2_0x36f7b6(0x282))['option']('--description\x20<desc>',a2_0x36f7b6(0x22e))[a2_0x36f7b6(0x2a8)]('--segment\x20<path>',a2_0x36f7b6(0x2da))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x289),a2_0x36f7b6(0x325))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x23d),a2_0x36f7b6(0xf2))['option'](a2_0x36f7b6(0xae),a2_0x36f7b6(0xc5))['option']('--timezone\x20<tz>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x36f7b6(0x187)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x2d1))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x291))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x30d),a2_0x36f7b6(0x22a))[a2_0x36f7b6(0x2a8)]('--yes','Skip\x20confirmation\x20prompt')['action'](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command'](a2_0x36f7b6(0x281))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x313))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x30d),'Workspace\x20name')[a2_0x36f7b6(0x187)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x37e))['description'](a2_0x36f7b6(0x228))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x30d),a2_0x36f7b6(0x22a))[a2_0x36f7b6(0x187)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x11b))[a2_0x36f7b6(0x2f3)]('Resume\x20a\x20paused\x20campaign')[a2_0x36f7b6(0x2a8)]('--workspace\x20<name>','Workspace\x20name')[a2_0x36f7b6(0x187)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command'](a2_0x36f7b6(0x2fd))['description'](a2_0x36f7b6(0x230))[a2_0x36f7b6(0x2a8)]('--workspace\x20<name>','Workspace\x20name')[a2_0x36f7b6(0x187)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd['command'](a2_0x36f7b6(0x141))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x247))[a2_0x36f7b6(0x2a8)]('--workspace\x20<name>',a2_0x36f7b6(0x22a))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x12d),a2_0x36f7b6(0xe2))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x188),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x36f7b6(0x2a8)]('--dry-run',a2_0x36f7b6(0x318))[a2_0x36f7b6(0x187)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x36f7b6(0x2e7)]('push\x20[target]')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x365))[a2_0x36f7b6(0x2a8)]('--workspace\x20<name>',a2_0x36f7b6(0x22a))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xb8),a2_0x36f7b6(0x227))[a2_0x36f7b6(0x187)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x17d))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xb6))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x207),a2_0x36f7b6(0x259))['action'](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd['command'](a2_0x36f7b6(0x239))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xdc));alwaysOnCampaignCmd['command'](a2_0x36f7b6(0x369))['description'](a2_0x36f7b6(0x2c1))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x188),a2_0x36f7b6(0x26e))['option'](a2_0x36f7b6(0x354),'Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')[a2_0x36f7b6(0x164)](a2_0x36f7b6(0x30d),a2_0x36f7b6(0x348))[a2_0x36f7b6(0x187)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x341))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x191))[a2_0x36f7b6(0x2a8)]('--type\x20<type>',a2_0x36f7b6(0x26e))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x354),a2_0x36f7b6(0x16a))['requiredOption'](a2_0x36f7b6(0x30d),a2_0x36f7b6(0x348))[a2_0x36f7b6(0x187)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x36f7b6(0x2e7)]('show\x20<name-or-id>')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x189))[a2_0x36f7b6(0x164)](a2_0x36f7b6(0x30d),a2_0x36f7b6(0x348))['option'](a2_0x36f7b6(0x351),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x36f7b6(0x187)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x2f8))['description'](a2_0x36f7b6(0x1b9))[a2_0x36f7b6(0x164)](a2_0x36f7b6(0x12d),a2_0x36f7b6(0x18d))[a2_0x36f7b6(0x164)](a2_0x36f7b6(0x188),'Campaign\x20type\x20(email\x20or\x20push)')[a2_0x36f7b6(0x164)](a2_0x36f7b6(0x30d),a2_0x36f7b6(0x348))[a2_0x36f7b6(0x2a8)]('--description\x20<desc>',a2_0x36f7b6(0x22e))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x32f),'Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')[a2_0x36f7b6(0x2a8)]('--enable-utm-tracking',a2_0x36f7b6(0xc7))[a2_0x36f7b6(0x187)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x36f7b6(0x2e7)]('update\x20<name-or-id>')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x15d))[a2_0x36f7b6(0x164)](a2_0x36f7b6(0x30d),a2_0x36f7b6(0x348))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x12d),'New\x20campaign\x20name')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x2d9),'Campaign\x20description')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x32f),a2_0x36f7b6(0x181))[a2_0x36f7b6(0x2a8)]('--enable-utm-tracking',a2_0x36f7b6(0xc7))[a2_0x36f7b6(0x187)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x36f7b6(0x2e7)]('delete\x20<name-or-id>')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xc9))[a2_0x36f7b6(0x164)]('--workspace\x20<name>',a2_0x36f7b6(0x348))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x2cb),a2_0x36f7b6(0x215))['action'](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x281))['description'](a2_0x36f7b6(0x32e))[a2_0x36f7b6(0x164)](a2_0x36f7b6(0x30d),a2_0x36f7b6(0x348))['action'](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd['command'](a2_0x36f7b6(0x37e))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x13e))['requiredOption']('--workspace\x20<name>',a2_0x36f7b6(0x348))[a2_0x36f7b6(0x187)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x11b))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x179))[a2_0x36f7b6(0x164)](a2_0x36f7b6(0x30d),a2_0x36f7b6(0x348))[a2_0x36f7b6(0x187)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x2fb))['description'](a2_0x36f7b6(0x1bd))[a2_0x36f7b6(0x164)](a2_0x36f7b6(0x30d),a2_0x36f7b6(0x348))[a2_0x36f7b6(0x2a8)]('--yes',a2_0x36f7b6(0x215))['action'](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x2fd))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x22c))['requiredOption'](a2_0x36f7b6(0x30d),a2_0x36f7b6(0x348))[a2_0x36f7b6(0x164)]('--name\x20<name>',a2_0x36f7b6(0x31d))[a2_0x36f7b6(0x187)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x1b0))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x23f));templateCmd['command']('list\x20[pattern]')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x192))['option'](a2_0x36f7b6(0x30d),a2_0x36f7b6(0x22a))[a2_0x36f7b6(0x187)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x31f))[a2_0x36f7b6(0x2f3)]('List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)')['option'](a2_0x36f7b6(0x30d),a2_0x36f7b6(0x22a))[a2_0x36f7b6(0x187)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x35e))[a2_0x36f7b6(0x2f3)]('Show\x20email\x20template\x20details')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x30d),'Workspace\x20name')['option']('--full',a2_0x36f7b6(0x1c4))[a2_0x36f7b6(0x187)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x36f7b6(0x2e7)]('create')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x20d))[a2_0x36f7b6(0x164)](a2_0x36f7b6(0x12d),a2_0x36f7b6(0x308))[a2_0x36f7b6(0x164)]('--subject\x20<subject>',a2_0x36f7b6(0x223))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x268),a2_0x36f7b6(0x314))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x233),a2_0x36f7b6(0x166))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x30d),a2_0x36f7b6(0x348))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x29b),a2_0x36f7b6(0x2a3))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x13b),'Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)',_0x36f8b8=>{const _0x5bfa61=a2_0x36f7b6;if(!['beefree','grapesjs'][_0x5bfa61(0x125)](_0x36f8b8))throw new SDKError(ErrorCode[_0x5bfa61(0x33d)],'Invalid\x20editor\x20type:\x20'+_0x36f8b8+_0x5bfa61(0x379));return _0x36f8b8;})[a2_0x36f7b6(0x187)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x2d7))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x1ca))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x30d),a2_0x36f7b6(0x22a))[a2_0x36f7b6(0x2a8)]('--name\x20<name>',a2_0x36f7b6(0x2b8))[a2_0x36f7b6(0x2a8)]('--subject\x20<subject>',a2_0x36f7b6(0x223))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x268),a2_0x36f7b6(0x314))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x233),a2_0x36f7b6(0x166))['option'](a2_0x36f7b6(0x29b),a2_0x36f7b6(0x2a3))[a2_0x36f7b6(0x187)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x36f7b6(0x2e7)]('pull\x20[workspace]')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xdf))[a2_0x36f7b6(0x2a8)]('--workspace\x20<name>','Workspace\x20name')['option'](a2_0x36f7b6(0x12d),a2_0x36f7b6(0x30a))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x336),a2_0x36f7b6(0x215))[a2_0x36f7b6(0x2a8)]('--dry-run',a2_0x36f7b6(0x318))[a2_0x36f7b6(0x187)](createEngageAction(EngageTemplatePullCommand)),templateCmd['command'](a2_0x36f7b6(0x2c2))[a2_0x36f7b6(0x2f3)]('Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x30d),'Workspace\x20name')['option']('-y,\x20--yes',a2_0x36f7b6(0x215))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xb8),a2_0x36f7b6(0x227))[a2_0x36f7b6(0x187)](createEngageAction(EngageTemplatePushCommand)),templateCmd['command']('validate\x20[target]')[a2_0x36f7b6(0x2f3)]('Validate\x20template\x20YAML\x20files\x20locally')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x207),'Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x36f7b6(0x187)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x36f7b6(0x2e7)]('delete\x20<name-or-id>')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x25b))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x30d),a2_0x36f7b6(0x22a))['option']('--yes','Skip\x20confirmation\x20prompt')[a2_0x36f7b6(0x187)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x275))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x358));workspaceCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x369))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xef))[a2_0x36f7b6(0x187)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x36f7b6(0x2e7)]('workspaces\x20[pattern]')[a2_0x36f7b6(0x2f3)]('List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)')['action'](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x35e))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xa6))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x351),a2_0x36f7b6(0x1c4))[a2_0x36f7b6(0x187)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd['command'](a2_0x36f7b6(0x2f8))['description'](a2_0x36f7b6(0x377))[a2_0x36f7b6(0x164)](a2_0x36f7b6(0x12d),'Workspace\x20name')['option'](a2_0x36f7b6(0x2d9),a2_0x36f7b6(0x36b))[a2_0x36f7b6(0x187)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x2d7))['description'](a2_0x36f7b6(0x1d6))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x12d),a2_0x36f7b6(0x1b1))[a2_0x36f7b6(0x2a8)]('--description\x20<desc>','Workspace\x20description')[a2_0x36f7b6(0x187)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x2d1))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x298))['option'](a2_0x36f7b6(0x2cb),'Skip\x20confirmation\x20prompt')['action'](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x283))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x317))[a2_0x36f7b6(0x187)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x36f7b6(0x2e7)]('delivery')['description'](a2_0x36f7b6(0x19e));deliveryCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x1fb))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x267))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x30d),a2_0x36f7b6(0x22a))[a2_0x36f7b6(0x187)](createEngageListAction(DeliveryEmailSendersCommand));function a2_0xe904(_0x19edda,_0x2d571f){_0x19edda=_0x19edda-0xa4;const _0x57e9ae=a2_0x57e9();let _0xe9044c=_0x57e9ae[_0x19edda];return _0xe9044c;}const connectionCmd=program['command'](a2_0x36f7b6(0x1cd))[a2_0x36f7b6(0x2f3)]('Data\x20connection\x20management\x20(for\x20activations/exports)'),connectionListAction=async _0x385b9d=>{const _0x563adc=a2_0x36f7b6,_0x458b1d=new ConnectionListCommand(),_0x4219a8=program[_0x563adc(0x266)](),_0x12e057=await createTDXInstance(_0x4219a8),_0xca0f26=await _0x458b1d['run']({'options':{..._0x4219a8,..._0x385b9d},'args':[],'tdx':_0x12e057});gracefulExit(_0xca0f26);};connectionCmd['command'](a2_0x36f7b6(0x269))['description'](a2_0x36f7b6(0xad))[a2_0x36f7b6(0x187)](connectionListAction),program[a2_0x36f7b6(0x2e7)]('connections',{'hidden':!![]})[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x338))[a2_0x36f7b6(0x187)](connectionListAction),connectionCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x1f5))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x1e6))[a2_0x36f7b6(0x187)](async(_0x3c066f,_0x27fcd5)=>{const _0x52698e=a2_0x36f7b6,_0x5f9f39=new ConnectionShowCommand(),_0x24be24=program[_0x52698e(0x266)](),_0x571fdb=await createTDXInstance(_0x24be24),_0x14ae71=await _0x5f9f39['run']({'options':{..._0x24be24,..._0x27fcd5},'args':[_0x3c066f],'tdx':_0x571fdb});gracefulExit(_0x14ae71);}),connectionCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x186))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xac))[a2_0x36f7b6(0x187)](async(_0x432b4b,_0x5b0b25)=>{const _0x346fbe=a2_0x36f7b6,_0x234adc=new ConnectionSchemaCommand(),_0x5cc898=program[_0x346fbe(0x266)](),_0x2f7f11=await createTDXInstance(_0x5cc898),_0x3d9e11=await _0x234adc[_0x346fbe(0x1cf)]({'options':{..._0x5cc898,..._0x5b0b25},'args':[_0x432b4b],'tdx':_0x2f7f11});gracefulExit(_0x3d9e11);}),connectionCmd[a2_0x36f7b6(0x2e7)]('types')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x327))['action'](async _0x15731b=>{const _0x152314=a2_0x36f7b6,_0x23772e=new ConnectionTypesCommand(),_0x566dcf=program[_0x152314(0x266)](),_0x2b1107=await createTDXInstance(_0x566dcf),_0x2bbf4a=await _0x23772e[_0x152314(0x1cf)]({'options':{..._0x566dcf,..._0x15731b},'args':[],'tdx':_0x2b1107});gracefulExit(_0x2bbf4a);}),connectionCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x140))[a2_0x36f7b6(0x2f3)]('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x36f7b6(0x187)](async(_0x509853,_0x510ac5)=>{const _0x2281eb=a2_0x36f7b6,_0x4a7eea=new ConnectionSettingsCommand(),_0x8952c4=program[_0x2281eb(0x266)](),_0xb4636d=await createTDXInstance(_0x8952c4),_0x245fa0=await _0x4a7eea[_0x2281eb(0x1cf)]({'options':{..._0x8952c4,..._0x510ac5},'args':[_0x509853],'tdx':_0xb4636d});gracefulExit(_0x245fa0);});const journeyCmd=program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x17c))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x1d3)),journeyListAction=async(_0x427ed4,_0x10d71e)=>{const _0x298054=a2_0x36f7b6,_0x2b0c26=new JourneyListCommand(),_0x39966e=program[_0x298054(0x266)](),_0x25f9e6=await createTDXInstance(_0x39966e),_0x18220a=await _0x2b0c26[_0x298054(0x1cf)]({'options':{..._0x39966e,..._0x10d71e},'args':_0x427ed4?[_0x427ed4]:[],'tdx':_0x25f9e6});gracefulExit(_0x18220a);};journeyCmd['command'](a2_0x36f7b6(0x369))[a2_0x36f7b6(0x2f3)]('List\x20journeys\x20in\x20current\x20context')['action'](journeyListAction),journeyCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x2ab))['description']('Show\x20journey\x20details')[a2_0x36f7b6(0x2a8)]('-w,\x20--web',a2_0x36f7b6(0xcf))[a2_0x36f7b6(0x2a8)]('--include-stats',a2_0x36f7b6(0x332))[a2_0x36f7b6(0x187)](async(_0x319352,_0x4793fe)=>{const _0xfa3748=new JourneyViewCommand(),_0x2191f1=program['opts'](),_0x408a9e=await createTDXInstance(_0x2191f1),_0x4b90d4=await _0xfa3748['run']({'options':{..._0x2191f1,..._0x4793fe},'args':[_0x319352],'tdx':_0x408a9e});gracefulExit(_0x4b90d4);}),journeyCmd['command'](a2_0x36f7b6(0x305))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x118))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x311),a2_0x36f7b6(0x210))[a2_0x36f7b6(0x2a8)]('--from\x20<date>',a2_0x36f7b6(0x30c))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x1e5),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')['option']('--include-history',a2_0x36f7b6(0x2bb))[a2_0x36f7b6(0x187)](async(_0x662ef7,_0x357532)=>{const _0x4eb87a=a2_0x36f7b6,_0x4e8864=new JourneyStatsCommand(),_0x5721df=program['opts'](),_0x12c04b=await createTDXInstance(_0x5721df),_0x243461=await _0x4e8864[_0x4eb87a(0x1cf)]({'options':{..._0x5721df,..._0x357532},'args':[_0x662ef7],'tdx':_0x12c04b});gracefulExit(_0x243461);}),journeyCmd['command']('traffic\x20<name-or-path>')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x262))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x188),a2_0x36f7b6(0x2e0))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x109),a2_0x36f7b6(0x30c))['option'](a2_0x36f7b6(0x1e5),a2_0x36f7b6(0x134))['option']('--limit\x20<number>',a2_0x36f7b6(0x1f0),_0x4d4a12=>{const _0x3ddd26=a2_0x36f7b6,_0x58158f=parseInt(_0x4d4a12,0xa);if(isNaN(_0x58158f))throw new Error('Invalid\x20--limit\x20value:\x20\x22'+_0x4d4a12+_0x3ddd26(0x2c4));return _0x58158f;})[a2_0x36f7b6(0x187)](async(_0x5afe7a,_0x322e75)=>{const _0x404ff3=a2_0x36f7b6,_0x5bd425=new JourneyTrafficCommand(),_0x317c15=program[_0x404ff3(0x266)](),_0x4736a7=await createTDXInstance(_0x317c15),_0x354cf9=await _0x5bd425['run']({'options':{..._0x317c15,..._0x322e75},'args':[_0x5afe7a],'tdx':_0x4736a7});gracefulExit(_0x354cf9);}),journeyCmd['command'](a2_0x36f7b6(0x37c))['description'](a2_0x36f7b6(0x30f))[a2_0x36f7b6(0x187)](async(_0x239fa4,_0x4ef907)=>{const _0x3998ec=a2_0x36f7b6,_0xa15b37=new JourneyPauseCommand(),_0x47b2ca=program[_0x3998ec(0x266)](),_0x410207=await createTDXInstance(_0x47b2ca),_0x47ad5b=await _0xa15b37['run']({'options':{..._0x47b2ca,..._0x4ef907},'args':[_0x239fa4],'tdx':_0x410207});gracefulExit(_0x47ad5b);}),journeyCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x30b))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x25f))[a2_0x36f7b6(0x187)](async(_0x3d3cfe,_0x53b453)=>{const _0x998bd3=a2_0x36f7b6,_0xb3f776=new JourneyResumeCommand(),_0x47b15c=program['opts'](),_0x22db35=await createTDXInstance(_0x47b15c),_0x5fd515=await _0xb3f776[_0x998bd3(0x1cf)]({'options':{..._0x47b15c,..._0x53b453},'args':[_0x3d3cfe],'tdx':_0x22db35});gracefulExit(_0x5fd515);}),journeyCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x294))['description'](a2_0x36f7b6(0xb2))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xb8),a2_0x36f7b6(0x2be))['action'](async(_0x25fef1,_0x40e299)=>{const _0x1639bd=a2_0x36f7b6,_0x51c64e=new JourneyPullCommand(),_0x4f363d=program['opts'](),_0x5494ed=await createTDXInstance(_0x4f363d),_0x194d95=await _0x51c64e[_0x1639bd(0x1cf)]({'options':{..._0x4f363d,..._0x40e299},'args':_0x25fef1?[_0x25fef1]:[],'tdx':_0x5494ed});gracefulExit(_0x194d95);}),journeyCmd['command'](a2_0x36f7b6(0x2c2))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xbc))[a2_0x36f7b6(0x187)](async(_0x3c4a97,_0x374f19)=>{const _0x5d1443=a2_0x36f7b6,_0x3e1184=new JourneyPushCommand(),_0x13f65e=program[_0x5d1443(0x266)](),_0x28f25f=await createTDXInstance(_0x13f65e),_0x1ddae1=await _0x3e1184[_0x5d1443(0x1cf)]({'options':{..._0x13f65e,..._0x374f19},'args':_0x3c4a97?[_0x3c4a97]:[],'tdx':_0x28f25f});gracefulExit(_0x1ddae1);}),journeyCmd[a2_0x36f7b6(0x2e7)]('columns\x20<name-or-path>')['description']('Show\x20journey\x20table\x20column-to-step\x20mapping')[a2_0x36f7b6(0x187)](async(_0x36757d,_0x375d85)=>{const _0x171062=new JourneyColumnsCommand(),_0x24fd7a=program['opts'](),_0x33a610=await createTDXInstance(_0x24fd7a),_0x486731=await _0x171062['run']({'options':{..._0x24fd7a,..._0x375d85},'args':[_0x36757d],'tdx':_0x33a610});gracefulExit(_0x486731);}),journeyCmd[a2_0x36f7b6(0x2e7)]('activations\x20<name-or-path>')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x343))[a2_0x36f7b6(0x187)](async(_0x44e14e,_0x91070f)=>{const _0x113305=a2_0x36f7b6,_0x36d7fb=new JourneyActivationsCommand(),_0xe69da1=program[_0x113305(0x266)](),_0x26d437=await createTDXInstance(_0xe69da1),_0x1bb094=await _0x36d7fb[_0x113305(0x1cf)]({'options':{..._0xe69da1,..._0x91070f},'args':[_0x44e14e],'tdx':_0x26d437});gracefulExit(_0x1bb094);}),journeyCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0xa7))['description'](a2_0x36f7b6(0x37f))[a2_0x36f7b6(0x187)](async(_0x4ebfae,_0x3654a9)=>{const _0x474065=a2_0x36f7b6,_0x4c7c65=new JourneyVersionsCommand(),_0x2f0a45=program[_0x474065(0x266)](),_0x482d30=await createTDXInstance(_0x2f0a45),_0x5b0dc1=await _0x4c7c65[_0x474065(0x1cf)]({'options':{..._0x2f0a45,..._0x3654a9},'args':[_0x4ebfae],'tdx':_0x482d30});gracefulExit(_0x5b0dc1);});const journeyVersionCmd=journeyCmd['command'](a2_0x36f7b6(0x2cc))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x1ae));journeyVersionCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x323))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x220))['action'](async(_0x3b1eac,_0x2ce3c5)=>{const _0x102c06=a2_0x36f7b6,_0x308c29=new JourneyVersionCreateCommand(),_0x514953=program['opts'](),_0x47194d=await createTDXInstance(_0x514953),_0x1ad0f1=await _0x308c29[_0x102c06(0x1cf)]({'options':{..._0x514953,..._0x2ce3c5},'args':[_0x3b1eac],'tdx':_0x47194d});gracefulExit(_0x1ad0f1);}),journeyVersionCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x2ab))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x26c))['requiredOption'](a2_0x36f7b6(0xd7),a2_0x36f7b6(0x137))[a2_0x36f7b6(0x187)](async(_0x2ee818,_0x496024)=>{const _0x1bb09f=a2_0x36f7b6,_0x345e77=new JourneyVersionViewCommand(),_0x183197=program[_0x1bb09f(0x266)](),_0x3742c4=await createTDXInstance(_0x183197),_0x522021=await _0x345e77[_0x1bb09f(0x1cf)]({'options':{..._0x183197,..._0x496024},'args':[_0x2ee818],'tdx':_0x3742c4});gracefulExit(_0x522021);}),journeyCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x17d))['description'](a2_0x36f7b6(0x299))[a2_0x36f7b6(0x187)](async(_0x2b9800,_0x2773fc)=>{const _0xa201f3=a2_0x36f7b6,_0x51854c=new JourneyValidateCommand(),_0x27c187=program[_0xa201f3(0x266)](),_0x2121be=await createTDXInstance(_0x27c187),_0xbe5949=await _0x51854c[_0xa201f3(0x1cf)]({'options':{..._0x27c187,..._0x2773fc},'args':_0x2b9800?[_0x2b9800]:[],'tdx':_0x2121be});gracefulExit(_0xbe5949);}),program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x287))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x1c6))[a2_0x36f7b6(0x187)](journeyListAction);const agentSyncCmd=program[a2_0x36f7b6(0x2e7)]('agent')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x1a8));agentSyncCmd['command'](a2_0x36f7b6(0x2e2))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x264))['option']('-o,\x20--output\x20<dir>','Output\x20directory')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x258),a2_0x36f7b6(0x33e))['option']('-a,\x20--agent\x20<name>','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)')[a2_0x36f7b6(0x187)](async(_0x2401a7,_0x205494,_0x70ffb6)=>{const _0x42aa04=a2_0x36f7b6,_0x2b2ac8=new AgentPullCommand(),_0x4008e2=program[_0x42aa04(0x266)](),_0x4681be=await createTDXInstance(_0x4008e2),_0x1ddda2=[];if(_0x2401a7)_0x1ddda2['push'](_0x2401a7);if(_0x205494)_0x1ddda2[_0x42aa04(0x256)](_0x205494);const _0x1abfaa=await _0x2b2ac8[_0x42aa04(0x1cf)]({'options':{..._0x4008e2,..._0x70ffb6},'args':_0x1ddda2,'tdx':_0x4681be});gracefulExit(_0x1abfaa);}),agentSyncCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x27f))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x22f))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x258),a2_0x36f7b6(0x19a))[a2_0x36f7b6(0x187)](async(_0x42d329,_0x548c94)=>{const _0x2e8b87=a2_0x36f7b6,_0x9f9e1d=new AgentPushCommand(),_0x2f98c9=program[_0x2e8b87(0x266)](),_0x4b062d=await createTDXInstance(_0x2f98c9),_0x49b2fd=await _0x9f9e1d[_0x2e8b87(0x1cf)]({'options':{..._0x2f98c9,..._0x548c94},'args':_0x42d329?[_0x42d329]:[],'tdx':_0x4b062d});gracefulExit(_0x49b2fd);}),agentSyncCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x205))['description'](a2_0x36f7b6(0xde))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xee),a2_0x36f7b6(0x20a))[a2_0x36f7b6(0x187)](async(_0x4ab3a3,_0x23cbba)=>{const _0x24d87b=a2_0x36f7b6,_0x5e1fb9=new AgentCloneCommand(),_0xbed9da=program[_0x24d87b(0x266)](),_0x245c16=await createTDXInstance(_0xbed9da),_0x48ecdf=await _0x5e1fb9[_0x24d87b(0x1cf)]({'options':{..._0xbed9da,..._0x23cbba},'args':_0x4ab3a3?[_0x4ab3a3]:[],'tdx':_0x245c16});gracefulExit(_0x48ecdf);}),agentSyncCmd['command'](a2_0x36f7b6(0x190))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xba))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x245),a2_0x36f7b6(0x154))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x285),a2_0x36f7b6(0x2a6))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xb8),a2_0x36f7b6(0x32c))['option'](a2_0x36f7b6(0x1fe),a2_0x36f7b6(0x1a0))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x1ef),'Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')[a2_0x36f7b6(0x187)](async(_0x18293d,_0x2b0ed9)=>{const _0x50b7bd=a2_0x36f7b6,_0x1e67c7=new AgentTestCommand(),_0x1fc5a8=program[_0x50b7bd(0x266)](),_0x1ed513=await createTDXInstance(_0x1fc5a8),_0x91ea8e=await _0x1e67c7[_0x50b7bd(0x1cf)]({'options':{..._0x1fc5a8,..._0x2b0ed9},'args':_0x18293d?[_0x18293d]:[],'tdx':_0x1ed513});gracefulExit(_0x91ea8e);}),agentSyncCmd['command']('list\x20[pattern]')[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x372))[a2_0x36f7b6(0x187)](llmAgentListAction),agentSyncCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x2bc))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xb4))[a2_0x36f7b6(0x187)](async(_0x78c98b,_0x1c0d9b)=>{const _0xc2a1ad=a2_0x36f7b6,_0x472674=new LLMAgentShowCommand(),_0x5a0dcf=program[_0xc2a1ad(0x266)](),_0xc9e241=await createTDXInstance(_0x5a0dcf),_0x4218c1=await _0x472674[_0xc2a1ad(0x1cf)]({'options':{..._0x5a0dcf,..._0x1c0d9b},'args':[_0x78c98b],'tdx':_0xc9e241});gracefulExit(_0x4218c1);}),agentSyncCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x24c))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x1a5))[a2_0x36f7b6(0x2a8)]('--system-prompt\x20<text>','System\x20prompt/instructions\x20(default:\x20empty)')['option']('--model\x20<name>',a2_0x36f7b6(0xbb),a2_0x36f7b6(0x170))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0xe8),'Starter\x20message')[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x37b),a2_0x36f7b6(0xa9),'4')[a2_0x36f7b6(0x2a8)]('--temperature\x20<n>',a2_0x36f7b6(0x24e),a2_0x36f7b6(0x173))[a2_0x36f7b6(0x187)](async(_0x2daf89,_0x54cc0c)=>{const _0x108627=a2_0x36f7b6,_0x440846=new LLMAgentCreateCommand(),_0x148302=program[_0x108627(0x266)](),_0x25ae2f=await createTDXInstance(_0x148302),_0x8fe28f=await _0x440846['run']({'options':{..._0x148302,..._0x54cc0c},'args':[_0x2daf89],'tdx':_0x25ae2f});gracefulExit(_0x8fe28f);}),agentSyncCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x13a))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0xd1))['option']('--name\x20<text>',a2_0x36f7b6(0x163))['option'](a2_0x36f7b6(0x349),a2_0x36f7b6(0x234))[a2_0x36f7b6(0x2a8)](a2_0x36f7b6(0x142),a2_0x36f7b6(0xf0))['option']('--starter-message\x20<text>',a2_0x36f7b6(0x1cb))['action'](async(_0x3ebea9,_0x500832)=>{const _0x2c5240=a2_0x36f7b6,_0x35d5a5=new LLMAgentUpdateCommand(),_0x57e36f=program[_0x2c5240(0x266)](),_0x360326=await createTDXInstance(_0x57e36f),_0x118c04=await _0x35d5a5[_0x2c5240(0x1cf)]({'options':{..._0x57e36f,..._0x500832},'args':[_0x3ebea9],'tdx':_0x360326});gracefulExit(_0x118c04);}),agentSyncCmd[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x242))[a2_0x36f7b6(0x2f3)](a2_0x36f7b6(0x1e9))[a2_0x36f7b6(0x187)](async(_0x5f3209,_0x1cd231)=>{const _0x150dc3=a2_0x36f7b6,_0x275070=new LLMAgentDeleteCommand(),_0x2a1432=program[_0x150dc3(0x266)](),_0x5d1b8a=await createTDXInstance(_0x2a1432),_0x3c3469=await _0x275070[_0x150dc3(0x1cf)]({'options':{..._0x2a1432,..._0x1cd231},'args':[_0x5f3209],'tdx':_0x5d1b8a});gracefulExit(_0x3c3469);}),program[a2_0x36f7b6(0x2e7)](a2_0x36f7b6(0x1aa),{'hidden':!![]})[a2_0x36f7b6(0x187)](()=>{const _0x445f08=a2_0x36f7b6;function _0x1d8d18(_0x257a07,_0x9a3dcf){const _0x54bc21=a2_0xe904,_0x5e9bd6=[];for(const _0x2ba539 of _0x257a07[_0x54bc21(0x1bb)]){if(_0x2ba539[_0x54bc21(0x1a6)])continue;const _0x442973=_0x9a3dcf?_0x9a3dcf+'\x20'+_0x2ba539[_0x54bc21(0x28c)]():_0x2ba539['name'](),_0x573820=_0x442973[_0x54bc21(0x374)]('\x20')[0x0],_0x3333b0=COMMAND_CATEGORIES[_0x54bc21(0x145)](_0xc465f5=>_0xc465f5['commands'][_0x54bc21(0x125)](_0x573820)),_0x5c1932=_0x3333b0?.[_0x54bc21(0x28c)]??'';if(_0x2ba539['commands'][_0x54bc21(0x33b)]>0x0)_0x5e9bd6['push'](..._0x1d8d18(_0x2ba539,_0x442973));else{const _0x45e80e=(_0x2ba539[_0x54bc21(0x21c)]||[])[_0x54bc21(0x18c)](_0x578d2a=>{const _0x1b157c=_0x54bc21,_0x30bb20=_0x578d2a[_0x1b157c(0x249)]?_0x578d2a['name']()+_0x1b157c(0x219):_0x578d2a[_0x1b157c(0x28c)]();return _0x578d2a[_0x1b157c(0x162)]?'<'+_0x30bb20+'>':'['+_0x30bb20+']';})[_0x54bc21(0x1eb)]('\x20'),_0x1cdc6e=_0x2ba539['options'][_0x54bc21(0x2f0)](_0x2157e7=>!_0x2157e7[_0x54bc21(0x371)]&&_0x2157e7['long']!=='--help')[_0x54bc21(0x18c)](_0x40a676=>({'flags':_0x40a676[_0x54bc21(0x1b5)],'description':_0x40a676['description']}));_0x5e9bd6['push']({'name':_0x442973,'description':_0x2ba539[_0x54bc21(0x2f3)](),'group':_0x5c1932,'usage':_0x45e80e,'options':_0x1cdc6e});}}return _0x5e9bd6;}console[_0x445f08(0xf9)](JSON[_0x445f08(0x12c)](_0x1d8d18(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x438085=a2_0x36f7b6,_0x19c0b2=!process[_0x438085(0xbe)]['slice'](0x2)[_0x438085(0x33b)];showBriefHelp=_0x19c0b2,program[_0x438085(0x260)](process[_0x438085(0xbe)]);_0x19c0b2&&program[_0x438085(0x12f)]();const _0x4bbe75=process[_0x438085(0xbe)][0x2]===_0x438085(0x106);if(process[_0x438085(0xc0)][_0x438085(0x257)]&&process[_0x438085(0xbe)][_0x438085(0x33b)]>0x2&&!isDevVersion()&&!_0x4bbe75){const _0x1890b8=loadReleaseChannel();checkForUpdate(currentVersion,_0x1890b8)['then'](_0x5868a5=>{_0x5868a5&&displayUpdateNotification(_0x5868a5);})[_0x438085(0x2a0)](()=>{});}}
|