@treasuredata/tdx 0.25.8 → 0.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +1 -1
- package/dist/build-info.json +3 -3
- package/dist/cli-categories.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/commands/activations.js +1 -1
- package/dist/commands/agent-command.js +1 -1
- package/dist/commands/agent-test-command.js +1 -1
- package/dist/commands/api-command.js +1 -1
- package/dist/commands/auth-command.js +1 -1
- package/dist/commands/chat-command.js +1 -1
- package/dist/commands/claude-command.js +1 -1
- package/dist/commands/claude-statusline-command.js +1 -1
- package/dist/commands/claude-usage-command.js +1 -1
- package/dist/commands/command.js +1 -1
- package/dist/commands/connection-command.js +1 -1
- package/dist/commands/databases.js +1 -1
- package/dist/commands/describe.js +1 -1
- package/dist/commands/engage-command.js +1 -1
- package/dist/commands/job-command.js +1 -1
- package/dist/commands/journey-command.js +1 -1
- package/dist/commands/journey-validate-command.js +1 -1
- package/dist/commands/llm-command.js +1 -1
- package/dist/commands/mcp-command.js +1 -1
- package/dist/commands/parent-segment-command.js +1 -1
- package/dist/commands/profile-command.js +1 -1
- package/dist/commands/profiles-command.js +1 -1
- package/dist/commands/query-command.js +1 -1
- package/dist/commands/schedule-command.js +1 -1
- package/dist/commands/segment-command.js +1 -1
- package/dist/commands/segment-create-command.js +1 -1
- package/dist/commands/segment-fields-command.js +1 -1
- package/dist/commands/segment-pull-command.js +1 -1
- package/dist/commands/segment-push-command.js +1 -1
- package/dist/commands/segment-update-command.js +1 -1
- package/dist/commands/segment-use-command.js +1 -1
- package/dist/commands/segment-validate-command.js +1 -1
- package/dist/commands/segments.js +1 -1
- package/dist/commands/show.js +1 -1
- package/dist/commands/status-command.js +1 -1
- package/dist/commands/tables.js +1 -1
- package/dist/commands/unset-command.js +1 -1
- package/dist/commands/use-command.js +1 -1
- package/dist/commands/user-command.js +1 -1
- package/dist/commands/workflow-command.js +1 -1
- package/dist/core/auth.js +1 -1
- package/dist/core/command-output.js +1 -1
- package/dist/core/config.js +1 -1
- package/dist/core/connection-cache.js +1 -1
- package/dist/core/constants.js +1 -1
- package/dist/core/credential-cache.js +1 -1
- package/dist/core/global-context.js +1 -1
- package/dist/core/keychain.js +1 -1
- package/dist/core/profile.js +1 -1
- package/dist/core/project-config.js +1 -1
- package/dist/core/session.js +1 -1
- package/dist/core/user-cache.js +1 -1
- package/dist/core/version.js +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/tools/index.js +1 -1
- package/dist/mcp/tools/tdx-run.js +1 -1
- package/dist/mcp/tools/tdx-search.js +1 -1
- package/dist/mcp/utils.js +1 -1
- package/dist/proxy/claude-usage-tracker.js +1 -1
- package/dist/proxy/passthrough-server.js +1 -1
- package/dist/proxy/sse-usage-parser.js +1 -1
- package/dist/sdk/agent/agent-config.js +1 -1
- package/dist/sdk/agent/agent-ref-parser.js +1 -1
- package/dist/sdk/agent/agent-yaml.js +1 -1
- package/dist/sdk/agent/test/evaluator.js +1 -1
- package/dist/sdk/agent/test/executor.js +1 -1
- package/dist/sdk/agent/test/index.js +1 -1
- package/dist/sdk/agent/test/output.js +1 -1
- package/dist/sdk/agent/test/parser.js +1 -1
- package/dist/sdk/api.js +1 -1
- package/dist/sdk/client/cdp-api-client.js +1 -1
- package/dist/sdk/client/endpoints.js +1 -1
- package/dist/sdk/client/engage-api-client.js +1 -1
- package/dist/sdk/client/http-client.js +1 -1
- package/dist/sdk/client/llm-api-client.js +1 -1
- package/dist/sdk/client/rate-limiter.js +1 -1
- package/dist/sdk/client/td-api-client.js +1 -1
- package/dist/sdk/client/trino-api-client.js +1 -1
- package/dist/sdk/client/workflow-client.js +1 -1
- package/dist/sdk/connection-validator.js +1 -1
- package/dist/sdk/connection.js +1 -1
- package/dist/sdk/engage.js +1 -1
- package/dist/sdk/errors.js +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/io/index.js +1 -1
- package/dist/sdk/io/node-filesystem.js +1 -1
- package/dist/sdk/job.js +1 -1
- package/dist/sdk/journey.js +1 -1
- package/dist/sdk/llm/chat-cache.js +1 -1
- package/dist/sdk/llm/index.js +1 -1
- package/dist/sdk/llm/llm-backup-utils.js +1 -1
- package/dist/sdk/llm/model-factors.js +1 -1
- package/dist/sdk/personalization.js +1 -1
- package/dist/sdk/query/index.js +1 -1
- package/dist/sdk/query/sql-parser.js +1 -1
- package/dist/sdk/realtime.js +1 -1
- package/dist/sdk/schedule.js +1 -1
- package/dist/sdk/segment/child-segment-yaml.js +1 -1
- package/dist/sdk/segment/fields-display.js +1 -1
- package/dist/sdk/segment/file-discovery.js +1 -1
- package/dist/sdk/segment/journey-utils.js +1 -1
- package/dist/sdk/segment/journey-validator.js +1 -1
- package/dist/sdk/segment/journey-yaml.js +1 -1
- package/dist/sdk/segment/parent-segment-preview.js +1 -1
- package/dist/sdk/segment/parent-segment-yaml.js +1 -1
- package/dist/sdk/segment/pull-workflow.js +1 -1
- package/dist/sdk/segment/push-recovery.js +1 -1
- package/dist/sdk/segment/push-workflow.js +1 -1
- package/dist/sdk/segment/resolution-context.js +1 -1
- package/dist/sdk/segment/segment-path-parser.js +1 -1
- package/dist/sdk/segment/segment-ref-parser.js +1 -1
- package/dist/sdk/segment/target-resolution.js +1 -1
- package/dist/sdk/segment/tdx-config.js +1 -1
- package/dist/sdk/segment/validate-files.js +1 -1
- package/dist/sdk/segment/yaml-validator.js +1 -1
- package/dist/sdk/segment.js +1 -1
- package/dist/sdk/types/index.js +1 -1
- package/dist/sdk/types/progress.js +1 -1
- package/dist/sdk/user.js +1 -1
- package/dist/sdk/util/format-detector.js +1 -1
- package/dist/sdk/util/formatters.js +1 -1
- package/dist/sdk/util/index.js +1 -1
- package/dist/sdk/util/tree-formatter.js +1 -1
- package/dist/sdk/workflow/archive-validation.js +1 -1
- package/dist/sdk/workflow/clone-workflow.js +1 -1
- package/dist/sdk/workflow/index.js +1 -1
- package/dist/sdk/workflow/pull-workflow.js +1 -1
- package/dist/sdk/workflow/push-workflow.js +1 -1
- package/dist/sdk/workflow/tdx-config.js +1 -1
- package/dist/sdk/workflow/workflow-utils.js +1 -1
- package/dist/test-utils/command-runner.js +1 -1
- package/dist/test-utils/factories.js +1 -1
- package/dist/test-utils/fixtures.js +1 -1
- package/dist/test-utils/http-mock.js +1 -1
- package/dist/test-utils/index.js +1 -1
- package/dist/utils/async.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/diff.js +1 -1
- package/dist/utils/file-permissions.js +1 -1
- package/dist/utils/global-cache.js +1 -1
- package/dist/utils/json-loader.js +1 -1
- package/dist/utils/local-cache.d.ts +2 -1
- package/dist/utils/local-cache.d.ts.map +1 -1
- package/dist/utils/local-cache.js +1 -1
- package/dist/utils/local-cache.js.map +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/port.js +1 -1
- package/dist/utils/process.js +1 -1
- package/dist/utils/prompt.js +1 -1
- package/dist/utils/spinner.js +1 -1
- package/dist/utils/sse-parser.js +1 -1
- package/dist/utils/string-utils.js +1 -1
- package/dist/utils/table-ref-parser.js +1 -1
- package/dist/utils/tdx-logger.js +1 -1
- package/dist/utils/version-check.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a2_0x475355=a2_0x4e0b;(function(_0x88c8a0,_0x19dd36){const _0x4f2647=a2_0x4e0b,_0x1881e0=_0x88c8a0();while(!![]){try{const _0x406032=-parseInt(_0x4f2647(0x2d5))/0x1+parseInt(_0x4f2647(0x3c9))/0x2*(parseInt(_0x4f2647(0x24f))/0x3)+-parseInt(_0x4f2647(0x311))/0x4+-parseInt(_0x4f2647(0x32a))/0x5*(parseInt(_0x4f2647(0x27c))/0x6)+-parseInt(_0x4f2647(0x2c9))/0x7+-parseInt(_0x4f2647(0x21f))/0x8*(parseInt(_0x4f2647(0x221))/0x9)+parseInt(_0x4f2647(0x2b0))/0xa*(parseInt(_0x4f2647(0x3a8))/0xb);if(_0x406032===_0x19dd36)break;else _0x1881e0['push'](_0x1881e0['shift']());}catch(_0x21f80b){_0x1881e0['push'](_0x1881e0['shift']());}}}(a2_0x4013,0x41cf0));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';function a2_0x4013(){const _0x24d345=['describe','padWidth','Show\x20master\x20table\x20sample\x20data','--output\x20<file>','Workflow\x20parameter\x20(repeatable)','auth','Skip\x20confirmation\x20prompt','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Skip\x20population\x20counting','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','Delay\x20in\x20seconds\x20before\x20execution','test\x20[path]','Delete\x20a\x20workspace','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','argv','Update\x20a\x20campaign','campaign','unset\x20<resource>','addHelpText','415pUvnrv','List\x20available\x20LLM\x20models','Set\x20or\x20show\x20parent\x20segment\x20context','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','Maximum\x20recursion\x20depth\x20(default:\x2010)','Options:','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','--agent\x20<ref>','--stream','set','Email\x20sender\x20ID\x20for\x20delivery','connections','-d,\x20--database\x20<database>','Directory\x20does\x20not\x20exist:\x20','help','AI-native\x20CLI\x20for\x20Treasure\x20Data','colorFn','workflow','Database\x20to\x20query\x20(default:\x20information_schema)','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','argumentTerm','create\x20<segment_name>','--html\x20<html>','CDP\x20segment\x20management\x20commands','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','create\x20<name>','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','--no-color','update\x20<name>','opts','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Workflow\x20project\x20management','--jsonl','Customer\x20group\x20as\x20JSON\x20string','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','TRACE','api\x20[endpoint]','Data\x20connection\x20management\x20(for\x20activations/exports)','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Save\x20output\x20to\x20file','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','argument','--folder\x20<name>','--name\x20<name>','Action:\x20logs,\x20tasks,\x20kill,\x20retry','-w,\x20--web','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','list','Delete\x20an\x20agent','Preview\x20without\x20creating\x20the\x20project','delete\x20<args...>','filter','Timezone\x20for\x20cron','jobs','Push\x20without\x20confirmation','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Agent\x20description','Segment\x20description','-r,\x20--resume','Run\x20tests\x20for\x20an\x20LLM\x20agent','tasks','--reeval','Workflow\x20attempt\x20management','command','show\x20[table]','Output\x20as\x20JSON\x20Lines','name','Resume\x20from\x20specific\x20task\x20(retry)','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','--resume-from\x20<task>','commands','show\x20<agent-name>','Show\x20journey\x20details','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Resume\x20a\x20conversation\x20(shows\x20selector)','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','--params\x20<json>','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','--last','profile','-r,\x20--recursive','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','--in\x20<name>','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Show\x20journey\x20statistics','List\x20all\x20available\x20profiles','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Behaviors\x20as\x20JSON\x20string','chats','Include\x20retried\x20attempts\x20(for\x20list)','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','alias','--type\x20<api_type>','Show\x20email\x20template\x20details','--customer-group\x20<json>','--master','catch','run\x20[name]','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','Force\x20retry\x20even\x20if\x20not\x20failed','clone\x20[source]','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','delete\x20<name>','gitRevision','fields\x20[name]','--no-count-population','Duplicate\x20a\x20campaign','show\x20<name-or-id>','agents\x20[pattern]','Include\x20subtasks\x20in\x20tasks\x20output','stdout','--to\x20<n>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Parent\x20folder\x20name\x20for\x20nested\x20folders','Export\x20journey(s)\x20as\x20YAML\x20files','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','clone\x20[source-dir]','--description\x20<desc>','41569lYXSPE','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','\x20-\x20built\x20','--num\x20<1-10>',',\x20version\x20','preview\x20[name]','-c,\x20--continue','--add-behaviors-file\x20<file>','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','Add\x20behaviors\x20from\x20JSON\x20file','required','--reason\x20<text>','--behavior\x20[name]','argumentDescription','Include\x20retried\x20attempts','fields\x20[parent_name]','run\x20[workflow]','retry\x20<session-id>','create\x20[name]','Workspace\x20description','-1d','-H,\x20--header\x20<header>','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','Campaign\x20name','Show\x20campaign\x20details','-C,\x20--directory\x20<path>','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','[options]\x20--\x20[claude-code-args...]','restore\x20<folder>','--database\x20<db>','join','178iVnphM','Workspace\x20name','--to\x20<timestamp>','Attempt\x20ID','--max-tool-iterations\x20<n>','attempt','Output\x20directory','-d,\x20--database\x20<name>','Attributes\x20as\x20JSON\x20string','Update\x20a\x20workspace','Maximum\x20tool\x20iterations\x20(default:\x204)','GET','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','Update\x20an\x20email\x20template','--schedule-option\x20<value>','CDP\x20Journey\x20Orchestration\x20commands','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','-o,\x20--output\x20<dir>','forEach','Describe\x20table\x20schema','Show\x20schedule\x20execution\x20history','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','--revision\x20<revision>','-d,\x20--database\x20<db>','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','attempt:','includes','campaigns\x20[pattern]','Show\x20agent\x20details','Result\x20output\x20destination\x20URL','-o,\x20--output\x20<file>','Arguments:','databases\x20[pattern]','--clear','Read\x20SQL\x20query\x20from\x20file','--timeout\x20<seconds>','Custom\x20revision\x20name\x20(default:\x20timestamp)','noColor','--engine-version\x20<version>','mcp','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','JSON\x20columns\x20for\x20connector\x20(comma-separated)','validate\x20[name]','subcommandTerm','format','Pull\x20workflow\x20project\x20to\x20local\x20folder','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','delete\x20<name-or-id>','--result\x20<url>','-f,\x20--force','history\x20<name>','--segment\x20<path>','commandUsage','--include-stats','0.7','after','LLM\x20project\x20management','isDirectory','--email-sender-id\x20<id>','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','--follow','--limit\x20<number>','--start-at\x20<datetime>','--stage\x20<name>','list\x20[name]','Create\x20a\x20scheduled\x20query','requiredOption','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','templates\x20[pattern]','push\x20[path]','Folder\x20description','us01','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','--attempt-id\x20<id>','--full','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','Trino\x20catalog\x20(default:\x20td)','--dry-run','--no-proxy','information_schema','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','Unknown\x20action:\x20','\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','--subject\x20<subject>','List\x20all\x20users\x20in\x20the\x20account','get','Open\x20parent\x20segment\x20in\x20web\x20browser','tdx\x20','preAction','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Create\x20a\x20new\x20LLM\x20project','Show\x20authentication\x20status\x20and\x20current\x20context','describe\x20[table]','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','update\x20<agent-name>','Create\x20an\x20email\x20template','push\x20[file]','Create\x20segment\x20folder','trino','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','List\x20agents\x20in\x20current\x20project','Workspace\x20name\x20(required)','logLevel','buildTime','show\x20[segment_name]','list\x20[pattern]','Start\x20a\x20new\x20chat\x20session','--kind\x20<type>','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','--llm-project\x20<name>','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','parse','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Database\x20name\x20(default:\x20information_schema)','claude-4.5-sonnet','Email\x20template\x20management','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Workflow\x20(Digdag)\x20management\x20commands','json','query\x20[sql]','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','--json','submit\x20[query]','--attribute\x20[name]','--cron\x20<expression>','--starter-message\x20<text>','--timezone\x20<tz>','tsv','Updated\x20description','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','users','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Behaviors\x20from\x20JSON\x20file','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','show\x20<folder_ref>','use\x20<name>','exit','--priority\x20<-2~2>','map','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','error','slice','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','option','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','delete\x20<agent-name>','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','pause\x20<name-or-path>','Master\x20table\x20name','folders\x20<parent_name>','log','Run\x20Trino\x20query\x20with\x20streaming\x20results','workflows\x20[project]','\x20(resolved\x20to\x20','grapesjs','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','-v,\x20--verbose','--chat-id\x20<id>','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','update\x20<segment_name>','hidden','Agent\x20prompt/instructions','jsonl','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Manage\x20workflow\x20project\x20secrets','Starter\x20message','engage','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','pull\x20[project]\x20[agent-name]','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','--delete','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Campaign\x20description','LLM\x20agent\x20management','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','info\x20[segment_name]','--trace','beefree','Show\x20segment\x20schema\x20(column\x20types)','--name\x20<names>','length','--tags\x20<tags>','preview\x20[file]','--session\x20<id>','--invisible','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','Output\x20file\x20path','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','Pause\x20a\x20campaign','description','Parse\x20and\x20validate\x20without\x20executing','user','Usage:\x20','--description\x20<text>','desc\x20[segment_name]','use\x20<path>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Master\x20database\x20name','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','--default','view\x20<name-or-path>','clear','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','remove\x20<name>','download\x20<project-name>\x20[output-dir]','--attributes\x20<json>','allowExcessArguments','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','models','Pause\x20a\x20running\x20journey','-y,\x20--yes','New\x20workspace\x20name','view\x20[segment_name]','Job\x20management\x20commands','--max-depth\x20<depth>','Preview\x20changes\x20without\x20writing\x20files','User\x20management\x20commands','Output\x20as\x20JSON','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','options','_hidden','Make\x20segment\x20invisible\x20(default:\x20visible)','Show\x20the\x20most\x20recent\x20chat','setup','status','Show\x20workspace\x20details','8HnnFiz','--name\x20<new-name>','3383550OESYtt','timeline\x20[project.workflow]','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','--include-retried','--parent-folder\x20<name>','--yes','update\x20<name-or-id>','view\x20[name]','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','--behaviors\x20<json>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','list\x20[project]','subcommandDescription','pull\x20[name]','--editor-type\x20<type>','Job\x20priority\x20(-2\x20to\x202)','Read\x20query\x20from\x20file','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','allowUnknownOption','Enable\x20verbose\x20logging','HTML\x20template\x20content','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','Run\x20specific\x20tests\x20(comma-separated)','Create\x20a\x20new\x20campaign','agent','Attributes\x20from\x20JSON\x20file','table','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','directory','Open\x20journey\x20in\x20web\x20browser','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','--retry-limit\x20<0~32>','show\x20<name>','Show\x20only\x20master\x20table\x20validation','registeredArguments','RT\x202.0\x20configuration\x20management','--type\x20<type>','--rule-file\x20<file>','Set\x20operation\x20timeout\x20in\x20seconds','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','--site\x20<site>','--name\x20<new_name>','6126lcyUQg','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','connection','Show\x20stats\x20for\x20specific\x20stage','--enriched','--json-columns\x20<cols>','Personalization\x20service\x20management','validate\x20[target]','resume\x20<name-or-path>','Setup\x20API\x20key\x20authentication\x20interactively','Scheduled\x20query\x20management\x20commands','types','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','configureHelp','\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','stats\x20<name-or-path>','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Starting\x20offset\x20(default:\x200)','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','then','workspaces\x20[pattern]','Create\x20a\x20new\x20profile','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','-u,\x20--use','create','result\x20<job-id>','Workflow\x20session\x20management','--temperature\x20<n>','--catalog\x20<catalog>','--rule\x20<json>','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','sessions\x20[project]','Update\x20an\x20existing\x20agent','job','[DEPRECATED]\x20Segment\x20folder\x20management','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','init\x20[name]','site','--force','Ending\x20offset\x20(default:\x2020)','backup\x20<name>','Plaintext\x20template\x20content','outputHelp','database','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','5634VtJYlJ','stderr','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','parent_segment','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','--session-id\x20<id>','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','kill','Preview\x20changes\x20without\x20pushing','push\x20[name]','logs','Delete\x20an\x20LLM\x20project','push\x20[target]','pause\x20<name-or-id>','repeat','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','run\x20<name>','--status\x20<status>','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','aliases','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','INVALID_ARGUMENT','--parent-segment\x20<name>','Email\x20subject\x20template','--delay\x20<seconds>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','tdx','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','INFO','segments\x20[path]','Create\x20a\x20workspace','Reason\x20for\x20killing\x20the\x20attempt','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','Model\x20type\x20(default:\x20claude-4.5-sonnet)','kill\x20<job-id>','Skip\x20confirmation\x20prompts','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','attempts\x20[project]','use\x20[project]','End\x20time\x20filter\x20(ISO\x208601\x20format)','Commands:','Open\x20segment\x20in\x20web\x20browser','LLM\x20project\x20to\x20use\x20(overrides\x20context)','sql\x20[name]','push\x20[parent_or_file]','Interactive\x20chat\x20selector','history\x20[chat-id]','use\x20<project-name>','Overwrite\x20local\x20changes\x20without\x20confirmation','run','--interval\x20<range>','2270cqmsxJ','--from\x20<timestamp>','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','New\x20campaign\x20name','Skip\x20validation\x20of\x20.dig\x20files','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','trace','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','padEnd','Get\x20job\x20results','Customer\x20group\x20from\x20JSON\x20file','Launch\x20a\x20campaign','Table\x20management\x20commands','flatMap','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','--attributes-file\x20<file>','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Add\x20attributes\x20from\x20JSON\x20file','Override\x20project\x20name','--include-subtasks','-f,\x20--file\x20<path>','\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','\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','94731RfXUML','--database\x20<name>','Cron\x20expression\x20for\x20scheduling','Continue\x20most\x20recent\x20conversation','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','--session-time\x20<time>','hook','--system-prompt\x20<text>','\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=jp01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Timezone\x20(e.g.,\x20America/Los_Angeles)','--color','185016FQxvZs','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Filtering\x20rule\x20from\x20JSON\x20file','Add\x20behaviors\x20as\x20JSON\x20string','--plaintext\x20<text>','--behaviors-file\x20<file>','usage','pull\x20<project>\x20[target-dir]','[task-name]','action','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','--tsv','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Delete\x20an\x20email\x20template','secrets','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Retry\x20limit\x20(0\x20to\x2032)','[attempt-id]','injectIntoOptions','workspace','Database\x20name','Start\x20time\x20filter\x20(ISO\x208601\x20format)','--in\x20<database>','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','set\x20<key=value>','create\x20<parent_name>\x20<folder_name>','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Show\x20segment\x20details\x20(alias\x20for\x20view)','--skip-validation','llm','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','session','Invalid\x20editor\x20type:\x20','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','isTTY','Parent\x20segment\x20description','DEBUG','Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','--add-behaviors\x20<json>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Read\x20request\x20body\x20from\x20file','use\x20[resource]\x20[value]','Output\x20folder\x20(default:\x20{project_name}.llm)','journey','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','--workspace\x20<name>','Resume\x20a\x20paused\x20campaign','Database\x20management\x20commands','Alias\x20for\x20--database\x20(natural\x20language\x20style)','desc\x20[name]','Query\x20engine\x20version','-o,\x20--output\x20<folder>','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Validate\x20journey\x20YAML\x20files\x20locally','Task\x20name\x20for\x20logs\x20action','470332OAQMpe','\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','push'];a2_0x4013=function(){return _0x24d345;};return a2_0x4013();}import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSPzListCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x475355(0x325)]['includes']('--version')){let versionOutput=a2_0x475355(0x190)+currentVersion;buildInfo[a2_0x475355(0x398)]&&!currentVersion['includes'](buildInfo[a2_0x475355(0x398)])&&(versionOutput+='\x20('+buildInfo[a2_0x475355(0x398)]+')'),buildInfo['buildTime']&&(versionOutput+=a2_0x475355(0x3aa)+buildInfo[a2_0x475355(0x1a2)]),console[a2_0x475355(0x1d2)](versionOutput),process[a2_0x475355(0x1c4)](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0x475355(0x339);buildInfo[a2_0x475355(0x398)]&&!currentVersion[a2_0x475355(0x152)](buildInfo[a2_0x475355(0x398)])?description+=a2_0x475355(0x3ac)+currentVersion+'\x20('+buildInfo[a2_0x475355(0x398)]+')':description+=a2_0x475355(0x3ac)+currentVersion;program[a2_0x475355(0x36f)](a2_0x475355(0x296))[a2_0x475355(0x1fa)](description),program['option'](a2_0x475355(0x3c3),'Change\x20to\x20directory\x20before\x20executing\x20command')[a2_0x475355(0x1cb)]('-p,\x20--profile\x20<name>','Profile\x20to\x20use\x20(overrides\x20active\x20profile)')[a2_0x475355(0x1cb)](a2_0x475355(0x24d),a2_0x475355(0x1ca),a2_0x475355(0x180))['option']('--format\x20<format>',a2_0x475355(0x38a))[a2_0x475355(0x1cb)]('--table',a2_0x475355(0x396))[a2_0x475355(0x1cb)](a2_0x475355(0x1b5),a2_0x475355(0x32d))[a2_0x475355(0x1cb)](a2_0x475355(0x34b),a2_0x475355(0x1a7))[a2_0x475355(0x1cb)](a2_0x475355(0x2e0),a2_0x475355(0x30e))[a2_0x475355(0x1cb)](a2_0x475355(0x317),a2_0x475355(0x353))[a2_0x475355(0x1cb)](a2_0x475355(0x176),'Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)')[a2_0x475355(0x1cb)](a2_0x475355(0x2d4),'Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0x475355(0x1cb)](a2_0x475355(0x345),'Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)',![])[a2_0x475355(0x1cb)](a2_0x475355(0x1d8),a2_0x475355(0x237),![])[a2_0x475355(0x1cb)]('--debug',a2_0x475355(0x31b))[a2_0x475355(0x1cb)](a2_0x475355(0x1ec),a2_0x475355(0x19d))['option'](a2_0x475355(0x15b),a2_0x475355(0x24b),'30')[a2_0x475355(0x1cb)]('--dry-run','Preview\x20operation\x20without\x20executing',![])[a2_0x475355(0x1cb)](a2_0x475355(0x20f),a2_0x475355(0x2a0),![])[a2_0x475355(0x1cb)](a2_0x475355(0x1f3),a2_0x475355(0x28e))[a2_0x475355(0x1cb)](a2_0x475355(0x13f),'Database\x20to\x20use\x20(overrides\x20context)')['option'](a2_0x475355(0x381),a2_0x475355(0x308))[a2_0x475355(0x1cb)](a2_0x475355(0x292),a2_0x475355(0x197))[a2_0x475355(0x1cb)](a2_0x475355(0x1a8),a2_0x475355(0x2a7)),program[a2_0x475355(0x25c)]({'formatHelp':(_0x577231,_0x3cda1f)=>{const _0x22c4f7=a2_0x475355,_0x1b6120=_0x3cda1f[_0x22c4f7(0x315)](_0x577231,_0x3cda1f),_0x15ffa1=0x2,_0x4ec6fd=0x2;function _0x525b20(_0x23e35e){const _0x523fcf=_0x22c4f7,_0x3f9c56=_0x23e35e;return!!(_0x3f9c56[_0x523fcf(0x219)]||_0x3f9c56[_0x523fcf(0x1dc)]);}function _0x23453a(_0x172fb1,_0x581cef){const _0x2a32ee=_0x22c4f7;if(_0x581cef){const _0x3ac22c=''+_0x172fb1[_0x2a32ee(0x2b8)](_0x1b6120+_0x4ec6fd)+_0x581cef;return _0x3ac22c;}return _0x172fb1;}function _0x5da5ea(_0x4d59f9){const _0x2a6dca=_0x22c4f7;return _0x4d59f9[_0x2a6dca(0x3c8)]('\x0a')['replace'](/^/gm,'\x20'[_0x2a6dca(0x28a)](_0x15ffa1));}const _0xc48495=[];_0xc48495[_0x22c4f7(0x313)](_0x22c4f7(0x1fd)+_0x3cda1f[_0x22c4f7(0x16c)](_0x577231));const _0xc38293=_0x3cda1f['commandDescription'](_0x577231);_0xc38293&&(_0xc48495['push'](''),_0xc48495[_0x22c4f7(0x313)](_0xc38293));const _0x3a725c=_0x577231[_0x22c4f7(0x373)][_0x22c4f7(0x360)](_0x543508=>!_0x525b20(_0x543508));if(_0x3a725c[_0x22c4f7(0x1f0)]>0x0){if(_0x577231['name']()===_0x22c4f7(0x296)){const _0x51addf=_0x577231[_0x22c4f7(0x347)](),_0x179b51=!_0x51addf[_0x22c4f7(0x15d)]&&process[_0x22c4f7(0x39f)][_0x22c4f7(0x2f8)],_0x42f82b=COMMAND_CATEGORIES,_0x363a09=(_0x23c83c,_0x2e762d)=>_0x179b51?_0x2e762d(_0x23c83c):_0x23c83c,_0x56132d=new Map();_0x3a725c[_0x22c4f7(0x14a)](_0x5a8705=>{const _0x1f11c5=_0x22c4f7;_0x56132d[_0x1f11c5(0x333)](_0x5a8705['name'](),_0x5a8705);}),_0x42f82b[_0x22c4f7(0x14a)](_0x367885=>{const _0x32c56c=_0x22c4f7,_0xcceb4f=_0x367885[_0x32c56c(0x373)][_0x32c56c(0x2bd)](_0x502b1f=>_0x56132d[_0x32c56c(0x18e)](_0x502b1f)??[]);if(_0xcceb4f[_0x32c56c(0x1f0)]>0x0){_0xc48495[_0x32c56c(0x313)](''),_0xc48495['push'](_0x363a09(_0x367885[_0x32c56c(0x36f)]+':',_0x367885[_0x32c56c(0x33a)]));const _0x1a70d1=_0xcceb4f[_0x32c56c(0x1c6)](_0x16db02=>{const _0x50a165=_0x32c56c,_0x59aecb=_0x3cda1f['subcommandTerm'](_0x16db02),_0x512c97=_0x3cda1f[_0x50a165(0x22f)](_0x16db02);return _0x23453a(_0x59aecb,_0x512c97);});_0xc48495['push'](_0x5da5ea(_0x1a70d1));}}),_0xc48495['push'](''),_0xc48495[_0x22c4f7(0x313)](_0x22c4f7(0x304));}else{const _0x4a361a=_0x3a725c[_0x22c4f7(0x1c6)](_0x223a8b=>{const _0x40ed74=_0x22c4f7,_0x184658=_0x3cda1f[_0x40ed74(0x163)](_0x223a8b),_0x5a9ce1=_0x3cda1f[_0x40ed74(0x22f)](_0x223a8b);return _0x23453a(_0x184658,_0x5a9ce1);});_0xc48495[_0x22c4f7(0x313)](''),_0xc48495['push'](_0x22c4f7(0x2a5)),_0xc48495[_0x22c4f7(0x313)](_0x5da5ea(_0x4a361a));}}if(showBriefHelp&&_0x577231[_0x22c4f7(0x36f)]()===_0x22c4f7(0x296))_0xc48495['push'](''),_0xc48495[_0x22c4f7(0x313)](_0x22c4f7(0x2f3));else{const _0x27087e=_0x577231[_0x22c4f7(0x218)][_0x22c4f7(0x360)](_0x1a256a=>!_0x525b20(_0x1a256a));if(_0x27087e['length']>0x0){const _0xae337f=_0x27087e['map'](_0x2ba77d=>{const _0x51c30e=_0x3cda1f['optionTerm'](_0x2ba77d),_0x330d2a=_0x3cda1f['optionDescription'](_0x2ba77d);return _0x23453a(_0x51c30e,_0x330d2a);});_0xc48495[_0x22c4f7(0x313)](''),_0xc48495[_0x22c4f7(0x313)](_0x22c4f7(0x32f)),_0xc48495[_0x22c4f7(0x313)](_0x5da5ea(_0xae337f));}}const _0x16447a=(_0x577231[_0x22c4f7(0x247)]||[])[_0x22c4f7(0x360)](_0x5ef6a5=>!_0x525b20(_0x5ef6a5));if(_0x16447a['length']>0x0){const _0xbe5e1e=_0x16447a[_0x22c4f7(0x1c6)](_0x122f63=>{const _0x5d951a=_0x22c4f7,_0x4e81c8=_0x3cda1f[_0x5d951a(0x33e)](_0x122f63),_0xe769fc=_0x3cda1f[_0x5d951a(0x3b5)](_0x122f63);return _0x23453a(_0x4e81c8,_0xe769fc);});_0xc48495[_0x22c4f7(0x313)](''),_0xc48495['push'](_0x22c4f7(0x157)),_0xc48495[_0x22c4f7(0x313)](_0x5da5ea(_0xbe5e1e));}return _0xc48495[_0x22c4f7(0x3c8)]('\x0a')+'\x0a';},'subcommandTerm':_0x3c88b1=>{const _0x21a3c5=a2_0x475355,_0xf88bee=(_0x3c88b1[_0x21a3c5(0x247)]||[])[_0x21a3c5(0x1c6)](_0x331e74=>_0x331e74[_0x21a3c5(0x3b2)]?'<'+_0x331e74[_0x21a3c5(0x36f)]()+'>':'['+_0x331e74[_0x21a3c5(0x36f)]()+']')['join']('\x20'),_0x445805=_0x3c88b1[_0x21a3c5(0x28f)](),_0x3c3503=_0x445805[_0x21a3c5(0x1f0)]>0x0?_0x3c88b1[_0x21a3c5(0x36f)]()+',\x20'+_0x445805[_0x21a3c5(0x3c8)](',\x20'):_0x3c88b1[_0x21a3c5(0x36f)]();return _0xf88bee?_0x3c3503+'\x20'+_0xf88bee:_0x3c3503;}}),program[a2_0x475355(0x2cf)](a2_0x475355(0x191),_0xcd55c0=>{const _0x54d774=a2_0x475355,_0x14bf07=_0xcd55c0['opts']();if(_0x14bf07[_0x54d774(0x240)]){const _0x209e35=resolve(_0x14bf07[_0x54d774(0x240)]),_0x45a993=_0x209e35!==_0x14bf07['directory']?_0x54d774(0x1d5)+_0x209e35+')':'';if(!existsSync(_0x209e35))throw new SDKError(ErrorCode[_0x54d774(0x291)],_0x54d774(0x337)+_0x14bf07['directory']+_0x45a993,undefined,{'helpText':_0x54d774(0x1da)});const _0x34f80c=statSync(_0x209e35);if(!_0x34f80c[_0x54d774(0x171)]())throw new SDKError(ErrorCode[_0x54d774(0x291)],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x14bf07[_0x54d774(0x240)]+_0x45a993,undefined,{'helpText':'The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.'});process['chdir'](_0x209e35);}if(!_0x14bf07['format']){if(_0x14bf07[_0x54d774(0x23e)])_0x14bf07['format']=_0x54d774(0x23e);else{if(_0x14bf07[_0x54d774(0x1b1)])_0x14bf07['format']=_0x54d774(0x1b1);else{if(_0x14bf07[_0x54d774(0x1de)])_0x14bf07['format']='jsonl';else _0x14bf07[_0x54d774(0x1bb)]&&(_0x14bf07[_0x54d774(0x164)]=_0x54d774(0x1bb));}}}_0x14bf07['in']&&!_0x14bf07['database']&&(_0x14bf07[_0x54d774(0x27a)]=_0x14bf07['in']);if(_0x14bf07[_0x54d774(0x2b6)])_0x14bf07[_0x54d774(0x1a1)]=LogLevel[_0x54d774(0x34f)];else{if(_0x14bf07['debug'])_0x14bf07['logLevel']=LogLevel[_0x54d774(0x2fa)];else _0x14bf07[_0x54d774(0x1a1)]===undefined&&(_0x14bf07[_0x54d774(0x1a1)]=LogLevel[_0x54d774(0x299)]);}});async function createTDXInstance(_0x21ee11){const _0x4b914d=a2_0x475355,_0x388fed=await GlobalContext['createAsync'](_0x21ee11);return _0x388fed[_0x4b914d(0x2e7)](_0x21ee11),TDX[_0x4b914d(0x267)]({'site':_0x388fed[_0x4b914d(0x274)],'apiKey':_0x388fed['apiKey'],'logLevel':_0x388fed[_0x4b914d(0x1a1)],'profile':_0x388fed['profile']});}const databaseCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x27a))[a2_0x475355(0x38b)]('db')[a2_0x475355(0x1fa)](a2_0x475355(0x307)),databaseListAction=async(_0x537272,_0x2b5e2a)=>{const _0xc039a7=a2_0x475355,_0x2af9ad=new DatabasesCommand(),_0x11e77d=program['opts'](),_0x35cb86=await createTDXInstance(_0x11e77d),_0x4c0b2b=await _0x2af9ad[_0xc039a7(0x2ae)]({'options':{..._0x11e77d,..._0x2b5e2a},'args':_0x537272?[_0x537272]:[],'tdx':_0x35cb86});gracefulExit(_0x4c0b2b);};databaseCmd['command'](a2_0x475355(0x1a4))['description']('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x475355(0x2de)](databaseListAction),program[a2_0x475355(0x36c)](a2_0x475355(0x158),{'hidden':!![]})[a2_0x475355(0x1fa)](a2_0x475355(0x1c7))['action'](databaseListAction),program[a2_0x475355(0x36c)]('chat\x20[message...]')[a2_0x475355(0x1fa)](a2_0x475355(0x2a1))[a2_0x475355(0x1cb)](a2_0x475355(0x331),a2_0x475355(0x2ef))['option']('--new',a2_0x475355(0x1a5))[a2_0x475355(0x1cb)](a2_0x475355(0x1d9),'Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID')['option'](a2_0x475355(0x332),a2_0x475355(0x2d2))['action'](async(_0x5e7dec,_0x55605e)=>{const _0x448da2=a2_0x475355,_0x593186=program['opts'](),_0x394d1f=await createTDXInstance(_0x593186);if(_0x5e7dec[0x0]==='create'){const _0x170dda=new ChatCreateCommand();gracefulExit(await _0x170dda[_0x448da2(0x2ae)]({'options':{..._0x593186,..._0x55605e},'args':_0x5e7dec[_0x448da2(0x1c9)](0x1),'tdx':_0x394d1f}));return;}const _0x365e88=new ChatCommand(),_0x88e80b=await _0x365e88[_0x448da2(0x2ae)]({'options':{..._0x593186,..._0x55605e},'args':_0x5e7dec,'tdx':_0x394d1f});gracefulExit(_0x88e80b);});const apiCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x350))['summary'](a2_0x475355(0x14d))[a2_0x475355(0x329)](a2_0x475355(0x16f),a2_0x475355(0x18b))[a2_0x475355(0x1cb)]('-X,\x20--method\x20<method>',a2_0x475355(0x342),a2_0x475355(0x143))[a2_0x475355(0x1cb)]('--data\x20<data>','Request\x20body\x20as\x20JSON\x20string')[a2_0x475355(0x1cb)](a2_0x475355(0x2c6),a2_0x475355(0x300))[a2_0x475355(0x1cb)](a2_0x475355(0x3bd),a2_0x475355(0x376),(_0x443a0f,_0x37497e)=>{return _0x37497e?[..._0x37497e,_0x443a0f]:[_0x443a0f];})[a2_0x475355(0x1cb)](a2_0x475355(0x38c),a2_0x475355(0x22a),'td')['action'](async(_0x48cc43,_0x37b317)=>{const _0x32416f=a2_0x475355;if(!_0x48cc43){apiCmd[_0x32416f(0x338)]();return;}const _0x10e042=new ApiCommand(),_0x278998=program[_0x32416f(0x347)](),_0x16fbfe=await createTDXInstance(_0x278998),_0x21f59a=await _0x10e042['run']({'options':{..._0x278998,..._0x37b317},'args':[_0x48cc43],'tdx':_0x16fbfe});gracefulExit(_0x21f59a);});program['command'](a2_0x475355(0x15f))[a2_0x475355(0x1fa)](a2_0x475355(0x1d7))[a2_0x475355(0x329)](a2_0x475355(0x16f),'\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a')[a2_0x475355(0x2de)](async _0x598812=>{const _0x46f01e=a2_0x475355,_0x4be0fb=new MCPCommand(),_0x2cc51a=program[_0x46f01e(0x347)](),_0x3b6378=await createTDXInstance(_0x2cc51a),_0x157af4=await _0x4be0fb[_0x46f01e(0x2ae)]({'options':{..._0x2cc51a,..._0x598812},'args':[],'tdx':_0x3b6378});gracefulExit(_0x157af4);});const tableCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x23e))[a2_0x475355(0x1fa)](a2_0x475355(0x2bc)),tableListAction=async(_0x25c5a5,_0x5c1c1f)=>{const _0x46c3ee=a2_0x475355,_0x1d030b=new TablesCommand(),_0x4fdb4a=program[_0x46c3ee(0x347)](),_0x44f245=await createTDXInstance(_0x4fdb4a);_0x5c1c1f['in']&&(_0x5c1c1f[_0x46c3ee(0x27a)]=_0x5c1c1f['in']);const _0x308cf7=await _0x1d030b[_0x46c3ee(0x2ae)]({'options':{..._0x4fdb4a,..._0x5c1c1f},'args':_0x25c5a5?[_0x25c5a5]:[],'tdx':_0x44f245});gracefulExit(_0x308cf7);};tableCmd[a2_0x475355(0x36c)]('list\x20[pattern]')[a2_0x475355(0x1fa)](a2_0x475355(0x2d6))[a2_0x475355(0x1cb)](a2_0x475355(0x336),a2_0x475355(0x349))['option']('--in\x20<database>',a2_0x475355(0x308))[a2_0x475355(0x2de)](tableListAction),program[a2_0x475355(0x36c)]('tables\x20[pattern]',{'hidden':!![]})['description'](a2_0x475355(0x223))['option'](a2_0x475355(0x336),a2_0x475355(0x349))[a2_0x475355(0x1cb)](a2_0x475355(0x2eb),a2_0x475355(0x308))[a2_0x475355(0x2de)](tableListAction),program[a2_0x475355(0x36c)](a2_0x475355(0x36d))['description'](a2_0x475355(0x1e7))[a2_0x475355(0x1cb)](a2_0x475355(0x336),a2_0x475355(0x34d))[a2_0x475355(0x1cb)](a2_0x475355(0x2eb),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x475355(0x2de)](async(_0x2bc844,_0x3d609a)=>{const _0x540195=a2_0x475355,_0x1c4984=new ShowCommand(),_0x451236=program['opts'](),_0x15ab04=await createTDXInstance(_0x451236);_0x3d609a['in']&&(_0x3d609a[_0x540195(0x27a)]=_0x3d609a['in']);const _0x342e6a=await _0x1c4984[_0x540195(0x2ae)]({'options':{..._0x451236,..._0x3d609a},'args':_0x2bc844?[_0x2bc844]:[],'tdx':_0x15ab04});gracefulExit(_0x342e6a);}),program[a2_0x475355(0x36c)](a2_0x475355(0x195))['alias']('desc')['description'](a2_0x475355(0x14b))[a2_0x475355(0x1cb)](a2_0x475355(0x336),a2_0x475355(0x34d))[a2_0x475355(0x1cb)](a2_0x475355(0x2eb),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x475355(0x2de)](async(_0x3c2131,_0x5bb0e0)=>{const _0x43a759=a2_0x475355,_0x11c82e=new DescribeCommand(),_0x406f9f=program[_0x43a759(0x347)](),_0x181ae1=await createTDXInstance(_0x406f9f);_0x5bb0e0['in']&&(_0x5bb0e0[_0x43a759(0x27a)]=_0x5bb0e0['in']);const _0x49a9ee=await _0x11c82e[_0x43a759(0x2ae)]({'options':{..._0x406f9f,..._0x5bb0e0},'args':_0x3c2131?[_0x3c2131]:[],'tdx':_0x181ae1});gracefulExit(_0x49a9ee);}),program[a2_0x475355(0x36c)](a2_0x475355(0x1b2))[a2_0x475355(0x1fa)](a2_0x475355(0x1d3))[a2_0x475355(0x1cb)](a2_0x475355(0x336),a2_0x475355(0x33c))[a2_0x475355(0x1cb)](a2_0x475355(0x2eb),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['option'](a2_0x475355(0x26b),a2_0x475355(0x185))[a2_0x475355(0x1cb)](a2_0x475355(0x2c6),a2_0x475355(0x15a))[a2_0x475355(0x1cb)]('--limit\x20<rows>',a2_0x475355(0x392),'40')[a2_0x475355(0x2de)](async(_0x4fec43,_0xc4d363)=>{const _0x8687ec=a2_0x475355,_0x287a77=new QueryCommand(),_0x42cfca=program['opts'](),_0x1a54e0=await createTDXInstance(_0x42cfca);_0xc4d363['in']&&(_0xc4d363[_0x8687ec(0x27a)]=_0xc4d363['in']);const _0x456539=await _0x287a77[_0x8687ec(0x2ae)]({'options':{..._0x42cfca,..._0xc4d363},'args':_0x4fec43?[_0x4fec43]:[],'tdx':_0x1a54e0});gracefulExit(_0x456539);});const segmentCmd=program[a2_0x475355(0x36c)]('segment')['alias']('sg')['description'](a2_0x475355(0x341)),segmentListAction=async(_0x237973,_0x1dea79)=>{const _0x30a7f2=a2_0x475355,_0x3bf24e=new SegmentsCommand(),_0x5f1ed3=program['opts'](),_0x368c35=await createTDXInstance(_0x5f1ed3),_0x552a2e=await _0x3bf24e[_0x30a7f2(0x2ae)]({'options':{..._0x5f1ed3,..._0x1dea79},'args':_0x237973?[_0x237973]:[],'tdx':_0x368c35});gracefulExit(_0x552a2e);};segmentCmd['command']('list\x20[path]')[a2_0x475355(0x1fa)](a2_0x475355(0x189))[a2_0x475355(0x1cb)](a2_0x475355(0x37f),a2_0x475355(0x1ab))[a2_0x475355(0x1cb)](a2_0x475355(0x213),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')['action'](segmentListAction),program['command'](a2_0x475355(0x29a),{'hidden':!![]})['description'](a2_0x475355(0x2ec))[a2_0x475355(0x1cb)](a2_0x475355(0x37f),a2_0x475355(0x1ab))[a2_0x475355(0x1cb)]('--max-depth\x20<depth>',a2_0x475355(0x32e),'10')[a2_0x475355(0x2de)](segmentListAction),segmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x200),{'hidden':!![]})['description'](a2_0x475355(0x1f6))[a2_0x475355(0x2de)](async(_0xeb8e7a,_0x4223f9)=>{const _0x4010df=a2_0x475355,_0x3d0553=new SegmentUseCommand(),_0x268504=program[_0x4010df(0x347)](),_0x137791=await createTDXInstance(_0x268504),_0x4f7c53=await _0x3d0553[_0x4010df(0x2ae)]({'options':{..._0x268504,..._0x4223f9},'args':[_0xeb8e7a],'tdx':_0x137791});gracefulExit(_0x4f7c53);});const segmentViewAction=async(_0x154fd8,_0x42f414)=>{const _0x4cf1e8=a2_0x475355,_0x1e0dd4=new SegmentViewCommand(),_0x11660c=program[_0x4cf1e8(0x347)](),_0x2e398f=await createTDXInstance(_0x11660c),_0x4702f1=await _0x1e0dd4['run']({'options':{..._0x11660c,..._0x42f414},'args':_0x154fd8?[_0x154fd8]:[],'tdx':_0x2e398f});gracefulExit(_0x4702f1);};segmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x211))[a2_0x475355(0x1fa)](a2_0x475355(0x297))['option'](a2_0x475355(0x35a),a2_0x475355(0x2a6))[a2_0x475355(0x2de)](segmentViewAction),segmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x1eb),{'hidden':!![]})['alias'](a2_0x475355(0x314))['option']('-w,\x20--web',a2_0x475355(0x2a6))[a2_0x475355(0x1fa)](a2_0x475355(0x2f0))[a2_0x475355(0x2de)](segmentViewAction),segmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x1ff))[a2_0x475355(0x1fa)](a2_0x475355(0x1ee))[a2_0x475355(0x2de)](async(_0x404b5c,_0x173ded)=>{const _0x5a2db1=a2_0x475355,_0x3e657a=new SegmentDescCommand(),_0x2c324d=program['opts'](),_0x49a63a=await createTDXInstance(_0x2c324d),_0x5b1c86=await _0x3e657a[_0x5a2db1(0x2ae)]({'options':{..._0x2c324d,..._0x173ded},'args':_0x404b5c?[_0x404b5c]:[],'tdx':_0x49a63a});gracefulExit(_0x5b1c86);}),segmentCmd['command'](a2_0x475355(0x1a3))[a2_0x475355(0x1fa)](a2_0x475355(0x37a))[a2_0x475355(0x2de)](async(_0x281548,_0xd7354a)=>{const _0x573d75=a2_0x475355,_0x3d50c4=new SegmentShowCommand(),_0x48e338=program[_0x573d75(0x347)](),_0x53470e=await createTDXInstance(_0x48e338),_0x2853e7=await _0x3d50c4[_0x573d75(0x2ae)]({'options':{..._0x48e338,..._0xd7354a},'args':_0x281548?[_0x281548]:[],'tdx':_0x53470e});gracefulExit(_0x2853e7);}),segmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x1d1),{'hidden':!![]})['description'](a2_0x475355(0x250))[a2_0x475355(0x2de)](async(_0x21008e,_0x4d047f)=>{const _0xd69349=a2_0x475355,_0x2a0bd9=new SegmentFolderListCommand(),_0x1101cd=program[_0xd69349(0x347)](),_0x3cf162=await createTDXInstance(_0x1101cd),_0x353a6e=await _0x2a0bd9[_0xd69349(0x2ae)]({'options':{..._0x1101cd,..._0x4d047f},'args':[_0x21008e],'tdx':_0x3cf162});gracefulExit(_0x353a6e);});const folderCmd=segmentCmd[a2_0x475355(0x36c)]('folder',{'hidden':!![]})[a2_0x475355(0x1fa)](a2_0x475355(0x271));folderCmd[a2_0x475355(0x36c)](a2_0x475355(0x1c2))['description'](a2_0x475355(0x389))['action'](async(_0x4af6b1,_0x57d937)=>{const _0x246081=a2_0x475355,_0x4bbbb7=new SegmentFolderShowCommand(),_0x15ec4d=program[_0x246081(0x347)](),_0x536897=await createTDXInstance(_0x15ec4d),_0x425c8a=await _0x4bbbb7['run']({'options':{..._0x15ec4d,..._0x57d937},'args':[_0x4af6b1],'tdx':_0x536897});gracefulExit(_0x425c8a);}),segmentCmd[a2_0x475355(0x36c)]('sql\x20[segment_name]')[a2_0x475355(0x1fa)](a2_0x475355(0x144))[a2_0x475355(0x2de)](async(_0x10ff85,_0x3b0088)=>{const _0x4204c9=a2_0x475355,_0xa17b=new SegmentSQLCommand(),_0x48d598=program[_0x4204c9(0x347)](),_0x452167=await createTDXInstance(_0x48d598),_0x236a3f=await _0xa17b['run']({'options':{..._0x48d598,..._0x3b0088},'args':_0x10ff85?[_0x10ff85]:[],'tdx':_0x452167});gracefulExit(_0x236a3f);}),segmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x3b7))['description'](a2_0x475355(0x30d))[a2_0x475355(0x2de)](async(_0x4d3e1e,_0x4f0faf)=>{const _0x4eda50=a2_0x475355,_0xc71135=new SegmentFieldsCommand(),_0x306e25=program[_0x4eda50(0x347)](),_0x59ceba=await createTDXInstance(_0x306e25),_0x385b3=await _0xc71135[_0x4eda50(0x2ae)]({'options':{..._0x306e25,..._0x4f0faf},'args':_0x4d3e1e?[_0x4d3e1e]:[],'tdx':_0x59ceba});gracefulExit(_0x385b3);}),segmentCmd['command']('pull\x20[parent_or_file]')['description']('Pull\x20child\x20segments\x20to\x20YAML\x20files')['option'](a2_0x475355(0x20f),a2_0x475355(0x2a0))[a2_0x475355(0x1cb)](a2_0x475355(0x186),a2_0x475355(0x2b2))['action'](async(_0x527fdb,_0xd1daa1)=>{const _0x11cd0c=a2_0x475355,_0x2ec257=new SegmentPullCommand(),_0x4e2f01=program[_0x11cd0c(0x347)](),_0x14b8e9=await createTDXInstance(_0x4e2f01),_0x4c5653=await _0x2ec257[_0x11cd0c(0x2ae)]({'options':{..._0x4e2f01,..._0xd1daa1},'args':_0x527fdb?[_0x527fdb]:[],'tdx':_0x14b8e9});gracefulExit(_0x4c5653);}),segmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x2a9))[a2_0x475355(0x1fa)]('Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments')[a2_0x475355(0x1cb)](a2_0x475355(0x20f),a2_0x475355(0x2a0))[a2_0x475355(0x1cb)](a2_0x475355(0x186),a2_0x475355(0x2b2))['option'](a2_0x475355(0x1e6),a2_0x475355(0x272))[a2_0x475355(0x2de)](async(_0xbc4127,_0x5d8f4d)=>{const _0x34022a=a2_0x475355,_0x20d57d=new SegmentPushCommand(),_0x334559=program['opts'](),_0x5a3fcc=await createTDXInstance(_0x334559),_0x2b9dbf=await _0x20d57d[_0x34022a(0x2ae)]({'options':{..._0x334559,..._0x5d8f4d},'args':_0xbc4127?[_0xbc4127]:[],'tdx':_0x5a3fcc});gracefulExit(_0x2b9dbf);}),segmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x256))[a2_0x475355(0x1fa)](a2_0x475355(0x203))[a2_0x475355(0x2de)](async(_0x231465,_0x2c737a)=>{const _0x4a470c=a2_0x475355,_0x1c7147=new SegmentValidateCommand(),_0x3a053a=program[_0x4a470c(0x347)](),_0x1a035c=await createTDXInstance(_0x3a053a),_0x541019=await _0x1c7147[_0x4a470c(0x2ae)]({'options':{..._0x3a053a,..._0x2c737a},'args':_0x231465?[_0x231465]:[],'tdx':_0x1a035c});gracefulExit(_0x541019);}),segmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x33f),{'hidden':!![]})[a2_0x475355(0x1fa)](a2_0x475355(0x2c2))[a2_0x475355(0x1cb)]('--description\x20<text>',a2_0x475355(0x366))[a2_0x475355(0x1cb)](a2_0x475355(0x26c),'Filtering\x20rule\x20as\x20JSON\x20string')[a2_0x475355(0x1cb)](a2_0x475355(0x24a),a2_0x475355(0x2d7))[a2_0x475355(0x1cb)](a2_0x475355(0x357),'Folder\x20name\x20for\x20organization')[a2_0x475355(0x1cb)](a2_0x475355(0x1a6),a2_0x475355(0x355))[a2_0x475355(0x1cb)](a2_0x475355(0x1f4),a2_0x475355(0x21a))['option'](a2_0x475355(0x39a),a2_0x475355(0x31e))[a2_0x475355(0x2de)](async(_0x2b401b,_0x4cb0d4)=>{const _0x25ff12=a2_0x475355,_0x30a1ad=new SegmentCreateCommand(),_0x2f9842=program[_0x25ff12(0x347)](),_0x20b8b8=await createTDXInstance(_0x2f9842),_0x3e7b72=await _0x30a1ad['run']({'options':{..._0x2f9842,..._0x4cb0d4},'args':[_0x2b401b],'tdx':_0x20b8b8});gracefulExit(_0x3e7b72);}),segmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x1db),{'hidden':!![]})[a2_0x475355(0x1fa)]('[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x475355(0x1cb)](a2_0x475355(0x24e),'New\x20segment\x20name')['option']('--description\x20<text>',a2_0x475355(0x1bc))[a2_0x475355(0x1cb)](a2_0x475355(0x26c),a2_0x475355(0x1c1))[a2_0x475355(0x1cb)]('--rule-file\x20<file>',a2_0x475355(0x239))[a2_0x475355(0x1cb)](a2_0x475355(0x357),'Move\x20to\x20folder')[a2_0x475355(0x1cb)](a2_0x475355(0x1a6),a2_0x475355(0x355))[a2_0x475355(0x2de)](async(_0x327548,_0x5d1eb8)=>{const _0x3f1616=a2_0x475355,_0x3cc210=new SegmentUpdateCommand(),_0x4e740b=program[_0x3f1616(0x347)](),_0x1aaaba=await createTDXInstance(_0x4e740b),_0x272d63=await _0x3cc210[_0x3f1616(0x2ae)]({'options':{..._0x4e740b,..._0x5d1eb8},'args':[_0x327548],'tdx':_0x1aaaba});gracefulExit(_0x272d63);});const parentCmd=segmentCmd[a2_0x475355(0x36c)]('parent',{'hidden':!![]})[a2_0x475355(0x1fa)](a2_0x475355(0x3be)),parentListAction=async(_0x21a9d5,_0x54d4cf)=>{const _0x614e4a=a2_0x475355,_0x2c1dba=new ParentSegmentListCommand(),_0x421d3d=program[_0x614e4a(0x347)](),_0x2e1f12=await createTDXInstance(_0x421d3d),_0x323f9d=await _0x2c1dba[_0x614e4a(0x2ae)]({'options':{..._0x421d3d,..._0x54d4cf},'args':_0x21a9d5?[_0x21a9d5]:[],'tdx':_0x2e1f12});gracefulExit(_0x323f9d);};parentCmd[a2_0x475355(0x36c)](a2_0x475355(0x1a4))[a2_0x475355(0x1fa)]('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x475355(0x2de)](parentListAction),segmentCmd[a2_0x475355(0x36c)]('parents\x20[pattern]',{'hidden':!![]})[a2_0x475355(0x1fa)](a2_0x475355(0x371))[a2_0x475355(0x2de)](parentListAction),parentCmd[a2_0x475355(0x36c)](a2_0x475355(0x230))['description'](a2_0x475355(0x2fe))['option'](a2_0x475355(0x156),'Output\x20file\x20path\x20(default:\x20<name>.yml)')[a2_0x475355(0x1cb)](a2_0x475355(0x20f),'Skip\x20confirmation\x20prompt')[a2_0x475355(0x2de)](async(_0x5af790,_0x5a1e5a)=>{const _0x15f405=a2_0x475355,_0x48eb74=new ParentSegmentPullCommand(),_0x313e0f=program[_0x15f405(0x347)](),_0x540cfb=await createTDXInstance(_0x313e0f),_0x40ddd0=await _0x48eb74[_0x15f405(0x2ae)]({'options':{..._0x313e0f,..._0x5a1e5a},'args':_0x5af790?[_0x5af790]:[],'tdx':_0x540cfb});gracefulExit(_0x40ddd0);}),parentCmd[a2_0x475355(0x36c)](a2_0x475355(0x19a))[a2_0x475355(0x1fa)](a2_0x475355(0x22d))[a2_0x475355(0x1cb)](a2_0x475355(0x20f),a2_0x475355(0x31a))[a2_0x475355(0x2de)](async(_0x10afba,_0x142972)=>{const _0x425351=a2_0x475355,_0x2cd540=new ParentSegmentPushCommand(),_0x2f8590=program[_0x425351(0x347)](),_0x219faf=await createTDXInstance(_0x2f8590),_0x520b87=await _0x2cd540[_0x425351(0x2ae)]({'options':{..._0x2f8590,..._0x142972},'args':_0x10afba?[_0x10afba]:[],'tdx':_0x219faf});gracefulExit(_0x520b87);}),parentCmd['command']('validate\x20[file]')[a2_0x475355(0x1fa)](a2_0x475355(0x354))[a2_0x475355(0x1cb)](a2_0x475355(0x38f),a2_0x475355(0x246))[a2_0x475355(0x1cb)]('--attribute\x20[name]',a2_0x475355(0x280))[a2_0x475355(0x1cb)](a2_0x475355(0x3b4),a2_0x475355(0x27b))[a2_0x475355(0x1cb)]('--enriched',a2_0x475355(0x30c))[a2_0x475355(0x1cb)](a2_0x475355(0x2af),a2_0x475355(0x3a1),'-1d')[a2_0x475355(0x2de)](async(_0x47baae,_0x481d31)=>{const _0x2bb18c=a2_0x475355,_0xa0531f=new ParentSegmentValidateCommand(),_0x681e89=program[_0x2bb18c(0x347)](),_0x579e14=await createTDXInstance(_0x681e89),_0xc54275=await _0xa0531f[_0x2bb18c(0x2ae)]({'options':{..._0x681e89,..._0x481d31},'args':_0x47baae?[_0x47baae]:[],'tdx':_0x579e14});gracefulExit(_0xc54275);}),parentCmd['command'](a2_0x475355(0x1f2))[a2_0x475355(0x1fa)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x475355(0x1cb)](a2_0x475355(0x38f),a2_0x475355(0x316))['option'](a2_0x475355(0x1b7),a2_0x475355(0x217))[a2_0x475355(0x1cb)](a2_0x475355(0x3b4),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x475355(0x1cb)](a2_0x475355(0x253),a2_0x475355(0x1a9))['option'](a2_0x475355(0x2af),a2_0x475355(0x3a1),a2_0x475355(0x3bc))[a2_0x475355(0x2de)](async(_0xe188d4,_0x197ce8)=>{const _0x1ffdd6=a2_0x475355,_0x21ba79=new ParentSegmentPreviewCommand(),_0x1d8283=program[_0x1ffdd6(0x347)](),_0x533391=await createTDXInstance(_0x1d8283),_0x41aec3=await _0x21ba79[_0x1ffdd6(0x2ae)]({'options':{..._0x1d8283,..._0x197ce8},'args':_0xe188d4?[_0xe188d4]:[],'tdx':_0x533391});gracefulExit(_0x41aec3);}),parentCmd[a2_0x475355(0x36c)]('run\x20[name]')[a2_0x475355(0x1fa)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')['option'](a2_0x475355(0x20f),a2_0x475355(0x31a))[a2_0x475355(0x2de)](async(_0x3a7e0f,_0x3b832b)=>{const _0x23525e=a2_0x475355,_0x9cbefe=new ParentSegmentRunCommand(),_0xe6120c=program[_0x23525e(0x347)](),_0x1cee12=await createTDXInstance(_0xe6120c),_0x11937f=await _0x9cbefe[_0x23525e(0x2ae)]({'options':{..._0xe6120c,..._0x3b832b},'args':_0x3a7e0f?[_0x3a7e0f]:[],'tdx':_0x1cee12});gracefulExit(_0x11937f);});const parentSegmentCmd=program[a2_0x475355(0x36c)]('parent-segment')[a2_0x475355(0x38b)]('ps')[a2_0x475355(0x1fa)]('Parent\x20segment\x20management');parentSegmentCmd['command'](a2_0x475355(0x1a4))[a2_0x475355(0x1fa)](a2_0x475355(0x17c))['action'](parentListAction),parentSegmentCmd['command'](a2_0x475355(0x230))['description'](a2_0x475355(0x295))['option'](a2_0x475355(0x156),a2_0x475355(0x1f7))[a2_0x475355(0x1cb)]('-y,\x20--yes',a2_0x475355(0x31a))[a2_0x475355(0x1cb)](a2_0x475355(0x266),a2_0x475355(0x150))[a2_0x475355(0x2de)](async(_0x466ca7,_0x333e45)=>{const _0x18dee4=a2_0x475355,_0x26379e=new ParentSegmentPullCommand(),_0x4a34ec=program[_0x18dee4(0x347)](),_0x22b454=await createTDXInstance(_0x4a34ec),_0x5a39d4=await _0x26379e[_0x18dee4(0x2ae)]({'options':{..._0x4a34ec,..._0x333e45},'args':_0x466ca7?[_0x466ca7]:[],'tdx':_0x22b454});gracefulExit(_0x5a39d4);}),parentSegmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x285))[a2_0x475355(0x1fa)](a2_0x475355(0x2ff))['option'](a2_0x475355(0x20f),a2_0x475355(0x31a))['action'](async(_0x452540,_0x159188)=>{const _0x49f3a0=a2_0x475355,_0x1a5af6=new ParentSegmentPushCommand(),_0x1b8a9f=program[_0x49f3a0(0x347)](),_0x1f086b=await createTDXInstance(_0x1b8a9f),_0xe09967=await _0x1a5af6[_0x49f3a0(0x2ae)]({'options':{..._0x1b8a9f,..._0x159188},'args':_0x452540?[_0x452540]:[],'tdx':_0x1f086b});gracefulExit(_0xe09967);}),parentSegmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x162))[a2_0x475355(0x1fa)](a2_0x475355(0x354))['option']('--master',a2_0x475355(0x246))[a2_0x475355(0x1cb)]('--attribute\x20[name]','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x475355(0x1cb)](a2_0x475355(0x3b4),a2_0x475355(0x27b))['option'](a2_0x475355(0x253),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x475355(0x1cb)]('--interval\x20<range>',a2_0x475355(0x3a1),a2_0x475355(0x3bc))['action'](async(_0xcf533,_0x303e2a)=>{const _0x1ccf75=a2_0x475355,_0x272290=new ParentSegmentValidateCommand(),_0x12f858=program[_0x1ccf75(0x347)](),_0x2bfc35=await createTDXInstance(_0x12f858),_0x3055a7=await _0x272290[_0x1ccf75(0x2ae)]({'options':{..._0x12f858,..._0x303e2a},'args':_0xcf533?[_0xcf533]:[],'tdx':_0x2bfc35});gracefulExit(_0x3055a7);}),parentSegmentCmd['command'](a2_0x475355(0x3ad))['description']('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')['option'](a2_0x475355(0x38f),a2_0x475355(0x316))['option'](a2_0x475355(0x1b7),a2_0x475355(0x217))['option'](a2_0x475355(0x3b4),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x475355(0x1cb)]('--enriched',a2_0x475355(0x1a9))[a2_0x475355(0x1cb)](a2_0x475355(0x2af),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x475355(0x3bc))[a2_0x475355(0x2de)](async(_0x161f06,_0xa8d950)=>{const _0x4f2559=new ParentSegmentPreviewCommand(),_0x144906=program['opts'](),_0xc2a667=await createTDXInstance(_0x144906),_0x4490f8=await _0x4f2559['run']({'options':{..._0x144906,..._0xa8d950},'args':_0x161f06?[_0x161f06]:[],'tdx':_0xc2a667});gracefulExit(_0x4490f8);}),parentSegmentCmd['command'](a2_0x475355(0x391))[a2_0x475355(0x1fa)](a2_0x475355(0x234))[a2_0x475355(0x1cb)](a2_0x475355(0x20f),a2_0x475355(0x31a))['action'](async(_0x1198f1,_0x3da3e1)=>{const _0x33ef8a=a2_0x475355,_0x57f9f8=new ParentSegmentRunCommand(),_0x50f1ff=program[_0x33ef8a(0x347)](),_0x481e9e=await createTDXInstance(_0x50f1ff),_0x1981bb=await _0x57f9f8['run']({'options':{..._0x50f1ff,..._0x3da3e1},'args':_0x1198f1?[_0x1198f1]:[],'tdx':_0x481e9e});gracefulExit(_0x1981bb);}),parentSegmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x399))['description']('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x475355(0x1b5),a2_0x475355(0x216))[a2_0x475355(0x1cb)](a2_0x475355(0x34b),'Output\x20as\x20JSON\x20Lines')[a2_0x475355(0x2de)](async(_0x29d93b,_0x38a63b)=>{const _0x66829=a2_0x475355,_0x46b0d6=new ParentSegmentFieldsCommand(),_0x1fcb87=program['opts'](),_0x2325fa=await createTDXInstance(_0x1fcb87),_0x4fbb28=await _0x46b0d6[_0x66829(0x2ae)]({'options':{..._0x1fcb87,..._0x38a63b},'args':_0x29d93b?[_0x29d93b]:[],'tdx':_0x2325fa});gracefulExit(_0x4fbb28);}),parentSegmentCmd['command'](a2_0x475355(0x228))[a2_0x475355(0x1fa)](a2_0x475355(0x2fc))[a2_0x475355(0x1cb)]('-w,\x20--web',a2_0x475355(0x18f))['option'](a2_0x475355(0x1b5),a2_0x475355(0x216))[a2_0x475355(0x1cb)]('--jsonl',a2_0x475355(0x36e))[a2_0x475355(0x2de)](async(_0x10555e,_0x4671e0)=>{const _0x269157=a2_0x475355,_0x590e75=new ParentSegmentViewCommand(),_0x33b4bf=program[_0x269157(0x347)](),_0x323863=await createTDXInstance(_0x33b4bf),_0x5be16c=await _0x590e75[_0x269157(0x2ae)]({'options':{..._0x33b4bf,..._0x4671e0},'args':_0x10555e?[_0x10555e]:[],'tdx':_0x323863});gracefulExit(_0x5be16c);}),parentSegmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x309))[a2_0x475355(0x1fa)](a2_0x475355(0x229))['option']('-o,\x20--output\x20<file>',a2_0x475355(0x1f7))[a2_0x475355(0x1cb)](a2_0x475355(0x1b5),'Output\x20as\x20JSON')[a2_0x475355(0x1cb)]('--jsonl',a2_0x475355(0x36e))[a2_0x475355(0x2de)](async(_0x2b5f75,_0x194a6d)=>{const _0x10cfbe=a2_0x475355,_0x2dc8ba=new ParentSegmentDescCommand(),_0x13ea91=program[_0x10cfbe(0x347)](),_0x1f28d6=await createTDXInstance(_0x13ea91),_0x18a233=await _0x2dc8ba[_0x10cfbe(0x2ae)]({'options':{..._0x13ea91,..._0x194a6d},'args':_0x2b5f75?[_0x2b5f75]:[],'tdx':_0x1f28d6});gracefulExit(_0x18a233);}),parentSegmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x2a8))[a2_0x475355(0x1fa)](a2_0x475355(0x184))[a2_0x475355(0x1cb)](a2_0x475355(0x1b5),a2_0x475355(0x216))['option'](a2_0x475355(0x34b),a2_0x475355(0x36e))[a2_0x475355(0x2de)](async(_0x4181c1,_0x532bad)=>{const _0x5908f2=a2_0x475355,_0x3348b5=new ParentSegmentSQLCommand(),_0x1da87e=program[_0x5908f2(0x347)](),_0x3cc06f=await createTDXInstance(_0x1da87e),_0x7db39b=await _0x3348b5[_0x5908f2(0x2ae)]({'options':{..._0x1da87e,..._0x532bad},'args':_0x4181c1?[_0x4181c1]:[],'tdx':_0x3cc06f});gracefulExit(_0x7db39b);}),parentSegmentCmd[a2_0x475355(0x36c)]('show\x20[name]')[a2_0x475355(0x1fa)](a2_0x475355(0x3bf))['option']('--limit\x20<n>','Limit\x20number\x20of\x20rows')[a2_0x475355(0x1cb)](a2_0x475355(0x1b5),'Output\x20as\x20JSON')[a2_0x475355(0x1cb)](a2_0x475355(0x34b),a2_0x475355(0x36e))[a2_0x475355(0x2de)](async(_0x5791e0,_0x603625)=>{const _0x2f1a99=a2_0x475355,_0x391cbd=new ParentSegmentShowCommand(),_0x53eec3=program[_0x2f1a99(0x347)](),_0x132138=await createTDXInstance(_0x53eec3),_0x467adb=await _0x391cbd[_0x2f1a99(0x2ae)]({'options':{..._0x53eec3,..._0x603625},'args':_0x5791e0?[_0x5791e0]:[],'tdx':_0x132138});gracefulExit(_0x467adb);}),parentSegmentCmd['command']('use\x20[name]')[a2_0x475355(0x1fa)](a2_0x475355(0x32c))['action'](async(_0x28aad5,_0x2196b5)=>{const _0x22adb0=a2_0x475355,_0x947bed=new UseCommand(),_0x177798=program['opts'](),_0x5c0311=_0x28aad5?[_0x22adb0(0x27f),_0x28aad5]:[],_0x539132=await _0x947bed[_0x22adb0(0x2ae)]({'options':{..._0x177798,..._0x2196b5},'args':_0x5c0311,'tdx':null});gracefulExit(_0x539132);});const psRtCmd=parentSegmentCmd[a2_0x475355(0x36c)]('rt')[a2_0x475355(0x1fa)](a2_0x475355(0x248));psRtCmd[a2_0x475355(0x36c)](a2_0x475355(0x1a4))[a2_0x475355(0x1fa)](a2_0x475355(0x377))[a2_0x475355(0x2de)](async(_0x19abb1,_0x383957)=>{const _0x18a4d9=a2_0x475355,_0x3bcdb6=new PSRtListCommand(),_0x5e1440=program[_0x18a4d9(0x347)](),_0x20d904=await createTDXInstance(_0x5e1440),_0x2f6d28=await _0x3bcdb6[_0x18a4d9(0x2ae)]({'options':{..._0x5e1440,..._0x383957},'args':_0x19abb1?[_0x19abb1]:[],'tdx':_0x20d904});gracefulExit(_0x2f6d28);}),psRtCmd[a2_0x475355(0x36c)](a2_0x475355(0x162))[a2_0x475355(0x1fa)](a2_0x475355(0x196))['action'](async(_0x54b3ec,_0x90508c)=>{const _0x3b2c2b=a2_0x475355,_0x88a789=new PSRtValidateCommand(),_0x518a7c=program[_0x3b2c2b(0x347)](),_0x2c3bf8=await createTDXInstance(_0x518a7c),_0x579da5=await _0x88a789[_0x3b2c2b(0x2ae)]({'options':{..._0x518a7c,..._0x90508c},'args':_0x54b3ec?[_0x54b3ec]:[],'tdx':_0x2c3bf8});gracefulExit(_0x579da5);});const parentRtCmd=parentCmd[a2_0x475355(0x36c)]('rt',{'hidden':!![]})[a2_0x475355(0x1fa)](a2_0x475355(0x248));parentRtCmd[a2_0x475355(0x36c)]('list\x20[pattern]')['description'](a2_0x475355(0x377))[a2_0x475355(0x2de)](async(_0x4ebe33,_0x2a249d)=>{const _0x3c27f1=a2_0x475355,_0x574f77=new PSRtListCommand(),_0x2bd84e=program['opts'](),_0x58b3b9=await createTDXInstance(_0x2bd84e),_0x172038=await _0x574f77[_0x3c27f1(0x2ae)]({'options':{..._0x2bd84e,..._0x2a249d},'args':_0x4ebe33?[_0x4ebe33]:[],'tdx':_0x58b3b9});gracefulExit(_0x172038);}),parentRtCmd['command'](a2_0x475355(0x162))['description'](a2_0x475355(0x196))[a2_0x475355(0x2de)](async(_0x35b8f4,_0x9935c5)=>{const _0x4c4cf0=a2_0x475355,_0x290b04=new PSRtValidateCommand(),_0x1bc0db=program[_0x4c4cf0(0x347)](),_0x49ee94=await createTDXInstance(_0x1bc0db),_0x1da7f4=await _0x290b04['run']({'options':{..._0x1bc0db,..._0x9935c5},'args':_0x35b8f4?[_0x35b8f4]:[],'tdx':_0x49ee94});gracefulExit(_0x1da7f4);});const psPzCmd=parentSegmentCmd[a2_0x475355(0x36c)]('pz')['description']('Personalization\x20service\x20management');psPzCmd[a2_0x475355(0x36c)](a2_0x475355(0x179))[a2_0x475355(0x1fa)](a2_0x475355(0x2e1))[a2_0x475355(0x2de)](async(_0x229829,_0x4d6156)=>{const _0x45f774=a2_0x475355,_0x26c5f8=new PSPzListCommand(),_0x2aed52=program[_0x45f774(0x347)](),_0x485ee1=await createTDXInstance(_0x2aed52),_0x3e5cb8=await _0x26c5f8[_0x45f774(0x2ae)]({'options':{..._0x2aed52,..._0x4d6156},'args':_0x229829?[_0x229829]:[],'tdx':_0x485ee1});gracefulExit(_0x3e5cb8);}),psPzCmd[a2_0x475355(0x36c)](a2_0x475355(0x273))['description'](a2_0x475355(0x35b))[a2_0x475355(0x2de)](async(_0x5e63b9,_0x731013)=>{const _0x521751=a2_0x475355,_0x18b6f8=new PSPzInitCommand(),_0x41c991=program[_0x521751(0x347)](),_0x760e7=await createTDXInstance(_0x41c991),_0x391784=await _0x18b6f8[_0x521751(0x2ae)]({'options':{..._0x41c991,..._0x731013},'args':_0x5e63b9?[_0x5e63b9]:[],'tdx':_0x760e7});gracefulExit(_0x391784);});const parentPzCmd=parentCmd[a2_0x475355(0x36c)]('pz',{'hidden':!![]})[a2_0x475355(0x1fa)](a2_0x475355(0x255));parentPzCmd['command'](a2_0x475355(0x179))[a2_0x475355(0x1fa)](a2_0x475355(0x2e1))[a2_0x475355(0x2de)](async(_0xa069d8,_0x269a2f)=>{const _0x1f8e9f=a2_0x475355,_0x38d042=new PSPzListCommand(),_0x338430=program[_0x1f8e9f(0x347)](),_0x5c9369=await createTDXInstance(_0x338430),_0x5525b6=await _0x38d042[_0x1f8e9f(0x2ae)]({'options':{..._0x338430,..._0x269a2f},'args':_0xa069d8?[_0xa069d8]:[],'tdx':_0x5c9369});gracefulExit(_0x5525b6);}),parentPzCmd[a2_0x475355(0x36c)]('init\x20[name]')['description'](a2_0x475355(0x35b))['action'](async(_0x9dcf97,_0x597846)=>{const _0x24bd2b=a2_0x475355,_0x314cc2=new PSPzInitCommand(),_0x479885=program[_0x24bd2b(0x347)](),_0x52cf5e=await createTDXInstance(_0x479885),_0x1eaa07=await _0x314cc2['run']({'options':{..._0x479885,..._0x597846},'args':_0x9dcf97?[_0x9dcf97]:[],'tdx':_0x52cf5e});gracefulExit(_0x1eaa07);}),parentCmd[a2_0x475355(0x36c)]('create\x20<name>')[a2_0x475355(0x1fa)](a2_0x475355(0x31c))['requiredOption'](a2_0x475355(0x3c7),a2_0x475355(0x202))[a2_0x475355(0x17b)]('--table\x20<table>',a2_0x475355(0x1d0))[a2_0x475355(0x1cb)](a2_0x475355(0x1fe),a2_0x475355(0x2f9))[a2_0x475355(0x1cb)]('--schedule-type\x20<type>',a2_0x475355(0x385))['option'](a2_0x475355(0x146),a2_0x475355(0x148))[a2_0x475355(0x1cb)]('--timezone\x20<tz>',a2_0x475355(0x2d3))[a2_0x475355(0x1cb)](a2_0x475355(0x20a),a2_0x475355(0x140))[a2_0x475355(0x1cb)](a2_0x475355(0x2c1),a2_0x475355(0x23d))[a2_0x475355(0x1cb)](a2_0x475355(0x22c),a2_0x475355(0x386))[a2_0x475355(0x1cb)](a2_0x475355(0x2da),a2_0x475355(0x1c0))[a2_0x475355(0x1cb)](a2_0x475355(0x38e),a2_0x475355(0x34c))[a2_0x475355(0x1cb)]('--customer-group-file\x20<file>',a2_0x475355(0x2ba))[a2_0x475355(0x2de)](async(_0x53ba5b,_0x798871)=>{const _0x561ed9=a2_0x475355,_0xd5e15=new ParentSegmentCreateCommand(),_0x1fcfb1=program[_0x561ed9(0x347)](),_0x2d34a4=await createTDXInstance(_0x1fcfb1),_0x43d83f=await _0xd5e15[_0x561ed9(0x2ae)]({'options':{..._0x1fcfb1,..._0x798871},'args':[_0x53ba5b],'tdx':_0x2d34a4});gracefulExit(_0x43d83f);}),parentCmd[a2_0x475355(0x36c)](a2_0x475355(0x346))[a2_0x475355(0x1fa)]('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x475355(0x1cb)](a2_0x475355(0x1fe),a2_0x475355(0x1bc))[a2_0x475355(0x1cb)]('--schedule-type\x20<type>',a2_0x475355(0x282))['option']('--schedule-option\x20<value>','Updated\x20schedule\x20option')[a2_0x475355(0x1cb)]('--timezone\x20<tz>','Updated\x20timezone')[a2_0x475355(0x1cb)]('--add-attributes\x20<json>','Add\x20attributes\x20as\x20JSON\x20string')[a2_0x475355(0x1cb)]('--add-attributes-file\x20<file>',a2_0x475355(0x2c3))['option'](a2_0x475355(0x2fd),a2_0x475355(0x2d8))[a2_0x475355(0x1cb)](a2_0x475355(0x3af),a2_0x475355(0x3b1))[a2_0x475355(0x2de)](async(_0x1a64f7,_0x9d58c2)=>{const _0x4f78bc=a2_0x475355,_0x4ef0f5=new ParentSegmentUpdateCommand(),_0x54a5f7=program[_0x4f78bc(0x347)](),_0x497f7d=await createTDXInstance(_0x54a5f7),_0x39bdc2=await _0x4ef0f5[_0x4f78bc(0x2ae)]({'options':{..._0x54a5f7,..._0x9d58c2},'args':[_0x1a64f7],'tdx':_0x497f7d});gracefulExit(_0x39bdc2);}),folderCmd['command'](a2_0x475355(0x2ee))['description'](a2_0x475355(0x19b))[a2_0x475355(0x1cb)](a2_0x475355(0x1fe),a2_0x475355(0x17f))[a2_0x475355(0x1cb)](a2_0x475355(0x225),a2_0x475355(0x3a2))['action'](async(_0x1e9689,_0x5aba77,_0x40aafc)=>{const _0x60d9bd=a2_0x475355,_0x389e9c=new SegmentFolderCreateCommand(),_0x213822=program[_0x60d9bd(0x347)](),_0x22c6ac=await createTDXInstance(_0x213822),_0x1b3ba8=await _0x389e9c[_0x60d9bd(0x2ae)]({'options':{..._0x213822,..._0x40aafc},'args':[_0x1e9689,_0x5aba77],'tdx':_0x22c6ac});gracefulExit(_0x1b3ba8);}),program['command']('activations\x20<segment_name>')['description'](a2_0x475355(0x348))[a2_0x475355(0x2de)](async(_0xa7f35d,_0x22630e)=>{const _0x50df86=a2_0x475355,_0x35a25e=new ActivationsCommand(),_0x24aa50=program[_0x50df86(0x347)](),_0x193453=await createTDXInstance(_0x24aa50),_0x45acd0=await _0x35a25e[_0x50df86(0x2ae)]({'options':{..._0x24aa50,..._0x22630e},'args':[_0xa7f35d],'tdx':_0x193453});gracefulExit(_0x45acd0);});const workflowCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x33b))[a2_0x475355(0x38b)]('wf')[a2_0x475355(0x1fa)](a2_0x475355(0x1b0)),wfProjectCmd=workflowCmd[a2_0x475355(0x36c)]('project')[a2_0x475355(0x1fa)](a2_0x475355(0x34a)),wfProjectListAction=async(_0x523032,_0x5de7d1)=>{const _0x53cc9f=a2_0x475355,_0x4225fb=new WorkflowProjectsCommand(),_0x5e5af8=program[_0x53cc9f(0x347)](),_0x58a059=await createTDXInstance(_0x5e5af8),_0x1950e6=await _0x4225fb[_0x53cc9f(0x2ae)]({'options':{..._0x5e5af8,..._0x5de7d1},'args':_0x523032?[_0x523032]:[],'tdx':_0x58a059});gracefulExit(_0x1950e6);};wfProjectCmd['command']('list\x20[pattern]')[a2_0x475355(0x1fa)]('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x475355(0x2de)](wfProjectListAction),workflowCmd[a2_0x475355(0x36c)]('projects\x20[pattern]')['description'](a2_0x475355(0x378))[a2_0x475355(0x2de)](wfProjectListAction);const wfWorkflowListAction=async(_0x51d3bc,_0xab43c)=>{const _0x4088f6=new WorkflowWorkflowsCommand(),_0x13cbc7=program['opts'](),_0x1d585b=await createTDXInstance(_0x13cbc7),_0x3b5a02=await _0x4088f6['run']({'options':{..._0x13cbc7,..._0xab43c},'args':_0x51d3bc?[_0x51d3bc]:[],'tdx':_0x1d585b});gracefulExit(_0x3b5a02);};workflowCmd[a2_0x475355(0x36c)](a2_0x475355(0x1d4))['description'](a2_0x475355(0x320))[a2_0x475355(0x2de)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x475355(0x36c)](a2_0x475355(0x2f4))[a2_0x475355(0x1fa)](a2_0x475355(0x269)),wfSessionListAction=async(_0x142c7d,_0x11469c)=>{const _0x46af8f=a2_0x475355,_0x28e070=new WorkflowSessionsCommand(),_0x526c66=program['opts'](),_0x2c0532=await createTDXInstance(_0x526c66),_0x3030f6=await _0x28e070[_0x46af8f(0x2ae)]({'options':{..._0x526c66,..._0x11469c},'args':_0x142c7d?[_0x142c7d]:[],'tdx':_0x2c0532});gracefulExit(_0x3030f6);};wfSessionCmd[a2_0x475355(0x36c)](a2_0x475355(0x22e))['description']('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x475355(0x1cb)](a2_0x475355(0x28d),a2_0x475355(0x19e))['option'](a2_0x475355(0x2b1),a2_0x475355(0x2ea))[a2_0x475355(0x1cb)](a2_0x475355(0x3cb),a2_0x475355(0x2a4))[a2_0x475355(0x2de)](wfSessionListAction),workflowCmd[a2_0x475355(0x36c)](a2_0x475355(0x26e))[a2_0x475355(0x1fa)](a2_0x475355(0x1e3))[a2_0x475355(0x1cb)](a2_0x475355(0x28d),a2_0x475355(0x19e))[a2_0x475355(0x1cb)]('--from\x20<timestamp>','Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option'](a2_0x475355(0x3cb),a2_0x475355(0x2a4))['action'](wfSessionListAction);const wfAttemptListAction=async(_0x226a13,_0x4e35ea)=>{const _0x550bf1=a2_0x475355,_0x26829f=new WorkflowAttemptsCommand(),_0x5a84e0=program[_0x550bf1(0x347)](),_0x5775be=await createTDXInstance(_0x5a84e0),_0x1079d6=await _0x26829f[_0x550bf1(0x2ae)]({'options':{..._0x5a84e0,..._0x4e35ea},'args':_0x226a13?[_0x226a13]:[],'tdx':_0x5775be});gracefulExit(_0x1079d6);},attemptCmd=workflowCmd['command'](a2_0x475355(0x3ce))[a2_0x475355(0x1fa)](a2_0x475355(0x36b))['argument'](a2_0x475355(0x2e6),a2_0x475355(0x3cc))[a2_0x475355(0x356)]('[action]',a2_0x475355(0x359))[a2_0x475355(0x356)](a2_0x475355(0x2dd),a2_0x475355(0x310))[a2_0x475355(0x1cb)](a2_0x475355(0x2c5),a2_0x475355(0x39e))[a2_0x475355(0x1cb)](a2_0x475355(0x3b3),a2_0x475355(0x29c))[a2_0x475355(0x1cb)](a2_0x475355(0x372),a2_0x475355(0x370))[a2_0x475355(0x1cb)]('--params\x20<json>',a2_0x475355(0x3a4))[a2_0x475355(0x1cb)](a2_0x475355(0x275),a2_0x475355(0x393))[a2_0x475355(0x1cb)](a2_0x475355(0x224),a2_0x475355(0x388))['action'](async(_0x1ddbb0,_0x187538,_0x577bdc,_0x9f51d7)=>{const _0x47f05a=a2_0x475355;if(_0x1ddbb0==='list'){await wfAttemptListAction(_0x187538,_0x9f51d7);return;}if(!_0x1ddbb0){attemptCmd['help']();return;}const _0x3d52a5=program['opts'](),_0x4ba32b=await createTDXInstance(_0x3d52a5);let _0x8f4bb=0x0;if(!_0x187538){const _0xe91755=new WorkflowAttemptCommand();_0x8f4bb=await _0xe91755[_0x47f05a(0x2ae)]({'options':{..._0x3d52a5,..._0x9f51d7},'args':[_0x1ddbb0],'tdx':_0x4ba32b});}else{if(_0x187538===_0x47f05a(0x286)){const _0x37217a=new WorkflowLogsCommand();_0x8f4bb=await _0x37217a[_0x47f05a(0x2ae)]({'options':{..._0x3d52a5,..._0x9f51d7},'args':_0x577bdc?[_0x1ddbb0,_0x577bdc]:[_0x1ddbb0],'tdx':_0x4ba32b});}else{if(_0x187538===_0x47f05a(0x369)){const _0x4c8eaf=new WorkflowTasksCommand();_0x8f4bb=await _0x4c8eaf[_0x47f05a(0x2ae)]({'options':{..._0x3d52a5,..._0x9f51d7},'args':[_0x1ddbb0],'tdx':_0x4ba32b});}else{if(_0x187538===_0x47f05a(0x283)){const _0x571ef6=new WorkflowKillCommand();_0x8f4bb=await _0x571ef6[_0x47f05a(0x2ae)]({'options':{..._0x3d52a5,..._0x9f51d7},'args':[_0x1ddbb0],'tdx':_0x4ba32b});}else{if(_0x187538==='retry'){const _0x546388=new WorkflowRetryCommand();_0x8f4bb=await _0x546388[_0x47f05a(0x2ae)]({'options':{..._0x3d52a5,..._0x9f51d7},'args':[_0x47f05a(0x151)+_0x1ddbb0],'tdx':_0x4ba32b});}else console[_0x47f05a(0x1c8)](_0x47f05a(0x18a)+_0x187538),console[_0x47f05a(0x1c8)](_0x47f05a(0x173)),_0x8f4bb=0x1;}}}}gracefulExit(_0x8f4bb);});attemptCmd[a2_0x475355(0x36c)](a2_0x475355(0x22e))['description'](a2_0x475355(0x2bf))[a2_0x475355(0x1cb)](a2_0x475355(0x224),a2_0x475355(0x3b6))['action'](wfAttemptListAction),workflowCmd['command'](a2_0x475355(0x2a2))[a2_0x475355(0x1fa)](a2_0x475355(0x380))[a2_0x475355(0x1cb)](a2_0x475355(0x224),'Include\x20retried\x20attempts')[a2_0x475355(0x2de)](wfAttemptListAction),workflowCmd[a2_0x475355(0x36c)](a2_0x475355(0x222))[a2_0x475355(0x1fa)](a2_0x475355(0x1b4))[a2_0x475355(0x1cb)](a2_0x475355(0x175),'Follow/watch\x20timeline\x20for\x20running\x20attempts')['option'](a2_0x475355(0x281),a2_0x475355(0x1ea))[a2_0x475355(0x1cb)](a2_0x475355(0x182),'Show\x20timeline\x20for\x20specific\x20attempt')[a2_0x475355(0x2de)](async(_0x2b3b10,_0x22131b)=>{const _0x31b0d6=a2_0x475355,_0x4be379=new WorkflowTimelineCommand(),_0x26a848=program['opts'](),_0x2f8fd0=await createTDXInstance(_0x26a848),_0x57f49f=await _0x4be379[_0x31b0d6(0x2ae)]({'options':{..._0x26a848,..._0x22131b},'args':_0x2b3b10?[_0x2b3b10]:[],'tdx':_0x2f8fd0});gracefulExit(_0x57f49f);}),workflowCmd[a2_0x475355(0x36c)](a2_0x475355(0x3b9))['description'](a2_0x475355(0x22b))[a2_0x475355(0x1cb)]('--from-task\x20<task>','Resume\x20from\x20specific\x20task')[a2_0x475355(0x1cb)](a2_0x475355(0x37b),a2_0x475355(0x2f7))[a2_0x475355(0x2de)](async(_0x3ec123,_0x367c76)=>{const _0x3c9c0b=a2_0x475355,_0x42913d=new WorkflowRetryCommand(),_0xd52119=program['opts'](),_0x4a6a77=await createTDXInstance(_0xd52119),_0x5a012e=await _0x42913d[_0x3c9c0b(0x2ae)]({'options':{..._0xd52119,..._0x367c76},'args':[_0x3ec123],'tdx':_0x4a6a77});gracefulExit(_0x5a012e);}),workflowCmd[a2_0x475355(0x36c)](a2_0x475355(0x3b8))[a2_0x475355(0x1fa)](a2_0x475355(0x27e))['option']('--param\x20<key=value>',a2_0x475355(0x318),(_0x199c75,_0x4a737d=[])=>[..._0x4a737d,_0x199c75],[])[a2_0x475355(0x1cb)](a2_0x475355(0x2ce),a2_0x475355(0x1ce))[a2_0x475355(0x2de)](async(_0x1fe472,_0x38d45b)=>{const _0x3edcb4=a2_0x475355,_0x574f1a=new WorkflowRunCommand(),_0x1ba39e=program[_0x3edcb4(0x347)](),_0x365120=await createTDXInstance(_0x1ba39e),_0x518e79=await _0x574f1a[_0x3edcb4(0x2ae)]({'options':{..._0x1ba39e,..._0x38d45b},'args':_0x1fe472?[_0x1fe472]:[],'tdx':_0x365120});gracefulExit(_0x518e79);}),workflowCmd['command'](a2_0x475355(0x209))[a2_0x475355(0x1fa)]('Download\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x475355(0x1cb)](a2_0x475355(0x14e),a2_0x475355(0x25f))[a2_0x475355(0x2de)](async(_0x50c88d,_0x1c383c,_0x3ca33a)=>{const _0x14a73b=new WorkflowDownloadCommand(),_0xf5913a=program['opts'](),_0x1b111c=await createTDXInstance(_0xf5913a),_0x205a93=await _0x14a73b['run']({'options':{..._0xf5913a,..._0x3ca33a},'args':[_0x50c88d,_0x1c383c||'.'],'tdx':_0x1b111c});gracefulExit(_0x205a93);}),workflowCmd[a2_0x475355(0x36c)](a2_0x475355(0x2dc))[a2_0x475355(0x1fa)](a2_0x475355(0x165))[a2_0x475355(0x1cb)](a2_0x475355(0x14e),'Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0x475355(0x1cb)](a2_0x475355(0x186),a2_0x475355(0x214))['option']('-y,\x20--yes',a2_0x475355(0x31a))['action'](async(_0x21066c,_0xa33471,_0x66e713)=>{const _0x1d36b6=a2_0x475355,_0xf12de7=new WorkflowPullCommand(),_0x5737dc=program[_0x1d36b6(0x347)](),_0x2c8662=await createTDXInstance(_0x5737dc),_0x19a683=await _0xf12de7[_0x1d36b6(0x2ae)]({'options':{..._0x5737dc,..._0x66e713},'args':_0xa33471?[_0x21066c,_0xa33471]:[_0x21066c],'tdx':_0x2c8662});gracefulExit(_0x19a683);}),workflowCmd[a2_0x475355(0x36c)]('push\x20[source-dir]')[a2_0x475355(0x1fa)](a2_0x475355(0x29d))[a2_0x475355(0x1cb)](a2_0x475355(0x14e),a2_0x475355(0x15c))['option'](a2_0x475355(0x186),a2_0x475355(0x284))[a2_0x475355(0x1cb)](a2_0x475355(0x2f1),a2_0x475355(0x2b4))[a2_0x475355(0x1cb)](a2_0x475355(0x20f),a2_0x475355(0x31a))['action'](async(_0x2e9db0,_0x40293e)=>{const _0x32b53e=a2_0x475355,_0xe089fb=new WorkflowPushCommand(),_0x8ca559=program[_0x32b53e(0x347)](),_0x32d01d=await createTDXInstance(_0x8ca559),_0x512550=await _0xe089fb[_0x32b53e(0x2ae)]({'options':{..._0x8ca559,..._0x40293e},'args':_0x2e9db0?[_0x2e9db0]:[],'tdx':_0x32d01d});gracefulExit(_0x512550);}),workflowCmd[a2_0x475355(0x36c)]('upload\x20[project-name-or-dir]')['description'](a2_0x475355(0x243))['option'](a2_0x475355(0x358),a2_0x475355(0x2c4))[a2_0x475355(0x1cb)](a2_0x475355(0x14e),'Revision\x20name\x20(default:\x20timestamp)')[a2_0x475355(0x1cb)]('--skip-validation','Skip\x20validation\x20of\x20.dig\x20files')[a2_0x475355(0x2de)](async(_0x1d6bf6,_0x4ad691)=>{const _0x2860ae=a2_0x475355,_0x49628f=new WorkflowUploadCommand(),_0x1158a1=program[_0x2860ae(0x347)](),_0x31b4bd=await createTDXInstance(_0x1158a1),_0x50beac=await _0x49628f[_0x2860ae(0x2ae)]({'options':{..._0x1158a1,..._0x4ad691},'args':_0x1d6bf6?[_0x1d6bf6]:[],'tdx':_0x31b4bd});gracefulExit(_0x50beac);}),workflowCmd[a2_0x475355(0x36c)](a2_0x475355(0x3a6))[a2_0x475355(0x1fa)]('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')[a2_0x475355(0x1cb)](a2_0x475355(0x358),'Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x475355(0x1cb)](a2_0x475355(0x14e),'Custom\x20revision\x20name\x20(default:\x20timestamp)')[a2_0x475355(0x1cb)](a2_0x475355(0x186),a2_0x475355(0x35e))[a2_0x475355(0x1cb)](a2_0x475355(0x2f1),a2_0x475355(0x2b4))[a2_0x475355(0x1cb)](a2_0x475355(0x20f),'Skip\x20confirmation\x20prompt')[a2_0x475355(0x2de)](async(_0xba591f,_0x48dfa4)=>{const _0xee2efc=a2_0x475355,_0x4066a5=new WorkflowCloneCommand(),_0x458961=program[_0xee2efc(0x347)](),_0x3faf9b=await createTDXInstance(_0x458961),_0x2b550c=await _0x4066a5[_0xee2efc(0x2ae)]({'options':{..._0x458961,..._0x48dfa4},'args':_0xba591f?[_0xba591f]:[],'tdx':_0x3faf9b});gracefulExit(_0x2b550c);}),workflowCmd[a2_0x475355(0x36c)]('delete\x20<project-name-or-id>')[a2_0x475355(0x1fa)](a2_0x475355(0x2b5))[a2_0x475355(0x2de)](async(_0x514069,_0x4ad943)=>{const _0x1e207a=a2_0x475355,_0x57dbd4=new WorkflowDeleteCommand(),_0x24a589=program[_0x1e207a(0x347)](),_0x419463=await createTDXInstance(_0x24a589),_0x2d70aa=await _0x57dbd4['run']({'options':{..._0x24a589,..._0x4ad943},'args':[_0x514069],'tdx':_0x419463});gracefulExit(_0x2d70aa);}),workflowCmd[a2_0x475355(0x36c)](a2_0x475355(0x2a3))['description'](a2_0x475355(0x33d))[a2_0x475355(0x1cb)](a2_0x475355(0x159),'Clear\x20workflow\x20project\x20context')['action'](async(_0x1be5fb,_0x58c10d)=>{const _0x87e79d=a2_0x475355,_0x133046=new WorkflowUseCommand(),_0x291f7e=program[_0x87e79d(0x347)](),_0x45a7ce=await createTDXInstance(_0x291f7e),_0x1a784d=await _0x133046[_0x87e79d(0x2ae)]({'options':{..._0x291f7e,..._0x58c10d},'args':_0x1be5fb?[_0x1be5fb]:[],'tdx':_0x45a7ce});gracefulExit(_0x1a784d);});const wfSecretsCmd=workflowCmd[a2_0x475355(0x36c)](a2_0x475355(0x2e3))[a2_0x475355(0x1fa)](a2_0x475355(0x1e0));wfSecretsCmd['command'](a2_0x475355(0x22e))[a2_0x475355(0x1fa)]('List\x20secret\x20keys\x20for\x20a\x20project')[a2_0x475355(0x2de)](async(_0x5e92ed,_0x3393fa)=>{const _0x565e9c=a2_0x475355,_0xe2945e=new WorkflowSecretsListCommand(),_0x1db621=program[_0x565e9c(0x347)](),_0x43fe1f=await createTDXInstance(_0x1db621),_0x526874=await _0xe2945e[_0x565e9c(0x2ae)]({'options':{..._0x1db621,..._0x3393fa},'args':_0x5e92ed?[_0x5e92ed]:[],'tdx':_0x43fe1f});gracefulExit(_0x526874);}),wfSecretsCmd['command']('set\x20<args...>')[a2_0x475355(0x1fa)](a2_0x475355(0x2c0))[a2_0x475355(0x2de)](async(_0x4aec35,_0x286d33)=>{const _0x32af59=a2_0x475355,_0x56f09b=new WorkflowSecretsSetCommand(),_0x3787c3=program[_0x32af59(0x347)](),_0x263794=await createTDXInstance(_0x3787c3),_0x501d04=await _0x56f09b[_0x32af59(0x2ae)]({'options':{..._0x3787c3,..._0x286d33},'args':_0x4aec35,'tdx':_0x263794});gracefulExit(_0x501d04);}),wfSecretsCmd[a2_0x475355(0x36c)](a2_0x475355(0x35f))['description'](a2_0x475355(0x330))[a2_0x475355(0x1cb)](a2_0x475355(0x20f),'Skip\x20confirmation\x20prompt')['action'](async(_0x2e0ba8,_0x10bc6a)=>{const _0x464ce6=a2_0x475355,_0x1f21b0=new WorkflowSecretsDeleteCommand(),_0x5b2525=program[_0x464ce6(0x347)](),_0x4a8cba=await createTDXInstance(_0x5b2525),_0x282806=await _0x1f21b0[_0x464ce6(0x2ae)]({'options':{..._0x5b2525,..._0x10bc6a},'args':_0x2e0ba8,'tdx':_0x4a8cba});gracefulExit(_0x282806);});const jobCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x270))[a2_0x475355(0x1fa)](a2_0x475355(0x212)),jobListAction=async _0xbcf414=>{const _0x18c436=a2_0x475355,_0x103dc6=new JobListCommand(),_0x459a79=program[_0x18c436(0x347)](),_0x511610=await createTDXInstance(_0x459a79),_0x5bcf87=await _0x103dc6[_0x18c436(0x2ae)]({'options':{..._0x459a79,..._0xbcf414},'args':[],'tdx':_0x511610});gracefulExit(_0x5bcf87);};jobCmd[a2_0x475355(0x36c)](a2_0x475355(0x35c))[a2_0x475355(0x1fa)]('List\x20jobs')[a2_0x475355(0x1cb)](a2_0x475355(0x28d),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x475355(0x2de)](jobListAction),program['command'](a2_0x475355(0x362),{'hidden':!![]})[a2_0x475355(0x1fa)](a2_0x475355(0x160))['option']('--status\x20<status>',a2_0x475355(0x28b))[a2_0x475355(0x2de)](jobListAction),jobCmd[a2_0x475355(0x36c)]('show\x20<job-id>')[a2_0x475355(0x1fa)]('Show\x20job\x20details')[a2_0x475355(0x2de)](async(_0x4bd22b,_0x4562da)=>{const _0x36fa25=a2_0x475355,_0x27965a=new JobShowCommand(),_0x4f7108=program[_0x36fa25(0x347)](),_0x15a31e=await createTDXInstance(_0x4f7108),_0x1891b6=await _0x27965a['run']({'options':{..._0x4f7108,..._0x4562da},'args':[_0x4bd22b],'tdx':_0x15a31e});gracefulExit(_0x1891b6);}),jobCmd['command'](a2_0x475355(0x29f))[a2_0x475355(0x1fa)]('Kill\x20a\x20job')[a2_0x475355(0x2de)](async(_0x364ec8,_0x45b7e1)=>{const _0x5d6c37=a2_0x475355,_0x2a43e1=new JobKillCommand(),_0x18c86f=program[_0x5d6c37(0x347)](),_0x39f0f1=await createTDXInstance(_0x18c86f),_0x1ff7f1=await _0x2a43e1[_0x5d6c37(0x2ae)]({'options':{..._0x18c86f,..._0x45b7e1},'args':[_0x364ec8],'tdx':_0x39f0f1});gracefulExit(_0x1ff7f1);}),jobCmd[a2_0x475355(0x36c)](a2_0x475355(0x1b6))[a2_0x475355(0x1fa)]('Submit\x20a\x20job')[a2_0x475355(0x1cb)]('--job-type\x20<type>',a2_0x475355(0x2e4),a2_0x475355(0x19c))['option']('-f,\x20--file\x20<path>',a2_0x475355(0x233))[a2_0x475355(0x1cb)](a2_0x475355(0x2ca),a2_0x475355(0x1ac),a2_0x475355(0x188))[a2_0x475355(0x2de)](async(_0x2a1c25,_0x1111ed)=>{const _0x129249=a2_0x475355,_0x31e56d=new JobSubmitCommand(),_0x214924=program[_0x129249(0x347)](),_0xc5a806=await createTDXInstance(_0x214924),_0x55d7f0=await _0x31e56d[_0x129249(0x2ae)]({'options':{..._0x214924,..._0x1111ed},'args':_0x2a1c25?[_0x2a1c25]:[],'tdx':_0xc5a806});gracefulExit(_0x55d7f0);}),jobCmd[a2_0x475355(0x36c)](a2_0x475355(0x268))['description'](a2_0x475355(0x2b9))[a2_0x475355(0x2de)](async(_0x1ede78,_0x3eabc6)=>{const _0x2da9b7=a2_0x475355,_0x178c33=new JobResultCommand(),_0x5417d7=program['opts'](),_0xa64515=await createTDXInstance(_0x5417d7),_0xe935a0=await _0x178c33[_0x2da9b7(0x2ae)]({'options':{..._0x5417d7,..._0x3eabc6},'args':[_0x1ede78],'tdx':_0xa64515});gracefulExit(_0xe935a0);});const scheduleCmd=jobCmd[a2_0x475355(0x36c)]('schedule')['description'](a2_0x475355(0x259));scheduleCmd[a2_0x475355(0x36c)](a2_0x475355(0x1a4))[a2_0x475355(0x1fa)]('List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)')[a2_0x475355(0x2de)](async(_0x180414,_0x3fdb8e)=>{const _0x498e16=a2_0x475355,_0x399cc8=new ScheduleListCommand(),_0x4e6642=program[_0x498e16(0x347)](),_0x46bce1=await createTDXInstance(_0x4e6642),_0x46f971=await _0x399cc8['run']({'options':{..._0x4e6642,..._0x3fdb8e},'args':_0x180414?[_0x180414]:[],'tdx':_0x46bce1});gracefulExit(_0x46f971);}),scheduleCmd[a2_0x475355(0x36c)](a2_0x475355(0x245))[a2_0x475355(0x1fa)]('Show\x20schedule\x20details')[a2_0x475355(0x2de)](async(_0x24f675,_0x3e2256)=>{const _0x20a72d=a2_0x475355,_0x98689=new ScheduleShowCommand(),_0x441988=program[_0x20a72d(0x347)](),_0x535c00=await createTDXInstance(_0x441988),_0xce3c0c=await _0x98689[_0x20a72d(0x2ae)]({'options':{..._0x441988,..._0x3e2256},'args':[_0x24f675],'tdx':_0x535c00});gracefulExit(_0xce3c0c);}),scheduleCmd[a2_0x475355(0x36c)](a2_0x475355(0x343))['description'](a2_0x475355(0x17a))[a2_0x475355(0x17b)](a2_0x475355(0x14f),a2_0x475355(0x2e9))[a2_0x475355(0x17b)]('-f,\x20--file\x20<path>','Read\x20query\x20from\x20file')[a2_0x475355(0x1cb)](a2_0x475355(0x249),'Query\x20type:\x20trino\x20or\x20hive',a2_0x475355(0x19c))[a2_0x475355(0x1cb)](a2_0x475355(0x1b8),a2_0x475355(0x2cb))['option'](a2_0x475355(0x1ba),'Timezone\x20for\x20cron\x20(default:\x20UTC)')[a2_0x475355(0x1cb)](a2_0x475355(0x294),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x475355(0x1cb)](a2_0x475355(0x1c5),a2_0x475355(0x232))[a2_0x475355(0x1cb)]('--retry-limit\x20<0~32>',a2_0x475355(0x2e5))['option'](a2_0x475355(0x15e),a2_0x475355(0x30a))[a2_0x475355(0x1cb)](a2_0x475355(0x168),a2_0x475355(0x155))[a2_0x475355(0x2de)](async(_0x1fe251,_0x1e2d44)=>{const _0x1d819b=a2_0x475355,_0x404d3c=new ScheduleCreateCommand(),_0x2476da=program[_0x1d819b(0x347)](),_0x53616a=await createTDXInstance(_0x2476da),_0x1ede7f=await _0x404d3c['run']({'options':{..._0x2476da,..._0x1e2d44},'args':[_0x1fe251],'tdx':_0x53616a});gracefulExit(_0x1ede7f);}),scheduleCmd[a2_0x475355(0x36c)](a2_0x475355(0x346))[a2_0x475355(0x1fa)]('Update\x20a\x20scheduled\x20query')[a2_0x475355(0x1cb)]('-d,\x20--database\x20<db>',a2_0x475355(0x2e9))[a2_0x475355(0x1cb)]('-f,\x20--file\x20<path>','Read\x20query\x20from\x20file')['option']('--type\x20<type>','Query\x20type:\x20trino\x20or\x20hive')[a2_0x475355(0x1cb)]('--cron\x20<expression>','Cron\x20expression\x20for\x20scheduling')[a2_0x475355(0x1cb)](a2_0x475355(0x1ba),a2_0x475355(0x361))[a2_0x475355(0x1cb)](a2_0x475355(0x294),a2_0x475355(0x321))[a2_0x475355(0x1cb)](a2_0x475355(0x1c5),a2_0x475355(0x232))[a2_0x475355(0x1cb)](a2_0x475355(0x244),a2_0x475355(0x2e5))[a2_0x475355(0x1cb)](a2_0x475355(0x15e),a2_0x475355(0x30a))[a2_0x475355(0x1cb)](a2_0x475355(0x168),a2_0x475355(0x155))[a2_0x475355(0x2de)](async(_0x468b6d,_0x2499ad)=>{const _0x526a29=a2_0x475355,_0x3c90d8=new ScheduleUpdateCommand(),_0x358fe0=program[_0x526a29(0x347)](),_0x22fbf5=await createTDXInstance(_0x358fe0),_0x5abd2d=await _0x3c90d8[_0x526a29(0x2ae)]({'options':{..._0x358fe0,..._0x2499ad},'args':[_0x468b6d],'tdx':_0x22fbf5});gracefulExit(_0x5abd2d);}),scheduleCmd[a2_0x475355(0x36c)](a2_0x475355(0x397))[a2_0x475355(0x1fa)]('Delete\x20a\x20scheduled\x20query')[a2_0x475355(0x2de)](async(_0x580a34,_0x47b7d4)=>{const _0x3cfb37=a2_0x475355,_0x283245=new ScheduleDeleteCommand(),_0x46f60b=program['opts'](),_0x4022b0=await createTDXInstance(_0x46f60b),_0x4b3c8f=await _0x283245[_0x3cfb37(0x2ae)]({'options':{..._0x46f60b,..._0x47b7d4},'args':[_0x580a34],'tdx':_0x4022b0});gracefulExit(_0x4b3c8f);}),scheduleCmd['command'](a2_0x475355(0x28c))['description']('Run\x20a\x20scheduled\x20query\x20immediately')[a2_0x475355(0x1cb)]('--time\x20<iso8601>',a2_0x475355(0x166))[a2_0x475355(0x1cb)](a2_0x475355(0x3ab),a2_0x475355(0x1cc))[a2_0x475355(0x2de)](async(_0x2d0742,_0x2709b4)=>{const _0x1c7acb=a2_0x475355,_0x140b0f=new ScheduleRunCommand(),_0x451c1c=program[_0x1c7acb(0x347)](),_0x2aeacf=await createTDXInstance(_0x451c1c),_0x237f14=await _0x140b0f['run']({'options':{..._0x451c1c,..._0x2709b4},'args':[_0x2d0742],'tdx':_0x2aeacf});gracefulExit(_0x237f14);}),scheduleCmd[a2_0x475355(0x36c)](a2_0x475355(0x16a))[a2_0x475355(0x1fa)](a2_0x475355(0x14c))[a2_0x475355(0x1cb)]('--from\x20<n>',a2_0x475355(0x260))['option'](a2_0x475355(0x3a0),a2_0x475355(0x276))[a2_0x475355(0x2de)](async(_0x4ee5b0,_0x3d9f9f)=>{const _0x886dfe=a2_0x475355,_0x187931=new ScheduleHistoryCommand(),_0xe5e4e9=program[_0x886dfe(0x347)](),_0x19ffc5=await createTDXInstance(_0xe5e4e9),_0x5e4fe3=await _0x187931[_0x886dfe(0x2ae)]({'options':{..._0xe5e4e9,..._0x3d9f9f},'args':[_0x4ee5b0],'tdx':_0x19ffc5});gracefulExit(_0x5e4fe3);});const llmCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x2f2))[a2_0x475355(0x1fa)](a2_0x475355(0x26d));llmCmd[a2_0x475355(0x36c)](a2_0x475355(0x2ac))[a2_0x475355(0x1fa)](a2_0x475355(0x3a5))[a2_0x475355(0x2de)](async(_0x12c185,_0x12ecf)=>{const _0x2e2cf1=a2_0x475355,_0x4b8309=new LLMUseCommand(),_0x68b087=program[_0x2e2cf1(0x347)](),_0xef7203=await createTDXInstance(_0x68b087),_0x1d8101=await _0x4b8309['run']({'options':{..._0x68b087,..._0x12ecf},'args':[_0x12c185],'tdx':_0xef7203});gracefulExit(_0x1d8101);}),llmCmd[a2_0x475355(0x36c)](a2_0x475355(0x20d))['description'](a2_0x475355(0x32b))[a2_0x475355(0x2de)](async _0x4b3224=>{const _0x665d53=a2_0x475355,_0x43a800=new LLMModelsCommand(),_0x377b1f=program[_0x665d53(0x347)](),_0x2e3ad7=await createTDXInstance(_0x377b1f),_0x181d5e=await _0x43a800['run']({'options':{..._0x377b1f,..._0x4b3224},'args':[],'tdx':_0x2e3ad7});gracefulExit(_0x181d5e);});const projectCmd=llmCmd[a2_0x475355(0x36c)]('project')[a2_0x475355(0x1fa)](a2_0x475355(0x170)),llmProjectListAction=async(_0x2424a4,_0x1aa04b)=>{const _0x554c2f=a2_0x475355,_0x40193c=new LLMProjectsCommand(),_0x33da5d=program['opts'](),_0x3bf6c6=await createTDXInstance(_0x33da5d),_0x167d3c=await _0x40193c[_0x554c2f(0x2ae)]({'options':{..._0x33da5d,..._0x1aa04b},'args':_0x2424a4?[_0x2424a4]:[],'tdx':_0x3bf6c6});gracefulExit(_0x167d3c);};projectCmd['command'](a2_0x475355(0x1a4))[a2_0x475355(0x1fa)](a2_0x475355(0x242))[a2_0x475355(0x2de)](llmProjectListAction),llmCmd[a2_0x475355(0x36c)]('projects\x20[pattern]')[a2_0x475355(0x1fa)](a2_0x475355(0x1df))[a2_0x475355(0x2de)](llmProjectListAction),projectCmd[a2_0x475355(0x36c)](a2_0x475355(0x343))[a2_0x475355(0x1fa)](a2_0x475355(0x193))['option'](a2_0x475355(0x1fe),'Project\x20description')[a2_0x475355(0x2de)](async(_0x18232f,_0x1f10a3)=>{const _0x16d31f=a2_0x475355,_0x1d4421=new LLMProjectCreateCommand(),_0x2656d5=program[_0x16d31f(0x347)](),_0x255b16=await createTDXInstance(_0x2656d5),_0x3ddb14=await _0x1d4421[_0x16d31f(0x2ae)]({'options':{..._0x2656d5,..._0x1f10a3},'args':[_0x18232f],'tdx':_0x255b16});gracefulExit(_0x3ddb14);}),projectCmd['command'](a2_0x475355(0x397))[a2_0x475355(0x1fa)](a2_0x475355(0x287))[a2_0x475355(0x2de)](async(_0x12ffbf,_0xee5d93)=>{const _0x42d611=a2_0x475355,_0x584a1f=new LLMProjectDeleteCommand(),_0x124705=program[_0x42d611(0x347)](),_0x332759=await createTDXInstance(_0x124705),_0x134621=await _0x584a1f['run']({'options':{..._0x124705,..._0xee5d93},'args':[_0x12ffbf],'tdx':_0x332759});gracefulExit(_0x134621);}),projectCmd[a2_0x475355(0x36c)](a2_0x475355(0x277))[a2_0x475355(0x1fa)](a2_0x475355(0x20c))[a2_0x475355(0x1cb)](a2_0x475355(0x30b),a2_0x475355(0x302))[a2_0x475355(0x1cb)](a2_0x475355(0x186),'Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files')['action'](async(_0x2e234f,_0x5b8c23)=>{const _0x399b6b=a2_0x475355,_0x33ceab=new LLMProjectBackupCommand(),_0x4fdee0=program[_0x399b6b(0x347)](),_0x5c3d9a=await createTDXInstance(_0x4fdee0),_0x3c1741=await _0x33ceab[_0x399b6b(0x2ae)]({'options':{..._0x4fdee0,..._0x5b8c23},'args':[_0x2e234f],'tdx':_0x5c3d9a});gracefulExit(_0x3c1741);}),projectCmd[a2_0x475355(0x36c)](a2_0x475355(0x3c6))['description'](a2_0x475355(0x3c4))[a2_0x475355(0x1cb)](a2_0x475355(0x220),'New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')[a2_0x475355(0x1cb)](a2_0x475355(0x186),'Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')[a2_0x475355(0x2de)](async(_0x4f89bb,_0x1e190b)=>{const _0x11cc0f=a2_0x475355,_0x196242=new LLMProjectRestoreCommand(),_0x5065e9=program[_0x11cc0f(0x347)](),_0x3a5857=await createTDXInstance(_0x5065e9),_0x5f3449=await _0x196242['run']({'options':{..._0x5065e9,..._0x1e190b},'args':[_0x4f89bb],'tdx':_0x3a5857});gracefulExit(_0x5f3449);});const llmAgentListAction=async(_0x281ea8,_0x23f65c)=>{const _0x5aeaf9=a2_0x475355,_0x4603b5=new LLMAgentsCommand(),_0x13cdda=program[_0x5aeaf9(0x347)](),_0x5a613a=await createTDXInstance(_0x13cdda),_0x12a288=await _0x4603b5[_0x5aeaf9(0x2ae)]({'options':{..._0x13cdda,..._0x23f65c},'args':_0x281ea8?[_0x281ea8]:[],'tdx':_0x5a613a});gracefulExit(_0x12a288);};llmCmd[a2_0x475355(0x36c)](a2_0x475355(0x39d))[a2_0x475355(0x1fa)](a2_0x475355(0x2be))['action'](llmAgentListAction),program[a2_0x475355(0x36c)](a2_0x475355(0x39d))['description'](a2_0x475355(0x2be))[a2_0x475355(0x2de)](llmAgentListAction),llmCmd['command'](a2_0x475355(0x2ab))['description'](a2_0x475355(0x1bd))[a2_0x475355(0x1cb)](a2_0x475355(0x37d),a2_0x475355(0x31f))[a2_0x475355(0x2de)](async(_0x250a76,_0x3331eb)=>{const _0x58f840=a2_0x475355,_0x35a6ef=new LLMHistoryCommand(),_0x4db16b=program[_0x58f840(0x347)](),_0x1a223a=await createTDXInstance(_0x4db16b),_0x7f08e0=await _0x35a6ef[_0x58f840(0x2ae)]({'options':{..._0x4db16b,..._0x3331eb},'args':_0x250a76?[_0x250a76]:[],'tdx':_0x1a223a});gracefulExit(_0x7f08e0);});isExperimentalAvailable()&&llmCmd[a2_0x475355(0x36c)]('log\x20<chat-id>')[a2_0x475355(0x1fa)]('[EXPERIMENTAL]\x20Show\x20chat\x20log')[a2_0x475355(0x2de)](async(_0x59c963,_0xc34530)=>{const _0x32b349=a2_0x475355,_0x34d5ac=new LLMLogCommand(),_0x402e4a=program[_0x32b349(0x347)](),_0x4cbeab=await createTDXInstance(_0x402e4a),_0x50711f=await _0x34d5ac[_0x32b349(0x2ae)]({'options':{..._0x402e4a,..._0xc34530},'args':[_0x59c963],'tdx':_0x4cbeab});gracefulExit(_0x50711f);});program[a2_0x475355(0x36c)]('claude\x20[args...]')[a2_0x475355(0x2db)](a2_0x475355(0x3c5))[a2_0x475355(0x1fa)](a2_0x475355(0x24c))[a2_0x475355(0x1cb)](a2_0x475355(0x3ae),a2_0x475355(0x2cc))['option'](a2_0x475355(0x367),a2_0x475355(0x379))[a2_0x475355(0x1cb)](a2_0x475355(0x187),a2_0x475355(0x1e5))[a2_0x475355(0x236)]()[a2_0x475355(0x20b)](!![])[a2_0x475355(0x329)](a2_0x475355(0x16f),a2_0x475355(0x25d))['action'](async(_0x42c523,_0x58c901)=>{const _0x43d3df=a2_0x475355,_0x170434=program['opts'](),_0x356d3b=Array['isArray'](_0x42c523)?_0x42c523:[];if(_0x356d3b[0x0]==='statusline'){const _0xafd945=new ClaudeStatuslineCommand(),_0x558b61=await _0xafd945[_0x43d3df(0x2ae)]({'options':{..._0x170434,..._0x58c901},'args':_0x356d3b[_0x43d3df(0x1c9)](0x1),'tdx':null});gracefulExit(_0x558b61);}if(_0x356d3b[0x0]==='usage'){const _0x42b883=new ClaudeUsageCommand(),_0x40ce9f=await _0x42b883[_0x43d3df(0x2ae)]({'options':{..._0x170434,..._0x58c901},'args':_0x356d3b[_0x43d3df(0x1c9)](0x1),'tdx':null});gracefulExit(_0x40ce9f);}const _0x82257d=new ClaudeCommand(),_0x53bbee=await createTDXInstance(_0x170434),_0x4e0e00=await _0x82257d[_0x43d3df(0x2ae)]({'options':{..._0x170434,..._0x58c901},'args':_0x356d3b,'tdx':_0x53bbee});gracefulExit(_0x4e0e00);}),program[a2_0x475355(0x36c)](a2_0x475355(0x301))['description'](a2_0x475355(0x2f6))[a2_0x475355(0x1cb)](a2_0x475355(0x159),'Clear\x20session\x20context')[a2_0x475355(0x1cb)]('--default',a2_0x475355(0x192))[a2_0x475355(0x2de)](async(_0x589ed9,_0x5e3f93,_0x43c12f)=>{const _0x1f3595=a2_0x475355,_0x259dd3=new UseCommand(),_0x79b1f6=program[_0x1f3595(0x347)](),_0xd4dade=[];if(_0x589ed9)_0xd4dade[_0x1f3595(0x313)](_0x589ed9);if(_0x5e3f93)_0xd4dade[_0x1f3595(0x313)](_0x5e3f93);const _0x17554b=await _0x259dd3[_0x1f3595(0x2ae)]({'options':{..._0x79b1f6,..._0x43c12f},'args':_0xd4dade,'tdx':null});gracefulExit(_0x17554b);}),program[a2_0x475355(0x36c)](a2_0x475355(0x21d))[a2_0x475355(0x1fa)](a2_0x475355(0x194))['action'](async _0x17ee4b=>{const _0x3b9f88=a2_0x475355,_0x4605d4=new StatusCommand(),_0x2cc07f=program[_0x3b9f88(0x347)](),_0x267b72=await createTDXInstance(_0x2cc07f),_0x26155a=await _0x4605d4['run']({'options':{..._0x2cc07f,..._0x17ee4b},'args':[],'tdx':_0x267b72});gracefulExit(_0x26155a);}),program['command'](a2_0x475355(0x328))['description'](a2_0x475355(0x1bf))[a2_0x475355(0x1cb)](a2_0x475355(0x204),'Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x475355(0x2de)](async(_0x985823,_0xb1b6d1)=>{const _0x5c5e43=a2_0x475355,_0x1cf0f9=new UnsetCommand(),_0x3ae41d=program[_0x5c5e43(0x347)](),_0x49cbbd=await _0x1cf0f9[_0x5c5e43(0x2ae)]({'options':{..._0x3ae41d,..._0xb1b6d1},'args':[_0x985823],'tdx':null});gracefulExit(_0x49cbbd);}),program[a2_0x475355(0x36c)](a2_0x475355(0x387))[a2_0x475355(0x1fa)](a2_0x475355(0x2aa))[a2_0x475355(0x1cb)](a2_0x475355(0x37d),a2_0x475355(0x21b))[a2_0x475355(0x2de)](async _0x32acb9=>{const _0x11fdd4=a2_0x475355,_0x557af4=new ChatsCommand(),_0x33f7ba=program[_0x11fdd4(0x347)](),_0xaaed90=await createTDXInstance(_0x33f7ba),_0x5d3a23=await _0x557af4['run']({'options':{..._0x33f7ba,..._0x32acb9},'args':[],'tdx':_0xaaed90});gracefulExit(_0x5d3a23);});const authCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x319))[a2_0x475355(0x1fa)]('Authentication\x20management');async function runAuthStatusCommand(_0x42b983){const _0x3d2ed9=a2_0x475355,_0x4c17ba=new AuthStatusCommand(),_0x32e8a1=program[_0x3d2ed9(0x347)](),_0x3893c0=await createTDXInstance(_0x32e8a1),_0x4460e7=await _0x4c17ba[_0x3d2ed9(0x2ae)]({'options':{..._0x32e8a1,..._0x42b983},'args':[],'tdx':_0x3893c0});gracefulExit(_0x4460e7);}authCmd['action'](runAuthStatusCommand),authCmd['command'](a2_0x475355(0x21d))[a2_0x475355(0x1fa)](a2_0x475355(0x23f))[a2_0x475355(0x2de)](runAuthStatusCommand),authCmd['command'](a2_0x475355(0x21c))[a2_0x475355(0x1fa)](a2_0x475355(0x258))['addHelpText'](a2_0x475355(0x16f),'\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20jp01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a')[a2_0x475355(0x2de)](async _0x20d7f9=>{const _0x5548d1=a2_0x475355,_0x59f0cf=new AuthSetupCommand(),_0x1b8469=program[_0x5548d1(0x347)](),_0xf6db96=await createTDXInstance(_0x1b8469),_0x413dba=await _0x59f0cf['run']({'options':{..._0x1b8469,..._0x20d7f9},'args':[],'tdx':_0xf6db96});gracefulExit(_0x413dba);}),authCmd[a2_0x475355(0x36c)](a2_0x475355(0x206))['description']('Remove\x20API\x20key\x20from\x20system\x20keychain')['addHelpText'](a2_0x475355(0x16f),a2_0x475355(0x2c8))[a2_0x475355(0x2de)](async _0x31b0ac=>{const _0x199fab=a2_0x475355,_0x48c793=new AuthClearCommand(),_0x5b90cf=program[_0x199fab(0x347)](),_0x1f6150=await _0x48c793['run']({'options':{..._0x5b90cf,..._0x31b0ac},'args':[],'tdx':null});gracefulExit(_0x1f6150);});const userCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x1fc))[a2_0x475355(0x1fa)](a2_0x475355(0x215)),userListAction=async _0x3acc2c=>{const _0x34a46d=a2_0x475355,_0x5b0299=new UserListCommand(),_0x2b6092=program[_0x34a46d(0x347)](),_0x1e086f=await createTDXInstance(_0x2b6092),_0x9cae56=await _0x5b0299['run']({'options':{..._0x2b6092,..._0x3acc2c},'args':[],'tdx':_0x1e086f});gracefulExit(_0x9cae56);};userCmd['action'](async _0x163c25=>{const _0x172210=a2_0x475355,_0x2b34df=new UserCommand(),_0x49b3f4=program[_0x172210(0x347)](),_0xad07ec=await createTDXInstance(_0x49b3f4),_0x2091eb=await _0x2b34df[_0x172210(0x2ae)]({'options':{..._0x49b3f4,..._0x163c25},'args':[],'tdx':_0xad07ec});gracefulExit(_0x2091eb);}),userCmd[a2_0x475355(0x36c)](a2_0x475355(0x35c))[a2_0x475355(0x1fa)](a2_0x475355(0x18d))[a2_0x475355(0x2de)](userListAction),program[a2_0x475355(0x36c)](a2_0x475355(0x1be))[a2_0x475355(0x1fa)](a2_0x475355(0x34e))['action'](userListAction),program[a2_0x475355(0x36c)]('profiles')[a2_0x475355(0x1fa)](a2_0x475355(0x384))['action'](async _0x1179c0=>{const _0x1f87f9=a2_0x475355,_0x12034c=new ProfilesCommand(),_0x16d8cd=program['opts'](),_0x4b4e8e=await _0x12034c[_0x1f87f9(0x2ae)]({'options':{..._0x16d8cd,..._0x1179c0},'args':[],'tdx':null});gracefulExit(_0x4b4e8e);});const profileCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x37e))[a2_0x475355(0x1fa)]('Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)');profileCmd['action'](()=>{const _0x978e16=a2_0x475355;profileCmd[_0x978e16(0x279)]();});function a2_0x4e0b(_0x4f1ece,_0x2c76f1){_0x4f1ece=_0x4f1ece-0x13f;const _0x4013ed=a2_0x4013();let _0x4e0b56=_0x4013ed[_0x4f1ece];return _0x4e0b56;}const profileListAction=async _0x70d6b9=>{const _0x24de5f=a2_0x475355,_0x4f47e1=new ProfilesCommand(),_0x5b95a0=program['opts'](),_0x3bb03c=await _0x4f47e1[_0x24de5f(0x2ae)]({'options':{..._0x5b95a0,..._0x70d6b9},'args':[],'tdx':null});gracefulExit(_0x3bb03c);};profileCmd['command'](a2_0x475355(0x35c))[a2_0x475355(0x1fa)](a2_0x475355(0x384))['action'](profileListAction),profileCmd['command'](a2_0x475355(0x3ba))[a2_0x475355(0x1fa)](a2_0x475355(0x264))[a2_0x475355(0x329)](a2_0x475355(0x16f),a2_0x475355(0x2c7))[a2_0x475355(0x2de)](async(_0x4a4624,_0x4186ae)=>{const _0x4aff11=a2_0x475355,_0x29ecc0=new ProfileCreateCommand(),_0x10ec06=program[_0x4aff11(0x347)](),_0x403260=await _0x29ecc0[_0x4aff11(0x2ae)]({'options':{..._0x10ec06,..._0x4186ae},'args':_0x4a4624?[_0x4a4624]:[],'tdx':null});gracefulExit(_0x403260);}),profileCmd['command'](a2_0x475355(0x208))['description']('Remove\x20a\x20profile')['addHelpText'](a2_0x475355(0x16f),a2_0x475355(0x298))[a2_0x475355(0x2de)](async(_0x32f17d,_0x56e2b2)=>{const _0x4c376a=a2_0x475355,_0x49ec05=new ProfileRemoveCommand(),_0x40aff3=program[_0x4c376a(0x347)](),_0x570c87=await _0x49ec05[_0x4c376a(0x2ae)]({'options':{..._0x40aff3,..._0x56e2b2},'args':[_0x32f17d],'tdx':null});gracefulExit(_0x570c87);}),profileCmd[a2_0x475355(0x36c)](a2_0x475355(0x2ed))[a2_0x475355(0x1fa)]('Set\x20a\x20profile\x20configuration\x20value')[a2_0x475355(0x329)](a2_0x475355(0x16f),a2_0x475355(0x2d1))[a2_0x475355(0x2de)](async(_0x5b62a6,_0x11fef2)=>{const _0x5d0b0a=a2_0x475355,_0x29eac7=new ProfileSetCommand(),_0x58145a=program[_0x5d0b0a(0x347)](),_0x364533=await _0x29eac7['run']({'options':{..._0x58145a,..._0x11fef2},'args':[_0x5b62a6],'tdx':null});gracefulExit(_0x364533);}),profileCmd['command'](a2_0x475355(0x1c3))[a2_0x475355(0x1fa)](a2_0x475355(0x2b7))['option'](a2_0x475355(0x204),a2_0x475355(0x192))[a2_0x475355(0x329)](a2_0x475355(0x16f),a2_0x475355(0x312))['action'](async(_0x503d7f,_0x2faa73)=>{const _0x25824f=new ProfileUseCommand(),_0x6668f9=program['opts'](),_0xe91373=await _0x25824f['run']({'options':{..._0x6668f9,..._0x2faa73},'args':[_0x503d7f],'tdx':null});gracefulExit(_0xe91373);});const engageCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x1e2))[a2_0x475355(0x1fa)](a2_0x475355(0x1b3)),createEngageAction=_0x1acd7d=>{return async(_0xd7d5f3,_0x53b2d2)=>{const _0x5c0500=a2_0x4e0b,_0x17d718=new _0x1acd7d(),_0x483642=program[_0x5c0500(0x347)](),_0x5ab323=await createTDXInstance(_0x483642),_0x4e14ef=await _0x17d718[_0x5c0500(0x2ae)]({'options':{..._0x483642,..._0x53b2d2},'args':[_0xd7d5f3],'tdx':_0x5ab323});gracefulExit(_0x4e14ef);};},createEngageNoArgAction=_0x5126b2=>{return async _0x4036da=>{const _0x2e90ca=a2_0x4e0b,_0x3e6970=new _0x5126b2(),_0x2cecb7=program[_0x2e90ca(0x347)](),_0x4dbddd=await createTDXInstance(_0x2cecb7),_0x113fc3=await _0x3e6970['run']({'options':{..._0x2cecb7,..._0x4036da},'args':[],'tdx':_0x4dbddd});gracefulExit(_0x113fc3);};},campaignCmd=engageCmd[a2_0x475355(0x36c)](a2_0x475355(0x327))[a2_0x475355(0x1fa)]('Campaign\x20management'),campaignListAction=async(_0x591718,_0x4522cd)=>{const _0x2bc8db=a2_0x475355,_0x3e4412=new EngageCampaignsCommand(),_0x420269=program[_0x2bc8db(0x347)](),_0x4eca00=await createTDXInstance(_0x420269),_0x3d1743=await _0x3e4412[_0x2bc8db(0x2ae)]({'options':{..._0x420269,..._0x4522cd},'args':_0x591718?[_0x591718]:[],'tdx':_0x4eca00});gracefulExit(_0x3d1743);};campaignCmd[a2_0x475355(0x36c)](a2_0x475355(0x1a4))['description'](a2_0x475355(0x37c))[a2_0x475355(0x1cb)](a2_0x475355(0x249),a2_0x475355(0x31d))[a2_0x475355(0x1cb)](a2_0x475355(0x28d),a2_0x475355(0x181))[a2_0x475355(0x1cb)](a2_0x475355(0x305),a2_0x475355(0x3ca))[a2_0x475355(0x2de)](campaignListAction),engageCmd['command'](a2_0x475355(0x153))[a2_0x475355(0x1fa)](a2_0x475355(0x265))['option'](a2_0x475355(0x249),a2_0x475355(0x31d))[a2_0x475355(0x1cb)](a2_0x475355(0x28d),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x475355(0x1cb)](a2_0x475355(0x305),a2_0x475355(0x3ca))[a2_0x475355(0x2de)](campaignListAction),campaignCmd[a2_0x475355(0x36c)](a2_0x475355(0x39c))[a2_0x475355(0x1fa)](a2_0x475355(0x3c2))[a2_0x475355(0x1cb)]('--workspace\x20<name>','Workspace\x20name')[a2_0x475355(0x1cb)]('--full',a2_0x475355(0x344))['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd['command'](a2_0x475355(0x267))[a2_0x475355(0x1fa)](a2_0x475355(0x23b))['requiredOption'](a2_0x475355(0x358),a2_0x475355(0x3c1))[a2_0x475355(0x17b)](a2_0x475355(0x249),'Campaign\x20type\x20(email\x20or\x20push)')[a2_0x475355(0x1cb)]('--workspace\x20<name>',a2_0x475355(0x1a0))[a2_0x475355(0x1cb)](a2_0x475355(0x3a7),a2_0x475355(0x1e8))['option'](a2_0x475355(0x16b),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')['option']('--email-sender-id\x20<id>',a2_0x475355(0x334))[a2_0x475355(0x1cb)](a2_0x475355(0x254),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x475355(0x1cb)](a2_0x475355(0x177),a2_0x475355(0x235))[a2_0x475355(0x1cb)](a2_0x475355(0x1ba),a2_0x475355(0x207))[a2_0x475355(0x2de)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x475355(0x36c)](a2_0x475355(0x227))['description'](a2_0x475355(0x326))[a2_0x475355(0x1cb)](a2_0x475355(0x305),a2_0x475355(0x3ca))['option'](a2_0x475355(0x358),a2_0x475355(0x2b3))[a2_0x475355(0x1cb)]('--description\x20<desc>','Campaign\x20description')[a2_0x475355(0x1cb)](a2_0x475355(0x16b),a2_0x475355(0x201))[a2_0x475355(0x1cb)](a2_0x475355(0x172),a2_0x475355(0x334))[a2_0x475355(0x1cb)](a2_0x475355(0x254),a2_0x475355(0x161))[a2_0x475355(0x1cb)](a2_0x475355(0x177),a2_0x475355(0x235))[a2_0x475355(0x1cb)](a2_0x475355(0x1ba),a2_0x475355(0x207))['action'](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command']('delete\x20<name-or-id>')[a2_0x475355(0x1fa)]('Delete\x20a\x20campaign')[a2_0x475355(0x1cb)]('--workspace\x20<name>',a2_0x475355(0x3ca))[a2_0x475355(0x1cb)]('--yes',a2_0x475355(0x31a))[a2_0x475355(0x2de)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x475355(0x36c)]('launch\x20<name-or-id>')['description'](a2_0x475355(0x2bb))[a2_0x475355(0x1cb)](a2_0x475355(0x305),a2_0x475355(0x3ca))[a2_0x475355(0x2de)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd['command'](a2_0x475355(0x289))[a2_0x475355(0x1fa)](a2_0x475355(0x1f9))[a2_0x475355(0x1cb)](a2_0x475355(0x305),a2_0x475355(0x3ca))[a2_0x475355(0x2de)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd['command']('resume\x20<name-or-id>')[a2_0x475355(0x1fa)](a2_0x475355(0x306))[a2_0x475355(0x1cb)](a2_0x475355(0x305),a2_0x475355(0x3ca))[a2_0x475355(0x2de)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x475355(0x36c)]('duplicate\x20<name-or-id>')[a2_0x475355(0x1fa)](a2_0x475355(0x39b))[a2_0x475355(0x1cb)]('--workspace\x20<name>',a2_0x475355(0x3ca))['action'](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x475355(0x36c)]('template')[a2_0x475355(0x1fa)](a2_0x475355(0x1ae)),templateListAction=async(_0x246ae7,_0x1b382c)=>{const _0x5db166=a2_0x475355,_0x3f8007=new EngageTemplatesCommand(),_0x32e128=program[_0x5db166(0x347)](),_0x3461f0=await createTDXInstance(_0x32e128),_0x47e841=await _0x3f8007[_0x5db166(0x2ae)]({'options':{..._0x32e128,..._0x1b382c},'args':_0x246ae7?[_0x246ae7]:[],'tdx':_0x3461f0});gracefulExit(_0x47e841);};templateCmd[a2_0x475355(0x36c)](a2_0x475355(0x1a4))['description'](a2_0x475355(0x1f8))[a2_0x475355(0x1cb)](a2_0x475355(0x305),'Workspace\x20name')[a2_0x475355(0x2de)](templateListAction),engageCmd[a2_0x475355(0x36c)](a2_0x475355(0x17d))[a2_0x475355(0x1fa)](a2_0x475355(0x2df))[a2_0x475355(0x1cb)](a2_0x475355(0x305),'Workspace\x20name')[a2_0x475355(0x2de)](templateListAction),templateCmd[a2_0x475355(0x36c)](a2_0x475355(0x39c))['description'](a2_0x475355(0x38d))[a2_0x475355(0x1cb)]('--workspace\x20<name>','Workspace\x20name')[a2_0x475355(0x1cb)](a2_0x475355(0x183),a2_0x475355(0x344))[a2_0x475355(0x2de)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x475355(0x36c)](a2_0x475355(0x267))[a2_0x475355(0x1fa)](a2_0x475355(0x199))[a2_0x475355(0x17b)](a2_0x475355(0x358),'Template\x20name')[a2_0x475355(0x17b)](a2_0x475355(0x18c),a2_0x475355(0x293))[a2_0x475355(0x17b)](a2_0x475355(0x340),a2_0x475355(0x238))[a2_0x475355(0x1cb)](a2_0x475355(0x305),'Workspace\x20name\x20(required)')[a2_0x475355(0x1cb)]('--plaintext\x20<text>',a2_0x475355(0x278))[a2_0x475355(0x1cb)](a2_0x475355(0x231),a2_0x475355(0x2fb),_0x4b4df0=>{const _0xddac6d=a2_0x475355;if(![_0xddac6d(0x1ed),_0xddac6d(0x1d6)][_0xddac6d(0x152)](_0x4b4df0))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0xddac6d(0x2f5)+_0x4b4df0+_0xddac6d(0x324));return _0x4b4df0;})[a2_0x475355(0x2de)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x475355(0x36c)](a2_0x475355(0x227))['description'](a2_0x475355(0x145))['option'](a2_0x475355(0x305),'Workspace\x20name')[a2_0x475355(0x1cb)](a2_0x475355(0x358),'New\x20template\x20name')[a2_0x475355(0x1cb)](a2_0x475355(0x18c),a2_0x475355(0x293))[a2_0x475355(0x1cb)](a2_0x475355(0x340),'HTML\x20template\x20content')[a2_0x475355(0x1cb)](a2_0x475355(0x2d9),a2_0x475355(0x278))['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x475355(0x36c)](a2_0x475355(0x167))['description'](a2_0x475355(0x2e2))[a2_0x475355(0x1cb)](a2_0x475355(0x305),a2_0x475355(0x3ca))[a2_0x475355(0x1cb)](a2_0x475355(0x226),a2_0x475355(0x31a))[a2_0x475355(0x2de)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command'](a2_0x475355(0x2e8))[a2_0x475355(0x1fa)]('Workspace\x20management'),workspaceListAction=async(_0x26f4d6,_0x40fcab)=>{const _0x471eda=a2_0x475355,_0x2c23fa=new EngageWorkspacesCommand(),_0x5bcd7c=program[_0x471eda(0x347)](),_0x407ad7=await createTDXInstance(_0x5bcd7c),_0x5c98ed=await _0x2c23fa[_0x471eda(0x2ae)]({'options':{..._0x5bcd7c,..._0x40fcab},'args':_0x26f4d6?[_0x26f4d6]:[],'tdx':_0x407ad7});gracefulExit(_0x5c98ed);};workspaceCmd[a2_0x475355(0x36c)]('list\x20[pattern]')['description'](a2_0x475355(0x290))['action'](workspaceListAction),engageCmd['command'](a2_0x475355(0x263))[a2_0x475355(0x1fa)]('List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)')['action'](workspaceListAction),workspaceCmd[a2_0x475355(0x36c)](a2_0x475355(0x39c))[a2_0x475355(0x1fa)](a2_0x475355(0x21e))[a2_0x475355(0x1cb)]('--full',a2_0x475355(0x344))[a2_0x475355(0x2de)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd['command'](a2_0x475355(0x267))[a2_0x475355(0x1fa)](a2_0x475355(0x29b))[a2_0x475355(0x17b)](a2_0x475355(0x358),a2_0x475355(0x3ca))[a2_0x475355(0x1cb)](a2_0x475355(0x3a7),a2_0x475355(0x3bb))['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x475355(0x36c)](a2_0x475355(0x227))['description'](a2_0x475355(0x141))['option'](a2_0x475355(0x358),a2_0x475355(0x210))[a2_0x475355(0x1cb)](a2_0x475355(0x3a7),a2_0x475355(0x3bb))[a2_0x475355(0x2de)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x475355(0x36c)](a2_0x475355(0x167))[a2_0x475355(0x1fa)](a2_0x475355(0x323))[a2_0x475355(0x1cb)]('--yes',a2_0x475355(0x31a))[a2_0x475355(0x2de)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd['command']('use\x20<name>')[a2_0x475355(0x1fa)](a2_0x475355(0x382))['action'](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x251))[a2_0x475355(0x1fa)](a2_0x475355(0x351)),connectionListAction=async _0x594c56=>{const _0x33a139=a2_0x475355,_0x3a3d87=new ConnectionListCommand(),_0x389430=program[_0x33a139(0x347)](),_0x564625=await createTDXInstance(_0x389430),_0x30c82b=await _0x3a3d87['run']({'options':{..._0x389430,..._0x594c56},'args':[],'tdx':_0x564625});gracefulExit(_0x30c82b);};connectionCmd[a2_0x475355(0x36c)](a2_0x475355(0x35c))['description']('List\x20all\x20data\x20connections')[a2_0x475355(0x2de)](connectionListAction),program[a2_0x475355(0x36c)](a2_0x475355(0x335),{'hidden':!![]})[a2_0x475355(0x1fa)](a2_0x475355(0x2cd))[a2_0x475355(0x2de)](connectionListAction),connectionCmd[a2_0x475355(0x36c)](a2_0x475355(0x245))[a2_0x475355(0x1fa)]('Show\x20connection\x20details\x20by\x20name')[a2_0x475355(0x2de)](async(_0x39d330,_0x35a9e3)=>{const _0x2919db=a2_0x475355,_0x40bb68=new ConnectionShowCommand(),_0x1b128a=program['opts'](),_0x40dfa9=await createTDXInstance(_0x1b128a),_0x644788=await _0x40bb68[_0x2919db(0x2ae)]({'options':{..._0x1b128a,..._0x35a9e3},'args':[_0x39d330],'tdx':_0x40dfa9});gracefulExit(_0x644788);}),connectionCmd['command']('schema\x20<type>')[a2_0x475355(0x1fa)](a2_0x475355(0x174))[a2_0x475355(0x2de)](async(_0x11227c,_0x3dcff4)=>{const _0x494cbc=a2_0x475355,_0x8e234c=new ConnectionSchemaCommand(),_0x3e90c6=program[_0x494cbc(0x347)](),_0x357590=await createTDXInstance(_0x3e90c6),_0x375e3f=await _0x8e234c[_0x494cbc(0x2ae)]({'options':{..._0x3e90c6,..._0x3dcff4},'args':[_0x11227c],'tdx':_0x357590});gracefulExit(_0x375e3f);}),connectionCmd[a2_0x475355(0x36c)](a2_0x475355(0x25a))['description']('List\x20available\x20connector\x20types')['action'](async _0x591ba1=>{const _0x2790cf=a2_0x475355,_0x2043f2=new ConnectionTypesCommand(),_0x1e8998=program[_0x2790cf(0x347)](),_0x15185e=await createTDXInstance(_0x1e8998),_0x77132a=await _0x2043f2[_0x2790cf(0x2ae)]({'options':{..._0x1e8998,..._0x591ba1},'args':[],'tdx':_0x15185e});gracefulExit(_0x77132a);}),connectionCmd['command']('settings\x20<type>')[a2_0x475355(0x1fa)](a2_0x475355(0x3b0))[a2_0x475355(0x2de)](async(_0x26f30a,_0x3e24ba)=>{const _0x11c98a=a2_0x475355,_0x17baab=new ConnectionSettingsCommand(),_0x2f7668=program[_0x11c98a(0x347)](),_0x42a009=await createTDXInstance(_0x2f7668),_0x486068=await _0x17baab[_0x11c98a(0x2ae)]({'options':{..._0x2f7668,..._0x3e24ba},'args':[_0x26f30a],'tdx':_0x42a009});gracefulExit(_0x486068);});const journeyCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x303))[a2_0x475355(0x1fa)](a2_0x475355(0x147)),journeyListAction=async(_0x475b7f,_0x4666bd)=>{const _0xa3551a=a2_0x475355,_0x4353c4=new JourneyListCommand(),_0x5d102f=program[_0xa3551a(0x347)](),_0x15adee=await createTDXInstance(_0x5d102f),_0x4fb65b=await _0x4353c4[_0xa3551a(0x2ae)]({'options':{..._0x5d102f,..._0x4666bd},'args':_0x475b7f?[_0x475b7f]:[],'tdx':_0x15adee});gracefulExit(_0x4fb65b);};journeyCmd[a2_0x475355(0x36c)]('list\x20[pattern]')[a2_0x475355(0x1fa)]('List\x20journeys\x20in\x20current\x20context')[a2_0x475355(0x2de)](journeyListAction),journeyCmd[a2_0x475355(0x36c)](a2_0x475355(0x205))['description'](a2_0x475355(0x375))['option'](a2_0x475355(0x35a),a2_0x475355(0x241))['option'](a2_0x475355(0x16d),'Include\x20execution\x20statistics')['action'](async(_0x4dc993,_0x1907e8)=>{const _0x14503a=a2_0x475355,_0x2c39c8=new JourneyViewCommand(),_0x2132db=program[_0x14503a(0x347)](),_0x41bd18=await createTDXInstance(_0x2132db),_0x42efc9=await _0x2c39c8[_0x14503a(0x2ae)]({'options':{..._0x2132db,..._0x1907e8},'args':[_0x4dc993],'tdx':_0x41bd18});gracefulExit(_0x42efc9);}),journeyCmd[a2_0x475355(0x36c)](a2_0x475355(0x25e))[a2_0x475355(0x1fa)](a2_0x475355(0x383))[a2_0x475355(0x1cb)](a2_0x475355(0x178),a2_0x475355(0x252))[a2_0x475355(0x2de)](async(_0x5c6bb4,_0x1f03aa)=>{const _0x4e568e=a2_0x475355,_0x33713e=new JourneyStatsCommand(),_0x2d75d1=program['opts'](),_0x5a5a83=await createTDXInstance(_0x2d75d1),_0x5b2b2a=await _0x33713e[_0x4e568e(0x2ae)]({'options':{..._0x2d75d1,..._0x1f03aa},'args':[_0x5c6bb4],'tdx':_0x5a5a83});gracefulExit(_0x5b2b2a);}),journeyCmd[a2_0x475355(0x36c)](a2_0x475355(0x1cf))[a2_0x475355(0x1fa)](a2_0x475355(0x20e))[a2_0x475355(0x2de)](async(_0xccf83f,_0x3e8674)=>{const _0x1b95b9=a2_0x475355,_0x2edec6=new JourneyPauseCommand(),_0x5ca00d=program[_0x1b95b9(0x347)](),_0x4a488c=await createTDXInstance(_0x5ca00d),_0x4d7fc6=await _0x2edec6[_0x1b95b9(0x2ae)]({'options':{..._0x5ca00d,..._0x3e8674},'args':[_0xccf83f],'tdx':_0x4a488c});gracefulExit(_0x4d7fc6);}),journeyCmd[a2_0x475355(0x36c)](a2_0x475355(0x257))[a2_0x475355(0x1fa)]('Resume\x20a\x20paused\x20journey')[a2_0x475355(0x2de)](async(_0x5df35b,_0x9eca33)=>{const _0xbb2ebd=a2_0x475355,_0x8de096=new JourneyResumeCommand(),_0x38ce29=program[_0xbb2ebd(0x347)](),_0xa8ea62=await createTDXInstance(_0x38ce29),_0x3a425b=await _0x8de096[_0xbb2ebd(0x2ae)]({'options':{..._0x38ce29,..._0x9eca33},'args':[_0x5df35b],'tdx':_0xa8ea62});gracefulExit(_0x3a425b);}),journeyCmd[a2_0x475355(0x36c)]('pull\x20[name]')[a2_0x475355(0x1fa)](a2_0x475355(0x3a3))[a2_0x475355(0x1cb)](a2_0x475355(0x20f),a2_0x475355(0x31a))[a2_0x475355(0x1cb)]('--dry-run',a2_0x475355(0x1af))[a2_0x475355(0x2de)](async(_0x41b964,_0x19b2ae)=>{const _0x110a39=a2_0x475355,_0x4ba06a=new JourneyPullCommand(),_0x5c022b=program['opts'](),_0x2b4e74=await createTDXInstance(_0x5c022b),_0x9637d1=await _0x4ba06a[_0x110a39(0x2ae)]({'options':{..._0x5c022b,..._0x19b2ae},'args':_0x41b964?[_0x41b964]:[],'tdx':_0x2b4e74});gracefulExit(_0x9637d1);}),journeyCmd['command'](a2_0x475355(0x288))[a2_0x475355(0x1fa)](a2_0x475355(0x3c0))['action'](async(_0x4bd173,_0x49d9fb)=>{const _0x414666=a2_0x475355,_0x142b25=new JourneyPushCommand(),_0x4b0710=program[_0x414666(0x347)](),_0x56e996=await createTDXInstance(_0x4b0710),_0x20e0de=await _0x142b25[_0x414666(0x2ae)]({'options':{..._0x4b0710,..._0x49d9fb},'args':_0x4bd173?[_0x4bd173]:[],'tdx':_0x56e996});gracefulExit(_0x20e0de);}),journeyCmd[a2_0x475355(0x36c)](a2_0x475355(0x256))[a2_0x475355(0x1fa)](a2_0x475355(0x30f))[a2_0x475355(0x2de)](async(_0x2e143b,_0x379de5)=>{const _0x1e8859=a2_0x475355,_0x37ec2f=new JourneyValidateCommand(),_0x4b3a21=program[_0x1e8859(0x347)](),_0x1ce7d6=await createTDXInstance(_0x4b3a21),_0x56de95=await _0x37ec2f[_0x1e8859(0x2ae)]({'options':{..._0x4b3a21,..._0x379de5},'args':_0x2e143b?[_0x2e143b]:[],'tdx':_0x1ce7d6});gracefulExit(_0x56de95);}),program[a2_0x475355(0x36c)]('journeys\x20[pattern]')['description']('List\x20journeys\x20(alias\x20for\x20journey\x20list)')[a2_0x475355(0x2de)](journeyListAction);const agentSyncCmd=program['command'](a2_0x475355(0x23c))[a2_0x475355(0x1fa)](a2_0x475355(0x1e9));agentSyncCmd['command'](a2_0x475355(0x1e4))[a2_0x475355(0x1fa)](a2_0x475355(0x3a9))['option'](a2_0x475355(0x149),a2_0x475355(0x3cf))['option']('-f,\x20--force',a2_0x475355(0x2ad))[a2_0x475355(0x2de)](async(_0x1b86c4,_0x7497ca,_0xee2ff1)=>{const _0x5bbf89=a2_0x475355,_0x2ebd0e=new AgentPullCommand(),_0x39aa83=program[_0x5bbf89(0x347)](),_0x58bdfe=await createTDXInstance(_0x39aa83),_0x156f82=[];if(_0x1b86c4)_0x156f82[_0x5bbf89(0x313)](_0x1b86c4);if(_0x7497ca)_0x156f82[_0x5bbf89(0x313)](_0x7497ca);const _0x30ecab=await _0x2ebd0e[_0x5bbf89(0x2ae)]({'options':{..._0x39aa83,..._0xee2ff1},'args':_0x156f82,'tdx':_0x58bdfe});gracefulExit(_0x30ecab);}),agentSyncCmd[a2_0x475355(0x36c)](a2_0x475355(0x17e))[a2_0x475355(0x1fa)](a2_0x475355(0x352))[a2_0x475355(0x1cb)](a2_0x475355(0x169),a2_0x475355(0x363))[a2_0x475355(0x2de)](async(_0x42f0b5,_0x1f3a3e)=>{const _0x47368e=a2_0x475355,_0x21d359=new AgentPushCommand(),_0x2bd451=program[_0x47368e(0x347)](),_0x5595e0=await createTDXInstance(_0x2bd451),_0x235339=await _0x21d359['run']({'options':{..._0x2bd451,..._0x1f3a3e},'args':_0x42f0b5?[_0x42f0b5]:[],'tdx':_0x5595e0});gracefulExit(_0x235339);}),agentSyncCmd['command'](a2_0x475355(0x394))['description'](a2_0x475355(0x1f5))[a2_0x475355(0x1cb)]('-n,\x20--name\x20<name>','Name\x20for\x20the\x20new\x20project\x20(required)')['action'](async(_0x252e30,_0x1a3686)=>{const _0x1d73fb=a2_0x475355,_0x34d7e9=new AgentCloneCommand(),_0x2e15f1=program[_0x1d73fb(0x347)](),_0xabe126=await createTDXInstance(_0x2e15f1),_0x1b98d4=await _0x34d7e9[_0x1d73fb(0x2ae)]({'options':{..._0x2e15f1,..._0x1a3686},'args':_0x252e30?[_0x252e30]:[],'tdx':_0xabe126});gracefulExit(_0x1b98d4);}),agentSyncCmd[a2_0x475355(0x36c)](a2_0x475355(0x322))[a2_0x475355(0x1fa)](a2_0x475355(0x368))[a2_0x475355(0x1cb)](a2_0x475355(0x1ef),a2_0x475355(0x23a))['option'](a2_0x475355(0x1f1),a2_0x475355(0x261))['option'](a2_0x475355(0x186),a2_0x475355(0x1fb))[a2_0x475355(0x1cb)]('--no-eval','Generate\x20test\x20conversations\x20without\x20evaluation')['option'](a2_0x475355(0x36a),a2_0x475355(0x25b))[a2_0x475355(0x2de)](async(_0x5e5a97,_0x130bd4)=>{const _0x434576=a2_0x475355,_0x38c639=new AgentTestCommand(),_0x2becd4=program[_0x434576(0x347)](),_0x4004cd=await createTDXInstance(_0x2becd4),_0x572c07=await _0x38c639['run']({'options':{..._0x2becd4,..._0x130bd4},'args':_0x5e5a97?[_0x5e5a97]:[],'tdx':_0x4004cd});gracefulExit(_0x572c07);}),agentSyncCmd[a2_0x475355(0x36c)](a2_0x475355(0x1a4))[a2_0x475355(0x1fa)](a2_0x475355(0x19f))[a2_0x475355(0x2de)](llmAgentListAction),agentSyncCmd[a2_0x475355(0x36c)](a2_0x475355(0x374))[a2_0x475355(0x1fa)](a2_0x475355(0x154))['action'](async(_0x4b695e,_0x5d821e)=>{const _0xddffc4=a2_0x475355,_0x471142=new LLMAgentShowCommand(),_0x295af5=program[_0xddffc4(0x347)](),_0x19c21b=await createTDXInstance(_0x295af5),_0x2dea0c=await _0x471142[_0xddffc4(0x2ae)]({'options':{..._0x295af5,..._0x5d821e},'args':[_0x4b695e],'tdx':_0x19c21b});gracefulExit(_0x2dea0c);}),agentSyncCmd['command'](a2_0x475355(0x343))['description'](a2_0x475355(0x395))[a2_0x475355(0x1cb)](a2_0x475355(0x2d0),'System\x20prompt/instructions\x20(default:\x20empty)')['option']('--model\x20<name>',a2_0x475355(0x29e),a2_0x475355(0x1ad))[a2_0x475355(0x1cb)](a2_0x475355(0x1b9),'Starter\x20message')[a2_0x475355(0x1cb)](a2_0x475355(0x3cd),a2_0x475355(0x142),'4')[a2_0x475355(0x1cb)](a2_0x475355(0x26a),a2_0x475355(0x364),a2_0x475355(0x16e))[a2_0x475355(0x2de)](async(_0x25a607,_0x3cf2b6)=>{const _0x58fa67=new LLMAgentCreateCommand(),_0x164f2c=program['opts'](),_0x87893b=await createTDXInstance(_0x164f2c),_0x4a9ee5=await _0x58fa67['run']({'options':{..._0x164f2c,..._0x3cf2b6},'args':[_0x25a607],'tdx':_0x87893b});gracefulExit(_0x4a9ee5);}),agentSyncCmd['command'](a2_0x475355(0x198))[a2_0x475355(0x1fa)](a2_0x475355(0x26f))[a2_0x475355(0x1cb)]('--name\x20<text>','Agent\x20name')[a2_0x475355(0x1cb)]('--prompt\x20<text>',a2_0x475355(0x1dd))[a2_0x475355(0x1cb)](a2_0x475355(0x1fe),a2_0x475355(0x365))[a2_0x475355(0x1cb)](a2_0x475355(0x1b9),a2_0x475355(0x1e1))[a2_0x475355(0x2de)](async(_0x5df7c1,_0x2e15f3)=>{const _0x30109a=a2_0x475355,_0x5d694a=new LLMAgentUpdateCommand(),_0x16141d=program[_0x30109a(0x347)](),_0x4f07c9=await createTDXInstance(_0x16141d),_0x27f610=await _0x5d694a['run']({'options':{..._0x16141d,..._0x2e15f3},'args':[_0x5df7c1],'tdx':_0x4f07c9});gracefulExit(_0x27f610);}),agentSyncCmd[a2_0x475355(0x36c)](a2_0x475355(0x1cd))[a2_0x475355(0x1fa)](a2_0x475355(0x35d))['action'](async(_0x3cb466,_0x3f923c)=>{const _0x66b7b9=a2_0x475355,_0xe6ab7a=new LLMAgentDeleteCommand(),_0xf40601=program['opts'](),_0x337d8e=await createTDXInstance(_0xf40601),_0x102775=await _0xe6ab7a[_0x66b7b9(0x2ae)]({'options':{..._0xf40601,..._0x3f923c},'args':[_0x3cb466],'tdx':_0x337d8e});gracefulExit(_0x102775);});export{program};export function runCLI(){const _0x29086d=a2_0x475355,_0x4af6ca=!process[_0x29086d(0x325)][_0x29086d(0x1c9)](0x2)[_0x29086d(0x1f0)];showBriefHelp=_0x4af6ca,program[_0x29086d(0x1aa)](process[_0x29086d(0x325)]);_0x4af6ca&&program[_0x29086d(0x279)]();if(process[_0x29086d(0x27d)][_0x29086d(0x2f8)]&&process[_0x29086d(0x325)]['length']>0x2&&!isDevVersion()){const _0x46fcdb=loadReleaseChannel();checkForUpdate(currentVersion,_0x46fcdb)[_0x29086d(0x262)](_0x31b901=>{_0x31b901&&displayUpdateNotification(_0x31b901);})[_0x29086d(0x390)](()=>{});}}
|
|
1
|
+
const a2_0x455ebf=a2_0x51ac;(function(_0x3835f4,_0x195d0a){const _0x2c133a=a2_0x51ac,_0x40b0de=_0x3835f4();while(!![]){try{const _0x2cdc07=parseInt(_0x2c133a(0x213))/0x1*(parseInt(_0x2c133a(0x22b))/0x2)+-parseInt(_0x2c133a(0x9b))/0x3+-parseInt(_0x2c133a(0x169))/0x4*(parseInt(_0x2c133a(0x2ba))/0x5)+-parseInt(_0x2c133a(0xfd))/0x6+-parseInt(_0x2c133a(0x2d1))/0x7*(-parseInt(_0x2c133a(0x109))/0x8)+parseInt(_0x2c133a(0x1a7))/0x9*(-parseInt(_0x2c133a(0xa4))/0xa)+-parseInt(_0x2c133a(0x161))/0xb*(-parseInt(_0x2c133a(0xca))/0xc);if(_0x2cdc07===_0x195d0a)break;else _0x40b0de['push'](_0x40b0de['shift']());}catch(_0x559cb2){_0x40b0de['push'](_0x40b0de['shift']());}}}(a2_0x1bc9,0xbb5b2));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSPzListCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';function a2_0x51ac(_0x705ff8,_0x341c1a){_0x705ff8=_0x705ff8-0x92;const _0x1bc956=a2_0x1bc9();let _0x51ace6=_0x1bc956[_0x705ff8];return _0x51ace6;}import{MCPCommand}from'./commands/mcp-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process['argv'][a2_0x455ebf(0x23c)]('--version')){let versionOutput='tdx\x20'+currentVersion;buildInfo['gitRevision']&&!currentVersion[a2_0x455ebf(0x23c)](buildInfo[a2_0x455ebf(0x1b3)])&&(versionOutput+='\x20('+buildInfo[a2_0x455ebf(0x1b3)]+')'),buildInfo[a2_0x455ebf(0xf9)]&&(versionOutput+=a2_0x455ebf(0x2ff)+buildInfo[a2_0x455ebf(0xf9)]),console[a2_0x455ebf(0x2ec)](versionOutput),process[a2_0x455ebf(0x2a7)](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0x455ebf(0x10f);buildInfo[a2_0x455ebf(0x1b3)]&&!currentVersion[a2_0x455ebf(0x23c)](buildInfo[a2_0x455ebf(0x1b3)])?description+=',\x20version\x20'+currentVersion+'\x20('+buildInfo[a2_0x455ebf(0x1b3)]+')':description+=a2_0x455ebf(0x1d4)+currentVersion;program[a2_0x455ebf(0x1b5)]('tdx')[a2_0x455ebf(0x28a)](description),program['option'](a2_0x455ebf(0x16f),'Change\x20to\x20directory\x20before\x20executing\x20command')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1d1),a2_0x455ebf(0x132))['option'](a2_0x455ebf(0x142),'TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)',a2_0x455ebf(0x232))[a2_0x455ebf(0xaa)]('--format\x20<format>',a2_0x455ebf(0x1e1))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x277),'Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x12a),'Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x207),'Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x173),a2_0x455ebf(0x203))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x300),a2_0x455ebf(0x255))['option']('--limit\x20<number>',a2_0x455ebf(0x259))[a2_0x455ebf(0xaa)]('--color','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1a3),a2_0x455ebf(0xfa),![])['option'](a2_0x455ebf(0x16a),a2_0x455ebf(0x133),![])[a2_0x455ebf(0xaa)](a2_0x455ebf(0x274),a2_0x455ebf(0x148))['option'](a2_0x455ebf(0x164),'Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')[a2_0x455ebf(0xaa)]('--timeout\x20<seconds>',a2_0x455ebf(0x183),'30')[a2_0x455ebf(0xaa)]('--dry-run',a2_0x455ebf(0x309),![])[a2_0x455ebf(0xaa)](a2_0x455ebf(0xe9),'Skip\x20confirmation\x20prompts',![])[a2_0x455ebf(0xaa)](a2_0x455ebf(0x256),'Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)')[a2_0x455ebf(0xaa)]('-d,\x20--database\x20<name>',a2_0x455ebf(0x20c))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x171),a2_0x455ebf(0x134))['option']('--parent-segment\x20<name>',a2_0x455ebf(0x93))['option'](a2_0x455ebf(0x1a9),'LLM\x20project\x20to\x20use\x20(overrides\x20context)'),program[a2_0x455ebf(0x166)]({'formatHelp':(_0x85ff30,_0x43b864)=>{const _0x48311d=a2_0x455ebf,_0x4a33da=_0x43b864[_0x48311d(0xf5)](_0x85ff30,_0x43b864),_0x292fb6=0x2,_0xbdde3d=0x2;function _0x20da43(_0x36b502){const _0x56f204=_0x36b502;return!!(_0x56f204['_hidden']||_0x56f204['hidden']);}function _0x41332d(_0x673548,_0x4ee734){const _0x5ad8b9=_0x48311d;if(_0x4ee734){const _0x6eba54=''+_0x673548[_0x5ad8b9(0x1ee)](_0x4a33da+_0xbdde3d)+_0x4ee734;return _0x6eba54;}return _0x673548;}function _0x3c3c2d(_0x26f449){const _0x4aecd8=_0x48311d;return _0x26f449[_0x4aecd8(0xf8)]('\x0a')[_0x4aecd8(0x139)](/^/gm,'\x20'['repeat'](_0x292fb6));}const _0x58e5fb=[];_0x58e5fb[_0x48311d(0x1ec)](_0x48311d(0x2e4)+_0x43b864[_0x48311d(0xa0)](_0x85ff30));const _0x1739c2=_0x43b864['commandDescription'](_0x85ff30);_0x1739c2&&(_0x58e5fb[_0x48311d(0x1ec)](''),_0x58e5fb[_0x48311d(0x1ec)](_0x1739c2));const _0x31ef91=_0x85ff30[_0x48311d(0x157)][_0x48311d(0x12b)](_0x2df04e=>!_0x20da43(_0x2df04e));if(_0x31ef91[_0x48311d(0x124)]>0x0){if(_0x85ff30[_0x48311d(0x1b5)]()===_0x48311d(0x264)){const _0x46c499=_0x85ff30[_0x48311d(0x19c)](),_0x2ec0b9=!_0x46c499[_0x48311d(0x146)]&&process[_0x48311d(0x1c2)][_0x48311d(0x181)],_0x99d4a4=COMMAND_CATEGORIES,_0x20be0a=(_0x17750f,_0x1c19ef)=>_0x2ec0b9?_0x1c19ef(_0x17750f):_0x17750f,_0x1ee5f4=new Map();_0x31ef91[_0x48311d(0x180)](_0x3bc884=>{const _0x2a5511=_0x48311d;_0x1ee5f4[_0x2a5511(0x97)](_0x3bc884['name'](),_0x3bc884);}),_0x99d4a4[_0x48311d(0x180)](_0x112358=>{const _0x1ed909=_0x48311d,_0x11301b=_0x112358[_0x1ed909(0x157)][_0x1ed909(0x312)](_0x225053=>_0x1ee5f4[_0x1ed909(0x21a)](_0x225053)??[]);if(_0x11301b[_0x1ed909(0x124)]>0x0){_0x58e5fb[_0x1ed909(0x1ec)](''),_0x58e5fb[_0x1ed909(0x1ec)](_0x20be0a(_0x112358[_0x1ed909(0x1b5)]+':',_0x112358[_0x1ed909(0x193)]));const _0x379048=_0x11301b[_0x1ed909(0x273)](_0x152679=>{const _0x3f2cd5=_0x1ed909,_0x3e256e=_0x43b864[_0x3f2cd5(0x1d9)](_0x152679),_0xf25c82=_0x43b864[_0x3f2cd5(0x29f)](_0x152679);return _0x41332d(_0x3e256e,_0xf25c82);});_0x58e5fb['push'](_0x3c3c2d(_0x379048));}}),_0x58e5fb['push'](''),_0x58e5fb[_0x48311d(0x1ec)](_0x48311d(0xd5));}else{const _0xbd5758=_0x31ef91[_0x48311d(0x273)](_0x5ad442=>{const _0x6be59f=_0x48311d,_0x4d8bc6=_0x43b864[_0x6be59f(0x1d9)](_0x5ad442),_0xf80200=_0x43b864[_0x6be59f(0x29f)](_0x5ad442);return _0x41332d(_0x4d8bc6,_0xf80200);});_0x58e5fb[_0x48311d(0x1ec)](''),_0x58e5fb['push'](_0x48311d(0x1a1)),_0x58e5fb['push'](_0x3c3c2d(_0xbd5758));}}if(showBriefHelp&&_0x85ff30[_0x48311d(0x1b5)]()===_0x48311d(0x264))_0x58e5fb[_0x48311d(0x1ec)](''),_0x58e5fb[_0x48311d(0x1ec)](_0x48311d(0x185));else{const _0x5a5306=_0x85ff30[_0x48311d(0x209)]['filter'](_0xf65ea4=>!_0x20da43(_0xf65ea4));if(_0x5a5306[_0x48311d(0x124)]>0x0){const _0x3eaecd=_0x5a5306['map'](_0x3994a7=>{const _0x3570e1=_0x48311d,_0x59cfba=_0x43b864['optionTerm'](_0x3994a7),_0x3a96d0=_0x43b864[_0x3570e1(0x283)](_0x3994a7);return _0x41332d(_0x59cfba,_0x3a96d0);});_0x58e5fb['push'](''),_0x58e5fb[_0x48311d(0x1ec)](_0x48311d(0x1b2)),_0x58e5fb[_0x48311d(0x1ec)](_0x3c3c2d(_0x3eaecd));}}const _0x2961d6=(_0x85ff30['registeredArguments']||[])[_0x48311d(0x12b)](_0x549d8e=>!_0x20da43(_0x549d8e));if(_0x2961d6[_0x48311d(0x124)]>0x0){const _0x514868=_0x2961d6[_0x48311d(0x273)](_0x7adb65=>{const _0x5d74cb=_0x48311d,_0x1c0619=_0x43b864[_0x5d74cb(0x2f8)](_0x7adb65),_0x3655c0=_0x43b864[_0x5d74cb(0x2c4)](_0x7adb65);return _0x41332d(_0x1c0619,_0x3655c0);});_0x58e5fb[_0x48311d(0x1ec)](''),_0x58e5fb[_0x48311d(0x1ec)](_0x48311d(0x15b)),_0x58e5fb[_0x48311d(0x1ec)](_0x3c3c2d(_0x514868));}return _0x58e5fb[_0x48311d(0xf8)]('\x0a')+'\x0a';},'subcommandTerm':_0x57d460=>{const _0xd429df=a2_0x455ebf,_0x47d867=(_0x57d460[_0xd429df(0x11b)]||[])[_0xd429df(0x273)](_0x3bbc71=>_0x3bbc71[_0xd429df(0x291)]?'<'+_0x3bbc71[_0xd429df(0x1b5)]()+'>':'['+_0x3bbc71['name']()+']')[_0xd429df(0xf8)]('\x20'),_0x57f176=_0x57d460['aliases'](),_0x217a67=_0x57f176['length']>0x0?_0x57d460[_0xd429df(0x1b5)]()+',\x20'+_0x57f176['join'](',\x20'):_0x57d460[_0xd429df(0x1b5)]();return _0x47d867?_0x217a67+'\x20'+_0x47d867:_0x217a67;}}),program[a2_0x455ebf(0x2b3)](a2_0x455ebf(0x1bd),_0x1df442=>{const _0x31bdf9=a2_0x455ebf,_0x44285b=_0x1df442[_0x31bdf9(0x19c)]();if(_0x44285b[_0x31bdf9(0x2fa)]){const _0x5ed419=resolve(_0x44285b['directory']),_0x196fdb=_0x5ed419!==_0x44285b[_0x31bdf9(0x2fa)]?_0x31bdf9(0x299)+_0x5ed419+')':'';if(!existsSync(_0x5ed419))throw new SDKError(ErrorCode[_0x31bdf9(0x2de)],_0x31bdf9(0x2c3)+_0x44285b[_0x31bdf9(0x2fa)]+_0x196fdb,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x6ca23d=statSync(_0x5ed419);if(!_0x6ca23d[_0x31bdf9(0x303)]())throw new SDKError(ErrorCode[_0x31bdf9(0x2de)],_0x31bdf9(0x14a)+_0x44285b['directory']+_0x196fdb,undefined,{'helpText':_0x31bdf9(0x2c1)});process[_0x31bdf9(0x235)](_0x5ed419);}if(!_0x44285b[_0x31bdf9(0x210)]){if(_0x44285b[_0x31bdf9(0x1de)])_0x44285b['format']=_0x31bdf9(0x1de);else{if(_0x44285b[_0x31bdf9(0x2e5)])_0x44285b[_0x31bdf9(0x210)]=_0x31bdf9(0x2e5);else{if(_0x44285b[_0x31bdf9(0x2bf)])_0x44285b['format']='jsonl';else _0x44285b[_0x31bdf9(0x113)]&&(_0x44285b[_0x31bdf9(0x210)]='tsv');}}}_0x44285b['in']&&!_0x44285b[_0x31bdf9(0x278)]&&(_0x44285b[_0x31bdf9(0x278)]=_0x44285b['in']);if(_0x44285b[_0x31bdf9(0x163)])_0x44285b[_0x31bdf9(0x154)]=LogLevel[_0x31bdf9(0x311)];else{if(_0x44285b[_0x31bdf9(0x14d)])_0x44285b[_0x31bdf9(0x154)]=LogLevel['DEBUG'];else _0x44285b['logLevel']===undefined&&(_0x44285b['logLevel']=LogLevel[_0x31bdf9(0x225)]);}});async function createTDXInstance(_0x5f5d6c){const _0x138a45=a2_0x455ebf,_0x13a565=await GlobalContext[_0x138a45(0xd2)](_0x5f5d6c);return _0x13a565[_0x138a45(0x313)](_0x5f5d6c),TDX[_0x138a45(0x268)]({'site':_0x13a565[_0x138a45(0x1e2)],'apiKey':_0x13a565['apiKey'],'logLevel':_0x13a565[_0x138a45(0x154)],'profile':_0x13a565['profile']});}const databaseCmd=program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x278))['alias']('db')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2c8)),databaseListAction=async(_0x38b128,_0x559db1)=>{const _0x49f85f=a2_0x455ebf,_0x46ad74=new DatabasesCommand(),_0x2251b9=program[_0x49f85f(0x19c)](),_0x7cc7fd=await createTDXInstance(_0x2251b9),_0x237608=await _0x46ad74[_0x49f85f(0x158)]({'options':{..._0x2251b9,..._0x559db1},'args':_0x38b128?[_0x38b128]:[],'tdx':_0x7cc7fd});gracefulExit(_0x237608);};databaseCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x17d))['description']('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x455ebf(0x202)](databaseListAction),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x17c),{'hidden':!![]})[a2_0x455ebf(0x28a)](a2_0x455ebf(0xd9))[a2_0x455ebf(0x202)](databaseListAction),program['command'](a2_0x455ebf(0x258))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1fb))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2d3),a2_0x455ebf(0x167))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xc4),'Start\x20a\x20new\x20chat\x20session')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1cd),a2_0x455ebf(0x2cf))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x10b),'Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)')[a2_0x455ebf(0x202)](async(_0x58b927,_0x116c3f)=>{const _0x3c6eb8=a2_0x455ebf,_0x3b4e87=program[_0x3c6eb8(0x19c)](),_0x52f919=await createTDXInstance(_0x3b4e87);if(_0x58b927[0x0]===_0x3c6eb8(0x268)){const _0x4791c0=new ChatCreateCommand();gracefulExit(await _0x4791c0[_0x3c6eb8(0x158)]({'options':{..._0x3b4e87,..._0x116c3f},'args':_0x58b927[_0x3c6eb8(0x22e)](0x1),'tdx':_0x52f919}));return;}const _0x3a30ef=new ChatCommand(),_0x274b8e=await _0x3a30ef[_0x3c6eb8(0x158)]({'options':{..._0x3b4e87,..._0x116c3f},'args':_0x58b927,'tdx':_0x52f919});gracefulExit(_0x274b8e);});const apiCmd=program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2a0))[a2_0x455ebf(0x295)](a2_0x455ebf(0x1ba))[a2_0x455ebf(0x105)]('after',a2_0x455ebf(0x2bd))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x249),a2_0x455ebf(0x2eb),a2_0x455ebf(0x252))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x197),'Request\x20body\x20as\x20JSON\x20string')[a2_0x455ebf(0xaa)](a2_0x455ebf(0xd7),a2_0x455ebf(0x224))['option'](a2_0x455ebf(0x9c),a2_0x455ebf(0x307),(_0x31234d,_0x3e7222)=>{return _0x3e7222?[..._0x3e7222,_0x31234d]:[_0x31234d];})[a2_0x455ebf(0xaa)]('--type\x20<api_type>',a2_0x455ebf(0x29a),'td')['action'](async(_0x54376f,_0x4b6fe0)=>{const _0x3292d3=a2_0x455ebf;if(!_0x54376f){apiCmd[_0x3292d3(0x270)]();return;}const _0x530eb9=new ApiCommand(),_0x207b4c=program['opts'](),_0x45cf59=await createTDXInstance(_0x207b4c),_0x496b7e=await _0x530eb9[_0x3292d3(0x158)]({'options':{..._0x207b4c,..._0x4b6fe0},'args':[_0x54376f],'tdx':_0x45cf59});gracefulExit(_0x496b7e);});program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x267))[a2_0x455ebf(0x28a)]('Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration')['addHelpText'](a2_0x455ebf(0x92),a2_0x455ebf(0x178))[a2_0x455ebf(0x202)](async _0x51f1a6=>{const _0x4f8c3b=a2_0x455ebf,_0x116eba=new MCPCommand(),_0x264092=program[_0x4f8c3b(0x19c)](),_0x4846e9=await createTDXInstance(_0x264092),_0x1e51e2=await _0x116eba[_0x4f8c3b(0x158)]({'options':{..._0x264092,..._0x51f1a6},'args':[],'tdx':_0x4846e9});gracefulExit(_0x1e51e2);});const tableCmd=program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1de))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1f0)),tableListAction=async(_0x2d10d5,_0x3549f5)=>{const _0x463433=a2_0x455ebf,_0x1c6715=new TablesCommand(),_0xb6a4d3=program['opts'](),_0x54b45f=await createTDXInstance(_0xb6a4d3);_0x3549f5['in']&&(_0x3549f5[_0x463433(0x278)]=_0x3549f5['in']);const _0x4c7d2a=await _0x1c6715[_0x463433(0x158)]({'options':{..._0xb6a4d3,..._0x3549f5},'args':_0x2d10d5?[_0x2d10d5]:[],'tdx':_0x54b45f});gracefulExit(_0x4c7d2a);};tableCmd['command'](a2_0x455ebf(0x17d))['description']('List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x9a),a2_0x455ebf(0x2cc))['option'](a2_0x455ebf(0x27d),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x455ebf(0x202)](tableListAction),program[a2_0x455ebf(0xc9)]('tables\x20[pattern]',{'hidden':!![]})['description']('List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)')['option'](a2_0x455ebf(0x9a),a2_0x455ebf(0x2cc))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x27d),a2_0x455ebf(0x134))[a2_0x455ebf(0x202)](tableListAction),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2da))['description'](a2_0x455ebf(0x2d4))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x9a),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')['option'](a2_0x455ebf(0x27d),a2_0x455ebf(0x134))[a2_0x455ebf(0x202)](async(_0x3a3f7d,_0x4859c6)=>{const _0x3f2149=a2_0x455ebf,_0x2c7e16=new ShowCommand(),_0x5d36bb=program['opts'](),_0x1c8dc3=await createTDXInstance(_0x5d36bb);_0x4859c6['in']&&(_0x4859c6[_0x3f2149(0x278)]=_0x4859c6['in']);const _0x4e0bb1=await _0x2c7e16[_0x3f2149(0x158)]({'options':{..._0x5d36bb,..._0x4859c6},'args':_0x3a3f7d?[_0x3a3f7d]:[],'tdx':_0x1c8dc3});gracefulExit(_0x4e0bb1);}),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x14e))['alias'](a2_0x455ebf(0x99))[a2_0x455ebf(0x28a)]('Describe\x20table\x20schema')[a2_0x455ebf(0xaa)]('-d,\x20--database\x20<database>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x27d),a2_0x455ebf(0x134))['action'](async(_0x3edd77,_0x26f8a0)=>{const _0x3eaf77=a2_0x455ebf,_0x3126a2=new DescribeCommand(),_0x66490=program[_0x3eaf77(0x19c)](),_0x2a1833=await createTDXInstance(_0x66490);_0x26f8a0['in']&&(_0x26f8a0[_0x3eaf77(0x278)]=_0x26f8a0['in']);const _0x4497ed=await _0x3126a2[_0x3eaf77(0x158)]({'options':{..._0x66490,..._0x26f8a0},'args':_0x3edd77?[_0x3edd77]:[],'tdx':_0x2a1833});gracefulExit(_0x4497ed);}),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2a1))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2dd))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x9a),a2_0x455ebf(0x297))['option']('--in\x20<database>',a2_0x455ebf(0x134))['option']('--catalog\x20<catalog>','Trino\x20catalog\x20(default:\x20td)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0xd7),a2_0x455ebf(0xe6))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2d5),'Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','40')[a2_0x455ebf(0x202)](async(_0x330a47,_0x49ea42)=>{const _0x204faa=a2_0x455ebf,_0x318f1b=new QueryCommand(),_0x1cab8f=program[_0x204faa(0x19c)](),_0x2a5856=await createTDXInstance(_0x1cab8f);_0x49ea42['in']&&(_0x49ea42[_0x204faa(0x278)]=_0x49ea42['in']);const _0x7e09c7=await _0x318f1b[_0x204faa(0x158)]({'options':{..._0x1cab8f,..._0x49ea42},'args':_0x330a47?[_0x330a47]:[],'tdx':_0x2a5856});gracefulExit(_0x7e09c7);});const segmentCmd=program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x221))[a2_0x455ebf(0xff)]('sg')[a2_0x455ebf(0x28a)](a2_0x455ebf(0xe0)),segmentListAction=async(_0x13dd56,_0x34cc31)=>{const _0x28cb65=a2_0x455ebf,_0x4b3d24=new SegmentsCommand(),_0x2dc7b0=program[_0x28cb65(0x19c)](),_0x4d5743=await createTDXInstance(_0x2dc7b0),_0x7dbba5=await _0x4b3d24['run']({'options':{..._0x2dc7b0,..._0x34cc31},'args':_0x13dd56?[_0x13dd56]:[],'tdx':_0x4d5743});gracefulExit(_0x7dbba5);};segmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2fb))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1bb))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1f8),a2_0x455ebf(0x2f6))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x308),a2_0x455ebf(0x1d2),'10')[a2_0x455ebf(0x202)](segmentListAction),program['command'](a2_0x455ebf(0x1f3),{'hidden':!![]})[a2_0x455ebf(0x28a)](a2_0x455ebf(0x14f))['option'](a2_0x455ebf(0x1f8),a2_0x455ebf(0x2f6))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x308),a2_0x455ebf(0x1d2),'10')[a2_0x455ebf(0x202)](segmentListAction),segmentCmd[a2_0x455ebf(0xc9)]('use\x20<path>',{'hidden':!![]})[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1b1))[a2_0x455ebf(0x202)](async(_0x231ace,_0x19fbe8)=>{const _0x40d101=new SegmentUseCommand(),_0x5ec95b=program['opts'](),_0x1c49ff=await createTDXInstance(_0x5ec95b),_0x5584ad=await _0x40d101['run']({'options':{..._0x5ec95b,..._0x19fbe8},'args':[_0x231ace],'tdx':_0x1c49ff});gracefulExit(_0x5584ad);});const segmentViewAction=async(_0x3f2079,_0x34eb5f)=>{const _0x414e67=a2_0x455ebf,_0x2d4e83=new SegmentViewCommand(),_0x573d87=program[_0x414e67(0x19c)](),_0x4e6ed0=await createTDXInstance(_0x573d87),_0x2708ec=await _0x2d4e83['run']({'options':{..._0x573d87,..._0x34eb5f},'args':_0x3f2079?[_0x3f2079]:[],'tdx':_0x4e6ed0});gracefulExit(_0x2708ec);};segmentCmd['command']('view\x20[segment_name]')[a2_0x455ebf(0x28a)]('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')['option']('-w,\x20--web',a2_0x455ebf(0x15c))[a2_0x455ebf(0x202)](segmentViewAction),segmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2b9),{'hidden':!![]})[a2_0x455ebf(0xff)](a2_0x455ebf(0x1ed))['option']('-w,\x20--web',a2_0x455ebf(0x15c))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x188))[a2_0x455ebf(0x202)](segmentViewAction),segmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1dd))[a2_0x455ebf(0x28a)]('Show\x20segment\x20schema\x20(column\x20types)')[a2_0x455ebf(0x202)](async(_0x4c8463,_0x598b50)=>{const _0x5b461f=a2_0x455ebf,_0x5f3ef8=new SegmentDescCommand(),_0x33a148=program[_0x5b461f(0x19c)](),_0x5e74a1=await createTDXInstance(_0x33a148),_0x373e2e=await _0x5f3ef8['run']({'options':{..._0x33a148,..._0x598b50},'args':_0x4c8463?[_0x4c8463]:[],'tdx':_0x5e74a1});gracefulExit(_0x373e2e);}),segmentCmd[a2_0x455ebf(0xc9)]('show\x20[segment_name]')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x31d))[a2_0x455ebf(0x202)](async(_0x10653d,_0x50b568)=>{const _0x3716ee=a2_0x455ebf,_0x42aade=new SegmentShowCommand(),_0x5864f4=program['opts'](),_0x3fdcbc=await createTDXInstance(_0x5864f4),_0x19a898=await _0x42aade[_0x3716ee(0x158)]({'options':{..._0x5864f4,..._0x50b568},'args':_0x10653d?[_0x10653d]:[],'tdx':_0x3fdcbc});gracefulExit(_0x19a898);}),segmentCmd['command'](a2_0x455ebf(0xa6),{'hidden':!![]})[a2_0x455ebf(0x28a)]('[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)')[a2_0x455ebf(0x202)](async(_0x5e02c7,_0x436912)=>{const _0x21a80d=a2_0x455ebf,_0x251b0f=new SegmentFolderListCommand(),_0x823e8b=program[_0x21a80d(0x19c)](),_0x3dee9b=await createTDXInstance(_0x823e8b),_0x172e5d=await _0x251b0f[_0x21a80d(0x158)]({'options':{..._0x823e8b,..._0x436912},'args':[_0x5e02c7],'tdx':_0x3dee9b});gracefulExit(_0x172e5d);});const folderCmd=segmentCmd['command'](a2_0x455ebf(0x201),{'hidden':!![]})['description'](a2_0x455ebf(0x289));folderCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x31b))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x18b))[a2_0x455ebf(0x202)](async(_0x72a92,_0x3c008f)=>{const _0x5f2ffe=a2_0x455ebf,_0x410615=new SegmentFolderShowCommand(),_0x389ed8=program[_0x5f2ffe(0x19c)](),_0x24321d=await createTDXInstance(_0x389ed8),_0x85fb2d=await _0x410615[_0x5f2ffe(0x158)]({'options':{..._0x389ed8,..._0x3c008f},'args':[_0x72a92],'tdx':_0x24321d});gracefulExit(_0x85fb2d);}),segmentCmd['command'](a2_0x455ebf(0x108))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2b5))[a2_0x455ebf(0x202)](async(_0x2a8c9c,_0x4db805)=>{const _0x50c234=a2_0x455ebf,_0x22d00b=new SegmentSQLCommand(),_0x4324a3=program[_0x50c234(0x19c)](),_0x42a15b=await createTDXInstance(_0x4324a3),_0x4c19fa=await _0x22d00b[_0x50c234(0x158)]({'options':{..._0x4324a3,..._0x4db805},'args':_0x2a8c9c?[_0x2a8c9c]:[],'tdx':_0x42a15b});gracefulExit(_0x4c19fa);}),segmentCmd[a2_0x455ebf(0xc9)]('fields\x20[parent_name]')['description'](a2_0x455ebf(0x2b6))['action'](async(_0x34f420,_0x1daa2a)=>{const _0x347b85=a2_0x455ebf,_0x512ba1=new SegmentFieldsCommand(),_0x1d9184=program[_0x347b85(0x19c)](),_0x3a5017=await createTDXInstance(_0x1d9184),_0x26e4d7=await _0x512ba1[_0x347b85(0x158)]({'options':{..._0x1d9184,..._0x1daa2a},'args':_0x34f420?[_0x34f420]:[],'tdx':_0x3a5017});gracefulExit(_0x26e4d7);}),segmentCmd['command'](a2_0x455ebf(0xe5))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x31c))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xe9),a2_0x455ebf(0x2db))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2cb),a2_0x455ebf(0x16b))[a2_0x455ebf(0x202)](async(_0x21e0b7,_0x1145d2)=>{const _0x2bac8e=a2_0x455ebf,_0x8bdc3b=new SegmentPullCommand(),_0x24aa76=program['opts'](),_0x1ef4bf=await createTDXInstance(_0x24aa76),_0x2040da=await _0x8bdc3b[_0x2bac8e(0x158)]({'options':{..._0x24aa76,..._0x1145d2},'args':_0x21e0b7?[_0x21e0b7]:[],'tdx':_0x1ef4bf});gracefulExit(_0x2040da);}),segmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1a6))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x151))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xe9),'Skip\x20confirmation\x20prompts')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2cb),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2d2),a2_0x455ebf(0x1bc))[a2_0x455ebf(0x202)](async(_0x44efb3,_0x2bb083)=>{const _0x3e1cd2=a2_0x455ebf,_0x1aacb4=new SegmentPushCommand(),_0x5e613f=program[_0x3e1cd2(0x19c)](),_0xed947b=await createTDXInstance(_0x5e613f),_0x101b65=await _0x1aacb4[_0x3e1cd2(0x158)]({'options':{..._0x5e613f,..._0x2bb083},'args':_0x44efb3?[_0x44efb3]:[],'tdx':_0xed947b});gracefulExit(_0x101b65);}),segmentCmd[a2_0x455ebf(0xc9)]('validate\x20[target]')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x100))[a2_0x455ebf(0x202)](async(_0x5994a5,_0x4576d5)=>{const _0xc16b5c=a2_0x455ebf,_0x10c248=new SegmentValidateCommand(),_0xf6b603=program[_0xc16b5c(0x19c)](),_0x422e7b=await createTDXInstance(_0xf6b603),_0x459b08=await _0x10c248[_0xc16b5c(0x158)]({'options':{..._0xf6b603,..._0x4576d5},'args':_0x5994a5?[_0x5994a5]:[],'tdx':_0x422e7b});gracefulExit(_0x459b08);}),segmentCmd[a2_0x455ebf(0xc9)]('create\x20<segment_name>',{'hidden':!![]})[a2_0x455ebf(0x28a)](a2_0x455ebf(0x229))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x153),'Segment\x20description')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1e0),'Filtering\x20rule\x20as\x20JSON\x20string')[a2_0x455ebf(0xaa)](a2_0x455ebf(0xd0),a2_0x455ebf(0x10a))[a2_0x455ebf(0xaa)]('--folder\x20<name>',a2_0x455ebf(0x175))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x184),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x96),'Make\x20segment\x20invisible\x20(default:\x20visible)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0xfc),a2_0x455ebf(0x23e))[a2_0x455ebf(0x202)](async(_0x494287,_0x4c110c)=>{const _0x23e978=a2_0x455ebf,_0x130949=new SegmentCreateCommand(),_0x1ff1f1=program[_0x23e978(0x19c)](),_0x28ef26=await createTDXInstance(_0x1ff1f1),_0x49a8c5=await _0x130949[_0x23e978(0x158)]({'options':{..._0x1ff1f1,..._0x4c110c},'args':[_0x494287],'tdx':_0x28ef26});gracefulExit(_0x49a8c5);}),segmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xbd),{'hidden':!![]})[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1a2))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x253),'New\x20segment\x20name')['option'](a2_0x455ebf(0x153),a2_0x455ebf(0x208))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1e0),a2_0x455ebf(0x2ae))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xd0),a2_0x455ebf(0x292))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x20e),'Move\x20to\x20folder')['option']('--kind\x20<type>',a2_0x455ebf(0x129))[a2_0x455ebf(0x202)](async(_0x2a5fc7,_0x17d3b7)=>{const _0x5d451c=a2_0x455ebf,_0x2b8cae=new SegmentUpdateCommand(),_0x1340d1=program[_0x5d451c(0x19c)](),_0x709dc2=await createTDXInstance(_0x1340d1),_0x5cd40e=await _0x2b8cae['run']({'options':{..._0x1340d1,..._0x17d3b7},'args':[_0x2a5fc7],'tdx':_0x709dc2});gracefulExit(_0x5cd40e);});const parentCmd=segmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x95),{'hidden':!![]})[a2_0x455ebf(0x28a)]('[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead'),parentListAction=async(_0x320c27,_0x1c998c)=>{const _0x1ff400=new ParentSegmentListCommand(),_0xbdf8b5=program['opts'](),_0x3beccf=await createTDXInstance(_0xbdf8b5),_0xae8bec=await _0x1ff400['run']({'options':{..._0xbdf8b5,..._0x1c998c},'args':_0x320c27?[_0x320c27]:[],'tdx':_0x3beccf});gracefulExit(_0xae8bec);};parentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x17d))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1e6))[a2_0x455ebf(0x202)](parentListAction),segmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x9f),{'hidden':!![]})[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2cd))['action'](parentListAction),parentCmd[a2_0x455ebf(0xc9)]('pull\x20[name]')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x122))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xf3),'Output\x20file\x20path\x20(default:\x20<name>.yml)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0xe9),a2_0x455ebf(0x2aa))[a2_0x455ebf(0x202)](async(_0x4c1d42,_0x5a4b77)=>{const _0x23ff16=a2_0x455ebf,_0x4101a6=new ParentSegmentPullCommand(),_0x41189e=program[_0x23ff16(0x19c)](),_0x379c98=await createTDXInstance(_0x41189e),_0x2f1390=await _0x4101a6['run']({'options':{..._0x41189e,..._0x5a4b77},'args':_0x4c1d42?[_0x4c1d42]:[],'tdx':_0x379c98});gracefulExit(_0x2f1390);}),parentCmd[a2_0x455ebf(0xc9)]('push\x20[file]')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x25b))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xe9),'Skip\x20confirmation\x20prompt')[a2_0x455ebf(0x202)](async(_0xf6b7ac,_0x3e9b47)=>{const _0xf0a5a8=a2_0x455ebf,_0x259155=new ParentSegmentPushCommand(),_0x3110d6=program[_0xf0a5a8(0x19c)](),_0x5b2ad0=await createTDXInstance(_0x3110d6),_0x50cca7=await _0x259155['run']({'options':{..._0x3110d6,..._0x3e9b47},'args':_0xf6b7ac?[_0xf6b7ac]:[],'tdx':_0x5b2ad0});gracefulExit(_0x50cca7);}),parentCmd['command'](a2_0x455ebf(0x2ca))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1db))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2e7),a2_0x455ebf(0x230))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x17f),a2_0x455ebf(0x275))[a2_0x455ebf(0xaa)]('--behavior\x20[name]','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')['option'](a2_0x455ebf(0xb8),a2_0x455ebf(0x192))['option'](a2_0x455ebf(0x11a),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')[a2_0x455ebf(0x202)](async(_0x38813f,_0x2daa9b)=>{const _0x2cf6ad=a2_0x455ebf,_0x4a69a6=new ParentSegmentValidateCommand(),_0x21a97f=program[_0x2cf6ad(0x19c)](),_0x25b7cb=await createTDXInstance(_0x21a97f),_0x5c9efd=await _0x4a69a6[_0x2cf6ad(0x158)]({'options':{..._0x21a97f,..._0x2daa9b},'args':_0x38813f?[_0x38813f]:[],'tdx':_0x25b7cb});gracefulExit(_0x5c9efd);}),parentCmd['command'](a2_0x455ebf(0x165))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x261))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2e7),a2_0x455ebf(0xb7))['option'](a2_0x455ebf(0x17f),a2_0x455ebf(0x1b8))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2fd),a2_0x455ebf(0x2fc))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xb8),a2_0x455ebf(0xa5))[a2_0x455ebf(0xaa)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x455ebf(0xbc))[a2_0x455ebf(0x202)](async(_0xb0f573,_0x4900a3)=>{const _0x249873=a2_0x455ebf,_0x2ec6d2=new ParentSegmentPreviewCommand(),_0x4ba3e0=program['opts'](),_0x8b7204=await createTDXInstance(_0x4ba3e0),_0xbcae05=await _0x2ec6d2[_0x249873(0x158)]({'options':{..._0x4ba3e0,..._0x4900a3},'args':_0xb0f573?[_0xb0f573]:[],'tdx':_0x8b7204});gracefulExit(_0xbcae05);}),parentCmd['command']('run\x20[name]')['description']('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')['option'](a2_0x455ebf(0xe9),a2_0x455ebf(0x2aa))[a2_0x455ebf(0x202)](async(_0x1d8c12,_0x1d0380)=>{const _0xe96fc2=a2_0x455ebf,_0x6334f0=new ParentSegmentRunCommand(),_0x11d4ce=program[_0xe96fc2(0x19c)](),_0x3c9b2c=await createTDXInstance(_0x11d4ce),_0x120e0c=await _0x6334f0[_0xe96fc2(0x158)]({'options':{..._0x11d4ce,..._0x1d0380},'args':_0x1d8c12?[_0x1d8c12]:[],'tdx':_0x3c9b2c});gracefulExit(_0x120e0c);});const parentSegmentCmd=program['command'](a2_0x455ebf(0x204))[a2_0x455ebf(0xff)]('ps')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x21e));parentSegmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x17d))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1e6))[a2_0x455ebf(0x202)](parentListAction),parentSegmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x25d))['description']('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0xf3),a2_0x455ebf(0xde))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xe9),a2_0x455ebf(0x2aa))['option']('-u,\x20--use',a2_0x455ebf(0x2b2))[a2_0x455ebf(0x202)](async(_0xfc7c2c,_0x5f53da)=>{const _0x2048a9=a2_0x455ebf,_0x37e7c1=new ParentSegmentPullCommand(),_0x5b9d45=program[_0x2048a9(0x19c)](),_0x49ce1a=await createTDXInstance(_0x5b9d45),_0x3c879a=await _0x37e7c1[_0x2048a9(0x158)]({'options':{..._0x5b9d45,..._0x5f53da},'args':_0xfc7c2c?[_0xfc7c2c]:[],'tdx':_0x49ce1a});gracefulExit(_0x3c879a);}),parentSegmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x228))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x20f))[a2_0x455ebf(0xaa)]('-y,\x20--yes',a2_0x455ebf(0x2aa))['action'](async(_0x5e29e9,_0x4f4dd4)=>{const _0x2d1c7c=a2_0x455ebf,_0x340fe0=new ParentSegmentPushCommand(),_0x5c9f85=program[_0x2d1c7c(0x19c)](),_0x156261=await createTDXInstance(_0x5c9f85),_0x52b97f=await _0x340fe0['run']({'options':{..._0x5c9f85,..._0x4f4dd4},'args':_0x5e29e9?[_0x5e29e9]:[],'tdx':_0x156261});gracefulExit(_0x52b97f);}),parentSegmentCmd[a2_0x455ebf(0xc9)]('validate\x20[name]')[a2_0x455ebf(0x28a)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2e7),a2_0x455ebf(0x230))['option'](a2_0x455ebf(0x17f),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2fd),a2_0x455ebf(0xda))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xb8),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x11a),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')[a2_0x455ebf(0x202)](async(_0x264a97,_0x472d97)=>{const _0x546d1d=a2_0x455ebf,_0x17e186=new ParentSegmentValidateCommand(),_0x311092=program[_0x546d1d(0x19c)](),_0x5bb158=await createTDXInstance(_0x311092),_0xbe2797=await _0x17e186[_0x546d1d(0x158)]({'options':{..._0x311092,..._0x472d97},'args':_0x264a97?[_0x264a97]:[],'tdx':_0x5bb158});gracefulExit(_0xbe2797);}),parentSegmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1f7))['description'](a2_0x455ebf(0x261))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2e7),a2_0x455ebf(0xb7))['option'](a2_0x455ebf(0x17f),a2_0x455ebf(0x1b8))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2fd),a2_0x455ebf(0x2fc))['option'](a2_0x455ebf(0xb8),a2_0x455ebf(0xa5))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x11a),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x455ebf(0xbc))[a2_0x455ebf(0x202)](async(_0x487e67,_0x1a61e3)=>{const _0x1ec32b=a2_0x455ebf,_0x20be51=new ParentSegmentPreviewCommand(),_0x8fbe89=program[_0x1ec32b(0x19c)](),_0xcee6e=await createTDXInstance(_0x8fbe89),_0x1c6de5=await _0x20be51[_0x1ec32b(0x158)]({'options':{..._0x8fbe89,..._0x1a61e3},'args':_0x487e67?[_0x487e67]:[],'tdx':_0xcee6e});gracefulExit(_0x1c6de5);}),parentSegmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1e7))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x115))['option']('-y,\x20--yes','Skip\x20confirmation\x20prompt')['action'](async(_0x9b977a,_0x4fbd83)=>{const _0x572f65=a2_0x455ebf,_0x217222=new ParentSegmentRunCommand(),_0x44bcea=program[_0x572f65(0x19c)](),_0x2aac13=await createTDXInstance(_0x44bcea),_0x3be1a6=await _0x217222['run']({'options':{..._0x44bcea,..._0x4fbd83},'args':_0x9b977a?[_0x9b977a]:[],'tdx':_0x2aac13});gracefulExit(_0x3be1a6);}),parentSegmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x21b))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x13b))['option']('--json',a2_0x455ebf(0x243))[a2_0x455ebf(0xaa)]('--jsonl',a2_0x455ebf(0x1eb))['action'](async(_0x986290,_0x575d0e)=>{const _0x4dc1b6=a2_0x455ebf,_0x392c48=new ParentSegmentFieldsCommand(),_0x4cdc6d=program['opts'](),_0x41586c=await createTDXInstance(_0x4cdc6d),_0x5de1d9=await _0x392c48[_0x4dc1b6(0x158)]({'options':{..._0x4cdc6d,..._0x575d0e},'args':_0x986290?[_0x986290]:[],'tdx':_0x41586c});gracefulExit(_0x5de1d9);}),parentSegmentCmd['command'](a2_0x455ebf(0x1cb))[a2_0x455ebf(0x28a)]('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x455ebf(0xaa)]('-w,\x20--web',a2_0x455ebf(0x168))['option'](a2_0x455ebf(0x12a),'Output\x20as\x20JSON')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x207),'Output\x20as\x20JSON\x20Lines')[a2_0x455ebf(0x202)](async(_0x2acc2b,_0x1b9796)=>{const _0x225583=a2_0x455ebf,_0x3b1505=new ParentSegmentViewCommand(),_0x350590=program[_0x225583(0x19c)](),_0x3a3f3d=await createTDXInstance(_0x350590),_0x245c6c=await _0x3b1505[_0x225583(0x158)]({'options':{..._0x350590,..._0x1b9796},'args':_0x2acc2b?[_0x2acc2b]:[],'tdx':_0x3a3f3d});gracefulExit(_0x245c6c);}),parentSegmentCmd[a2_0x455ebf(0xc9)]('desc\x20[name]')[a2_0x455ebf(0x28a)]('Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x455ebf(0xaa)]('-o,\x20--output\x20<file>',a2_0x455ebf(0xde))[a2_0x455ebf(0xaa)]('--json',a2_0x455ebf(0x243))['option'](a2_0x455ebf(0x207),a2_0x455ebf(0x1eb))[a2_0x455ebf(0x202)](async(_0x5f3bb4,_0x3228e2)=>{const _0x30314e=a2_0x455ebf,_0x378065=new ParentSegmentDescCommand(),_0x3f6747=program[_0x30314e(0x19c)](),_0x21da13=await createTDXInstance(_0x3f6747),_0x16ba97=await _0x378065[_0x30314e(0x158)]({'options':{..._0x3f6747,..._0x3228e2},'args':_0x5f3bb4?[_0x5f3bb4]:[],'tdx':_0x21da13});gracefulExit(_0x16ba97);}),parentSegmentCmd['command'](a2_0x455ebf(0x149))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x20a))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x12a),'Output\x20as\x20JSON')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x207),'Output\x20as\x20JSON\x20Lines')[a2_0x455ebf(0x202)](async(_0x4622d4,_0x308035)=>{const _0x54f845=a2_0x455ebf,_0x403b6a=new ParentSegmentSQLCommand(),_0x7d5ae5=program[_0x54f845(0x19c)](),_0x33bc76=await createTDXInstance(_0x7d5ae5),_0x50bfb0=await _0x403b6a['run']({'options':{..._0x7d5ae5,..._0x308035},'args':_0x4622d4?[_0x4622d4]:[],'tdx':_0x33bc76});gracefulExit(_0x50bfb0);}),parentSegmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1c5))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x231))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x94),a2_0x455ebf(0x2c5))['option']('--json',a2_0x455ebf(0x243))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x207),a2_0x455ebf(0x1eb))[a2_0x455ebf(0x202)](async(_0x4d3cf8,_0x34024a)=>{const _0x296697=a2_0x455ebf,_0x566177=new ParentSegmentShowCommand(),_0xdab471=program[_0x296697(0x19c)](),_0x5c9cd1=await createTDXInstance(_0xdab471),_0x866b76=await _0x566177[_0x296697(0x158)]({'options':{..._0xdab471,..._0x34024a},'args':_0x4d3cf8?[_0x4d3cf8]:[],'tdx':_0x5c9cd1});gracefulExit(_0x866b76);}),parentSegmentCmd['command'](a2_0x455ebf(0x1e9))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x216))[a2_0x455ebf(0x202)](async(_0x8d49f1,_0xb083a5)=>{const _0x1c86fc=a2_0x455ebf,_0x2d4061=new UseCommand(),_0x1bd96b=program[_0x1c86fc(0x19c)](),_0x1249b8=_0x8d49f1?[_0x1c86fc(0x26e),_0x8d49f1]:[],_0x116fe9=await _0x2d4061[_0x1c86fc(0x158)]({'options':{..._0x1bd96b,..._0xb083a5},'args':_0x1249b8,'tdx':null});gracefulExit(_0x116fe9);});const psRtCmd=parentSegmentCmd['command']('rt')[a2_0x455ebf(0x28a)](a2_0x455ebf(0xc8));psRtCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x17d))['description'](a2_0x455ebf(0x1f2))[a2_0x455ebf(0x202)](async(_0x3ccba2,_0x244d51)=>{const _0x778ee6=a2_0x455ebf,_0x5ac6de=new PSRtListCommand(),_0x339a8a=program[_0x778ee6(0x19c)](),_0xde531=await createTDXInstance(_0x339a8a),_0x22aa3c=await _0x5ac6de[_0x778ee6(0x158)]({'options':{..._0x339a8a,..._0x244d51},'args':_0x3ccba2?[_0x3ccba2]:[],'tdx':_0xde531});gracefulExit(_0x22aa3c);}),psRtCmd[a2_0x455ebf(0xc9)]('validate\x20[name]')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1ef))['action'](async(_0x35fe6a,_0x423edb)=>{const _0x343415=a2_0x455ebf,_0x4adcd3=new PSRtValidateCommand(),_0x583287=program['opts'](),_0x2ab0ea=await createTDXInstance(_0x583287),_0x34277c=await _0x4adcd3[_0x343415(0x158)]({'options':{..._0x583287,..._0x423edb},'args':_0x35fe6a?[_0x35fe6a]:[],'tdx':_0x2ab0ea});gracefulExit(_0x34277c);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})[a2_0x455ebf(0x28a)](a2_0x455ebf(0xc8));parentRtCmd[a2_0x455ebf(0xc9)]('list\x20[pattern]')[a2_0x455ebf(0x28a)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0x455ebf(0x202)](async(_0x33131e,_0x51efc9)=>{const _0x10bb5c=a2_0x455ebf,_0x5d598e=new PSRtListCommand(),_0x2d48da=program['opts'](),_0x5ba33b=await createTDXInstance(_0x2d48da),_0x56e4dc=await _0x5d598e[_0x10bb5c(0x158)]({'options':{..._0x2d48da,..._0x51efc9},'args':_0x33131e?[_0x33131e]:[],'tdx':_0x5ba33b});gracefulExit(_0x56e4dc);}),parentRtCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2c2))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1ef))[a2_0x455ebf(0x202)](async(_0x4507ff,_0x2f5a8e)=>{const _0x6d3e3c=a2_0x455ebf,_0xd49f7f=new PSRtValidateCommand(),_0x373310=program[_0x6d3e3c(0x19c)](),_0x1bb364=await createTDXInstance(_0x373310),_0x3acd06=await _0xd49f7f[_0x6d3e3c(0x158)]({'options':{..._0x373310,..._0x2f5a8e},'args':_0x4507ff?[_0x4507ff]:[],'tdx':_0x1bb364});gracefulExit(_0x3acd06);});const psPzCmd=parentSegmentCmd[a2_0x455ebf(0xc9)]('pz')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1c8));psPzCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xe1))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x282))[a2_0x455ebf(0x202)](async(_0x5661db,_0x53fcc1)=>{const _0x1ae18f=a2_0x455ebf,_0x342177=new PSPzListCommand(),_0x2bf986=program[_0x1ae18f(0x19c)](),_0x54072e=await createTDXInstance(_0x2bf986),_0x1abe7e=await _0x342177[_0x1ae18f(0x158)]({'options':{..._0x2bf986,..._0x53fcc1},'args':_0x5661db?[_0x5661db]:[],'tdx':_0x54072e});gracefulExit(_0x1abe7e);}),psPzCmd[a2_0x455ebf(0xc9)]('init\x20[name]')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x21d))[a2_0x455ebf(0x202)](async(_0x43d380,_0x13cf9f)=>{const _0x36236a=a2_0x455ebf,_0x34a5ec=new PSPzInitCommand(),_0x3f9891=program['opts'](),_0x7b06c5=await createTDXInstance(_0x3f9891),_0x1a5f7e=await _0x34a5ec[_0x36236a(0x158)]({'options':{..._0x3f9891,..._0x13cf9f},'args':_0x43d380?[_0x43d380]:[],'tdx':_0x7b06c5});gracefulExit(_0x1a5f7e);});const parentPzCmd=parentCmd[a2_0x455ebf(0xc9)]('pz',{'hidden':!![]})['description']('Personalization\x20service\x20management');parentPzCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xe1))[a2_0x455ebf(0x28a)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x455ebf(0x202)](async(_0x46b1eb,_0x16ee65)=>{const _0x50fa44=a2_0x455ebf,_0x354aa2=new PSPzListCommand(),_0xa9adc2=program[_0x50fa44(0x19c)](),_0x4e72f8=await createTDXInstance(_0xa9adc2),_0x2a7966=await _0x354aa2[_0x50fa44(0x158)]({'options':{..._0xa9adc2,..._0x16ee65},'args':_0x46b1eb?[_0x46b1eb]:[],'tdx':_0x4e72f8});gracefulExit(_0x2a7966);}),parentPzCmd[a2_0x455ebf(0xc9)]('init\x20[name]')['description']('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x455ebf(0x202)](async(_0x13b65c,_0x4a23d4)=>{const _0x175360=a2_0x455ebf,_0x26929d=new PSPzInitCommand(),_0x21e437=program[_0x175360(0x19c)](),_0x2476d2=await createTDXInstance(_0x21e437),_0x550a3a=await _0x26929d[_0x175360(0x158)]({'options':{..._0x21e437,..._0x4a23d4},'args':_0x13b65c?[_0x13b65c]:[],'tdx':_0x2476d2});gracefulExit(_0x550a3a);}),parentCmd['command'](a2_0x455ebf(0x26a))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2f0))['requiredOption'](a2_0x455ebf(0x28e),a2_0x455ebf(0x23b))[a2_0x455ebf(0x114)](a2_0x455ebf(0x2f2),a2_0x455ebf(0x2a9))[a2_0x455ebf(0xaa)]('--description\x20<text>','Parent\x20segment\x20description')['option'](a2_0x455ebf(0x121),a2_0x455ebf(0x1c9))['option'](a2_0x455ebf(0x116),a2_0x455ebf(0x241))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x219),a2_0x455ebf(0xfe))['option'](a2_0x455ebf(0x1b9),'Attributes\x20as\x20JSON\x20string')['option'](a2_0x455ebf(0x20b),a2_0x455ebf(0xb4))['option']('--behaviors\x20<json>',a2_0x455ebf(0x1c6))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x11f),a2_0x455ebf(0x2bb))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x262),a2_0x455ebf(0x1c1))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2e3),'Customer\x20group\x20from\x20JSON\x20file')[a2_0x455ebf(0x202)](async(_0x31baa6,_0x358bcb)=>{const _0x3aecee=a2_0x455ebf,_0x30f895=new ParentSegmentCreateCommand(),_0x33f69a=program[_0x3aecee(0x19c)](),_0x262d19=await createTDXInstance(_0x33f69a),_0x4e3229=await _0x30f895[_0x3aecee(0x158)]({'options':{..._0x33f69a,..._0x358bcb},'args':[_0x31baa6],'tdx':_0x262d19});gracefulExit(_0x4e3229);}),parentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1d6))['description']('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x153),a2_0x455ebf(0x208))[a2_0x455ebf(0xaa)]('--schedule-type\x20<type>',a2_0x455ebf(0x1d7))[a2_0x455ebf(0xaa)]('--schedule-option\x20<value>',a2_0x455ebf(0x246))['option'](a2_0x455ebf(0x219),a2_0x455ebf(0x25c))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1d5),a2_0x455ebf(0x17e))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x26d),'Add\x20attributes\x20from\x20JSON\x20file')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x234),'Add\x20behaviors\x20as\x20JSON\x20string')[a2_0x455ebf(0xaa)]('--add-behaviors-file\x20<file>',a2_0x455ebf(0x2e1))[a2_0x455ebf(0x202)](async(_0x970bd5,_0x51e309)=>{const _0x4cb7f4=a2_0x455ebf,_0x40c150=new ParentSegmentUpdateCommand(),_0x4ca6d2=program[_0x4cb7f4(0x19c)](),_0x270436=await createTDXInstance(_0x4ca6d2),_0x8cc0b8=await _0x40c150[_0x4cb7f4(0x158)]({'options':{..._0x4ca6d2,..._0x51e309},'args':[_0x970bd5],'tdx':_0x270436});gracefulExit(_0x8cc0b8);}),folderCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x101))['description'](a2_0x455ebf(0x179))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x153),a2_0x455ebf(0x29e))[a2_0x455ebf(0xaa)]('--parent-folder\x20<name>',a2_0x455ebf(0x29c))['action'](async(_0x43fc91,_0x57b87d,_0x9ef705)=>{const _0x3745ab=a2_0x455ebf,_0x305b85=new SegmentFolderCreateCommand(),_0x1fd236=program[_0x3745ab(0x19c)](),_0x3f7e50=await createTDXInstance(_0x1fd236),_0x520309=await _0x305b85[_0x3745ab(0x158)]({'options':{..._0x1fd236,..._0x9ef705},'args':[_0x43fc91,_0x57b87d],'tdx':_0x3f7e50});gracefulExit(_0x520309);}),program[a2_0x455ebf(0xc9)]('activations\x20<segment_name>')[a2_0x455ebf(0x28a)]('List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)')[a2_0x455ebf(0x202)](async(_0x419f70,_0x3412b8)=>{const _0x300fbf=a2_0x455ebf,_0x172a32=new ActivationsCommand(),_0x21a0fd=program[_0x300fbf(0x19c)](),_0x38dfff=await createTDXInstance(_0x21a0fd),_0x28c874=await _0x172a32[_0x300fbf(0x158)]({'options':{..._0x21a0fd,..._0x3412b8},'args':[_0x419f70],'tdx':_0x38dfff});gracefulExit(_0x28c874);});const workflowCmd=program['command'](a2_0x455ebf(0x2f3))[a2_0x455ebf(0xff)]('wf')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2ee)),wfProjectCmd=workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1f4))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x30d)),wfProjectListAction=async(_0x22ea77,_0x44cb84)=>{const _0x3c4023=a2_0x455ebf,_0x1aafb8=new WorkflowProjectsCommand(),_0x48b975=program['opts'](),_0x824f52=await createTDXInstance(_0x48b975),_0x591178=await _0x1aafb8[_0x3c4023(0x158)]({'options':{..._0x48b975,..._0x44cb84},'args':_0x22ea77?[_0x22ea77]:[],'tdx':_0x824f52});gracefulExit(_0x591178);};wfProjectCmd['command'](a2_0x455ebf(0x17d))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x28b))[a2_0x455ebf(0x202)](wfProjectListAction),workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x22f))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x136))[a2_0x455ebf(0x202)](wfProjectListAction);const wfWorkflowListAction=async(_0xc1c408,_0x51bf67)=>{const _0x576acb=a2_0x455ebf,_0x3a9468=new WorkflowWorkflowsCommand(),_0xf77e6b=program[_0x576acb(0x19c)](),_0x44b338=await createTDXInstance(_0xf77e6b),_0x2d7478=await _0x3a9468['run']({'options':{..._0xf77e6b,..._0x51bf67},'args':_0xc1c408?[_0xc1c408]:[],'tdx':_0x44b338});gracefulExit(_0x2d7478);};workflowCmd[a2_0x455ebf(0xc9)]('workflows\x20[project]')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x265))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xd6))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xc7)),wfSessionListAction=async(_0x57cce5,_0x2268bb)=>{const _0x11b18b=a2_0x455ebf,_0x56e2a8=new WorkflowSessionsCommand(),_0x2b779a=program[_0x11b18b(0x19c)](),_0x4e3112=await createTDXInstance(_0x2b779a),_0x124d1=await _0x56e2a8[_0x11b18b(0x158)]({'options':{..._0x2b779a,..._0x2268bb},'args':_0x57cce5?[_0x57cce5]:[],'tdx':_0x4e3112});gracefulExit(_0x124d1);};wfSessionCmd[a2_0x455ebf(0xc9)]('list\x20[project]')[a2_0x455ebf(0x28a)]('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x242),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x206),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option']('--to\x20<timestamp>',a2_0x455ebf(0x187))[a2_0x455ebf(0x202)](wfSessionListAction),workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x162))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x26c))['option'](a2_0x455ebf(0x242),a2_0x455ebf(0x152))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x206),a2_0x455ebf(0x1ea))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1d0),a2_0x455ebf(0x187))['action'](wfSessionListAction);const wfAttemptListAction=async(_0x49b52a,_0x221d5c)=>{const _0x184033=a2_0x455ebf,_0x41adde=new WorkflowAttemptsCommand(),_0x278f29=program[_0x184033(0x19c)](),_0x55a0a3=await createTDXInstance(_0x278f29),_0x52452a=await _0x41adde[_0x184033(0x158)]({'options':{..._0x278f29,..._0x221d5c},'args':_0x49b52a?[_0x49b52a]:[],'tdx':_0x55a0a3});gracefulExit(_0x52452a);},attemptCmd=workflowCmd[a2_0x455ebf(0xc9)]('attempt')[a2_0x455ebf(0x28a)](a2_0x455ebf(0xd1))[a2_0x455ebf(0xa7)](a2_0x455ebf(0x1fa),a2_0x455ebf(0x280))['argument'](a2_0x455ebf(0xa2),'Action:\x20logs,\x20tasks,\x20kill,\x20retry')[a2_0x455ebf(0xa7)](a2_0x455ebf(0x2e8),a2_0x455ebf(0x227))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x98),a2_0x455ebf(0x155))['option'](a2_0x455ebf(0x19a),a2_0x455ebf(0x2c7))['option'](a2_0x455ebf(0x250),a2_0x455ebf(0x19e))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x257),a2_0x455ebf(0x2ed))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x177),a2_0x455ebf(0xb9))['option']('--include-retried',a2_0x455ebf(0xa1))[a2_0x455ebf(0x202)](async(_0x292db9,_0x10a859,_0x13f049,_0x36d35c)=>{const _0x4959c6=a2_0x455ebf;if(_0x292db9==='list'){await wfAttemptListAction(_0x10a859,_0x36d35c);return;}if(!_0x292db9){attemptCmd[_0x4959c6(0x270)]();return;}const _0x46cb4a=program[_0x4959c6(0x19c)](),_0x11e567=await createTDXInstance(_0x46cb4a);let _0x3b104d=0x0;if(!_0x10a859){const _0x46d892=new WorkflowAttemptCommand();_0x3b104d=await _0x46d892[_0x4959c6(0x158)]({'options':{..._0x46cb4a,..._0x36d35c},'args':[_0x292db9],'tdx':_0x11e567});}else{if(_0x10a859==='logs'){const _0x1aa637=new WorkflowLogsCommand();_0x3b104d=await _0x1aa637['run']({'options':{..._0x46cb4a,..._0x36d35c},'args':_0x13f049?[_0x292db9,_0x13f049]:[_0x292db9],'tdx':_0x11e567});}else{if(_0x10a859===_0x4959c6(0x2a6)){const _0x4dd62b=new WorkflowTasksCommand();_0x3b104d=await _0x4dd62b[_0x4959c6(0x158)]({'options':{..._0x46cb4a,..._0x36d35c},'args':[_0x292db9],'tdx':_0x11e567});}else{if(_0x10a859===_0x4959c6(0x1b4)){const _0x173328=new WorkflowKillCommand();_0x3b104d=await _0x173328[_0x4959c6(0x158)]({'options':{..._0x46cb4a,..._0x36d35c},'args':[_0x292db9],'tdx':_0x11e567});}else{if(_0x10a859===_0x4959c6(0x305)){const _0x2ff9e5=new WorkflowRetryCommand();_0x3b104d=await _0x2ff9e5[_0x4959c6(0x158)]({'options':{..._0x46cb4a,..._0x36d35c},'args':[_0x4959c6(0x176)+_0x292db9],'tdx':_0x11e567});}else console['error'](_0x4959c6(0x240)+_0x10a859),console[_0x4959c6(0x144)](_0x4959c6(0xc5)),_0x3b104d=0x1;}}}}gracefulExit(_0x3b104d);});attemptCmd['command'](a2_0x455ebf(0x1b0))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x18f))[a2_0x455ebf(0xaa)]('--include-retried',a2_0x455ebf(0x236))[a2_0x455ebf(0x202)](wfAttemptListAction),workflowCmd[a2_0x455ebf(0xc9)]('attempts\x20[project]')['description']('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')['option'](a2_0x455ebf(0x1c0),a2_0x455ebf(0x236))[a2_0x455ebf(0x202)](wfAttemptListAction),workflowCmd['command'](a2_0x455ebf(0x1f5))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xf4))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x9e),'Follow/watch\x20timeline\x20for\x20running\x20attempts')['option']('--session-id\x20<id>','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1df),a2_0x455ebf(0x287))[a2_0x455ebf(0x202)](async(_0x17d6ca,_0x315036)=>{const _0x2dcb3c=a2_0x455ebf,_0x410417=new WorkflowTimelineCommand(),_0x375dcf=program[_0x2dcb3c(0x19c)](),_0x40b430=await createTDXInstance(_0x375dcf),_0x390e54=await _0x410417[_0x2dcb3c(0x158)]({'options':{..._0x375dcf,..._0x315036},'args':_0x17d6ca?[_0x17d6ca]:[],'tdx':_0x40b430});gracefulExit(_0x390e54);}),workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x266))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xac))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x130),a2_0x455ebf(0x18a))['option'](a2_0x455ebf(0x257),'Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x455ebf(0x202)](async(_0x302406,_0x44b65c)=>{const _0x36864d=a2_0x455ebf,_0x31b381=new WorkflowRetryCommand(),_0xcd5fc5=program[_0x36864d(0x19c)](),_0x58de5a=await createTDXInstance(_0xcd5fc5),_0x3477fc=await _0x31b381['run']({'options':{..._0xcd5fc5,..._0x44b65c},'args':[_0x302406],'tdx':_0x58de5a});gracefulExit(_0x3477fc);}),workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xcd))[a2_0x455ebf(0x28a)]('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')['option'](a2_0x455ebf(0x294),a2_0x455ebf(0x2e9),(_0x528ce7,_0x407934=[])=>[..._0x407934,_0x528ce7],[])[a2_0x455ebf(0xaa)](a2_0x455ebf(0xf6),a2_0x455ebf(0x1e3))[a2_0x455ebf(0x202)](async(_0x24ba88,_0x1d1c83)=>{const _0x255d13=a2_0x455ebf,_0x2454e1=new WorkflowRunCommand(),_0xff9050=program[_0x255d13(0x19c)](),_0x312cd0=await createTDXInstance(_0xff9050),_0x59e64b=await _0x2454e1[_0x255d13(0x158)]({'options':{..._0xff9050,..._0x1d1c83},'args':_0x24ba88?[_0x24ba88]:[],'tdx':_0x312cd0});gracefulExit(_0x59e64b);}),workflowCmd['command'](a2_0x455ebf(0xd4))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x30b))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x260),a2_0x455ebf(0xdb))[a2_0x455ebf(0x202)](async(_0x1597e5,_0x3f2da5,_0x4b15a2)=>{const _0xf7baf8=a2_0x455ebf,_0x3988aa=new WorkflowDownloadCommand(),_0x26b8d8=program[_0xf7baf8(0x19c)](),_0x2d6c40=await createTDXInstance(_0x26b8d8),_0x39a763=await _0x3988aa[_0xf7baf8(0x158)]({'options':{..._0x26b8d8,..._0x4b15a2},'args':[_0x1597e5,_0x3f2da5||'.'],'tdx':_0x2d6c40});gracefulExit(_0x39a763);}),workflowCmd['command'](a2_0x455ebf(0x25f))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xc0))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x260),a2_0x455ebf(0x28d))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2cb),a2_0x455ebf(0xdf))['option'](a2_0x455ebf(0xe9),a2_0x455ebf(0x2aa))['action'](async(_0x3ad093,_0x34fc50,_0x56cd2e)=>{const _0x3ea099=a2_0x455ebf,_0x99c06c=new WorkflowPullCommand(),_0x12d3e2=program['opts'](),_0x59d01a=await createTDXInstance(_0x12d3e2),_0x2eed60=await _0x99c06c[_0x3ea099(0x158)]({'options':{..._0x12d3e2,..._0x56cd2e},'args':_0x34fc50?[_0x3ad093,_0x34fc50]:[_0x3ad093],'tdx':_0x59d01a});gracefulExit(_0x2eed60);}),workflowCmd[a2_0x455ebf(0xc9)]('push\x20[source-dir]')['description'](a2_0x455ebf(0x220))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x260),'Custom\x20revision\x20name\x20(default:\x20timestamp)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2cb),a2_0x455ebf(0x2b0))[a2_0x455ebf(0xaa)]('--skip-validation',a2_0x455ebf(0xc3))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xe9),a2_0x455ebf(0x2aa))[a2_0x455ebf(0x202)](async(_0xca563,_0xeaa488)=>{const _0x50d046=a2_0x455ebf,_0x453782=new WorkflowPushCommand(),_0x528bd8=program[_0x50d046(0x19c)](),_0x4cd7a6=await createTDXInstance(_0x528bd8),_0x5a6d10=await _0x453782[_0x50d046(0x158)]({'options':{..._0x528bd8,..._0xeaa488},'args':_0xca563?[_0xca563]:[],'tdx':_0x4cd7a6});gracefulExit(_0x5a6d10);}),workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x293))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x26b))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x103),'Override\x20project\x20name')['option']('--revision\x20<revision>',a2_0x455ebf(0x28f))['option']('--skip-validation',a2_0x455ebf(0xc3))[a2_0x455ebf(0x202)](async(_0x1d60a9,_0x38bdee)=>{const _0x505b70=a2_0x455ebf,_0x42dd3a=new WorkflowUploadCommand(),_0x2f38d=program[_0x505b70(0x19c)](),_0x1b1934=await createTDXInstance(_0x2f38d),_0x2fc1ee=await _0x42dd3a[_0x505b70(0x158)]({'options':{..._0x2f38d,..._0x38bdee},'args':_0x1d60a9?[_0x1d60a9]:[],'tdx':_0x1b1934});gracefulExit(_0x2fc1ee);}),workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2d0))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x137))['option'](a2_0x455ebf(0x103),a2_0x455ebf(0xdc))[a2_0x455ebf(0xaa)]('--revision\x20<revision>',a2_0x455ebf(0x11e))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2cb),a2_0x455ebf(0x170))[a2_0x455ebf(0xaa)]('--skip-validation',a2_0x455ebf(0xc3))[a2_0x455ebf(0xaa)]('-y,\x20--yes',a2_0x455ebf(0x2aa))[a2_0x455ebf(0x202)](async(_0x6ec5ff,_0x2b8167)=>{const _0x1d673d=a2_0x455ebf,_0x575cd1=new WorkflowCloneCommand(),_0x5d53d8=program['opts'](),_0x42d592=await createTDXInstance(_0x5d53d8),_0x5016af=await _0x575cd1[_0x1d673d(0x158)]({'options':{..._0x5d53d8,..._0x2b8167},'args':_0x6ec5ff?[_0x6ec5ff]:[],'tdx':_0x42d592});gracefulExit(_0x5016af);}),workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2b1))[a2_0x455ebf(0x28a)]('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')['action'](async(_0xfc957c,_0x4a2093)=>{const _0x2c0784=a2_0x455ebf,_0x143286=new WorkflowDeleteCommand(),_0x25f919=program[_0x2c0784(0x19c)](),_0x22a5d4=await createTDXInstance(_0x25f919),_0x263e95=await _0x143286[_0x2c0784(0x158)]({'options':{..._0x25f919,..._0x4a2093},'args':[_0xfc957c],'tdx':_0x22a5d4});gracefulExit(_0x263e95);}),workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xbe))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xed))['option'](a2_0x455ebf(0x128),a2_0x455ebf(0xa3))[a2_0x455ebf(0x202)](async(_0x185209,_0x35d017)=>{const _0x3e6a2d=a2_0x455ebf,_0x21abb9=new WorkflowUseCommand(),_0x8db9cc=program[_0x3e6a2d(0x19c)](),_0x346807=await createTDXInstance(_0x8db9cc),_0x16d490=await _0x21abb9[_0x3e6a2d(0x158)]({'options':{..._0x8db9cc,..._0x35d017},'args':_0x185209?[_0x185209]:[],'tdx':_0x346807});gracefulExit(_0x16d490);});const wfSecretsCmd=workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x245))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x31f));wfSecretsCmd['command'](a2_0x455ebf(0x1b0))[a2_0x455ebf(0x28a)]('List\x20secret\x20keys\x20for\x20a\x20project')['action'](async(_0x3270e4,_0x1b2d5f)=>{const _0x5c300b=a2_0x455ebf,_0x3af559=new WorkflowSecretsListCommand(),_0x25e2ef=program[_0x5c300b(0x19c)](),_0x4253b3=await createTDXInstance(_0x25e2ef),_0x5a7de4=await _0x3af559['run']({'options':{..._0x25e2ef,..._0x1b2d5f},'args':_0x3270e4?[_0x3270e4]:[],'tdx':_0x4253b3});gracefulExit(_0x5a7de4);}),wfSecretsCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x279))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1be))['action'](async(_0xe09eca,_0x30b7b5)=>{const _0x4b6af5=a2_0x455ebf,_0x1bf201=new WorkflowSecretsSetCommand(),_0x23b4a5=program['opts'](),_0x141bbd=await createTDXInstance(_0x23b4a5),_0x53bb59=await _0x1bf201[_0x4b6af5(0x158)]({'options':{..._0x23b4a5,..._0x30b7b5},'args':_0xe09eca,'tdx':_0x141bbd});gracefulExit(_0x53bb59);}),wfSecretsCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x189))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xf2))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xe9),a2_0x455ebf(0x2aa))[a2_0x455ebf(0x202)](async(_0x31887a,_0x45e04b)=>{const _0x2fae17=new WorkflowSecretsDeleteCommand(),_0x587feb=program['opts'](),_0x264742=await createTDXInstance(_0x587feb),_0x2e7cdb=await _0x2fae17['run']({'options':{..._0x587feb,..._0x45e04b},'args':_0x31887a,'tdx':_0x264742});gracefulExit(_0x2e7cdb);});const jobCmd=program[a2_0x455ebf(0xc9)]('job')[a2_0x455ebf(0x28a)]('Job\x20management\x20commands'),jobListAction=async _0x4e5767=>{const _0x35f272=a2_0x455ebf,_0x19ff1e=new JobListCommand(),_0x3f6ad5=program[_0x35f272(0x19c)](),_0x7061c6=await createTDXInstance(_0x3f6ad5),_0x45605a=await _0x19ff1e[_0x35f272(0x158)]({'options':{..._0x3f6ad5,..._0x4e5767},'args':[],'tdx':_0x7061c6});gracefulExit(_0x45605a);};jobCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xf1))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x13f))['option'](a2_0x455ebf(0x242),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x455ebf(0x202)](jobListAction),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x301),{'hidden':!![]})['description'](a2_0x455ebf(0x2e6))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x242),a2_0x455ebf(0x24c))[a2_0x455ebf(0x202)](jobListAction),jobCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2a8))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x233))[a2_0x455ebf(0x202)](async(_0x4ab34b,_0x233db3)=>{const _0x287cbe=a2_0x455ebf,_0x46a151=new JobShowCommand(),_0x5ed33a=program[_0x287cbe(0x19c)](),_0x14a65c=await createTDXInstance(_0x5ed33a),_0x4b992c=await _0x46a151[_0x287cbe(0x158)]({'options':{..._0x5ed33a,..._0x233db3},'args':[_0x4ab34b],'tdx':_0x14a65c});gracefulExit(_0x4b992c);}),jobCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xee))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xa9))[a2_0x455ebf(0x202)](async(_0x592571,_0x464c48)=>{const _0x5dd3f4=a2_0x455ebf,_0x3be808=new JobKillCommand(),_0x22a04b=program['opts'](),_0x5896c0=await createTDXInstance(_0x22a04b),_0x4af013=await _0x3be808[_0x5dd3f4(0x158)]({'options':{..._0x22a04b,..._0x464c48},'args':[_0x592571],'tdx':_0x5896c0});gracefulExit(_0x4af013);}),jobCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1ac))['description'](a2_0x455ebf(0xce))['option'](a2_0x455ebf(0x2f1),a2_0x455ebf(0x106),'trino')[a2_0x455ebf(0xaa)](a2_0x455ebf(0xd7),a2_0x455ebf(0x247))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x26f),'Database\x20name\x20(default:\x20information_schema)',a2_0x455ebf(0x182))[a2_0x455ebf(0x202)](async(_0x47d0ba,_0x4c639c)=>{const _0x47d06c=a2_0x455ebf,_0x1578bd=new JobSubmitCommand(),_0x26c87c=program['opts'](),_0x4a73da=await createTDXInstance(_0x26c87c),_0x1e86b4=await _0x1578bd[_0x47d06c(0x158)]({'options':{..._0x26c87c,..._0x4c639c},'args':_0x47d0ba?[_0x47d0ba]:[],'tdx':_0x4a73da});gracefulExit(_0x1e86b4);}),jobCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xd8))['description'](a2_0x455ebf(0x22a))[a2_0x455ebf(0x202)](async(_0x7d0136,_0x3d568b)=>{const _0x31f22e=a2_0x455ebf,_0x4af9bc=new JobResultCommand(),_0x29f915=program[_0x31f22e(0x19c)](),_0x27e8af=await createTDXInstance(_0x29f915),_0x34ba1e=await _0x4af9bc[_0x31f22e(0x158)]({'options':{..._0x29f915,..._0x3d568b},'args':[_0x7d0136],'tdx':_0x27e8af});gracefulExit(_0x34ba1e);});const scheduleCmd=jobCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x156))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x200));scheduleCmd[a2_0x455ebf(0xc9)]('list\x20[pattern]')[a2_0x455ebf(0x28a)]('List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)')['action'](async(_0x2ca258,_0xe64aba)=>{const _0x160917=a2_0x455ebf,_0x40f1ea=new ScheduleListCommand(),_0x21c1e7=program[_0x160917(0x19c)](),_0xd37905=await createTDXInstance(_0x21c1e7),_0x2e1ad2=await _0x40f1ea[_0x160917(0x158)]({'options':{..._0x21c1e7,..._0xe64aba},'args':_0x2ca258?[_0x2ca258]:[],'tdx':_0xd37905});gracefulExit(_0x2e1ad2);}),scheduleCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x16c))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x24d))[a2_0x455ebf(0x202)](async(_0x3cf7fb,_0x4e5579)=>{const _0x126420=a2_0x455ebf,_0x1afbce=new ScheduleShowCommand(),_0xafd53e=program[_0x126420(0x19c)](),_0x3c6425=await createTDXInstance(_0xafd53e),_0x11c1f7=await _0x1afbce[_0x126420(0x158)]({'options':{..._0xafd53e,..._0x4e5579},'args':[_0x3cf7fb],'tdx':_0x3c6425});gracefulExit(_0x11c1f7);}),scheduleCmd['command'](a2_0x455ebf(0x26a))[a2_0x455ebf(0x28a)]('Create\x20a\x20scheduled\x20query')[a2_0x455ebf(0x114)](a2_0x455ebf(0x1f6),a2_0x455ebf(0x2ce))[a2_0x455ebf(0x114)]('-f,\x20--file\x20<path>',a2_0x455ebf(0x247))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x174),a2_0x455ebf(0x27e),'trino')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x29b),'Cron\x20expression\x20for\x20scheduling')['option'](a2_0x455ebf(0x219),a2_0x455ebf(0x147))[a2_0x455ebf(0xaa)]('--delay\x20<seconds>','Delay\x20in\x20seconds\x20before\x20execution')['option'](a2_0x455ebf(0x11c),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1b7),a2_0x455ebf(0x304))['option'](a2_0x455ebf(0x10c),a2_0x455ebf(0x2c6))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x198),a2_0x455ebf(0x29d))[a2_0x455ebf(0x202)](async(_0x5560ae,_0x7c4c95)=>{const _0x23d18d=a2_0x455ebf,_0x42f14c=new ScheduleCreateCommand(),_0x22f1d9=program[_0x23d18d(0x19c)](),_0xd521e2=await createTDXInstance(_0x22f1d9),_0x7daa89=await _0x42f14c[_0x23d18d(0x158)]({'options':{..._0x22f1d9,..._0x7c4c95},'args':[_0x5560ae],'tdx':_0xd521e2});gracefulExit(_0x7daa89);}),scheduleCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1d6))[a2_0x455ebf(0x28a)]('Update\x20a\x20scheduled\x20query')[a2_0x455ebf(0xaa)]('-d,\x20--database\x20<db>',a2_0x455ebf(0x2ce))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xd7),a2_0x455ebf(0x247))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x174),a2_0x455ebf(0x27e))['option']('--cron\x20<expression>',a2_0x455ebf(0x17a))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x219),a2_0x455ebf(0x110))['option'](a2_0x455ebf(0x1d8),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x11c),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1b7),'Retry\x20limit\x20(0\x20to\x2032)')['option'](a2_0x455ebf(0x10c),a2_0x455ebf(0x2c6))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x198),a2_0x455ebf(0x29d))[a2_0x455ebf(0x202)](async(_0x4919d9,_0x3839c8)=>{const _0x5ed3d9=a2_0x455ebf,_0x3cbbf4=new ScheduleUpdateCommand(),_0x1e00fe=program[_0x5ed3d9(0x19c)](),_0x1cc760=await createTDXInstance(_0x1e00fe),_0x5c1759=await _0x3cbbf4[_0x5ed3d9(0x158)]({'options':{..._0x1e00fe,..._0x3839c8},'args':[_0x4919d9],'tdx':_0x1cc760});gracefulExit(_0x5c1759);}),scheduleCmd['command'](a2_0x455ebf(0x23d))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x27b))['action'](async(_0x43afd2,_0xbd70fa)=>{const _0xe95f77=a2_0x455ebf,_0x102a64=new ScheduleDeleteCommand(),_0x5837ea=program[_0xe95f77(0x19c)](),_0x2a37e0=await createTDXInstance(_0x5837ea),_0x24e89c=await _0x102a64[_0xe95f77(0x158)]({'options':{..._0x5837ea,..._0xbd70fa},'args':[_0x43afd2],'tdx':_0x2a37e0});gracefulExit(_0x24e89c);}),scheduleCmd[a2_0x455ebf(0xc9)]('run\x20<name>')['description']('Run\x20a\x20scheduled\x20query\x20immediately')['option'](a2_0x455ebf(0xea),a2_0x455ebf(0xab))[a2_0x455ebf(0xaa)]('--num\x20<1-10>',a2_0x455ebf(0x102))['action'](async(_0x18b985,_0x34b178)=>{const _0x341628=a2_0x455ebf,_0x16daab=new ScheduleRunCommand(),_0x4330ef=program[_0x341628(0x19c)](),_0x2e9020=await createTDXInstance(_0x4330ef),_0x5a5710=await _0x16daab[_0x341628(0x158)]({'options':{..._0x4330ef,..._0x34b178},'args':[_0x18b985],'tdx':_0x2e9020});gracefulExit(_0x5a5710);}),scheduleCmd['command'](a2_0x455ebf(0x21c))['description']('Show\x20schedule\x20execution\x20history')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x194),a2_0x455ebf(0x1a8))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x271),a2_0x455ebf(0xb3))['action'](async(_0x30aa0b,_0x56312e)=>{const _0x555bfd=a2_0x455ebf,_0x28b669=new ScheduleHistoryCommand(),_0x28da29=program[_0x555bfd(0x19c)](),_0x5e3197=await createTDXInstance(_0x28da29),_0x708a14=await _0x28b669[_0x555bfd(0x158)]({'options':{..._0x28da29,..._0x56312e},'args':[_0x30aa0b],'tdx':_0x5e3197});gracefulExit(_0x708a14);});const llmCmd=program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1d3))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1e5));llmCmd['command'](a2_0x455ebf(0x30c))[a2_0x455ebf(0x28a)]('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')[a2_0x455ebf(0x202)](async(_0x215a10,_0x4d92f5)=>{const _0x353942=a2_0x455ebf,_0x1b3cfa=new LLMUseCommand(),_0x1aac9e=program[_0x353942(0x19c)](),_0x59cf9b=await createTDXInstance(_0x1aac9e),_0x50ee8d=await _0x1b3cfa[_0x353942(0x158)]({'options':{..._0x1aac9e,..._0x4d92f5},'args':[_0x215a10],'tdx':_0x59cf9b});gracefulExit(_0x50ee8d);}),llmCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x317))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x24f))[a2_0x455ebf(0x202)](async _0x2ac287=>{const _0x164522=a2_0x455ebf,_0x1e6757=new LLMModelsCommand(),_0x6bec0c=program[_0x164522(0x19c)](),_0x1a3050=await createTDXInstance(_0x6bec0c),_0x800b4f=await _0x1e6757[_0x164522(0x158)]({'options':{..._0x6bec0c,..._0x2ac287},'args':[],'tdx':_0x1a3050});gracefulExit(_0x800b4f);});const projectCmd=llmCmd[a2_0x455ebf(0xc9)]('project')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x318)),llmProjectListAction=async(_0x22865b,_0x140952)=>{const _0x317f92=a2_0x455ebf,_0x2102f4=new LLMProjectsCommand(),_0x9fa933=program['opts'](),_0x8e0059=await createTDXInstance(_0x9fa933),_0x1a51ed=await _0x2102f4[_0x317f92(0x158)]({'options':{..._0x9fa933,..._0x140952},'args':_0x22865b?[_0x22865b]:[],'tdx':_0x8e0059});gracefulExit(_0x1a51ed);};projectCmd[a2_0x455ebf(0xc9)]('list\x20[pattern]')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2a2))[a2_0x455ebf(0x202)](llmProjectListAction),llmCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x22f))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x18d))[a2_0x455ebf(0x202)](llmProjectListAction),projectCmd[a2_0x455ebf(0xc9)]('create\x20<name>')['description'](a2_0x455ebf(0x211))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x153),a2_0x455ebf(0x141))['action'](async(_0x582634,_0x42b879)=>{const _0x61a0f3=a2_0x455ebf,_0x23b523=new LLMProjectCreateCommand(),_0x49413c=program['opts'](),_0x56cdb9=await createTDXInstance(_0x49413c),_0x3bbdb5=await _0x23b523[_0x61a0f3(0x158)]({'options':{..._0x49413c,..._0x42b879},'args':[_0x582634],'tdx':_0x56cdb9});gracefulExit(_0x3bbdb5);}),projectCmd[a2_0x455ebf(0xc9)]('delete\x20<name>')[a2_0x455ebf(0x28a)](a2_0x455ebf(0xeb))[a2_0x455ebf(0x202)](async(_0x506924,_0x26efd0)=>{const _0x3e0ed4=a2_0x455ebf,_0x365c9c=new LLMProjectDeleteCommand(),_0x52612e=program[_0x3e0ed4(0x19c)](),_0x2383fe=await createTDXInstance(_0x52612e),_0x5552f0=await _0x365c9c['run']({'options':{..._0x52612e,..._0x26efd0},'args':[_0x506924],'tdx':_0x2383fe});gracefulExit(_0x5552f0);}),projectCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x22d))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x226))['option'](a2_0x455ebf(0x27c),a2_0x455ebf(0x214))['option'](a2_0x455ebf(0x2cb),a2_0x455ebf(0x12d))[a2_0x455ebf(0x202)](async(_0x21a0f0,_0x2b4e2b)=>{const _0x50f9fe=new LLMProjectBackupCommand(),_0x50d865=program['opts'](),_0x18e7bf=await createTDXInstance(_0x50d865),_0x1b147f=await _0x50f9fe['run']({'options':{..._0x50d865,..._0x2b4e2b},'args':[_0x21a0f0],'tdx':_0x18e7bf});gracefulExit(_0x1b147f);}),projectCmd[a2_0x455ebf(0xc9)]('restore\x20<folder>')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2ac))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x284),'New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2cb),a2_0x455ebf(0x1fc))[a2_0x455ebf(0x202)](async(_0x230010,_0x45c599)=>{const _0x1a0d7b=a2_0x455ebf,_0x443094=new LLMProjectRestoreCommand(),_0x25ad6d=program[_0x1a0d7b(0x19c)](),_0x48c4cc=await createTDXInstance(_0x25ad6d),_0x15c7f3=await _0x443094[_0x1a0d7b(0x158)]({'options':{..._0x25ad6d,..._0x45c599},'args':[_0x230010],'tdx':_0x48c4cc});gracefulExit(_0x15c7f3);});function a2_0x1bc9(){const _0x15ed87=['Delete\x20a\x20scheduled\x20query','-o,\x20--output\x20<folder>','--in\x20<database>','Query\x20type:\x20trino\x20or\x20hive','pull\x20[project]\x20[agent-name]','Attempt\x20ID','-f,\x20--force','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','optionDescription','--name\x20<new-name>','isArray','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Show\x20timeline\x20for\x20specific\x20attempt','users','[DEPRECATED]\x20Segment\x20folder\x20management','description','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','--start-at\x20<datetime>','Pull\x20specific\x20revision\x20(default:\x20latest)','--database\x20<db>','Revision\x20name\x20(default:\x20timestamp)','--plaintext\x20<text>','required','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','upload\x20[project-name-or-dir]','--param\x20<key=value>','summary','campaigns\x20[pattern]','Database\x20to\x20query\x20(default:\x20information_schema)','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','\x20(resolved\x20to\x20','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','--cron\x20<expression>','Parent\x20folder\x20name\x20for\x20nested\x20folders','Result\x20output\x20destination\x20URL','Folder\x20description','subcommandDescription','api\x20[endpoint]','query\x20[sql]','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','--full','types','resume\x20<name-or-id>','tasks','exit','show\x20<job-id>','Master\x20table\x20name','Skip\x20confirmation\x20prompt','Show\x20email\x20template\x20details','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','clear','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Preview\x20changes\x20without\x20pushing','delete\x20<project-name-or-id>','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','hook','agent','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Create\x20a\x20workspace','duplicate\x20<name-or-id>','info\x20[segment_name]','25DKmTss','Behaviors\x20from\x20JSON\x20file','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','\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','allowUnknownOption','jsonl','stats\x20<name-or-path>','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','validate\x20[name]','Directory\x20does\x20not\x20exist:\x20','argumentDescription','Limit\x20number\x20of\x20rows','Query\x20engine\x20version','Reason\x20for\x20killing\x20the\x20attempt','Database\x20management\x20commands','--reeval','validate\x20[file]','--dry-run','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Database\x20name','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','clone\x20[source-dir]','7jZmrdm','--delete','--agent\x20<ref>','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','--limit\x20<rows>','CDP\x20Journey\x20Orchestration\x20commands','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Campaign\x20type\x20(email\x20or\x20push)','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','show\x20[table]','Skip\x20confirmation\x20prompts','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Run\x20Trino\x20query\x20with\x20streaming\x20results','INVALID_ARGUMENT','--email-sender-id\x20<id>','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Add\x20behaviors\x20from\x20JSON\x20file','Maximum\x20tool\x20iterations\x20(default:\x204)','--customer-group-file\x20<file>','Usage:\x20','json','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','--master','[task-name]','Workflow\x20parameter\x20(repeatable)','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','log','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','Workflow\x20(Digdag)\x20management\x20commands','Run\x20tests\x20for\x20an\x20LLM\x20agent','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','--job-type\x20<type>','--table\x20<table>','workflow','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','use\x20[resource]\x20[value]','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Starter\x20message','argumentTerm','Overwrite\x20local\x20changes\x20without\x20confirmation','directory','list\x20[path]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','--behavior\x20[name]','argv','\x20-\x20built\x20','--output\x20<file>','jobs','Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)','isDirectory','Retry\x20limit\x20(0\x20to\x2032)','retry','agents\x20[pattern]','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','--max-depth\x20<depth>','Preview\x20operation\x20without\x20executing','\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','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','use\x20<project-name>','Workflow\x20project\x20management','Setup\x20API\x20key\x20authentication\x20interactively','HTML\x20template\x20content','stderr','TRACE','flatMap','injectIntoOptions','\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','Template\x20name','--last','models','LLM\x20project\x20management','--name\x20<names>','JSON\x20columns\x20for\x20connector\x20(comma-separated)','show\x20<folder_ref>','Pull\x20child\x20segments\x20to\x20YAML\x20files','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','-n,\x20--name\x20<name>','Manage\x20workflow\x20project\x20secrets','--prompt\x20<text>','after','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','--limit\x20<n>','parent','--invisible','set','--include-subtasks','desc','-d,\x20--database\x20<database>','2358306NlDgRr','-H,\x20--header\x20<header>','--yes','--follow','parents\x20[pattern]','commandUsage','Include\x20retried\x20attempts\x20(for\x20list)','[action]','Clear\x20workflow\x20project\x20context','35510UVWCBe','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','folders\x20<parent_name>','argument','templates\x20[pattern]','Kill\x20a\x20job','option','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','Workspace\x20name','\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=jp01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Delete\x20an\x20email\x20template','engage','Workspace\x20name\x20(required)','Ending\x20offset\x20(default:\x2020)','Attributes\x20from\x20JSON\x20file','validate\x20[target]','Run\x20specific\x20tests\x20(comma-separated)','Show\x20master\x20table\x20sample\x20data','--enriched','Force\x20retry\x20even\x20if\x20not\x20failed','launch\x20<name-or-id>','Push\x20without\x20confirmation','-1d','update\x20<segment_name>','use\x20[project]','--json-columns\x20<cols>','Pull\x20workflow\x20project\x20to\x20local\x20folder','--system-prompt\x20<text>','campaign','Skip\x20validation\x20of\x20.dig\x20files','--new','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Workflow\x20session\x20management','RT\x202.0\x20configuration\x20management','command','60mfFUii','journeys\x20[pattern]','Create\x20an\x20email\x20template','run\x20[workflow]','Submit\x20a\x20job','Email\x20template\x20management','--rule-file\x20<file>','Workflow\x20attempt\x20management','createAsync','--stage\x20<name>','download\x20<project-name>\x20[output-dir]','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','session','-f,\x20--file\x20<path>','result\x20<job-id>','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Name\x20for\x20the\x20new\x20project\x20(required)','connections','Output\x20file\x20path','Preview\x20changes\x20without\x20writing\x20files','CDP\x20segment\x20management\x20commands','list\x20[name]','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','List\x20journeys\x20in\x20current\x20context','update\x20<name-or-id>','pull\x20[parent_or_file]','Read\x20SQL\x20query\x20from\x20file','workspaces\x20[pattern]','Duplicate\x20a\x20campaign','-y,\x20--yes','--time\x20<iso8601>','Delete\x20an\x20LLM\x20project','Update\x20an\x20email\x20template','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','kill\x20<job-id>','--subject\x20<subject>','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','list','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','-o,\x20--output\x20<file>','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','padWidth','--session-time\x20<time>','delete\x20<agent-name>','join','buildTime','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Remove\x20API\x20key\x20from\x20system\x20keychain','--no-count-population','5426676SmAdCN','Timezone\x20(e.g.,\x20America/Los_Angeles)','alias','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','create\x20<parent_name>\x20<folder_name>','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','--name\x20<name>','profiles','addHelpText','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','journey','sql\x20[segment_name]','5751736PZkhmb','Filtering\x20rule\x20from\x20JSON\x20file','--stream','--engine-version\x20<version>','status','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','AI-native\x20CLI\x20for\x20Treasure\x20Data','Timezone\x20for\x20cron','Create\x20a\x20new\x20profile','Delete\x20a\x20workspace','tsv','requiredOption','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','--schedule-option\x20<value>','-c,\x20--continue','history\x20[chat-id]','LLM\x20agent\x20management','--interval\x20<range>','registeredArguments','--priority\x20<-2~2>','Generate\x20test\x20conversations\x20without\x20evaluation','Custom\x20revision\x20name\x20(default:\x20timestamp)','--behaviors-file\x20<file>','--segment\x20<path>','--schedule-type\x20<type>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Email\x20subject\x20template','length','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','show\x20<name-or-id>','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','--clear','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','--json','filter','Invalid\x20editor\x20type:\x20','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','claude\x20[args...]','log\x20<chat-id>','--from-task\x20<task>','Update\x20a\x20campaign','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Enable\x20verbose\x20logging','Alias\x20for\x20--database\x20(natural\x20language\x20style)','-w,\x20--web','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','--name\x20<text>','replace','show\x20<agent-name>','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Set\x20a\x20profile\x20configuration\x20value','--description\x20<desc>','Resume\x20a\x20conversation\x20(shows\x20selector)','List\x20jobs','--no-proxy','Project\x20description','--site\x20<site>','List\x20journeys\x20(alias\x20for\x20journey\x20list)','error','Interactive\x20chat\x20selector','noColor','Timezone\x20for\x20cron\x20(default:\x20UTC)','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','sql\x20[name]','Path\x20is\x20not\x20a\x20directory:\x20','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','--tags\x20<tags>','debug','describe\x20[table]','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','User\x20management\x20commands','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','--description\x20<text>','logLevel','Include\x20subtasks\x20in\x20tasks\x20output','schedule','commands','run','Show\x20workspace\x20details','beefree','Arguments:','Open\x20segment\x20in\x20web\x20browser','outputHelp','List\x20all\x20available\x20profiles','List\x20all\x20users\x20in\x20the\x20account','workspace','5016693OnyXpj','sessions\x20[project]','trace','--trace','preview\x20[file]','configureHelp','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Open\x20parent\x20segment\x20in\x20web\x20browser','325840lFatzC','-v,\x20--verbose','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','show\x20<name>','Show\x20stats\x20for\x20specific\x20stage','delete\x20<name-or-id>','-C,\x20--directory\x20<path>','Preview\x20without\x20creating\x20the\x20project','--in\x20<name>','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','--tsv','--type\x20<type>','Folder\x20name\x20for\x20organization','attempt:','--force','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','Create\x20segment\x20folder','Cron\x20expression\x20for\x20scheduling','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','databases\x20[pattern]','list\x20[pattern]','Add\x20attributes\x20as\x20JSON\x20string','--attribute\x20[name]','forEach','isTTY','information_schema','Set\x20operation\x20timeout\x20in\x20seconds','--kind\x20<type>','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','view\x20<name-or-path>','End\x20time\x20filter\x20(ISO\x208601\x20format)','Show\x20segment\x20details\x20(alias\x20for\x20view)','delete\x20<args...>','Resume\x20from\x20specific\x20task','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','schema\x20<type>','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','New\x20template\x20name','usage','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','colorFn','--from\x20<n>','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','Show\x20journey\x20details','--data\x20<data>','--result\x20<url>','Pause\x20a\x20running\x20journey','--reason\x20<text>','--include-stats','opts','--max-tool-iterations\x20<n>','Resume\x20from\x20specific\x20task\x20(retry)','Output\x20directory','--workspace\x20<name>','Commands:','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','--no-color','Parse\x20and\x20validate\x20without\x20executing','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','push\x20[parent_or_file]','630oWpRgF','Starting\x20offset\x20(default:\x200)','--llm-project\x20<name>','pause\x20<name-or-id>','Delete\x20a\x20campaign','submit\x20[query]','--default','Workspace\x20description','test\x20[path]','list\x20[project]','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','Options:','gitRevision','kill','name','Resume\x20a\x20paused\x20campaign','--retry-limit\x20<0~32>','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','--attributes\x20<json>','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','preAction','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','resume\x20<name-or-path>','--include-retried','Customer\x20group\x20as\x20JSON\x20string','stdout','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Update\x20a\x20workspace','show\x20[name]','Behaviors\x20as\x20JSON\x20string','Continue\x20most\x20recent\x20conversation','Personalization\x20service\x20management','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Clear\x20session\x20context','view\x20[name]','Show\x20campaign\x20details','--chat-id\x20<id>','auth','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','--to\x20<timestamp>','-p,\x20--profile\x20<name>','Maximum\x20recursion\x20depth\x20(default:\x2010)','llm',',\x20version\x20','--add-attributes\x20<json>','update\x20<name>','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--delay\x20<seconds>','subcommandTerm','Workspace\x20management','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Temperature\x20(0.0-2.0,\x20default:\x200.7)','desc\x20[segment_name]','table','--attempt-id\x20<id>','--rule\x20<json>','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','site','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','-o,\x20--output\x20<dir>','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','run\x20[name]','push\x20[target]','use\x20[name]','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Output\x20as\x20JSON\x20Lines','push','describe','padEnd','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Table\x20management\x20commands','--no-eval','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','segments\x20[path]','project','timeline\x20[project.workflow]','-d,\x20--database\x20<db>','preview\x20[name]','-r,\x20--recursive','--editor-type\x20<type>','[attempt-id]','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','New\x20campaign\x20name','--starter-message\x20<text>','--html\x20<html>','Scheduled\x20query\x20management\x20commands','folder','action','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','parent-segment','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','--from\x20<timestamp>','--jsonl','Updated\x20description','options','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','--attributes-file\x20<file>','Database\x20to\x20use\x20(overrides\x20context)','use\x20<name>','--folder\x20<name>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','format','Create\x20a\x20new\x20LLM\x20project','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20jp01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a','6WuCPvI','Output\x20folder\x20(default:\x20{project_name}.llm)','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Set\x20or\x20show\x20parent\x20segment\x20context','Show\x20connection\x20details\x20by\x20name','Model\x20type\x20(default:\x20claude-4.5-sonnet)','--timezone\x20<tz>','get','fields\x20[name]','history\x20<name>','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Parent\x20segment\x20management','Campaign\x20management','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','segment','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','List\x20agents\x20in\x20current\x20project','Read\x20request\x20body\x20from\x20file','INFO','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','Task\x20name\x20for\x20logs\x20action','push\x20[name]','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Get\x20job\x20results','38182OUIhFg','set\x20<key=value>','backup\x20<name>','slice','projects\x20[pattern]','Show\x20only\x20master\x20table\x20validation','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','us01','Show\x20job\x20details','--add-behaviors\x20<json>','chdir','Include\x20retried\x20attempts','catch','Show\x20agent\x20details','Plaintext\x20template\x20content','settings\x20<type>','Master\x20database\x20name','includes','delete\x20<name>','Skip\x20population\x20counting','Data\x20connection\x20management\x20(for\x20activations/exports)','Unknown\x20action:\x20','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','--status\x20<status>','Output\x20as\x20JSON','statusline','secrets','Updated\x20schedule\x20option','Read\x20query\x20from\x20file','Update\x20an\x20existing\x20agent','-X,\x20--method\x20<method>','New\x20workspace\x20name','profile','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Show\x20schedule\x20details','setup','List\x20available\x20LLM\x20models','--resume-from\x20<task>','Pause\x20a\x20campaign','GET','--name\x20<new_name>','Campaign\x20description','Save\x20output\x20to\x20file','--session\x20<id>','--params\x20<json>','chat\x20[message...]','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Launch\x20a\x20campaign','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Updated\x20timezone','pull\x20[name]','[options]\x20--\x20[claude-code-args...]','pull\x20<project>\x20[target-dir]','--revision\x20<revision>','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','--customer-group\x20<json>','chats','tdx','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','retry\x20<session-id>','mcp','create','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','create\x20<name>','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','--add-attributes-file\x20<file>','parent_segment','--database\x20<name>','help','--to\x20<n>','Delete\x20an\x20agent','map','--debug','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Authentication\x20management','--table','database','set\x20<args...>','Show\x20authentication\x20status\x20and\x20current\x20context'];a2_0x1bc9=function(){return _0x15ed87;};return a2_0x1bc9();}const llmAgentListAction=async(_0x5df376,_0x702d92)=>{const _0x1424e0=a2_0x455ebf,_0x13b8dc=new LLMAgentsCommand(),_0x398e60=program[_0x1424e0(0x19c)](),_0x59a21e=await createTDXInstance(_0x398e60),_0x1bb903=await _0x13b8dc['run']({'options':{..._0x398e60,..._0x702d92},'args':_0x5df376?[_0x5df376]:[],'tdx':_0x59a21e});gracefulExit(_0x1bb903);};llmCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x306))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x17b))[a2_0x455ebf(0x202)](llmAgentListAction),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x306))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x17b))[a2_0x455ebf(0x202)](llmAgentListAction),llmCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x118))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x215))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x316),'Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')[a2_0x455ebf(0x202)](async(_0x12703e,_0x128c50)=>{const _0x5e25dc=a2_0x455ebf,_0x1533b0=new LLMHistoryCommand(),_0x798a75=program['opts'](),_0x4457df=await createTDXInstance(_0x798a75),_0x3495a1=await _0x1533b0[_0x5e25dc(0x158)]({'options':{..._0x798a75,..._0x128c50},'args':_0x12703e?[_0x12703e]:[],'tdx':_0x4457df});gracefulExit(_0x3495a1);});isExperimentalAvailable()&&llmCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x12f))['description']('[EXPERIMENTAL]\x20Show\x20chat\x20log')[a2_0x455ebf(0x202)](async(_0x504754,_0xeecfff)=>{const _0x1e9e1b=a2_0x455ebf,_0x35ed9f=new LLMLogCommand(),_0x256253=program[_0x1e9e1b(0x19c)](),_0x324464=await createTDXInstance(_0x256253),_0x2eba2f=await _0x35ed9f[_0x1e9e1b(0x158)]({'options':{..._0x256253,..._0xeecfff},'args':[_0x504754],'tdx':_0x324464});gracefulExit(_0x2eba2f);});program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x12e))[a2_0x455ebf(0x191)](a2_0x455ebf(0x25e))['description']('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x117),a2_0x455ebf(0x1c7))[a2_0x455ebf(0xaa)]('-r,\x20--resume',a2_0x455ebf(0x13e))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x140),'Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')[a2_0x455ebf(0x2be)]()['allowExcessArguments'](!![])['addHelpText'](a2_0x455ebf(0x92),'\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')[a2_0x455ebf(0x202)](async(_0x410542,_0xabeb9)=>{const _0x1b688d=a2_0x455ebf,_0x3c0480=program['opts'](),_0x23e43f=Array[_0x1b688d(0x285)](_0x410542)?_0x410542:[];if(_0x23e43f[0x0]===_0x1b688d(0x244)){const _0x4bf036=new ClaudeStatuslineCommand(),_0x22188c=await _0x4bf036[_0x1b688d(0x158)]({'options':{..._0x3c0480,..._0xabeb9},'args':_0x23e43f[_0x1b688d(0x22e)](0x1),'tdx':null});gracefulExit(_0x22188c);}if(_0x23e43f[0x0]===_0x1b688d(0x191)){const _0x507cb2=new ClaudeUsageCommand(),_0xac7d8d=await _0x507cb2['run']({'options':{..._0x3c0480,..._0xabeb9},'args':_0x23e43f[_0x1b688d(0x22e)](0x1),'tdx':null});gracefulExit(_0xac7d8d);}const _0x39e293=new ClaudeCommand(),_0x1f1f93=await createTDXInstance(_0x3c0480),_0x10f970=await _0x39e293[_0x1b688d(0x158)]({'options':{..._0x3c0480,..._0xabeb9},'args':_0x23e43f,'tdx':_0x1f1f93});gracefulExit(_0x10f970);}),program['command'](a2_0x455ebf(0x2f5))['description'](a2_0x455ebf(0x269))['option']('--clear',a2_0x455ebf(0x1ca))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1ad),a2_0x455ebf(0x2d9))[a2_0x455ebf(0x202)](async(_0x383407,_0x1bd3b4,_0x4896af)=>{const _0x2a8352=a2_0x455ebf,_0x4090db=new UseCommand(),_0x332e1a=program[_0x2a8352(0x19c)](),_0x31f410=[];if(_0x383407)_0x31f410[_0x2a8352(0x1ec)](_0x383407);if(_0x1bd3b4)_0x31f410[_0x2a8352(0x1ec)](_0x1bd3b4);const _0x2c34d3=await _0x4090db[_0x2a8352(0x158)]({'options':{..._0x332e1a,..._0x4896af},'args':_0x31f410,'tdx':null});gracefulExit(_0x2c34d3);}),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x10d))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x27a))[a2_0x455ebf(0x202)](async _0x1ba69f=>{const _0x19a0f6=a2_0x455ebf,_0x1eeb4f=new StatusCommand(),_0x54b070=program[_0x19a0f6(0x19c)](),_0x311147=await createTDXInstance(_0x54b070),_0x4ccf91=await _0x1eeb4f['run']({'options':{..._0x54b070,..._0x1ba69f},'args':[],'tdx':_0x311147});gracefulExit(_0x4ccf91);}),program[a2_0x455ebf(0xc9)]('unset\x20<resource>')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1a5))[a2_0x455ebf(0xaa)]('--default',a2_0x455ebf(0x222))[a2_0x455ebf(0x202)](async(_0x14a423,_0x806bea)=>{const _0x2b19e7=a2_0x455ebf,_0x229bb1=new UnsetCommand(),_0x18f93a=program[_0x2b19e7(0x19c)](),_0x2aaf8d=await _0x229bb1[_0x2b19e7(0x158)]({'options':{..._0x18f93a,..._0x806bea},'args':[_0x14a423],'tdx':null});gracefulExit(_0x2aaf8d);}),program['command'](a2_0x455ebf(0x263))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x145))['option']('--last','Show\x20the\x20most\x20recent\x20chat')[a2_0x455ebf(0x202)](async _0x2060fd=>{const _0x17d772=a2_0x455ebf,_0x63c0a5=new ChatsCommand(),_0x52ebed=program[_0x17d772(0x19c)](),_0x5f415d=await createTDXInstance(_0x52ebed),_0x2ec785=await _0x63c0a5[_0x17d772(0x158)]({'options':{..._0x52ebed,..._0x2060fd},'args':[],'tdx':_0x5f415d});gracefulExit(_0x2ec785);});const authCmd=program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1ce))['description'](a2_0x455ebf(0x276));async function runAuthStatusCommand(_0x11d8f0){const _0x27a82f=a2_0x455ebf,_0x57174a=new AuthStatusCommand(),_0x84c5cf=program[_0x27a82f(0x19c)](),_0x92b8e=await createTDXInstance(_0x84c5cf),_0x25ceeb=await _0x57174a['run']({'options':{..._0x84c5cf,..._0x11d8f0},'args':[],'tdx':_0x92b8e});gracefulExit(_0x25ceeb);}authCmd['action'](runAuthStatusCommand),authCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x10d))[a2_0x455ebf(0x28a)]('Show\x20authentication\x20status\x20and\x20validate\x20API\x20key')[a2_0x455ebf(0x202)](runAuthStatusCommand),authCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x24e))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x30e))[a2_0x455ebf(0x105)](a2_0x455ebf(0x92),a2_0x455ebf(0x212))[a2_0x455ebf(0x202)](async _0xd66145=>{const _0x243b51=a2_0x455ebf,_0x1f8c1d=new AuthSetupCommand(),_0x1f07d4=program['opts'](),_0x103ee9=await createTDXInstance(_0x1f07d4),_0xe65ffa=await _0x1f8c1d[_0x243b51(0x158)]({'options':{..._0x1f07d4,..._0xd66145},'args':[],'tdx':_0x103ee9});gracefulExit(_0xe65ffa);}),authCmd['command'](a2_0x455ebf(0x2ad))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xfb))[a2_0x455ebf(0x105)](a2_0x455ebf(0x92),'\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_0x455ebf(0x202)](async _0x497aca=>{const _0x19bbb8=a2_0x455ebf,_0x5c50e9=new AuthClearCommand(),_0x419344=program[_0x19bbb8(0x19c)](),_0x145853=await _0x5c50e9[_0x19bbb8(0x158)]({'options':{..._0x419344,..._0x497aca},'args':[],'tdx':null});gracefulExit(_0x145853);});const userCmd=program[a2_0x455ebf(0xc9)]('user')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x150)),userListAction=async _0x583e2=>{const _0x1bb92c=a2_0x455ebf,_0x5b5c12=new UserListCommand(),_0xd0f4b8=program[_0x1bb92c(0x19c)](),_0xf8bbb0=await createTDXInstance(_0xd0f4b8),_0x4f085d=await _0x5b5c12[_0x1bb92c(0x158)]({'options':{..._0xd0f4b8,..._0x583e2},'args':[],'tdx':_0xf8bbb0});gracefulExit(_0x4f085d);};userCmd['action'](async _0x5e9569=>{const _0xbaa9f9=a2_0x455ebf,_0x4e35f4=new UserCommand(),_0x13bf05=program[_0xbaa9f9(0x19c)](),_0x58a7cb=await createTDXInstance(_0x13bf05),_0x481014=await _0x4e35f4['run']({'options':{..._0x13bf05,..._0x5e9569},'args':[],'tdx':_0x58a7cb});gracefulExit(_0x481014);}),userCmd['command']('list')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x15f))[a2_0x455ebf(0x202)](userListAction),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x288))['description'](a2_0x455ebf(0x2bc))[a2_0x455ebf(0x202)](userListAction),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x104))['description'](a2_0x455ebf(0x15e))[a2_0x455ebf(0x202)](async _0x234b74=>{const _0x2ede0c=a2_0x455ebf,_0x16f8f0=new ProfilesCommand(),_0x110fce=program[_0x2ede0c(0x19c)](),_0x205ac7=await _0x16f8f0[_0x2ede0c(0x158)]({'options':{..._0x110fce,..._0x234b74},'args':[],'tdx':null});gracefulExit(_0x205ac7);});const profileCmd=program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x24b))['description'](a2_0x455ebf(0x2d7));profileCmd[a2_0x455ebf(0x202)](()=>{const _0x3e0b37=a2_0x455ebf;profileCmd[_0x3e0b37(0x15d)]();});const profileListAction=async _0x3ddc3d=>{const _0x156ebf=new ProfilesCommand(),_0x5b66be=program['opts'](),_0x3f75a7=await _0x156ebf['run']({'options':{..._0x5b66be,..._0x3ddc3d},'args':[],'tdx':null});gracefulExit(_0x3f75a7);};profileCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xf1))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x15e))[a2_0x455ebf(0x202)](profileListAction),profileCmd[a2_0x455ebf(0xc9)]('create\x20[name]')['description'](a2_0x455ebf(0x111))[a2_0x455ebf(0x105)](a2_0x455ebf(0x92),a2_0x455ebf(0x314))[a2_0x455ebf(0x202)](async(_0x2a056,_0x3b2a1f)=>{const _0x1dfbfd=a2_0x455ebf,_0x2a5a60=new ProfileCreateCommand(),_0x5061a9=program[_0x1dfbfd(0x19c)](),_0x1c2999=await _0x2a5a60[_0x1dfbfd(0x158)]({'options':{..._0x5061a9,..._0x3b2a1f},'args':_0x2a056?[_0x2a056]:[],'tdx':null});gracefulExit(_0x1c2999);}),profileCmd[a2_0x455ebf(0xc9)]('remove\x20<name>')['description']('Remove\x20a\x20profile')[a2_0x455ebf(0x105)](a2_0x455ebf(0x92),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a')[a2_0x455ebf(0x202)](async(_0xa2bd41,_0x366104)=>{const _0x33ede4=a2_0x455ebf,_0x2c411c=new ProfileRemoveCommand(),_0x5ddd2d=program[_0x33ede4(0x19c)](),_0x38e1c6=await _0x2c411c[_0x33ede4(0x158)]({'options':{..._0x5ddd2d,..._0x366104},'args':[_0xa2bd41],'tdx':null});gracefulExit(_0x38e1c6);}),profileCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x22c))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x13c))[a2_0x455ebf(0x105)]('after',a2_0x455ebf(0xae))[a2_0x455ebf(0x202)](async(_0x2ffbf5,_0x17ba65)=>{const _0xfbd1ae=a2_0x455ebf,_0x48ead8=new ProfileSetCommand(),_0x1516cb=program[_0xfbd1ae(0x19c)](),_0x55b123=await _0x48ead8[_0xfbd1ae(0x158)]({'options':{..._0x1516cb,..._0x17ba65},'args':[_0x2ffbf5],'tdx':null});gracefulExit(_0x55b123);}),profileCmd['command']('use\x20<name>')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2ea))['option'](a2_0x455ebf(0x1ad),a2_0x455ebf(0x2d9))['addHelpText']('after',a2_0x455ebf(0x30a))[a2_0x455ebf(0x202)](async(_0x2181b2,_0xcf4801)=>{const _0x48a83e=a2_0x455ebf,_0x395262=new ProfileUseCommand(),_0xc6ddf9=program['opts'](),_0x23525d=await _0x395262[_0x48a83e(0x158)]({'options':{..._0xc6ddf9,..._0xcf4801},'args':[_0x2181b2],'tdx':null});gracefulExit(_0x23525d);});const engageCmd=program['command'](a2_0x455ebf(0xb1))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x127)),createEngageAction=_0x2c869e=>{return async(_0x40fff7,_0x1e356b)=>{const _0x20d78e=a2_0x51ac,_0x53f192=new _0x2c869e(),_0x56dcdf=program['opts'](),_0x2eae77=await createTDXInstance(_0x56dcdf),_0x120f15=await _0x53f192[_0x20d78e(0x158)]({'options':{..._0x56dcdf,..._0x1e356b},'args':[_0x40fff7],'tdx':_0x2eae77});gracefulExit(_0x120f15);};},createEngageNoArgAction=_0x5b8ee7=>{return async _0x3cfa85=>{const _0x444773=a2_0x51ac,_0x24ebe5=new _0x5b8ee7(),_0x2dedb1=program[_0x444773(0x19c)](),_0x2cbaef=await createTDXInstance(_0x2dedb1),_0x2817ed=await _0x24ebe5[_0x444773(0x158)]({'options':{..._0x2dedb1,..._0x3cfa85},'args':[],'tdx':_0x2cbaef});gracefulExit(_0x2817ed);};},campaignCmd=engageCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xc2))['description'](a2_0x455ebf(0x21f)),campaignListAction=async(_0x1b5a3a,_0x1baede)=>{const _0x4fc038=a2_0x455ebf,_0x53b92f=new EngageCampaignsCommand(),_0x2665a5=program['opts'](),_0x5b7083=await createTDXInstance(_0x2665a5),_0x5351ba=await _0x53b92f[_0x4fc038(0x158)]({'options':{..._0x2665a5,..._0x1baede},'args':_0x1b5a3a?[_0x1b5a3a]:[],'tdx':_0x5b7083});gracefulExit(_0x5351ba);};campaignCmd[a2_0x455ebf(0xc9)]('list\x20[pattern]')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x10e))['option'](a2_0x455ebf(0x174),a2_0x455ebf(0x2f4))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x242),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1a0),a2_0x455ebf(0xad))[a2_0x455ebf(0x202)](campaignListAction),engageCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x296))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x298))[a2_0x455ebf(0xaa)]('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x242),a2_0x455ebf(0x18e))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1a0),a2_0x455ebf(0xad))[a2_0x455ebf(0x202)](campaignListAction),campaignCmd[a2_0x455ebf(0xc9)]('show\x20<name-or-id>')['description'](a2_0x455ebf(0x1cc))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1a0),a2_0x455ebf(0xad))[a2_0x455ebf(0xaa)]('--full',a2_0x455ebf(0x1c3))[a2_0x455ebf(0x202)](createEngageAction(EngageCampaignShowCommand)),campaignCmd['command'](a2_0x455ebf(0x268))[a2_0x455ebf(0x28a)]('Create\x20a\x20new\x20campaign')[a2_0x455ebf(0x114)](a2_0x455ebf(0x103),'Campaign\x20name')[a2_0x455ebf(0x114)](a2_0x455ebf(0x174),a2_0x455ebf(0x2d8))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1a0),a2_0x455ebf(0xb2))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x13d),'Campaign\x20description')[a2_0x455ebf(0xaa)]('--segment\x20<path>',a2_0x455ebf(0x205))['option'](a2_0x455ebf(0x2df),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x455ebf(0xaa)](a2_0x455ebf(0xbf),a2_0x455ebf(0x31a))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x28c),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')['option'](a2_0x455ebf(0x219),a2_0x455ebf(0x125))[a2_0x455ebf(0x202)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd['command']('update\x20<name-or-id>')['description'](a2_0x455ebf(0x131))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1a0),a2_0x455ebf(0xad))['option'](a2_0x455ebf(0x103),a2_0x455ebf(0x1fd))['option'](a2_0x455ebf(0x13d),a2_0x455ebf(0x254))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x120),a2_0x455ebf(0x205))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2df),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x455ebf(0xaa)]('--json-columns\x20<cols>',a2_0x455ebf(0x31a))['option'](a2_0x455ebf(0x28c),a2_0x455ebf(0x2af))['option'](a2_0x455ebf(0x219),a2_0x455ebf(0x125))[a2_0x455ebf(0x202)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x455ebf(0xc9)]('delete\x20<name-or-id>')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1ab))['option']('--workspace\x20<name>',a2_0x455ebf(0xad))['option']('--yes','Skip\x20confirmation\x20prompt')['action'](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xba))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x25a))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1a0),a2_0x455ebf(0xad))[a2_0x455ebf(0x202)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1aa))['description'](a2_0x455ebf(0x251))[a2_0x455ebf(0xaa)]('--workspace\x20<name>',a2_0x455ebf(0xad))['action'](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2a5))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1b6))[a2_0x455ebf(0xaa)]('--workspace\x20<name>','Workspace\x20name')[a2_0x455ebf(0x202)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2b8))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xe8))['option']('--workspace\x20<name>',a2_0x455ebf(0xad))[a2_0x455ebf(0x202)](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x455ebf(0xc9)]('template')[a2_0x455ebf(0x28a)](a2_0x455ebf(0xcf)),templateListAction=async(_0x4b8d19,_0x585dee)=>{const _0x25928c=a2_0x455ebf,_0x147f3e=new EngageTemplatesCommand(),_0x53e73a=program['opts'](),_0x13bda6=await createTDXInstance(_0x53e73a),_0x26ee3a=await _0x147f3e[_0x25928c(0x158)]({'options':{..._0x53e73a,..._0x585dee},'args':_0x4b8d19?[_0x4b8d19]:[],'tdx':_0x13bda6});gracefulExit(_0x26ee3a);};templateCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x17d))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xe2))['option'](a2_0x455ebf(0x1a0),a2_0x455ebf(0xad))[a2_0x455ebf(0x202)](templateListAction),engageCmd['command'](a2_0x455ebf(0xa8))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2e0))[a2_0x455ebf(0xaa)]('--workspace\x20<name>','Workspace\x20name')[a2_0x455ebf(0x202)](templateListAction),templateCmd[a2_0x455ebf(0xc9)]('show\x20<name-or-id>')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2ab))[a2_0x455ebf(0xaa)]('--workspace\x20<name>',a2_0x455ebf(0xad))['option'](a2_0x455ebf(0x2a3),a2_0x455ebf(0x1c3))[a2_0x455ebf(0x202)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x455ebf(0xc9)]('create')['description'](a2_0x455ebf(0xcc))['requiredOption'](a2_0x455ebf(0x103),a2_0x455ebf(0x315))[a2_0x455ebf(0x114)](a2_0x455ebf(0xef),'Email\x20subject\x20template')[a2_0x455ebf(0x114)](a2_0x455ebf(0x1ff),a2_0x455ebf(0x30f))['option'](a2_0x455ebf(0x1a0),a2_0x455ebf(0xb2))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x290),'Plaintext\x20template\x20content')['option'](a2_0x455ebf(0x1f9),a2_0x455ebf(0x302),_0x157add=>{const _0x4a4998=a2_0x455ebf;if(![_0x4a4998(0x15a),'grapesjs'][_0x4a4998(0x23c)](_0x157add))throw new SDKError(ErrorCode[_0x4a4998(0x2de)],_0x4a4998(0x12c)+_0x157add+_0x4a4998(0x14b));return _0x157add;})[a2_0x455ebf(0x202)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xe4))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xec))['option']('--workspace\x20<name>',a2_0x455ebf(0xad))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x103),a2_0x455ebf(0x190))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xef),a2_0x455ebf(0x123))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1ff),'HTML\x20template\x20content')['option']('--plaintext\x20<text>',a2_0x455ebf(0x239))[a2_0x455ebf(0x202)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x455ebf(0xc9)]('delete\x20<name-or-id>')[a2_0x455ebf(0x28a)](a2_0x455ebf(0xb0))['option'](a2_0x455ebf(0x1a0),a2_0x455ebf(0xad))['option'](a2_0x455ebf(0x9d),'Skip\x20confirmation\x20prompt')[a2_0x455ebf(0x202)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x160))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1da)),workspaceListAction=async(_0x5e1169,_0x540d34)=>{const _0x5becd2=a2_0x455ebf,_0x340f3a=new EngageWorkspacesCommand(),_0x5ce52c=program[_0x5becd2(0x19c)](),_0x5715b1=await createTDXInstance(_0x5ce52c),_0x10fae9=await _0x340f3a[_0x5becd2(0x158)]({'options':{..._0x5ce52c,..._0x540d34},'args':_0x5e1169?[_0x5e1169]:[],'tdx':_0x5715b1});gracefulExit(_0x10fae9);};workspaceCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x17d))[a2_0x455ebf(0x28a)]('List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)')['action'](workspaceListAction),engageCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xe7))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x195))[a2_0x455ebf(0x202)](workspaceListAction),workspaceCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x126))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x159))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2a3),a2_0x455ebf(0x1c3))[a2_0x455ebf(0x202)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x268))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2b7))[a2_0x455ebf(0x114)](a2_0x455ebf(0x103),a2_0x455ebf(0xad))['option'](a2_0x455ebf(0x13d),'Workspace\x20description')[a2_0x455ebf(0x202)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xe4))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1c4))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x103),a2_0x455ebf(0x24a))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x13d),a2_0x455ebf(0x1ae))['action'](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x16e))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x112))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x9d),a2_0x455ebf(0x2aa))['action'](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x20d))[a2_0x455ebf(0x28a)]('Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)')['action'](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program[a2_0x455ebf(0xc9)]('connection')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x23f)),connectionListAction=async _0x1dd523=>{const _0x55dd0f=a2_0x455ebf,_0x2c6bc6=new ConnectionListCommand(),_0x4482fb=program[_0x55dd0f(0x19c)](),_0x2fe6a7=await createTDXInstance(_0x4482fb),_0x7a13f6=await _0x2c6bc6['run']({'options':{..._0x4482fb,..._0x1dd523},'args':[],'tdx':_0x2fe6a7});gracefulExit(_0x7a13f6);};connectionCmd['command'](a2_0x455ebf(0xf1))['description']('List\x20all\x20data\x20connections')[a2_0x455ebf(0x202)](connectionListAction),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0xdd),{'hidden':!![]})[a2_0x455ebf(0x28a)](a2_0x455ebf(0x286))['action'](connectionListAction),connectionCmd['command'](a2_0x455ebf(0x16c))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x217))[a2_0x455ebf(0x202)](async(_0x27d8be,_0x348f59)=>{const _0x45dcf5=a2_0x455ebf,_0x253c08=new ConnectionShowCommand(),_0x16712d=program[_0x45dcf5(0x19c)](),_0x1dae67=await createTDXInstance(_0x16712d),_0x40f512=await _0x253c08[_0x45dcf5(0x158)]({'options':{..._0x16712d,..._0x348f59},'args':[_0x27d8be],'tdx':_0x1dae67});gracefulExit(_0x40f512);}),connectionCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x18c))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xf0))[a2_0x455ebf(0x202)](async(_0x45290a,_0x53a956)=>{const _0x3940b1=a2_0x455ebf,_0x11c351=new ConnectionSchemaCommand(),_0x38a4fd=program[_0x3940b1(0x19c)](),_0x60b5d4=await createTDXInstance(_0x38a4fd),_0x3e4cd2=await _0x11c351[_0x3940b1(0x158)]({'options':{..._0x38a4fd,..._0x53a956},'args':[_0x45290a],'tdx':_0x60b5d4});gracefulExit(_0x3e4cd2);}),connectionCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2a4))[a2_0x455ebf(0x28a)]('List\x20available\x20connector\x20types')['action'](async _0x163a94=>{const _0x1fc2be=a2_0x455ebf,_0x8d7dac=new ConnectionTypesCommand(),_0x4fd376=program[_0x1fc2be(0x19c)](),_0x3ab53e=await createTDXInstance(_0x4fd376),_0x261bd9=await _0x8d7dac[_0x1fc2be(0x158)]({'options':{..._0x4fd376,..._0x163a94},'args':[],'tdx':_0x3ab53e});gracefulExit(_0x261bd9);}),connectionCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x23a))[a2_0x455ebf(0x28a)]('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x455ebf(0x202)](async(_0x454b69,_0x3b7318)=>{const _0x2028df=a2_0x455ebf,_0x3ad181=new ConnectionSettingsCommand(),_0x4bce93=program[_0x2028df(0x19c)](),_0x579f1a=await createTDXInstance(_0x4bce93),_0x45a180=await _0x3ad181[_0x2028df(0x158)]({'options':{..._0x4bce93,..._0x3b7318},'args':[_0x454b69],'tdx':_0x579f1a});gracefulExit(_0x45a180);});const journeyCmd=program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x107))['description'](a2_0x455ebf(0x2d6)),journeyListAction=async(_0x3f239e,_0x5ce79a)=>{const _0x3ef62a=a2_0x455ebf,_0x30c602=new JourneyListCommand(),_0x44dcac=program[_0x3ef62a(0x19c)](),_0x307543=await createTDXInstance(_0x44dcac),_0x6e4df0=await _0x30c602[_0x3ef62a(0x158)]({'options':{..._0x44dcac,..._0x5ce79a},'args':_0x3f239e?[_0x3f239e]:[],'tdx':_0x307543});gracefulExit(_0x6e4df0);};journeyCmd['command'](a2_0x455ebf(0x17d))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xe3))[a2_0x455ebf(0x202)](journeyListAction),journeyCmd['command'](a2_0x455ebf(0x186))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x196))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x135),'Open\x20journey\x20in\x20web\x20browser')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x19b),'Include\x20execution\x20statistics')[a2_0x455ebf(0x202)](async(_0x34f8dd,_0x425263)=>{const _0x40051a=a2_0x455ebf,_0xcc9763=new JourneyViewCommand(),_0x42e4c5=program[_0x40051a(0x19c)](),_0x88815d=await createTDXInstance(_0x42e4c5),_0xf21307=await _0xcc9763[_0x40051a(0x158)]({'options':{..._0x42e4c5,..._0x425263},'args':[_0x34f8dd],'tdx':_0x88815d});gracefulExit(_0xf21307);}),journeyCmd['command'](a2_0x455ebf(0x2c0))[a2_0x455ebf(0x28a)]('Show\x20journey\x20statistics')[a2_0x455ebf(0xaa)](a2_0x455ebf(0xd3),a2_0x455ebf(0x16d))[a2_0x455ebf(0x202)](async(_0x1e5d2a,_0x3e8972)=>{const _0x3db253=a2_0x455ebf,_0x1d88de=new JourneyStatsCommand(),_0x9992fd=program[_0x3db253(0x19c)](),_0x177790=await createTDXInstance(_0x9992fd),_0x5298c1=await _0x1d88de['run']({'options':{..._0x9992fd,..._0x3e8972},'args':[_0x1e5d2a],'tdx':_0x177790});gracefulExit(_0x5298c1);}),journeyCmd[a2_0x455ebf(0xc9)]('pause\x20<name-or-path>')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x199))['action'](async(_0x19e78f,_0xb3fa07)=>{const _0x302729=a2_0x455ebf,_0x32948d=new JourneyPauseCommand(),_0x26483a=program[_0x302729(0x19c)](),_0x40aa7e=await createTDXInstance(_0x26483a),_0x144268=await _0x32948d[_0x302729(0x158)]({'options':{..._0x26483a,..._0xb3fa07},'args':[_0x19e78f],'tdx':_0x40aa7e});gracefulExit(_0x144268);}),journeyCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1bf))[a2_0x455ebf(0x28a)]('Resume\x20a\x20paused\x20journey')[a2_0x455ebf(0x202)](async(_0x168cf6,_0x1ca014)=>{const _0x41dc33=a2_0x455ebf,_0x10fbeb=new JourneyResumeCommand(),_0x290706=program[_0x41dc33(0x19c)](),_0x3350a4=await createTDXInstance(_0x290706),_0x5085dc=await _0x10fbeb['run']({'options':{..._0x290706,..._0x1ca014},'args':[_0x168cf6],'tdx':_0x3350a4});gracefulExit(_0x5085dc);}),journeyCmd['command'](a2_0x455ebf(0x25d))[a2_0x455ebf(0x28a)]('Export\x20journey(s)\x20as\x20YAML\x20files')['option']('-y,\x20--yes',a2_0x455ebf(0x2aa))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2cb),a2_0x455ebf(0x2dc))[a2_0x455ebf(0x202)](async(_0x41b244,_0x3ff2ad)=>{const _0x212ccf=a2_0x455ebf,_0x45d293=new JourneyPullCommand(),_0x2adba3=program[_0x212ccf(0x19c)](),_0x449bd7=await createTDXInstance(_0x2adba3),_0x4345e1=await _0x45d293[_0x212ccf(0x158)]({'options':{..._0x2adba3,..._0x3ff2ad},'args':_0x41b244?[_0x41b244]:[],'tdx':_0x449bd7});gracefulExit(_0x4345e1);}),journeyCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1e8))['description'](a2_0x455ebf(0x1cf))['action'](async(_0x16a2a5,_0x3f712b)=>{const _0x4ddabb=a2_0x455ebf,_0x2a5014=new JourneyPushCommand(),_0xa39ef4=program[_0x4ddabb(0x19c)](),_0x3abb1b=await createTDXInstance(_0xa39ef4),_0x392704=await _0x2a5014[_0x4ddabb(0x158)]({'options':{..._0xa39ef4,..._0x3f712b},'args':_0x16a2a5?[_0x16a2a5]:[],'tdx':_0x3abb1b});gracefulExit(_0x392704);}),journeyCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xb5))[a2_0x455ebf(0x28a)]('Validate\x20journey\x20YAML\x20files\x20locally')['action'](async(_0x6dad98,_0x1e0819)=>{const _0x1f432d=new JourneyValidateCommand(),_0x1cebef=program['opts'](),_0x350f55=await createTDXInstance(_0x1cebef),_0x56e899=await _0x1f432d['run']({'options':{..._0x1cebef,..._0x1e0819},'args':_0x6dad98?[_0x6dad98]:[],'tdx':_0x350f55});gracefulExit(_0x56e899);}),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0xcb))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x143))[a2_0x455ebf(0x202)](journeyListAction);const agentSyncCmd=program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2b4))['description'](a2_0x455ebf(0x119));agentSyncCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x27f))[a2_0x455ebf(0x28a)]('Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1e4),a2_0x455ebf(0x19f))['option'](a2_0x455ebf(0x281),a2_0x455ebf(0x2f9))[a2_0x455ebf(0x202)](async(_0x24e527,_0x368b28,_0x5ed041)=>{const _0x3b280a=a2_0x455ebf,_0x38988b=new AgentPullCommand(),_0xcf3b5b=program['opts'](),_0x5e81d6=await createTDXInstance(_0xcf3b5b),_0xf24a52=[];if(_0x24e527)_0xf24a52[_0x3b280a(0x1ec)](_0x24e527);if(_0x368b28)_0xf24a52['push'](_0x368b28);const _0x50f367=await _0x38988b[_0x3b280a(0x158)]({'options':{..._0xcf3b5b,..._0x5ed041},'args':_0xf24a52,'tdx':_0x5e81d6});gracefulExit(_0x50f367);}),agentSyncCmd[a2_0x455ebf(0xc9)]('push\x20[path]')['description'](a2_0x455ebf(0x172))['option'](a2_0x455ebf(0x281),a2_0x455ebf(0xbb))['action'](async(_0xe99c59,_0x1102fc)=>{const _0x336b68=a2_0x455ebf,_0x3c9583=new AgentPushCommand(),_0x48f37b=program['opts'](),_0x3ac3c3=await createTDXInstance(_0x48f37b),_0x206855=await _0x3c9583[_0x336b68(0x158)]({'options':{..._0x48f37b,..._0x1102fc},'args':_0xe99c59?[_0xe99c59]:[],'tdx':_0x3ac3c3});gracefulExit(_0x206855);}),agentSyncCmd[a2_0x455ebf(0xc9)]('clone\x20[source]')[a2_0x455ebf(0x28a)]('Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x31e),a2_0x455ebf(0xdc))[a2_0x455ebf(0x202)](async(_0x4fbfbc,_0x3e160b)=>{const _0x2855a4=a2_0x455ebf,_0x480c78=new AgentCloneCommand(),_0xfe5df9=program[_0x2855a4(0x19c)](),_0x3f943b=await createTDXInstance(_0xfe5df9),_0x51f5d6=await _0x480c78[_0x2855a4(0x158)]({'options':{..._0xfe5df9,..._0x3e160b},'args':_0x4fbfbc?[_0x4fbfbc]:[],'tdx':_0x3f943b});gracefulExit(_0x51f5d6);}),agentSyncCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1af))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2ef))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x319),a2_0x455ebf(0xb6))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x14c),a2_0x455ebf(0xc6))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2cb),a2_0x455ebf(0x1a4))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1f1),a2_0x455ebf(0x11d))['option'](a2_0x455ebf(0x2c9),'Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')[a2_0x455ebf(0x202)](async(_0x126a65,_0x50941d)=>{const _0x3b8130=a2_0x455ebf,_0x1e2652=new AgentTestCommand(),_0x2052d5=program[_0x3b8130(0x19c)](),_0x2bc2f7=await createTDXInstance(_0x2052d5),_0x4e5c99=await _0x1e2652[_0x3b8130(0x158)]({'options':{..._0x2052d5,..._0x50941d},'args':_0x126a65?[_0x126a65]:[],'tdx':_0x2bc2f7});gracefulExit(_0x4e5c99);}),agentSyncCmd[a2_0x455ebf(0xc9)]('list\x20[pattern]')['description'](a2_0x455ebf(0x223))[a2_0x455ebf(0x202)](llmAgentListAction),agentSyncCmd['command'](a2_0x455ebf(0x13a))['description'](a2_0x455ebf(0x238))[a2_0x455ebf(0x202)](async(_0x13a5ad,_0x1f2468)=>{const _0xfee77e=new LLMAgentShowCommand(),_0x2e45ce=program['opts'](),_0x387569=await createTDXInstance(_0x2e45ce),_0x25c93f=await _0xfee77e['run']({'options':{..._0x2e45ce,..._0x1f2468},'args':[_0x13a5ad],'tdx':_0x387569});gracefulExit(_0x25c93f);}),agentSyncCmd['command'](a2_0x455ebf(0x26a))['description'](a2_0x455ebf(0xaf))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xc1),'System\x20prompt/instructions\x20(default:\x20empty)')[a2_0x455ebf(0xaa)]('--model\x20<name>',a2_0x455ebf(0x218),'claude-4.5-sonnet')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1fe),'Starter\x20message')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x19d),a2_0x455ebf(0x2e2),'4')[a2_0x455ebf(0xaa)]('--temperature\x20<n>',a2_0x455ebf(0x1dc),'0.7')['action'](async(_0x49edb5,_0x716bfd)=>{const _0x5838f5=a2_0x455ebf,_0x1c06c9=new LLMAgentCreateCommand(),_0x50cc0b=program['opts'](),_0x3037ff=await createTDXInstance(_0x50cc0b),_0x40a3d9=await _0x1c06c9[_0x5838f5(0x158)]({'options':{..._0x50cc0b,..._0x716bfd},'args':[_0x49edb5],'tdx':_0x3037ff});gracefulExit(_0x40a3d9);}),agentSyncCmd[a2_0x455ebf(0xc9)]('update\x20<agent-name>')['description'](a2_0x455ebf(0x248))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x138),'Agent\x20name')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x320),'Agent\x20prompt/instructions')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x153),'Agent\x20description')['option']('--starter-message\x20<text>',a2_0x455ebf(0x2f7))[a2_0x455ebf(0x202)](async(_0x44a467,_0x23654f)=>{const _0x35ee06=a2_0x455ebf,_0x591f0e=new LLMAgentUpdateCommand(),_0xe2d0ba=program[_0x35ee06(0x19c)](),_0x3c8273=await createTDXInstance(_0xe2d0ba),_0x1c3499=await _0x591f0e['run']({'options':{..._0xe2d0ba,..._0x23654f},'args':[_0x44a467],'tdx':_0x3c8273});gracefulExit(_0x1c3499);}),agentSyncCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xf7))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x272))['action'](async(_0x3e8bef,_0x14e421)=>{const _0x1d7873=a2_0x455ebf,_0x18af1d=new LLMAgentDeleteCommand(),_0x51f28b=program['opts'](),_0x3f1699=await createTDXInstance(_0x51f28b),_0x172861=await _0x18af1d[_0x1d7873(0x158)]({'options':{..._0x51f28b,..._0x14e421},'args':[_0x3e8bef],'tdx':_0x3f1699});gracefulExit(_0x172861);});export{program};export function runCLI(){const _0x20a1d6=a2_0x455ebf,_0x36f527=!process[_0x20a1d6(0x2fe)]['slice'](0x2)['length'];showBriefHelp=_0x36f527,program['parse'](process[_0x20a1d6(0x2fe)]);_0x36f527&&program[_0x20a1d6(0x15d)]();if(process[_0x20a1d6(0x310)]['isTTY']&&process['argv'][_0x20a1d6(0x124)]>0x2&&!isDevVersion()){const _0x154e4d=loadReleaseChannel();checkForUpdate(currentVersion,_0x154e4d)['then'](_0x13f229=>{_0x13f229&&displayUpdateNotification(_0x13f229);})[_0x20a1d6(0x237)](()=>{});}}
|