@treasuredata/tdx 0.28.3 → 0.28.5

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.
Files changed (184) hide show
  1. package/dist/bin.js +1 -1
  2. package/dist/build-info.json +3 -3
  3. package/dist/cli-categories.js +1 -1
  4. package/dist/cli.js +1 -1
  5. package/dist/commands/activations.js +1 -1
  6. package/dist/commands/agent-command.js +1 -1
  7. package/dist/commands/agent-test-command.js +1 -1
  8. package/dist/commands/api-command.js +1 -1
  9. package/dist/commands/auth-command.js +1 -1
  10. package/dist/commands/chat-command.js +1 -1
  11. package/dist/commands/claude-command.js +1 -1
  12. package/dist/commands/claude-statusline-command.js +1 -1
  13. package/dist/commands/claude-usage-command.js +1 -1
  14. package/dist/commands/command.js +1 -1
  15. package/dist/commands/connection-command.js +1 -1
  16. package/dist/commands/databases.js +1 -1
  17. package/dist/commands/delivery-command.js +1 -1
  18. package/dist/commands/describe.js +1 -1
  19. package/dist/commands/engage-campaign-pull-command.js +1 -1
  20. package/dist/commands/engage-campaign-push-command.js +1 -1
  21. package/dist/commands/engage-campaign-validate-command.js +1 -1
  22. package/dist/commands/engage-command.js +1 -1
  23. package/dist/commands/job-command.js +1 -1
  24. package/dist/commands/journey-command.js +1 -1
  25. package/dist/commands/journey-validate-command.js +1 -1
  26. package/dist/commands/llm-command.js +1 -1
  27. package/dist/commands/mcp-command.js +1 -1
  28. package/dist/commands/parent-segment-command.js +1 -1
  29. package/dist/commands/profile-command.js +1 -1
  30. package/dist/commands/profiles-command.js +1 -1
  31. package/dist/commands/query-command.js +1 -1
  32. package/dist/commands/schedule-command.js +1 -1
  33. package/dist/commands/segment-command.js +1 -1
  34. package/dist/commands/segment-create-command.js +1 -1
  35. package/dist/commands/segment-fields-command.js +1 -1
  36. package/dist/commands/segment-pull-command.js +1 -1
  37. package/dist/commands/segment-push-command.js +1 -1
  38. package/dist/commands/segment-update-command.js +1 -1
  39. package/dist/commands/segment-use-command.js +1 -1
  40. package/dist/commands/segment-validate-command.js +1 -1
  41. package/dist/commands/segments.js +1 -1
  42. package/dist/commands/show.js +1 -1
  43. package/dist/commands/status-command.js +1 -1
  44. package/dist/commands/tables.js +1 -1
  45. package/dist/commands/unset-command.js +1 -1
  46. package/dist/commands/use-command.js +1 -1
  47. package/dist/commands/user-command.js +1 -1
  48. package/dist/commands/workflow-command.js +1 -1
  49. package/dist/core/auth.js +1 -1
  50. package/dist/core/command-output.js +1 -1
  51. package/dist/core/config.js +1 -1
  52. package/dist/core/connection-cache.js +1 -1
  53. package/dist/core/constants.js +1 -1
  54. package/dist/core/credential-cache.js +1 -1
  55. package/dist/core/global-context.js +1 -1
  56. package/dist/core/keychain.js +1 -1
  57. package/dist/core/profile.js +1 -1
  58. package/dist/core/project-config.js +1 -1
  59. package/dist/core/session.js +1 -1
  60. package/dist/core/user-cache.js +1 -1
  61. package/dist/core/version.js +1 -1
  62. package/dist/index.js +1 -1
  63. package/dist/mcp/server.js +1 -1
  64. package/dist/mcp/tools/index.js +1 -1
  65. package/dist/mcp/tools/tdx-run.js +1 -1
  66. package/dist/mcp/tools/tdx-search.js +1 -1
  67. package/dist/mcp/utils.js +1 -1
  68. package/dist/proxy/claude-usage-tracker.js +1 -1
  69. package/dist/proxy/passthrough-server.js +1 -1
  70. package/dist/proxy/sse-usage-parser.js +1 -1
  71. package/dist/sdk/agent/agent-config.js +1 -1
  72. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  73. package/dist/sdk/agent/agent-yaml.js +1 -1
  74. package/dist/sdk/agent/test/evaluator.js +1 -1
  75. package/dist/sdk/agent/test/executor.js +1 -1
  76. package/dist/sdk/agent/test/index.js +1 -1
  77. package/dist/sdk/agent/test/output.js +1 -1
  78. package/dist/sdk/agent/test/parser.js +1 -1
  79. package/dist/sdk/agent/tool-target-registry.js +1 -1
  80. package/dist/sdk/api.js +1 -1
  81. package/dist/sdk/client/cdp-api-client.js +1 -1
  82. package/dist/sdk/client/delivery-api-client.js +1 -1
  83. package/dist/sdk/client/endpoints.js +1 -1
  84. package/dist/sdk/client/engage-api-client.js +1 -1
  85. package/dist/sdk/client/http-client.js +1 -1
  86. package/dist/sdk/client/llm-api-client.js +1 -1
  87. package/dist/sdk/client/rate-limiter.js +1 -1
  88. package/dist/sdk/client/td-api-client.js +1 -1
  89. package/dist/sdk/client/trino-api-client.js +1 -1
  90. package/dist/sdk/client/workflow-client.js +1 -1
  91. package/dist/sdk/connection-validator.js +1 -1
  92. package/dist/sdk/connection.js +1 -1
  93. package/dist/sdk/delivery.js +1 -1
  94. package/dist/sdk/engage/campaign-pull.js +1 -1
  95. package/dist/sdk/engage/campaign-push.js +1 -1
  96. package/dist/sdk/engage/campaign-validator.js +1 -1
  97. package/dist/sdk/engage/campaign-yaml.js +1 -1
  98. package/dist/sdk/engage/types/campaign-def.js +1 -1
  99. package/dist/sdk/engage/types/campaign-schema.js +1 -1
  100. package/dist/sdk/engage.js +1 -1
  101. package/dist/sdk/errors.js +1 -1
  102. package/dist/sdk/index.js +1 -1
  103. package/dist/sdk/io/index.js +1 -1
  104. package/dist/sdk/io/node-filesystem.js +1 -1
  105. package/dist/sdk/job.js +1 -1
  106. package/dist/sdk/journey.js +1 -1
  107. package/dist/sdk/llm/chat-cache.js +1 -1
  108. package/dist/sdk/llm/index.js +1 -1
  109. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  110. package/dist/sdk/llm/model-factors.js +1 -1
  111. package/dist/sdk/personalization.js +1 -1
  112. package/dist/sdk/query/index.js +1 -1
  113. package/dist/sdk/query/sql-parser.js +1 -1
  114. package/dist/sdk/realtime.js +1 -1
  115. package/dist/sdk/schedule.js +1 -1
  116. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  117. package/dist/sdk/segment/fields-display.js +1 -1
  118. package/dist/sdk/segment/file-discovery.js +1 -1
  119. package/dist/sdk/segment/journey-utils.d.ts.map +1 -1
  120. package/dist/sdk/segment/journey-utils.js +1 -1
  121. package/dist/sdk/segment/journey-utils.js.map +1 -1
  122. package/dist/sdk/segment/journey-validator.js +1 -1
  123. package/dist/sdk/segment/journey-validator.js.map +1 -1
  124. package/dist/sdk/segment/journey-yaml.d.ts.map +1 -1
  125. package/dist/sdk/segment/journey-yaml.js +1 -1
  126. package/dist/sdk/segment/journey-yaml.js.map +1 -1
  127. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  128. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  129. package/dist/sdk/segment/pull-workflow.js +1 -1
  130. package/dist/sdk/segment/push-recovery.js +1 -1
  131. package/dist/sdk/segment/push-workflow.js +1 -1
  132. package/dist/sdk/segment/resolution-context.js +1 -1
  133. package/dist/sdk/segment/segment-path-parser.js +1 -1
  134. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  135. package/dist/sdk/segment/target-resolution.js +1 -1
  136. package/dist/sdk/segment/tdx-config.js +1 -1
  137. package/dist/sdk/segment/validate-files.js +1 -1
  138. package/dist/sdk/segment/yaml-validator.js +1 -1
  139. package/dist/sdk/segment.js +1 -1
  140. package/dist/sdk/types/index.js +1 -1
  141. package/dist/sdk/types/progress.js +1 -1
  142. package/dist/sdk/user.js +1 -1
  143. package/dist/sdk/util/format-detector.js +1 -1
  144. package/dist/sdk/util/formatters.js +1 -1
  145. package/dist/sdk/util/index.js +1 -1
  146. package/dist/sdk/util/tree-formatter.js +1 -1
  147. package/dist/sdk/workflow/archive-validation.js +1 -1
  148. package/dist/sdk/workflow/clone-workflow.js +1 -1
  149. package/dist/sdk/workflow/index.js +1 -1
  150. package/dist/sdk/workflow/pull-workflow.js +1 -1
  151. package/dist/sdk/workflow/push-workflow.js +1 -1
  152. package/dist/sdk/workflow/tdx-config.js +1 -1
  153. package/dist/sdk/workflow/workflow-utils.js +1 -1
  154. package/dist/test-utils/command-runner.js +1 -1
  155. package/dist/test-utils/factories.js +1 -1
  156. package/dist/test-utils/fixtures.js +1 -1
  157. package/dist/test-utils/http-mock.js +1 -1
  158. package/dist/test-utils/index.js +1 -1
  159. package/dist/utils/async.js +1 -1
  160. package/dist/utils/colors.js +1 -1
  161. package/dist/utils/diff.js +1 -1
  162. package/dist/utils/file-permissions.js +1 -1
  163. package/dist/utils/global-cache.js +1 -1
  164. package/dist/utils/json-loader.js +1 -1
  165. package/dist/utils/local-cache.js +1 -1
  166. package/dist/utils/logger/formatters/default-formatter.js +1 -1
  167. package/dist/utils/logger/formatters/index.js +1 -1
  168. package/dist/utils/logger/handlers/console-handler.js +1 -1
  169. package/dist/utils/logger/handlers/file-handler.js +1 -1
  170. package/dist/utils/logger/handlers/index.js +1 -1
  171. package/dist/utils/logger/handlers/null-handler.js +1 -1
  172. package/dist/utils/logger/index.js +1 -1
  173. package/dist/utils/logger/logger.js +1 -1
  174. package/dist/utils/logger/types.js +1 -1
  175. package/dist/utils/option-validation.js +1 -1
  176. package/dist/utils/process.js +1 -1
  177. package/dist/utils/prompt.js +1 -1
  178. package/dist/utils/spinner.js +1 -1
  179. package/dist/utils/sse-parser.js +1 -1
  180. package/dist/utils/string-utils.js +1 -1
  181. package/dist/utils/table-ref-parser.js +1 -1
  182. package/dist/utils/tdx-logger.js +1 -1
  183. package/dist/utils/version-check.js +1 -1
  184. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1 +1 @@
1
- const a2_0x19835d=a2_0x5509;(function(_0x40ad39,_0x5724a3){const _0x5f176f=a2_0x5509,_0x5cb80e=_0x40ad39();while(!![]){try{const _0x531b38=parseInt(_0x5f176f(0x1c8))/0x1+-parseInt(_0x5f176f(0x14f))/0x2*(-parseInt(_0x5f176f(0x307))/0x3)+-parseInt(_0x5f176f(0x17c))/0x4+parseInt(_0x5f176f(0x32d))/0x5+-parseInt(_0x5f176f(0x25e))/0x6*(-parseInt(_0x5f176f(0x1ca))/0x7)+parseInt(_0x5f176f(0xed))/0x8+-parseInt(_0x5f176f(0x336))/0x9;if(_0x531b38===_0x5724a3)break;else _0x5cb80e['push'](_0x5cb80e['shift']());}catch(_0x5b3426){_0x5cb80e['push'](_0x5cb80e['shift']());}}}(a2_0x19eb,0x8f16b));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSPzListCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';function a2_0x19eb(){const _0x27cff8=['attempts\x20[project]','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','--skip-validation','TRACE','--include-stats','--plaintext\x20<text>','Version\x20number\x20to\x20view','--resume-from\x20<task>','Interactive\x20chat\x20selector','Open\x20journey\x20in\x20web\x20browser','--param\x20<key=value>','run','Parent\x20folder\x20name\x20for\x20nested\x20folders','Custom\x20revision\x20name\x20(default:\x20timestamp)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','log','subcommandTerm','--add-attributes\x20<json>','Arguments:','--database\x20<db>','pull\x20[name]','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','-p,\x20--profile\x20<name>','--stream','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','push\x20[parent_or_file]','Delete\x20a\x20workspace','timeline\x20[project.workflow]','Run\x20Trino\x20query\x20with\x20streaming\x20results','Push\x20without\x20confirmation','trace','describe','--name\x20<new_name>','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','delete\x20<project-name-or-id>','--html\x20<html>','-H,\x20--header\x20<header>','options','stdout','--job-type\x20<type>','Result\x20output\x20destination\x20URL','-d,\x20--database\x20<database>','exit','stringify','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','--in\x20<db>','Read\x20request\x20body\x20from\x20file','push\x20[source-dir]','log\x20<chat-id>','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','List\x20all\x20versions\x20of\x20a\x20journey','connection','LLM\x20project\x20management','End\x20time\x20filter\x20(ISO\x208601\x20format)','Pull\x20specific\x20revision\x20(default:\x20latest)','Resume\x20a\x20paused\x20campaign','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','--invisible','--workspace\x20<name>','jobs','Parent\x20segment\x20management','usage','Show\x20email\x20template\x20details','run\x20[name]','push','--dry-run','--no-color','--include-history','Pull\x20specific\x20campaign\x20by\x20name','commands','Show\x20authentication\x20status\x20and\x20current\x20context','apiKey','Personalization\x20service\x20management','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Workflow\x20parameter\x20(repeatable)','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Starting\x20offset\x20(default:\x200)','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','project','Show\x20journey\x20statistics','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','colorFn','connections','-f,\x20--force','test\x20[path]','24270dXpGsH','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','--output\x20<file>','Continue\x20most\x20recent\x20conversation','set','Pull\x20workflow\x20project\x20to\x20local\x20folder','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','clone\x20[source]','Show\x20schedule\x20execution\x20history','delete\x20<name>','Show\x20what\x20would\x20be\x20written\x20without\x20writing','use\x20<path>','join','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','--model\x20<name>','Limit\x20number\x20of\x20rows','Create\x20segment\x20folder','Launch\x20a\x20campaign','claude-4.5-sonnet','Workspace\x20name','Include\x20retried\x20attempts','Add\x20attributes\x20from\x20JSON\x20file','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','stderr','folder','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','--status\x20<status>','create\x20<name-or-path>','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','repeat','isTTY','--full','Pull\x20campaigns\x20to\x20YAML\x20files','list\x20[project]','--rule-file\x20<file>','logLevel','stats\x20<name-or-path>','parse','-o,\x20--output\x20<file>','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','run\x20<name>','update\x20<segment_name>','tasks','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Delete\x20an\x20LLM\x20project','--type\x20<type>','Overwrite\x20local\x20changes\x20without\x20confirmation','jsonl','Validate\x20campaign\x20YAML\x20files\x20locally','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','--max-depth\x20<depth>','Resume\x20a\x20conversation\x20(shows\x20selector)','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','show\x20<agent-name>','Cron\x20expression\x20for\x20scheduling','0.7','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','argv','--cron\x20<expression>','forEach','--version','Request\x20body\x20as\x20JSON\x20string','Database\x20name\x20(default:\x20information_schema)','Usage:\x20','-c,\x20--continue','Duplicate\x20a\x20campaign','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','--name\x20<text>','tdx','View\x20a\x20specific\x20version\x20of\x20a\x20journey','--format\x20<format>','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','trino','Show\x20all\x20files\x20including\x20valid\x20ones','Preview\x20changes\x20without\x20writing\x20files','Workflow\x20session\x20management','command','folders\x20<parent_name>','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Create\x20a\x20new\x20profile','--llm-project\x20<name>','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Show\x20journey\x20table\x20column-to-step\x20mapping','name','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','Campaign\x20description','--customer-group\x20<json>','mcp','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','argument','Action:\x20logs,\x20tasks,\x20kill,\x20retry','pause\x20<name-or-path>','--limit\x20<rows>','--description\x20<desc>','Set\x20operation\x20timeout\x20in\x20seconds','filter','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','run\x20[workflow]','--master','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','--subject\x20<subject>','--schedule-type\x20<type>','Delivery\x20operations\x20(email\x20senders)','Skip\x20confirmation\x20prompts','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','-C,\x20--directory\x20<path>','Directory\x20does\x20not\x20exist:\x20','users','agents\x20[pattern]','Create\x20a\x20new\x20campaign','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','Read\x20query\x20from\x20file','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','Output\x20as\x20JSON','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','upload\x20[project-name-or-dir]','job','Add\x20attributes\x20as\x20JSON\x20string','Reason\x20for\x20killing\x20the\x20attempt','--kind\x20<type>','commandDescription','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','Output\x20file\x20path','Filtering\x20rule\x20as\x20JSON\x20string','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','--attempt-id\x20<id>','buildTime','Delay\x20in\x20seconds\x20before\x20execution','show\x20<job-id>','Clear\x20session\x20context','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','--attribute\x20[name]','profiles','-y,\x20--yes','Query\x20type:\x20trino\x20or\x20hive','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','desc\x20[segment_name]','--description\x20<text>','--include-retried','create\x20<name>','Parent\x20segment\x20description','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','Save\x20output\x20to\x20file','--reeval','delete\x20<name-or-id>','\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','after','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','--color','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','--limit\x20<number>','--include-subtasks','Authentication\x20management','list','versions\x20<name-or-path>','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','--default','tdx\x20','Agent\x20prompt/instructions','3ruyAgh','catch','Delete\x20an\x20agent','delivery','Kill\x20a\x20job','--add-behaviors-file\x20<file>','Show\x20schedule\x20details','Show\x20workspace\x20details','--no-eval','Update\x20a\x20scheduled\x20query','Follow/watch\x20timeline\x20for\x20running\x20attempts','--folder\x20<name>','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','--json','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','view\x20[name]','isArray','Delete\x20a\x20campaign','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','\x20(resolved\x20to\x20','chdir','--json-columns\x20<cols>','Behaviors\x20as\x20JSON\x20string','create\x20<parent_name>\x20<folder_name>','--name\x20<name>','template','List\x20secret\x20keys\x20for\x20a\x20project','set\x20<key=value>','outputHelp','Options:','List\x20jobs','--to\x20<date>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','session','validate\x20[name]','show\x20<folder_ref>','fields\x20[parent_name]','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','2093145opZBeK','-w,\x20--web','--params\x20<json>','--no-proxy','gitRevision','Skip\x20population\x20counting','Output\x20file\x20path\x20(default:\x20<name>.yml)','Ending\x20offset\x20(default:\x2020)','Updated\x20schedule\x20option','11580417ODPoar','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','argumentTerm','-u,\x20--use','--version\x20<number>','list\x20[name]','noColor','Attributes\x20from\x20JSON\x20file','--no-count-population','kill','Add\x20behaviors\x20from\x20JSON\x20file','history\x20<name>','--name\x20<new-name>','Update\x20an\x20email\x20template','List\x20all\x20available\x20profiles','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Skip\x20validation\x20of\x20.dig\x20files','Attempt\x20ID','slice','restore\x20<folder>','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','Task\x20name\x20for\x20logs\x20action','tsv','Show\x20connection\x20details\x20by\x20name','Set\x20or\x20show\x20parent\x20segment\x20context','Show\x20master\x20table\x20sample\x20data','--result\x20<url>','Update\x20a\x20workspace','attempt','Updated\x20timezone','duplicate\x20<name-or-id>','hidden','Unknown\x20action:\x20','Clear\x20workflow\x20project\x20context','Run\x20a\x20scheduled\x20query\x20immediately','create\x20[name]','push\x20[file]','_list-commands','CDP\x20Journey\x20Orchestration\x20commands','desc','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Enable\x20verbose\x20logging','show\x20<name-or-id>','databases\x20[pattern]','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','schedule','Workflow\x20attempt\x20management','Campaign\x20type\x20(email\x20or\x20push)','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','user','agent','Maximum\x20recursion\x20depth\x20(default:\x2010)','--from\x20<timestamp>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','opts','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','workspaces\x20[pattern]','download\x20<project-name>\x20[output-dir]','validate\x20[target]','Attributes\x20as\x20JSON\x20string','Show\x20segment\x20schema\x20(column\x20types)','--tags\x20<tags>','required','Parse\x20and\x20validate\x20without\x20executing','parent','journey','--from\x20<n>','Delete\x20a\x20scheduled\x20query','use\x20[name]','activations\x20<name-or-path>','Journey\x20version\x20management','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','--debug','length','resume\x20<name-or-path>','optionTerm','LLM\x20agent\x20management','parents\x20[pattern]','Query\x20engine\x20version','use\x20[project]','-o,\x20--output\x20<dir>','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','description','--help','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','traffic\x20<name-or-path>','List\x20activations\x20for\x20a\x20journey','models','Folder\x20description','profile','--trace','Open\x20segment\x20in\x20web\x20browser','Customer\x20group\x20as\x20JSON\x20string','--to\x20<n>','engage','Workspace\x20name\x20(required)','--enriched','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Data\x20connection\x20management\x20(for\x20activations/exports)','--engine-version\x20<version>','--behavior\x20[name]','List\x20email\x20senders','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Project\x20description','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Set\x20a\x20profile\x20configuration\x20value','2494080XOKEQw','json','push\x20[target]','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Preview\x20changes\x20without\x20pushing','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','init\x20[name]','[task-name]','aliases','claude\x20[args...]','--delay\x20<seconds>','requiredOption','Filtering\x20rule\x20from\x20JSON\x20file','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','Create\x20a\x20new\x20LLM\x20project','Email\x20sender\x20ID\x20for\x20delivery','--site\x20<site>','workspace','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','parent-segment','padWidth','RT\x202.0\x20configuration\x20management','--parent-segment\x20<name>','AI-native\x20CLI\x20for\x20Treasure\x20Data','User\x20management\x20commands','show\x20<name>','--yes','senders\x20[pattern]','table','preview\x20[name]','--parent-folder\x20<name>','variadic','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','Show\x20segment\x20details\x20(alias\x20for\x20view)','--new','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Remove\x20a\x20profile','Skip\x20confirmation\x20prompt','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','view\x20<name-or-path>','describe\x20[table]','Email\x20template\x20management','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','delete\x20<args...>','templates\x20[pattern]','--type\x20<api_type>','--segment\x20<path>','campaigns\x20[pattern]','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','System\x20prompt/instructions\x20(default:\x20empty)','show\x20[name]','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Pull\x20child\x20segments\x20to\x20YAML\x20files','--timeout\x20<seconds>','Pause\x20a\x20campaign','--session-time\x20<time>','Commands:','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','-v,\x20--verbose','subcommandDescription','--starter-message\x20<text>','flatMap','site','HTML\x20template\x20content','Show\x20campaign\x20details','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','--catalog\x20<catalog>','Agent\x20description','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','submit\x20[query]','Timezone\x20(e.g.,\x20America/Los_Angeles)','update\x20<name>','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','--agent\x20<ref>','--last','Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','clear','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','sql\x20[segment_name]','format','segments\x20[path]','Timezone\x20for\x20cron','Segment\x20description','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','fields\x20[name]','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','Preview\x20operation\x20without\x20executing','update\x20<name-or-id>','--from-task\x20<task>','List\x20available\x20LLM\x20models','\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','launch\x20<name-or-id>','Workflow\x20(Digdag)\x20management\x20commands','--data\x20<data>','registeredArguments','2108026ZvcJEM','map','-r,\x20--recursive','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','--jsonl','Timezone\x20for\x20cron\x20(default:\x20UTC)','Create\x20an\x20email\x20template','--database\x20<name>','workflows\x20[project]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Folder\x20name\x20for\x20organization','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','--timezone\x20<tz>','--chat-id\x20<id>','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','list\x20[pattern]','--max-tool-iterations\x20<n>','use\x20<name>','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','show\x20[table]','remove\x20<name>','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','create','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','Campaign\x20management','action','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','--revision\x20<revision>','Retry\x20limit\x20(0\x20to\x2032)','List\x20journeys\x20(alias\x20for\x20journey\x20list)','Master\x20table\x20name','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','--reason\x20<text>','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','[options]\x20--\x20[claude-code-args...]','view\x20[segment_name]','database','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Move\x20to\x20folder','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','638728yScSRO','Update\x20a\x20campaign','DEBUG','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','settings\x20<type>','clone\x20[source-dir]','Create\x20a\x20scheduled\x20query','Maximum\x20number\x20of\x20nodes','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','[EXPERIMENTAL]\x20Show\x20chat\x20log','--add-attributes-file\x20<file>','preview\x20[file]','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','_hidden','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Database\x20name','kill\x20<job-id>','auth','Submit\x20a\x20job','--add-behaviors\x20<json>','llm','--rule\x20<json>','use\x20[resource]\x20[value]','preAction','--retry-limit\x20<0~32>','update\x20<agent-name>','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','secrets','--to\x20<timestamp>','--interval\x20<range>','schema\x20<type>','status','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','allowExcessArguments','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','[DEPRECATED]\x20Segment\x20folder\x20management','--in\x20<database>','Agent\x20name','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','Change\x20to\x20directory\x20before\x20executing\x20command','GET','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Show\x20timeline\x20for\x20specific\x20attempt','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Add\x20behaviors\x20as\x20JSON\x20string','-a,\x20--agent\x20<name>','-1d','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','Campaign\x20name','Setup\x20API\x20key\x20authentication\x20interactively','campaign','Output\x20as\x20JSON\x20Lines','error','Plaintext\x20template\x20content','Update\x20an\x20existing\x20agent','Describe\x20table\x20schema','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','split','Include\x20raw\x20history\x20data\x20in\x20output','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','flags','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','Email\x20subject\x20template','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Validate\x20journey\x20YAML\x20files\x20locally','push\x20[name]','Workflow\x20project\x20management','New\x20segment\x20name','beefree','[action]','126734QYzHAM','alias','210GVCVeO','--email-sender-id\x20<id>','Generate\x20test\x20conversations\x20without\x20evaluation','projects\x20[pattern]','includes','--num\x20<1-10>','pull\x20[project]\x20[agent-name]','parent_segment','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','directory','--priority\x20<-2~2>','-f,\x20--file\x20<path>','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','\x22.\x20Must\x20be\x20a\x20number.','get','configureHelp','addHelpText','List\x20journeys\x20in\x20current\x20context','chats','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','--follow','--start-at\x20<datetime>','us01','List\x20all\x20users\x20in\x20the\x20account','Export\x20journey(s)\x20as\x20YAML\x20files','--temperature\x20<n>','Customer\x20group\x20from\x20JSON\x20file','...','Updated\x20description','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','pull\x20[workspace-name]','--schedule-option\x20<value>','hook','Revision\x20name\x20(default:\x20timestamp)','retry\x20<session-id>','INVALID_ARGUMENT','Trino\x20catalog\x20(default:\x20td)','List\x20agents\x20in\x20current\x20project','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Behaviors\x20from\x20JSON\x20file','replace','Master\x20database\x20name','--session-id\x20<id>','LLM\x20project\x20to\x20use\x20(overrides\x20context)','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','option','List\x20all\x20data\x20connections','Show\x20only\x20master\x20table\x20validation','Workspace\x20description','Job\x20priority\x20(-2\x20to\x202)','columns\x20<name-or-path>','sessions\x20[project]','Resume\x20from\x20specific\x20task\x20(retry)','use\x20<project-name>','Output\x20directory','query\x20[sql]','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)',',\x20version\x20','setup','help','--attributes-file\x20<file>'];a2_0x19eb=function(){return _0x27cff8;};return a2_0x19eb();}import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{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_0x19835d(0x29d)][a2_0x19835d(0x1ce)](a2_0x19835d(0x2a0))){let versionOutput=a2_0x19835d(0x305)+currentVersion;buildInfo[a2_0x19835d(0x331)]&&!currentVersion[a2_0x19835d(0x1ce)](buildInfo['gitRevision'])&&(versionOutput+='\x20('+buildInfo[a2_0x19835d(0x331)]+')'),buildInfo['buildTime']&&(versionOutput+='\x20-\x20built\x20'+buildInfo[a2_0x19835d(0x2e6)]),console[a2_0x19835d(0x216)](versionOutput),process[a2_0x19835d(0x232)](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0x19835d(0x105);buildInfo[a2_0x19835d(0x331)]&&!currentVersion[a2_0x19835d(0x1ce)](buildInfo[a2_0x19835d(0x331)])?description+=a2_0x19835d(0x203)+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=a2_0x19835d(0x203)+currentVersion;program[a2_0x19835d(0x2ba)](a2_0x19835d(0x2a9))[a2_0x19835d(0xd4)](description),program[a2_0x19835d(0x1f7)](a2_0x19835d(0x2d0),a2_0x19835d(0x1a9))[a2_0x19835d(0x1f7)](a2_0x19835d(0x21d),'Profile\x20to\x20use\x20(overrides\x20active\x20profile)')[a2_0x19835d(0x1f7)](a2_0x19835d(0xfe),a2_0x19835d(0xb9),a2_0x19835d(0x1e0))[a2_0x19835d(0x1f7)](a2_0x19835d(0x2ab),a2_0x19835d(0xb7))[a2_0x19835d(0x1f7)]('--table',a2_0x19835d(0x234))['option']('--json',a2_0x19835d(0x13b))[a2_0x19835d(0x1f7)](a2_0x19835d(0x153),a2_0x19835d(0x186))['option']('--tsv',a2_0x19835d(0x1d6))[a2_0x19835d(0x1f7)](a2_0x19835d(0x260),a2_0x19835d(0x2f6))['option'](a2_0x19835d(0x2fe),'Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)')[a2_0x19835d(0x1f7)](a2_0x19835d(0x2fc),'Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0x19835d(0x1f7)](a2_0x19835d(0x24b),a2_0x19835d(0x2ac),![])[a2_0x19835d(0x1f7)](a2_0x19835d(0x128),a2_0x19835d(0xaa),![])[a2_0x19835d(0x1f7)](a2_0x19835d(0xca),a2_0x19835d(0x2e4))['option'](a2_0x19835d(0xdc),a2_0x19835d(0x114))[a2_0x19835d(0x1f7)](a2_0x19835d(0x123),a2_0x19835d(0x2c5),'30')[a2_0x19835d(0x1f7)](a2_0x19835d(0x24a),a2_0x19835d(0x146),![])[a2_0x19835d(0x1f7)](a2_0x19835d(0x2ed),a2_0x19835d(0x2ce),![])[a2_0x19835d(0x1f7)]('--session\x20<id>',a2_0x19835d(0x10e))[a2_0x19835d(0x1f7)](a2_0x19835d(0x104),a2_0x19835d(0x2bf))['option'](a2_0x19835d(0x2b7),a2_0x19835d(0x1f5)),program[a2_0x19835d(0x1d9)]({'formatHelp':(_0x236926,_0x516033)=>{const _0x23ef28=a2_0x19835d,_0x115eae=_0x516033[_0x23ef28(0x102)](_0x236926,_0x516033),_0x18ae7b=0x2,_0x13aa9c=0x2;function _0x350e78(_0x2e9e3e){const _0x152ce6=_0x23ef28,_0x4daa49=_0x2e9e3e;return!!(_0x4daa49[_0x152ce6(0x18b)]||_0x4daa49[_0x152ce6(0x358)]);}function _0x58cdb6(_0x1ba6dd,_0x35b509){if(_0x35b509){const _0x2cfa58=''+_0x1ba6dd['padEnd'](_0x115eae+_0x13aa9c)+_0x35b509;return _0x2cfa58;}return _0x1ba6dd;}function _0x504399(_0xbc4b76){const _0x5b42db=_0x23ef28;return _0xbc4b76['join']('\x0a')[_0x5b42db(0x1f2)](/^/gm,'\x20'[_0x5b42db(0x27c)](_0x18ae7b));}const _0x11f95b=[];_0x11f95b[_0x23ef28(0x249)](_0x23ef28(0x2a3)+_0x516033['commandUsage'](_0x236926));const _0x36ed19=_0x516033[_0x23ef28(0x2e0)](_0x236926);_0x36ed19&&(_0x11f95b[_0x23ef28(0x249)](''),_0x11f95b['push'](_0x36ed19));const _0xcec86b=_0x236926[_0x23ef28(0x24e)][_0x23ef28(0x2c6)](_0x25545d=>!_0x350e78(_0x25545d));if(_0xcec86b['length']>0x0){if(_0x236926[_0x23ef28(0x2ba)]()===_0x23ef28(0x2a9)){const _0x42c751=_0x236926['opts'](),_0x3fa049=!_0x42c751[_0x23ef28(0x33d)]&&process[_0x23ef28(0x22e)][_0x23ef28(0x27d)],_0x9501b5=COMMAND_CATEGORIES,_0x1aaf17=(_0x23210e,_0x1a4e5b)=>_0x3fa049?_0x1a4e5b(_0x23210e):_0x23210e,_0x52f40a=new Map();_0xcec86b[_0x23ef28(0x29f)](_0x7382a3=>{const _0x18c3d2=_0x23ef28;_0x52f40a[_0x18c3d2(0x262)](_0x7382a3[_0x18c3d2(0x2ba)](),_0x7382a3);}),_0x9501b5['forEach'](_0x283596=>{const _0x5ed520=_0x23ef28,_0xfdd885=_0x283596[_0x5ed520(0x24e)][_0x5ed520(0x12b)](_0x28fc2b=>_0x52f40a[_0x5ed520(0x1d8)](_0x28fc2b)??[]);if(_0xfdd885['length']>0x0){_0x11f95b[_0x5ed520(0x249)](''),_0x11f95b['push'](_0x1aaf17(_0x283596[_0x5ed520(0x2ba)]+':',_0x283596[_0x5ed520(0x25a)]));const _0x462b26=_0xfdd885[_0x5ed520(0x150)](_0x6c9dd2=>{const _0x169957=_0x5ed520,_0x207fb0=_0x516033[_0x169957(0x217)](_0x6c9dd2),_0x4b4f3e=_0x516033[_0x169957(0x129)](_0x6c9dd2);return _0x58cdb6(_0x207fb0,_0x4b4f3e);});_0x11f95b[_0x5ed520(0x249)](_0x504399(_0x462b26));}}),_0x11f95b[_0x23ef28(0x249)](''),_0x11f95b[_0x23ef28(0x249)](_0x23ef28(0x296));}else{const _0x175b44=_0xcec86b[_0x23ef28(0x150)](_0x61ac32=>{const _0x4b0aed=_0x23ef28,_0x5a2b3e=_0x516033[_0x4b0aed(0x217)](_0x61ac32),_0x206aee=_0x516033[_0x4b0aed(0x129)](_0x61ac32);return _0x58cdb6(_0x5a2b3e,_0x206aee);});_0x11f95b[_0x23ef28(0x249)](''),_0x11f95b[_0x23ef28(0x249)](_0x23ef28(0x126)),_0x11f95b['push'](_0x504399(_0x175b44));}}if(showBriefHelp&&_0x236926['name']()===_0x23ef28(0x2a9))_0x11f95b[_0x23ef28(0x249)](''),_0x11f95b[_0x23ef28(0x249)]('Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version');else{const _0x3be4bb=_0x236926[_0x23ef28(0x22d)][_0x23ef28(0x2c6)](_0x225ebd=>!_0x350e78(_0x225ebd));if(_0x3be4bb[_0x23ef28(0xcb)]>0x0){const _0x17dbff=_0x3be4bb[_0x23ef28(0x150)](_0x4c9547=>{const _0x5d9d1b=_0x23ef28,_0x4d6926=_0x516033[_0x5d9d1b(0xcd)](_0x4c9547),_0x1793bc=_0x516033['optionDescription'](_0x4c9547);return _0x58cdb6(_0x4d6926,_0x1793bc);});_0x11f95b[_0x23ef28(0x249)](''),_0x11f95b[_0x23ef28(0x249)](_0x23ef28(0x324)),_0x11f95b[_0x23ef28(0x249)](_0x504399(_0x17dbff));}}const _0x194426=(_0x236926['registeredArguments']||[])[_0x23ef28(0x2c6)](_0x249322=>!_0x350e78(_0x249322));if(_0x194426[_0x23ef28(0xcb)]>0x0){const _0x3437c9=_0x194426[_0x23ef28(0x150)](_0x599b6b=>{const _0x2e8532=_0x23ef28,_0x2567de=_0x516033[_0x2e8532(0x339)](_0x599b6b),_0x1ecf90=_0x516033['argumentDescription'](_0x599b6b);return _0x58cdb6(_0x2567de,_0x1ecf90);});_0x11f95b['push'](''),_0x11f95b[_0x23ef28(0x249)](_0x23ef28(0x219)),_0x11f95b[_0x23ef28(0x249)](_0x504399(_0x3437c9));}return _0x11f95b[_0x23ef28(0x26b)]('\x0a')+'\x0a';},'subcommandTerm':_0x1fb5cd=>{const _0x70d0cf=a2_0x19835d,_0xfe6eb1=(_0x1fb5cd['registeredArguments']||[])[_0x70d0cf(0x150)](_0x20fb34=>_0x20fb34[_0x70d0cf(0xc0)]?'<'+_0x20fb34[_0x70d0cf(0x2ba)]()+'>':'['+_0x20fb34['name']()+']')[_0x70d0cf(0x26b)]('\x20'),_0x5cf9bb=_0x1fb5cd[_0x70d0cf(0xf6)](),_0x561c05=_0x5cf9bb[_0x70d0cf(0xcb)]>0x0?_0x1fb5cd[_0x70d0cf(0x2ba)]()+',\x20'+_0x5cf9bb['join'](',\x20'):_0x1fb5cd[_0x70d0cf(0x2ba)]();return _0xfe6eb1?_0x561c05+'\x20'+_0xfe6eb1:_0x561c05;}}),program[a2_0x19835d(0x1ea)](a2_0x19835d(0x195),_0x1092c7=>{const _0x33f8dc=a2_0x19835d,_0x2350c2=_0x1092c7[_0x33f8dc(0xb8)]();if(_0x2350c2[_0x33f8dc(0x1d3)]){const _0x5a8922=resolve(_0x2350c2[_0x33f8dc(0x1d3)]),_0x3269c9=_0x5a8922!==_0x2350c2[_0x33f8dc(0x1d3)]?_0x33f8dc(0x31a)+_0x5a8922+')':'';if(!existsSync(_0x5a8922))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x33f8dc(0x2d1)+_0x2350c2[_0x33f8dc(0x1d3)]+_0x3269c9,undefined,{'helpText':_0x33f8dc(0xfb)});const _0x1116c0=statSync(_0x5a8922);if(!_0x1116c0['isDirectory']())throw new SDKError(ErrorCode[_0x33f8dc(0x1ed)],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x2350c2[_0x33f8dc(0x1d3)]+_0x3269c9,undefined,{'helpText':_0x33f8dc(0x2b8)});process[_0x33f8dc(0x31b)](_0x5a8922);}if(!_0x2350c2[_0x33f8dc(0x13f)]){if(_0x2350c2[_0x33f8dc(0x10a)])_0x2350c2[_0x33f8dc(0x13f)]=_0x33f8dc(0x10a);else{if(_0x2350c2[_0x33f8dc(0xee)])_0x2350c2[_0x33f8dc(0x13f)]='json';else{if(_0x2350c2[_0x33f8dc(0x28f)])_0x2350c2[_0x33f8dc(0x13f)]=_0x33f8dc(0x28f);else _0x2350c2[_0x33f8dc(0x34f)]&&(_0x2350c2[_0x33f8dc(0x13f)]=_0x33f8dc(0x34f));}}}if(_0x2350c2[_0x33f8dc(0x225)])_0x2350c2['logLevel']=LogLevel[_0x33f8dc(0x20a)];else{if(_0x2350c2['debug'])_0x2350c2[_0x33f8dc(0x282)]=LogLevel[_0x33f8dc(0x17e)];else _0x2350c2['logLevel']===undefined&&(_0x2350c2['logLevel']=LogLevel['INFO']);}});async function createTDXInstance(_0x15dba5){const _0x27b450=a2_0x19835d,_0x416ef3=await GlobalContext['createAsync'](_0x15dba5);return _0x416ef3['injectIntoOptions'](_0x15dba5),TDX[_0x27b450(0x166)]({'site':_0x416ef3[_0x27b450(0x12c)],'apiKey':_0x416ef3[_0x27b450(0x250)],'logLevel':_0x416ef3['logLevel'],'profile':_0x416ef3[_0x27b450(0xdb)]});}const databaseCmd=program[a2_0x19835d(0x2b1)](a2_0x19835d(0x176))['alias']('db')['description']('Database\x20management\x20commands'),databaseListAction=async(_0x21f805,_0x4e6f59)=>{const _0x4bdf28=a2_0x19835d,_0x5da832=new DatabasesCommand(),_0x334938=program[_0x4bdf28(0xb8)](),_0x14a734=await createTDXInstance(_0x334938),_0xac1b79=await _0x5da832[_0x4bdf28(0x212)]({'options':{..._0x334938,..._0x4e6f59},'args':_0x21f805?[_0x21f805]:[],'tdx':_0x14a734});gracefulExit(_0xac1b79);};databaseCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x15e))['description']('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')['action'](databaseListAction),program[a2_0x19835d(0x2b1)](a2_0x19835d(0xac),{'hidden':!![]})[a2_0x19835d(0xd4)]('List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)')[a2_0x19835d(0x169)](databaseListAction),program[a2_0x19835d(0x2b1)]('chat\x20[message...]')[a2_0x19835d(0xd4)](a2_0x19835d(0x319))[a2_0x19835d(0x1f7)](a2_0x19835d(0x138),'Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)')[a2_0x19835d(0x1f7)](a2_0x19835d(0x110),'Start\x20a\x20new\x20chat\x20session')[a2_0x19835d(0x1f7)](a2_0x19835d(0x15c),a2_0x19835d(0x1a8))[a2_0x19835d(0x1f7)](a2_0x19835d(0x21e),'Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)')[a2_0x19835d(0x169)](async(_0x210536,_0x247011)=>{const _0x44ca62=a2_0x19835d,_0x37a0be=program[_0x44ca62(0xb8)](),_0x44d3f1=await createTDXInstance(_0x37a0be);if(_0x210536[0x0]===_0x44ca62(0x166)){const _0x24f566=new ChatCreateCommand();gracefulExit(await _0x24f566['run']({'options':{..._0x37a0be,..._0x247011},'args':_0x210536[_0x44ca62(0x34b)](0x1),'tdx':_0x44d3f1}));return;}const _0x4a3cc9=new ChatCommand(),_0x10df81=await _0x4a3cc9['run']({'options':{..._0x37a0be,..._0x247011},'args':_0x210536,'tdx':_0x44d3f1});gracefulExit(_0x10df81);});const apiCmd=program[a2_0x19835d(0x2b1)]('api\x20[endpoint]')['summary'](a2_0x19835d(0x17b))['addHelpText'](a2_0x19835d(0x2fa),'\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')['option']('-X,\x20--method\x20<method>',a2_0x19835d(0x32c),a2_0x19835d(0x1aa))[a2_0x19835d(0x1f7)](a2_0x19835d(0x14d),a2_0x19835d(0x2a1))[a2_0x19835d(0x1f7)]('-f,\x20--file\x20<path>',a2_0x19835d(0x236))[a2_0x19835d(0x1f7)](a2_0x19835d(0x22c),a2_0x19835d(0xea),(_0x4063ab,_0x211933)=>{return _0x211933?[..._0x211933,_0x4063ab]:[_0x4063ab];})[a2_0x19835d(0x1f7)](a2_0x19835d(0x11b),'API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')[a2_0x19835d(0x169)](async(_0x57051e,_0x4d2650)=>{const _0xb1af94=a2_0x19835d;if(!_0x57051e){apiCmd[_0xb1af94(0x205)]();return;}const _0x828aa3=new ApiCommand(),_0x4d5636=program['opts'](),_0x218c38=await createTDXInstance(_0x4d5636),_0x383256=await _0x828aa3[_0xb1af94(0x212)]({'options':{..._0x4d5636,..._0x4d2650},'args':[_0x57051e],'tdx':_0x218c38});gracefulExit(_0x383256);});program[a2_0x19835d(0x2b1)](a2_0x19835d(0x2be))['description'](a2_0x19835d(0x275))[a2_0x19835d(0x1da)](a2_0x19835d(0x2fa),a2_0x19835d(0x2bb))[a2_0x19835d(0x169)](async _0x10944a=>{const _0x3f0ad5=a2_0x19835d,_0xe04b95=new MCPCommand(),_0x4fed8c=program[_0x3f0ad5(0xb8)](),_0x134a3a=await createTDXInstance(_0x4fed8c),_0x375a41=await _0xe04b95[_0x3f0ad5(0x212)]({'options':{..._0x4fed8c,..._0x10944a},'args':[],'tdx':_0x134a3a});gracefulExit(_0x375a41);});const tableCmd=program[a2_0x19835d(0x2b1)](a2_0x19835d(0x10a))[a2_0x19835d(0xd4)]('Table\x20management\x20commands'),tableListAction=async(_0x158273,_0x3c87b0)=>{const _0x57baf3=a2_0x19835d,_0x19229e=new TablesCommand(),_0x3b0a5c=program[_0x57baf3(0xb8)](),_0x3a5150=await createTDXInstance(_0x3b0a5c);_0x3c87b0['in']&&(_0x3c87b0[_0x57baf3(0x176)]=_0x3c87b0['in']);const _0x484393=await _0x19229e[_0x57baf3(0x212)]({'options':{..._0x3b0a5c,..._0x3c87b0},'args':_0x158273?[_0x158273]:[],'tdx':_0x3a5150});gracefulExit(_0x484393);};tableCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x15e))[a2_0x19835d(0xd4)](a2_0x19835d(0x29c))[a2_0x19835d(0x1f7)](a2_0x19835d(0x231),a2_0x19835d(0xb6))[a2_0x19835d(0x1f7)](a2_0x19835d(0x1a4),a2_0x19835d(0x164))['action'](tableListAction),program[a2_0x19835d(0x2b1)]('tables\x20[pattern]',{'hidden':!![]})['description'](a2_0x19835d(0x181))[a2_0x19835d(0x1f7)](a2_0x19835d(0x231),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x19835d(0x1f7)](a2_0x19835d(0x1a4),a2_0x19835d(0x164))[a2_0x19835d(0x169)](tableListAction),program['command'](a2_0x19835d(0x162))[a2_0x19835d(0xd4)](a2_0x19835d(0x15d))['option'](a2_0x19835d(0x231),a2_0x19835d(0x1d2))[a2_0x19835d(0x1f7)]('--in\x20<database>',a2_0x19835d(0x164))[a2_0x19835d(0x169)](async(_0x3ba617,_0xaf9ba3)=>{const _0xae7e9b=a2_0x19835d,_0xab3634=new ShowCommand(),_0x1fae7a=program[_0xae7e9b(0xb8)](),_0x4fac62=await createTDXInstance(_0x1fae7a);_0xaf9ba3['in']&&(_0xaf9ba3[_0xae7e9b(0x176)]=_0xaf9ba3['in']);const _0x2d7bca=await _0xab3634['run']({'options':{..._0x1fae7a,..._0xaf9ba3},'args':_0x3ba617?[_0x3ba617]:[],'tdx':_0x4fac62});gracefulExit(_0x2d7bca);}),program[a2_0x19835d(0x2b1)](a2_0x19835d(0x116))['alias'](a2_0x19835d(0xa7))[a2_0x19835d(0xd4)](a2_0x19835d(0x1b9))[a2_0x19835d(0x1f7)](a2_0x19835d(0x231),a2_0x19835d(0x1d2))[a2_0x19835d(0x1f7)](a2_0x19835d(0x1a4),a2_0x19835d(0x164))[a2_0x19835d(0x169)](async(_0x937679,_0x5ad92f)=>{const _0x1a5b8f=a2_0x19835d,_0x4882c0=new DescribeCommand(),_0x4ccded=program['opts'](),_0x1a6034=await createTDXInstance(_0x4ccded);_0x5ad92f['in']&&(_0x5ad92f[_0x1a5b8f(0x176)]=_0x5ad92f['in']);const _0x690144=await _0x4882c0[_0x1a5b8f(0x212)]({'options':{..._0x4ccded,..._0x5ad92f},'args':_0x937679?[_0x937679]:[],'tdx':_0x1a6034});gracefulExit(_0x690144);}),program[a2_0x19835d(0x2b1)](a2_0x19835d(0x201))[a2_0x19835d(0xd4)](a2_0x19835d(0x223))[a2_0x19835d(0x1f7)](a2_0x19835d(0x231),'Database\x20to\x20query\x20(default:\x20information_schema)')[a2_0x19835d(0x1f7)](a2_0x19835d(0x1a4),a2_0x19835d(0x164))[a2_0x19835d(0x1f7)](a2_0x19835d(0x131),a2_0x19835d(0x1ee))['option']('-f,\x20--file\x20<path>','Read\x20SQL\x20query\x20from\x20file')[a2_0x19835d(0x1f7)](a2_0x19835d(0x2c3),a2_0x19835d(0x278),'40')[a2_0x19835d(0x169)](async(_0x2f4876,_0xea8ef3)=>{const _0xdf6bfa=a2_0x19835d,_0x1cfe02=new QueryCommand(),_0x2e5b79=program[_0xdf6bfa(0xb8)](),_0x2dffee=await createTDXInstance(_0x2e5b79);_0xea8ef3['in']&&(_0xea8ef3['database']=_0xea8ef3['in']);const _0x5af6d8=await _0x1cfe02[_0xdf6bfa(0x212)]({'options':{..._0x2e5b79,..._0xea8ef3},'args':_0x2f4876?[_0x2f4876]:[],'tdx':_0x2dffee});gracefulExit(_0x5af6d8);});const segmentCmd=program['command']('segment')[a2_0x19835d(0x1c9)]('sg')[a2_0x19835d(0xd4)]('CDP\x20segment\x20management\x20commands'),segmentListAction=async(_0xf9d0f4,_0x5ac022)=>{const _0x30224f=a2_0x19835d,_0x2f3184=new SegmentsCommand(),_0x480612=program[_0x30224f(0xb8)](),_0x24731b=await createTDXInstance(_0x480612),_0x3a4d5d=await _0x2f3184['run']({'options':{..._0x480612,..._0x5ac022},'args':_0xf9d0f4?[_0xf9d0f4]:[],'tdx':_0x24731b});gracefulExit(_0x3a4d5d);};segmentCmd['command']('list\x20[path]')[a2_0x19835d(0xd4)](a2_0x19835d(0x133))[a2_0x19835d(0x1f7)](a2_0x19835d(0x151),a2_0x19835d(0x17f))[a2_0x19835d(0x1f7)](a2_0x19835d(0x294),a2_0x19835d(0xb4),'10')[a2_0x19835d(0x169)](segmentListAction),program[a2_0x19835d(0x2b1)](a2_0x19835d(0x140),{'hidden':!![]})[a2_0x19835d(0xd4)]('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')[a2_0x19835d(0x1f7)](a2_0x19835d(0x151),a2_0x19835d(0x17f))['option'](a2_0x19835d(0x294),a2_0x19835d(0xb4),'10')[a2_0x19835d(0x169)](segmentListAction),segmentCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x26a),{'hidden':!![]})[a2_0x19835d(0xd4)](a2_0x19835d(0x2cf))['action'](async(_0xbe43f4,_0x136aaa)=>{const _0xc4f6f0=a2_0x19835d,_0x1a9f6f=new SegmentUseCommand(),_0x103305=program['opts'](),_0x39be87=await createTDXInstance(_0x103305),_0x434fff=await _0x1a9f6f[_0xc4f6f0(0x212)]({'options':{..._0x103305,..._0x136aaa},'args':[_0xbe43f4],'tdx':_0x39be87});gracefulExit(_0x434fff);});const segmentViewAction=async(_0x58ca03,_0x297008)=>{const _0x51f7de=a2_0x19835d,_0x22a66a=new SegmentViewCommand(),_0x4b28bb=program[_0x51f7de(0xb8)](),_0x789b99=await createTDXInstance(_0x4b28bb),_0x33b13c=await _0x22a66a['run']({'options':{..._0x4b28bb,..._0x297008},'args':_0x58ca03?[_0x58ca03]:[],'tdx':_0x789b99});gracefulExit(_0x33b13c);};segmentCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x175))[a2_0x19835d(0xd4)]('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x19835d(0x1f7)](a2_0x19835d(0x32e),'Open\x20segment\x20in\x20web\x20browser')['action'](segmentViewAction),segmentCmd['command']('info\x20[segment_name]',{'hidden':!![]})[a2_0x19835d(0x1c9)](a2_0x19835d(0x226))['option'](a2_0x19835d(0x32e),a2_0x19835d(0xdd))['description'](a2_0x19835d(0x10f))[a2_0x19835d(0x169)](segmentViewAction),segmentCmd['command'](a2_0x19835d(0x2f0))[a2_0x19835d(0xd4)](a2_0x19835d(0xbe))['action'](async(_0x26580e,_0x3dce97)=>{const _0x37b81d=a2_0x19835d,_0x498e6a=new SegmentDescCommand(),_0x3941e5=program[_0x37b81d(0xb8)](),_0x41ae9c=await createTDXInstance(_0x3941e5),_0x26aff3=await _0x498e6a[_0x37b81d(0x212)]({'options':{..._0x3941e5,..._0x3dce97},'args':_0x26580e?[_0x26580e]:[],'tdx':_0x41ae9c});gracefulExit(_0x26aff3);}),segmentCmd[a2_0x19835d(0x2b1)]('show\x20[segment_name]')[a2_0x19835d(0xd4)]('Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)')['action'](async(_0x33994c,_0x40b132)=>{const _0x3fbf57=a2_0x19835d,_0x5c1395=new SegmentShowCommand(),_0x43a9d1=program[_0x3fbf57(0xb8)](),_0x36333f=await createTDXInstance(_0x43a9d1),_0x569689=await _0x5c1395[_0x3fbf57(0x212)]({'options':{..._0x43a9d1,..._0x40b132},'args':_0x33994c?[_0x33994c]:[],'tdx':_0x36333f});gracefulExit(_0x569689);}),segmentCmd['command'](a2_0x19835d(0x2b2),{'hidden':!![]})[a2_0x19835d(0xd4)]('[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)')[a2_0x19835d(0x169)](async(_0x2d6afa,_0x117d85)=>{const _0x5189f9=a2_0x19835d,_0x3df528=new SegmentFolderListCommand(),_0x2216b5=program[_0x5189f9(0xb8)](),_0x4f4b40=await createTDXInstance(_0x2216b5),_0x389f34=await _0x3df528[_0x5189f9(0x212)]({'options':{..._0x2216b5,..._0x117d85},'args':[_0x2d6afa],'tdx':_0x4f4b40});gracefulExit(_0x389f34);});const folderCmd=segmentCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x277),{'hidden':!![]})['description'](a2_0x19835d(0x1a3));folderCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x32a))[a2_0x19835d(0xd4)](a2_0x19835d(0x1e7))['action'](async(_0x48b0f2,_0x4e1c95)=>{const _0xef216f=a2_0x19835d,_0xb82168=new SegmentFolderShowCommand(),_0x320c7a=program[_0xef216f(0xb8)](),_0x5b8ec6=await createTDXInstance(_0x320c7a),_0x1bf9a6=await _0xb82168[_0xef216f(0x212)]({'options':{..._0x320c7a,..._0x4e1c95},'args':[_0x48b0f2],'tdx':_0x5b8ec6});gracefulExit(_0x1bf9a6);}),segmentCmd['command'](a2_0x19835d(0x13e))[a2_0x19835d(0xd4)](a2_0x19835d(0x2ea))['action'](async(_0x261c3b,_0x38e1b0)=>{const _0x9cf928=a2_0x19835d,_0x1ed671=new SegmentSQLCommand(),_0x2cf5a7=program['opts'](),_0x4b0628=await createTDXInstance(_0x2cf5a7),_0x853883=await _0x1ed671[_0x9cf928(0x212)]({'options':{..._0x2cf5a7,..._0x38e1b0},'args':_0x261c3b?[_0x261c3b]:[],'tdx':_0x4b0628});gracefulExit(_0x853883);}),segmentCmd['command'](a2_0x19835d(0x32b))[a2_0x19835d(0xd4)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)')[a2_0x19835d(0x169)](async(_0x5c4589,_0x2f0e36)=>{const _0x359a7c=a2_0x19835d,_0x276427=new SegmentFieldsCommand(),_0x448c97=program[_0x359a7c(0xb8)](),_0x1348b6=await createTDXInstance(_0x448c97),_0x5d941f=await _0x276427[_0x359a7c(0x212)]({'options':{..._0x448c97,..._0x2f0e36},'args':_0x5c4589?[_0x5c4589]:[],'tdx':_0x1348b6});gracefulExit(_0x5d941f);}),segmentCmd[a2_0x19835d(0x2b1)]('pull\x20[parent_or_file]')[a2_0x19835d(0xd4)](a2_0x19835d(0x122))[a2_0x19835d(0x1f7)](a2_0x19835d(0x24a),a2_0x19835d(0x111))[a2_0x19835d(0x169)](async(_0x3e9e15,_0x51997d)=>{const _0x8c66a0=a2_0x19835d,_0xcac308=new SegmentPullCommand(),_0x576a51=program[_0x8c66a0(0xb8)](),_0x62564a=await createTDXInstance(_0x576a51),_0xe64736=await _0xcac308[_0x8c66a0(0x212)]({'options':{..._0x576a51,..._0x51997d},'args':_0x3e9e15?[_0x3e9e15]:[],'tdx':_0x62564a});gracefulExit(_0xe64736);}),segmentCmd['command'](a2_0x19835d(0x220))['description'](a2_0x19835d(0x2a6))[a2_0x19835d(0x1f7)](a2_0x19835d(0x24a),a2_0x19835d(0x111))[a2_0x19835d(0x1f7)]('--delete',a2_0x19835d(0x286))['action'](async(_0x931991,_0x4e445a)=>{const _0x3ef39a=a2_0x19835d,_0x4ee896=new SegmentPushCommand(),_0x18a75f=program[_0x3ef39a(0xb8)](),_0x1a7f9b=await createTDXInstance(_0x18a75f),_0x5b4bd8=await _0x4ee896[_0x3ef39a(0x212)]({'options':{..._0x18a75f,..._0x4e445a},'args':_0x931991?[_0x931991]:[],'tdx':_0x1a7f9b});gracefulExit(_0x5b4bd8);}),segmentCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0xbc))[a2_0x19835d(0xd4)](a2_0x19835d(0xeb))[a2_0x19835d(0x169)](async(_0x17f55c,_0xe077)=>{const _0x5af4df=a2_0x19835d,_0x84abef=new SegmentValidateCommand(),_0x3267b4=program[_0x5af4df(0xb8)](),_0x2d977b=await createTDXInstance(_0x3267b4),_0x12cf42=await _0x84abef[_0x5af4df(0x212)]({'options':{..._0x3267b4,..._0xe077},'args':_0x17f55c?[_0x17f55c]:[],'tdx':_0x2d977b});gracefulExit(_0x12cf42);}),segmentCmd[a2_0x19835d(0x2b1)]('create\x20<segment_name>',{'hidden':!![]})[a2_0x19835d(0xd4)](a2_0x19835d(0x1a6))[a2_0x19835d(0x1f7)](a2_0x19835d(0x2f1),a2_0x19835d(0x142))[a2_0x19835d(0x1f7)](a2_0x19835d(0x193),a2_0x19835d(0x2e3))[a2_0x19835d(0x1f7)](a2_0x19835d(0x281),a2_0x19835d(0xfa))[a2_0x19835d(0x1f7)](a2_0x19835d(0x312),a2_0x19835d(0x159))['option'](a2_0x19835d(0x2df),a2_0x19835d(0x252))[a2_0x19835d(0x1f7)](a2_0x19835d(0x242),'Make\x20segment\x20invisible\x20(default:\x20visible)')['option'](a2_0x19835d(0x33f),a2_0x19835d(0x332))[a2_0x19835d(0x169)](async(_0x3d26e2,_0x4dac1f)=>{const _0x13e69a=a2_0x19835d,_0x3b4698=new SegmentCreateCommand(),_0x420f73=program['opts'](),_0x28ef58=await createTDXInstance(_0x420f73),_0x263655=await _0x3b4698[_0x13e69a(0x212)]({'options':{..._0x420f73,..._0x4dac1f},'args':[_0x3d26e2],'tdx':_0x28ef58});gracefulExit(_0x263655);}),segmentCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x288),{'hidden':!![]})['description'](a2_0x19835d(0x29a))[a2_0x19835d(0x1f7)](a2_0x19835d(0x227),a2_0x19835d(0x1c5))[a2_0x19835d(0x1f7)](a2_0x19835d(0x2f1),a2_0x19835d(0x1e6))[a2_0x19835d(0x1f7)](a2_0x19835d(0x193),a2_0x19835d(0x2c7))[a2_0x19835d(0x1f7)](a2_0x19835d(0x281),'Updated\x20filtering\x20rule\x20from\x20JSON\x20file')[a2_0x19835d(0x1f7)](a2_0x19835d(0x312),a2_0x19835d(0x17a))['option'](a2_0x19835d(0x2df),a2_0x19835d(0x252))[a2_0x19835d(0x169)](async(_0x4b61e6,_0x517def)=>{const _0x5ddd60=a2_0x19835d,_0x3b670d=new SegmentUpdateCommand(),_0x2eac7c=program[_0x5ddd60(0xb8)](),_0x194a2d=await createTDXInstance(_0x2eac7c),_0x40d2f8=await _0x3b670d['run']({'options':{..._0x2eac7c,..._0x517def},'args':[_0x4b61e6],'tdx':_0x194a2d});gracefulExit(_0x40d2f8);});const parentCmd=segmentCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0xc2),{'hidden':!![]})[a2_0x19835d(0xd4)](a2_0x19835d(0x137)),parentListAction=async(_0x2c5812,_0x52fe28)=>{const _0x4f3d1d=a2_0x19835d,_0x4382ee=new ParentSegmentListCommand(),_0x3520dc=program[_0x4f3d1d(0xb8)](),_0x3c65e0=await createTDXInstance(_0x3520dc),_0x300167=await _0x4382ee['run']({'options':{..._0x3520dc,..._0x52fe28},'args':_0x2c5812?[_0x2c5812]:[],'tdx':_0x3c65e0});gracefulExit(_0x300167);};parentCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x15e))[a2_0x19835d(0xd4)](a2_0x19835d(0x1dd))[a2_0x19835d(0x169)](parentListAction),segmentCmd['command'](a2_0x19835d(0xcf),{'hidden':!![]})[a2_0x19835d(0xd4)](a2_0x19835d(0x2fb))[a2_0x19835d(0x169)](parentListAction),parentCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x21b))[a2_0x19835d(0xd4)](a2_0x19835d(0x215))[a2_0x19835d(0x1f7)](a2_0x19835d(0x285),a2_0x19835d(0x333))[a2_0x19835d(0x169)](async(_0x210c83,_0x23f297)=>{const _0x3ccd13=a2_0x19835d,_0x2e0cc1=new ParentSegmentPullCommand(),_0x25c3f3=program[_0x3ccd13(0xb8)](),_0x3c0b78=await createTDXInstance(_0x25c3f3),_0x327137=await _0x2e0cc1[_0x3ccd13(0x212)]({'options':{..._0x25c3f3,..._0x23f297},'args':_0x210c83?[_0x210c83]:[],'tdx':_0x3c0b78});gracefulExit(_0x327137);}),parentCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x35d))[a2_0x19835d(0xd4)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file')['action'](async(_0x51d6cc,_0x3b8d17)=>{const _0x1cd5fa=a2_0x19835d,_0x2e551b=new ParentSegmentPushCommand(),_0x48cf8e=program['opts'](),_0x480512=await createTDXInstance(_0x48cf8e),_0xf132ab=await _0x2e551b[_0x1cd5fa(0x212)]({'options':{..._0x48cf8e,..._0x3b8d17},'args':_0x51d6cc?[_0x51d6cc]:[],'tdx':_0x480512});gracefulExit(_0xf132ab);}),parentCmd['command']('validate\x20[file]')[a2_0x19835d(0xd4)](a2_0x19835d(0x143))[a2_0x19835d(0x1f7)](a2_0x19835d(0x2c9),a2_0x19835d(0x1f9))['option'](a2_0x19835d(0x2eb),a2_0x19835d(0x1ab))[a2_0x19835d(0x1f7)](a2_0x19835d(0xe6),a2_0x19835d(0xe8))['option'](a2_0x19835d(0xe2),a2_0x19835d(0x161))[a2_0x19835d(0x1f7)](a2_0x19835d(0x19c),a2_0x19835d(0x338),a2_0x19835d(0x1b0))['action'](async(_0xede86e,_0x6828c3)=>{const _0x511fdb=a2_0x19835d,_0x394e34=new ParentSegmentValidateCommand(),_0x3ec8c9=program[_0x511fdb(0xb8)](),_0x2d65d1=await createTDXInstance(_0x3ec8c9),_0x1e614d=await _0x394e34[_0x511fdb(0x212)]({'options':{..._0x3ec8c9,..._0x6828c3},'args':_0xede86e?[_0xede86e]:[],'tdx':_0x2d65d1});gracefulExit(_0x1e614d);}),parentCmd['command'](a2_0x19835d(0x189))[a2_0x19835d(0xd4)](a2_0x19835d(0x21c))[a2_0x19835d(0x1f7)](a2_0x19835d(0x2c9),'Show\x20master\x20table\x20sample\x20data')[a2_0x19835d(0x1f7)]('--attribute\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')['option'](a2_0x19835d(0xe6),a2_0x19835d(0x2fd))[a2_0x19835d(0x1f7)](a2_0x19835d(0xe2),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')['option'](a2_0x19835d(0x19c),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x19835d(0x1b0))[a2_0x19835d(0x169)](async(_0x26557a,_0x142c1f)=>{const _0x54583d=a2_0x19835d,_0x2d4ff3=new ParentSegmentPreviewCommand(),_0x287bf=program[_0x54583d(0xb8)](),_0x54c709=await createTDXInstance(_0x287bf),_0x88d5c1=await _0x2d4ff3['run']({'options':{..._0x287bf,..._0x142c1f},'args':_0x26557a?[_0x26557a]:[],'tdx':_0x54c709});gracefulExit(_0x88d5c1);}),parentCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x248))[a2_0x19835d(0xd4)](a2_0x19835d(0xf0))['action'](async(_0x5742c2,_0x10781c)=>{const _0x857736=new ParentSegmentRunCommand(),_0x3b70ea=program['opts'](),_0x4b8a1a=await createTDXInstance(_0x3b70ea),_0x5f527e=await _0x857736['run']({'options':{..._0x3b70ea,..._0x10781c},'args':_0x5742c2?[_0x5742c2]:[],'tdx':_0x4b8a1a});gracefulExit(_0x5f527e);});function a2_0x5509(_0x412460,_0x1ceab2){_0x412460=_0x412460-0xa7;const _0x19eb21=a2_0x19eb();let _0x5509c0=_0x19eb21[_0x412460];return _0x5509c0;}const parentSegmentCmd=program[a2_0x19835d(0x2b1)](a2_0x19835d(0x101))[a2_0x19835d(0x1c9)]('ps')[a2_0x19835d(0xd4)](a2_0x19835d(0x245));parentSegmentCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x15e))[a2_0x19835d(0xd4)](a2_0x19835d(0x1dd))[a2_0x19835d(0x169)](parentListAction),parentSegmentCmd[a2_0x19835d(0x2b1)]('pull\x20[name]')[a2_0x19835d(0xd4)](a2_0x19835d(0x327))[a2_0x19835d(0x1f7)](a2_0x19835d(0x285),a2_0x19835d(0x2e2))[a2_0x19835d(0x1f7)](a2_0x19835d(0x33a),a2_0x19835d(0x208))['action'](async(_0xaa91fe,_0x2b893b)=>{const _0xd70127=a2_0x19835d,_0x2c5c83=new ParentSegmentPullCommand(),_0x23b01c=program['opts'](),_0x2df4f1=await createTDXInstance(_0x23b01c),_0x2cc478=await _0x2c5c83[_0xd70127(0x212)]({'options':{..._0x23b01c,..._0x2b893b},'args':_0xaa91fe?[_0xaa91fe]:[],'tdx':_0x2df4f1});gracefulExit(_0x2cc478);}),parentSegmentCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x1c3))[a2_0x19835d(0xd4)](a2_0x19835d(0xad))[a2_0x19835d(0x169)](async(_0x385acc,_0x527d8f)=>{const _0x267cb1=a2_0x19835d,_0x309a13=new ParentSegmentPushCommand(),_0x1c6a79=program[_0x267cb1(0xb8)](),_0x5f45ce=await createTDXInstance(_0x1c6a79),_0x4fae56=await _0x309a13[_0x267cb1(0x212)]({'options':{..._0x1c6a79,..._0x527d8f},'args':_0x385acc?[_0x385acc]:[],'tdx':_0x5f45ce});gracefulExit(_0x4fae56);}),parentSegmentCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x329))[a2_0x19835d(0xd4)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x19835d(0x1f7)](a2_0x19835d(0x2c9),'Show\x20only\x20master\x20table\x20validation')[a2_0x19835d(0x1f7)](a2_0x19835d(0x2eb),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x19835d(0x1f7)](a2_0x19835d(0xe6),a2_0x19835d(0xe8))['option'](a2_0x19835d(0xe2),a2_0x19835d(0x161))[a2_0x19835d(0x1f7)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x19835d(0x1b0))[a2_0x19835d(0x169)](async(_0x4e8cb8,_0x1c9d2a)=>{const _0xee9246=a2_0x19835d,_0xf4bc9e=new ParentSegmentValidateCommand(),_0x45a334=program[_0xee9246(0xb8)](),_0x4657df=await createTDXInstance(_0x45a334),_0x1f20d8=await _0xf4bc9e[_0xee9246(0x212)]({'options':{..._0x45a334,..._0x1c9d2a},'args':_0x4e8cb8?[_0x4e8cb8]:[],'tdx':_0x4657df});gracefulExit(_0x1f20d8);}),parentSegmentCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x10b))[a2_0x19835d(0xd4)](a2_0x19835d(0x21c))['option']('--master',a2_0x19835d(0x352))[a2_0x19835d(0x1f7)](a2_0x19835d(0x2eb),a2_0x19835d(0x158))[a2_0x19835d(0x1f7)](a2_0x19835d(0xe6),a2_0x19835d(0x2fd))[a2_0x19835d(0x1f7)](a2_0x19835d(0xe2),a2_0x19835d(0x2b5))['option'](a2_0x19835d(0x19c),a2_0x19835d(0x338),a2_0x19835d(0x1b0))[a2_0x19835d(0x169)](async(_0xc135a9,_0x1969c3)=>{const _0x426b21=a2_0x19835d,_0x1dd736=new ParentSegmentPreviewCommand(),_0x5a7774=program[_0x426b21(0xb8)](),_0x43dad9=await createTDXInstance(_0x5a7774),_0x571817=await _0x1dd736['run']({'options':{..._0x5a7774,..._0x1969c3},'args':_0xc135a9?[_0xc135a9]:[],'tdx':_0x43dad9});gracefulExit(_0x571817);}),parentSegmentCmd['command'](a2_0x19835d(0x248))['description'](a2_0x19835d(0xf0))[a2_0x19835d(0x169)](async(_0x3d7f36,_0xeed9f)=>{const _0x1aeb44=a2_0x19835d,_0x476429=new ParentSegmentRunCommand(),_0x95bb2=program['opts'](),_0x181e53=await createTDXInstance(_0x95bb2),_0x5064af=await _0x476429[_0x1aeb44(0x212)]({'options':{..._0x95bb2,..._0xeed9f},'args':_0x3d7f36?[_0x3d7f36]:[],'tdx':_0x181e53});gracefulExit(_0x5064af);}),parentSegmentCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x144))[a2_0x19835d(0xd4)](a2_0x19835d(0x171))[a2_0x19835d(0x1f7)](a2_0x19835d(0x314),a2_0x19835d(0x2d9))[a2_0x19835d(0x1f7)]('--jsonl',a2_0x19835d(0x1b5))[a2_0x19835d(0x169)](async(_0x5972c7,_0x2e987)=>{const _0x1e302c=a2_0x19835d,_0x4081de=new ParentSegmentFieldsCommand(),_0x4eac94=program[_0x1e302c(0xb8)](),_0x305a5e=await createTDXInstance(_0x4eac94),_0x3cf560=await _0x4081de['run']({'options':{..._0x4eac94,..._0x2e987},'args':_0x5972c7?[_0x5972c7]:[],'tdx':_0x305a5e});gracefulExit(_0x3cf560);}),parentSegmentCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x316))[a2_0x19835d(0xd4)](a2_0x19835d(0x337))[a2_0x19835d(0x1f7)](a2_0x19835d(0x32e),'Open\x20parent\x20segment\x20in\x20web\x20browser')[a2_0x19835d(0x1f7)](a2_0x19835d(0x314),'Output\x20as\x20JSON')[a2_0x19835d(0x1f7)](a2_0x19835d(0x153),a2_0x19835d(0x1b5))[a2_0x19835d(0x169)](async(_0x3e3efe,_0x55a947)=>{const _0x45eb8e=a2_0x19835d,_0x4d92e7=new ParentSegmentViewCommand(),_0x32dadd=program[_0x45eb8e(0xb8)](),_0x5a89cf=await createTDXInstance(_0x32dadd),_0x188730=await _0x4d92e7[_0x45eb8e(0x212)]({'options':{..._0x32dadd,..._0x55a947},'args':_0x3e3efe?[_0x3e3efe]:[],'tdx':_0x5a89cf});gracefulExit(_0x188730);}),parentSegmentCmd[a2_0x19835d(0x2b1)]('desc\x20[name]')[a2_0x19835d(0xd4)](a2_0x19835d(0x2d5))[a2_0x19835d(0x1f7)](a2_0x19835d(0x285),a2_0x19835d(0x2e2))[a2_0x19835d(0x1f7)]('--json',a2_0x19835d(0x2d9))[a2_0x19835d(0x1f7)](a2_0x19835d(0x153),'Output\x20as\x20JSON\x20Lines')[a2_0x19835d(0x169)](async(_0xfd2fbf,_0x5ee002)=>{const _0x47997f=a2_0x19835d,_0x2b57a4=new ParentSegmentDescCommand(),_0x4180a3=program['opts'](),_0x161a5d=await createTDXInstance(_0x4180a3),_0x1db43f=await _0x2b57a4[_0x47997f(0x212)]({'options':{..._0x4180a3,..._0x5ee002},'args':_0xfd2fbf?[_0xfd2fbf]:[],'tdx':_0x161a5d});gracefulExit(_0x1db43f);}),parentSegmentCmd[a2_0x19835d(0x2b1)]('sql\x20[name]')[a2_0x19835d(0xd4)](a2_0x19835d(0x1b1))[a2_0x19835d(0x1f7)](a2_0x19835d(0x314),a2_0x19835d(0x2d9))['option'](a2_0x19835d(0x153),a2_0x19835d(0x1b5))[a2_0x19835d(0x169)](async(_0x5d67b5,_0x58f1ae)=>{const _0x3ddacf=a2_0x19835d,_0x37c813=new ParentSegmentSQLCommand(),_0x6200d4=program[_0x3ddacf(0xb8)](),_0xb286a=await createTDXInstance(_0x6200d4),_0x4b2853=await _0x37c813[_0x3ddacf(0x212)]({'options':{..._0x6200d4,..._0x58f1ae},'args':_0x5d67b5?[_0x5d67b5]:[],'tdx':_0xb286a});gracefulExit(_0x4b2853);}),parentSegmentCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x120))[a2_0x19835d(0xd4)]('Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x19835d(0x1f7)]('--limit\x20<n>',a2_0x19835d(0x26e))[a2_0x19835d(0x1f7)]('--json',a2_0x19835d(0x2d9))[a2_0x19835d(0x1f7)]('--jsonl','Output\x20as\x20JSON\x20Lines')['action'](async(_0x1fceb7,_0x508c82)=>{const _0x2e477e=a2_0x19835d,_0x5c1d97=new ParentSegmentShowCommand(),_0x3d5a59=program[_0x2e477e(0xb8)](),_0x35dbee=await createTDXInstance(_0x3d5a59),_0x284d7d=await _0x5c1d97['run']({'options':{..._0x3d5a59,..._0x508c82},'args':_0x1fceb7?[_0x1fceb7]:[],'tdx':_0x35dbee});gracefulExit(_0x284d7d);}),parentSegmentCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0xc6))[a2_0x19835d(0xd4)](a2_0x19835d(0x351))[a2_0x19835d(0x169)](async(_0x352f12,_0x154ea3)=>{const _0x18d5ed=a2_0x19835d,_0x517646=new UseCommand(),_0x571826=program[_0x18d5ed(0xb8)](),_0x2dd4a1=_0x352f12?[_0x18d5ed(0x1d1),_0x352f12]:[],_0x380a9f=await _0x517646['run']({'options':{..._0x571826,..._0x154ea3},'args':_0x2dd4a1,'tdx':null});gracefulExit(_0x380a9f);});const psRtCmd=parentSegmentCmd[a2_0x19835d(0x2b1)]('rt')[a2_0x19835d(0xd4)]('RT\x202.0\x20configuration\x20management');psRtCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x15e))[a2_0x19835d(0xd4)](a2_0x19835d(0x16a))[a2_0x19835d(0x169)](async(_0x4dd2d2,_0x2c7c6a)=>{const _0x2b1ae3=a2_0x19835d,_0x49c94c=new PSRtListCommand(),_0x1db49f=program['opts'](),_0x37e187=await createTDXInstance(_0x1db49f),_0xfdea57=await _0x49c94c[_0x2b1ae3(0x212)]({'options':{..._0x1db49f,..._0x2c7c6a},'args':_0x4dd2d2?[_0x4dd2d2]:[],'tdx':_0x37e187});gracefulExit(_0xfdea57);}),psRtCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x329))[a2_0x19835d(0xd4)](a2_0x19835d(0x259))[a2_0x19835d(0x169)](async(_0x2004fb,_0x1eecdb)=>{const _0x4f2328=a2_0x19835d,_0x542a4c=new PSRtValidateCommand(),_0x15dbe0=program[_0x4f2328(0xb8)](),_0x359dd7=await createTDXInstance(_0x15dbe0),_0x2e922f=await _0x542a4c[_0x4f2328(0x212)]({'options':{..._0x15dbe0,..._0x1eecdb},'args':_0x2004fb?[_0x2004fb]:[],'tdx':_0x359dd7});gracefulExit(_0x2e922f);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})['description'](a2_0x19835d(0x103));parentRtCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x15e))[a2_0x19835d(0xd4)](a2_0x19835d(0x16a))[a2_0x19835d(0x169)](async(_0x39d7e3,_0xfe22a1)=>{const _0x1ce37b=a2_0x19835d,_0x14e3dd=new PSRtListCommand(),_0x53d970=program['opts'](),_0x3dfc41=await createTDXInstance(_0x53d970),_0x342f66=await _0x14e3dd[_0x1ce37b(0x212)]({'options':{..._0x53d970,..._0xfe22a1},'args':_0x39d7e3?[_0x39d7e3]:[],'tdx':_0x3dfc41});gracefulExit(_0x342f66);}),parentRtCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x329))[a2_0x19835d(0xd4)]('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')[a2_0x19835d(0x169)](async(_0x176d51,_0x34ee92)=>{const _0x283e2f=a2_0x19835d,_0x24145c=new PSRtValidateCommand(),_0x484c24=program['opts'](),_0x51f751=await createTDXInstance(_0x484c24),_0x5e90e6=await _0x24145c[_0x283e2f(0x212)]({'options':{..._0x484c24,..._0x34ee92},'args':_0x176d51?[_0x176d51]:[],'tdx':_0x51f751});gracefulExit(_0x5e90e6);});const psPzCmd=parentSegmentCmd[a2_0x19835d(0x2b1)]('pz')['description'](a2_0x19835d(0x251));psPzCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x33c))['description'](a2_0x19835d(0xa8))[a2_0x19835d(0x169)](async(_0x141863,_0x93b626)=>{const _0x5b1574=a2_0x19835d,_0x15fb7d=new PSPzListCommand(),_0x591724=program[_0x5b1574(0xb8)](),_0x334d8f=await createTDXInstance(_0x591724),_0x29c684=await _0x15fb7d['run']({'options':{..._0x591724,..._0x93b626},'args':_0x141863?[_0x141863]:[],'tdx':_0x334d8f});gracefulExit(_0x29c684);}),psPzCmd[a2_0x19835d(0x2b1)]('init\x20[name]')[a2_0x19835d(0xd4)](a2_0x19835d(0x2da))[a2_0x19835d(0x169)](async(_0x292ed3,_0x304971)=>{const _0x6f3c03=a2_0x19835d,_0x49cfa8=new PSPzInitCommand(),_0x361607=program[_0x6f3c03(0xb8)](),_0x193e18=await createTDXInstance(_0x361607),_0x2b56a7=await _0x49cfa8[_0x6f3c03(0x212)]({'options':{..._0x361607,..._0x304971},'args':_0x292ed3?[_0x292ed3]:[],'tdx':_0x193e18});gracefulExit(_0x2b56a7);});const parentPzCmd=parentCmd['command']('pz',{'hidden':!![]})[a2_0x19835d(0xd4)]('Personalization\x20service\x20management');parentPzCmd[a2_0x19835d(0x2b1)]('list\x20[name]')[a2_0x19835d(0xd4)](a2_0x19835d(0xa8))['action'](async(_0x1f3a58,_0x406197)=>{const _0x213811=a2_0x19835d,_0x221029=new PSPzListCommand(),_0x4dd236=program[_0x213811(0xb8)](),_0x2f102d=await createTDXInstance(_0x4dd236),_0x55929c=await _0x221029[_0x213811(0x212)]({'options':{..._0x4dd236,..._0x406197},'args':_0x1f3a58?[_0x1f3a58]:[],'tdx':_0x2f102d});gracefulExit(_0x55929c);}),parentPzCmd['command'](a2_0x19835d(0xf4))[a2_0x19835d(0xd4)](a2_0x19835d(0x2da))[a2_0x19835d(0x169)](async(_0x15d589,_0x302452)=>{const _0x4f417f=a2_0x19835d,_0x5ab25c=new PSPzInitCommand(),_0x1043f2=program[_0x4f417f(0xb8)](),_0xeb9258=await createTDXInstance(_0x1043f2),_0x3dde2c=await _0x5ab25c[_0x4f417f(0x212)]({'options':{..._0x1043f2,..._0x302452},'args':_0x15d589?[_0x15d589]:[],'tdx':_0xeb9258});gracefulExit(_0x3dde2c);}),parentCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x2f3))['description'](a2_0x19835d(0x241))[a2_0x19835d(0xf9)](a2_0x19835d(0x21a),a2_0x19835d(0x1f3))[a2_0x19835d(0xf9)]('--table\x20<table>',a2_0x19835d(0x16e))[a2_0x19835d(0x1f7)](a2_0x19835d(0x2f1),a2_0x19835d(0x2f4))[a2_0x19835d(0x1f7)](a2_0x19835d(0x2cc),'Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x19835d(0x1f7)](a2_0x19835d(0x1e9),a2_0x19835d(0x12f))[a2_0x19835d(0x1f7)]('--timezone\x20<tz>',a2_0x19835d(0x135))[a2_0x19835d(0x1f7)]('--attributes\x20<json>',a2_0x19835d(0xbd))['option'](a2_0x19835d(0x206),a2_0x19835d(0x33e))['option']('--behaviors\x20<json>',a2_0x19835d(0x31d))[a2_0x19835d(0x1f7)]('--behaviors-file\x20<file>',a2_0x19835d(0x1f1))['option'](a2_0x19835d(0x2bd),a2_0x19835d(0xde))[a2_0x19835d(0x1f7)]('--customer-group-file\x20<file>',a2_0x19835d(0x1e4))[a2_0x19835d(0x169)](async(_0x533f41,_0x65de59)=>{const _0x26c3a6=a2_0x19835d,_0x15390c=new ParentSegmentCreateCommand(),_0x560e00=program[_0x26c3a6(0xb8)](),_0x4f715b=await createTDXInstance(_0x560e00),_0x3b8d00=await _0x15390c['run']({'options':{..._0x560e00,..._0x65de59},'args':[_0x533f41],'tdx':_0x4f715b});gracefulExit(_0x3b8d00);}),parentCmd['command']('update\x20<name>')[a2_0x19835d(0xd4)](a2_0x19835d(0x1a7))['option'](a2_0x19835d(0x2f1),a2_0x19835d(0x1e6))[a2_0x19835d(0x1f7)](a2_0x19835d(0x2cc),a2_0x19835d(0x179))['option'](a2_0x19835d(0x1e9),a2_0x19835d(0x335))[a2_0x19835d(0x1f7)](a2_0x19835d(0x15b),a2_0x19835d(0x356))['option'](a2_0x19835d(0x218),a2_0x19835d(0x2dd))[a2_0x19835d(0x1f7)](a2_0x19835d(0x188),a2_0x19835d(0x274))[a2_0x19835d(0x1f7)](a2_0x19835d(0x191),a2_0x19835d(0x1ae))[a2_0x19835d(0x1f7)](a2_0x19835d(0x30c),a2_0x19835d(0x341))[a2_0x19835d(0x169)](async(_0x336206,_0x3a619e)=>{const _0x3c2eed=a2_0x19835d,_0x21a7da=new ParentSegmentUpdateCommand(),_0x1f0bfa=program[_0x3c2eed(0xb8)](),_0x5a3229=await createTDXInstance(_0x1f0bfa),_0x24bb6e=await _0x21a7da[_0x3c2eed(0x212)]({'options':{..._0x1f0bfa,..._0x3a619e},'args':[_0x336206],'tdx':_0x5a3229});gracefulExit(_0x24bb6e);}),folderCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x31e))['description'](a2_0x19835d(0x26f))['option'](a2_0x19835d(0x2f1),a2_0x19835d(0xda))['option'](a2_0x19835d(0x10c),a2_0x19835d(0x213))[a2_0x19835d(0x169)](async(_0x2d9bdc,_0x4b7fef,_0x54da75)=>{const _0x2181fa=a2_0x19835d,_0x522297=new SegmentFolderCreateCommand(),_0x5a8658=program[_0x2181fa(0xb8)](),_0x1e9215=await createTDXInstance(_0x5a8658),_0x13d061=await _0x522297[_0x2181fa(0x212)]({'options':{..._0x5a8658,..._0x54da75},'args':[_0x2d9bdc,_0x4b7fef],'tdx':_0x1e9215});gracefulExit(_0x13d061);}),program[a2_0x19835d(0x2b1)]('activations\x20<segment_name>')['description']('List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)')[a2_0x19835d(0x169)](async(_0x321d55,_0x75241e)=>{const _0x33c8dd=a2_0x19835d,_0x4cfbb7=new ActivationsCommand(),_0x2ddf11=program[_0x33c8dd(0xb8)](),_0x3c5fe6=await createTDXInstance(_0x2ddf11),_0x537f13=await _0x4cfbb7['run']({'options':{..._0x2ddf11,..._0x75241e},'args':[_0x321d55],'tdx':_0x3c5fe6});gracefulExit(_0x537f13);});const workflowCmd=program[a2_0x19835d(0x2b1)]('workflow')[a2_0x19835d(0x1c9)]('wf')['description'](a2_0x19835d(0x14c)),wfProjectCmd=workflowCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x257))['description'](a2_0x19835d(0x1c4)),wfProjectListAction=async(_0x541a18,_0x809402)=>{const _0x14735d=a2_0x19835d,_0x2d443b=new WorkflowProjectsCommand(),_0x4a9276=program[_0x14735d(0xb8)](),_0xc82041=await createTDXInstance(_0x4a9276),_0x247646=await _0x2d443b[_0x14735d(0x212)]({'options':{..._0x4a9276,..._0x809402},'args':_0x541a18?[_0x541a18]:[],'tdx':_0xc82041});gracefulExit(_0x247646);};wfProjectCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x15e))[a2_0x19835d(0xd4)]('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x19835d(0x169)](wfProjectListAction),workflowCmd['command'](a2_0x19835d(0x1cd))[a2_0x19835d(0xd4)]('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0x19835d(0x169)](wfProjectListAction);const wfWorkflowListAction=async(_0x1d7059,_0xedc2ea)=>{const _0x3ded2e=a2_0x19835d,_0x2a5f80=new WorkflowWorkflowsCommand(),_0x5f1535=program['opts'](),_0x4db0a8=await createTDXInstance(_0x5f1535),_0x25f812=await _0x2a5f80[_0x3ded2e(0x212)]({'options':{..._0x5f1535,..._0xedc2ea},'args':_0x1d7059?[_0x1d7059]:[],'tdx':_0x4db0a8});gracefulExit(_0x25f812);};workflowCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x157))[a2_0x19835d(0xd4)](a2_0x19835d(0x2e1))[a2_0x19835d(0x169)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x328))[a2_0x19835d(0xd4)](a2_0x19835d(0x2b0)),wfSessionListAction=async(_0x173540,_0x25b678)=>{const _0x51f1ba=a2_0x19835d,_0x3c9671=new WorkflowSessionsCommand(),_0x104dd1=program['opts'](),_0x42d0c6=await createTDXInstance(_0x104dd1),_0x36dc6=await _0x3c9671[_0x51f1ba(0x212)]({'options':{..._0x104dd1,..._0x25b678},'args':_0x173540?[_0x173540]:[],'tdx':_0x42d0c6});gracefulExit(_0x36dc6);};wfSessionCmd['command'](a2_0x19835d(0x280))[a2_0x19835d(0xd4)](a2_0x19835d(0x2ef))[a2_0x19835d(0x1f7)](a2_0x19835d(0x279),a2_0x19835d(0xd6))[a2_0x19835d(0x1f7)](a2_0x19835d(0xb5),a2_0x19835d(0x1c1))['option']('--to\x20<timestamp>',a2_0x19835d(0x23e))[a2_0x19835d(0x169)](wfSessionListAction),workflowCmd['command'](a2_0x19835d(0x1fd))['description'](a2_0x19835d(0x25f))[a2_0x19835d(0x1f7)]('--status\x20<status>',a2_0x19835d(0xd6))[a2_0x19835d(0x1f7)](a2_0x19835d(0xb5),a2_0x19835d(0x1c1))[a2_0x19835d(0x1f7)](a2_0x19835d(0x19b),a2_0x19835d(0x23e))[a2_0x19835d(0x169)](wfSessionListAction);const wfAttemptListAction=async(_0x3663b5,_0x394bb5)=>{const _0x4e7dd7=a2_0x19835d,_0x495cc7=new WorkflowAttemptsCommand(),_0x44a1f0=program[_0x4e7dd7(0xb8)](),_0x547322=await createTDXInstance(_0x44a1f0),_0x4f159b=await _0x495cc7[_0x4e7dd7(0x212)]({'options':{..._0x44a1f0,..._0x394bb5},'args':_0x3663b5?[_0x3663b5]:[],'tdx':_0x547322});gracefulExit(_0x4f159b);},attemptCmd=workflowCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x355))[a2_0x19835d(0xd4)](a2_0x19835d(0xaf))[a2_0x19835d(0x2c0)]('[attempt-id]',a2_0x19835d(0x34a))[a2_0x19835d(0x2c0)](a2_0x19835d(0x1c7),a2_0x19835d(0x2c1))['argument'](a2_0x19835d(0xf5),a2_0x19835d(0x34e))[a2_0x19835d(0x1f7)](a2_0x19835d(0x2ff),'Include\x20subtasks\x20in\x20tasks\x20output')['option'](a2_0x19835d(0x170),a2_0x19835d(0x2de))[a2_0x19835d(0x1f7)](a2_0x19835d(0x20e),a2_0x19835d(0x1fe))[a2_0x19835d(0x1f7)](a2_0x19835d(0x32f),a2_0x19835d(0x145))['option']('--force','Force\x20retry\x20even\x20if\x20not\x20failed')['option'](a2_0x19835d(0x2f2),'Include\x20retried\x20attempts\x20(for\x20list)')[a2_0x19835d(0x169)](async(_0x1c9031,_0x59cfd0,_0x106fa6,_0x3490ea)=>{const _0x3ede3d=a2_0x19835d;if(_0x1c9031===_0x3ede3d(0x301)){await wfAttemptListAction(_0x59cfd0,_0x3490ea);return;}if(!_0x1c9031){attemptCmd['help']();return;}const _0x36c177=program['opts'](),_0x29ba4e=await createTDXInstance(_0x36c177);let _0x4400ef=0x0;if(!_0x59cfd0){const _0x343051=new WorkflowAttemptCommand();_0x4400ef=await _0x343051['run']({'options':{..._0x36c177,..._0x3490ea},'args':[_0x1c9031],'tdx':_0x29ba4e});}else{if(_0x59cfd0==='logs'){const _0x8a95b3=new WorkflowLogsCommand();_0x4400ef=await _0x8a95b3['run']({'options':{..._0x36c177,..._0x3490ea},'args':_0x106fa6?[_0x1c9031,_0x106fa6]:[_0x1c9031],'tdx':_0x29ba4e});}else{if(_0x59cfd0===_0x3ede3d(0x289)){const _0xcb8e40=new WorkflowTasksCommand();_0x4400ef=await _0xcb8e40[_0x3ede3d(0x212)]({'options':{..._0x36c177,..._0x3490ea},'args':[_0x1c9031],'tdx':_0x29ba4e});}else{if(_0x59cfd0===_0x3ede3d(0x340)){const _0x36de05=new WorkflowKillCommand();_0x4400ef=await _0x36de05[_0x3ede3d(0x212)]({'options':{..._0x36c177,..._0x3490ea},'args':[_0x1c9031],'tdx':_0x29ba4e});}else{if(_0x59cfd0==='retry'){const _0x5f4245=new WorkflowRetryCommand();_0x4400ef=await _0x5f4245[_0x3ede3d(0x212)]({'options':{..._0x36c177,..._0x3490ea},'args':['attempt:'+_0x1c9031],'tdx':_0x29ba4e});}else console[_0x3ede3d(0x1b6)](_0x3ede3d(0x359)+_0x59cfd0),console[_0x3ede3d(0x1b6)](_0x3ede3d(0x34d)),_0x4400ef=0x1;}}}}gracefulExit(_0x4400ef);});attemptCmd[a2_0x19835d(0x2b1)]('list\x20[project]')[a2_0x19835d(0xd4)](a2_0x19835d(0x315))['option'](a2_0x19835d(0x2f2),a2_0x19835d(0x273))['action'](wfAttemptListAction),workflowCmd['command'](a2_0x19835d(0x207))[a2_0x19835d(0xd4)]('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')[a2_0x19835d(0x1f7)](a2_0x19835d(0x2f2),'Include\x20retried\x20attempts')[a2_0x19835d(0x169)](wfAttemptListAction),workflowCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x222))[a2_0x19835d(0xd4)](a2_0x19835d(0x2b3))[a2_0x19835d(0x1f7)](a2_0x19835d(0x1de),a2_0x19835d(0x311))['option'](a2_0x19835d(0x1f4),'Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)')['option'](a2_0x19835d(0x2e5),a2_0x19835d(0x1ac))[a2_0x19835d(0x169)](async(_0x1066af,_0x4a8163)=>{const _0x34a438=a2_0x19835d,_0x1e34c6=new WorkflowTimelineCommand(),_0x93e472=program[_0x34a438(0xb8)](),_0x4c9e7e=await createTDXInstance(_0x93e472),_0x5936fa=await _0x1e34c6[_0x34a438(0x212)]({'options':{..._0x93e472,..._0x4a8163},'args':_0x1066af?[_0x1066af]:[],'tdx':_0x4c9e7e});gracefulExit(_0x5936fa);}),workflowCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x1ec))['description'](a2_0x19835d(0x1ba))[a2_0x19835d(0x1f7)](a2_0x19835d(0x148),'Resume\x20from\x20specific\x20task')[a2_0x19835d(0x1f7)](a2_0x19835d(0x32f),a2_0x19835d(0x27b))[a2_0x19835d(0x169)](async(_0x440daf,_0x433a5e)=>{const _0x9a3cb8=a2_0x19835d,_0x240c76=new WorkflowRetryCommand(),_0x32cc03=program[_0x9a3cb8(0xb8)](),_0xd48dfb=await createTDXInstance(_0x32cc03),_0x18fdb3=await _0x240c76[_0x9a3cb8(0x212)]({'options':{..._0x32cc03,..._0x433a5e},'args':[_0x440daf],'tdx':_0xd48dfb});gracefulExit(_0x18fdb3);}),workflowCmd['command'](a2_0x19835d(0x2c8))[a2_0x19835d(0xd4)]('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')['option'](a2_0x19835d(0x211),a2_0x19835d(0x253),(_0x2cf985,_0x4874aa=[])=>[..._0x4874aa,_0x2cf985],[])[a2_0x19835d(0x1f7)](a2_0x19835d(0x125),a2_0x19835d(0xd3))[a2_0x19835d(0x169)](async(_0x1d8fad,_0x69dd6c)=>{const _0x2a6a27=a2_0x19835d,_0x2151ee=new WorkflowRunCommand(),_0x5ca629=program[_0x2a6a27(0xb8)](),_0x5bd7e7=await createTDXInstance(_0x5ca629),_0x482572=await _0x2151ee[_0x2a6a27(0x212)]({'options':{..._0x5ca629,..._0x69dd6c},'args':_0x1d8fad?[_0x1d8fad]:[],'tdx':_0x5bd7e7});gracefulExit(_0x482572);}),workflowCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0xbb))[a2_0x19835d(0xd4)](a2_0x19835d(0x178))[a2_0x19835d(0x1f7)](a2_0x19835d(0x16b),a2_0x19835d(0x15a))['action'](async(_0x1ce836,_0x3d1de2,_0x8b2fc8)=>{const _0x529bf7=a2_0x19835d,_0x17bd62=new WorkflowDownloadCommand(),_0x2a1d2f=program[_0x529bf7(0xb8)](),_0x3a537b=await createTDXInstance(_0x2a1d2f),_0x1b72fd=await _0x17bd62['run']({'options':{..._0x2a1d2f,..._0x8b2fc8},'args':[_0x1ce836,_0x3d1de2||'.'],'tdx':_0x3a537b});gracefulExit(_0x1b72fd);}),workflowCmd[a2_0x19835d(0x2b1)]('pull\x20<project>\x20[target-dir]')['description'](a2_0x19835d(0x263))[a2_0x19835d(0x1f7)](a2_0x19835d(0x16b),a2_0x19835d(0x23f))[a2_0x19835d(0x1f7)](a2_0x19835d(0x24a),a2_0x19835d(0x2af))[a2_0x19835d(0x169)](async(_0x449a59,_0x5b9c0e,_0x45d36f)=>{const _0x289cf8=a2_0x19835d,_0x292953=new WorkflowPullCommand(),_0x5e9f17=program[_0x289cf8(0xb8)](),_0x5e06d8=await createTDXInstance(_0x5e9f17),_0x351c04=await _0x292953[_0x289cf8(0x212)]({'options':{..._0x5e9f17,..._0x45d36f},'args':_0x5b9c0e?[_0x449a59,_0x5b9c0e]:[_0x449a59],'tdx':_0x5e06d8});gracefulExit(_0x351c04);}),workflowCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x237))['description'](a2_0x19835d(0x2f5))['option'](a2_0x19835d(0x16b),a2_0x19835d(0x214))[a2_0x19835d(0x1f7)](a2_0x19835d(0x24a),a2_0x19835d(0xf2))['option'](a2_0x19835d(0x209),a2_0x19835d(0x349))['action'](async(_0x2d55b3,_0x2c2b91)=>{const _0x3b3c33=a2_0x19835d,_0x18eaf9=new WorkflowPushCommand(),_0x1c7a5a=program[_0x3b3c33(0xb8)](),_0x5096c6=await createTDXInstance(_0x1c7a5a),_0x134d9a=await _0x18eaf9[_0x3b3c33(0x212)]({'options':{..._0x1c7a5a,..._0x2c2b91},'args':_0x2d55b3?[_0x2d55b3]:[],'tdx':_0x5096c6});gracefulExit(_0x134d9a);}),workflowCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x2db))[a2_0x19835d(0xd4)](a2_0x19835d(0x1bf))[a2_0x19835d(0x1f7)](a2_0x19835d(0x31f),'Override\x20project\x20name')[a2_0x19835d(0x1f7)](a2_0x19835d(0x16b),a2_0x19835d(0x1eb))[a2_0x19835d(0x1f7)](a2_0x19835d(0x209),a2_0x19835d(0x349))[a2_0x19835d(0x169)](async(_0x29fc68,_0x2903f4)=>{const _0xf6417b=a2_0x19835d,_0x468efe=new WorkflowUploadCommand(),_0xb686ce=program[_0xf6417b(0xb8)](),_0x42ad70=await createTDXInstance(_0xb686ce),_0xf22c60=await _0x468efe[_0xf6417b(0x212)]({'options':{..._0xb686ce,..._0x2903f4},'args':_0x29fc68?[_0x29fc68]:[],'tdx':_0x42ad70});gracefulExit(_0xf22c60);}),workflowCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x183))[a2_0x19835d(0xd4)](a2_0x19835d(0x130))['option'](a2_0x19835d(0x31f),'Name\x20for\x20the\x20new\x20project\x20(required)')['option'](a2_0x19835d(0x16b),'Custom\x20revision\x20name\x20(default:\x20timestamp)')[a2_0x19835d(0x1f7)](a2_0x19835d(0x24a),'Preview\x20without\x20creating\x20the\x20project')[a2_0x19835d(0x1f7)](a2_0x19835d(0x209),a2_0x19835d(0x349))[a2_0x19835d(0x169)](async(_0x41e73e,_0x6434e)=>{const _0x3b06af=a2_0x19835d,_0x5dfcd9=new WorkflowCloneCommand(),_0x5ef5a3=program[_0x3b06af(0xb8)](),_0x55e780=await createTDXInstance(_0x5ef5a3),_0x1603ef=await _0x5dfcd9[_0x3b06af(0x212)]({'options':{..._0x5ef5a3,..._0x6434e},'args':_0x41e73e?[_0x41e73e]:[],'tdx':_0x55e780});gracefulExit(_0x1603ef);}),workflowCmd['command'](a2_0x19835d(0x22a))[a2_0x19835d(0xd4)](a2_0x19835d(0x165))['action'](async(_0x3310d7,_0x17074c)=>{const _0x32e3ee=a2_0x19835d,_0x291696=new WorkflowDeleteCommand(),_0x5c4ca3=program[_0x32e3ee(0xb8)](),_0x13494d=await createTDXInstance(_0x5c4ca3),_0x53ea4a=await _0x291696[_0x32e3ee(0x212)]({'options':{..._0x5c4ca3,..._0x17074c},'args':[_0x3310d7],'tdx':_0x13494d});gracefulExit(_0x53ea4a);}),workflowCmd['command'](a2_0x19835d(0xd1))[a2_0x19835d(0xd4)](a2_0x19835d(0x1ad))[a2_0x19835d(0x1f7)]('--clear',a2_0x19835d(0x35a))[a2_0x19835d(0x169)](async(_0xa56f4c,_0x10e369)=>{const _0xcb6d12=a2_0x19835d,_0x140b27=new WorkflowUseCommand(),_0x1cb92a=program[_0xcb6d12(0xb8)](),_0x39fe8b=await createTDXInstance(_0x1cb92a),_0x44e56d=await _0x140b27[_0xcb6d12(0x212)]({'options':{..._0x1cb92a,..._0x10e369},'args':_0xa56f4c?[_0xa56f4c]:[],'tdx':_0x39fe8b});gracefulExit(_0x44e56d);});const wfSecretsCmd=workflowCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x19a))[a2_0x19835d(0xd4)]('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x280))[a2_0x19835d(0xd4)](a2_0x19835d(0x321))[a2_0x19835d(0x169)](async(_0x52aeb0,_0x311d08)=>{const _0x14203d=a2_0x19835d,_0x42763e=new WorkflowSecretsListCommand(),_0x8853f3=program[_0x14203d(0xb8)](),_0x869e98=await createTDXInstance(_0x8853f3),_0x57eecc=await _0x42763e[_0x14203d(0x212)]({'options':{..._0x8853f3,..._0x311d08},'args':_0x52aeb0?[_0x52aeb0]:[],'tdx':_0x869e98});gracefulExit(_0x57eecc);}),wfSecretsCmd[a2_0x19835d(0x2b1)]('set\x20<args...>')[a2_0x19835d(0xd4)]('Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)')['action'](async(_0x416957,_0x11366c)=>{const _0x374f76=new WorkflowSecretsSetCommand(),_0x5b2e2f=program['opts'](),_0x276e9a=await createTDXInstance(_0x5b2e2f),_0x1f926f=await _0x374f76['run']({'options':{..._0x5b2e2f,..._0x11366c},'args':_0x416957,'tdx':_0x276e9a});gracefulExit(_0x1f926f);}),wfSecretsCmd['command'](a2_0x19835d(0x119))[a2_0x19835d(0xd4)](a2_0x19835d(0x11e))[a2_0x19835d(0x169)](async(_0x24c2db,_0x36dd9f)=>{const _0x59b267=a2_0x19835d,_0x5d9f44=new WorkflowSecretsDeleteCommand(),_0x424ffa=program[_0x59b267(0xb8)](),_0x16aa36=await createTDXInstance(_0x424ffa),_0x2e527c=await _0x5d9f44['run']({'options':{..._0x424ffa,..._0x36dd9f},'args':_0x24c2db,'tdx':_0x16aa36});gracefulExit(_0x2e527c);});const jobCmd=program['command'](a2_0x19835d(0x2dc))[a2_0x19835d(0xd4)]('Job\x20management\x20commands'),jobListAction=async _0x7a299f=>{const _0x2f14b0=a2_0x19835d,_0x43a550=new JobListCommand(),_0x4e0f2d=program['opts'](),_0x587476=await createTDXInstance(_0x4e0f2d),_0x121a2e=await _0x43a550[_0x2f14b0(0x212)]({'options':{..._0x4e0f2d,..._0x7a299f},'args':[],'tdx':_0x587476});gracefulExit(_0x121a2e);};jobCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x301))[a2_0x19835d(0xd4)](a2_0x19835d(0x325))[a2_0x19835d(0x1f7)](a2_0x19835d(0x279),a2_0x19835d(0xa9))['action'](jobListAction),program[a2_0x19835d(0x2b1)](a2_0x19835d(0x244),{'hidden':!![]})[a2_0x19835d(0xd4)](a2_0x19835d(0x1bd))[a2_0x19835d(0x1f7)](a2_0x19835d(0x279),a2_0x19835d(0xa9))['action'](jobListAction),jobCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x2e8))['description']('Show\x20job\x20details')[a2_0x19835d(0x169)](async(_0x5ee829,_0x17e5ab)=>{const _0x1307de=a2_0x19835d,_0x52ce7e=new JobShowCommand(),_0x54ec68=program[_0x1307de(0xb8)](),_0x2be59e=await createTDXInstance(_0x54ec68),_0x497590=await _0x52ce7e['run']({'options':{..._0x54ec68,..._0x17e5ab},'args':[_0x5ee829],'tdx':_0x2be59e});gracefulExit(_0x497590);}),jobCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x18e))['description'](a2_0x19835d(0x30b))[a2_0x19835d(0x169)](async(_0x20226e,_0x5f16fb)=>{const _0x421ecd=a2_0x19835d,_0x50aed4=new JobKillCommand(),_0x2b1bc6=program[_0x421ecd(0xb8)](),_0x51b7f3=await createTDXInstance(_0x2b1bc6),_0x370eb5=await _0x50aed4[_0x421ecd(0x212)]({'options':{..._0x2b1bc6,..._0x5f16fb},'args':[_0x20226e],'tdx':_0x51b7f3});gracefulExit(_0x370eb5);}),jobCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x134))['description'](a2_0x19835d(0x190))[a2_0x19835d(0x1f7)](a2_0x19835d(0x22f),a2_0x19835d(0x18c),a2_0x19835d(0x2ad))[a2_0x19835d(0x1f7)]('-f,\x20--file\x20<path>',a2_0x19835d(0x2d7))[a2_0x19835d(0x1f7)](a2_0x19835d(0x156),a2_0x19835d(0x2a2),'information_schema')[a2_0x19835d(0x1f7)]('--result\x20<target>',a2_0x19835d(0x2a7))['action'](async(_0x14756e,_0x47b74e)=>{const _0x4572dc=a2_0x19835d,_0x475e7d=new JobSubmitCommand(),_0x3f7cac=program['opts'](),_0x1e2dec=await createTDXInstance(_0x3f7cac),_0x58d0dc=await _0x475e7d[_0x4572dc(0x212)]({'options':{..._0x3f7cac,..._0x47b74e},'args':_0x14756e?[_0x14756e]:[],'tdx':_0x1e2dec});gracefulExit(_0x58d0dc);}),jobCmd[a2_0x19835d(0x2b1)]('result\x20<job-id>')[a2_0x19835d(0xd4)]('Get\x20job\x20results')[a2_0x19835d(0x169)](async(_0x2c8bfe,_0x18af06)=>{const _0x40f740=a2_0x19835d,_0x53a624=new JobResultCommand(),_0x438bb6=program[_0x40f740(0xb8)](),_0x41e5c5=await createTDXInstance(_0x438bb6),_0x5c3821=await _0x53a624[_0x40f740(0x212)]({'options':{..._0x438bb6,..._0x18af06},'args':[_0x2c8bfe],'tdx':_0x41e5c5});gracefulExit(_0x5c3821);});const scheduleCmd=jobCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0xae))[a2_0x19835d(0xd4)]('Scheduled\x20query\x20management\x20commands');scheduleCmd['command'](a2_0x19835d(0x15e))['description']('List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)')['action'](async(_0x554e0e,_0x4d1e5e)=>{const _0x5a8b87=a2_0x19835d,_0x2cc539=new ScheduleListCommand(),_0x1e07d3=program['opts'](),_0x3b2f98=await createTDXInstance(_0x1e07d3),_0x204a45=await _0x2cc539[_0x5a8b87(0x212)]({'options':{..._0x1e07d3,..._0x4d1e5e},'args':_0x554e0e?[_0x554e0e]:[],'tdx':_0x3b2f98});gracefulExit(_0x204a45);}),scheduleCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x107))[a2_0x19835d(0xd4)](a2_0x19835d(0x30d))['action'](async(_0x5292ef,_0x317c63)=>{const _0x3472c3=a2_0x19835d,_0x38068a=new ScheduleShowCommand(),_0x48c6e1=program[_0x3472c3(0xb8)](),_0x4df2f2=await createTDXInstance(_0x48c6e1),_0x4aebb2=await _0x38068a[_0x3472c3(0x212)]({'options':{..._0x48c6e1,..._0x317c63},'args':[_0x5292ef],'tdx':_0x4df2f2});gracefulExit(_0x4aebb2);}),scheduleCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x2f3))[a2_0x19835d(0xd4)](a2_0x19835d(0x184))[a2_0x19835d(0x1f7)]('-d,\x20--database\x20<db>','Database\x20name\x20(required)')[a2_0x19835d(0x1f7)]('--in\x20<db>',a2_0x19835d(0x164))['requiredOption'](a2_0x19835d(0x1d5),'Read\x20query\x20from\x20file')[a2_0x19835d(0x1f7)](a2_0x19835d(0x28d),a2_0x19835d(0x2ee),'trino')[a2_0x19835d(0x1f7)](a2_0x19835d(0x29e),a2_0x19835d(0x298))[a2_0x19835d(0x1f7)]('--timezone\x20<tz>',a2_0x19835d(0x154))[a2_0x19835d(0x1f7)]('--delay\x20<seconds>',a2_0x19835d(0x2e7))[a2_0x19835d(0x1f7)](a2_0x19835d(0x1d4),a2_0x19835d(0x1fb))['option']('--retry-limit\x20<0~32>',a2_0x19835d(0x16c))[a2_0x19835d(0x1f7)](a2_0x19835d(0xe5),a2_0x19835d(0xd0))[a2_0x19835d(0x1f7)](a2_0x19835d(0x353),a2_0x19835d(0x230))[a2_0x19835d(0x169)](async(_0x31b5e8,_0x17d1e3)=>{const _0x1659eb=a2_0x19835d,_0x1669b1=new ScheduleCreateCommand(),_0x2eb4c6=program[_0x1659eb(0xb8)](),_0x30fddc=await createTDXInstance(_0x2eb4c6);_0x17d1e3['in']&&(_0x17d1e3[_0x1659eb(0x176)]=_0x17d1e3['in']);const _0x254cca=await _0x1669b1[_0x1659eb(0x212)]({'options':{..._0x2eb4c6,..._0x17d1e3},'args':[_0x31b5e8],'tdx':_0x30fddc});gracefulExit(_0x254cca);}),scheduleCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x136))[a2_0x19835d(0xd4)](a2_0x19835d(0x310))[a2_0x19835d(0x1f7)]('-d,\x20--database\x20<db>',a2_0x19835d(0x18d))[a2_0x19835d(0x1f7)](a2_0x19835d(0x235),a2_0x19835d(0x164))[a2_0x19835d(0x1f7)](a2_0x19835d(0x1d5),a2_0x19835d(0x2d7))['option'](a2_0x19835d(0x28d),'Query\x20type:\x20trino\x20or\x20hive')[a2_0x19835d(0x1f7)]('--cron\x20<expression>',a2_0x19835d(0x298))[a2_0x19835d(0x1f7)](a2_0x19835d(0x15b),a2_0x19835d(0x141))[a2_0x19835d(0x1f7)](a2_0x19835d(0xf8),a2_0x19835d(0x2e7))['option'](a2_0x19835d(0x1d4),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x19835d(0x1f7)](a2_0x19835d(0x196),a2_0x19835d(0x16c))[a2_0x19835d(0x1f7)](a2_0x19835d(0xe5),'Query\x20engine\x20version')['option'](a2_0x19835d(0x353),'Result\x20output\x20destination\x20URL')[a2_0x19835d(0x169)](async(_0x38c352,_0x316e07)=>{const _0x2d2211=a2_0x19835d,_0x24cf06=new ScheduleUpdateCommand(),_0x48134c=program[_0x2d2211(0xb8)](),_0x291d0c=await createTDXInstance(_0x48134c);_0x316e07['in']&&(_0x316e07[_0x2d2211(0x176)]=_0x316e07['in']);const _0x35b6d1=await _0x24cf06['run']({'options':{..._0x48134c,..._0x316e07},'args':[_0x38c352],'tdx':_0x291d0c});gracefulExit(_0x35b6d1);}),scheduleCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x268))[a2_0x19835d(0xd4)](a2_0x19835d(0xc5))[a2_0x19835d(0x169)](async(_0x215d86,_0x57843f)=>{const _0x1d5af4=a2_0x19835d,_0xe398ac=new ScheduleDeleteCommand(),_0x29f21f=program[_0x1d5af4(0xb8)](),_0x31abf5=await createTDXInstance(_0x29f21f),_0x2a1b96=await _0xe398ac['run']({'options':{..._0x29f21f,..._0x57843f},'args':[_0x215d86],'tdx':_0x31abf5});gracefulExit(_0x2a1b96);}),scheduleCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x287))[a2_0x19835d(0xd4)](a2_0x19835d(0x35b))[a2_0x19835d(0x1f7)]('--time\x20<iso8601>',a2_0x19835d(0x180))['option'](a2_0x19835d(0x1cf),'Number\x20of\x20executions\x20(1-10,\x20default:\x201)')['action'](async(_0x3cbb19,_0xc93fd)=>{const _0x1fa6a0=a2_0x19835d,_0x3b6930=new ScheduleRunCommand(),_0xb29102=program[_0x1fa6a0(0xb8)](),_0x2fb30f=await createTDXInstance(_0xb29102),_0x4e85df=await _0x3b6930[_0x1fa6a0(0x212)]({'options':{..._0xb29102,..._0xc93fd},'args':[_0x3cbb19],'tdx':_0x2fb30f});gracefulExit(_0x4e85df);}),scheduleCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x342))[a2_0x19835d(0xd4)](a2_0x19835d(0x267))[a2_0x19835d(0x1f7)](a2_0x19835d(0xc4),a2_0x19835d(0x255))[a2_0x19835d(0x1f7)](a2_0x19835d(0xdf),a2_0x19835d(0x334))[a2_0x19835d(0x169)](async(_0x28eb64,_0x49c2b2)=>{const _0x1b6957=a2_0x19835d,_0x3c6924=new ScheduleHistoryCommand(),_0x4cc84e=program[_0x1b6957(0xb8)](),_0x19b502=await createTDXInstance(_0x4cc84e),_0x51e4e3=await _0x3c6924['run']({'options':{..._0x4cc84e,..._0x49c2b2},'args':[_0x28eb64],'tdx':_0x19b502});gracefulExit(_0x51e4e3);});const llmCmd=program[a2_0x19835d(0x2b1)](a2_0x19835d(0x192))[a2_0x19835d(0xd4)](a2_0x19835d(0xf3));llmCmd['command'](a2_0x19835d(0x1ff))[a2_0x19835d(0xd4)](a2_0x19835d(0x1a2))['action'](async(_0x5b9920,_0x81ef68)=>{const _0x5c27bb=new LLMUseCommand(),_0x454634=program['opts'](),_0x4afa95=await createTDXInstance(_0x454634),_0x467dba=await _0x5c27bb['run']({'options':{..._0x454634,..._0x81ef68},'args':[_0x5b9920],'tdx':_0x4afa95});gracefulExit(_0x467dba);}),llmCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0xd9))['description'](a2_0x19835d(0x149))[a2_0x19835d(0x169)](async _0x2b1d52=>{const _0x18ef73=a2_0x19835d,_0x214828=new LLMModelsCommand(),_0x1880fd=program['opts'](),_0x21bba1=await createTDXInstance(_0x1880fd),_0x26631e=await _0x214828[_0x18ef73(0x212)]({'options':{..._0x1880fd,..._0x2b1d52},'args':[],'tdx':_0x21bba1});gracefulExit(_0x26631e);});const projectCmd=llmCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x257))[a2_0x19835d(0xd4)](a2_0x19835d(0x23d)),llmProjectListAction=async(_0x52e099,_0x410677)=>{const _0x1a09b0=a2_0x19835d,_0x1b3952=new LLMProjectsCommand(),_0x42e010=program[_0x1a09b0(0xb8)](),_0x233ad3=await createTDXInstance(_0x42e010),_0x2dd75c=await _0x1b3952['run']({'options':{..._0x42e010,..._0x410677},'args':_0x52e099?[_0x52e099]:[],'tdx':_0x233ad3});gracefulExit(_0x2dd75c);};projectCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x15e))[a2_0x19835d(0xd4)](a2_0x19835d(0x291))[a2_0x19835d(0x169)](llmProjectListAction),llmCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x1cd))[a2_0x19835d(0xd4)]('List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0x19835d(0x169)](llmProjectListAction),projectCmd[a2_0x19835d(0x2b1)]('create\x20<name>')[a2_0x19835d(0xd4)](a2_0x19835d(0xfc))[a2_0x19835d(0x1f7)](a2_0x19835d(0x2f1),a2_0x19835d(0xe9))[a2_0x19835d(0x169)](async(_0x3cb69c,_0xddfac1)=>{const _0x11bc8a=a2_0x19835d,_0xc5a468=new LLMProjectCreateCommand(),_0x375d91=program[_0x11bc8a(0xb8)](),_0x208da3=await createTDXInstance(_0x375d91),_0x1f2ba4=await _0xc5a468[_0x11bc8a(0x212)]({'options':{..._0x375d91,..._0xddfac1},'args':[_0x3cb69c],'tdx':_0x208da3});gracefulExit(_0x1f2ba4);}),projectCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x268))[a2_0x19835d(0xd4)](a2_0x19835d(0x28c))[a2_0x19835d(0x169)](async(_0x32bb41,_0xb034cd)=>{const _0x1f3ddd=a2_0x19835d,_0xb2ea92=new LLMProjectDeleteCommand(),_0x5d4f46=program[_0x1f3ddd(0xb8)](),_0x247d85=await createTDXInstance(_0x5d4f46),_0x19aa59=await _0xb2ea92['run']({'options':{..._0x5d4f46,..._0xb034cd},'args':[_0x32bb41],'tdx':_0x247d85});gracefulExit(_0x19aa59);}),projectCmd[a2_0x19835d(0x2b1)]('backup\x20<name>')[a2_0x19835d(0xd4)](a2_0x19835d(0x167))[a2_0x19835d(0x1f7)]('-o,\x20--output\x20<folder>','Output\x20folder\x20(default:\x20{project_name}.llm)')['option'](a2_0x19835d(0x24a),a2_0x19835d(0x256))['action'](async(_0xe63dd,_0x2c476f)=>{const _0x1534ff=a2_0x19835d,_0x152c22=new LLMProjectBackupCommand(),_0x553d93=program[_0x1534ff(0xb8)](),_0x2a99e3=await createTDXInstance(_0x553d93),_0x4ecd5f=await _0x152c22[_0x1534ff(0x212)]({'options':{..._0x553d93,..._0x2c476f},'args':[_0xe63dd],'tdx':_0x2a99e3});gracefulExit(_0x4ecd5f);}),projectCmd['command'](a2_0x19835d(0x34c))[a2_0x19835d(0xd4)](a2_0x19835d(0x18a))[a2_0x19835d(0x1f7)](a2_0x19835d(0x343),a2_0x19835d(0x2ca))[a2_0x19835d(0x1f7)](a2_0x19835d(0x24a),a2_0x19835d(0xc9))['action'](async(_0x14aac3,_0x3c92f8)=>{const _0x1c324a=a2_0x19835d,_0x5d66c4=new LLMProjectRestoreCommand(),_0x4d103a=program['opts'](),_0xd41fe8=await createTDXInstance(_0x4d103a),_0x460b18=await _0x5d66c4[_0x1c324a(0x212)]({'options':{..._0x4d103a,..._0x3c92f8},'args':[_0x14aac3],'tdx':_0xd41fe8});gracefulExit(_0x460b18);});const llmAgentListAction=async(_0x4be53e,_0x5e6037)=>{const _0x29b60c=a2_0x19835d,_0x1bed35=new LLMAgentsCommand(),_0x3741ff=program[_0x29b60c(0xb8)](),_0xd298c5=await createTDXInstance(_0x3741ff),_0x91a507=await _0x1bed35[_0x29b60c(0x212)]({'options':{..._0x3741ff,..._0x5e6037},'args':_0x4be53e?[_0x4be53e]:[],'tdx':_0xd298c5});gracefulExit(_0x91a507);};llmCmd['command'](a2_0x19835d(0x2d3))[a2_0x19835d(0xd4)](a2_0x19835d(0x313))[a2_0x19835d(0x169)](llmAgentListAction),program['command']('agents\x20[pattern]')[a2_0x19835d(0xd4)](a2_0x19835d(0x313))[a2_0x19835d(0x169)](llmAgentListAction),llmCmd[a2_0x19835d(0x2b1)]('history\x20[chat-id]')[a2_0x19835d(0xd4)](a2_0x19835d(0x202))[a2_0x19835d(0x1f7)](a2_0x19835d(0x139),a2_0x19835d(0x228))['action'](async(_0x1f2ffa,_0x9f935f)=>{const _0x594fa3=a2_0x19835d,_0x1e6015=new LLMHistoryCommand(),_0x1c808d=program[_0x594fa3(0xb8)](),_0x53520b=await createTDXInstance(_0x1c808d),_0x6bca05=await _0x1e6015[_0x594fa3(0x212)]({'options':{..._0x1c808d,..._0x9f935f},'args':_0x1f2ffa?[_0x1f2ffa]:[],'tdx':_0x53520b});gracefulExit(_0x6bca05);});isExperimentalAvailable()&&llmCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x238))[a2_0x19835d(0xd4)](a2_0x19835d(0x187))[a2_0x19835d(0x169)](async(_0x374a4a,_0x3e1fbb)=>{const _0x4a3cbf=a2_0x19835d,_0x149e39=new LLMLogCommand(),_0x5f2444=program[_0x4a3cbf(0xb8)](),_0x596be7=await createTDXInstance(_0x5f2444),_0xdaa610=await _0x149e39[_0x4a3cbf(0x212)]({'options':{..._0x5f2444,..._0x3e1fbb},'args':[_0x374a4a],'tdx':_0x596be7});gracefulExit(_0xdaa610);});program[a2_0x19835d(0x2b1)](a2_0x19835d(0xf7))['usage'](a2_0x19835d(0x174))[a2_0x19835d(0xd4)](a2_0x19835d(0x118))[a2_0x19835d(0x1f7)](a2_0x19835d(0x2a4),a2_0x19835d(0x261))[a2_0x19835d(0x1f7)]('-r,\x20--resume',a2_0x19835d(0x295))[a2_0x19835d(0x1f7)](a2_0x19835d(0x330),a2_0x19835d(0x177))['allowUnknownOption']()[a2_0x19835d(0x1a1)](!![])[a2_0x19835d(0x1da)](a2_0x19835d(0x2fa),'\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')['action'](async(_0x59b963,_0x4d3abe)=>{const _0x429559=a2_0x19835d,_0x21268c=program['opts'](),_0x27063a=Array[_0x429559(0x317)](_0x59b963)?_0x59b963:[];if(_0x27063a[0x0]==='statusline'){const _0x5e5ff4=new ClaudeStatuslineCommand(),_0x5cb477=await _0x5e5ff4['run']({'options':{..._0x21268c,..._0x4d3abe},'args':_0x27063a[_0x429559(0x34b)](0x1),'tdx':null});gracefulExit(_0x5cb477);}if(_0x27063a[0x0]===_0x429559(0x246)){const _0x5d53ef=new ClaudeUsageCommand(),_0x58568f=await _0x5d53ef[_0x429559(0x212)]({'options':{..._0x21268c,..._0x4d3abe},'args':_0x27063a['slice'](0x1),'tdx':null});gracefulExit(_0x58568f);}const _0x3ce229=new ClaudeCommand(),_0x591a99=await createTDXInstance(_0x21268c),_0x1ba8ca=await _0x3ce229[_0x429559(0x212)]({'options':{..._0x21268c,..._0x4d3abe},'args':_0x27063a,'tdx':_0x591a99});gracefulExit(_0x1ba8ca);}),program['command'](a2_0x19835d(0x194))[a2_0x19835d(0xd4)]('Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)')['option']('--clear',a2_0x19835d(0x2e9))[a2_0x19835d(0x1f7)](a2_0x19835d(0x304),a2_0x19835d(0x26c))[a2_0x19835d(0x169)](async(_0x23108b,_0x10c71d,_0xfc0320)=>{const _0x39ce4b=a2_0x19835d,_0x2cb055=new UseCommand(),_0x474135=program['opts'](),_0x22fdb2=[];if(_0x23108b)_0x22fdb2[_0x39ce4b(0x249)](_0x23108b);if(_0x10c71d)_0x22fdb2['push'](_0x10c71d);const _0x4a2478=_0x23108b==='engage_workspace',_0x578b25=_0x4a2478?await createTDXInstance(_0x474135):null,_0x307e9a=await _0x2cb055['run']({'options':{..._0x474135,..._0xfc0320},'args':_0x22fdb2,'tdx':_0x578b25});gracefulExit(_0x307e9a);}),program[a2_0x19835d(0x2b1)](a2_0x19835d(0x19e))[a2_0x19835d(0xd4)](a2_0x19835d(0x24f))[a2_0x19835d(0x169)](async _0x31cb6f=>{const _0x2df3aa=a2_0x19835d,_0x279ad8=new StatusCommand(),_0x556a22=program[_0x2df3aa(0xb8)](),_0x45ff12=await createTDXInstance(_0x556a22),_0x17b8ec=await _0x279ad8[_0x2df3aa(0x212)]({'options':{..._0x556a22,..._0x31cb6f},'args':[],'tdx':_0x45ff12});gracefulExit(_0x17b8ec);}),program[a2_0x19835d(0x2b1)]('unset\x20<resource>')['description'](a2_0x19835d(0x348))[a2_0x19835d(0x1f7)](a2_0x19835d(0x304),a2_0x19835d(0x346))[a2_0x19835d(0x169)](async(_0x21376c,_0x14f144)=>{const _0x379e71=a2_0x19835d,_0x1205c5=new UnsetCommand(),_0x319a0b=program[_0x379e71(0xb8)](),_0x416661=await _0x1205c5[_0x379e71(0x212)]({'options':{..._0x319a0b,..._0x14f144},'args':[_0x21376c],'tdx':null});gracefulExit(_0x416661);}),program[a2_0x19835d(0x2b1)](a2_0x19835d(0x1dc))[a2_0x19835d(0xd4)](a2_0x19835d(0x20f))['option'](a2_0x19835d(0x139),'Show\x20the\x20most\x20recent\x20chat')[a2_0x19835d(0x169)](async _0x354039=>{const _0x3f16d2=a2_0x19835d,_0x37ae2e=new ChatsCommand(),_0x32e8fb=program[_0x3f16d2(0xb8)](),_0x3b7e9b=await createTDXInstance(_0x32e8fb),_0x4f05f6=await _0x37ae2e[_0x3f16d2(0x212)]({'options':{..._0x32e8fb,..._0x354039},'args':[],'tdx':_0x3b7e9b});gracefulExit(_0x4f05f6);});const authCmd=program[a2_0x19835d(0x2b1)](a2_0x19835d(0x18f))[a2_0x19835d(0xd4)](a2_0x19835d(0x300));async function runAuthStatusCommand(_0x466e55){const _0x430df4=a2_0x19835d,_0x2ace85=new AuthStatusCommand(),_0x50f528=program[_0x430df4(0xb8)](),_0x4324d4=await createTDXInstance(_0x50f528),_0x5aea41=await _0x2ace85[_0x430df4(0x212)]({'options':{..._0x50f528,..._0x466e55},'args':[],'tdx':_0x4324d4});gracefulExit(_0x5aea41);}authCmd[a2_0x19835d(0x169)](runAuthStatusCommand),authCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x19e))[a2_0x19835d(0xd4)](a2_0x19835d(0x198))[a2_0x19835d(0x169)](runAuthStatusCommand),authCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x204))['description'](a2_0x19835d(0x1b3))[a2_0x19835d(0x1da)](a2_0x19835d(0x2fa),'\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_0x19835d(0x169)](async _0x542def=>{const _0x167b8d=a2_0x19835d,_0x2f0caa=new AuthSetupCommand(),_0xff52f3=program[_0x167b8d(0xb8)](),_0x185722=await createTDXInstance(_0xff52f3),_0x25fabd=await _0x2f0caa[_0x167b8d(0x212)]({'options':{..._0xff52f3,..._0x542def},'args':[],'tdx':_0x185722});gracefulExit(_0x25fabd);}),authCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x13c))['description']('Remove\x20API\x20key\x20from\x20system\x20keychain')[a2_0x19835d(0x1da)]('after','\x0aGlobal\x20Options:\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20clear\x20(clears\x20default\x20profile\x20if\x20not\x20specified)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Clear\x20API\x20key\x20for\x20default\x20profile\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20--profile\x20prod\x20\x20#\x20Clear\x20API\x20key\x20for\x20\x27prod\x27\x20profile\x0a')['action'](async _0x2e7bc6=>{const _0x15d1cf=a2_0x19835d,_0x5a03b7=new AuthClearCommand(),_0x54ea5e=program[_0x15d1cf(0xb8)](),_0x19a7d7=await _0x5a03b7[_0x15d1cf(0x212)]({'options':{..._0x54ea5e,..._0x2e7bc6},'args':[],'tdx':null});gracefulExit(_0x19a7d7);});const userCmd=program[a2_0x19835d(0x2b1)](a2_0x19835d(0xb2))['description'](a2_0x19835d(0x106)),userListAction=async _0x48fed9=>{const _0x23d5f3=a2_0x19835d,_0x39a261=new UserListCommand(),_0x8879a4=program[_0x23d5f3(0xb8)](),_0x5e6943=await createTDXInstance(_0x8879a4),_0x2b893f=await _0x39a261[_0x23d5f3(0x212)]({'options':{..._0x8879a4,..._0x48fed9},'args':[],'tdx':_0x5e6943});gracefulExit(_0x2b893f);};userCmd[a2_0x19835d(0x169)](async _0x2adfc5=>{const _0x56aaaa=new UserCommand(),_0x1d77af=program['opts'](),_0x177418=await createTDXInstance(_0x1d77af),_0x58cdc1=await _0x56aaaa['run']({'options':{..._0x1d77af,..._0x2adfc5},'args':[],'tdx':_0x177418});gracefulExit(_0x58cdc1);}),userCmd[a2_0x19835d(0x2b1)]('list')[a2_0x19835d(0xd4)](a2_0x19835d(0x1e1))['action'](userListAction),program[a2_0x19835d(0x2b1)](a2_0x19835d(0x2d2))[a2_0x19835d(0xd4)](a2_0x19835d(0x303))[a2_0x19835d(0x169)](userListAction),program[a2_0x19835d(0x2b1)](a2_0x19835d(0x2ec))[a2_0x19835d(0xd4)](a2_0x19835d(0x345))[a2_0x19835d(0x169)](async _0x33caa3=>{const _0x2977f0=a2_0x19835d,_0x335e37=new ProfilesCommand(),_0x50cc47=program[_0x2977f0(0xb8)](),_0xe42efd=await _0x335e37[_0x2977f0(0x212)]({'options':{..._0x50cc47,..._0x33caa3},'args':[],'tdx':null});gracefulExit(_0xe42efd);});const profileCmd=program[a2_0x19835d(0x2b1)](a2_0x19835d(0xdb))[a2_0x19835d(0xd4)](a2_0x19835d(0xf1));profileCmd['action'](()=>{profileCmd['outputHelp']();});const profileListAction=async _0x5ee4ca=>{const _0x46b209=a2_0x19835d,_0x5d468a=new ProfilesCommand(),_0x5d438c=program[_0x46b209(0xb8)](),_0xcd108b=await _0x5d468a[_0x46b209(0x212)]({'options':{..._0x5d438c,..._0x5ee4ca},'args':[],'tdx':null});gracefulExit(_0xcd108b);};profileCmd[a2_0x19835d(0x2b1)]('list')[a2_0x19835d(0xd4)](a2_0x19835d(0x345))[a2_0x19835d(0x169)](profileListAction),profileCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x35c))[a2_0x19835d(0xd4)](a2_0x19835d(0x2b6))['addHelpText'](a2_0x19835d(0x2fa),a2_0x19835d(0x2f9))[a2_0x19835d(0x169)](async(_0x10f2eb,_0xea03d9)=>{const _0x2d7dff=a2_0x19835d,_0x4074fc=new ProfileCreateCommand(),_0x5d4a96=program[_0x2d7dff(0xb8)](),_0x274a9a=await _0x4074fc[_0x2d7dff(0x212)]({'options':{..._0x5d4a96,..._0xea03d9},'args':_0x10f2eb?[_0x10f2eb]:[],'tdx':null});gracefulExit(_0x274a9a);}),profileCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x163))['description'](a2_0x19835d(0x112))[a2_0x19835d(0x1da)]('after',a2_0x19835d(0x2d8))['action'](async(_0x4acf0d,_0x1ec48b)=>{const _0x22e1e5=a2_0x19835d,_0x56a9de=new ProfileRemoveCommand(),_0x267945=program[_0x22e1e5(0xb8)](),_0x2f1656=await _0x56a9de[_0x22e1e5(0x212)]({'options':{..._0x267945,..._0x1ec48b},'args':[_0x4acf0d],'tdx':null});gracefulExit(_0x2f1656);}),profileCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x322))[a2_0x19835d(0xd4)](a2_0x19835d(0xec))[a2_0x19835d(0x1da)](a2_0x19835d(0x2fa),'\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=jp01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a')[a2_0x19835d(0x169)](async(_0x23c617,_0x41e0f3)=>{const _0x2c256c=a2_0x19835d,_0x57c99e=new ProfileSetCommand(),_0x46007a=program['opts'](),_0x5e9619=await _0x57c99e[_0x2c256c(0x212)]({'options':{..._0x46007a,..._0x41e0f3},'args':[_0x23c617],'tdx':null});gracefulExit(_0x5e9619);}),profileCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x160))[a2_0x19835d(0xd4)](a2_0x19835d(0x229))[a2_0x19835d(0x1f7)](a2_0x19835d(0x304),a2_0x19835d(0x26c))[a2_0x19835d(0x1da)](a2_0x19835d(0x2fa),a2_0x19835d(0x14a))[a2_0x19835d(0x169)](async(_0x3be545,_0x2d4fbd)=>{const _0x5bbd97=a2_0x19835d,_0x34bf25=new ProfileUseCommand(),_0x4f29af=program[_0x5bbd97(0xb8)](),_0x37fe2c=await _0x34bf25[_0x5bbd97(0x212)]({'options':{..._0x4f29af,..._0x2d4fbd},'args':[_0x3be545],'tdx':null});gracefulExit(_0x37fe2c);});const engageCmd=program[a2_0x19835d(0x2b1)](a2_0x19835d(0xe0))[a2_0x19835d(0xd4)](a2_0x19835d(0x13d)),createEngageAction=_0xd8be1c=>{return async(_0x5d5f45,_0x5cc1aa)=>{const _0x3c45ee=a2_0x5509,_0x3ca470=new _0xd8be1c(),_0x464f76=program[_0x3c45ee(0xb8)](),_0x1b62f6=await createTDXInstance(_0x464f76),_0x3d7850=await _0x3ca470[_0x3c45ee(0x212)]({'options':{..._0x464f76,..._0x5cc1aa},'args':[_0x5d5f45],'tdx':_0x1b62f6});gracefulExit(_0x3d7850);};},createEngageNoArgAction=_0x59e7f3=>{return async _0x5e7d38=>{const _0x18e8c7=a2_0x5509,_0xf0095=new _0x59e7f3(),_0x191bff=program[_0x18e8c7(0xb8)](),_0x5dcf50=await createTDXInstance(_0x191bff),_0x2f237c=await _0xf0095[_0x18e8c7(0x212)]({'options':{..._0x191bff,..._0x5e7d38},'args':[],'tdx':_0x5dcf50});gracefulExit(_0x2f237c);};},createEngageListAction=_0x25792e=>{return async(_0x1e5c01,_0x59b10e)=>{const _0x276141=a2_0x5509,_0xbec3d7=new _0x25792e(),_0x4d09ff=program[_0x276141(0xb8)](),_0x212a9f=await createTDXInstance(_0x4d09ff),_0x742186=await _0xbec3d7[_0x276141(0x212)]({'options':{..._0x4d09ff,..._0x59b10e},'args':_0x1e5c01?[_0x1e5c01]:[],'tdx':_0x212a9f});gracefulExit(_0x742186);};},campaignCmd=engageCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x1b4))[a2_0x19835d(0xd4)](a2_0x19835d(0x168));campaignCmd[a2_0x19835d(0x2b1)]('list\x20[pattern]')[a2_0x19835d(0xd4)]('List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x19835d(0x1f7)](a2_0x19835d(0x28d),a2_0x19835d(0x199))['option'](a2_0x19835d(0x279),a2_0x19835d(0x21f))[a2_0x19835d(0x1f7)](a2_0x19835d(0x243),'Workspace\x20name')[a2_0x19835d(0x169)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x11d))[a2_0x19835d(0xd4)]('List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)')[a2_0x19835d(0x1f7)](a2_0x19835d(0x28d),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x19835d(0x1f7)](a2_0x19835d(0x279),a2_0x19835d(0x21f))[a2_0x19835d(0x1f7)]('--workspace\x20<name>',a2_0x19835d(0x272))[a2_0x19835d(0x169)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x19835d(0x2b1)]('show\x20<name-or-id>')['description'](a2_0x19835d(0x12e))[a2_0x19835d(0x1f7)](a2_0x19835d(0x243),a2_0x19835d(0x272))[a2_0x19835d(0x1f7)](a2_0x19835d(0x27e),a2_0x19835d(0x293))[a2_0x19835d(0x169)](createEngageAction(EngageCampaignShowCommand)),campaignCmd['command'](a2_0x19835d(0x166))[a2_0x19835d(0xd4)](a2_0x19835d(0x2d4))[a2_0x19835d(0xf9)]('--name\x20<name>',a2_0x19835d(0x1b2))[a2_0x19835d(0xf9)]('--type\x20<type>',a2_0x19835d(0xb0))[a2_0x19835d(0x1f7)](a2_0x19835d(0x243),a2_0x19835d(0xe1))[a2_0x19835d(0x1f7)](a2_0x19835d(0x2c4),a2_0x19835d(0x2bc))[a2_0x19835d(0x1f7)]('--segment\x20<path>',a2_0x19835d(0x1a0))[a2_0x19835d(0x1f7)](a2_0x19835d(0x1cb),a2_0x19835d(0xfd))[a2_0x19835d(0x1f7)](a2_0x19835d(0x31c),a2_0x19835d(0x28b))['option'](a2_0x19835d(0x1df),a2_0x19835d(0x172))[a2_0x19835d(0x1f7)](a2_0x19835d(0x15b),a2_0x19835d(0x127))['action'](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x19835d(0x2b1)]('update\x20<name-or-id>')[a2_0x19835d(0xd4)](a2_0x19835d(0x17d))[a2_0x19835d(0x1f7)](a2_0x19835d(0x243),a2_0x19835d(0x272))['option']('--name\x20<name>','New\x20campaign\x20name')[a2_0x19835d(0x1f7)](a2_0x19835d(0x2c4),'Campaign\x20description')['option'](a2_0x19835d(0x11c),a2_0x19835d(0x1a0))[a2_0x19835d(0x1f7)](a2_0x19835d(0x1cb),a2_0x19835d(0xfd))[a2_0x19835d(0x1f7)]('--json-columns\x20<cols>',a2_0x19835d(0x28b))[a2_0x19835d(0x1f7)](a2_0x19835d(0x1df),a2_0x19835d(0x172))[a2_0x19835d(0x1f7)]('--timezone\x20<tz>',a2_0x19835d(0x127))[a2_0x19835d(0x169)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command'](a2_0x19835d(0x2f8))[a2_0x19835d(0xd4)](a2_0x19835d(0x318))[a2_0x19835d(0x1f7)](a2_0x19835d(0x243),a2_0x19835d(0x272))['option']('--yes','Skip\x20confirmation\x20prompt')['action'](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x14b))[a2_0x19835d(0xd4)](a2_0x19835d(0x270))[a2_0x19835d(0x1f7)](a2_0x19835d(0x243),'Workspace\x20name')[a2_0x19835d(0x169)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x19835d(0x2b1)]('pause\x20<name-or-id>')[a2_0x19835d(0xd4)](a2_0x19835d(0x124))[a2_0x19835d(0x1f7)](a2_0x19835d(0x243),a2_0x19835d(0x272))[a2_0x19835d(0x169)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x19835d(0x2b1)]('resume\x20<name-or-id>')[a2_0x19835d(0xd4)](a2_0x19835d(0x240))[a2_0x19835d(0x1f7)](a2_0x19835d(0x243),a2_0x19835d(0x272))['action'](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command'](a2_0x19835d(0x357))['description'](a2_0x19835d(0x2a5))[a2_0x19835d(0x1f7)]('--workspace\x20<name>',a2_0x19835d(0x272))[a2_0x19835d(0x169)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x1e8))[a2_0x19835d(0xd4)](a2_0x19835d(0x27f))[a2_0x19835d(0x1f7)](a2_0x19835d(0x243),a2_0x19835d(0x272))['option']('--name\x20<name>',a2_0x19835d(0x24d))[a2_0x19835d(0x1f7)](a2_0x19835d(0x28d),a2_0x19835d(0x199))[a2_0x19835d(0x1f7)](a2_0x19835d(0x24a),a2_0x19835d(0x269))['action'](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0xef))[a2_0x19835d(0xd4)](a2_0x19835d(0x100))[a2_0x19835d(0x1f7)](a2_0x19835d(0x243),'Workspace\x20name')[a2_0x19835d(0x1f7)](a2_0x19835d(0x24a),'Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0x19835d(0x169)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0xbc))[a2_0x19835d(0xd4)](a2_0x19835d(0x290))['option']('--verbose',a2_0x19835d(0x2ae))[a2_0x19835d(0x169)](createEngageAction(EngageCampaignValidateCommand));const templateCmd=engageCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x320))[a2_0x19835d(0xd4)](a2_0x19835d(0x117));templateCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x15e))[a2_0x19835d(0xd4)](a2_0x19835d(0x29b))[a2_0x19835d(0x1f7)](a2_0x19835d(0x243),a2_0x19835d(0x272))[a2_0x19835d(0x169)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x11a))[a2_0x19835d(0xd4)](a2_0x19835d(0xb1))['option'](a2_0x19835d(0x243),'Workspace\x20name')[a2_0x19835d(0x169)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0xab))[a2_0x19835d(0xd4)](a2_0x19835d(0x247))[a2_0x19835d(0x1f7)](a2_0x19835d(0x243),'Workspace\x20name')[a2_0x19835d(0x1f7)]('--full',a2_0x19835d(0x293))[a2_0x19835d(0x169)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x19835d(0x2b1)]('create')[a2_0x19835d(0xd4)](a2_0x19835d(0x155))[a2_0x19835d(0xf9)](a2_0x19835d(0x31f),'Template\x20name')[a2_0x19835d(0xf9)](a2_0x19835d(0x2cb),a2_0x19835d(0x1c0))[a2_0x19835d(0xf9)](a2_0x19835d(0x22b),a2_0x19835d(0x12d))['option'](a2_0x19835d(0x243),a2_0x19835d(0xe1))[a2_0x19835d(0x1f7)](a2_0x19835d(0x20c),a2_0x19835d(0x1b7))[a2_0x19835d(0x1f7)]('--editor-type\x20<type>',a2_0x19835d(0x13a),_0x5dc7ca=>{const _0xdb9304=a2_0x19835d;if(![_0xdb9304(0x1c6),'grapesjs']['includes'](_0x5dc7ca))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Invalid\x20editor\x20type:\x20'+_0x5dc7ca+_0xdb9304(0x265));return _0x5dc7ca;})['action'](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x147))[a2_0x19835d(0xd4)](a2_0x19835d(0x344))[a2_0x19835d(0x1f7)](a2_0x19835d(0x243),'Workspace\x20name')[a2_0x19835d(0x1f7)](a2_0x19835d(0x31f),'New\x20template\x20name')['option'](a2_0x19835d(0x2cb),a2_0x19835d(0x1c0))[a2_0x19835d(0x1f7)](a2_0x19835d(0x22b),a2_0x19835d(0x12d))[a2_0x19835d(0x1f7)](a2_0x19835d(0x20c),'Plaintext\x20template\x20content')[a2_0x19835d(0x169)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x2f8))[a2_0x19835d(0xd4)]('Delete\x20an\x20email\x20template')[a2_0x19835d(0x1f7)](a2_0x19835d(0x243),a2_0x19835d(0x272))[a2_0x19835d(0x1f7)]('--yes',a2_0x19835d(0x113))[a2_0x19835d(0x169)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command'](a2_0x19835d(0xff))[a2_0x19835d(0xd4)]('Workspace\x20management');workspaceCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x15e))['description']('List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x19835d(0x169)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0xba))['description']('List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)')[a2_0x19835d(0x169)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd['command'](a2_0x19835d(0xab))[a2_0x19835d(0xd4)](a2_0x19835d(0x30e))[a2_0x19835d(0x1f7)]('--full',a2_0x19835d(0x293))[a2_0x19835d(0x169)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x166))['description']('Create\x20a\x20workspace')[a2_0x19835d(0xf9)](a2_0x19835d(0x31f),'Workspace\x20name')[a2_0x19835d(0x1f7)](a2_0x19835d(0x2c4),a2_0x19835d(0x1fa))[a2_0x19835d(0x169)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x147))[a2_0x19835d(0xd4)](a2_0x19835d(0x354))['option'](a2_0x19835d(0x31f),'New\x20workspace\x20name')['option'](a2_0x19835d(0x2c4),a2_0x19835d(0x1fa))[a2_0x19835d(0x169)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x19835d(0x2b1)]('delete\x20<name-or-id>')[a2_0x19835d(0xd4)](a2_0x19835d(0x221))[a2_0x19835d(0x1f7)](a2_0x19835d(0x108),'Skip\x20confirmation\x20prompt')[a2_0x19835d(0x169)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x19835d(0x2b1)]('use\x20<name>')[a2_0x19835d(0xd4)](a2_0x19835d(0xe3))['action'](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x19835d(0x2b1)](a2_0x19835d(0x30a))[a2_0x19835d(0xd4)](a2_0x19835d(0x2cd));deliveryCmd['command'](a2_0x19835d(0x109))['description'](a2_0x19835d(0xe7))[a2_0x19835d(0x1f7)](a2_0x19835d(0x243),'Workspace\x20name')[a2_0x19835d(0x169)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x19835d(0x2b1)](a2_0x19835d(0x23c))[a2_0x19835d(0xd4)](a2_0x19835d(0xe4)),connectionListAction=async _0x45073c=>{const _0x42f5b2=new ConnectionListCommand(),_0x1ec017=program['opts'](),_0x3b6276=await createTDXInstance(_0x1ec017),_0x55a12a=await _0x42f5b2['run']({'options':{..._0x1ec017,..._0x45073c},'args':[],'tdx':_0x3b6276});gracefulExit(_0x55a12a);};connectionCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x301))[a2_0x19835d(0xd4)](a2_0x19835d(0x1f8))[a2_0x19835d(0x169)](connectionListAction),program[a2_0x19835d(0x2b1)](a2_0x19835d(0x25b),{'hidden':!![]})[a2_0x19835d(0xd4)](a2_0x19835d(0x1f0))['action'](connectionListAction),connectionCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x107))[a2_0x19835d(0xd4)](a2_0x19835d(0x350))[a2_0x19835d(0x169)](async(_0x29c45b,_0x131ddd)=>{const _0x2f3c1e=a2_0x19835d,_0x49b9fa=new ConnectionShowCommand(),_0xa82ed8=program[_0x2f3c1e(0xb8)](),_0x1ab0dd=await createTDXInstance(_0xa82ed8),_0x4d7b31=await _0x49b9fa[_0x2f3c1e(0x212)]({'options':{..._0xa82ed8,..._0x131ddd},'args':[_0x29c45b],'tdx':_0x1ab0dd});gracefulExit(_0x4d7b31);}),connectionCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x19d))[a2_0x19835d(0xd4)](a2_0x19835d(0x121))[a2_0x19835d(0x169)](async(_0x21df29,_0x58369e)=>{const _0x54a387=a2_0x19835d,_0x5e84dc=new ConnectionSchemaCommand(),_0x5c6b04=program[_0x54a387(0xb8)](),_0x129097=await createTDXInstance(_0x5c6b04),_0x3acf64=await _0x5e84dc[_0x54a387(0x212)]({'options':{..._0x5c6b04,..._0x58369e},'args':[_0x21df29],'tdx':_0x129097});gracefulExit(_0x3acf64);}),connectionCmd[a2_0x19835d(0x2b1)]('types')[a2_0x19835d(0xd4)]('List\x20available\x20connector\x20types')[a2_0x19835d(0x169)](async _0x4ff0a6=>{const _0x47a94a=a2_0x19835d,_0x18e236=new ConnectionTypesCommand(),_0x48a7a7=program[_0x47a94a(0xb8)](),_0x30d946=await createTDXInstance(_0x48a7a7),_0x21d82f=await _0x18e236[_0x47a94a(0x212)]({'options':{..._0x48a7a7,..._0x4ff0a6},'args':[],'tdx':_0x30d946});gracefulExit(_0x21d82f);}),connectionCmd['command'](a2_0x19835d(0x182))[a2_0x19835d(0xd4)](a2_0x19835d(0x264))[a2_0x19835d(0x169)](async(_0x2fa55e,_0x129646)=>{const _0x107b75=a2_0x19835d,_0x478daf=new ConnectionSettingsCommand(),_0x285336=program[_0x107b75(0xb8)](),_0x1700c8=await createTDXInstance(_0x285336),_0x525591=await _0x478daf[_0x107b75(0x212)]({'options':{..._0x285336,..._0x129646},'args':[_0x2fa55e],'tdx':_0x1700c8});gracefulExit(_0x525591);});const journeyCmd=program[a2_0x19835d(0x2b1)](a2_0x19835d(0xc3))[a2_0x19835d(0xd4)](a2_0x19835d(0x35f)),journeyListAction=async(_0x3bd774,_0x556edc)=>{const _0x36e481=a2_0x19835d,_0x21be88=new JourneyListCommand(),_0x368820=program[_0x36e481(0xb8)](),_0x156435=await createTDXInstance(_0x368820),_0x205b06=await _0x21be88[_0x36e481(0x212)]({'options':{..._0x368820,..._0x556edc},'args':_0x3bd774?[_0x3bd774]:[],'tdx':_0x156435});gracefulExit(_0x205b06);};journeyCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x15e))[a2_0x19835d(0xd4)](a2_0x19835d(0x1db))[a2_0x19835d(0x169)](journeyListAction),journeyCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x115))[a2_0x19835d(0xd4)]('Show\x20journey\x20details')[a2_0x19835d(0x1f7)](a2_0x19835d(0x32e),a2_0x19835d(0x210))[a2_0x19835d(0x1f7)](a2_0x19835d(0x20b),'Include\x20execution\x20statistics')['action'](async(_0x3fe1ce,_0x1ffefc)=>{const _0xadfad1=a2_0x19835d,_0x1387f4=new JourneyViewCommand(),_0x232af4=program[_0xadfad1(0xb8)](),_0x4c7214=await createTDXInstance(_0x232af4),_0x43b657=await _0x1387f4['run']({'options':{..._0x232af4,..._0x1ffefc},'args':[_0x3fe1ce],'tdx':_0x4c7214});gracefulExit(_0x43b657);}),journeyCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x283))[a2_0x19835d(0xd4)](a2_0x19835d(0x258))[a2_0x19835d(0x1f7)]('--stage\x20<name>','Show\x20stats\x20for\x20specific\x20stage')[a2_0x19835d(0x1f7)]('--from\x20<date>',a2_0x19835d(0x254))[a2_0x19835d(0x1f7)]('--to\x20<date>',a2_0x19835d(0x16f))[a2_0x19835d(0x1f7)](a2_0x19835d(0x24c),a2_0x19835d(0x1bc))[a2_0x19835d(0x169)](async(_0x38402c,_0x148da9)=>{const _0x45daa4=a2_0x19835d,_0x1aa216=new JourneyStatsCommand(),_0x55036b=program[_0x45daa4(0xb8)](),_0x3f5f12=await createTDXInstance(_0x55036b),_0x4b644e=await _0x1aa216['run']({'options':{..._0x55036b,..._0x148da9},'args':[_0x38402c],'tdx':_0x3f5f12});gracefulExit(_0x4b644e);}),journeyCmd['command'](a2_0x19835d(0xd7))['description'](a2_0x19835d(0x2d6))['option'](a2_0x19835d(0x28d),a2_0x19835d(0x292))[a2_0x19835d(0x1f7)]('--from\x20<date>',a2_0x19835d(0x254))['option'](a2_0x19835d(0x326),a2_0x19835d(0x16f))[a2_0x19835d(0x1f7)]('--limit\x20<number>',a2_0x19835d(0x185),_0x2b844c=>{const _0x1b47b7=a2_0x19835d,_0x283f65=parseInt(_0x2b844c,0xa);if(isNaN(_0x283f65))throw new Error('Invalid\x20--limit\x20value:\x20\x22'+_0x2b844c+_0x1b47b7(0x1d7));return _0x283f65;})[a2_0x19835d(0x169)](async(_0x16ff9f,_0x2c1287)=>{const _0x5e9bf2=a2_0x19835d,_0x2c7c5e=new JourneyTrafficCommand(),_0x1f0d8a=program[_0x5e9bf2(0xb8)](),_0x1c041a=await createTDXInstance(_0x1f0d8a),_0x5db876=await _0x2c7c5e[_0x5e9bf2(0x212)]({'options':{..._0x1f0d8a,..._0x2c1287},'args':[_0x16ff9f],'tdx':_0x1c041a});gracefulExit(_0x5db876);}),journeyCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x2c2))[a2_0x19835d(0xd4)]('Pause\x20a\x20running\x20journey')[a2_0x19835d(0x169)](async(_0x3501c9,_0x4acab3)=>{const _0x30b725=a2_0x19835d,_0x39903b=new JourneyPauseCommand(),_0x490d32=program[_0x30b725(0xb8)](),_0x2bed32=await createTDXInstance(_0x490d32),_0x57d637=await _0x39903b[_0x30b725(0x212)]({'options':{..._0x490d32,..._0x4acab3},'args':[_0x3501c9],'tdx':_0x2bed32});gracefulExit(_0x57d637);}),journeyCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0xcc))[a2_0x19835d(0xd4)]('Resume\x20a\x20paused\x20journey')['action'](async(_0x3e8bf0,_0x30ef91)=>{const _0x2bcd11=a2_0x19835d,_0x3d4e00=new JourneyResumeCommand(),_0x4d9751=program[_0x2bcd11(0xb8)](),_0x34c2e0=await createTDXInstance(_0x4d9751),_0x1c2716=await _0x3d4e00[_0x2bcd11(0x212)]({'options':{..._0x4d9751,..._0x30ef91},'args':[_0x3e8bf0],'tdx':_0x34c2e0});gracefulExit(_0x1c2716);}),journeyCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x21b))[a2_0x19835d(0xd4)](a2_0x19835d(0x1e2))[a2_0x19835d(0x1f7)](a2_0x19835d(0x24a),a2_0x19835d(0x23a))['action'](async(_0x1b8e4e,_0x2d38df)=>{const _0x579459=a2_0x19835d,_0x4fcd82=new JourneyPullCommand(),_0x5e2aab=program[_0x579459(0xb8)](),_0x11f6b8=await createTDXInstance(_0x5e2aab),_0x3a0e62=await _0x4fcd82['run']({'options':{..._0x5e2aab,..._0x2d38df},'args':_0x1b8e4e?[_0x1b8e4e]:[],'tdx':_0x11f6b8});gracefulExit(_0x3a0e62);}),journeyCmd['command']('push\x20[target]')[a2_0x19835d(0xd4)](a2_0x19835d(0x1f6))[a2_0x19835d(0x169)](async(_0x455800,_0x1d3961)=>{const _0x591084=a2_0x19835d,_0x50f662=new JourneyPushCommand(),_0x53e3f5=program[_0x591084(0xb8)](),_0x432fbc=await createTDXInstance(_0x53e3f5),_0x3b12dd=await _0x50f662[_0x591084(0x212)]({'options':{..._0x53e3f5,..._0x1d3961},'args':_0x455800?[_0x455800]:[],'tdx':_0x432fbc});gracefulExit(_0x3b12dd);}),journeyCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x1fc))['description'](a2_0x19835d(0x2b9))[a2_0x19835d(0x169)](async(_0x4fd76d,_0x2a9508)=>{const _0x16a840=a2_0x19835d,_0x47475c=new JourneyColumnsCommand(),_0x919a22=program[_0x16a840(0xb8)](),_0x2f39e9=await createTDXInstance(_0x919a22),_0x25cd2d=await _0x47475c[_0x16a840(0x212)]({'options':{..._0x919a22,..._0x2a9508},'args':[_0x4fd76d],'tdx':_0x2f39e9});gracefulExit(_0x25cd2d);}),journeyCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0xc7))[a2_0x19835d(0xd4)](a2_0x19835d(0xd8))[a2_0x19835d(0x169)](async(_0x2aa888,_0x2b8611)=>{const _0x48c2aa=a2_0x19835d,_0x13d4f3=new JourneyActivationsCommand(),_0x110cea=program[_0x48c2aa(0xb8)](),_0x19e937=await createTDXInstance(_0x110cea),_0x4a756b=await _0x13d4f3[_0x48c2aa(0x212)]({'options':{..._0x110cea,..._0x2b8611},'args':[_0x2aa888],'tdx':_0x19e937});gracefulExit(_0x4a756b);}),journeyCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x302))[a2_0x19835d(0xd4)](a2_0x19835d(0x23b))[a2_0x19835d(0x169)](async(_0x1adc8e,_0x5a149)=>{const _0x1ca62b=a2_0x19835d,_0x4185af=new JourneyVersionsCommand(),_0x31da36=program[_0x1ca62b(0xb8)](),_0x447aba=await createTDXInstance(_0x31da36),_0x272780=await _0x4185af['run']({'options':{..._0x31da36,..._0x5a149},'args':[_0x1adc8e],'tdx':_0x447aba});gracefulExit(_0x272780);});const journeyVersionCmd=journeyCmd['command']('version')[a2_0x19835d(0xd4)](a2_0x19835d(0xc8));journeyVersionCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x27a))[a2_0x19835d(0xd4)](a2_0x19835d(0x152))[a2_0x19835d(0x169)](async(_0x391d19,_0xf678f4)=>{const _0x2bfcb4=a2_0x19835d,_0x564f74=new JourneyVersionCreateCommand(),_0x581096=program['opts'](),_0x34d472=await createTDXInstance(_0x581096),_0x2b8da8=await _0x564f74[_0x2bfcb4(0x212)]({'options':{..._0x581096,..._0xf678f4},'args':[_0x391d19],'tdx':_0x34d472});gracefulExit(_0x2b8da8);}),journeyVersionCmd[a2_0x19835d(0x2b1)]('view\x20<name-or-path>')[a2_0x19835d(0xd4)](a2_0x19835d(0x2aa))[a2_0x19835d(0xf9)](a2_0x19835d(0x33b),a2_0x19835d(0x20d))[a2_0x19835d(0x169)](async(_0x20f3c7,_0xbc88bc)=>{const _0x36865c=a2_0x19835d,_0x49a850=new JourneyVersionViewCommand(),_0x1c6541=program[_0x36865c(0xb8)](),_0x2d354a=await createTDXInstance(_0x1c6541),_0x6b5933=await _0x49a850[_0x36865c(0x212)]({'options':{..._0x1c6541,..._0xbc88bc},'args':[_0x20f3c7],'tdx':_0x2d354a});gracefulExit(_0x6b5933);}),journeyCmd['command'](a2_0x19835d(0xbc))['description'](a2_0x19835d(0x1c2))[a2_0x19835d(0x169)](async(_0x1ee3bc,_0x15f523)=>{const _0x1eef68=a2_0x19835d,_0x4ed372=new JourneyValidateCommand(),_0xa39fa9=program[_0x1eef68(0xb8)](),_0x44709f=await createTDXInstance(_0xa39fa9),_0x15678a=await _0x4ed372[_0x1eef68(0x212)]({'options':{..._0xa39fa9,..._0x15f523},'args':_0x1ee3bc?[_0x1ee3bc]:[],'tdx':_0x44709f});gracefulExit(_0x15678a);}),program[a2_0x19835d(0x2b1)]('journeys\x20[pattern]')[a2_0x19835d(0xd4)](a2_0x19835d(0x16d))[a2_0x19835d(0x169)](journeyListAction);const agentSyncCmd=program['command'](a2_0x19835d(0xb3))['description'](a2_0x19835d(0xce));agentSyncCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x1d0))[a2_0x19835d(0xd4)]('Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files')[a2_0x19835d(0x1f7)](a2_0x19835d(0xd2),a2_0x19835d(0x200))['option'](a2_0x19835d(0x25c),a2_0x19835d(0x28e))[a2_0x19835d(0x1f7)](a2_0x19835d(0x1af),a2_0x19835d(0x239))[a2_0x19835d(0x169)](async(_0x289f2c,_0x240db1,_0xa7def6)=>{const _0xde274c=a2_0x19835d,_0xb82291=new AgentPullCommand(),_0x30bb69=program[_0xde274c(0xb8)](),_0x1867f4=await createTDXInstance(_0x30bb69),_0xea8ba0=[];if(_0x289f2c)_0xea8ba0[_0xde274c(0x249)](_0x289f2c);if(_0x240db1)_0xea8ba0[_0xde274c(0x249)](_0x240db1);const _0xf9ff03=await _0xb82291['run']({'options':{..._0x30bb69,..._0xa7def6},'args':_0xea8ba0,'tdx':_0x1867f4});gracefulExit(_0xf9ff03);}),agentSyncCmd[a2_0x19835d(0x2b1)]('push\x20[path]')['description'](a2_0x19835d(0x173))['option'](a2_0x19835d(0x25c),a2_0x19835d(0x224))[a2_0x19835d(0x169)](async(_0x29de94,_0x5169f4)=>{const _0x184dff=a2_0x19835d,_0x2d0a7f=new AgentPushCommand(),_0x4775c4=program[_0x184dff(0xb8)](),_0x98b349=await createTDXInstance(_0x4775c4),_0x2fd129=await _0x2d0a7f[_0x184dff(0x212)]({'options':{..._0x4775c4,..._0x5169f4},'args':_0x29de94?[_0x29de94]:[],'tdx':_0x98b349});gracefulExit(_0x2fd129);}),agentSyncCmd['command'](a2_0x19835d(0x266))[a2_0x19835d(0xd4)]('Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project')[a2_0x19835d(0x1f7)]('-n,\x20--name\x20<name>','Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x19835d(0x169)](async(_0x3edcc2,_0x4fbac2)=>{const _0x24e867=a2_0x19835d,_0x7a44d2=new AgentCloneCommand(),_0x476e74=program[_0x24e867(0xb8)](),_0x240830=await createTDXInstance(_0x476e74),_0x3a9c1e=await _0x7a44d2[_0x24e867(0x212)]({'options':{..._0x476e74,..._0x4fbac2},'args':_0x3edcc2?[_0x3edcc2]:[],'tdx':_0x240830});gracefulExit(_0x3a9c1e);}),agentSyncCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x25d))[a2_0x19835d(0xd4)]('Run\x20tests\x20for\x20an\x20LLM\x20agent')[a2_0x19835d(0x1f7)]('--name\x20<names>','Run\x20specific\x20tests\x20(comma-separated)')[a2_0x19835d(0x1f7)](a2_0x19835d(0xbf),a2_0x19835d(0x19f))[a2_0x19835d(0x1f7)](a2_0x19835d(0x24a),a2_0x19835d(0xc1))[a2_0x19835d(0x1f7)](a2_0x19835d(0x30f),a2_0x19835d(0x1cc))[a2_0x19835d(0x1f7)](a2_0x19835d(0x2f7),a2_0x19835d(0x28a))['action'](async(_0x59343d,_0x46bdd1)=>{const _0x1cbd16=a2_0x19835d,_0x260bb0=new AgentTestCommand(),_0x43a635=program[_0x1cbd16(0xb8)](),_0x1449b1=await createTDXInstance(_0x43a635),_0x3a2249=await _0x260bb0[_0x1cbd16(0x212)]({'options':{..._0x43a635,..._0x46bdd1},'args':_0x59343d?[_0x59343d]:[],'tdx':_0x1449b1});gracefulExit(_0x3a2249);}),agentSyncCmd[a2_0x19835d(0x2b1)]('list\x20[pattern]')[a2_0x19835d(0xd4)](a2_0x19835d(0x1ef))[a2_0x19835d(0x169)](llmAgentListAction),agentSyncCmd['command'](a2_0x19835d(0x297))['description']('Show\x20agent\x20details')[a2_0x19835d(0x169)](async(_0x686aee,_0x5954ea)=>{const _0x3e301d=a2_0x19835d,_0x4e35c8=new LLMAgentShowCommand(),_0x6c593c=program[_0x3e301d(0xb8)](),_0x1cd4d9=await createTDXInstance(_0x6c593c),_0x39b7ce=await _0x4e35c8['run']({'options':{..._0x6c593c,..._0x5954ea},'args':[_0x686aee],'tdx':_0x1cd4d9});gracefulExit(_0x39b7ce);}),agentSyncCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x2f3))['description'](a2_0x19835d(0x347))[a2_0x19835d(0x1f7)]('--system-prompt\x20<text>',a2_0x19835d(0x11f))[a2_0x19835d(0x1f7)](a2_0x19835d(0x26d),a2_0x19835d(0x2b4),a2_0x19835d(0x271))['option'](a2_0x19835d(0x12a),'Starter\x20message')[a2_0x19835d(0x1f7)](a2_0x19835d(0x15f),'Maximum\x20tool\x20iterations\x20(default:\x204)','4')[a2_0x19835d(0x1f7)](a2_0x19835d(0x1e3),'Temperature\x20(0.0-2.0,\x20default:\x200.7)',a2_0x19835d(0x299))['action'](async(_0x36ffb6,_0x2c2316)=>{const _0x246568=a2_0x19835d,_0x52953b=new LLMAgentCreateCommand(),_0x28d964=program[_0x246568(0xb8)](),_0x136925=await createTDXInstance(_0x28d964),_0x57687e=await _0x52953b[_0x246568(0x212)]({'options':{..._0x28d964,..._0x2c2316},'args':[_0x36ffb6],'tdx':_0x136925});gracefulExit(_0x57687e);}),agentSyncCmd[a2_0x19835d(0x2b1)](a2_0x19835d(0x197))['description'](a2_0x19835d(0x1b8))['option'](a2_0x19835d(0x2a8),a2_0x19835d(0x1a5))[a2_0x19835d(0x1f7)]('--prompt\x20<text>',a2_0x19835d(0x306))[a2_0x19835d(0x1f7)](a2_0x19835d(0x2f1),a2_0x19835d(0x132))['option'](a2_0x19835d(0x12a),'Starter\x20message')[a2_0x19835d(0x169)](async(_0x46b72f,_0x39620a)=>{const _0x521d2c=a2_0x19835d,_0x51c243=new LLMAgentUpdateCommand(),_0x2d484c=program[_0x521d2c(0xb8)](),_0x575709=await createTDXInstance(_0x2d484c),_0x1b5d3a=await _0x51c243[_0x521d2c(0x212)]({'options':{..._0x2d484c,..._0x39620a},'args':[_0x46b72f],'tdx':_0x575709});gracefulExit(_0x1b5d3a);}),agentSyncCmd['command']('delete\x20<agent-name>')['description'](a2_0x19835d(0x309))[a2_0x19835d(0x169)](async(_0x37a924,_0x45da0c)=>{const _0x3d11b5=a2_0x19835d,_0x3c1d99=new LLMAgentDeleteCommand(),_0x4c62c5=program[_0x3d11b5(0xb8)](),_0xaffcdc=await createTDXInstance(_0x4c62c5),_0x4f4336=await _0x3c1d99[_0x3d11b5(0x212)]({'options':{..._0x4c62c5,..._0x45da0c},'args':[_0x37a924],'tdx':_0xaffcdc});gracefulExit(_0x4f4336);}),program[a2_0x19835d(0x2b1)](a2_0x19835d(0x35e),{'hidden':!![]})[a2_0x19835d(0x169)](()=>{const _0x1dd34b=a2_0x19835d;function _0xa823ff(_0x480967,_0xe9f621){const _0xa434b6=a2_0x5509,_0x1479e4=[];for(const _0x535e12 of _0x480967[_0xa434b6(0x24e)]){if(_0x535e12[_0xa434b6(0x18b)])continue;const _0x4ac179=_0xe9f621?_0xe9f621+'\x20'+_0x535e12[_0xa434b6(0x2ba)]():_0x535e12[_0xa434b6(0x2ba)](),_0x507a19=_0x4ac179[_0xa434b6(0x1bb)]('\x20')[0x0],_0x5b70ac=COMMAND_CATEGORIES['find'](_0x2a6979=>_0x2a6979[_0xa434b6(0x24e)][_0xa434b6(0x1ce)](_0x507a19)),_0xbe203c=_0x5b70ac?.['name']??'';if(_0x535e12['commands'][_0xa434b6(0xcb)]>0x0)_0x1479e4['push'](..._0xa823ff(_0x535e12,_0x4ac179));else{const _0x201aec=(_0x535e12[_0xa434b6(0x14e)]||[])[_0xa434b6(0x150)](_0x98db19=>{const _0x1fe3eb=_0xa434b6,_0x47f9c9=_0x98db19[_0x1fe3eb(0x10d)]?_0x98db19['name']()+_0x1fe3eb(0x1e5):_0x98db19[_0x1fe3eb(0x2ba)]();return _0x98db19[_0x1fe3eb(0xc0)]?'<'+_0x47f9c9+'>':'['+_0x47f9c9+']';})['join']('\x20'),_0x301161=_0x535e12[_0xa434b6(0x22d)][_0xa434b6(0x2c6)](_0x568dbf=>!_0x568dbf[_0xa434b6(0x358)]&&_0x568dbf['long']!==_0xa434b6(0xd5))[_0xa434b6(0x150)](_0x35548b=>({'flags':_0x35548b[_0xa434b6(0x1be)],'description':_0x35548b[_0xa434b6(0xd4)]}));_0x1479e4[_0xa434b6(0x249)]({'name':_0x4ac179,'description':_0x535e12[_0xa434b6(0xd4)](),'group':_0xbe203c,'usage':_0x201aec,'options':_0x301161});}}return _0x1479e4;}console[_0x1dd34b(0x216)](JSON[_0x1dd34b(0x233)](_0xa823ff(program,''))),process[_0x1dd34b(0x232)](0x0);});export{program};export function runCLI(){const _0x3a66c8=a2_0x19835d,_0x2f4641=!process[_0x3a66c8(0x29d)][_0x3a66c8(0x34b)](0x2)[_0x3a66c8(0xcb)];showBriefHelp=_0x2f4641,program[_0x3a66c8(0x284)](process[_0x3a66c8(0x29d)]);_0x2f4641&&program[_0x3a66c8(0x323)]();if(process[_0x3a66c8(0x276)][_0x3a66c8(0x27d)]&&process['argv'][_0x3a66c8(0xcb)]>0x2&&!isDevVersion()){const _0xaad47c=loadReleaseChannel();checkForUpdate(currentVersion,_0xaad47c)['then'](_0x179522=>{_0x179522&&displayUpdateNotification(_0x179522);})[_0x3a66c8(0x308)](()=>{});}}
1
+ const a2_0xeb8183=a2_0x44dc;(function(_0x2ee48b,_0x29d1aa){const _0x4c778a=a2_0x44dc,_0x2c2c7f=_0x2ee48b();while(!![]){try{const _0xbbf919=parseInt(_0x4c778a(0x354))/0x1+parseInt(_0x4c778a(0x273))/0x2*(-parseInt(_0x4c778a(0x44e))/0x3)+-parseInt(_0x4c778a(0x2b1))/0x4+-parseInt(_0x4c778a(0x461))/0x5+-parseInt(_0x4c778a(0x1ef))/0x6*(parseInt(_0x4c778a(0x3b5))/0x7)+-parseInt(_0x4c778a(0x3d2))/0x8+-parseInt(_0x4c778a(0x258))/0x9*(-parseInt(_0x4c778a(0x20e))/0xa);if(_0xbbf919===_0x29d1aa)break;else _0x2c2c7f['push'](_0x2c2c7f['shift']());}catch(_0x2a9103){_0x2c2c7f['push'](_0x2c2c7f['shift']());}}}(a2_0x40ed,0x57033));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';function a2_0x44dc(_0x820564,_0x5bf7ec){_0x820564=_0x820564-0x1bf;const _0x40ed29=a2_0x40ed();let _0x44dc83=_0x40ed29[_0x820564];return _0x44dc83;}import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSPzListCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{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['argv']['includes'](a2_0xeb8183(0x3b1))){let versionOutput=a2_0xeb8183(0x259)+currentVersion;buildInfo[a2_0xeb8183(0x2d8)]&&!currentVersion[a2_0xeb8183(0x290)](buildInfo[a2_0xeb8183(0x2d8)])&&(versionOutput+='\x20('+buildInfo[a2_0xeb8183(0x2d8)]+')'),buildInfo['buildTime']&&(versionOutput+='\x20-\x20built\x20'+buildInfo[a2_0xeb8183(0x38c)]),console[a2_0xeb8183(0x28e)](versionOutput),process[a2_0xeb8183(0x359)](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0xeb8183(0x443);buildInfo[a2_0xeb8183(0x2d8)]&&!currentVersion[a2_0xeb8183(0x290)](buildInfo['gitRevision'])?description+=',\x20version\x20'+currentVersion+'\x20('+buildInfo[a2_0xeb8183(0x2d8)]+')':description+=',\x20version\x20'+currentVersion;program[a2_0xeb8183(0x335)](a2_0xeb8183(0x37a))[a2_0xeb8183(0x33a)](description),program['option'](a2_0xeb8183(0x31f),'Change\x20to\x20directory\x20before\x20executing\x20command')[a2_0xeb8183(0x229)](a2_0xeb8183(0x341),'Profile\x20to\x20use\x20(overrides\x20active\x20profile)')['option']('--site\x20<site>',a2_0xeb8183(0x447),a2_0xeb8183(0x326))[a2_0xeb8183(0x229)]('--format\x20<format>',a2_0xeb8183(0x45f))[a2_0xeb8183(0x229)](a2_0xeb8183(0x32f),a2_0xeb8183(0x2d2))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e2),a2_0xeb8183(0x23f))[a2_0xeb8183(0x229)]('--jsonl','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')[a2_0xeb8183(0x229)]('--tsv','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)')['option'](a2_0xeb8183(0x401),a2_0xeb8183(0x21a))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3fe),a2_0xeb8183(0x378))[a2_0xeb8183(0x229)]('--color','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0xeb8183(0x229)](a2_0xeb8183(0x437),a2_0xeb8183(0x37d),![])[a2_0xeb8183(0x229)](a2_0xeb8183(0x36c),a2_0xeb8183(0x35c),![])[a2_0xeb8183(0x229)]('--debug','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)')['option']('--trace',a2_0xeb8183(0x379))[a2_0xeb8183(0x229)](a2_0xeb8183(0x387),a2_0xeb8183(0x24b),'30')[a2_0xeb8183(0x229)](a2_0xeb8183(0x271),a2_0xeb8183(0x254),![])[a2_0xeb8183(0x229)](a2_0xeb8183(0x41f),'Skip\x20confirmation\x20prompts',![])[a2_0xeb8183(0x229)](a2_0xeb8183(0x1f2),a2_0xeb8183(0x2a4))['option']('--parent-segment\x20<name>',a2_0xeb8183(0x357))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2c5),a2_0xeb8183(0x374)),program[a2_0xeb8183(0x1db)]({'formatHelp':(_0x54b9dc,_0x43220b)=>{const _0x4ec73f=a2_0xeb8183,_0x482ba7=_0x43220b[_0x4ec73f(0x432)](_0x54b9dc,_0x43220b),_0x52a7d7=0x2,_0x4abb95=0x2;function _0x579477(_0x55aacc){const _0x4be854=_0x4ec73f,_0x361962=_0x55aacc;return!!(_0x361962['_hidden']||_0x361962[_0x4be854(0x25a)]);}function _0x163e3f(_0x5608ea,_0x4ea536){if(_0x4ea536){const _0x494771=''+_0x5608ea['padEnd'](_0x482ba7+_0x4abb95)+_0x4ea536;return _0x494771;}return _0x5608ea;}function _0x437e5b(_0x13f88f){const _0xbe33f7=_0x4ec73f;return _0x13f88f[_0xbe33f7(0x429)]('\x0a')['replace'](/^/gm,'\x20'['repeat'](_0x52a7d7));}const _0x536c17=[];_0x536c17[_0x4ec73f(0x395)](_0x4ec73f(0x422)+_0x43220b[_0x4ec73f(0x36d)](_0x54b9dc));const _0x409600=_0x43220b[_0x4ec73f(0x339)](_0x54b9dc);_0x409600&&(_0x536c17[_0x4ec73f(0x395)](''),_0x536c17['push'](_0x409600));const _0x221c7a=_0x54b9dc[_0x4ec73f(0x3b4)][_0x4ec73f(0x30a)](_0x570784=>!_0x579477(_0x570784));if(_0x221c7a['length']>0x0){if(_0x54b9dc[_0x4ec73f(0x335)]()===_0x4ec73f(0x37a)){const _0x269857=_0x54b9dc[_0x4ec73f(0x3cf)](),_0x2be437=!_0x269857[_0x4ec73f(0x3a7)]&&process[_0x4ec73f(0x2cf)][_0x4ec73f(0x276)],_0x5025ca=COMMAND_CATEGORIES,_0xcd9bda=(_0x395143,_0x26cb2f)=>_0x2be437?_0x26cb2f(_0x395143):_0x395143,_0xf3416f=new Map();_0x221c7a[_0x4ec73f(0x1cc)](_0x475a2f=>{const _0x4afbe6=_0x4ec73f;_0xf3416f[_0x4afbe6(0x3ae)](_0x475a2f[_0x4afbe6(0x335)](),_0x475a2f);}),_0x5025ca[_0x4ec73f(0x1cc)](_0x118270=>{const _0x9caafc=_0x4ec73f,_0x9d9654=_0x118270[_0x9caafc(0x3b4)][_0x9caafc(0x1c4)](_0x12abc9=>_0xf3416f[_0x9caafc(0x433)](_0x12abc9)??[]);if(_0x9d9654[_0x9caafc(0x262)]>0x0){_0x536c17['push'](''),_0x536c17[_0x9caafc(0x395)](_0xcd9bda(_0x118270[_0x9caafc(0x335)]+':',_0x118270[_0x9caafc(0x1eb)]));const _0x561dd4=_0x9d9654[_0x9caafc(0x260)](_0x403974=>{const _0x3e37e5=_0x9caafc,_0x469b2b=_0x43220b['subcommandTerm'](_0x403974),_0x44ae91=_0x43220b[_0x3e37e5(0x396)](_0x403974);return _0x163e3f(_0x469b2b,_0x44ae91);});_0x536c17['push'](_0x437e5b(_0x561dd4));}}),_0x536c17[_0x4ec73f(0x395)](''),_0x536c17['push'](_0x4ec73f(0x40c));}else{const _0x280c39=_0x221c7a['map'](_0x20efca=>{const _0x147d5b=_0x4ec73f,_0x5fc524=_0x43220b['subcommandTerm'](_0x20efca),_0x366f19=_0x43220b[_0x147d5b(0x396)](_0x20efca);return _0x163e3f(_0x5fc524,_0x366f19);});_0x536c17['push'](''),_0x536c17['push'](_0x4ec73f(0x40a)),_0x536c17[_0x4ec73f(0x395)](_0x437e5b(_0x280c39));}}if(showBriefHelp&&_0x54b9dc['name']()===_0x4ec73f(0x37a))_0x536c17[_0x4ec73f(0x395)](''),_0x536c17[_0x4ec73f(0x395)](_0x4ec73f(0x3f4));else{const _0x16d779=_0x54b9dc[_0x4ec73f(0x452)][_0x4ec73f(0x30a)](_0xd0f363=>!_0x579477(_0xd0f363));if(_0x16d779[_0x4ec73f(0x262)]>0x0){const _0x3a50b8=_0x16d779['map'](_0x5e8f64=>{const _0x3bb0ba=_0x4ec73f,_0x1e0117=_0x43220b['optionTerm'](_0x5e8f64),_0x914027=_0x43220b[_0x3bb0ba(0x1f8)](_0x5e8f64);return _0x163e3f(_0x1e0117,_0x914027);});_0x536c17[_0x4ec73f(0x395)](''),_0x536c17[_0x4ec73f(0x395)](_0x4ec73f(0x3db)),_0x536c17[_0x4ec73f(0x395)](_0x437e5b(_0x3a50b8));}}const _0xcad648=(_0x54b9dc[_0x4ec73f(0x347)]||[])['filter'](_0x3e21e1=>!_0x579477(_0x3e21e1));if(_0xcad648['length']>0x0){const _0x38682b=_0xcad648[_0x4ec73f(0x260)](_0x1daae9=>{const _0x99d481=_0x4ec73f,_0x3d4112=_0x43220b[_0x99d481(0x30c)](_0x1daae9),_0x225eab=_0x43220b[_0x99d481(0x1c9)](_0x1daae9);return _0x163e3f(_0x3d4112,_0x225eab);});_0x536c17[_0x4ec73f(0x395)](''),_0x536c17['push']('Arguments:'),_0x536c17['push'](_0x437e5b(_0x38682b));}return _0x536c17[_0x4ec73f(0x429)]('\x0a')+'\x0a';},'subcommandTerm':_0x5942e9=>{const _0x599dbd=a2_0xeb8183,_0x4ef77b=(_0x5942e9[_0x599dbd(0x347)]||[])['map'](_0x1d3511=>_0x1d3511[_0x599dbd(0x2b6)]?'<'+_0x1d3511[_0x599dbd(0x335)]()+'>':'['+_0x1d3511[_0x599dbd(0x335)]()+']')[_0x599dbd(0x429)]('\x20'),_0x20ac18=_0x5942e9[_0x599dbd(0x1ca)](),_0x23bba9=_0x20ac18['length']>0x0?_0x5942e9[_0x599dbd(0x335)]()+',\x20'+_0x20ac18['join'](',\x20'):_0x5942e9['name']();return _0x4ef77b?_0x23bba9+'\x20'+_0x4ef77b:_0x23bba9;}}),program[a2_0xeb8183(0x1cd)](a2_0xeb8183(0x424),_0x25b1a3=>{const _0x4aa994=a2_0xeb8183,_0x45c095=_0x25b1a3['opts']();if(_0x45c095[_0x4aa994(0x249)]){const _0x503013=resolve(_0x45c095[_0x4aa994(0x249)]),_0x4ae32d=_0x503013!==_0x45c095[_0x4aa994(0x249)]?_0x4aa994(0x2e1)+_0x503013+')':'';if(!existsSync(_0x503013))throw new SDKError(ErrorCode[_0x4aa994(0x319)],'Directory\x20does\x20not\x20exist:\x20'+_0x45c095['directory']+_0x4ae32d,undefined,{'helpText':_0x4aa994(0x3f9)});const _0x3adcda=statSync(_0x503013);if(!_0x3adcda['isDirectory']())throw new SDKError(ErrorCode[_0x4aa994(0x319)],_0x4aa994(0x39d)+_0x45c095['directory']+_0x4ae32d,undefined,{'helpText':_0x4aa994(0x2df)});process[_0x4aa994(0x2dd)](_0x503013);}if(!_0x45c095['format']){if(_0x45c095[_0x4aa994(0x3f2)])_0x45c095['format']='table';else{if(_0x45c095['json'])_0x45c095[_0x4aa994(0x451)]=_0x4aa994(0x1ce);else{if(_0x45c095[_0x4aa994(0x250)])_0x45c095['format']=_0x4aa994(0x250);else _0x45c095[_0x4aa994(0x20b)]&&(_0x45c095['format']='tsv');}}}if(_0x45c095[_0x4aa994(0x318)])_0x45c095['logLevel']=LogLevel[_0x4aa994(0x247)];else{if(_0x45c095['debug'])_0x45c095[_0x4aa994(0x2ed)]=LogLevel['DEBUG'];else _0x45c095[_0x4aa994(0x2ed)]===undefined&&(_0x45c095['logLevel']=LogLevel[_0x4aa994(0x44f)]);}});async function createTDXInstance(_0x3fd2e9){const _0x117ccc=a2_0xeb8183,_0x20d43d=await GlobalContext[_0x117ccc(0x210)](_0x3fd2e9);return _0x20d43d[_0x117ccc(0x431)](_0x3fd2e9),TDX[_0x117ccc(0x2ee)]({'site':_0x20d43d[_0x117ccc(0x2ce)],'apiKey':_0x20d43d['apiKey'],'logLevel':_0x20d43d['logLevel'],'profile':_0x20d43d['profile']});}const databaseCmd=program[a2_0xeb8183(0x274)](a2_0xeb8183(0x3f0))[a2_0xeb8183(0x2a9)]('db')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x288)),databaseListAction=async(_0x5d5ee4,_0x5d9795)=>{const _0x21deef=a2_0xeb8183,_0x328b4e=new DatabasesCommand(),_0x3c52a7=program[_0x21deef(0x3cf)](),_0x489d8b=await createTDXInstance(_0x3c52a7),_0xab88dc=await _0x328b4e[_0x21deef(0x1f4)]({'options':{..._0x3c52a7,..._0x5d9795},'args':_0x5d5ee4?[_0x5d5ee4]:[],'tdx':_0x489d8b});gracefulExit(_0xab88dc);};databaseCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x388))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x37f))['action'](databaseListAction),program[a2_0xeb8183(0x274)](a2_0xeb8183(0x37b),{'hidden':!![]})[a2_0xeb8183(0x33a)](a2_0xeb8183(0x29f))[a2_0xeb8183(0x1f5)](databaseListAction),program[a2_0xeb8183(0x274)](a2_0xeb8183(0x233))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x27c))['option']('--agent\x20<ref>',a2_0xeb8183(0x457))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3df),a2_0xeb8183(0x200))['option'](a2_0xeb8183(0x2cc),a2_0xeb8183(0x407))[a2_0xeb8183(0x229)]('--stream',a2_0xeb8183(0x22d))['action'](async(_0x413806,_0x49dfbf)=>{const _0x18036e=a2_0xeb8183,_0x3bb398=program['opts'](),_0x564397=await createTDXInstance(_0x3bb398);if(_0x413806[0x0]==='create'){const _0x5a4801=new ChatCreateCommand();gracefulExit(await _0x5a4801[_0x18036e(0x1f4)]({'options':{..._0x3bb398,..._0x49dfbf},'args':_0x413806[_0x18036e(0x3f5)](0x1),'tdx':_0x564397}));return;}const _0xc76e8=new ChatCommand(),_0x3387f2=await _0xc76e8[_0x18036e(0x1f4)]({'options':{..._0x3bb398,..._0x49dfbf},'args':_0x413806,'tdx':_0x564397});gracefulExit(_0x3387f2);});const apiCmd=program[a2_0xeb8183(0x274)](a2_0xeb8183(0x442))[a2_0xeb8183(0x212)](a2_0xeb8183(0x3ac))[a2_0xeb8183(0x380)](a2_0xeb8183(0x39c),a2_0xeb8183(0x2bf))[a2_0xeb8183(0x229)]('-X,\x20--method\x20<method>',a2_0xeb8183(0x1c3),a2_0xeb8183(0x293))[a2_0xeb8183(0x229)]('--data\x20<data>',a2_0xeb8183(0x35d))[a2_0xeb8183(0x229)](a2_0xeb8183(0x363),a2_0xeb8183(0x246))[a2_0xeb8183(0x229)]('-H,\x20--header\x20<header>',a2_0xeb8183(0x291),(_0x3033f8,_0x1d4567)=>{return _0x1d4567?[..._0x1d4567,_0x3033f8]:[_0x3033f8];})[a2_0xeb8183(0x229)]('--type\x20<api_type>',a2_0xeb8183(0x220),'td')[a2_0xeb8183(0x1f5)](async(_0x1c728e,_0x3e138e)=>{const _0x1d9544=a2_0xeb8183;if(!_0x1c728e){apiCmd[_0x1d9544(0x2be)]();return;}const _0x22abe5=new ApiCommand(),_0x536ead=program['opts'](),_0x5257f7=await createTDXInstance(_0x536ead),_0x2c7324=await _0x22abe5[_0x1d9544(0x1f4)]({'options':{..._0x536ead,..._0x3e138e},'args':[_0x1c728e],'tdx':_0x5257f7});gracefulExit(_0x2c7324);});program[a2_0xeb8183(0x274)]('mcp')[a2_0xeb8183(0x33a)]('Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration')[a2_0xeb8183(0x380)](a2_0xeb8183(0x39c),a2_0xeb8183(0x352))[a2_0xeb8183(0x1f5)](async _0x1ec77a=>{const _0x2e14ab=a2_0xeb8183,_0x21ed67=new MCPCommand(),_0x3cbeec=program[_0x2e14ab(0x3cf)](),_0x34e22e=await createTDXInstance(_0x3cbeec),_0x2ecf00=await _0x21ed67[_0x2e14ab(0x1f4)]({'options':{..._0x3cbeec,..._0x1ec77a},'args':[],'tdx':_0x34e22e});gracefulExit(_0x2ecf00);});const tableCmd=program['command']('table')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x20c)),tableListAction=async(_0x46777a,_0x583a1a)=>{const _0x16138d=a2_0xeb8183,_0x1c3989=new TablesCommand(),_0x1c43e0=program[_0x16138d(0x3cf)](),_0x2b9055=await createTDXInstance(_0x1c43e0);_0x583a1a['in']&&(_0x583a1a[_0x16138d(0x3f0)]=_0x583a1a['in']);const _0x42a1ef=await _0x1c3989[_0x16138d(0x1f4)]({'options':{..._0x1c43e0,..._0x583a1a},'args':_0x46777a?[_0x46777a]:[],'tdx':_0x2b9055});gracefulExit(_0x42a1ef);};tableCmd['command'](a2_0xeb8183(0x388))[a2_0xeb8183(0x33a)]('List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)')[a2_0xeb8183(0x229)]('-d,\x20--database\x20<database>',a2_0xeb8183(0x38e))['option'](a2_0xeb8183(0x294),a2_0xeb8183(0x2fd))[a2_0xeb8183(0x1f5)](tableListAction),program[a2_0xeb8183(0x274)](a2_0xeb8183(0x3e0),{'hidden':!![]})[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2cd))[a2_0xeb8183(0x229)]('-d,\x20--database\x20<database>',a2_0xeb8183(0x38e))[a2_0xeb8183(0x229)](a2_0xeb8183(0x294),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0xeb8183(0x1f5)](tableListAction),program[a2_0xeb8183(0x274)]('show\x20[table]')['description'](a2_0xeb8183(0x242))['option']('-d,\x20--database\x20<database>',a2_0xeb8183(0x302))[a2_0xeb8183(0x229)]('--in\x20<database>',a2_0xeb8183(0x2fd))['action'](async(_0x1ee7de,_0xd03a32)=>{const _0x353d29=a2_0xeb8183,_0x516845=new ShowCommand(),_0x325d7b=program[_0x353d29(0x3cf)](),_0x38fee9=await createTDXInstance(_0x325d7b);_0xd03a32['in']&&(_0xd03a32[_0x353d29(0x3f0)]=_0xd03a32['in']);const _0x3e6247=await _0x516845[_0x353d29(0x1f4)]({'options':{..._0x325d7b,..._0xd03a32},'args':_0x1ee7de?[_0x1ee7de]:[],'tdx':_0x38fee9});gracefulExit(_0x3e6247);}),program[a2_0xeb8183(0x274)](a2_0xeb8183(0x207))['alias'](a2_0xeb8183(0x1f0))['description'](a2_0xeb8183(0x1d1))[a2_0xeb8183(0x229)]('-d,\x20--database\x20<database>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x294),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](async(_0x4982f2,_0x28565f)=>{const _0x53e362=a2_0xeb8183,_0x24553a=new DescribeCommand(),_0x44df0d=program[_0x53e362(0x3cf)](),_0x1eec67=await createTDXInstance(_0x44df0d);_0x28565f['in']&&(_0x28565f[_0x53e362(0x3f0)]=_0x28565f['in']);const _0x3fa200=await _0x24553a[_0x53e362(0x1f4)]({'options':{..._0x44df0d,..._0x28565f},'args':_0x4982f2?[_0x4982f2]:[],'tdx':_0x1eec67});gracefulExit(_0x3fa200);}),program[a2_0xeb8183(0x274)](a2_0xeb8183(0x448))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2b3))[a2_0xeb8183(0x229)](a2_0xeb8183(0x243),a2_0xeb8183(0x21d))[a2_0xeb8183(0x229)]('--in\x20<database>',a2_0xeb8183(0x2fd))[a2_0xeb8183(0x229)](a2_0xeb8183(0x397),a2_0xeb8183(0x1e0))[a2_0xeb8183(0x229)]('-f,\x20--file\x20<path>',a2_0xeb8183(0x399))[a2_0xeb8183(0x229)](a2_0xeb8183(0x348),a2_0xeb8183(0x21c),'40')[a2_0xeb8183(0x1f5)](async(_0x556110,_0x559aa5)=>{const _0x2439ff=a2_0xeb8183,_0x30810c=new QueryCommand(),_0x5cc05c=program[_0x2439ff(0x3cf)](),_0x271dd2=await createTDXInstance(_0x5cc05c);_0x559aa5['in']&&(_0x559aa5[_0x2439ff(0x3f0)]=_0x559aa5['in']);const _0x4616d6=await _0x30810c[_0x2439ff(0x1f4)]({'options':{..._0x5cc05c,..._0x559aa5},'args':_0x556110?[_0x556110]:[],'tdx':_0x271dd2});gracefulExit(_0x4616d6);});const segmentCmd=program[a2_0xeb8183(0x274)](a2_0xeb8183(0x203))['alias']('sg')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x418)),segmentListAction=async(_0x3d936d,_0x18ee26)=>{const _0x10caf1=a2_0xeb8183,_0x5046df=new SegmentsCommand(),_0x43f96c=program['opts'](),_0x14fbfd=await createTDXInstance(_0x43f96c),_0x42606d=await _0x5046df[_0x10caf1(0x1f4)]({'options':{..._0x43f96c,..._0x18ee26},'args':_0x3d936d?[_0x3d936d]:[],'tdx':_0x14fbfd});gracefulExit(_0x42606d);};segmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2f1))[a2_0xeb8183(0x33a)]('List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context')['option'](a2_0xeb8183(0x3ef),a2_0xeb8183(0x1d8))[a2_0xeb8183(0x229)](a2_0xeb8183(0x21f),a2_0xeb8183(0x3c4),'10')[a2_0xeb8183(0x1f5)](segmentListAction),program['command'](a2_0xeb8183(0x377),{'hidden':!![]})[a2_0xeb8183(0x33a)]('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x3ef),a2_0xeb8183(0x1d8))['option'](a2_0xeb8183(0x21f),a2_0xeb8183(0x3c4),'10')[a2_0xeb8183(0x1f5)](segmentListAction),segmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x22b),{'hidden':!![]})[a2_0xeb8183(0x33a)](a2_0xeb8183(0x30f))[a2_0xeb8183(0x1f5)](async(_0x2ee271,_0x218ea4)=>{const _0x4b0f56=a2_0xeb8183,_0x51d596=new SegmentUseCommand(),_0x5db39c=program[_0x4b0f56(0x3cf)](),_0x494c90=await createTDXInstance(_0x5db39c),_0x5066a0=await _0x51d596[_0x4b0f56(0x1f4)]({'options':{..._0x5db39c,..._0x218ea4},'args':[_0x2ee271],'tdx':_0x494c90});gracefulExit(_0x5066a0);});const segmentViewAction=async(_0x2da0e7,_0x36edd8)=>{const _0x286a20=a2_0xeb8183,_0x49eab7=new SegmentViewCommand(),_0x1007fc=program['opts'](),_0x2a0ef3=await createTDXInstance(_0x1007fc),_0x257659=await _0x49eab7[_0x286a20(0x1f4)]({'options':{..._0x1007fc,..._0x36edd8},'args':_0x2da0e7?[_0x2da0e7]:[],'tdx':_0x2a0ef3});gracefulExit(_0x257659);};segmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2f4))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x344))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3ea),'Open\x20segment\x20in\x20web\x20browser')['action'](segmentViewAction),segmentCmd['command'](a2_0xeb8183(0x3a9),{'hidden':!![]})[a2_0xeb8183(0x2a9)](a2_0xeb8183(0x2f7))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3ea),'Open\x20segment\x20in\x20web\x20browser')['description'](a2_0xeb8183(0x440))[a2_0xeb8183(0x1f5)](segmentViewAction),segmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3c8))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1ee))['action'](async(_0x2b88dd,_0x47f34a)=>{const _0x44fa66=a2_0xeb8183,_0x33ceeb=new SegmentDescCommand(),_0x2a70bf=program[_0x44fa66(0x3cf)](),_0x3f6e20=await createTDXInstance(_0x2a70bf),_0x53c8c1=await _0x33ceeb['run']({'options':{..._0x2a70bf,..._0x47f34a},'args':_0x2b88dd?[_0x2b88dd]:[],'tdx':_0x3f6e20});gracefulExit(_0x53c8c1);}),segmentCmd[a2_0xeb8183(0x274)]('show\x20[segment_name]')['description'](a2_0xeb8183(0x2c6))[a2_0xeb8183(0x1f5)](async(_0x1ec13b,_0x556883)=>{const _0x487aca=a2_0xeb8183,_0x24e519=new SegmentShowCommand(),_0x50fe09=program[_0x487aca(0x3cf)](),_0x26fc79=await createTDXInstance(_0x50fe09),_0x15aeb7=await _0x24e519[_0x487aca(0x1f4)]({'options':{..._0x50fe09,..._0x556883},'args':_0x1ec13b?[_0x1ec13b]:[],'tdx':_0x26fc79});gracefulExit(_0x15aeb7);}),segmentCmd[a2_0xeb8183(0x274)]('folders\x20<parent_name>',{'hidden':!![]})[a2_0xeb8183(0x33a)](a2_0xeb8183(0x31d))['action'](async(_0x3d729b,_0x1f6a59)=>{const _0xdba67d=a2_0xeb8183,_0x4fcac5=new SegmentFolderListCommand(),_0x408f90=program[_0xdba67d(0x3cf)](),_0x553268=await createTDXInstance(_0x408f90),_0x5334de=await _0x4fcac5[_0xdba67d(0x1f4)]({'options':{..._0x408f90,..._0x1f6a59},'args':[_0x3d729b],'tdx':_0x553268});gracefulExit(_0x5334de);});const folderCmd=segmentCmd['command']('folder',{'hidden':!![]})[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3af));folderCmd[a2_0xeb8183(0x274)]('show\x20<folder_ref>')[a2_0xeb8183(0x33a)]('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')[a2_0xeb8183(0x1f5)](async(_0xbe3ae4,_0x53cb93)=>{const _0x556c86=a2_0xeb8183,_0x7d25d6=new SegmentFolderShowCommand(),_0x5d4b54=program[_0x556c86(0x3cf)](),_0x4c9cb6=await createTDXInstance(_0x5d4b54),_0x1b63bf=await _0x7d25d6[_0x556c86(0x1f4)]({'options':{..._0x5d4b54,..._0x53cb93},'args':[_0xbe3ae4],'tdx':_0x4c9cb6});gracefulExit(_0x1b63bf);}),segmentCmd[a2_0xeb8183(0x274)]('sql\x20[segment_name]')[a2_0xeb8183(0x33a)]('Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0xeb8183(0x1f5)](async(_0x43699a,_0x2223bd)=>{const _0x1035d1=a2_0xeb8183,_0x1bb628=new SegmentSQLCommand(),_0x2d6f31=program['opts'](),_0x5c5123=await createTDXInstance(_0x2d6f31),_0x14b96=await _0x1bb628[_0x1035d1(0x1f4)]({'options':{..._0x2d6f31,..._0x2223bd},'args':_0x43699a?[_0x43699a]:[],'tdx':_0x5c5123});gracefulExit(_0x14b96);}),segmentCmd['command'](a2_0xeb8183(0x331))['description']('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)')[a2_0xeb8183(0x1f5)](async(_0x5e3251,_0x28c2fc)=>{const _0x1302f8=a2_0xeb8183,_0x2139f2=new SegmentFieldsCommand(),_0x473afd=program[_0x1302f8(0x3cf)](),_0x36d00c=await createTDXInstance(_0x473afd),_0x532bc2=await _0x2139f2[_0x1302f8(0x1f4)]({'options':{..._0x473afd,..._0x28c2fc},'args':_0x5e3251?[_0x5e3251]:[],'tdx':_0x36d00c});gracefulExit(_0x532bc2);}),segmentCmd[a2_0xeb8183(0x274)]('pull\x20[parent_or_file]')['description'](a2_0xeb8183(0x239))['option'](a2_0xeb8183(0x271),a2_0xeb8183(0x316))[a2_0xeb8183(0x1f5)](async(_0x3cf192,_0x5b6f30)=>{const _0x3a34a1=a2_0xeb8183,_0x51bd58=new SegmentPullCommand(),_0x5ef34d=program[_0x3a34a1(0x3cf)](),_0x4fe34d=await createTDXInstance(_0x5ef34d),_0x152cd8=await _0x51bd58[_0x3a34a1(0x1f4)]({'options':{..._0x5ef34d,..._0x5b6f30},'args':_0x3cf192?[_0x3cf192]:[],'tdx':_0x4fe34d});gracefulExit(_0x152cd8);}),segmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2d1))['description'](a2_0xeb8183(0x416))[a2_0xeb8183(0x229)](a2_0xeb8183(0x271),a2_0xeb8183(0x316))['option'](a2_0xeb8183(0x43c),a2_0xeb8183(0x42f))[a2_0xeb8183(0x1f5)](async(_0x4e5c22,_0x1f9cea)=>{const _0x2e8d1c=a2_0xeb8183,_0x12b0a7=new SegmentPushCommand(),_0x441f8f=program[_0x2e8d1c(0x3cf)](),_0x3941c9=await createTDXInstance(_0x441f8f),_0x2dd5d9=await _0x12b0a7[_0x2e8d1c(0x1f4)]({'options':{..._0x441f8f,..._0x1f9cea},'args':_0x4e5c22?[_0x4e5c22]:[],'tdx':_0x3941c9});gracefulExit(_0x2dd5d9);}),segmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x28b))['description'](a2_0xeb8183(0x30e))[a2_0xeb8183(0x1f5)](async(_0x56ed96,_0x13fa4b)=>{const _0xf7960f=a2_0xeb8183,_0x55a901=new SegmentValidateCommand(),_0x118294=program[_0xf7960f(0x3cf)](),_0x56d7de=await createTDXInstance(_0x118294),_0x3f7614=await _0x55a901[_0xf7960f(0x1f4)]({'options':{..._0x118294,..._0x13fa4b},'args':_0x56ed96?[_0x56ed96]:[],'tdx':_0x56d7de});gracefulExit(_0x3f7614);}),segmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x415),{'hidden':!![]})['description'](a2_0xeb8183(0x269))[a2_0xeb8183(0x229)](a2_0xeb8183(0x455),a2_0xeb8183(0x267))[a2_0xeb8183(0x229)](a2_0xeb8183(0x33e),a2_0xeb8183(0x449))[a2_0xeb8183(0x229)](a2_0xeb8183(0x412),'Filtering\x20rule\x20from\x20JSON\x20file')[a2_0xeb8183(0x229)]('--folder\x20<name>',a2_0xeb8183(0x41e))['option']('--kind\x20<type>',a2_0xeb8183(0x3dd))[a2_0xeb8183(0x229)](a2_0xeb8183(0x402),a2_0xeb8183(0x349))[a2_0xeb8183(0x229)](a2_0xeb8183(0x404),'Skip\x20population\x20counting')[a2_0xeb8183(0x1f5)](async(_0x5d804b,_0x399741)=>{const _0x4e4383=a2_0xeb8183,_0xf01af7=new SegmentCreateCommand(),_0x11a099=program['opts'](),_0x555af0=await createTDXInstance(_0x11a099),_0x3129a3=await _0xf01af7[_0x4e4383(0x1f4)]({'options':{..._0x11a099,..._0x399741},'args':[_0x5d804b],'tdx':_0x555af0});gracefulExit(_0x3129a3);}),segmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x223),{'hidden':!![]})[a2_0xeb8183(0x33a)]('[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')['option'](a2_0xeb8183(0x459),'New\x20segment\x20name')[a2_0xeb8183(0x229)]('--description\x20<text>',a2_0xeb8183(0x264))[a2_0xeb8183(0x229)](a2_0xeb8183(0x33e),a2_0xeb8183(0x308))[a2_0xeb8183(0x229)](a2_0xeb8183(0x412),a2_0xeb8183(0x24e))[a2_0xeb8183(0x229)]('--folder\x20<name>',a2_0xeb8183(0x301))[a2_0xeb8183(0x229)](a2_0xeb8183(0x283),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')['action'](async(_0x3f5656,_0x45e275)=>{const _0x44bafd=a2_0xeb8183,_0x12a367=new SegmentUpdateCommand(),_0x1dfbf2=program[_0x44bafd(0x3cf)](),_0x74bd97=await createTDXInstance(_0x1dfbf2),_0x5a44ee=await _0x12a367['run']({'options':{..._0x1dfbf2,..._0x45e275},'args':[_0x3f5656],'tdx':_0x74bd97});gracefulExit(_0x5a44ee);});const parentCmd=segmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x44b),{'hidden':!![]})['description'](a2_0xeb8183(0x3b6)),parentListAction=async(_0x153878,_0x530ca8)=>{const _0x1858c1=a2_0xeb8183,_0x46f2ac=new ParentSegmentListCommand(),_0x1a8b08=program[_0x1858c1(0x3cf)](),_0x390f68=await createTDXInstance(_0x1a8b08),_0x4641ba=await _0x46f2ac[_0x1858c1(0x1f4)]({'options':{..._0x1a8b08,..._0x530ca8},'args':_0x153878?[_0x153878]:[],'tdx':_0x390f68});gracefulExit(_0x4641ba);};parentCmd[a2_0xeb8183(0x274)]('list\x20[pattern]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3bb))[a2_0xeb8183(0x1f5)](parentListAction),segmentCmd['command'](a2_0xeb8183(0x38f),{'hidden':!![]})[a2_0xeb8183(0x33a)](a2_0xeb8183(0x41a))[a2_0xeb8183(0x1f5)](parentListAction),parentCmd['command'](a2_0xeb8183(0x1ec))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x295))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3d5),a2_0xeb8183(0x1fd))['action'](async(_0x4eb8c7,_0x4bf7f0)=>{const _0x4185b0=new ParentSegmentPullCommand(),_0x5bafc5=program['opts'](),_0x59d346=await createTDXInstance(_0x5bafc5),_0x1165fe=await _0x4185b0['run']({'options':{..._0x5bafc5,..._0x4bf7f0},'args':_0x4eb8c7?[_0x4eb8c7]:[],'tdx':_0x59d346});gracefulExit(_0x1165fe);}),parentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2e5))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1dc))[a2_0xeb8183(0x1f5)](async(_0x308aa2,_0x79f0d)=>{const _0x561560=a2_0xeb8183,_0x49bde7=new ParentSegmentPushCommand(),_0x19450d=program[_0x561560(0x3cf)](),_0x4fd9fd=await createTDXInstance(_0x19450d),_0x500862=await _0x49bde7[_0x561560(0x1f4)]({'options':{..._0x19450d,..._0x79f0d},'args':_0x308aa2?[_0x308aa2]:[],'tdx':_0x4fd9fd});gracefulExit(_0x500862);}),parentCmd['command'](a2_0xeb8183(0x1bf))['description']('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0xeb8183(0x229)](a2_0xeb8183(0x2ef),a2_0xeb8183(0x3aa))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3bd),a2_0xeb8183(0x360))[a2_0xeb8183(0x229)]('--behavior\x20[name]',a2_0xeb8183(0x244))[a2_0xeb8183(0x229)](a2_0xeb8183(0x24f),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0xeb8183(0x229)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')[a2_0xeb8183(0x1f5)](async(_0xab3868,_0x49235e)=>{const _0x142523=a2_0xeb8183,_0x12d390=new ParentSegmentValidateCommand(),_0x1a0a11=program['opts'](),_0x9c122a=await createTDXInstance(_0x1a0a11),_0x41f6ff=await _0x12d390[_0x142523(0x1f4)]({'options':{..._0x1a0a11,..._0x49235e},'args':_0xab3868?[_0xab3868]:[],'tdx':_0x9c122a});gracefulExit(_0x41f6ff);}),parentCmd[a2_0xeb8183(0x274)]('preview\x20[file]')[a2_0xeb8183(0x33a)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0xeb8183(0x229)](a2_0xeb8183(0x2ef),a2_0xeb8183(0x230))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3bd),a2_0xeb8183(0x425))[a2_0xeb8183(0x229)]('--behavior\x20[name]',a2_0xeb8183(0x30b))[a2_0xeb8183(0x229)](a2_0xeb8183(0x24f),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')['option'](a2_0xeb8183(0x1fa),a2_0xeb8183(0x3eb),a2_0xeb8183(0x310))[a2_0xeb8183(0x1f5)](async(_0x5e1408,_0x52981c)=>{const _0x1b3b6b=a2_0xeb8183,_0x309007=new ParentSegmentPreviewCommand(),_0x36e3ed=program[_0x1b3b6b(0x3cf)](),_0x3f4608=await createTDXInstance(_0x36e3ed),_0x537bc3=await _0x309007['run']({'options':{..._0x36e3ed,..._0x52981c},'args':_0x5e1408?[_0x5e1408]:[],'tdx':_0x3f4608});gracefulExit(_0x537bc3);}),parentCmd['command'](a2_0xeb8183(0x1fc))[a2_0xeb8183(0x33a)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0xeb8183(0x1f5)](async(_0xd6d7,_0x19ea7c)=>{const _0xf46010=a2_0xeb8183,_0x4485dd=new ParentSegmentRunCommand(),_0x510c3d=program['opts'](),_0x5c1078=await createTDXInstance(_0x510c3d),_0x264688=await _0x4485dd[_0xf46010(0x1f4)]({'options':{..._0x510c3d,..._0x19ea7c},'args':_0xd6d7?[_0xd6d7]:[],'tdx':_0x5c1078});gracefulExit(_0x264688);});const parentSegmentCmd=program[a2_0xeb8183(0x274)](a2_0xeb8183(0x355))[a2_0xeb8183(0x2a9)]('ps')[a2_0xeb8183(0x33a)]('Parent\x20segment\x20management');parentSegmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x388))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3bb))['action'](parentListAction),parentSegmentCmd['command'](a2_0xeb8183(0x1ec))['description']('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x3d5),a2_0xeb8183(0x328))[a2_0xeb8183(0x229)](a2_0xeb8183(0x346),'Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')['action'](async(_0x1d2677,_0x305a22)=>{const _0x544753=a2_0xeb8183,_0x245ecc=new ParentSegmentPullCommand(),_0x2c90dd=program[_0x544753(0x3cf)](),_0x15f866=await createTDXInstance(_0x2c90dd),_0xb3cbb0=await _0x245ecc[_0x544753(0x1f4)]({'options':{..._0x2c90dd,..._0x305a22},'args':_0x1d2677?[_0x1d2677]:[],'tdx':_0x15f866});gracefulExit(_0xb3cbb0);}),parentSegmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1dd))[a2_0xeb8183(0x33a)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0xeb8183(0x1f5)](async(_0x328893,_0x4658c7)=>{const _0x2056a6=new ParentSegmentPushCommand(),_0x2f71ab=program['opts'](),_0x24cae1=await createTDXInstance(_0x2f71ab),_0xf0cd36=await _0x2056a6['run']({'options':{..._0x2f71ab,..._0x4658c7},'args':_0x328893?[_0x328893]:[],'tdx':_0x24cae1});gracefulExit(_0xf0cd36);}),parentSegmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x315))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3ce))[a2_0xeb8183(0x229)]('--master',a2_0xeb8183(0x3aa))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3bd),a2_0xeb8183(0x360))['option'](a2_0xeb8183(0x428),a2_0xeb8183(0x244))[a2_0xeb8183(0x229)](a2_0xeb8183(0x24f),a2_0xeb8183(0x38b))[a2_0xeb8183(0x229)]('--interval\x20<range>',a2_0xeb8183(0x3eb),a2_0xeb8183(0x310))[a2_0xeb8183(0x1f5)](async(_0x443dee,_0x33c0ca)=>{const _0x4e4651=a2_0xeb8183,_0x5da7af=new ParentSegmentValidateCommand(),_0x2e16a0=program[_0x4e4651(0x3cf)](),_0x384c17=await createTDXInstance(_0x2e16a0),_0x4e9f21=await _0x5da7af[_0x4e4651(0x1f4)]({'options':{..._0x2e16a0,..._0x33c0ca},'args':_0x443dee?[_0x443dee]:[],'tdx':_0x384c17});gracefulExit(_0x4e9f21);}),parentSegmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x241))['description'](a2_0xeb8183(0x332))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2ef),a2_0xeb8183(0x230))[a2_0xeb8183(0x229)]('--attribute\x20[name]',a2_0xeb8183(0x425))[a2_0xeb8183(0x229)]('--behavior\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0xeb8183(0x229)](a2_0xeb8183(0x24f),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')['option'](a2_0xeb8183(0x1fa),a2_0xeb8183(0x3eb),a2_0xeb8183(0x310))[a2_0xeb8183(0x1f5)](async(_0x951253,_0x176747)=>{const _0x305427=a2_0xeb8183,_0x38b5f=new ParentSegmentPreviewCommand(),_0x5bea4e=program[_0x305427(0x3cf)](),_0x5dece8=await createTDXInstance(_0x5bea4e),_0x35a237=await _0x38b5f[_0x305427(0x1f4)]({'options':{..._0x5bea4e,..._0x176747},'args':_0x951253?[_0x951253]:[],'tdx':_0x5dece8});gracefulExit(_0x35a237);}),parentSegmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1fc))['description'](a2_0xeb8183(0x221))['action'](async(_0x3dc16f,_0x4dbf17)=>{const _0x47763f=a2_0xeb8183,_0x49ab31=new ParentSegmentRunCommand(),_0x344af4=program[_0x47763f(0x3cf)](),_0x5a7904=await createTDXInstance(_0x344af4),_0x43ce2d=await _0x49ab31[_0x47763f(0x1f4)]({'options':{..._0x344af4,..._0x4dbf17},'args':_0x3dc16f?[_0x3dc16f]:[],'tdx':_0x5a7904});gracefulExit(_0x43ce2d);}),parentSegmentCmd['command'](a2_0xeb8183(0x1c8))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x284))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e2),a2_0xeb8183(0x43f))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e7),a2_0xeb8183(0x2da))['action'](async(_0x4882dd,_0x1bcb4d)=>{const _0x531960=a2_0xeb8183,_0x2e249d=new ParentSegmentFieldsCommand(),_0x104a9c=program[_0x531960(0x3cf)](),_0x11c477=await createTDXInstance(_0x104a9c),_0x5627ba=await _0x2e249d['run']({'options':{..._0x104a9c,..._0x1bcb4d},'args':_0x4882dd?[_0x4882dd]:[],'tdx':_0x11c477});gracefulExit(_0x5627ba);}),parentSegmentCmd['command']('view\x20[name]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3fc))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3ea),a2_0xeb8183(0x29d))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e2),a2_0xeb8183(0x43f))['option'](a2_0xeb8183(0x2e7),a2_0xeb8183(0x2da))[a2_0xeb8183(0x1f5)](async(_0x359f97,_0x566e8b)=>{const _0x2f97dd=a2_0xeb8183,_0x4a9060=new ParentSegmentViewCommand(),_0x196806=program[_0x2f97dd(0x3cf)](),_0x2fe478=await createTDXInstance(_0x196806),_0x3fd2ca=await _0x4a9060[_0x2f97dd(0x1f4)]({'options':{..._0x196806,..._0x566e8b},'args':_0x359f97?[_0x359f97]:[],'tdx':_0x2fe478});gracefulExit(_0x3fd2ca);}),parentSegmentCmd[a2_0xeb8183(0x274)]('desc\x20[name]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x364))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3d5),a2_0xeb8183(0x328))['option']('--json',a2_0xeb8183(0x43f))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e7),a2_0xeb8183(0x2da))['action'](async(_0x101cae,_0x432ed0)=>{const _0x3dc1e2=a2_0xeb8183,_0x479184=new ParentSegmentDescCommand(),_0xa133fc=program[_0x3dc1e2(0x3cf)](),_0x4e319c=await createTDXInstance(_0xa133fc),_0x428f7c=await _0x479184[_0x3dc1e2(0x1f4)]({'options':{..._0xa133fc,..._0x432ed0},'args':_0x101cae?[_0x101cae]:[],'tdx':_0x4e319c});gracefulExit(_0x428f7c);}),parentSegmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3e3))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2b0))['option']('--json',a2_0xeb8183(0x43f))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e7),a2_0xeb8183(0x2da))[a2_0xeb8183(0x1f5)](async(_0x5c0c65,_0x248aeb)=>{const _0xd33919=a2_0xeb8183,_0x4d0ea4=new ParentSegmentSQLCommand(),_0x220496=program[_0xd33919(0x3cf)](),_0x321b61=await createTDXInstance(_0x220496),_0x18d178=await _0x4d0ea4['run']({'options':{..._0x220496,..._0x248aeb},'args':_0x5c0c65?[_0x5c0c65]:[],'tdx':_0x321b61});gracefulExit(_0x18d178);}),parentSegmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x279))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1c1))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1e5),a2_0xeb8183(0x26d))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e2),a2_0xeb8183(0x43f))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e7),a2_0xeb8183(0x2da))['action'](async(_0xf00754,_0x4b52b9)=>{const _0x5e47c9=a2_0xeb8183,_0x523b52=new ParentSegmentShowCommand(),_0x2ac643=program[_0x5e47c9(0x3cf)](),_0x4a82f2=await createTDXInstance(_0x2ac643),_0x2f8451=await _0x523b52[_0x5e47c9(0x1f4)]({'options':{..._0x2ac643,..._0x4b52b9},'args':_0xf00754?[_0xf00754]:[],'tdx':_0x4a82f2});gracefulExit(_0x2f8451);}),parentSegmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2b7))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x454))[a2_0xeb8183(0x1f5)](async(_0x1aa72b,_0x4d1b28)=>{const _0x3dca95=a2_0xeb8183,_0x1f3f09=new UseCommand(),_0x1df5cf=program[_0x3dca95(0x3cf)](),_0x4218d1=_0x1aa72b?['parent_segment',_0x1aa72b]:[],_0x1fc5cc=await _0x1f3f09[_0x3dca95(0x1f4)]({'options':{..._0x1df5cf,..._0x4d1b28},'args':_0x4218d1,'tdx':null});gracefulExit(_0x1fc5cc);});const psRtCmd=parentSegmentCmd[a2_0xeb8183(0x274)]('rt')['description'](a2_0xeb8183(0x42b));psRtCmd[a2_0xeb8183(0x274)]('list\x20[pattern]')['description'](a2_0xeb8183(0x299))[a2_0xeb8183(0x1f5)](async(_0x506be9,_0x3f582d)=>{const _0x7d90ce=a2_0xeb8183,_0x4e5955=new PSRtListCommand(),_0x2ef8cc=program[_0x7d90ce(0x3cf)](),_0x2fd891=await createTDXInstance(_0x2ef8cc),_0x46ec66=await _0x4e5955[_0x7d90ce(0x1f4)]({'options':{..._0x2ef8cc,..._0x3f582d},'args':_0x506be9?[_0x506be9]:[],'tdx':_0x2fd891});gracefulExit(_0x46ec66);}),psRtCmd['command'](a2_0xeb8183(0x315))['description'](a2_0xeb8183(0x261))[a2_0xeb8183(0x1f5)](async(_0x47c23f,_0x33dd4e)=>{const _0x2c3eb0=a2_0xeb8183,_0x3e0547=new PSRtValidateCommand(),_0x667c60=program['opts'](),_0x482094=await createTDXInstance(_0x667c60),_0x297144=await _0x3e0547[_0x2c3eb0(0x1f4)]({'options':{..._0x667c60,..._0x33dd4e},'args':_0x47c23f?[_0x47c23f]:[],'tdx':_0x482094});gracefulExit(_0x297144);});const parentRtCmd=parentCmd[a2_0xeb8183(0x274)]('rt',{'hidden':!![]})[a2_0xeb8183(0x33a)](a2_0xeb8183(0x42b));parentRtCmd[a2_0xeb8183(0x274)]('list\x20[pattern]')[a2_0xeb8183(0x33a)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0xeb8183(0x1f5)](async(_0x45f772,_0xb29fa4)=>{const _0x32b0e8=a2_0xeb8183,_0x4bb50f=new PSRtListCommand(),_0x429a56=program[_0x32b0e8(0x3cf)](),_0x2e9d6c=await createTDXInstance(_0x429a56),_0x4672e7=await _0x4bb50f[_0x32b0e8(0x1f4)]({'options':{..._0x429a56,..._0xb29fa4},'args':_0x45f772?[_0x45f772]:[],'tdx':_0x2e9d6c});gracefulExit(_0x4672e7);}),parentRtCmd['command'](a2_0xeb8183(0x315))['description'](a2_0xeb8183(0x261))[a2_0xeb8183(0x1f5)](async(_0x647aec,_0x2792a7)=>{const _0x3b0422=new PSRtValidateCommand(),_0x384f90=program['opts'](),_0x442434=await createTDXInstance(_0x384f90),_0x317c06=await _0x3b0422['run']({'options':{..._0x384f90,..._0x2792a7},'args':_0x647aec?[_0x647aec]:[],'tdx':_0x442434});gracefulExit(_0x317c06);});const psPzCmd=parentSegmentCmd[a2_0xeb8183(0x274)]('pz')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x38d));psPzCmd['command'](a2_0xeb8183(0x450))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x236))[a2_0xeb8183(0x1f5)](async(_0x13b2d4,_0x379287)=>{const _0x30ce98=a2_0xeb8183,_0x41b4a4=new PSPzListCommand(),_0x3d6014=program[_0x30ce98(0x3cf)](),_0x42e5a2=await createTDXInstance(_0x3d6014),_0x49f784=await _0x41b4a4[_0x30ce98(0x1f4)]({'options':{..._0x3d6014,..._0x379287},'args':_0x13b2d4?[_0x13b2d4]:[],'tdx':_0x42e5a2});gracefulExit(_0x49f784);}),psPzCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1da))[a2_0xeb8183(0x33a)]('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0xeb8183(0x1f5)](async(_0x544082,_0x43594d)=>{const _0x531dbc=a2_0xeb8183,_0x43e510=new PSPzInitCommand(),_0x1d06c1=program[_0x531dbc(0x3cf)](),_0x33f05d=await createTDXInstance(_0x1d06c1),_0x3398fd=await _0x43e510[_0x531dbc(0x1f4)]({'options':{..._0x1d06c1,..._0x43594d},'args':_0x544082?[_0x544082]:[],'tdx':_0x33f05d});gracefulExit(_0x3398fd);});const parentPzCmd=parentCmd['command']('pz',{'hidden':!![]})['description'](a2_0xeb8183(0x38d));function a2_0x40ed(){const _0x30c648=['Updated\x20filtering\x20rule\x20as\x20JSON\x20string','retry','filter','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','argumentTerm','logs','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','-1d','allowUnknownOption','claude-4.5-sonnet','auth','Setup\x20API\x20key\x20authentication\x20interactively','validate\x20[name]','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','--to\x20<n>','trace','INVALID_ARGUMENT','isArray','--database\x20<db>','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','columns\x20<name-or-path>','-C,\x20--directory\x20<path>','\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON','sessions\x20[project]','senders\x20[pattern]','trino','Update\x20a\x20workspace','List\x20available\x20connector\x20types','us01','Preview\x20changes\x20without\x20writing\x20files','Output\x20file\x20path','--priority\x20<-2~2>','push\x20[target]','Template\x20name','Database\x20name\x20(default:\x20information_schema)','--skip-validation','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','--table','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','fields\x20[parent_name]','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Run\x20specific\x20tests\x20(comma-separated)','jobs','name','Export\x20journey(s)\x20as\x20YAML\x20files','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','Resume\x20a\x20paused\x20campaign','commandDescription','description','Email\x20template\x20management','claude\x20[args...]','User\x20management\x20commands','--rule\x20<json>','variadic','Scheduled\x20query\x20management\x20commands','-p,\x20--profile\x20<name>','Delivery\x20operations\x20(email\x20senders)','--workspace\x20<name>','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','--version\x20<number>','-u,\x20--use','registeredArguments','--limit\x20<rows>','Make\x20segment\x20invisible\x20(default:\x20visible)','-f,\x20--force','Plaintext\x20template\x20content','Delete\x20an\x20agent','Run\x20a\x20scheduled\x20query\x20immediately','journey','find','Authentication\x20management','Maximum\x20number\x20of\x20nodes','\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','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','300654FcYYwI','parent-segment','attempt:','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','Custom\x20revision\x20name\x20(default:\x20timestamp)','exit','then','clone\x20[source-dir]','Enable\x20verbose\x20logging','Request\x20body\x20as\x20JSON\x20string','Parent\x20segment\x20description','--in\x20<db>','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Result\x20output\x20destination\x20URL','--schedule-option\x20<value>','-f,\x20--file\x20<path>','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20journeys\x20in\x20current\x20context','set\x20<args...>','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','beefree','usage','--job-type\x20<type>','-v,\x20--verbose','commandUsage','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','Master\x20table\x20name','LLM\x20agent\x20management','--add-behaviors-file\x20<file>','llm','campaign','LLM\x20project\x20to\x20use\x20(overrides\x20context)','List\x20secret\x20keys\x20for\x20a\x20project','--from-task\x20<task>','segments\x20[path]','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','tdx','databases\x20[pattern]','--include-retried','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','update\x20<name>','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','addHelpText','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','--name\x20<new-name>','pause\x20<name-or-path>','--segment\x20<path>','Reason\x20for\x20killing\x20the\x20attempt','--system-prompt\x20<text>','--timeout\x20<seconds>','list\x20[pattern]','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','launch\x20<name-or-id>','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','buildTime','Personalization\x20service\x20management','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','parents\x20[pattern]','Push\x20without\x20confirmation','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','--name\x20<text>','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','workflows\x20[project]','push','subcommandDescription','--catalog\x20<catalog>','Query\x20engine\x20version','Read\x20SQL\x20query\x20from\x20file','Show\x20connection\x20details\x20by\x20name','Show\x20journey\x20details','after','Path\x20is\x20not\x20a\x20directory:\x20','Show\x20journey\x20statistics','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','List\x20available\x20LLM\x20models','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','CDP\x20Journey\x20Orchestration\x20commands','LLM\x20project\x20management','Resume\x20from\x20specific\x20task','Starting\x20offset\x20(default:\x200)','--cron\x20<expression>','noColor','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','info\x20[segment_name]','Show\x20only\x20master\x20table\x20validation','--from\x20<timestamp>','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','Query\x20type:\x20trino\x20or\x20hive','set','[DEPRECATED]\x20Segment\x20folder\x20management','job','--version','--param\x20<key=value>','Action:\x20logs,\x20tasks,\x20kill,\x20retry','commands','7llcVhS','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Campaign\x20management','Set\x20a\x20profile\x20configuration\x20value','Add\x20attributes\x20as\x20JSON\x20string','--revision\x20<revision>','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Agent\x20prompt/instructions','--attribute\x20[name]','--parent-folder\x20<name>','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Include\x20retried\x20attempts\x20(for\x20list)','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','push\x20[source-dir]','Database\x20name','Maximum\x20recursion\x20depth\x20(default:\x2010)','Duplicate\x20a\x20campaign','clear','Read\x20query\x20from\x20file','desc\x20[segment_name]','--retry-limit\x20<0~32>','Starter\x20message','Attributes\x20as\x20JSON\x20string','Campaign\x20name','update\x20<agent-name>','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','opts','--full','--add-attributes-file\x20<file>','4703856cuRrMX','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','[attempt-id]','-o,\x20--output\x20<file>','\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','Generate\x20test\x20conversations\x20without\x20evaluation','profile','Cron\x20expression\x20for\x20scheduling','--editor-type\x20<type>','Options:','Revision\x20name\x20(default:\x20timestamp)','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','show\x20<name>','--new','tables\x20[pattern]','New\x20template\x20name','Follow/watch\x20timeline\x20for\x20running\x20attempts','sql\x20[name]','profiles','Clear\x20workflow\x20project\x20context','Override\x20project\x20name','HTML\x20template\x20content','history\x20<name>','Create\x20segment\x20folder','-w,\x20--web','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Campaign\x20type\x20(email\x20or\x20push)','Include\x20raw\x20history\x20data\x20in\x20output','Workflow\x20parameter\x20(repeatable)','-r,\x20--recursive','database','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','table','--plaintext\x20<text>','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','slice','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','secrets','session','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','projects\x20[pattern]','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Delete\x20an\x20email\x20template','--limit\x20<number>','test\x20[path]','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','--output\x20<file>','--invisible','submit\x20[query]','--no-count-population','Show\x20stats\x20for\x20specific\x20stage','Include\x20execution\x20statistics','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','_hidden','Workflow\x20(Digdag)\x20management\x20commands','Commands:','create\x20<name>','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','--model\x20<name>','Project\x20description','--json-columns\x20<cols>','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Create\x20an\x20email\x20template','--rule-file\x20<file>','--schedule-type\x20<type>','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','create\x20<segment_name>','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Campaign\x20description','CDP\x20segment\x20management\x20commands','workflow','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Interactive\x20chat\x20selector','-o,\x20--output\x20<folder>','Folder\x20name\x20for\x20organization','-y,\x20--yes','Delete\x20a\x20workspace','delete\x20<agent-name>','Usage:\x20','setup','preAction','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Output\x20directory','--from\x20<n>','--behavior\x20[name]','join','--num\x20<1-10>','RT\x202.0\x20configuration\x20management','Delete\x20an\x20LLM\x20project','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','[options]\x20--\x20[claude-code-args...]','injectIntoOptions','padWidth','get','End\x20time\x20filter\x20(ISO\x208601\x20format)','history\x20[chat-id]','Behaviors\x20as\x20JSON\x20string','--no-color','Workspace\x20management','Workspace\x20name\x20(required)','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)','--delete','create\x20<name-or-path>','Data\x20connection\x20management\x20(for\x20activations/exports)','Output\x20as\x20JSON','Show\x20segment\x20details\x20(alias\x20for\x20view)','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','api\x20[endpoint]','AI-native\x20CLI\x20for\x20Treasure\x20Data','Workflow\x20session\x20management','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','--database\x20<name>','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','query\x20[sql]','Filtering\x20rule\x20as\x20JSON\x20string','_list-commands','parent','--timezone\x20<tz>','--params\x20<json>','233271DAvxIe','INFO','list\x20[name]','format','options','settings\x20<type>','Set\x20or\x20show\x20parent\x20segment\x20context','--description\x20<text>','--name\x20<names>','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','resume\x20<name-or-id>','--name\x20<new_name>','unset\x20<resource>','--type\x20<type>','Include\x20retried\x20attempts','--engine-version\x20<version>','Open\x20journey\x20in\x20web\x20browser','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','--to\x20<date>','2249020DkbTkj','validate\x20[file]','--starter-message\x20<text>','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','remove\x20<name>','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','flatMap','--attributes-file\x20<file>','--status\x20<status>','Maximum\x20tool\x20iterations\x20(default:\x204)','fields\x20[name]','argumentDescription','aliases','outputHelp','forEach','hook','json','project','Update\x20an\x20existing\x20agent','Describe\x20table\x20schema','Show\x20schedule\x20details','engage','--start-at\x20<datetime>','Remove\x20a\x20profile','Validate\x20campaign\x20YAML\x20files\x20locally','Show\x20agent\x20details','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','flags','init\x20[name]','configureHelp','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','push\x20[name]','Attributes\x20from\x20JSON\x20file','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','Trino\x20catalog\x20(default:\x20td)','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','--default','--name\x20<name>','--limit\x20<n>','Temperature\x20(0.0-2.0,\x20default:\x200.7)','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','pause\x20<name-or-id>','retry\x20<session-id>','colorFn','pull\x20[name]','Force\x20retry\x20even\x20if\x20not\x20failed','Show\x20segment\x20schema\x20(column\x20types)','831258CrQuHn','desc','--reeval','--session\x20<id>','Create\x20a\x20new\x20LLM\x20project','run','action','Output\x20folder\x20(default:\x20{project_name}.llm)','Resume\x20a\x20paused\x20journey','optionDescription','--follow','--interval\x20<range>','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','run\x20[name]','Output\x20file\x20path\x20(default:\x20<name>.yml)','List\x20all\x20versions\x20of\x20a\x20journey','delete\x20<name-or-id>','Start\x20a\x20new\x20chat\x20session','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','segment','agents\x20[pattern]','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Delete\x20a\x20scheduled\x20query','describe\x20[table]','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','Show\x20job\x20details','Workflow\x20project\x20management','tsv','Table\x20management\x20commands','Add\x20behaviors\x20as\x20JSON\x20string','315370aXtzux','Pull\x20campaigns\x20to\x20YAML\x20files','createAsync','Pause\x20a\x20campaign','summary','requiredOption','Workspace\x20description','Email\x20sender\x20ID\x20for\x20delivery','duplicate\x20<name-or-id>','backup\x20<name>','activations\x20<segment_name>','delete\x20<name>','Save\x20output\x20to\x20file','Database\x20name\x20(required)','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','Database\x20to\x20query\x20(default:\x20information_schema)','--result\x20<url>','--max-depth\x20<depth>','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','--to\x20<timestamp>','update\x20<segment_name>','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Folder\x20description','types','Show\x20timeline\x20for\x20specific\x20attempt','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','option','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','use\x20<path>','templates\x20[pattern]','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','--table\x20<table>','Add\x20attributes\x20from\x20JSON\x20file','Show\x20master\x20table\x20sample\x20data','--behaviors\x20<json>','long','chat\x20[message...]','List\x20all\x20data\x20connections','Job\x20priority\x20(-2\x20to\x202)','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Remove\x20API\x20key\x20from\x20system\x20keychain','version','Pull\x20child\x20segments\x20to\x20YAML\x20files','users','--yes','Create\x20a\x20new\x20profile','clone\x20[source]','--last','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','Workspace\x20name','preview\x20[name]','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','-d,\x20--database\x20<database>','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Skip\x20confirmation\x20prompt','Read\x20request\x20body\x20from\x20file','TRACE','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','directory','Timezone\x20(e.g.,\x20America/Los_Angeles)','Set\x20operation\x20timeout\x20in\x20seconds','template','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','--enriched','jsonl','Show\x20campaign\x20details','Workflow\x20attempt\x20management','use\x20[project]','Preview\x20operation\x20without\x20executing','Validate\x20journey\x20YAML\x20files\x20locally','--include-subtasks','Show\x20journey\x20table\x20column-to-step\x20mapping','612HmnDaz','tdx\x20','hidden','create\x20<parent_name>\x20<folder_name>','Show\x20the\x20most\x20recent\x20chat','kill\x20<job-id>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','delete\x20<args...>','map','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','length','--verbose','Updated\x20description','status','-a,\x20--agent\x20<name>','Segment\x20description','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','use\x20<project-name>','Kill\x20a\x20job','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','Limit\x20number\x20of\x20rows','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','--stage\x20<name>','--dry-run','Update\x20a\x20campaign','6GkFmMH','command','Include\x20subtasks\x20in\x20tasks\x20output','isTTY','workspace','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','show\x20[name]','\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','-o,\x20--output\x20<dir>','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','stringify','--add-behaviors\x20<json>','Show\x20all\x20files\x20including\x20valid\x20ones','Add\x20behaviors\x20from\x20JSON\x20file','upload\x20[project-name-or-dir]','--temperature\x20<n>','--kind\x20<type>','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','-c,\x20--continue','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','--prompt\x20<text>','Database\x20management\x20commands','show\x20<agent-name>','Agent\x20description','validate\x20[target]','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','List\x20all\x20available\x20profiles','log','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','includes','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','--customer-group\x20<json>','GET','--in\x20<database>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','--customer-group-file\x20<file>','--description\x20<desc>','models','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Name\x20for\x20the\x20new\x20project\x20(required)','attempt','--html\x20<html>','Open\x20parent\x20segment\x20in\x20web\x20browser','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','log\x20<chat-id>','Overwrite\x20local\x20changes\x20without\x20confirmation','Behaviors\x20from\x20JSON\x20file','delete\x20<project-name-or-id>','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a\x20\x20$\x20tdx\x20profile\x20create\x20production\x20\x20\x20#\x20Create\x20profile\x20named\x20\x27production\x27\x0a','show\x20<name-or-id>','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','Skip\x20validation\x20of\x20.dig\x20files','alias','--attempt-id\x20<id>','List\x20email\x20senders','Preview\x20without\x20creating\x20the\x20project','campaigns\x20[pattern]','resume\x20<name-or-path>','Show\x20email\x20template\x20details','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','2716668AqixRn','Continue\x20most\x20recent\x20conversation','Run\x20Trino\x20query\x20with\x20streaming\x20results','list','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','required','use\x20[name]','[EXPERIMENTAL]\x20Show\x20chat\x20log','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','list\x20[project]','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','...','use\x20<name>','help','\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','--email-sender-id\x20<id>','error','Invalid\x20--limit\x20value:\x20\x22','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--llm-project\x20<name>','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Pull\x20workflow\x20project\x20to\x20local\x20folder','schema\x20<type>','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--chat-id\x20<id>','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','site','stdout','run\x20[workflow]','push\x20[parent_or_file]','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','argument','JSON\x20columns\x20for\x20connector\x20(comma-separated)','connection','Update\x20a\x20scheduled\x20query','view\x20<name-or-path>','gitRevision','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','Output\x20as\x20JSON\x20Lines','Show\x20what\x20would\x20be\x20written\x20without\x20writing','Unknown\x20action:\x20','chdir','[task-name]','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','\x20(resolved\x20to\x20','--json','--clear','kill','push\x20[file]','--add-attributes\x20<json>','--jsonl','Invalid\x20editor\x20type:\x20','--time\x20<iso8601>','Version\x20number\x20to\x20view','versions\x20<name-or-path>','Email\x20subject\x20template','logLevel','create','--master','--help','list\x20[path]','--from\x20<date>','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','view\x20[segment_name]','New\x20campaign\x20name','stats\x20<name-or-path>','describe','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','Delete\x20a\x20campaign','--delay\x20<seconds>','argv','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Pull\x20specific\x20campaign\x20by\x20name','statusline','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Move\x20to\x20folder','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','Timezone\x20for\x20cron\x20(default:\x20UTC)','System\x20prompt/instructions\x20(default:\x20empty)','update\x20<name-or-id>','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','parse'];a2_0x40ed=function(){return _0x30c648;};return a2_0x40ed();}parentPzCmd['command']('list\x20[name]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x236))[a2_0xeb8183(0x1f5)](async(_0x35cd18,_0x39fd92)=>{const _0x2274a5=a2_0xeb8183,_0xca4830=new PSPzListCommand(),_0x1d40ec=program[_0x2274a5(0x3cf)](),_0x2ebc84=await createTDXInstance(_0x1d40ec),_0x5ed81d=await _0xca4830['run']({'options':{..._0x1d40ec,..._0x39fd92},'args':_0x35cd18?[_0x35cd18]:[],'tdx':_0x2ebc84});gracefulExit(_0x5ed81d);}),parentPzCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1da))[a2_0xeb8183(0x33a)]('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0xeb8183(0x1f5)](async(_0x3208d5,_0x136c2b)=>{const _0xc47347=a2_0xeb8183,_0x4c390c=new PSPzInitCommand(),_0x41ada4=program[_0xc47347(0x3cf)](),_0x50b4b0=await createTDXInstance(_0x41ada4),_0x4b8751=await _0x4c390c['run']({'options':{..._0x41ada4,..._0x136c2b},'args':_0x3208d5?[_0x3208d5]:[],'tdx':_0x50b4b0});gracefulExit(_0x4b8751);}),parentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x40b))[a2_0xeb8183(0x33a)]('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0xeb8183(0x213)](a2_0xeb8183(0x31b),'Master\x20database\x20name')[a2_0xeb8183(0x213)](a2_0xeb8183(0x22e),a2_0xeb8183(0x36f))['option']('--description\x20<text>',a2_0xeb8183(0x35e))['option'](a2_0xeb8183(0x413),a2_0xeb8183(0x2cb))[a2_0xeb8183(0x229)](a2_0xeb8183(0x362),a2_0xeb8183(0x3c1))[a2_0xeb8183(0x229)](a2_0xeb8183(0x44c),a2_0xeb8183(0x24a))[a2_0xeb8183(0x229)]('--attributes\x20<json>',a2_0xeb8183(0x3cb))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1c5),a2_0xeb8183(0x1de))[a2_0xeb8183(0x229)](a2_0xeb8183(0x231),a2_0xeb8183(0x436))['option']('--behaviors-file\x20<file>',a2_0xeb8183(0x2a2))[a2_0xeb8183(0x229)](a2_0xeb8183(0x292),'Customer\x20group\x20as\x20JSON\x20string')['option'](a2_0xeb8183(0x296),'Customer\x20group\x20from\x20JSON\x20file')[a2_0xeb8183(0x1f5)](async(_0x124ecc,_0x17277b)=>{const _0x579a6c=new ParentSegmentCreateCommand(),_0x243e86=program['opts'](),_0x51693b=await createTDXInstance(_0x243e86),_0x2a89c5=await _0x579a6c['run']({'options':{..._0x243e86,..._0x17277b},'args':[_0x124ecc],'tdx':_0x51693b});gracefulExit(_0x2a89c5);}),parentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x37e))['description'](a2_0xeb8183(0x2f3))[a2_0xeb8183(0x229)](a2_0xeb8183(0x455),a2_0xeb8183(0x264))[a2_0xeb8183(0x229)](a2_0xeb8183(0x413),a2_0xeb8183(0x2c4))['option'](a2_0xeb8183(0x362),'Updated\x20schedule\x20option')[a2_0xeb8183(0x229)]('--timezone\x20<tz>','Updated\x20timezone')[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e6),a2_0xeb8183(0x3b9))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3d1),a2_0xeb8183(0x22f))['option'](a2_0xeb8183(0x27e),a2_0xeb8183(0x20d))[a2_0xeb8183(0x229)](a2_0xeb8183(0x371),a2_0xeb8183(0x280))['action'](async(_0x4f0df2,_0x14ed54)=>{const _0x5ce4e5=a2_0xeb8183,_0x25a4cb=new ParentSegmentUpdateCommand(),_0x29b3d6=program[_0x5ce4e5(0x3cf)](),_0x37a1c5=await createTDXInstance(_0x29b3d6),_0x31a0d3=await _0x25a4cb[_0x5ce4e5(0x1f4)]({'options':{..._0x29b3d6,..._0x14ed54},'args':[_0x4f0df2],'tdx':_0x37a1c5});gracefulExit(_0x31a0d3);}),folderCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x25b))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3e9))[a2_0xeb8183(0x229)]('--description\x20<text>',a2_0xeb8183(0x225))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3be),'Parent\x20folder\x20name\x20for\x20nested\x20folders')['action'](async(_0x709817,_0x465d7f,_0x683208)=>{const _0x4e03bd=a2_0xeb8183,_0x3637b4=new SegmentFolderCreateCommand(),_0x1a600b=program[_0x4e03bd(0x3cf)](),_0x229da5=await createTDXInstance(_0x1a600b),_0x5cb4f0=await _0x3637b4[_0x4e03bd(0x1f4)]({'options':{..._0x1a600b,..._0x683208},'args':[_0x709817,_0x465d7f],'tdx':_0x229da5});gracefulExit(_0x5cb4f0);}),program[a2_0xeb8183(0x274)](a2_0xeb8183(0x218))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x353))['action'](async(_0x409949,_0x162bc8)=>{const _0x4365be=new ActivationsCommand(),_0x4ba40f=program['opts'](),_0x710203=await createTDXInstance(_0x4ba40f),_0x3bae37=await _0x4365be['run']({'options':{..._0x4ba40f,..._0x162bc8},'args':[_0x409949],'tdx':_0x710203});gracefulExit(_0x3bae37);});const workflowCmd=program[a2_0xeb8183(0x274)](a2_0xeb8183(0x419))[a2_0xeb8183(0x2a9)]('wf')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x409)),wfProjectCmd=workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1cf))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x20a)),wfProjectListAction=async(_0x17c61c,_0x8f30d9)=>{const _0x46f73e=a2_0xeb8183,_0x308039=new WorkflowProjectsCommand(),_0x1fa6cc=program[_0x46f73e(0x3cf)](),_0x15ad4f=await createTDXInstance(_0x1fa6cc),_0x24a7e2=await _0x308039['run']({'options':{..._0x1fa6cc,..._0x8f30d9},'args':_0x17c61c?[_0x17c61c]:[],'tdx':_0x15ad4f});gracefulExit(_0x24a7e2);};wfProjectCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x388))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x28c))['action'](wfProjectListAction),workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3fb))[a2_0xeb8183(0x33a)]('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0xeb8183(0x1f5)](wfProjectListAction);const wfWorkflowListAction=async(_0x48997a,_0x5ecfb9)=>{const _0x5dad2c=a2_0xeb8183,_0x37b757=new WorkflowWorkflowsCommand(),_0x299351=program['opts'](),_0x45c5a8=await createTDXInstance(_0x299351),_0x1f8f15=await _0x37b757[_0x5dad2c(0x1f4)]({'options':{..._0x299351,..._0x5ecfb9},'args':_0x48997a?[_0x48997a]:[],'tdx':_0x45c5a8});gracefulExit(_0x1f8f15);};workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x394))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3fa))[a2_0xeb8183(0x1f5)](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command'](a2_0xeb8183(0x3f8))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x444)),wfSessionListAction=async(_0x1a4328,_0x57cb8f)=>{const _0x27099a=a2_0xeb8183,_0x5bb886=new WorkflowSessionsCommand(),_0x2429a4=program['opts'](),_0x32c8c6=await createTDXInstance(_0x2429a4),_0x25516c=await _0x5bb886[_0x27099a(0x1f4)]({'options':{..._0x2429a4,..._0x57cb8f},'args':_0x1a4328?[_0x1a4328]:[],'tdx':_0x32c8c6});gracefulExit(_0x25516c);};wfSessionCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2ba))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2b9))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1c6),a2_0xeb8183(0x2b5))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3ab),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option'](a2_0xeb8183(0x222),a2_0xeb8183(0x434))['action'](wfSessionListAction),workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x321))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x268))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1c6),a2_0xeb8183(0x2b5))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3ab),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option']('--to\x20<timestamp>',a2_0xeb8183(0x434))[a2_0xeb8183(0x1f5)](wfSessionListAction);const wfAttemptListAction=async(_0x1f8ad3,_0x94719)=>{const _0x530094=a2_0xeb8183,_0x5ee241=new WorkflowAttemptsCommand(),_0x5d2c24=program[_0x530094(0x3cf)](),_0x255836=await createTDXInstance(_0x5d2c24),_0x33c5e6=await _0x5ee241['run']({'options':{..._0x5d2c24,..._0x94719},'args':_0x1f8ad3?[_0x1f8ad3]:[],'tdx':_0x255836});gracefulExit(_0x33c5e6);},attemptCmd=workflowCmd['command'](a2_0xeb8183(0x29b))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x252))[a2_0xeb8183(0x2d3)](a2_0xeb8183(0x3d4),'Attempt\x20ID')[a2_0xeb8183(0x2d3)]('[action]',a2_0xeb8183(0x3b3))[a2_0xeb8183(0x2d3)](a2_0xeb8183(0x2de),'Task\x20name\x20for\x20logs\x20action')[a2_0xeb8183(0x229)](a2_0xeb8183(0x256),a2_0xeb8183(0x275))[a2_0xeb8183(0x229)]('--reason\x20<text>',a2_0xeb8183(0x385))[a2_0xeb8183(0x229)]('--resume-from\x20<task>','Resume\x20from\x20specific\x20task\x20(retry)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x44d),a2_0xeb8183(0x22a))[a2_0xeb8183(0x229)]('--force',a2_0xeb8183(0x1ed))[a2_0xeb8183(0x229)](a2_0xeb8183(0x37c),a2_0xeb8183(0x3c0))['action'](async(_0x2cc41c,_0x3ab81a,_0xc0a850,_0x499215)=>{const _0x322a36=a2_0xeb8183;if(_0x2cc41c==='list'){await wfAttemptListAction(_0x3ab81a,_0x499215);return;}if(!_0x2cc41c){attemptCmd[_0x322a36(0x2be)]();return;}const _0xf8bc07=program[_0x322a36(0x3cf)](),_0x37a368=await createTDXInstance(_0xf8bc07);let _0x56396f=0x0;if(!_0x3ab81a){const _0x2dbea5=new WorkflowAttemptCommand();_0x56396f=await _0x2dbea5[_0x322a36(0x1f4)]({'options':{..._0xf8bc07,..._0x499215},'args':[_0x2cc41c],'tdx':_0x37a368});}else{if(_0x3ab81a===_0x322a36(0x30d)){const _0x41e39c=new WorkflowLogsCommand();_0x56396f=await _0x41e39c[_0x322a36(0x1f4)]({'options':{..._0xf8bc07,..._0x499215},'args':_0xc0a850?[_0x2cc41c,_0xc0a850]:[_0x2cc41c],'tdx':_0x37a368});}else{if(_0x3ab81a==='tasks'){const _0x3276ae=new WorkflowTasksCommand();_0x56396f=await _0x3276ae[_0x322a36(0x1f4)]({'options':{..._0xf8bc07,..._0x499215},'args':[_0x2cc41c],'tdx':_0x37a368});}else{if(_0x3ab81a===_0x322a36(0x2e4)){const _0x546e5d=new WorkflowKillCommand();_0x56396f=await _0x546e5d['run']({'options':{..._0xf8bc07,..._0x499215},'args':[_0x2cc41c],'tdx':_0x37a368});}else{if(_0x3ab81a===_0x322a36(0x309)){const _0x284e4f=new WorkflowRetryCommand();_0x56396f=await _0x284e4f[_0x322a36(0x1f4)]({'options':{..._0xf8bc07,..._0x499215},'args':[_0x322a36(0x356)+_0x2cc41c],'tdx':_0x37a368});}else console['error'](_0x322a36(0x2dc)+_0x3ab81a),console[_0x322a36(0x2c1)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x56396f=0x1;}}}}gracefulExit(_0x56396f);});attemptCmd[a2_0xeb8183(0x274)]('list\x20[project]')[a2_0xeb8183(0x33a)]('List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x37c),a2_0xeb8183(0x45c))[a2_0xeb8183(0x1f5)](wfAttemptListAction),workflowCmd[a2_0xeb8183(0x274)]('attempts\x20[project]')[a2_0xeb8183(0x33a)]('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x37c),'Include\x20retried\x20attempts')[a2_0xeb8183(0x1f5)](wfAttemptListAction),workflowCmd[a2_0xeb8183(0x274)]('timeline\x20[project.workflow]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x24d))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1f9),a2_0xeb8183(0x3e2))[a2_0xeb8183(0x229)]('--session-id\x20<id>',a2_0xeb8183(0x1e2))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2aa),a2_0xeb8183(0x227))[a2_0xeb8183(0x1f5)](async(_0x55c438,_0x4c758b)=>{const _0x13505d=a2_0xeb8183,_0x440cab=new WorkflowTimelineCommand(),_0x3d2081=program[_0x13505d(0x3cf)](),_0x48317e=await createTDXInstance(_0x3d2081),_0x561387=await _0x440cab[_0x13505d(0x1f4)]({'options':{..._0x3d2081,..._0x4c758b},'args':_0x55c438?[_0x55c438]:[],'tdx':_0x48317e});gracefulExit(_0x561387);}),workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1ea))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2f9))[a2_0xeb8183(0x229)](a2_0xeb8183(0x376),a2_0xeb8183(0x3a4))[a2_0xeb8183(0x229)](a2_0xeb8183(0x44d),a2_0xeb8183(0x2bb))['action'](async(_0x290674,_0x968931)=>{const _0x5ee127=a2_0xeb8183,_0x5617d2=new WorkflowRetryCommand(),_0x1f1218=program[_0x5ee127(0x3cf)](),_0x582954=await createTDXInstance(_0x1f1218),_0x1614d2=await _0x5617d2[_0x5ee127(0x1f4)]({'options':{..._0x1f1218,..._0x968931},'args':[_0x290674],'tdx':_0x582954});gracefulExit(_0x1614d2);}),workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2d0))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x208))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3b2),a2_0xeb8183(0x3ee),(_0x43f507,_0x185bbe=[])=>[..._0x185bbe,_0x43f507],[])[a2_0xeb8183(0x229)]('--session-time\x20<time>',a2_0xeb8183(0x441))['action'](async(_0x49b541,_0x435e8c)=>{const _0x1b6c34=a2_0xeb8183,_0x28eaa9=new WorkflowRunCommand(),_0x5a0031=program[_0x1b6c34(0x3cf)](),_0x4ce44f=await createTDXInstance(_0x5a0031),_0x2a3608=await _0x28eaa9[_0x1b6c34(0x1f4)]({'options':{..._0x5a0031,..._0x435e8c},'args':_0x49b541?[_0x49b541]:[],'tdx':_0x4ce44f});gracefulExit(_0x2a3608);}),workflowCmd[a2_0xeb8183(0x274)]('download\x20<project-name>\x20[output-dir]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x367))[a2_0xeb8183(0x229)]('--revision\x20<revision>',a2_0xeb8183(0x3a1))['action'](async(_0x1dd63c,_0x57978a,_0x91634e)=>{const _0x17afa9=a2_0xeb8183,_0x46d6da=new WorkflowDownloadCommand(),_0x556700=program['opts'](),_0x481606=await createTDXInstance(_0x556700),_0x24f4c6=await _0x46d6da[_0x17afa9(0x1f4)]({'options':{..._0x556700,..._0x91634e},'args':[_0x1dd63c,_0x57978a||'.'],'tdx':_0x481606});gracefulExit(_0x24f4c6);}),workflowCmd[a2_0xeb8183(0x274)]('pull\x20<project>\x20[target-dir]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2c8))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3ba),'Pull\x20specific\x20revision\x20(default:\x20latest)')['option'](a2_0xeb8183(0x271),a2_0xeb8183(0x327))[a2_0xeb8183(0x1f5)](async(_0x5458b1,_0x46a4ad,_0x1a4873)=>{const _0x1e9947=a2_0xeb8183,_0x312a7a=new WorkflowPullCommand(),_0x14d7d1=program[_0x1e9947(0x3cf)](),_0x42ab58=await createTDXInstance(_0x14d7d1),_0x26fab1=await _0x312a7a[_0x1e9947(0x1f4)]({'options':{..._0x14d7d1,..._0x1a4873},'args':_0x46a4ad?[_0x5458b1,_0x46a4ad]:[_0x5458b1],'tdx':_0x42ab58});gracefulExit(_0x26fab1);}),workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3c2))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x26c))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3ba),a2_0xeb8183(0x358))[a2_0xeb8183(0x229)](a2_0xeb8183(0x271),'Preview\x20changes\x20without\x20pushing')[a2_0xeb8183(0x229)](a2_0xeb8183(0x32d),a2_0xeb8183(0x2a8))[a2_0xeb8183(0x1f5)](async(_0x281d41,_0x239f99)=>{const _0x4a2739=a2_0xeb8183,_0x64dc86=new WorkflowPushCommand(),_0x10742a=program[_0x4a2739(0x3cf)](),_0x5e873d=await createTDXInstance(_0x10742a),_0x36d6e7=await _0x64dc86[_0x4a2739(0x1f4)]({'options':{..._0x10742a,..._0x239f99},'args':_0x281d41?[_0x281d41]:[],'tdx':_0x5e873d});gracefulExit(_0x36d6e7);}),workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x281))['description']('Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)')[a2_0xeb8183(0x229)]('--name\x20<name>',a2_0xeb8183(0x3e6))[a2_0xeb8183(0x229)]('--revision\x20<revision>',a2_0xeb8183(0x3dc))[a2_0xeb8183(0x229)]('--skip-validation',a2_0xeb8183(0x2a8))[a2_0xeb8183(0x1f5)](async(_0x1c7768,_0x1aa207)=>{const _0x409858=a2_0xeb8183,_0xeb0c83=new WorkflowUploadCommand(),_0x426b6e=program[_0x409858(0x3cf)](),_0x4ec6a1=await createTDXInstance(_0x426b6e),_0xd9191f=await _0xeb0c83[_0x409858(0x1f4)]({'options':{..._0x426b6e,..._0x1aa207},'args':_0x1c7768?[_0x1c7768]:[],'tdx':_0x4ec6a1});gracefulExit(_0xd9191f);}),workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x35b))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1df))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1e4),a2_0xeb8183(0x29a))[a2_0xeb8183(0x229)]('--revision\x20<revision>',a2_0xeb8183(0x358))[a2_0xeb8183(0x229)](a2_0xeb8183(0x271),a2_0xeb8183(0x2ac))[a2_0xeb8183(0x229)](a2_0xeb8183(0x32d),a2_0xeb8183(0x2a8))[a2_0xeb8183(0x1f5)](async(_0x50ae39,_0x5f01c2)=>{const _0x3e143a=new WorkflowCloneCommand(),_0x48fbf2=program['opts'](),_0x57ce71=await createTDXInstance(_0x48fbf2),_0x328a7c=await _0x3e143a['run']({'options':{..._0x48fbf2,..._0x5f01c2},'args':_0x50ae39?[_0x50ae39]:[],'tdx':_0x57ce71});gracefulExit(_0x328a7c);}),workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2a3))['description'](a2_0xeb8183(0x2c3))[a2_0xeb8183(0x1f5)](async(_0x470e61,_0x3e4b16)=>{const _0x37821b=a2_0xeb8183,_0x1fc47e=new WorkflowDeleteCommand(),_0x3d8a45=program[_0x37821b(0x3cf)](),_0x4cf765=await createTDXInstance(_0x3d8a45),_0x3177af=await _0x1fc47e['run']({'options':{..._0x3d8a45,..._0x3e4b16},'args':[_0x470e61],'tdx':_0x4cf765});gracefulExit(_0x3177af);}),workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x253))['description'](a2_0xeb8183(0x393))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e3),a2_0xeb8183(0x3e5))[a2_0xeb8183(0x1f5)](async(_0x45256c,_0x3fa736)=>{const _0x3a4228=a2_0xeb8183,_0x23c3c6=new WorkflowUseCommand(),_0x966248=program['opts'](),_0x110d08=await createTDXInstance(_0x966248),_0x292fa4=await _0x23c3c6[_0x3a4228(0x1f4)]({'options':{..._0x966248,..._0x3fa736},'args':_0x45256c?[_0x45256c]:[],'tdx':_0x110d08});gracefulExit(_0x292fa4);});const wfSecretsCmd=workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3f7))['description']('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2ba))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x375))[a2_0xeb8183(0x1f5)](async(_0x13a69c,_0xd85172)=>{const _0x583bc2=a2_0xeb8183,_0x4c1528=new WorkflowSecretsListCommand(),_0x210617=program[_0x583bc2(0x3cf)](),_0x108b2d=await createTDXInstance(_0x210617),_0x4b25fd=await _0x4c1528['run']({'options':{..._0x210617,..._0xd85172},'args':_0x13a69c?[_0x13a69c]:[],'tdx':_0x108b2d});gracefulExit(_0x4b25fd);}),wfSecretsCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x366))['description'](a2_0xeb8183(0x2f8))['action'](async(_0x2293e2,_0x55742b)=>{const _0x1966c1=a2_0xeb8183,_0x49f295=new WorkflowSecretsSetCommand(),_0x1382ff=program[_0x1966c1(0x3cf)](),_0x124bed=await createTDXInstance(_0x1382ff),_0x151c51=await _0x49f295['run']({'options':{..._0x1382ff,..._0x55742b},'args':_0x2293e2,'tdx':_0x124bed});gracefulExit(_0x151c51);}),wfSecretsCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x25f))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x36e))[a2_0xeb8183(0x1f5)](async(_0x1c406c,_0x2c41d3)=>{const _0x1d7713=a2_0xeb8183,_0x2f23ff=new WorkflowSecretsDeleteCommand(),_0x4409bd=program[_0x1d7713(0x3cf)](),_0x597f31=await createTDXInstance(_0x4409bd),_0x9408e0=await _0x2f23ff['run']({'options':{..._0x4409bd,..._0x2c41d3},'args':_0x1c406c,'tdx':_0x597f31});gracefulExit(_0x9408e0);});const jobCmd=program[a2_0xeb8183(0x274)](a2_0xeb8183(0x3b0))['description']('Job\x20management\x20commands'),jobListAction=async _0x42b050=>{const _0x19092b=a2_0xeb8183,_0x2f0387=new JobListCommand(),_0x410e9b=program[_0x19092b(0x3cf)](),_0x2fbdc9=await createTDXInstance(_0x410e9b),_0x568ebc=await _0x2f0387[_0x19092b(0x1f4)]({'options':{..._0x410e9b,..._0x42b050},'args':[],'tdx':_0x2fbdc9});gracefulExit(_0x568ebc);};jobCmd[a2_0xeb8183(0x274)]('list')[a2_0xeb8183(0x33a)]('List\x20jobs')['option'](a2_0xeb8183(0x1c6),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0xeb8183(0x1f5)](jobListAction),program[a2_0xeb8183(0x274)](a2_0xeb8183(0x334),{'hidden':!![]})[a2_0xeb8183(0x33a)]('List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)')['option']('--status\x20<status>','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0xeb8183(0x1f5)](jobListAction),jobCmd[a2_0xeb8183(0x274)]('show\x20<job-id>')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x209))[a2_0xeb8183(0x1f5)](async(_0x39964f,_0x3018c4)=>{const _0x323ef1=a2_0xeb8183,_0x4c9a66=new JobShowCommand(),_0x3edad4=program[_0x323ef1(0x3cf)](),_0x23bdd1=await createTDXInstance(_0x3edad4),_0xefdca2=await _0x4c9a66[_0x323ef1(0x1f4)]({'options':{..._0x3edad4,..._0x3018c4},'args':[_0x39964f],'tdx':_0x23bdd1});gracefulExit(_0xefdca2);}),jobCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x25d))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x26b))[a2_0xeb8183(0x1f5)](async(_0x1e6750,_0x5d21f4)=>{const _0x51df6e=a2_0xeb8183,_0x155b12=new JobKillCommand(),_0x5ab644=program[_0x51df6e(0x3cf)](),_0x559efd=await createTDXInstance(_0x5ab644),_0x848d2=await _0x155b12[_0x51df6e(0x1f4)]({'options':{..._0x5ab644,..._0x5d21f4},'args':[_0x1e6750],'tdx':_0x559efd});gracefulExit(_0x848d2);}),jobCmd['command'](a2_0xeb8183(0x403))[a2_0xeb8183(0x33a)]('Submit\x20a\x20job')['option'](a2_0xeb8183(0x36b),'Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)',a2_0xeb8183(0x323))['option'](a2_0xeb8183(0x363),'Read\x20query\x20from\x20file')[a2_0xeb8183(0x229)](a2_0xeb8183(0x446),a2_0xeb8183(0x32c),'information_schema')[a2_0xeb8183(0x229)]('--result\x20<target>',a2_0xeb8183(0x306))['action'](async(_0x5c427f,_0x166c84)=>{const _0x39a16e=a2_0xeb8183,_0x50046c=new JobSubmitCommand(),_0x2c9669=program[_0x39a16e(0x3cf)](),_0x179e04=await createTDXInstance(_0x2c9669),_0x293138=await _0x50046c['run']({'options':{..._0x2c9669,..._0x166c84},'args':_0x5c427f?[_0x5c427f]:[],'tdx':_0x179e04});gracefulExit(_0x293138);}),jobCmd[a2_0xeb8183(0x274)]('result\x20<job-id>')[a2_0xeb8183(0x33a)]('Get\x20job\x20results')[a2_0xeb8183(0x1f5)](async(_0x551fd8,_0x20a71e)=>{const _0x2ad998=a2_0xeb8183,_0x5a367e=new JobResultCommand(),_0x5a17d9=program[_0x2ad998(0x3cf)](),_0x46fb12=await createTDXInstance(_0x5a17d9),_0x2e0281=await _0x5a367e[_0x2ad998(0x1f4)]({'options':{..._0x5a17d9,..._0x20a71e},'args':[_0x551fd8],'tdx':_0x46fb12});gracefulExit(_0x2e0281);});const scheduleCmd=jobCmd['command']('schedule')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x340));scheduleCmd[a2_0xeb8183(0x274)]('list\x20[pattern]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1e7))['action'](async(_0x504ad1,_0x2fea42)=>{const _0x1445a7=a2_0xeb8183,_0x55570d=new ScheduleListCommand(),_0x3e6cca=program[_0x1445a7(0x3cf)](),_0xfd14f=await createTDXInstance(_0x3e6cca),_0x2198e6=await _0x55570d[_0x1445a7(0x1f4)]({'options':{..._0x3e6cca,..._0x2fea42},'args':_0x504ad1?[_0x504ad1]:[],'tdx':_0xfd14f});gracefulExit(_0x2198e6);}),scheduleCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3de))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1d2))['action'](async(_0x572056,_0x410a99)=>{const _0x5293c2=a2_0xeb8183,_0x122eaf=new ScheduleShowCommand(),_0x5081fd=program['opts'](),_0x5b6548=await createTDXInstance(_0x5081fd),_0x40ac7a=await _0x122eaf[_0x5293c2(0x1f4)]({'options':{..._0x5081fd,..._0x410a99},'args':[_0x572056],'tdx':_0x5b6548});gracefulExit(_0x40ac7a);}),scheduleCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x40b))[a2_0xeb8183(0x33a)]('Create\x20a\x20scheduled\x20query')[a2_0xeb8183(0x229)]('-d,\x20--database\x20<db>',a2_0xeb8183(0x21b))[a2_0xeb8183(0x229)](a2_0xeb8183(0x35f),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['requiredOption'](a2_0xeb8183(0x363),'Read\x20query\x20from\x20file')[a2_0xeb8183(0x229)](a2_0xeb8183(0x45b),a2_0xeb8183(0x3ad),a2_0xeb8183(0x323))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3a6),a2_0xeb8183(0x3d9))['option'](a2_0xeb8183(0x44c),a2_0xeb8183(0x303))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2fb),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0xeb8183(0x229)]('--priority\x20<-2~2>','Job\x20priority\x20(-2\x20to\x202)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x3c9),'Retry\x20limit\x20(0\x20to\x2032)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x45d),'Query\x20engine\x20version')[a2_0xeb8183(0x229)](a2_0xeb8183(0x21e),a2_0xeb8183(0x361))['action'](async(_0x5bb381,_0x50c223)=>{const _0x4afbd1=a2_0xeb8183,_0x2c1004=new ScheduleCreateCommand(),_0x2b75a2=program['opts'](),_0x47b2cf=await createTDXInstance(_0x2b75a2);_0x50c223['in']&&(_0x50c223[_0x4afbd1(0x3f0)]=_0x50c223['in']);const _0x4df6e5=await _0x2c1004['run']({'options':{..._0x2b75a2,..._0x50c223},'args':[_0x5bb381],'tdx':_0x47b2cf});gracefulExit(_0x4df6e5);}),scheduleCmd['command'](a2_0xeb8183(0x37e))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2d6))['option']('-d,\x20--database\x20<db>',a2_0xeb8183(0x3c3))[a2_0xeb8183(0x229)](a2_0xeb8183(0x35f),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['option'](a2_0xeb8183(0x363),a2_0xeb8183(0x3c7))[a2_0xeb8183(0x229)](a2_0xeb8183(0x45b),a2_0xeb8183(0x3ad))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3a6),a2_0xeb8183(0x3d9))[a2_0xeb8183(0x229)](a2_0xeb8183(0x44c),'Timezone\x20for\x20cron')['option'](a2_0xeb8183(0x2fb),'Delay\x20in\x20seconds\x20before\x20execution')['option'](a2_0xeb8183(0x329),a2_0xeb8183(0x235))['option'](a2_0xeb8183(0x3c9),'Retry\x20limit\x20(0\x20to\x2032)')['option']('--engine-version\x20<version>',a2_0xeb8183(0x398))[a2_0xeb8183(0x229)](a2_0xeb8183(0x21e),a2_0xeb8183(0x361))[a2_0xeb8183(0x1f5)](async(_0x2ca7ad,_0x499c32)=>{const _0x16f3d0=a2_0xeb8183,_0x4efcb4=new ScheduleUpdateCommand(),_0x33c19d=program[_0x16f3d0(0x3cf)](),_0x23d0c8=await createTDXInstance(_0x33c19d);_0x499c32['in']&&(_0x499c32[_0x16f3d0(0x3f0)]=_0x499c32['in']);const _0x1fcd84=await _0x4efcb4[_0x16f3d0(0x1f4)]({'options':{..._0x33c19d,..._0x499c32},'args':[_0x2ca7ad],'tdx':_0x23d0c8});gracefulExit(_0x1fcd84);}),scheduleCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x219))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x206))[a2_0xeb8183(0x1f5)](async(_0x36063e,_0x1ca67d)=>{const _0x1d9797=a2_0xeb8183,_0x3ec789=new ScheduleDeleteCommand(),_0x80a65=program[_0x1d9797(0x3cf)](),_0x37e3cb=await createTDXInstance(_0x80a65),_0x207186=await _0x3ec789[_0x1d9797(0x1f4)]({'options':{..._0x80a65,..._0x1ca67d},'args':[_0x36063e],'tdx':_0x37e3cb});gracefulExit(_0x207186);}),scheduleCmd[a2_0xeb8183(0x274)]('run\x20<name>')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x34d))['option'](a2_0xeb8183(0x2e9),a2_0xeb8183(0x414))[a2_0xeb8183(0x229)](a2_0xeb8183(0x42a),'Number\x20of\x20executions\x20(1-10,\x20default:\x201)')['action'](async(_0x5f0770,_0x16acd4)=>{const _0x569300=a2_0xeb8183,_0x2949c7=new ScheduleRunCommand(),_0x3e80e4=program[_0x569300(0x3cf)](),_0x2b9bcf=await createTDXInstance(_0x3e80e4),_0x189ea1=await _0x2949c7['run']({'options':{..._0x3e80e4,..._0x16acd4},'args':[_0x5f0770],'tdx':_0x2b9bcf});gracefulExit(_0x189ea1);}),scheduleCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3e8))[a2_0xeb8183(0x33a)]('Show\x20schedule\x20execution\x20history')[a2_0xeb8183(0x229)](a2_0xeb8183(0x427),a2_0xeb8183(0x3a5))[a2_0xeb8183(0x229)](a2_0xeb8183(0x317),'Ending\x20offset\x20(default:\x2020)')[a2_0xeb8183(0x1f5)](async(_0x4e14f2,_0xc428a4)=>{const _0x4215cd=a2_0xeb8183,_0x238390=new ScheduleHistoryCommand(),_0x2b0c2d=program[_0x4215cd(0x3cf)](),_0x56af8f=await createTDXInstance(_0x2b0c2d),_0x489e6d=await _0x238390[_0x4215cd(0x1f4)]({'options':{..._0x2b0c2d,..._0xc428a4},'args':[_0x4e14f2],'tdx':_0x56af8f});gracefulExit(_0x489e6d);});const llmCmd=program['command'](a2_0xeb8183(0x372))[a2_0xeb8183(0x33a)]('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x26a))[a2_0xeb8183(0x33a)]('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')['action'](async(_0x4128bd,_0x3dde01)=>{const _0x2666a=a2_0xeb8183,_0xf51bdc=new LLMUseCommand(),_0x2a97e1=program[_0x2666a(0x3cf)](),_0x16cf36=await createTDXInstance(_0x2a97e1),_0x564657=await _0xf51bdc[_0x2666a(0x1f4)]({'options':{..._0x2a97e1,..._0x3dde01},'args':[_0x4128bd],'tdx':_0x16cf36});gracefulExit(_0x564657);}),llmCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x298))['description'](a2_0xeb8183(0x3a0))[a2_0xeb8183(0x1f5)](async _0x343036=>{const _0x3d4c04=a2_0xeb8183,_0x3e85b2=new LLMModelsCommand(),_0x3ee5fd=program[_0x3d4c04(0x3cf)](),_0x219009=await createTDXInstance(_0x3ee5fd),_0x77ce3d=await _0x3e85b2[_0x3d4c04(0x1f4)]({'options':{..._0x3ee5fd,..._0x343036},'args':[],'tdx':_0x219009});gracefulExit(_0x77ce3d);});const projectCmd=llmCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1cf))['description'](a2_0xeb8183(0x3a3)),llmProjectListAction=async(_0x54a447,_0x4812ca)=>{const _0xef5f58=a2_0xeb8183,_0x1234fe=new LLMProjectsCommand(),_0x1ce68a=program[_0xef5f58(0x3cf)](),_0x557649=await createTDXInstance(_0x1ce68a),_0x316e3d=await _0x1234fe[_0xef5f58(0x1f4)]({'options':{..._0x1ce68a,..._0x4812ca},'args':_0x54a447?[_0x54a447]:[],'tdx':_0x557649});gracefulExit(_0x316e3d);};projectCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x388))['description']('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0xeb8183(0x1f5)](llmProjectListAction),llmCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3fb))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3d3))['action'](llmProjectListAction),projectCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x40b))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1f3))[a2_0xeb8183(0x229)](a2_0xeb8183(0x455),a2_0xeb8183(0x40e))['action'](async(_0x3d6114,_0x2333aa)=>{const _0x22d9ab=a2_0xeb8183,_0xfc8f55=new LLMProjectCreateCommand(),_0x55b1c5=program['opts'](),_0x44b4df=await createTDXInstance(_0x55b1c5),_0x193868=await _0xfc8f55[_0x22d9ab(0x1f4)]({'options':{..._0x55b1c5,..._0x2333aa},'args':[_0x3d6114],'tdx':_0x44b4df});gracefulExit(_0x193868);}),projectCmd['command'](a2_0xeb8183(0x219))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x42c))['action'](async(_0x8e256f,_0x374f0b)=>{const _0x567aa8=a2_0xeb8183,_0x16e2bb=new LLMProjectDeleteCommand(),_0x5057f4=program[_0x567aa8(0x3cf)](),_0x133676=await createTDXInstance(_0x5057f4),_0x1bcffb=await _0x16e2bb[_0x567aa8(0x1f4)]({'options':{..._0x5057f4,..._0x374f0b},'args':[_0x8e256f],'tdx':_0x133676});gracefulExit(_0x1bcffb);}),projectCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x217))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x39f))[a2_0xeb8183(0x229)](a2_0xeb8183(0x41d),a2_0xeb8183(0x1f6))[a2_0xeb8183(0x229)](a2_0xeb8183(0x271),a2_0xeb8183(0x43a))[a2_0xeb8183(0x1f5)](async(_0x5dc944,_0x579282)=>{const _0x4f16bf=a2_0xeb8183,_0x4b3614=new LLMProjectBackupCommand(),_0x560c55=program[_0x4f16bf(0x3cf)](),_0x33f82d=await createTDXInstance(_0x560c55),_0x3cc3d7=await _0x4b3614[_0x4f16bf(0x1f4)]({'options':{..._0x560c55,..._0x579282},'args':[_0x5dc944],'tdx':_0x33f82d});gracefulExit(_0x3cc3d7);}),projectCmd[a2_0xeb8183(0x274)]('restore\x20<folder>')[a2_0xeb8183(0x33a)]('[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x382),'New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')['option'](a2_0xeb8183(0x271),'Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')[a2_0xeb8183(0x1f5)](async(_0x3ac4a7,_0x28246a)=>{const _0x4ba3c5=a2_0xeb8183,_0xe58b41=new LLMProjectRestoreCommand(),_0x3312cc=program[_0x4ba3c5(0x3cf)](),_0x21f4ff=await createTDXInstance(_0x3312cc),_0x5cd1a9=await _0xe58b41[_0x4ba3c5(0x1f4)]({'options':{..._0x3312cc,..._0x28246a},'args':[_0x3ac4a7],'tdx':_0x21f4ff});gracefulExit(_0x5cd1a9);});const llmAgentListAction=async(_0xef188a,_0x3ca5b5)=>{const _0x8625bc=a2_0xeb8183,_0x170db1=new LLMAgentsCommand(),_0x50b797=program[_0x8625bc(0x3cf)](),_0x8aed0b=await createTDXInstance(_0x50b797),_0x19e08c=await _0x170db1[_0x8625bc(0x1f4)]({'options':{..._0x50b797,..._0x3ca5b5},'args':_0xef188a?[_0xef188a]:[],'tdx':_0x8aed0b});gracefulExit(_0x19e08c);};llmCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x204))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x445))['action'](llmAgentListAction),program[a2_0xeb8183(0x274)]('agents\x20[pattern]')[a2_0xeb8183(0x33a)]('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')[a2_0xeb8183(0x1f5)](llmAgentListAction),llmCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x435))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x26e))[a2_0xeb8183(0x229)](a2_0xeb8183(0x23e),'Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')[a2_0xeb8183(0x1f5)](async(_0x54ff97,_0x5f169f)=>{const _0x483176=a2_0xeb8183,_0x272ecf=new LLMHistoryCommand(),_0x276f56=program[_0x483176(0x3cf)](),_0xbc874b=await createTDXInstance(_0x276f56),_0x213f89=await _0x272ecf['run']({'options':{..._0x276f56,..._0x5f169f},'args':_0x54ff97?[_0x54ff97]:[],'tdx':_0xbc874b});gracefulExit(_0x213f89);});isExperimentalAvailable()&&llmCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2a0))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2b8))[a2_0xeb8183(0x1f5)](async(_0x459710,_0x3623c8)=>{const _0x19e318=a2_0xeb8183,_0x4755e2=new LLMLogCommand(),_0x496785=program[_0x19e318(0x3cf)](),_0x5c34e9=await createTDXInstance(_0x496785),_0x2c591b=await _0x4755e2[_0x19e318(0x1f4)]({'options':{..._0x496785,..._0x3623c8},'args':[_0x459710],'tdx':_0x5c34e9});gracefulExit(_0x2c591b);});program[a2_0xeb8183(0x274)](a2_0xeb8183(0x33c))[a2_0xeb8183(0x36a)](a2_0xeb8183(0x430))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x337))[a2_0xeb8183(0x229)](a2_0xeb8183(0x285),a2_0xeb8183(0x2b2))[a2_0xeb8183(0x229)]('-r,\x20--resume','Resume\x20a\x20conversation\x20(shows\x20selector)')[a2_0xeb8183(0x229)]('--no-proxy',a2_0xeb8183(0x391))[a2_0xeb8183(0x311)]()['allowExcessArguments'](!![])[a2_0xeb8183(0x380)]('after',a2_0xeb8183(0x320))[a2_0xeb8183(0x1f5)](async(_0x4d20d1,_0x3814f4)=>{const _0x2ed645=a2_0xeb8183,_0x5869d1=program[_0x2ed645(0x3cf)](),_0x4acd06=Array[_0x2ed645(0x31a)](_0x4d20d1)?_0x4d20d1:[];if(_0x4acd06[0x0]===_0x2ed645(0x2ff)){const _0x21c010=new ClaudeStatuslineCommand(),_0x44b088=await _0x21c010[_0x2ed645(0x1f4)]({'options':{..._0x5869d1,..._0x3814f4},'args':_0x4acd06[_0x2ed645(0x3f5)](0x1),'tdx':null});gracefulExit(_0x44b088);}if(_0x4acd06[0x0]===_0x2ed645(0x36a)){const _0x4ab57f=new ClaudeUsageCommand(),_0xe38a47=await _0x4ab57f[_0x2ed645(0x1f4)]({'options':{..._0x5869d1,..._0x3814f4},'args':_0x4acd06[_0x2ed645(0x3f5)](0x1),'tdx':null});gracefulExit(_0xe38a47);}const _0x4ed5cd=new ClaudeCommand(),_0x8a09ac=await createTDXInstance(_0x5869d1),_0x423fed=await _0x4ed5cd[_0x2ed645(0x1f4)]({'options':{..._0x5869d1,..._0x3814f4},'args':_0x4acd06,'tdx':_0x8a09ac});gracefulExit(_0x423fed);}),program[a2_0xeb8183(0x274)]('use\x20[resource]\x20[value]')['description'](a2_0xeb8183(0x300))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e3),'Clear\x20session\x20context')[a2_0xeb8183(0x229)](a2_0xeb8183(0x1e3),a2_0xeb8183(0x224))[a2_0xeb8183(0x1f5)](async(_0x236d9d,_0x395fd2,_0x9b4076)=>{const _0x15d8aa=a2_0xeb8183,_0x27b38a=new UseCommand(),_0x5d349f=program[_0x15d8aa(0x3cf)](),_0x1bca79=[];if(_0x236d9d)_0x1bca79[_0x15d8aa(0x395)](_0x236d9d);if(_0x395fd2)_0x1bca79[_0x15d8aa(0x395)](_0x395fd2);const _0x40d350=_0x236d9d==='engage_workspace',_0x219018=_0x40d350?await createTDXInstance(_0x5d349f):null,_0x529413=await _0x27b38a[_0x15d8aa(0x1f4)]({'options':{..._0x5d349f,..._0x9b4076},'args':_0x1bca79,'tdx':_0x219018});gracefulExit(_0x529413);}),program['command'](a2_0xeb8183(0x265))['description']('Show\x20authentication\x20status\x20and\x20current\x20context')[a2_0xeb8183(0x1f5)](async _0x35fa1f=>{const _0x2fd615=a2_0xeb8183,_0x28554d=new StatusCommand(),_0x33e75a=program[_0x2fd615(0x3cf)](),_0x4ffe3a=await createTDXInstance(_0x33e75a),_0xd7621a=await _0x28554d[_0x2fd615(0x1f4)]({'options':{..._0x33e75a,..._0x35fa1f},'args':[],'tdx':_0x4ffe3a});gracefulExit(_0xd7621a);}),program['command'](a2_0xeb8183(0x45a))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x381))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1e3),a2_0xeb8183(0x201))[a2_0xeb8183(0x1f5)](async(_0x366221,_0x54be5a)=>{const _0x40fa50=a2_0xeb8183,_0x1bdd42=new UnsetCommand(),_0x9635c9=program[_0x40fa50(0x3cf)](),_0x2adca4=await _0x1bdd42[_0x40fa50(0x1f4)]({'options':{..._0x9635c9,..._0x54be5a},'args':[_0x366221],'tdx':null});gracefulExit(_0x2adca4);}),program[a2_0xeb8183(0x274)]('chats')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x41c))[a2_0xeb8183(0x229)](a2_0xeb8183(0x23e),a2_0xeb8183(0x25c))[a2_0xeb8183(0x1f5)](async _0x3efb75=>{const _0x436f5b=a2_0xeb8183,_0xe564b9=new ChatsCommand(),_0x4e0f15=program[_0x436f5b(0x3cf)](),_0x49eecb=await createTDXInstance(_0x4e0f15),_0x583bfe=await _0xe564b9[_0x436f5b(0x1f4)]({'options':{..._0x4e0f15,..._0x3efb75},'args':[],'tdx':_0x49eecb});gracefulExit(_0x583bfe);});const authCmd=program[a2_0xeb8183(0x274)](a2_0xeb8183(0x313))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x350));async function runAuthStatusCommand(_0x148605){const _0x550f9a=a2_0xeb8183,_0x42ebd6=new AuthStatusCommand(),_0x591ef8=program[_0x550f9a(0x3cf)](),_0x5d3dc0=await createTDXInstance(_0x591ef8),_0x1c82db=await _0x42ebd6[_0x550f9a(0x1f4)]({'options':{..._0x591ef8,..._0x148605},'args':[],'tdx':_0x5d3dc0});gracefulExit(_0x1c82db);}authCmd['action'](runAuthStatusCommand),authCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x265))['description']('Show\x20authentication\x20status\x20and\x20validate\x20API\x20key')[a2_0xeb8183(0x1f5)](runAuthStatusCommand),authCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x423))['description'](a2_0xeb8183(0x314))[a2_0xeb8183(0x380)]('after','\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_0xeb8183(0x1f5)](async _0x2bd9c7=>{const _0x1940e0=a2_0xeb8183,_0x4c0b19=new AuthSetupCommand(),_0x4df274=program[_0x1940e0(0x3cf)](),_0x23786d=await createTDXInstance(_0x4df274),_0x1d6e3f=await _0x4c0b19['run']({'options':{..._0x4df274,..._0x2bd9c7},'args':[],'tdx':_0x23786d});gracefulExit(_0x1d6e3f);}),authCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3c6))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x237))[a2_0xeb8183(0x380)]('after','\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_0xeb8183(0x1f5)](async _0x12efe5=>{const _0x264502=a2_0xeb8183,_0x224f6d=new AuthClearCommand(),_0x3201ea=program[_0x264502(0x3cf)](),_0x279d80=await _0x224f6d[_0x264502(0x1f4)]({'options':{..._0x3201ea,..._0x12efe5},'args':[],'tdx':null});gracefulExit(_0x279d80);});const userCmd=program[a2_0xeb8183(0x274)]('user')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x33d)),userListAction=async _0x38a766=>{const _0x4fe526=a2_0xeb8183,_0x56ebc7=new UserListCommand(),_0x228ecb=program['opts'](),_0x5ddd5a=await createTDXInstance(_0x228ecb),_0x9ac073=await _0x56ebc7[_0x4fe526(0x1f4)]({'options':{..._0x228ecb,..._0x38a766},'args':[],'tdx':_0x5ddd5a});gracefulExit(_0x9ac073);};userCmd[a2_0xeb8183(0x1f5)](async _0x1e58f6=>{const _0x4f0e72=a2_0xeb8183,_0x3e6ad9=new UserCommand(),_0x383d87=program[_0x4f0e72(0x3cf)](),_0x59b265=await createTDXInstance(_0x383d87),_0x1fab31=await _0x3e6ad9['run']({'options':{..._0x383d87,..._0x1e58f6},'args':[],'tdx':_0x59b265});gracefulExit(_0x1fab31);}),userCmd[a2_0xeb8183(0x274)]('list')['description']('List\x20all\x20users\x20in\x20the\x20account')[a2_0xeb8183(0x1f5)](userListAction),program[a2_0xeb8183(0x274)](a2_0xeb8183(0x23a))['description'](a2_0xeb8183(0x248))[a2_0xeb8183(0x1f5)](userListAction),program[a2_0xeb8183(0x274)](a2_0xeb8183(0x3e4))[a2_0xeb8183(0x33a)]('List\x20all\x20available\x20profiles')[a2_0xeb8183(0x1f5)](async _0x242f02=>{const _0x123b24=new ProfilesCommand(),_0x2fe9fb=program['opts'](),_0x1f024d=await _0x123b24['run']({'options':{..._0x2fe9fb,..._0x242f02},'args':[],'tdx':null});gracefulExit(_0x1f024d);});const profileCmd=program[a2_0xeb8183(0x274)](a2_0xeb8183(0x3d8))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x29e));profileCmd['action'](()=>{profileCmd['outputHelp']();});const profileListAction=async _0x301ca9=>{const _0xab2056=a2_0xeb8183,_0x3a1b98=new ProfilesCommand(),_0x4ee5e4=program[_0xab2056(0x3cf)](),_0x56c981=await _0x3a1b98['run']({'options':{..._0x4ee5e4,..._0x301ca9},'args':[],'tdx':null});gracefulExit(_0x56c981);};profileCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2b4))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x28d))[a2_0xeb8183(0x1f5)](profileListAction),profileCmd[a2_0xeb8183(0x274)]('create\x20[name]')['description'](a2_0xeb8183(0x23c))[a2_0xeb8183(0x380)](a2_0xeb8183(0x39c),a2_0xeb8183(0x2a5))['action'](async(_0x3087cd,_0x9657fa)=>{const _0x432df5=a2_0xeb8183,_0x70700d=new ProfileCreateCommand(),_0x5ba76c=program[_0x432df5(0x3cf)](),_0x45766c=await _0x70700d['run']({'options':{..._0x5ba76c,..._0x9657fa},'args':_0x3087cd?[_0x3087cd]:[],'tdx':null});gracefulExit(_0x45766c);}),profileCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1c2))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1d5))['addHelpText'](a2_0xeb8183(0x39c),a2_0xeb8183(0x2e0))[a2_0xeb8183(0x1f5)](async(_0x18d9c9,_0x4a2f2b)=>{const _0x5dcdce=a2_0xeb8183,_0x2c83a3=new ProfileRemoveCommand(),_0x575131=program[_0x5dcdce(0x3cf)](),_0x78857e=await _0x2c83a3[_0x5dcdce(0x1f4)]({'options':{..._0x575131,..._0x4a2f2b},'args':[_0x18d9c9],'tdx':null});gracefulExit(_0x78857e);}),profileCmd[a2_0xeb8183(0x274)]('set\x20<key=value>')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3b8))['addHelpText']('after',a2_0xeb8183(0x3d6))['action'](async(_0x113d8d,_0x1793fb)=>{const _0x137121=a2_0xeb8183,_0xe5e219=new ProfileSetCommand(),_0x2e1ca1=program[_0x137121(0x3cf)](),_0x4d374a=await _0xe5e219[_0x137121(0x1f4)]({'options':{..._0x2e1ca1,..._0x1793fb},'args':[_0x113d8d],'tdx':null});gracefulExit(_0x4d374a);}),profileCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2bd))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2ca))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1e3),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0xeb8183(0x380)](a2_0xeb8183(0x39c),a2_0xeb8183(0x27a))[a2_0xeb8183(0x1f5)](async(_0xc61350,_0x1f02c8)=>{const _0x497407=a2_0xeb8183,_0x2317e1=new ProfileUseCommand(),_0x338dc9=program[_0x497407(0x3cf)](),_0x1d6de3=await _0x2317e1[_0x497407(0x1f4)]({'options':{..._0x338dc9,..._0x1f02c8},'args':[_0xc61350],'tdx':null});gracefulExit(_0x1d6de3);});const engageCmd=program['command'](a2_0xeb8183(0x1d3))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2c7)),createEngageAction=_0x4b0067=>{return async(_0x484f91,_0x7978fe)=>{const _0x2616e6=a2_0x44dc,_0xcc5cb8=new _0x4b0067(),_0x392254=program['opts'](),_0xb40d0e=await createTDXInstance(_0x392254),_0x60f852=await _0xcc5cb8[_0x2616e6(0x1f4)]({'options':{..._0x392254,..._0x7978fe},'args':[_0x484f91],'tdx':_0xb40d0e});gracefulExit(_0x60f852);};},createEngageNoArgAction=_0x51abab=>{return async _0x2f1fee=>{const _0x2040c7=a2_0x44dc,_0x4dcaa6=new _0x51abab(),_0x2395b5=program[_0x2040c7(0x3cf)](),_0x427446=await createTDXInstance(_0x2395b5),_0x11c81b=await _0x4dcaa6['run']({'options':{..._0x2395b5,..._0x2f1fee},'args':[],'tdx':_0x427446});gracefulExit(_0x11c81b);};},createEngageListAction=_0x16901a=>{return async(_0x4ce7d0,_0x56dc3c)=>{const _0x49a656=a2_0x44dc,_0x356610=new _0x16901a(),_0x31683e=program[_0x49a656(0x3cf)](),_0x118d28=await createTDXInstance(_0x31683e),_0x2437e0=await _0x356610['run']({'options':{..._0x31683e,..._0x56dc3c},'args':_0x4ce7d0?[_0x4ce7d0]:[],'tdx':_0x118d28});gracefulExit(_0x2437e0);};},campaignCmd=engageCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x373))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3b7));campaignCmd[a2_0xeb8183(0x274)]('list\x20[pattern]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x42e))[a2_0xeb8183(0x229)](a2_0xeb8183(0x45b),a2_0xeb8183(0x26f))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1c6),a2_0xeb8183(0x410))['option']('--workspace\x20<name>',a2_0xeb8183(0x240))[a2_0xeb8183(0x1f5)](createEngageListAction(EngageCampaignsCommand)),engageCmd['command'](a2_0xeb8183(0x2ad))['description'](a2_0xeb8183(0x3f6))[a2_0xeb8183(0x229)]('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x1c6),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x1f5)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0xeb8183(0x274)]('show\x20<name-or-id>')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x251))['option']('--workspace\x20<name>',a2_0xeb8183(0x240))[a2_0xeb8183(0x229)]('--full',a2_0xeb8183(0x205))[a2_0xeb8183(0x1f5)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0xeb8183(0x274)]('create')[a2_0xeb8183(0x33a)]('Create\x20a\x20new\x20campaign')[a2_0xeb8183(0x213)](a2_0xeb8183(0x1e4),a2_0xeb8183(0x3cc))[a2_0xeb8183(0x213)](a2_0xeb8183(0x45b),a2_0xeb8183(0x3ec))[a2_0xeb8183(0x229)](a2_0xeb8183(0x343),a2_0xeb8183(0x439))['option'](a2_0xeb8183(0x297),a2_0xeb8183(0x417))[a2_0xeb8183(0x229)](a2_0xeb8183(0x384),a2_0xeb8183(0x368))[a2_0xeb8183(0x229)]('--email-sender-id\x20<id>',a2_0xeb8183(0x215))[a2_0xeb8183(0x229)]('--json-columns\x20<cols>',a2_0xeb8183(0x2d4))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1d4),a2_0xeb8183(0x228))[a2_0xeb8183(0x229)]('--timezone\x20<tz>',a2_0xeb8183(0x25e))[a2_0xeb8183(0x1f5)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd['command'](a2_0xeb8183(0x305))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x272))['option'](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1e4),a2_0xeb8183(0x2f5))[a2_0xeb8183(0x229)](a2_0xeb8183(0x297),'Campaign\x20description')[a2_0xeb8183(0x229)](a2_0xeb8183(0x384),a2_0xeb8183(0x368))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2c0),a2_0xeb8183(0x215))[a2_0xeb8183(0x229)](a2_0xeb8183(0x40f),a2_0xeb8183(0x2d4))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1d4),a2_0xeb8183(0x228))[a2_0xeb8183(0x229)]('--timezone\x20<tz>',a2_0xeb8183(0x25e))['action'](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command'](a2_0xeb8183(0x1ff))['description'](a2_0xeb8183(0x2fa))[a2_0xeb8183(0x229)](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x229)](a2_0xeb8183(0x23b),a2_0xeb8183(0x245))[a2_0xeb8183(0x1f5)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x38a))[a2_0xeb8183(0x33a)]('Launch\x20a\x20campaign')[a2_0xeb8183(0x229)]('--workspace\x20<name>',a2_0xeb8183(0x240))['action'](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1e9))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x211))[a2_0xeb8183(0x229)](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x1f5)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd['command'](a2_0xeb8183(0x458))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x338))['option'](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x1f5)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x216))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3c5))['option'](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x1f5)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0xeb8183(0x274)]('pull\x20[workspace-name]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x20f))[a2_0xeb8183(0x229)](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1e4),a2_0xeb8183(0x2fe))[a2_0xeb8183(0x229)]('--type\x20<type>',a2_0xeb8183(0x26f))[a2_0xeb8183(0x229)](a2_0xeb8183(0x271),a2_0xeb8183(0x2db))[a2_0xeb8183(0x1f5)](createEngageAction(EngageCampaignPullCommand)),campaignCmd['command']('push\x20[target]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2a7))['option'](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x229)]('--dry-run',a2_0xeb8183(0x31c))['action'](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x28b))['description'](a2_0xeb8183(0x1d6))[a2_0xeb8183(0x229)](a2_0xeb8183(0x263),a2_0xeb8183(0x27f))[a2_0xeb8183(0x1f5)](createEngageAction(EngageCampaignValidateCommand));const templateCmd=engageCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x24c))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x33b));templateCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x388))[a2_0xeb8183(0x33a)]('List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x1f5)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x22c))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x286))['option']('--workspace\x20<name>',a2_0xeb8183(0x240))[a2_0xeb8183(0x1f5)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2a6))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2af))[a2_0xeb8183(0x229)](a2_0xeb8183(0x343),'Workspace\x20name')[a2_0xeb8183(0x229)](a2_0xeb8183(0x3d0),a2_0xeb8183(0x205))['action'](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0xeb8183(0x274)]('create')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x411))[a2_0xeb8183(0x213)]('--name\x20<name>',a2_0xeb8183(0x32b))[a2_0xeb8183(0x213)]('--subject\x20<subject>',a2_0xeb8183(0x2ec))[a2_0xeb8183(0x213)](a2_0xeb8183(0x29c),a2_0xeb8183(0x3e7))[a2_0xeb8183(0x229)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x3f3),a2_0xeb8183(0x34b))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3da),a2_0xeb8183(0x43b),_0x33794b=>{const _0x3dc61d=a2_0xeb8183;if(![_0x3dc61d(0x369),'grapesjs'][_0x3dc61d(0x290)](_0x33794b))throw new SDKError(ErrorCode[_0x3dc61d(0x319)],_0x3dc61d(0x2e8)+_0x33794b+_0x3dc61d(0x1e8));return _0x33794b;})['action'](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd['command']('update\x20<name-or-id>')['description']('Update\x20an\x20email\x20template')[a2_0xeb8183(0x229)](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1e4),a2_0xeb8183(0x3e1))[a2_0xeb8183(0x229)]('--subject\x20<subject>',a2_0xeb8183(0x2ec))[a2_0xeb8183(0x229)]('--html\x20<html>',a2_0xeb8183(0x3e7))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3f3),a2_0xeb8183(0x34b))['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1ff))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3fd))[a2_0xeb8183(0x229)](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x229)]('--yes',a2_0xeb8183(0x245))[a2_0xeb8183(0x1f5)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x277))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x438));workspaceCmd['command'](a2_0xeb8183(0x388))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3a8))['action'](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0xeb8183(0x274)]('workspaces\x20[pattern]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x32e))[a2_0xeb8183(0x1f5)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0xeb8183(0x274)]('show\x20<name-or-id>')[a2_0xeb8183(0x33a)]('Show\x20workspace\x20details')[a2_0xeb8183(0x229)](a2_0xeb8183(0x3d0),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0xeb8183(0x1f5)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2ee))['description']('Create\x20a\x20workspace')[a2_0xeb8183(0x213)]('--name\x20<name>',a2_0xeb8183(0x240))['option'](a2_0xeb8183(0x297),a2_0xeb8183(0x214))['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x305))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x324))['option'](a2_0xeb8183(0x1e4),'New\x20workspace\x20name')['option'](a2_0xeb8183(0x297),a2_0xeb8183(0x214))[a2_0xeb8183(0x1f5)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0xeb8183(0x274)]('delete\x20<name-or-id>')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x420))[a2_0xeb8183(0x229)](a2_0xeb8183(0x23b),'Skip\x20confirmation\x20prompt')[a2_0xeb8183(0x1f5)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2bd))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x41b))['action'](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program['command']('delivery')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x342));deliveryCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x322))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2ab))['option'](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x1f5)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0xeb8183(0x274)](a2_0xeb8183(0x2d5))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x43e)),connectionListAction=async _0x243876=>{const _0x149159=a2_0xeb8183,_0x37410c=new ConnectionListCommand(),_0x5b5eb7=program['opts'](),_0x317798=await createTDXInstance(_0x5b5eb7),_0x216052=await _0x37410c[_0x149159(0x1f4)]({'options':{..._0x5b5eb7,..._0x243876},'args':[],'tdx':_0x317798});gracefulExit(_0x216052);};connectionCmd[a2_0xeb8183(0x274)]('list')['description'](a2_0xeb8183(0x234))[a2_0xeb8183(0x1f5)](connectionListAction),program[a2_0xeb8183(0x274)]('connections',{'hidden':!![]})['description'](a2_0xeb8183(0x42d))['action'](connectionListAction),connectionCmd['command'](a2_0xeb8183(0x3de))['description'](a2_0xeb8183(0x39a))['action'](async(_0x26674a,_0x2b02f3)=>{const _0x1bbe9b=a2_0xeb8183,_0x54f4c2=new ConnectionShowCommand(),_0x44efcf=program[_0x1bbe9b(0x3cf)](),_0x55f4a3=await createTDXInstance(_0x44efcf),_0x43abf1=await _0x54f4c2['run']({'options':{..._0x44efcf,..._0x2b02f3},'args':[_0x26674a],'tdx':_0x55f4a3});gracefulExit(_0x43abf1);}),connectionCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2c9))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3bf))[a2_0xeb8183(0x1f5)](async(_0x1d3a35,_0x38bd58)=>{const _0xdb83b7=a2_0xeb8183,_0xb3d22a=new ConnectionSchemaCommand(),_0x2b208c=program[_0xdb83b7(0x3cf)](),_0x2b4c07=await createTDXInstance(_0x2b208c),_0x4f9218=await _0xb3d22a[_0xdb83b7(0x1f4)]({'options':{..._0x2b208c,..._0x38bd58},'args':[_0x1d3a35],'tdx':_0x2b4c07});gracefulExit(_0x4f9218);}),connectionCmd['command'](a2_0xeb8183(0x226))['description'](a2_0xeb8183(0x325))['action'](async _0x145c23=>{const _0x55dfbc=a2_0xeb8183,_0x28db57=new ConnectionTypesCommand(),_0x54a6b1=program[_0x55dfbc(0x3cf)](),_0x45f9d4=await createTDXInstance(_0x54a6b1),_0x9f9b6d=await _0x28db57[_0x55dfbc(0x1f4)]({'options':{..._0x54a6b1,..._0x145c23},'args':[],'tdx':_0x45f9d4});gracefulExit(_0x9f9b6d);}),connectionCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x453))['description'](a2_0xeb8183(0x400))[a2_0xeb8183(0x1f5)](async(_0x17c6c2,_0x1b5819)=>{const _0x33677d=a2_0xeb8183,_0xa10513=new ConnectionSettingsCommand(),_0x26e465=program['opts'](),_0x266e6e=await createTDXInstance(_0x26e465),_0x5b0e28=await _0xa10513[_0x33677d(0x1f4)]({'options':{..._0x26e465,..._0x1b5819},'args':[_0x17c6c2],'tdx':_0x266e6e});gracefulExit(_0x5b0e28);});const journeyCmd=program[a2_0xeb8183(0x274)](a2_0xeb8183(0x34e))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3a2)),journeyListAction=async(_0x2dfdcb,_0x494f3a)=>{const _0x37f1df=a2_0xeb8183,_0x489318=new JourneyListCommand(),_0xa2e4f7=program['opts'](),_0x138cea=await createTDXInstance(_0xa2e4f7),_0x1d9770=await _0x489318[_0x37f1df(0x1f4)]({'options':{..._0xa2e4f7,..._0x494f3a},'args':_0x2dfdcb?[_0x2dfdcb]:[],'tdx':_0x138cea});gracefulExit(_0x1d9770);};journeyCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x388))['description'](a2_0xeb8183(0x365))[a2_0xeb8183(0x1f5)](journeyListAction),journeyCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2d7))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x39b))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3ea),a2_0xeb8183(0x45e))[a2_0xeb8183(0x229)]('--include-stats',a2_0xeb8183(0x406))[a2_0xeb8183(0x1f5)](async(_0x3acdf5,_0x43f384)=>{const _0x19d718=a2_0xeb8183,_0x30b8c6=new JourneyViewCommand(),_0x3ae575=program[_0x19d718(0x3cf)](),_0x2a457c=await createTDXInstance(_0x3ae575),_0x385198=await _0x30b8c6[_0x19d718(0x1f4)]({'options':{..._0x3ae575,..._0x43f384},'args':[_0x3acdf5],'tdx':_0x2a457c});gracefulExit(_0x385198);}),journeyCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2f6))['description'](a2_0xeb8183(0x39e))[a2_0xeb8183(0x229)](a2_0xeb8183(0x270),a2_0xeb8183(0x405))[a2_0xeb8183(0x229)]('--from\x20<date>',a2_0xeb8183(0x1fb))['option'](a2_0xeb8183(0x460),a2_0xeb8183(0x330))[a2_0xeb8183(0x229)]('--include-history',a2_0xeb8183(0x3ed))[a2_0xeb8183(0x1f5)](async(_0xa505d4,_0x25eab8)=>{const _0x1f48f9=a2_0xeb8183,_0xc778b=new JourneyStatsCommand(),_0x549662=program[_0x1f48f9(0x3cf)](),_0x40beda=await createTDXInstance(_0x549662),_0x140827=await _0xc778b['run']({'options':{..._0x549662,..._0x25eab8},'args':[_0xa505d4],'tdx':_0x40beda});gracefulExit(_0x140827);}),journeyCmd[a2_0xeb8183(0x274)]('traffic\x20<name-or-path>')[a2_0xeb8183(0x33a)]('Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)')['option']('--type\x20<type>',a2_0xeb8183(0x389))['option'](a2_0xeb8183(0x2f2),a2_0xeb8183(0x1fb))[a2_0xeb8183(0x229)]('--to\x20<date>',a2_0xeb8183(0x330))[a2_0xeb8183(0x229)]('--limit\x20<number>',a2_0xeb8183(0x351),_0x3c1149=>{const _0x1598da=a2_0xeb8183,_0x2bf29e=parseInt(_0x3c1149,0xa);if(isNaN(_0x2bf29e))throw new Error(_0x1598da(0x2c2)+_0x3c1149+'\x22.\x20Must\x20be\x20a\x20number.');return _0x2bf29e;})[a2_0xeb8183(0x1f5)](async(_0x308334,_0x597818)=>{const _0x3dab11=a2_0xeb8183,_0x5792ac=new JourneyTrafficCommand(),_0x303f3b=program[_0x3dab11(0x3cf)](),_0x56251a=await createTDXInstance(_0x303f3b),_0xdbbee1=await _0x5792ac['run']({'options':{..._0x303f3b,..._0x597818},'args':[_0x308334],'tdx':_0x56251a});gracefulExit(_0xdbbee1);}),journeyCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x383))[a2_0xeb8183(0x33a)]('Pause\x20a\x20running\x20journey')[a2_0xeb8183(0x1f5)](async(_0x5737dd,_0x451a0)=>{const _0x3a2de8=a2_0xeb8183,_0x1f60e1=new JourneyPauseCommand(),_0x471453=program['opts'](),_0x23aeb5=await createTDXInstance(_0x471453),_0x2b5dc4=await _0x1f60e1[_0x3a2de8(0x1f4)]({'options':{..._0x471453,..._0x451a0},'args':[_0x5737dd],'tdx':_0x23aeb5});gracefulExit(_0x2b5dc4);}),journeyCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2ae))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1f7))[a2_0xeb8183(0x1f5)](async(_0x5c6aa0,_0x2df067)=>{const _0x54543f=a2_0xeb8183,_0x10ba73=new JourneyResumeCommand(),_0x5a67d4=program[_0x54543f(0x3cf)](),_0x223095=await createTDXInstance(_0x5a67d4),_0x5e2536=await _0x10ba73['run']({'options':{..._0x5a67d4,..._0x2df067},'args':[_0x5c6aa0],'tdx':_0x223095});gracefulExit(_0x5e2536);}),journeyCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1ec))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x336))[a2_0xeb8183(0x229)](a2_0xeb8183(0x271),'Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')[a2_0xeb8183(0x1f5)](async(_0x388656,_0x2b88de)=>{const _0x116d44=new JourneyPullCommand(),_0x557005=program['opts'](),_0x3f9905=await createTDXInstance(_0x557005),_0x4a9a3e=await _0x116d44['run']({'options':{..._0x557005,..._0x2b88de},'args':_0x388656?[_0x388656]:[],'tdx':_0x3f9905});gracefulExit(_0x4a9a3e);}),journeyCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x32a))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x28f))[a2_0xeb8183(0x1f5)](async(_0x5f4a89,_0x32b46c)=>{const _0x1da43a=a2_0xeb8183,_0x2cdd32=new JourneyPushCommand(),_0x27a805=program[_0x1da43a(0x3cf)](),_0xf542b=await createTDXInstance(_0x27a805),_0x29a07f=await _0x2cdd32[_0x1da43a(0x1f4)]({'options':{..._0x27a805,..._0x32b46c},'args':_0x5f4a89?[_0x5f4a89]:[],'tdx':_0xf542b});gracefulExit(_0x29a07f);}),journeyCmd['command'](a2_0xeb8183(0x31e))['description'](a2_0xeb8183(0x257))['action'](async(_0x2f7f41,_0x3a5c1f)=>{const _0x2d151f=a2_0xeb8183,_0x484351=new JourneyColumnsCommand(),_0x2b3d2d=program[_0x2d151f(0x3cf)](),_0x2137e0=await createTDXInstance(_0x2b3d2d),_0x570f22=await _0x484351[_0x2d151f(0x1f4)]({'options':{..._0x2b3d2d,..._0x3a5c1f},'args':[_0x2f7f41],'tdx':_0x2137e0});gracefulExit(_0x570f22);}),journeyCmd[a2_0xeb8183(0x274)]('activations\x20<name-or-path>')[a2_0xeb8183(0x33a)]('List\x20activations\x20for\x20a\x20journey')[a2_0xeb8183(0x1f5)](async(_0x378563,_0x4d29ab)=>{const _0x15035a=a2_0xeb8183,_0x3e1efe=new JourneyActivationsCommand(),_0x1c02a4=program[_0x15035a(0x3cf)](),_0x274258=await createTDXInstance(_0x1c02a4),_0x1f88be=await _0x3e1efe[_0x15035a(0x1f4)]({'options':{..._0x1c02a4,..._0x4d29ab},'args':[_0x378563],'tdx':_0x274258});gracefulExit(_0x1f88be);}),journeyCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2eb))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1fe))[a2_0xeb8183(0x1f5)](async(_0x5e6d97,_0x191f86)=>{const _0x4a4509=a2_0xeb8183,_0x58408f=new JourneyVersionsCommand(),_0x2c3c6b=program[_0x4a4509(0x3cf)](),_0x324708=await createTDXInstance(_0x2c3c6b),_0xa3c21e=await _0x58408f['run']({'options':{..._0x2c3c6b,..._0x191f86},'args':[_0x5e6d97],'tdx':_0x324708});gracefulExit(_0xa3c21e);});const journeyVersionCmd=journeyCmd['command'](a2_0xeb8183(0x238))['description']('Journey\x20version\x20management');journeyVersionCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x43d))[a2_0xeb8183(0x33a)]('Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey')[a2_0xeb8183(0x1f5)](async(_0x436dee,_0x1eda92)=>{const _0x56cc54=a2_0xeb8183,_0x2f4b1b=new JourneyVersionCreateCommand(),_0x201f6f=program[_0x56cc54(0x3cf)](),_0xdf5273=await createTDXInstance(_0x201f6f),_0x397a15=await _0x2f4b1b[_0x56cc54(0x1f4)]({'options':{..._0x201f6f,..._0x1eda92},'args':[_0x436dee],'tdx':_0xdf5273});gracefulExit(_0x397a15);}),journeyVersionCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2d7))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1e1))[a2_0xeb8183(0x213)](a2_0xeb8183(0x345),a2_0xeb8183(0x2ea))[a2_0xeb8183(0x1f5)](async(_0xd51ecf,_0x20869c)=>{const _0x1b07bc=a2_0xeb8183,_0x133d87=new JourneyVersionViewCommand(),_0x1f61bd=program['opts'](),_0x1dee4a=await createTDXInstance(_0x1f61bd),_0x3d45dd=await _0x133d87[_0x1b07bc(0x1f4)]({'options':{..._0x1f61bd,..._0x20869c},'args':[_0xd51ecf],'tdx':_0x1dee4a});gracefulExit(_0x3d45dd);}),journeyCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x28b))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x255))[a2_0xeb8183(0x1f5)](async(_0x5ab3fd,_0x48f041)=>{const _0x272b6c=a2_0xeb8183,_0x45b0b8=new JourneyValidateCommand(),_0x47e76f=program[_0x272b6c(0x3cf)](),_0xc644ef=await createTDXInstance(_0x47e76f),_0x20f8b7=await _0x45b0b8['run']({'options':{..._0x47e76f,..._0x48f041},'args':_0x5ab3fd?[_0x5ab3fd]:[],'tdx':_0xc644ef});gracefulExit(_0x20f8b7);}),program['command']('journeys\x20[pattern]')['description']('List\x20journeys\x20(alias\x20for\x20journey\x20list)')[a2_0xeb8183(0x1f5)](journeyListAction);const agentSyncCmd=program[a2_0xeb8183(0x274)]('agent')['description'](a2_0xeb8183(0x370));agentSyncCmd[a2_0xeb8183(0x274)]('pull\x20[project]\x20[agent-name]')['description'](a2_0xeb8183(0x202))[a2_0xeb8183(0x229)](a2_0xeb8183(0x27b),a2_0xeb8183(0x426))[a2_0xeb8183(0x229)](a2_0xeb8183(0x34a),a2_0xeb8183(0x2a1))[a2_0xeb8183(0x229)](a2_0xeb8183(0x266),a2_0xeb8183(0x2d9))[a2_0xeb8183(0x1f5)](async(_0x52ddfc,_0x22653f,_0x4836cc)=>{const _0x144ed0=a2_0xeb8183,_0x2ae31c=new AgentPullCommand(),_0x3e6c56=program[_0x144ed0(0x3cf)](),_0x31d2bf=await createTDXInstance(_0x3e6c56),_0x1ac367=[];if(_0x52ddfc)_0x1ac367[_0x144ed0(0x395)](_0x52ddfc);if(_0x22653f)_0x1ac367['push'](_0x22653f);const _0x26fea6=await _0x2ae31c[_0x144ed0(0x1f4)]({'options':{..._0x3e6c56,..._0x4836cc},'args':_0x1ac367,'tdx':_0x31d2bf});gracefulExit(_0x26fea6);}),agentSyncCmd[a2_0xeb8183(0x274)]('push\x20[path]')['description'](a2_0xeb8183(0x3f1))['option']('-f,\x20--force',a2_0xeb8183(0x390))[a2_0xeb8183(0x1f5)](async(_0x22dc53,_0x4337a6)=>{const _0x244e3e=a2_0xeb8183,_0x16a919=new AgentPushCommand(),_0x1c7d7a=program['opts'](),_0xafcad3=await createTDXInstance(_0x1c7d7a),_0x137818=await _0x16a919[_0x244e3e(0x1f4)]({'options':{..._0x1c7d7a,..._0x4337a6},'args':_0x22dc53?[_0x22dc53]:[],'tdx':_0xafcad3});gracefulExit(_0x137818);}),agentSyncCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x23d))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x278))['option']('-n,\x20--name\x20<name>',a2_0xeb8183(0x29a))['action'](async(_0x4bcd25,_0x1ebb32)=>{const _0x215c9a=a2_0xeb8183,_0x3db6dd=new AgentCloneCommand(),_0x36dcde=program[_0x215c9a(0x3cf)](),_0x588eac=await createTDXInstance(_0x36dcde),_0x5af751=await _0x3db6dd['run']({'options':{..._0x36dcde,..._0x1ebb32},'args':_0x4bcd25?[_0x4bcd25]:[],'tdx':_0x588eac});gracefulExit(_0x5af751);}),agentSyncCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3ff))['description']('Run\x20tests\x20for\x20an\x20LLM\x20agent')['option'](a2_0xeb8183(0x456),a2_0xeb8183(0x333))[a2_0xeb8183(0x229)]('--tags\x20<tags>','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)')['option'](a2_0xeb8183(0x271),'Parse\x20and\x20validate\x20without\x20executing')[a2_0xeb8183(0x229)]('--no-eval',a2_0xeb8183(0x3d7))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1f1),'Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')[a2_0xeb8183(0x1f5)](async(_0x156dc3,_0x277ebf)=>{const _0x46c2ff=a2_0xeb8183,_0x45e21e=new AgentTestCommand(),_0x391590=program['opts'](),_0x880ef4=await createTDXInstance(_0x391590),_0x283d93=await _0x45e21e[_0x46c2ff(0x1f4)]({'options':{..._0x391590,..._0x277ebf},'args':_0x156dc3?[_0x156dc3]:[],'tdx':_0x880ef4});gracefulExit(_0x283d93);}),agentSyncCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x388))[a2_0xeb8183(0x33a)]('List\x20agents\x20in\x20current\x20project')[a2_0xeb8183(0x1f5)](llmAgentListAction),agentSyncCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x289))['description'](a2_0xeb8183(0x1d7))[a2_0xeb8183(0x1f5)](async(_0x266eb7,_0x2a339e)=>{const _0x54c6d4=a2_0xeb8183,_0x334e58=new LLMAgentShowCommand(),_0x5ebf60=program[_0x54c6d4(0x3cf)](),_0x9d11c3=await createTDXInstance(_0x5ebf60),_0x1202b5=await _0x334e58[_0x54c6d4(0x1f4)]({'options':{..._0x5ebf60,..._0x2a339e},'args':[_0x266eb7],'tdx':_0x9d11c3});gracefulExit(_0x1202b5);}),agentSyncCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x40b))[a2_0xeb8183(0x33a)]('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a2_0xeb8183(0x229)](a2_0xeb8183(0x386),a2_0xeb8183(0x304))[a2_0xeb8183(0x229)](a2_0xeb8183(0x40d),'Model\x20type\x20(default:\x20claude-4.5-sonnet)',a2_0xeb8183(0x312))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1c0),a2_0xeb8183(0x3ca))[a2_0xeb8183(0x229)]('--max-tool-iterations\x20<n>',a2_0xeb8183(0x1c7),'4')[a2_0xeb8183(0x229)](a2_0xeb8183(0x282),a2_0xeb8183(0x1e6),'0.7')[a2_0xeb8183(0x1f5)](async(_0x441dec,_0x10d8f8)=>{const _0x528981=a2_0xeb8183,_0x35b626=new LLMAgentCreateCommand(),_0x1bca99=program[_0x528981(0x3cf)](),_0x38b05c=await createTDXInstance(_0x1bca99),_0x585bf3=await _0x35b626[_0x528981(0x1f4)]({'options':{..._0x1bca99,..._0x10d8f8},'args':[_0x441dec],'tdx':_0x38b05c});gracefulExit(_0x585bf3);}),agentSyncCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3cd))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1d0))['option'](a2_0xeb8183(0x392),'Agent\x20name')[a2_0xeb8183(0x229)](a2_0xeb8183(0x287),a2_0xeb8183(0x3bc))[a2_0xeb8183(0x229)](a2_0xeb8183(0x455),a2_0xeb8183(0x28a))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1c0),a2_0xeb8183(0x3ca))[a2_0xeb8183(0x1f5)](async(_0x104324,_0x164f54)=>{const _0x2e48d0=a2_0xeb8183,_0x1f87f1=new LLMAgentUpdateCommand(),_0x31e827=program['opts'](),_0x526385=await createTDXInstance(_0x31e827),_0x298fa9=await _0x1f87f1[_0x2e48d0(0x1f4)]({'options':{..._0x31e827,..._0x164f54},'args':[_0x104324],'tdx':_0x526385});gracefulExit(_0x298fa9);}),agentSyncCmd['command'](a2_0xeb8183(0x421))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x34c))[a2_0xeb8183(0x1f5)](async(_0x557622,_0x306b36)=>{const _0x25f939=a2_0xeb8183,_0x3f9c3e=new LLMAgentDeleteCommand(),_0x5ed334=program[_0x25f939(0x3cf)](),_0x5800e8=await createTDXInstance(_0x5ed334),_0x1717f1=await _0x3f9c3e['run']({'options':{..._0x5ed334,..._0x306b36},'args':[_0x557622],'tdx':_0x5800e8});gracefulExit(_0x1717f1);}),program[a2_0xeb8183(0x274)](a2_0xeb8183(0x44a),{'hidden':!![]})['action'](()=>{const _0x3c4042=a2_0xeb8183;function _0x7a233b(_0x482ead,_0x48d8b3){const _0x3d6d3f=a2_0x44dc,_0x27c9cc=[];for(const _0xd5b092 of _0x482ead[_0x3d6d3f(0x3b4)]){if(_0xd5b092[_0x3d6d3f(0x408)])continue;const _0x633198=_0x48d8b3?_0x48d8b3+'\x20'+_0xd5b092[_0x3d6d3f(0x335)]():_0xd5b092[_0x3d6d3f(0x335)](),_0x18d25f=_0x633198['split']('\x20')[0x0],_0x2d831a=COMMAND_CATEGORIES[_0x3d6d3f(0x34f)](_0x40444f=>_0x40444f['commands']['includes'](_0x18d25f)),_0x5bdeee=_0x2d831a?.['name']??'';if(_0xd5b092['commands']['length']>0x0)_0x27c9cc[_0x3d6d3f(0x395)](..._0x7a233b(_0xd5b092,_0x633198));else{const _0x58eadb=(_0xd5b092['registeredArguments']||[])[_0x3d6d3f(0x260)](_0x4e5d20=>{const _0x4c781b=_0x3d6d3f,_0x3c330=_0x4e5d20[_0x4c781b(0x33f)]?_0x4e5d20[_0x4c781b(0x335)]()+_0x4c781b(0x2bc):_0x4e5d20['name']();return _0x4e5d20[_0x4c781b(0x2b6)]?'<'+_0x3c330+'>':'['+_0x3c330+']';})[_0x3d6d3f(0x429)]('\x20'),_0x197d9e=_0xd5b092[_0x3d6d3f(0x452)][_0x3d6d3f(0x30a)](_0x9dc421=>!_0x9dc421['hidden']&&_0x9dc421[_0x3d6d3f(0x232)]!==_0x3d6d3f(0x2f0))[_0x3d6d3f(0x260)](_0x3da706=>({'flags':_0x3da706[_0x3d6d3f(0x1d9)],'description':_0x3da706[_0x3d6d3f(0x33a)]}));_0x27c9cc[_0x3d6d3f(0x395)]({'name':_0x633198,'description':_0xd5b092[_0x3d6d3f(0x33a)](),'group':_0x5bdeee,'usage':_0x58eadb,'options':_0x197d9e});}}return _0x27c9cc;}console[_0x3c4042(0x28e)](JSON[_0x3c4042(0x27d)](_0x7a233b(program,''))),process[_0x3c4042(0x359)](0x0);});export{program};export function runCLI(){const _0x414b9c=a2_0xeb8183,_0x2c817c=!process[_0x414b9c(0x2fc)]['slice'](0x2)[_0x414b9c(0x262)];showBriefHelp=_0x2c817c,program[_0x414b9c(0x307)](process['argv']);_0x2c817c&&program[_0x414b9c(0x1cb)]();if(process['stderr'][_0x414b9c(0x276)]&&process[_0x414b9c(0x2fc)]['length']>0x2&&!isDevVersion()){const _0x4ce263=loadReleaseChannel();checkForUpdate(currentVersion,_0x4ce263)[_0x414b9c(0x35a)](_0x5ccedb=>{_0x5ccedb&&displayUpdateNotification(_0x5ccedb);})['catch'](()=>{});}}