@treasuredata/tdx 0.26.6 → 0.26.7

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 (191) 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.d.ts.map +1 -1
  5. package/dist/cli.js +1 -1
  6. package/dist/cli.js.map +1 -1
  7. package/dist/commands/activations.js +1 -1
  8. package/dist/commands/agent-command.js +1 -1
  9. package/dist/commands/agent-test-command.js +1 -1
  10. package/dist/commands/api-command.js +1 -1
  11. package/dist/commands/auth-command.js +1 -1
  12. package/dist/commands/chat-command.js +1 -1
  13. package/dist/commands/claude-command.js +1 -1
  14. package/dist/commands/claude-statusline-command.js +1 -1
  15. package/dist/commands/claude-usage-command.js +1 -1
  16. package/dist/commands/command.js +1 -1
  17. package/dist/commands/connection-command.js +1 -1
  18. package/dist/commands/databases.js +1 -1
  19. package/dist/commands/describe.js +1 -1
  20. package/dist/commands/engage-command.js +1 -1
  21. package/dist/commands/job-command.d.ts.map +1 -1
  22. package/dist/commands/job-command.js +1 -1
  23. package/dist/commands/job-command.js.map +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.d.ts +14 -37
  74. package/dist/sdk/agent/agent-yaml.d.ts.map +1 -1
  75. package/dist/sdk/agent/agent-yaml.js +1 -1
  76. package/dist/sdk/agent/agent-yaml.js.map +1 -1
  77. package/dist/sdk/agent/test/evaluator.js +1 -1
  78. package/dist/sdk/agent/test/executor.js +1 -1
  79. package/dist/sdk/agent/test/index.js +1 -1
  80. package/dist/sdk/agent/test/output.js +1 -1
  81. package/dist/sdk/agent/test/parser.js +1 -1
  82. package/dist/sdk/agent/tool-target-registry.d.ts +82 -0
  83. package/dist/sdk/agent/tool-target-registry.d.ts.map +1 -0
  84. package/dist/sdk/agent/tool-target-registry.js +1 -0
  85. package/dist/sdk/agent/tool-target-registry.js.map +1 -0
  86. package/dist/sdk/agent/types/agent-def.d.ts +3 -2
  87. package/dist/sdk/agent/types/agent-def.d.ts.map +1 -1
  88. package/dist/sdk/api.js +1 -1
  89. package/dist/sdk/client/cdp-api-client.js +1 -1
  90. package/dist/sdk/client/endpoints.js +1 -1
  91. package/dist/sdk/client/engage-api-client.js +1 -1
  92. package/dist/sdk/client/http-client.js +1 -1
  93. package/dist/sdk/client/llm-api-client.d.ts +20 -0
  94. package/dist/sdk/client/llm-api-client.d.ts.map +1 -1
  95. package/dist/sdk/client/llm-api-client.js +1 -1
  96. package/dist/sdk/client/llm-api-client.js.map +1 -1
  97. package/dist/sdk/client/rate-limiter.js +1 -1
  98. package/dist/sdk/client/td-api-client.d.ts +2 -2
  99. package/dist/sdk/client/td-api-client.d.ts.map +1 -1
  100. package/dist/sdk/client/td-api-client.js +1 -1
  101. package/dist/sdk/client/td-api-client.js.map +1 -1
  102. package/dist/sdk/client/trino-api-client.js +1 -1
  103. package/dist/sdk/client/workflow-client.js +1 -1
  104. package/dist/sdk/connection-validator.js +1 -1
  105. package/dist/sdk/connection.js +1 -1
  106. package/dist/sdk/engage.js +1 -1
  107. package/dist/sdk/errors.js +1 -1
  108. package/dist/sdk/index.js +1 -1
  109. package/dist/sdk/io/index.js +1 -1
  110. package/dist/sdk/io/node-filesystem.js +1 -1
  111. package/dist/sdk/job.d.ts +1 -1
  112. package/dist/sdk/job.d.ts.map +1 -1
  113. package/dist/sdk/job.js +1 -1
  114. package/dist/sdk/job.js.map +1 -1
  115. package/dist/sdk/journey.js +1 -1
  116. package/dist/sdk/llm/chat-cache.js +1 -1
  117. package/dist/sdk/llm/index.d.ts.map +1 -1
  118. package/dist/sdk/llm/index.js +1 -1
  119. package/dist/sdk/llm/index.js.map +1 -1
  120. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  121. package/dist/sdk/llm/model-factors.js +1 -1
  122. package/dist/sdk/personalization.js +1 -1
  123. package/dist/sdk/query/index.js +1 -1
  124. package/dist/sdk/query/sql-parser.js +1 -1
  125. package/dist/sdk/realtime.js +1 -1
  126. package/dist/sdk/schedule.js +1 -1
  127. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  128. package/dist/sdk/segment/fields-display.js +1 -1
  129. package/dist/sdk/segment/file-discovery.js +1 -1
  130. package/dist/sdk/segment/journey-utils.js +1 -1
  131. package/dist/sdk/segment/journey-validator.js +1 -1
  132. package/dist/sdk/segment/journey-yaml.js +1 -1
  133. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  134. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  135. package/dist/sdk/segment/pull-workflow.js +1 -1
  136. package/dist/sdk/segment/push-recovery.js +1 -1
  137. package/dist/sdk/segment/push-workflow.js +1 -1
  138. package/dist/sdk/segment/resolution-context.js +1 -1
  139. package/dist/sdk/segment/segment-path-parser.js +1 -1
  140. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  141. package/dist/sdk/segment/target-resolution.js +1 -1
  142. package/dist/sdk/segment/tdx-config.js +1 -1
  143. package/dist/sdk/segment/validate-files.js +1 -1
  144. package/dist/sdk/segment/yaml-validator.js +1 -1
  145. package/dist/sdk/segment.js +1 -1
  146. package/dist/sdk/types/index.js +1 -1
  147. package/dist/sdk/types/progress.js +1 -1
  148. package/dist/sdk/user.js +1 -1
  149. package/dist/sdk/util/format-detector.js +1 -1
  150. package/dist/sdk/util/formatters.js +1 -1
  151. package/dist/sdk/util/index.js +1 -1
  152. package/dist/sdk/util/tree-formatter.js +1 -1
  153. package/dist/sdk/workflow/archive-validation.js +1 -1
  154. package/dist/sdk/workflow/clone-workflow.js +1 -1
  155. package/dist/sdk/workflow/index.js +1 -1
  156. package/dist/sdk/workflow/pull-workflow.js +1 -1
  157. package/dist/sdk/workflow/push-workflow.js +1 -1
  158. package/dist/sdk/workflow/tdx-config.js +1 -1
  159. package/dist/sdk/workflow/workflow-utils.js +1 -1
  160. package/dist/test-utils/command-runner.js +1 -1
  161. package/dist/test-utils/factories.js +1 -1
  162. package/dist/test-utils/fixtures.js +1 -1
  163. package/dist/test-utils/http-mock.js +1 -1
  164. package/dist/test-utils/index.js +1 -1
  165. package/dist/utils/async.js +1 -1
  166. package/dist/utils/colors.js +1 -1
  167. package/dist/utils/diff.js +1 -1
  168. package/dist/utils/file-permissions.js +1 -1
  169. package/dist/utils/global-cache.js +1 -1
  170. package/dist/utils/json-loader.js +1 -1
  171. package/dist/utils/local-cache.js +1 -1
  172. package/dist/utils/logger/formatters/default-formatter.js +1 -1
  173. package/dist/utils/logger/formatters/index.js +1 -1
  174. package/dist/utils/logger/handlers/console-handler.js +1 -1
  175. package/dist/utils/logger/handlers/file-handler.js +1 -1
  176. package/dist/utils/logger/handlers/index.js +1 -1
  177. package/dist/utils/logger/handlers/null-handler.js +1 -1
  178. package/dist/utils/logger/index.js +1 -1
  179. package/dist/utils/logger/logger.js +1 -1
  180. package/dist/utils/logger/types.js +1 -1
  181. package/dist/utils/option-validation.js +1 -1
  182. package/dist/utils/port.js +1 -1
  183. package/dist/utils/process.js +1 -1
  184. package/dist/utils/prompt.js +1 -1
  185. package/dist/utils/spinner.js +1 -1
  186. package/dist/utils/sse-parser.js +1 -1
  187. package/dist/utils/string-utils.js +1 -1
  188. package/dist/utils/table-ref-parser.js +1 -1
  189. package/dist/utils/tdx-logger.js +1 -1
  190. package/dist/utils/version-check.js +1 -1
  191. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1 +1 @@
1
- const a2_0x47b95f=a2_0x26e5;(function(_0x499af7,_0x5bbf77){const _0x2c1979=a2_0x26e5,_0x5054ab=_0x499af7();while(!![]){try{const _0x3460cf=parseInt(_0x2c1979(0x1e5))/0x1+parseInt(_0x2c1979(0x29f))/0x2*(parseInt(_0x2c1979(0x275))/0x3)+-parseInt(_0x2c1979(0x279))/0x4*(-parseInt(_0x2c1979(0x424))/0x5)+parseInt(_0x2c1979(0x1f1))/0x6*(parseInt(_0x2c1979(0x3a1))/0x7)+-parseInt(_0x2c1979(0x28c))/0x8*(parseInt(_0x2c1979(0x22d))/0x9)+parseInt(_0x2c1979(0x2e8))/0xa*(-parseInt(_0x2c1979(0x27a))/0xb)+-parseInt(_0x2c1979(0x2f8))/0xc*(parseInt(_0x2c1979(0x390))/0xd);if(_0x3460cf===_0x5bbf77)break;else _0x5054ab['push'](_0x5054ab['shift']());}catch(_0x2a3486){_0x5054ab['push'](_0x5054ab['shift']());}}}(a2_0x2e94,0x2df60));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';function a2_0x26e5(_0x57194c,_0x27b71b){_0x57194c=_0x57194c-0x1aa;const _0x2e9497=a2_0x2e94();let _0x26e580=_0x2e9497[_0x57194c];return _0x26e580;}import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';function a2_0x2e94(){const _0x20d22e=['use\x20[project]','--timezone\x20<tz>','Interactive\x20chat\x20selector','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','tdx','activations\x20<segment_name>','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','update\x20<name>','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','list','--table','Show\x20campaign\x20details','--temperature\x20<n>','Show\x20schedule\x20execution\x20history','create','agent','--retry-limit\x20<0~32>','--jsonl','--invisible','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','createAsync','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','statusline','Name\x20for\x20the\x20new\x20project\x20(required)','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','log','-w,\x20--web','Create\x20a\x20workspace','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','New\x20segment\x20name','Output\x20as\x20JSON','Show\x20segment\x20details\x20(alias\x20for\x20view)','claude-4.5-sonnet','--to\x20<n>','retry\x20<session-id>','delete\x20<args...>','...','--rule-file\x20<file>','logs','campaign','use\x20[resource]\x20[value]','profile','Customer\x20group\x20as\x20JSON\x20string','Database\x20name','LLM\x20project\x20management','us01','join','\x20(resolved\x20to\x20','databases\x20[pattern]','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Delay\x20in\x20seconds\x20before\x20execution','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','AI-native\x20CLI\x20for\x20Treasure\x20Data','--attribute\x20[name]','view\x20[name]','preview\x20[name]','Show\x20email\x20template\x20details','Preview\x20changes\x20without\x20pushing','attempts\x20[project]','Update\x20an\x20existing\x20agent','--name\x20<names>','Resume\x20a\x20paused\x20journey','-n,\x20--name\x20<name>','--add-attributes-file\x20<file>','outputHelp','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Set\x20or\x20show\x20parent\x20segment\x20context','--table\x20<table>','commandDescription','models','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','show\x20[name]','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','List\x20journeys\x20(alias\x20for\x20journey\x20list)','profiles','--num\x20<1-10>','Open\x20parent\x20segment\x20in\x20web\x20browser','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','Database\x20to\x20use\x20(overrides\x20context)','addHelpText','--limit\x20<number>','slice','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','Parent\x20segment\x20description','types','--html\x20<html>','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','[action]','Push\x20without\x20confirmation','delete\x20<name>','\x0aGlobal\x20Options:\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20clear\x20(clears\x20default\x20profile\x20if\x20not\x20specified)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Clear\x20API\x20key\x20for\x20default\x20profile\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20--profile\x20prod\x20\x20#\x20Clear\x20API\x20key\x20for\x20\x27prod\x27\x20profile\x0a','help','--catalog\x20<catalog>','sql\x20[segment_name]','--folder\x20<name>','Clear\x20session\x20context','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','stdout','Options:','parent_segment','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','--add-behaviors\x20<json>','workflow','--format\x20<format>','Show\x20agent\x20details','Force\x20retry\x20even\x20if\x20not\x20failed','Parent\x20segment\x20management','Move\x20to\x20folder','claude\x20[args...]','Campaign\x20name','init\x20[name]','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','--reeval','buildTime','Run\x20tests\x20for\x20an\x20LLM\x20agent','--force','stderr','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Directory\x20does\x20not\x20exist:\x20','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','apiKey','setup','show\x20[table]','commands','Arguments:','Add\x20behaviors\x20as\x20JSON\x20string','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','attempt','validate\x20[name]','--include-retried','Show\x20schedule\x20details','94887ypKfSB','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','run\x20[workflow]','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','Add\x20behaviors\x20from\x20JSON\x20file','System\x20prompt/instructions\x20(default:\x20empty)','engage','kill','Timezone\x20for\x20cron','llm','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','--delay\x20<seconds>','Timezone\x20(e.g.,\x20America/Los_Angeles)','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','--name\x20<text>','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','create\x20<name>','671048PiJPDq','-p,\x20--profile\x20<name>','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Maximum\x20recursion\x20depth\x20(default:\x2010)','isTTY','--tsv','Set\x20operation\x20timeout\x20in\x20seconds','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Attempt\x20ID','unset\x20<resource>','Include\x20retried\x20attempts','\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','submit\x20[query]','workflows\x20[project]','LLM\x20project\x20to\x20use\x20(overrides\x20context)','--enriched','set\x20<args...>','api\x20[endpoint]','--prompt\x20<text>','--priority\x20<-2~2>','action','Master\x20table\x20name','fields\x20[name]','Maximum\x20tool\x20iterations\x20(default:\x204)','Cron\x20expression\x20for\x20scheduling','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','delete\x20<agent-name>','Request\x20body\x20as\x20JSON\x20string','--json','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','--from\x20<timestamp>','table','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','--skip-validation','Plaintext\x20template\x20content','--behaviors\x20<json>','push\x20[target]','agents\x20[pattern]','--master','Pause\x20a\x20campaign','test\x20[path]','tsv','Custom\x20revision\x20name\x20(default:\x20timestamp)','Agent\x20name','Export\x20journey(s)\x20as\x20YAML\x20files','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','preview\x20[file]','journey','clone\x20[source-dir]','tdx\x20','optionDescription','list\x20[project]','--description\x20<text>','Starting\x20offset\x20(default:\x200)','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','Delete\x20a\x20workspace','description','End\x20time\x20filter\x20(ISO\x208601\x20format)','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','view\x20<name-or-path>','List\x20jobs','--type\x20<api_type>','Skip\x20validation\x20of\x20.dig\x20files','allowExcessArguments','log\x20<chat-id>','requiredOption','List\x20agents\x20in\x20current\x20project','hidden','--param\x20<key=value>','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','List\x20all\x20available\x20profiles','Show\x20master\x20table\x20sample\x20data','-c,\x20--continue','--output\x20<file>','Clear\x20workflow\x20project\x20context','kill\x20<job-id>','secrets','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','--help','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Get\x20job\x20results','--parent-folder\x20<name>','exit','Duplicate\x20a\x20campaign','segment','--new','List\x20available\x20connector\x20types','set','Read\x20query\x20from\x20file','Show\x20workspace\x20details','New\x20workspace\x20name','grapesjs','Workflow\x20project\x20management','Updated\x20description','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','padWidth','--llm-project\x20<name>','pull\x20[parent_or_file]','Database\x20name\x20(default:\x20information_schema)','Task\x20name\x20for\x20logs\x20action','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','-d,\x20--database\x20<name>','-d,\x20--database\x20<db>','update\x20<segment_name>','Resume\x20a\x20paused\x20campaign','forEach','Delete\x20an\x20email\x20template','List\x20available\x20LLM\x20models','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','history\x20<name>','parent','-y,\x20--yes','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Run\x20a\x20scheduled\x20query\x20immediately','show\x20<folder_ref>','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Updated\x20schedule\x20option','--from\x20<n>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','--start-at\x20<datetime>','Set\x20a\x20profile\x20configuration\x20value','run','Launch\x20a\x20campaign','0.7','pause\x20<name-or-id>','list\x20[path]','--workspace\x20<name>','5BEUSUR','required','Workspace\x20name','\x20-\x20built\x20','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','Agent\x20prompt/instructions','mcp','--stage\x20<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','--reason\x20<text>','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','update\x20<name-or-id>','Resume\x20a\x20conversation\x20(shows\x20selector)','--in\x20<database>','Skip\x20confirmation\x20prompts','-H,\x20--header\x20<header>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','--debug','Preview\x20without\x20creating\x20the\x20project','--revision\x20<revision>','after','opts','-r,\x20--resume','long','--starter-message\x20<text>','templates\x20[pattern]','--from-task\x20<task>','--behaviors-file\x20<file>','--chat-id\x20<id>','Attributes\x20as\x20JSON\x20string','Remove\x20a\x20profile','Skip\x20population\x20counting','hook','--dry-run','Invalid\x20editor\x20type:\x20','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','Show\x20journey\x20statistics','Campaign\x20management','-f,\x20--file\x20<path>','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Starter\x20message','Override\x20project\x20name','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','Change\x20to\x20directory\x20before\x20executing\x20command','_list-commands','subcommandDescription','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Folder\x20description','\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','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','--status\x20<status>','use\x20[name]','Setup\x20API\x20key\x20authentication\x20interactively','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','INVALID_ARGUMENT','list\x20[name]','describe','Output\x20folder\x20(default:\x20{project_name}.llm)','-v,\x20--verbose','info\x20[segment_name]','-d,\x20--database\x20<database>','split','Pull\x20child\x20segments\x20to\x20YAML\x20files','desc\x20[segment_name]','--name\x20<new-name>','Unknown\x20action:\x20','usage','Validate\x20journey\x20YAML\x20files\x20locally','Show\x20job\x20details','map','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','summary','chdir','Email\x20sender\x20ID\x20for\x20delivery','--system-prompt\x20<text>','--email-sender-id\x20<id>','[attempt-id]','--params\x20<json>','repeat','push\x20[name]','--editor-type\x20<type>','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)','template','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','\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','flatMap','Update\x20a\x20workspace','52114VfOvmv','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','get','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','trino','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','--plaintext\x20<text>','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','parse','Delete\x20a\x20campaign','18PyfWYx','Kill\x20a\x20job','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Add\x20attributes\x20as\x20JSON\x20string','push\x20[file]','[task-name]','--clear','Read\x20SQL\x20query\x20from\x20file','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Database\x20management\x20commands','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','--session\x20<id>','history\x20[chat-id]','Output\x20directory','Master\x20database\x20name','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','--parent-segment\x20<name>','Show\x20connection\x20details\x20by\x20name','Run\x20specific\x20tests\x20(comma-separated)','Save\x20output\x20to\x20file','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','run\x20[name]','Workflow\x20(Digdag)\x20management\x20commands','--description\x20<desc>','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','List\x20secret\x20keys\x20for\x20a\x20project','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','push\x20[path]','Create\x20a\x20new\x20LLM\x20project','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','argv','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','gitRevision','fields\x20[parent_name]','-o,\x20--output\x20<file>','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','set\x20<key=value>','auth','Pause\x20a\x20running\x20journey','User\x20management\x20commands','--attributes\x20<json>','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','schema\x20<type>','delete\x20<project-name-or-id>','--add-attributes\x20<json>','Run\x20Trino\x20query\x20with\x20streaming\x20results','information_schema','--data\x20<data>','registeredArguments','Workflow\x20parameter\x20(repeatable)','Delete\x20an\x20LLM\x20project','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','72AffciV','Manage\x20workflow\x20project\x20secrets','-f,\x20--force','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','user','Show\x20timeline\x20for\x20specific\x20attempt','Reason\x20for\x20killing\x20the\x20attempt','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','RT\x202.0\x20configuration\x20management','includes','Include\x20retried\x20attempts\x20(for\x20list)','Revision\x20name\x20(default:\x20timestamp)','--customer-group\x20<json>','session','--name\x20<name>','--subject\x20<subject>','Timezone\x20for\x20cron\x20(default:\x20UTC)','--color','-r,\x20--recursive','length','--version','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','create\x20<segment_name>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','filter','then','-u,\x20--use','workspaces\x20[pattern]','isArray','flags','Preview\x20changes\x20without\x20writing\x20files','--cron\x20<expression>','subcommandTerm','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','[options]\x20--\x20[claude-code-args...]','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','error','Folder\x20name\x20for\x20organization','Output\x20file\x20path','-C,\x20--directory\x20<path>',',\x20version\x20','Enable\x20verbose\x20logging','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','--engine-version\x20<version>','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','option','Make\x20segment\x20invisible\x20(default:\x20visible)','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','result\x20<job-id>','Start\x20time\x20filter\x20(ISO\x208601\x20format)','remove\x20<name>','run\x20<name>','Project\x20description','projects\x20[pattern]','Action:\x20logs,\x20tasks,\x20kill,\x20retry','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','Update\x20a\x20scheduled\x20query','jobs','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Show\x20segment\x20schema\x20(column\x20types)','Start\x20a\x20new\x20chat\x20session','Trino\x20catalog\x20(default:\x20td)','show\x20[segment_name]','Customer\x20group\x20from\x20JSON\x20file','--to\x20<timestamp>','launch\x20<name-or-id>','list\x20[pattern]','name','Remove\x20API\x20key\x20from\x20system\x20keychain','5259kUPqyt','show\x20<agent-name>','Behaviors\x20as\x20JSON\x20string','create\x20<parent_name>\x20<folder_name>','1297884GLLedr','137885ePELPo','configureHelp','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','Query\x20type:\x20trino\x20or\x20hive','validate\x20[file]','List\x20all\x20data\x20connections','Show\x20only\x20master\x20table\x20validation','--segment\x20<path>','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','alias','Add\x20attributes\x20from\x20JSON\x20file','CDP\x20segment\x20management\x20commands','validate\x20[target]','find','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Update\x20an\x20email\x20template','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','165040CIxnMB','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','push','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','--trace','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','Campaign\x20description','--max-tool-iterations\x20<n>','Open\x20segment\x20in\x20web\x20browser','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','schedule','New\x20template\x20name','-o,\x20--output\x20<folder>','Overwrite\x20local\x20changes\x20without\x20confirmation','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Alias\x20for\x20--database\x20(natural\x20language\x20style)','show\x20<name-or-id>','Include\x20subtasks\x20in\x20tasks\x20output','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','282tQqMCp','Table\x20management\x20commands','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Show\x20authentication\x20status\x20and\x20current\x20context','Updated\x20timezone','use\x20<name>','--tags\x20<tags>','database','--json-columns\x20<cols>','--behavior\x20[name]','Parse\x20and\x20validate\x20without\x20executing','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','--site\x20<site>','catch','Job\x20priority\x20(-2\x20to\x202)','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','format','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Pull\x20specific\x20revision\x20(default:\x20latest)','--type\x20<type>','--rule\x20<json>','Create\x20a\x20new\x20campaign','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','directory','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Create\x20a\x20new\x20profile','--default','--schedule-type\x20<type>','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','download\x20<project-name>\x20[output-dir]','Show\x20the\x20most\x20recent\x20chat','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Output\x20as\x20JSON\x20Lines','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','duplicate\x20<name-or-id>','New\x20campaign\x20name','argumentTerm','--schedule-option\x20<value>','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','-1d','command','HTML\x20template\x20content','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','attempt:','debug','[DEPRECATED]\x20Segment\x20folder\x20management','LLM\x20agent\x20management','variadic','delete\x20<name-or-id>','upload\x20[project-name-or-dir]','show\x20<job-id>','--agent\x20<ref>','Skip\x20confirmation\x20prompt','desc','Result\x20output\x20destination\x20URL','clone\x20[source]','--no-count-population','Filtering\x20rule\x20as\x20JSON\x20string','--include-stats','--full','tables\x20[pattern]','Email\x20subject\x20template','injectIntoOptions','--time\x20<iso8601>','--yes','argument','logLevel','pull\x20<project>\x20[target-dir]','-X,\x20--method\x20<method>','Filtering\x20rule\x20from\x20JSON\x20file','Preview\x20operation\x20without\x20executing','90XtgZSe','Personalization\x20service\x20management','push\x20[source-dir]','commandUsage','Workspace\x20description','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','--name\x20<new_name>','Database\x20to\x20query\x20(default:\x20information_schema)','Behaviors\x20from\x20JSON\x20file','--interval\x20<range>','List\x20journeys\x20in\x20current\x20context','Query\x20engine\x20version','parent-segment','pull\x20[name]','--last','--kind\x20<type>','732OLmnPC','allowUnknownOption','options','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','json','Create\x20a\x20scheduled\x20query','segments\x20[path]','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','--max-depth\x20<depth>','Workspace\x20name\x20(required)','--result\x20<url>','Output\x20file\x20path\x20(default:\x20<name>.yml)','Data\x20connection\x20management\x20(for\x20activations/exports)','_hidden'];a2_0x2e94=function(){return _0x20d22e;};return a2_0x2e94();}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_0x47b95f(0x212)]['includes'](a2_0x47b95f(0x241))){let versionOutput=a2_0x47b95f(0x3d4)+currentVersion;buildInfo[a2_0x47b95f(0x217)]&&!currentVersion[a2_0x47b95f(0x236)](buildInfo[a2_0x47b95f(0x217)])&&(versionOutput+='\x20('+buildInfo['gitRevision']+')'),buildInfo['buildTime']&&(versionOutput+=a2_0x47b95f(0x427)+buildInfo[a2_0x47b95f(0x37c)]),console[a2_0x47b95f(0x320)](versionOutput),process[a2_0x47b95f(0x3f7)](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0x47b95f(0x33d);buildInfo[a2_0x47b95f(0x217)]&&!currentVersion[a2_0x47b95f(0x236)](buildInfo['gitRevision'])?description+=a2_0x47b95f(0x257)+currentVersion+'\x20('+buildInfo[a2_0x47b95f(0x217)]+')':description+=a2_0x47b95f(0x257)+currentVersion;program[a2_0x47b95f(0x273)](a2_0x47b95f(0x30a))['description'](description),program[a2_0x47b95f(0x25c)](a2_0x47b95f(0x256),a2_0x47b95f(0x1b4))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3a2),a2_0x47b95f(0x37a))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2ac),a2_0x47b95f(0x35b),a2_0x47b95f(0x334))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x372),a2_0x47b95f(0x22c))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x311),a2_0x47b95f(0x1ea))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3be),a2_0x47b95f(0x36f))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x318),a2_0x47b95f(0x3a3))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3a7),a2_0x47b95f(0x403))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3ee),a2_0x47b95f(0x206))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x359),a2_0x47b95f(0x2a2))['option'](a2_0x47b95f(0x23e),a2_0x47b95f(0x1ec),![])[a2_0x47b95f(0x25c)]('--no-color',a2_0x47b95f(0x1f9),![])[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1c7),a2_0x47b95f(0x258),![])[a2_0x47b95f(0x25c)](a2_0x47b95f(0x435),a2_0x47b95f(0x20b))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x290),'Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')['option']('--timeout\x20<seconds>',a2_0x47b95f(0x3a8),'30')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1aa),a2_0x47b95f(0x2e7),![])['option']('-y,\x20--yes',a2_0x47b95f(0x432),![])[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1fe),a2_0x47b95f(0x25f))['option'](a2_0x47b95f(0x40a),a2_0x47b95f(0x357))[a2_0x47b95f(0x25c)]('--in\x20<name>',a2_0x47b95f(0x29b))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x203),a2_0x47b95f(0x3c2))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x405),a2_0x47b95f(0x3b0)),program[a2_0x47b95f(0x27b)]({'formatHelp':(_0x2ab882,_0x3d28db)=>{const _0xeadc1e=a2_0x47b95f,_0x282fe7=_0x3d28db[_0xeadc1e(0x404)](_0x2ab882,_0x3d28db),_0x4d4e86=0x2,_0x5ef52b=0x2;function _0x211627(_0x219162){const _0x34b25f=_0xeadc1e,_0x552cb2=_0x219162;return!!(_0x552cb2[_0x34b25f(0x305)]||_0x552cb2[_0x34b25f(0x3e8)]);}function _0x42d9ca(_0x12c24b,_0x44ab54){if(_0x44ab54){const _0x3f0bf5=''+_0x12c24b['padEnd'](_0x282fe7+_0x5ef52b)+_0x44ab54;return _0x3f0bf5;}return _0x12c24b;}function _0x280703(_0x1716fd){const _0x81780e=_0xeadc1e;return _0x1716fd[_0x81780e(0x335)]('\x0a')['replace'](/^/gm,'\x20'[_0x81780e(0x1db)](_0x4d4e86));}const _0x1ad5c6=[];_0x1ad5c6['push']('Usage:\x20'+_0x3d28db[_0xeadc1e(0x2eb)](_0x2ab882));const _0x532c7f=_0x3d28db[_0xeadc1e(0x34d)](_0x2ab882);_0x532c7f&&(_0x1ad5c6[_0xeadc1e(0x28e)](''),_0x1ad5c6[_0xeadc1e(0x28e)](_0x532c7f));const _0x3344f6=_0x2ab882['commands']['filter'](_0x331a5c=>!_0x211627(_0x331a5c));if(_0x3344f6[_0xeadc1e(0x240)]>0x0){if(_0x2ab882[_0xeadc1e(0x273)]()===_0xeadc1e(0x30a)){const _0x19fb91=_0x2ab882[_0xeadc1e(0x439)](),_0x45c698=!_0x19fb91['noColor']&&process[_0xeadc1e(0x36c)]['isTTY'],_0x134800=COMMAND_CATEGORIES,_0x952385=(_0xd5df99,_0x437fdf)=>_0x45c698?_0x437fdf(_0xd5df99):_0xd5df99,_0x961698=new Map();_0x3344f6[_0xeadc1e(0x40e)](_0x32e4f0=>{const _0x2c8558=_0xeadc1e;_0x961698[_0x2c8558(0x3fc)](_0x32e4f0[_0x2c8558(0x273)](),_0x32e4f0);}),_0x134800[_0xeadc1e(0x40e)](_0x148c71=>{const _0x218a7d=_0xeadc1e,_0x2cf049=_0x148c71[_0x218a7d(0x388)][_0x218a7d(0x1e3)](_0x2809ff=>_0x961698[_0x218a7d(0x1e7)](_0x2809ff)??[]);if(_0x2cf049[_0x218a7d(0x240)]>0x0){_0x1ad5c6[_0x218a7d(0x28e)](''),_0x1ad5c6[_0x218a7d(0x28e)](_0x952385(_0x148c71['name']+':',_0x148c71['colorFn']));const _0x2fba21=_0x2cf049[_0x218a7d(0x1d2)](_0x8947b1=>{const _0x1ca7cb=_0x218a7d,_0x5729d0=_0x3d28db[_0x1ca7cb(0x24f)](_0x8947b1),_0xadb236=_0x3d28db[_0x1ca7cb(0x1b6)](_0x8947b1);return _0x42d9ca(_0x5729d0,_0xadb236);});_0x1ad5c6['push'](_0x280703(_0x2fba21));}}),_0x1ad5c6[_0xeadc1e(0x28e)](''),_0x1ad5c6['push'](_0xeadc1e(0x42e));}else{const _0x2165e0=_0x3344f6[_0xeadc1e(0x1d2)](_0x2888ac=>{const _0x45be06=_0xeadc1e,_0x47b0c9=_0x3d28db['subcommandTerm'](_0x2888ac),_0x107c69=_0x3d28db[_0x45be06(0x1b6)](_0x2888ac);return _0x42d9ca(_0x47b0c9,_0x107c69);});_0x1ad5c6['push'](''),_0x1ad5c6[_0xeadc1e(0x28e)]('Commands:'),_0x1ad5c6['push'](_0x280703(_0x2165e0));}}if(showBriefHelp&&_0x2ab882[_0xeadc1e(0x273)]()===_0xeadc1e(0x30a))_0x1ad5c6[_0xeadc1e(0x28e)](''),_0x1ad5c6[_0xeadc1e(0x28e)](_0xeadc1e(0x1ac));else{const _0x3c1d1f=_0x2ab882[_0xeadc1e(0x2fa)][_0xeadc1e(0x247)](_0x26c5e9=>!_0x211627(_0x26c5e9));if(_0x3c1d1f[_0xeadc1e(0x240)]>0x0){const _0x53747c=_0x3c1d1f[_0xeadc1e(0x1d2)](_0x3509aa=>{const _0x4327d3=_0xeadc1e,_0x37cbb2=_0x3d28db['optionTerm'](_0x3509aa),_0x34ea1b=_0x3d28db[_0x4327d3(0x3d5)](_0x3509aa);return _0x42d9ca(_0x37cbb2,_0x34ea1b);});_0x1ad5c6[_0xeadc1e(0x28e)](''),_0x1ad5c6[_0xeadc1e(0x28e)](_0xeadc1e(0x36d)),_0x1ad5c6[_0xeadc1e(0x28e)](_0x280703(_0x53747c));}}const _0x6e77be=(_0x2ab882['registeredArguments']||[])[_0xeadc1e(0x247)](_0x3b89e5=>!_0x211627(_0x3b89e5));if(_0x6e77be[_0xeadc1e(0x240)]>0x0){const _0x4b3354=_0x6e77be[_0xeadc1e(0x1d2)](_0x265554=>{const _0x31095d=_0xeadc1e,_0x464939=_0x3d28db[_0x31095d(0x2c5)](_0x265554),_0x1ee732=_0x3d28db['argumentDescription'](_0x265554);return _0x42d9ca(_0x464939,_0x1ee732);});_0x1ad5c6[_0xeadc1e(0x28e)](''),_0x1ad5c6[_0xeadc1e(0x28e)](_0xeadc1e(0x389)),_0x1ad5c6[_0xeadc1e(0x28e)](_0x280703(_0x4b3354));}return _0x1ad5c6[_0xeadc1e(0x335)]('\x0a')+'\x0a';},'subcommandTerm':_0x29e031=>{const _0x23af58=a2_0x47b95f,_0x47f358=(_0x29e031[_0x23af58(0x227)]||[])[_0x23af58(0x1d2)](_0x25b0a4=>_0x25b0a4[_0x23af58(0x425)]?'<'+_0x25b0a4['name']()+'>':'['+_0x25b0a4[_0x23af58(0x273)]()+']')[_0x23af58(0x335)]('\x20'),_0x1914c9=_0x29e031['aliases'](),_0x45434b=_0x1914c9['length']>0x0?_0x29e031[_0x23af58(0x273)]()+',\x20'+_0x1914c9['join'](',\x20'):_0x29e031[_0x23af58(0x273)]();return _0x47f358?_0x45434b+'\x20'+_0x47f358:_0x45434b;}}),program[a2_0x47b95f(0x444)]('preAction',_0x364139=>{const _0x49a7f5=a2_0x47b95f,_0x2a74ca=_0x364139['opts']();if(_0x2a74ca[_0x49a7f5(0x2b8)]){const _0x1b2c11=resolve(_0x2a74ca[_0x49a7f5(0x2b8)]),_0x14f7ec=_0x1b2c11!==_0x2a74ca['directory']?_0x49a7f5(0x336)+_0x1b2c11+')':'';if(!existsSync(_0x1b2c11))throw new SDKError(ErrorCode[_0x49a7f5(0x1c3)],_0x49a7f5(0x381)+_0x2a74ca[_0x49a7f5(0x2b8)]+_0x14f7ec,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x4f773e=statSync(_0x1b2c11);if(!_0x4f773e['isDirectory']())throw new SDKError(ErrorCode[_0x49a7f5(0x1c3)],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x2a74ca['directory']+_0x14f7ec,undefined,{'helpText':_0x49a7f5(0x382)});process[_0x49a7f5(0x1d5)](_0x1b2c11);}if(!_0x2a74ca[_0x49a7f5(0x2b0)]){if(_0x2a74ca['table'])_0x2a74ca[_0x49a7f5(0x2b0)]=_0x49a7f5(0x3c1);else{if(_0x2a74ca[_0x49a7f5(0x2fc)])_0x2a74ca[_0x49a7f5(0x2b0)]=_0x49a7f5(0x2fc);else{if(_0x2a74ca['jsonl'])_0x2a74ca[_0x49a7f5(0x2b0)]='jsonl';else _0x2a74ca['tsv']&&(_0x2a74ca[_0x49a7f5(0x2b0)]=_0x49a7f5(0x3cb));}}}_0x2a74ca['in']&&!_0x2a74ca['database']&&(_0x2a74ca[_0x49a7f5(0x2a7)]=_0x2a74ca['in']);if(_0x2a74ca['trace'])_0x2a74ca[_0x49a7f5(0x2e3)]=LogLevel['TRACE'];else{if(_0x2a74ca[_0x49a7f5(0x2cd)])_0x2a74ca[_0x49a7f5(0x2e3)]=LogLevel['DEBUG'];else _0x2a74ca[_0x49a7f5(0x2e3)]===undefined&&(_0x2a74ca[_0x49a7f5(0x2e3)]=LogLevel['INFO']);}});async function createTDXInstance(_0x5b892a){const _0xe35462=a2_0x47b95f,_0x4cc56c=await GlobalContext[_0xe35462(0x31b)](_0x5b892a);return _0x4cc56c[_0xe35462(0x2df)](_0x5b892a),TDX[_0xe35462(0x315)]({'site':_0x4cc56c['site'],'apiKey':_0x4cc56c[_0xe35462(0x385)],'logLevel':_0x4cc56c[_0xe35462(0x2e3)],'profile':_0x4cc56c[_0xe35462(0x330)]});}const databaseCmd=program['command'](a2_0x47b95f(0x2a7))[a2_0x47b95f(0x284)]('db')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1fc)),databaseListAction=async(_0x12a05b,_0x256fff)=>{const _0x23370a=a2_0x47b95f,_0x309ae1=new DatabasesCommand(),_0x354ea8=program[_0x23370a(0x439)](),_0x4a0693=await createTDXInstance(_0x354ea8),_0x19f41d=await _0x309ae1[_0x23370a(0x41e)]({'options':{..._0x354ea8,..._0x256fff},'args':_0x12a05b?[_0x12a05b]:[],'tdx':_0x4a0693});gracefulExit(_0x19f41d);};databaseCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x369))[a2_0x47b95f(0x3b6)](databaseListAction),program['command'](a2_0x47b95f(0x337),{'hidden':!![]})['description']('List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)')[a2_0x47b95f(0x3b6)](databaseListAction),program[a2_0x47b95f(0x2c9)]('chat\x20[message...]')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x28b))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2d4),a2_0x47b95f(0x39f))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3fa),a2_0x47b95f(0x26c))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x440),a2_0x47b95f(0x36b))[a2_0x47b95f(0x25c)]('--stream',a2_0x47b95f(0x2b2))[a2_0x47b95f(0x3b6)](async(_0x3fa53e,_0x1e73cc)=>{const _0xdc6da2=a2_0x47b95f,_0x28d706=program[_0xdc6da2(0x439)](),_0x490da5=await createTDXInstance(_0x28d706);if(_0x3fa53e[0x0]==='create'){const _0x13978f=new ChatCreateCommand();gracefulExit(await _0x13978f[_0xdc6da2(0x41e)]({'options':{..._0x28d706,..._0x1e73cc},'args':_0x3fa53e[_0xdc6da2(0x35a)](0x1),'tdx':_0x490da5}));return;}const _0x31756a=new ChatCommand(),_0x57552e=await _0x31756a[_0xdc6da2(0x41e)]({'options':{..._0x28d706,..._0x1e73cc},'args':_0x3fa53e,'tdx':_0x490da5});gracefulExit(_0x57552e);});const apiCmd=program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3b3))[a2_0x47b95f(0x1d4)](a2_0x47b95f(0x215))['addHelpText'](a2_0x47b95f(0x438),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2e5),a2_0x47b95f(0x220),'GET')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x226),a2_0x47b95f(0x3bd))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1af),'Read\x20request\x20body\x20from\x20file')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x433),a2_0x47b95f(0x3f4),(_0x584dad,_0x1e0eb2)=>{return _0x1e0eb2?[..._0x1e0eb2,_0x584dad]:[_0x584dad];})[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3e2),a2_0x47b95f(0x1c1),'td')[a2_0x47b95f(0x3b6)](async(_0x20cc21,_0x3f3233)=>{const _0x388d33=a2_0x47b95f;if(!_0x20cc21){apiCmd[_0x388d33(0x364)]();return;}const _0x4765bb=new ApiCommand(),_0x298e17=program[_0x388d33(0x439)](),_0x146a1b=await createTDXInstance(_0x298e17),_0x2e7705=await _0x4765bb[_0x388d33(0x41e)]({'options':{..._0x298e17,..._0x3f3233},'args':[_0x20cc21],'tdx':_0x146a1b});gracefulExit(_0x2e7705);});program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x42a))['description'](a2_0x47b95f(0x21a))[a2_0x47b95f(0x358)](a2_0x47b95f(0x438),a2_0x47b95f(0x42c))[a2_0x47b95f(0x3b6)](async _0x568016=>{const _0x1eeff9=a2_0x47b95f,_0x3c4181=new MCPCommand(),_0x1d7aba=program[_0x1eeff9(0x439)](),_0x40f1d2=await createTDXInstance(_0x1d7aba),_0x4c6327=await _0x3c4181[_0x1eeff9(0x41e)]({'options':{..._0x1d7aba,..._0x568016},'args':[],'tdx':_0x40f1d2});gracefulExit(_0x4c6327);});const tableCmd=program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3c1))['description'](a2_0x47b95f(0x2a0)),tableListAction=async(_0x5860ca,_0x5d047a)=>{const _0x47769a=a2_0x47b95f,_0x1633f9=new TablesCommand(),_0x3e03b4=program[_0x47769a(0x439)](),_0x561cd0=await createTDXInstance(_0x3e03b4);_0x5d047a['in']&&(_0x5d047a[_0x47769a(0x2a7)]=_0x5d047a['in']);const _0x48c2c9=await _0x1633f9[_0x47769a(0x41e)]({'options':{..._0x3e03b4,..._0x5d047a},'args':_0x5860ca?[_0x5860ca]:[],'tdx':_0x561cd0});gracefulExit(_0x48c2c9);};tableCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x39d))[a2_0x47b95f(0x25c)]('-d,\x20--database\x20<database>',a2_0x47b95f(0x252))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x431),a2_0x47b95f(0x29b))['action'](tableListAction),program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2dd),{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1eb))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1c9),a2_0x47b95f(0x252))[a2_0x47b95f(0x25c)]('--in\x20<database>',a2_0x47b95f(0x29b))['action'](tableListAction),program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x387))['description']('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1c9),a2_0x47b95f(0x295))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x431),a2_0x47b95f(0x29b))['action'](async(_0x16ba82,_0x581a99)=>{const _0x57483b=a2_0x47b95f,_0x391eed=new ShowCommand(),_0x1a80cd=program['opts'](),_0x2be6a1=await createTDXInstance(_0x1a80cd);_0x581a99['in']&&(_0x581a99[_0x57483b(0x2a7)]=_0x581a99['in']);const _0x437272=await _0x391eed[_0x57483b(0x41e)]({'options':{..._0x1a80cd,..._0x581a99},'args':_0x16ba82?[_0x16ba82]:[],'tdx':_0x2be6a1});gracefulExit(_0x437272);}),program[a2_0x47b95f(0x2c9)]('describe\x20[table]')[a2_0x47b95f(0x284)](a2_0x47b95f(0x2d6))[a2_0x47b95f(0x3db)]('Describe\x20table\x20schema')[a2_0x47b95f(0x25c)]('-d,\x20--database\x20<database>',a2_0x47b95f(0x295))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x431),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](async(_0x18934f,_0x2747a0)=>{const _0x32d656=a2_0x47b95f,_0x1cb881=new DescribeCommand(),_0x47d67e=program[_0x32d656(0x439)](),_0x505a8f=await createTDXInstance(_0x47d67e);_0x2747a0['in']&&(_0x2747a0['database']=_0x2747a0['in']);const _0x15672e=await _0x1cb881['run']({'options':{..._0x47d67e,..._0x2747a0},'args':_0x18934f?[_0x18934f]:[],'tdx':_0x505a8f});gracefulExit(_0x15672e);}),program[a2_0x47b95f(0x2c9)]('query\x20[sql]')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x224))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1c9),a2_0x47b95f(0x2ef))[a2_0x47b95f(0x25c)]('--in\x20<database>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x365),a2_0x47b95f(0x26d))[a2_0x47b95f(0x25c)]('-f,\x20--file\x20<path>',a2_0x47b95f(0x1f8))[a2_0x47b95f(0x25c)]('--limit\x20<rows>',a2_0x47b95f(0x393),'40')[a2_0x47b95f(0x3b6)](async(_0x59e5ca,_0x32c9cd)=>{const _0x390fb0=a2_0x47b95f,_0x8fe72b=new QueryCommand(),_0x179eb8=program[_0x390fb0(0x439)](),_0x2b5da3=await createTDXInstance(_0x179eb8);_0x32c9cd['in']&&(_0x32c9cd['database']=_0x32c9cd['in']);const _0x1e0ccf=await _0x8fe72b[_0x390fb0(0x41e)]({'options':{..._0x179eb8,..._0x32c9cd},'args':_0x59e5ca?[_0x59e5ca]:[],'tdx':_0x2b5da3});gracefulExit(_0x1e0ccf);});const segmentCmd=program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3f9))[a2_0x47b95f(0x284)]('sg')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x286)),segmentListAction=async(_0x2478b2,_0x35280b)=>{const _0x23dcd9=a2_0x47b95f,_0x2bef39=new SegmentsCommand(),_0x49633e=program[_0x23dcd9(0x439)](),_0x45deea=await createTDXInstance(_0x49633e),_0x9b0efe=await _0x2bef39[_0x23dcd9(0x41e)]({'options':{..._0x49633e,..._0x35280b},'args':_0x2478b2?[_0x2478b2]:[],'tdx':_0x45deea});gracefulExit(_0x9b0efe);};segmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x422))[a2_0x47b95f(0x3db)]('List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x23f),a2_0x47b95f(0x216))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x300),a2_0x47b95f(0x3a5),'10')[a2_0x47b95f(0x3b6)](segmentListAction),program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2fe),{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x351))['option'](a2_0x47b95f(0x23f),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x300),a2_0x47b95f(0x3a5),'10')[a2_0x47b95f(0x3b6)](segmentListAction),segmentCmd[a2_0x47b95f(0x2c9)]('use\x20<path>',{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x31a))[a2_0x47b95f(0x3b6)](async(_0x2cae3e,_0xac77f7)=>{const _0x3d9b0e=a2_0x47b95f,_0x3ff85c=new SegmentUseCommand(),_0x253df7=program[_0x3d9b0e(0x439)](),_0x3ab634=await createTDXInstance(_0x253df7),_0x101cfd=await _0x3ff85c[_0x3d9b0e(0x41e)]({'options':{..._0x253df7,..._0xac77f7},'args':[_0x2cae3e],'tdx':_0x3ab634});gracefulExit(_0x101cfd);});const segmentViewAction=async(_0x5d8233,_0x3d174e)=>{const _0x2a1687=a2_0x47b95f,_0x35952c=new SegmentViewCommand(),_0x4c809d=program[_0x2a1687(0x439)](),_0x82f160=await createTDXInstance(_0x4c809d),_0x2e7bc7=await _0x35952c[_0x2a1687(0x41e)]({'options':{..._0x4c809d,..._0x3d174e},'args':_0x5d8233?[_0x5d8233]:[],'tdx':_0x82f160});gracefulExit(_0x2e7bc7);};segmentCmd[a2_0x47b95f(0x2c9)]('view\x20[segment_name]')[a2_0x47b95f(0x3db)]('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x321),a2_0x47b95f(0x294))[a2_0x47b95f(0x3b6)](segmentViewAction),segmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x1c8),{'hidden':!![]})[a2_0x47b95f(0x284)](a2_0x47b95f(0x1c5))[a2_0x47b95f(0x25c)]('-w,\x20--web','Open\x20segment\x20in\x20web\x20browser')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x326))['action'](segmentViewAction),segmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x1cc))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x26b))[a2_0x47b95f(0x3b6)](async(_0x22024c,_0x51f86a)=>{const _0x25c960=a2_0x47b95f,_0x5f11b7=new SegmentDescCommand(),_0x57998f=program[_0x25c960(0x439)](),_0x209f23=await createTDXInstance(_0x57998f),_0x3aef32=await _0x5f11b7[_0x25c960(0x41e)]({'options':{..._0x57998f,..._0x51f86a},'args':_0x22024c?[_0x22024c]:[],'tdx':_0x209f23});gracefulExit(_0x3aef32);}),segmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x26e))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x267))[a2_0x47b95f(0x3b6)](async(_0x2aa70d,_0x2c8c5f)=>{const _0x201639=a2_0x47b95f,_0x9ebfa9=new SegmentShowCommand(),_0x13d8b1=program['opts'](),_0x4367bb=await createTDXInstance(_0x13d8b1),_0x51257f=await _0x9ebfa9[_0x201639(0x41e)]({'options':{..._0x13d8b1,..._0x2c8c5f},'args':_0x2aa70d?[_0x2aa70d]:[],'tdx':_0x4367bb});gracefulExit(_0x51257f);}),segmentCmd['command']('folders\x20<parent_name>',{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x356))['action'](async(_0x15d090,_0x16a644)=>{const _0x2d77c8=a2_0x47b95f,_0x3de060=new SegmentFolderListCommand(),_0x1a0909=program[_0x2d77c8(0x439)](),_0x58f94d=await createTDXInstance(_0x1a0909),_0x5a93f3=await _0x3de060['run']({'options':{..._0x1a0909,..._0x16a644},'args':[_0x15d090],'tdx':_0x58f94d});gracefulExit(_0x5a93f3);});const folderCmd=segmentCmd['command']('folder',{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x2ce));folderCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x417))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x259))[a2_0x47b95f(0x3b6)](async(_0x571848,_0xe6ab22)=>{const _0x3b538a=a2_0x47b95f,_0x1132d3=new SegmentFolderShowCommand(),_0x25000c=program['opts'](),_0x2368eb=await createTDXInstance(_0x25000c),_0x35730a=await _0x1132d3[_0x3b538a(0x41e)]({'options':{..._0x25000c,..._0xe6ab22},'args':[_0x571848],'tdx':_0x2368eb});gracefulExit(_0x35730a);}),segmentCmd['command'](a2_0x47b95f(0x366))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1e6))[a2_0x47b95f(0x3b6)](async(_0x19cafb,_0x3eb234)=>{const _0x3f3ec9=a2_0x47b95f,_0x2db60d=new SegmentSQLCommand(),_0x30935d=program[_0x3f3ec9(0x439)](),_0x580ffd=await createTDXInstance(_0x30935d),_0x540598=await _0x2db60d[_0x3f3ec9(0x41e)]({'options':{..._0x30935d,..._0x3eb234},'args':_0x19cafb?[_0x19cafb]:[],'tdx':_0x580ffd});gracefulExit(_0x540598);}),segmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x218))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3df))[a2_0x47b95f(0x3b6)](async(_0x555876,_0x448ade)=>{const _0x339d13=a2_0x47b95f,_0x4ab0be=new SegmentFieldsCommand(),_0x19b2c4=program[_0x339d13(0x439)](),_0x4c1887=await createTDXInstance(_0x19b2c4),_0x217583=await _0x4ab0be[_0x339d13(0x41e)]({'options':{..._0x19b2c4,..._0x448ade},'args':_0x555876?[_0x555876]:[],'tdx':_0x4c1887});gracefulExit(_0x217583);}),segmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x406))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1cb))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x414),a2_0x47b95f(0x432))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1aa),a2_0x47b95f(0x3cf))['action'](async(_0x36845b,_0x53ceef)=>{const _0x3168a5=a2_0x47b95f,_0x108d9e=new SegmentPullCommand(),_0x13cc8e=program[_0x3168a5(0x439)](),_0x14399a=await createTDXInstance(_0x13cc8e),_0x4dc036=await _0x108d9e[_0x3168a5(0x41e)]({'options':{..._0x13cc8e,..._0x53ceef},'args':_0x36845b?[_0x36845b]:[],'tdx':_0x14399a});gracefulExit(_0x4dc036);}),segmentCmd[a2_0x47b95f(0x2c9)]('push\x20[parent_or_file]')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x22a))['option'](a2_0x47b95f(0x414),a2_0x47b95f(0x432))['option']('--dry-run',a2_0x47b95f(0x3cf))[a2_0x47b95f(0x25c)]('--delete','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)')[a2_0x47b95f(0x3b6)](async(_0x5a4f27,_0x4e9186)=>{const _0x445f43=a2_0x47b95f,_0x519657=new SegmentPushCommand(),_0xdc7222=program[_0x445f43(0x439)](),_0x503bd2=await createTDXInstance(_0xdc7222),_0x63578=await _0x519657[_0x445f43(0x41e)]({'options':{..._0xdc7222,..._0x4e9186},'args':_0x5a4f27?[_0x5a4f27]:[],'tdx':_0x503bd2});gracefulExit(_0x63578);}),segmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x287))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3dd))[a2_0x47b95f(0x3b6)](async(_0xc7a890,_0x9e4104)=>{const _0x5401c8=a2_0x47b95f,_0x52c744=new SegmentValidateCommand(),_0x1d1b54=program[_0x5401c8(0x439)](),_0xe63b09=await createTDXInstance(_0x1d1b54),_0x304fe0=await _0x52c744[_0x5401c8(0x41e)]({'options':{..._0x1d1b54,..._0x9e4104},'args':_0xc7a890?[_0xc7a890]:[],'tdx':_0xe63b09});gracefulExit(_0x304fe0);}),segmentCmd['command'](a2_0x47b95f(0x244),{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3a9))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3d7),'Segment\x20description')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2b5),a2_0x47b95f(0x2da))['option'](a2_0x47b95f(0x32c),a2_0x47b95f(0x2e6))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x367),a2_0x47b95f(0x254))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2f7),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x319),a2_0x47b95f(0x25d))['option'](a2_0x47b95f(0x2d9),a2_0x47b95f(0x443))[a2_0x47b95f(0x3b6)](async(_0x3df68c,_0x2577a6)=>{const _0x3faf49=a2_0x47b95f,_0x49b98d=new SegmentCreateCommand(),_0x56d9ae=program[_0x3faf49(0x439)](),_0x211ee1=await createTDXInstance(_0x56d9ae),_0x3de03f=await _0x49b98d[_0x3faf49(0x41e)]({'options':{..._0x56d9ae,..._0x2577a6},'args':[_0x3df68c],'tdx':_0x211ee1});gracefulExit(_0x3de03f);}),segmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x40c),{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x234))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2ee),a2_0x47b95f(0x324))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3d7),'Updated\x20description')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2b5),a2_0x47b95f(0x2c0))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x32c),a2_0x47b95f(0x3ea))[a2_0x47b95f(0x25c)]('--folder\x20<name>',a2_0x47b95f(0x376))['option'](a2_0x47b95f(0x2f7),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x47b95f(0x3b6)](async(_0x1fe197,_0x934300)=>{const _0x4215f0=a2_0x47b95f,_0x8c4e01=new SegmentUpdateCommand(),_0x2ee978=program[_0x4215f0(0x439)](),_0x45415b=await createTDXInstance(_0x2ee978),_0x424e5c=await _0x8c4e01[_0x4215f0(0x41e)]({'options':{..._0x2ee978,..._0x934300},'args':[_0x1fe197],'tdx':_0x45415b});gracefulExit(_0x424e5c);});const parentCmd=segmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x413),{'hidden':!![]})['description'](a2_0x47b95f(0x1b9)),parentListAction=async(_0x5c7af4,_0x31ddc5)=>{const _0x5e5ded=a2_0x47b95f,_0x517b81=new ParentSegmentListCommand(),_0x4e5c8d=program[_0x5e5ded(0x439)](),_0x945436=await createTDXInstance(_0x4e5c8d),_0x334dba=await _0x517b81[_0x5e5ded(0x41e)]({'options':{..._0x4e5c8d,..._0x31ddc5},'args':_0x5c7af4?[_0x5c7af4]:[],'tdx':_0x945436});gracefulExit(_0x334dba);};parentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x25e))[a2_0x47b95f(0x3b6)](parentListAction),segmentCmd[a2_0x47b95f(0x2c9)]('parents\x20[pattern]',{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x339))[a2_0x47b95f(0x3b6)](parentListAction),parentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2f5))[a2_0x47b95f(0x3db)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x219),a2_0x47b95f(0x303))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))[a2_0x47b95f(0x3b6)](async(_0x5ed956,_0x101715)=>{const _0x389c12=a2_0x47b95f,_0x3283a8=new ParentSegmentPullCommand(),_0x58ceca=program['opts'](),_0x5db850=await createTDXInstance(_0x58ceca),_0x372a54=await _0x3283a8[_0x389c12(0x41e)]({'options':{..._0x58ceca,..._0x101715},'args':_0x5ed956?[_0x5ed956]:[],'tdx':_0x5db850});gracefulExit(_0x372a54);}),parentCmd['command'](a2_0x47b95f(0x1f5))[a2_0x47b95f(0x3db)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))[a2_0x47b95f(0x3b6)](async(_0x8aa6dc,_0x53b2b7)=>{const _0x1d4f83=a2_0x47b95f,_0x5336a7=new ParentSegmentPushCommand(),_0x55cba0=program[_0x1d4f83(0x439)](),_0x5adb2b=await createTDXInstance(_0x55cba0),_0x558bb6=await _0x5336a7['run']({'options':{..._0x55cba0,..._0x53b2b7},'args':_0x8aa6dc?[_0x8aa6dc]:[],'tdx':_0x5adb2b});gracefulExit(_0x558bb6);}),parentCmd['command'](a2_0x47b95f(0x27e))['description'](a2_0x47b95f(0x2b7))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3c8),'Show\x20only\x20master\x20table\x20validation')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x33e),a2_0x47b95f(0x3a4))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2a9),a2_0x47b95f(0x2ed))['option']('--enriched',a2_0x47b95f(0x2cb))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2f1),a2_0x47b95f(0x34f),'-1d')[a2_0x47b95f(0x3b6)](async(_0x27780c,_0x7b4506)=>{const _0x5ac614=a2_0x47b95f,_0x33f307=new ParentSegmentValidateCommand(),_0x450eb4=program[_0x5ac614(0x439)](),_0x11debb=await createTDXInstance(_0x450eb4),_0x2db1e1=await _0x33f307['run']({'options':{..._0x450eb4,..._0x7b4506},'args':_0x27780c?[_0x27780c]:[],'tdx':_0x11debb});gracefulExit(_0x2db1e1);}),parentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3d1))['description'](a2_0x47b95f(0x34a))[a2_0x47b95f(0x25c)]('--master','Show\x20master\x20table\x20sample\x20data')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x33e),a2_0x47b95f(0x1b8))['option'](a2_0x47b95f(0x2a9),a2_0x47b95f(0x3d0))[a2_0x47b95f(0x25c)]('--enriched',a2_0x47b95f(0x1e1))['option'](a2_0x47b95f(0x2f1),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')[a2_0x47b95f(0x3b6)](async(_0x196bfa,_0x5804ce)=>{const _0x363eed=a2_0x47b95f,_0x20a671=new ParentSegmentPreviewCommand(),_0x4bfd22=program[_0x363eed(0x439)](),_0x5268b4=await createTDXInstance(_0x4bfd22),_0x11c412=await _0x20a671[_0x363eed(0x41e)]({'options':{..._0x4bfd22,..._0x5804ce},'args':_0x196bfa?[_0x196bfa]:[],'tdx':_0x5268b4});gracefulExit(_0x11c412);}),parentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x208))['description'](a2_0x47b95f(0x214))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))['action'](async(_0x338f5e,_0x62c8c8)=>{const _0xfd7079=a2_0x47b95f,_0x3f69ea=new ParentSegmentRunCommand(),_0x192107=program[_0xfd7079(0x439)](),_0xbbe058=await createTDXInstance(_0x192107),_0x4bba00=await _0x3f69ea['run']({'options':{..._0x192107,..._0x62c8c8},'args':_0x338f5e?[_0x338f5e]:[],'tdx':_0xbbe058});gracefulExit(_0x4bba00);});const parentSegmentCmd=program['command'](a2_0x47b95f(0x2f4))[a2_0x47b95f(0x284)]('ps')['description'](a2_0x47b95f(0x375));parentSegmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x25e))['action'](parentListAction),parentSegmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2f5))[a2_0x47b95f(0x3db)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')['option']('-o,\x20--output\x20<file>','Output\x20file\x20path')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))['option'](a2_0x47b95f(0x249),a2_0x47b95f(0x415))[a2_0x47b95f(0x3b6)](async(_0x5f0fc9,_0x27de08)=>{const _0x105975=a2_0x47b95f,_0x2cdc39=new ParentSegmentPullCommand(),_0x5d4adc=program[_0x105975(0x439)](),_0x37996f=await createTDXInstance(_0x5d4adc),_0x22cfec=await _0x2cdc39['run']({'options':{..._0x5d4adc,..._0x27de08},'args':_0x5f0fc9?[_0x5f0fc9]:[],'tdx':_0x37996f});gracefulExit(_0x22cfec);}),parentSegmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x1dc))['description'](a2_0x47b95f(0x289))['option'](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))[a2_0x47b95f(0x3b6)](async(_0x9e822a,_0x38e9c3)=>{const _0x2d86d8=a2_0x47b95f,_0x4503e8=new ParentSegmentPushCommand(),_0x5c802b=program[_0x2d86d8(0x439)](),_0x508a37=await createTDXInstance(_0x5c802b),_0x12b1dc=await _0x4503e8['run']({'options':{..._0x5c802b,..._0x38e9c3},'args':_0x9e822a?[_0x9e822a]:[],'tdx':_0x508a37});gracefulExit(_0x12b1dc);}),parentSegmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x38d))[a2_0x47b95f(0x3db)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3c8),a2_0x47b95f(0x280))['option'](a2_0x47b95f(0x33e),a2_0x47b95f(0x3a4))[a2_0x47b95f(0x25c)]('--behavior\x20[name]',a2_0x47b95f(0x2ed))['option'](a2_0x47b95f(0x3b1),a2_0x47b95f(0x2cb))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2f1),a2_0x47b95f(0x34f),'-1d')[a2_0x47b95f(0x3b6)](async(_0x2fa84b,_0x4a4f5)=>{const _0x532e42=a2_0x47b95f,_0x3460b5=new ParentSegmentValidateCommand(),_0x14d4ce=program[_0x532e42(0x439)](),_0x47265a=await createTDXInstance(_0x14d4ce),_0x4c2d4e=await _0x3460b5['run']({'options':{..._0x14d4ce,..._0x4a4f5},'args':_0x2fa84b?[_0x2fa84b]:[],'tdx':_0x47265a});gracefulExit(_0x4c2d4e);}),parentSegmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x340))['description'](a2_0x47b95f(0x34a))[a2_0x47b95f(0x25c)]('--master',a2_0x47b95f(0x3ec))['option'](a2_0x47b95f(0x33e),a2_0x47b95f(0x1b8))[a2_0x47b95f(0x25c)]('--behavior\x20[name]',a2_0x47b95f(0x3d0))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3b1),a2_0x47b95f(0x1e1))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2f1),a2_0x47b95f(0x34f),a2_0x47b95f(0x2c8))['action'](async(_0x443e6d,_0x1e1c74)=>{const _0x40e382=new ParentSegmentPreviewCommand(),_0x1e2554=program['opts'](),_0x36e8ce=await createTDXInstance(_0x1e2554),_0x4fd145=await _0x40e382['run']({'options':{..._0x1e2554,..._0x1e1c74},'args':_0x443e6d?[_0x443e6d]:[],'tdx':_0x36e8ce});gracefulExit(_0x4fd145);}),parentSegmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x208))['description'](a2_0x47b95f(0x214))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))['action'](async(_0x4991ac,_0x1ef68b)=>{const _0x52f06e=a2_0x47b95f,_0x4bef0d=new ParentSegmentRunCommand(),_0x1e94c5=program['opts'](),_0x1ccb96=await createTDXInstance(_0x1e94c5),_0x1ef130=await _0x4bef0d[_0x52f06e(0x41e)]({'options':{..._0x1e94c5,..._0x1ef68b},'args':_0x4991ac?[_0x4991ac]:[],'tdx':_0x1ccb96});gracefulExit(_0x1ef130);}),parentSegmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3b8))['description']('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x47b95f(0x3be),'Output\x20as\x20JSON')['option'](a2_0x47b95f(0x318),a2_0x47b95f(0x2c1))['action'](async(_0x2fe1ae,_0x503e15)=>{const _0x3d9f8e=a2_0x47b95f,_0x555dad=new ParentSegmentFieldsCommand(),_0x374dc6=program[_0x3d9f8e(0x439)](),_0x17fc1a=await createTDXInstance(_0x374dc6),_0x365d64=await _0x555dad[_0x3d9f8e(0x41e)]({'options':{..._0x374dc6,..._0x503e15},'args':_0x2fe1ae?[_0x2fe1ae]:[],'tdx':_0x17fc1a});gracefulExit(_0x365d64);}),parentSegmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x33f))[a2_0x47b95f(0x3db)]('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x321),a2_0x47b95f(0x355))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3be),a2_0x47b95f(0x325))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x318),a2_0x47b95f(0x2c1))[a2_0x47b95f(0x3b6)](async(_0x5da242,_0x5366e5)=>{const _0x14579b=a2_0x47b95f,_0x55a68a=new ParentSegmentViewCommand(),_0x31b18a=program[_0x14579b(0x439)](),_0xf79f1c=await createTDXInstance(_0x31b18a),_0xb5dd9b=await _0x55a68a[_0x14579b(0x41e)]({'options':{..._0x31b18a,..._0x5366e5},'args':_0x5da242?[_0x5da242]:[],'tdx':_0xf79f1c});gracefulExit(_0xb5dd9b);}),parentSegmentCmd['command']('desc\x20[name]')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x202))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x219),a2_0x47b95f(0x255))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3be),'Output\x20as\x20JSON')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x318),'Output\x20as\x20JSON\x20Lines')[a2_0x47b95f(0x3b6)](async(_0x2d107a,_0x313750)=>{const _0xe4a31b=a2_0x47b95f,_0xddd264=new ParentSegmentDescCommand(),_0x26ef60=program[_0xe4a31b(0x439)](),_0x232e7f=await createTDXInstance(_0x26ef60),_0x4f403a=await _0xddd264[_0xe4a31b(0x41e)]({'options':{..._0x26ef60,..._0x313750},'args':_0x2d107a?[_0x2d107a]:[],'tdx':_0x232e7f});gracefulExit(_0x4f403a);}),parentSegmentCmd[a2_0x47b95f(0x2c9)]('sql\x20[name]')[a2_0x47b95f(0x3db)]('Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3be),a2_0x47b95f(0x325))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x318),a2_0x47b95f(0x2c1))[a2_0x47b95f(0x3b6)](async(_0x410a32,_0x2280a7)=>{const _0x6370fc=a2_0x47b95f,_0x33d21a=new ParentSegmentSQLCommand(),_0x197430=program[_0x6370fc(0x439)](),_0x397186=await createTDXInstance(_0x197430),_0x235241=await _0x33d21a[_0x6370fc(0x41e)]({'options':{..._0x197430,..._0x2280a7},'args':_0x410a32?[_0x410a32]:[],'tdx':_0x397186});gracefulExit(_0x235241);}),parentSegmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x350))['description'](a2_0x47b95f(0x25b))[a2_0x47b95f(0x25c)]('--limit\x20<n>','Limit\x20number\x20of\x20rows')['option'](a2_0x47b95f(0x3be),a2_0x47b95f(0x325))['option'](a2_0x47b95f(0x318),a2_0x47b95f(0x2c1))[a2_0x47b95f(0x3b6)](async(_0x37f995,_0x3ea454)=>{const _0x466bfb=a2_0x47b95f,_0x36e5a8=new ParentSegmentShowCommand(),_0x579967=program[_0x466bfb(0x439)](),_0xfd1670=await createTDXInstance(_0x579967),_0x42c89d=await _0x36e5a8[_0x466bfb(0x41e)]({'options':{..._0x579967,..._0x3ea454},'args':_0x37f995?[_0x37f995]:[],'tdx':_0xfd1670});gracefulExit(_0x42c89d);}),parentSegmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x1be))['description'](a2_0x47b95f(0x34b))[a2_0x47b95f(0x3b6)](async(_0x1707ce,_0x335ba4)=>{const _0x446e1a=a2_0x47b95f,_0x7fdf4d=new UseCommand(),_0xd9f18=program[_0x446e1a(0x439)](),_0x1a0452=_0x1707ce?[_0x446e1a(0x36e),_0x1707ce]:[],_0x241b2e=await _0x7fdf4d[_0x446e1a(0x41e)]({'options':{..._0xd9f18,..._0x335ba4},'args':_0x1a0452,'tdx':null});gracefulExit(_0x241b2e);});const psRtCmd=parentSegmentCmd[a2_0x47b95f(0x2c9)]('rt')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x235));psRtCmd['command'](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x29e))[a2_0x47b95f(0x3b6)](async(_0x218089,_0x2041a2)=>{const _0x357b36=a2_0x47b95f,_0x430b4c=new PSRtListCommand(),_0x5f1e96=program['opts'](),_0xc0393e=await createTDXInstance(_0x5f1e96),_0x15cf26=await _0x430b4c[_0x357b36(0x41e)]({'options':{..._0x5f1e96,..._0x2041a2},'args':_0x218089?[_0x218089]:[],'tdx':_0xc0393e});gracefulExit(_0x15cf26);}),psRtCmd['command']('validate\x20[name]')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x250))[a2_0x47b95f(0x3b6)](async(_0x1f123c,_0x37fa9f)=>{const _0x594270=a2_0x47b95f,_0x8340ff=new PSRtValidateCommand(),_0x12756c=program[_0x594270(0x439)](),_0x303bea=await createTDXInstance(_0x12756c),_0x76b5ab=await _0x8340ff[_0x594270(0x41e)]({'options':{..._0x12756c,..._0x37fa9f},'args':_0x1f123c?[_0x1f123c]:[],'tdx':_0x303bea});gracefulExit(_0x76b5ab);});const parentRtCmd=parentCmd[a2_0x47b95f(0x2c9)]('rt',{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x235));parentRtCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))['description']('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')['action'](async(_0x5b0151,_0x1e7437)=>{const _0x2e4f71=a2_0x47b95f,_0x572371=new PSRtListCommand(),_0x36e40e=program['opts'](),_0x547841=await createTDXInstance(_0x36e40e),_0x3b7c22=await _0x572371[_0x2e4f71(0x41e)]({'options':{..._0x36e40e,..._0x1e7437},'args':_0x5b0151?[_0x5b0151]:[],'tdx':_0x547841});gracefulExit(_0x3b7c22);}),parentRtCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x38d))[a2_0x47b95f(0x3db)]('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')[a2_0x47b95f(0x3b6)](async(_0x4ab107,_0x185fee)=>{const _0x284996=a2_0x47b95f,_0x4d90fd=new PSRtValidateCommand(),_0x2276a4=program[_0x284996(0x439)](),_0x541d49=await createTDXInstance(_0x2276a4),_0x2b8701=await _0x4d90fd[_0x284996(0x41e)]({'options':{..._0x2276a4,..._0x185fee},'args':_0x4ab107?[_0x4ab107]:[],'tdx':_0x541d49});gracefulExit(_0x2b8701);});const psPzCmd=parentSegmentCmd[a2_0x47b95f(0x2c9)]('pz')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x2e9));psPzCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x1c4))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x230))[a2_0x47b95f(0x3b6)](async(_0x1ac305,_0x984fe2)=>{const _0x206b9b=a2_0x47b95f,_0x241a26=new PSPzListCommand(),_0x5e42df=program[_0x206b9b(0x439)](),_0x17ce4f=await createTDXInstance(_0x5e42df),_0x13ebac=await _0x241a26['run']({'options':{..._0x5e42df,..._0x984fe2},'args':_0x1ac305?[_0x1ac305]:[],'tdx':_0x17ce4f});gracefulExit(_0x13ebac);}),psPzCmd[a2_0x47b95f(0x2c9)]('init\x20[name]')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x29a))[a2_0x47b95f(0x3b6)](async(_0xd170b0,_0x5686bd)=>{const _0x5d62fb=a2_0x47b95f,_0x4bdbe6=new PSPzInitCommand(),_0x42eb93=program[_0x5d62fb(0x439)](),_0x12b877=await createTDXInstance(_0x42eb93),_0x1af7da=await _0x4bdbe6['run']({'options':{..._0x42eb93,..._0x5686bd},'args':_0xd170b0?[_0xd170b0]:[],'tdx':_0x12b877});gracefulExit(_0x1af7da);});const parentPzCmd=parentCmd['command']('pz',{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x2e9));parentPzCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x1c4))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x230))['action'](async(_0x5d41fc,_0x5bcd2c)=>{const _0xd193ba=a2_0x47b95f,_0x238e21=new PSPzListCommand(),_0x2e88ca=program[_0xd193ba(0x439)](),_0x22fbb4=await createTDXInstance(_0x2e88ca),_0x4e957d=await _0x238e21[_0xd193ba(0x41e)]({'options':{..._0x2e88ca,..._0x5bcd2c},'args':_0x5d41fc?[_0x5d41fc]:[],'tdx':_0x22fbb4});gracefulExit(_0x4e957d);}),parentPzCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x379))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x29a))[a2_0x47b95f(0x3b6)](async(_0x4fe526,_0x244044)=>{const _0x590f0c=a2_0x47b95f,_0x14f694=new PSPzInitCommand(),_0x21b396=program[_0x590f0c(0x439)](),_0x4108d5=await createTDXInstance(_0x21b396),_0x4da040=await _0x14f694[_0x590f0c(0x41e)]({'options':{..._0x21b396,..._0x244044},'args':_0x4fe526?[_0x4fe526]:[],'tdx':_0x4108d5});gracefulExit(_0x4da040);}),parentCmd[a2_0x47b95f(0x2c9)]('create\x20<name>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x283))[a2_0x47b95f(0x3e6)]('--database\x20<db>',a2_0x47b95f(0x201))['requiredOption'](a2_0x47b95f(0x34c),a2_0x47b95f(0x3b7))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3d7),a2_0x47b95f(0x35c))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2bc),a2_0x47b95f(0x246))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2c6),a2_0x47b95f(0x38b))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x307),a2_0x47b95f(0x39c))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x21f),a2_0x47b95f(0x441))[a2_0x47b95f(0x25c)]('--attributes-file\x20<file>','Attributes\x20from\x20JSON\x20file')['option'](a2_0x47b95f(0x3c5),a2_0x47b95f(0x277))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x43f),a2_0x47b95f(0x2f0))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x239),a2_0x47b95f(0x331))['option']('--customer-group-file\x20<file>',a2_0x47b95f(0x26f))[a2_0x47b95f(0x3b6)](async(_0x910109,_0x4f9f51)=>{const _0x2f206c=a2_0x47b95f,_0x2688ff=new ParentSegmentCreateCommand(),_0x181427=program[_0x2f206c(0x439)](),_0x1ff530=await createTDXInstance(_0x181427),_0x30ee7c=await _0x2688ff[_0x2f206c(0x41e)]({'options':{..._0x181427,..._0x4f9f51},'args':[_0x910109],'tdx':_0x1ff530});gracefulExit(_0x30ee7c);}),parentCmd['command'](a2_0x47b95f(0x30e))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x380))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3d7),a2_0x47b95f(0x402))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2bc),a2_0x47b95f(0x1f3))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2c6),a2_0x47b95f(0x419))['option'](a2_0x47b95f(0x307),a2_0x47b95f(0x2a4))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x223),a2_0x47b95f(0x1f4))['option'](a2_0x47b95f(0x348),a2_0x47b95f(0x285))['option'](a2_0x47b95f(0x370),a2_0x47b95f(0x38a))['option']('--add-behaviors-file\x20<file>',a2_0x47b95f(0x394))['action'](async(_0x2f0b6f,_0x1a2254)=>{const _0x134479=a2_0x47b95f,_0x2b664d=new ParentSegmentUpdateCommand(),_0x20be6c=program[_0x134479(0x439)](),_0x433d30=await createTDXInstance(_0x20be6c),_0x5d1d38=await _0x2b664d[_0x134479(0x41e)]({'options':{..._0x20be6c,..._0x1a2254},'args':[_0x2f0b6f],'tdx':_0x433d30});gracefulExit(_0x5d1d38);}),folderCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x278))[a2_0x47b95f(0x3db)]('Create\x20segment\x20folder')[a2_0x47b95f(0x25c)]('--description\x20<text>',a2_0x47b95f(0x1ba))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3f6),'Parent\x20folder\x20name\x20for\x20nested\x20folders')['action'](async(_0x41c300,_0xa71cfa,_0xb95730)=>{const _0x352861=new SegmentFolderCreateCommand(),_0x50c3f1=program['opts'](),_0x4eb9b3=await createTDXInstance(_0x50c3f1),_0x19d595=await _0x352861['run']({'options':{..._0x50c3f1,..._0xb95730},'args':[_0x41c300,_0xa71cfa],'tdx':_0x4eb9b3});gracefulExit(_0x19d595);}),program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x30b))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x309))[a2_0x47b95f(0x3b6)](async(_0x26e163,_0x13ced1)=>{const _0x3d9d2f=a2_0x47b95f,_0x2b7342=new ActivationsCommand(),_0x2bb83a=program[_0x3d9d2f(0x439)](),_0x52aad6=await createTDXInstance(_0x2bb83a),_0x324e91=await _0x2b7342[_0x3d9d2f(0x41e)]({'options':{..._0x2bb83a,..._0x13ced1},'args':[_0x26e163],'tdx':_0x52aad6});gracefulExit(_0x324e91);});const workflowCmd=program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x371))[a2_0x47b95f(0x284)]('wf')['description'](a2_0x47b95f(0x209)),wfProjectCmd=workflowCmd[a2_0x47b95f(0x2c9)]('project')['description'](a2_0x47b95f(0x401)),wfProjectListAction=async(_0x369596,_0x1c4887)=>{const _0xff3df4=a2_0x47b95f,_0x17e0f8=new WorkflowProjectsCommand(),_0x1c3c6f=program['opts'](),_0x35250b=await createTDXInstance(_0x1c3c6f),_0x2bae9c=await _0x17e0f8[_0xff3df4(0x41e)]({'options':{..._0x1c3c6f,..._0x1c4887},'args':_0x369596?[_0x369596]:[],'tdx':_0x35250b});gracefulExit(_0x2bae9c);};wfProjectCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x411))[a2_0x47b95f(0x3b6)](wfProjectListAction),workflowCmd[a2_0x47b95f(0x2c9)]('projects\x20[pattern]')[a2_0x47b95f(0x3db)]('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x400b8e,_0x51e7ac)=>{const _0x4b2b5b=a2_0x47b95f,_0x5ef9d4=new WorkflowWorkflowsCommand(),_0xa74570=program[_0x4b2b5b(0x439)](),_0x5a256b=await createTDXInstance(_0xa74570),_0x370b67=await _0x5ef9d4['run']({'options':{..._0xa74570,..._0x51e7ac},'args':_0x400b8e?[_0x400b8e]:[],'tdx':_0x5a256b});gracefulExit(_0x370b67);};workflowCmd['command'](a2_0x47b95f(0x3af))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1c2))[a2_0x47b95f(0x3b6)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x23a))[a2_0x47b95f(0x3db)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0x190097,_0x4ef17f)=>{const _0x18898a=a2_0x47b95f,_0xc63ac6=new WorkflowSessionsCommand(),_0x186218=program[_0x18898a(0x439)](),_0x51766e=await createTDXInstance(_0x186218),_0x15d8a3=await _0xc63ac6['run']({'options':{..._0x186218,..._0x4ef17f},'args':_0x190097?[_0x190097]:[],'tdx':_0x51766e});gracefulExit(_0x15d8a3);};wfSessionCmd[a2_0x47b95f(0x2c9)]('list\x20[project]')['description']('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')['option'](a2_0x47b95f(0x1bd),a2_0x47b95f(0x28f))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3c0),a2_0x47b95f(0x261))['option'](a2_0x47b95f(0x270),a2_0x47b95f(0x3dc))[a2_0x47b95f(0x3b6)](wfSessionListAction),workflowCmd[a2_0x47b95f(0x2c9)]('sessions\x20[project]')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x20e))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1bd),a2_0x47b95f(0x28f))[a2_0x47b95f(0x25c)]('--from\x20<timestamp>',a2_0x47b95f(0x261))[a2_0x47b95f(0x25c)]('--to\x20<timestamp>','End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x47b95f(0x3b6)](wfSessionListAction);const wfAttemptListAction=async(_0x6d1f29,_0x5078b2)=>{const _0x371a79=a2_0x47b95f,_0x8202df=new WorkflowAttemptsCommand(),_0x13ab69=program[_0x371a79(0x439)](),_0x21b8fd=await createTDXInstance(_0x13ab69),_0x3e9d0e=await _0x8202df[_0x371a79(0x41e)]({'options':{..._0x13ab69,..._0x5078b2},'args':_0x6d1f29?[_0x6d1f29]:[],'tdx':_0x21b8fd});gracefulExit(_0x3e9d0e);},attemptCmd=workflowCmd['command'](a2_0x47b95f(0x38c))[a2_0x47b95f(0x3db)]('Workflow\x20attempt\x20management')[a2_0x47b95f(0x2e2)](a2_0x47b95f(0x1d9),a2_0x47b95f(0x3aa))['argument'](a2_0x47b95f(0x360),a2_0x47b95f(0x266))[a2_0x47b95f(0x2e2)](a2_0x47b95f(0x1f6),a2_0x47b95f(0x408))[a2_0x47b95f(0x25c)]('--include-subtasks',a2_0x47b95f(0x29d))['option'](a2_0x47b95f(0x42d),a2_0x47b95f(0x233))[a2_0x47b95f(0x25c)]('--resume-from\x20<task>','Resume\x20from\x20specific\x20task\x20(retry)')['option'](a2_0x47b95f(0x1da),'Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')['option'](a2_0x47b95f(0x37e),a2_0x47b95f(0x374))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x38e),a2_0x47b95f(0x237))[a2_0x47b95f(0x3b6)](async(_0x31b24d,_0x199ab6,_0x1b8385,_0x2e25d1)=>{const _0xcd14e5=a2_0x47b95f;if(_0x31b24d===_0xcd14e5(0x310)){await wfAttemptListAction(_0x199ab6,_0x2e25d1);return;}if(!_0x31b24d){attemptCmd[_0xcd14e5(0x364)]();return;}const _0x3bb129=program['opts'](),_0x552722=await createTDXInstance(_0x3bb129);let _0x946c90=0x0;if(!_0x199ab6){const _0x4a2bda=new WorkflowAttemptCommand();_0x946c90=await _0x4a2bda[_0xcd14e5(0x41e)]({'options':{..._0x3bb129,..._0x2e25d1},'args':[_0x31b24d],'tdx':_0x552722});}else{if(_0x199ab6===_0xcd14e5(0x32d)){const _0x545a45=new WorkflowLogsCommand();_0x946c90=await _0x545a45[_0xcd14e5(0x41e)]({'options':{..._0x3bb129,..._0x2e25d1},'args':_0x1b8385?[_0x31b24d,_0x1b8385]:[_0x31b24d],'tdx':_0x552722});}else{if(_0x199ab6==='tasks'){const _0x24a307=new WorkflowTasksCommand();_0x946c90=await _0x24a307[_0xcd14e5(0x41e)]({'options':{..._0x3bb129,..._0x2e25d1},'args':[_0x31b24d],'tdx':_0x552722});}else{if(_0x199ab6===_0xcd14e5(0x397)){const _0x49e856=new WorkflowKillCommand();_0x946c90=await _0x49e856[_0xcd14e5(0x41e)]({'options':{..._0x3bb129,..._0x2e25d1},'args':[_0x31b24d],'tdx':_0x552722});}else{if(_0x199ab6==='retry'){const _0x558301=new WorkflowRetryCommand();_0x946c90=await _0x558301[_0xcd14e5(0x41e)]({'options':{..._0x3bb129,..._0x2e25d1},'args':[_0xcd14e5(0x2cc)+_0x31b24d],'tdx':_0x552722});}else console[_0xcd14e5(0x253)](_0xcd14e5(0x1ce)+_0x199ab6),console[_0xcd14e5(0x253)](_0xcd14e5(0x2fb)),_0x946c90=0x1;}}}}gracefulExit(_0x946c90);});attemptCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3d6))[a2_0x47b95f(0x3db)]('List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x47b95f(0x25c)]('--include-retried',a2_0x47b95f(0x3ac))[a2_0x47b95f(0x3b6)](wfAttemptListAction),workflowCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x343))['description'](a2_0x47b95f(0x30f))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x38e),'Include\x20retried\x20attempts')['action'](wfAttemptListAction),workflowCmd['command']('timeline\x20[project.workflow]')['description']('Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt')['option']('--follow','Follow/watch\x20timeline\x20for\x20running\x20attempts')[a2_0x47b95f(0x25c)]('--session-id\x20<id>',a2_0x47b95f(0x1fb))['option']('--attempt-id\x20<id>',a2_0x47b95f(0x232))[a2_0x47b95f(0x3b6)](async(_0x48cc20,_0x7675d)=>{const _0x2d981c=a2_0x47b95f,_0x158e4d=new WorkflowTimelineCommand(),_0x3f6507=program[_0x2d981c(0x439)](),_0x328f51=await createTDXInstance(_0x3f6507),_0x1d4e84=await _0x158e4d[_0x2d981c(0x41e)]({'options':{..._0x3f6507,..._0x7675d},'args':_0x48cc20?[_0x48cc20]:[],'tdx':_0x328f51});gracefulExit(_0x1d4e84);}),workflowCmd['command'](a2_0x47b95f(0x329))['description'](a2_0x47b95f(0x2c7))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x43e),'Resume\x20from\x20specific\x20task')[a2_0x47b95f(0x25c)]('--params\x20<json>',a2_0x47b95f(0x20c))['action'](async(_0x470d21,_0x17a20f)=>{const _0x214cfc=a2_0x47b95f,_0x22010e=new WorkflowRetryCommand(),_0xf06579=program[_0x214cfc(0x439)](),_0x342aa9=await createTDXInstance(_0xf06579),_0x428ff2=await _0x22010e[_0x214cfc(0x41e)]({'options':{..._0xf06579,..._0x17a20f},'args':[_0x470d21],'tdx':_0x342aa9});gracefulExit(_0x428ff2);}),workflowCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x392))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x282))['option'](a2_0x47b95f(0x3e9),a2_0x47b95f(0x228),(_0x50ea94,_0x495968=[])=>[..._0x495968,_0x50ea94],[])[a2_0x47b95f(0x25c)]('--session-time\x20<time>',a2_0x47b95f(0x2b1))[a2_0x47b95f(0x3b6)](async(_0x18e919,_0x18a4c9)=>{const _0x242431=a2_0x47b95f,_0x1a113d=new WorkflowRunCommand(),_0x3d569c=program['opts'](),_0x32204e=await createTDXInstance(_0x3d569c),_0x142b13=await _0x1a113d[_0x242431(0x41e)]({'options':{..._0x3d569c,..._0x18a4c9},'args':_0x18e919?[_0x18e919]:[],'tdx':_0x32204e});gracefulExit(_0x142b13);}),workflowCmd['command'](a2_0x47b95f(0x2be))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x22b))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x437),a2_0x47b95f(0x31c))[a2_0x47b95f(0x3b6)](async(_0x51d1f7,_0x327962,_0x319cc8)=>{const _0x1f0192=a2_0x47b95f,_0x219110=new WorkflowDownloadCommand(),_0x164370=program[_0x1f0192(0x439)](),_0x25f146=await createTDXInstance(_0x164370),_0x54e642=await _0x219110['run']({'options':{..._0x164370,..._0x319cc8},'args':[_0x51d1f7,_0x327962||'.'],'tdx':_0x25f146});gracefulExit(_0x54e642);}),workflowCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2e4))[a2_0x47b95f(0x3db)]('Pull\x20workflow\x20project\x20to\x20local\x20folder')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x437),a2_0x47b95f(0x2b3))['option'](a2_0x47b95f(0x1aa),a2_0x47b95f(0x24d))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))[a2_0x47b95f(0x3b6)](async(_0x310f33,_0x38ee67,_0x52b1a7)=>{const _0x4534b1=a2_0x47b95f,_0x25fb2e=new WorkflowPullCommand(),_0x574353=program[_0x4534b1(0x439)](),_0x11c703=await createTDXInstance(_0x574353),_0x161a08=await _0x25fb2e['run']({'options':{..._0x574353,..._0x52b1a7},'args':_0x38ee67?[_0x310f33,_0x38ee67]:[_0x310f33],'tdx':_0x11c703});gracefulExit(_0x161a08);}),workflowCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2ea))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x384))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x437),a2_0x47b95f(0x3cc))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1aa),a2_0x47b95f(0x342))['option']('--skip-validation','Skip\x20validation\x20of\x20.dig\x20files')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))['action'](async(_0x3ed62b,_0x20300a)=>{const _0x48bd54=a2_0x47b95f,_0xecbb0=new WorkflowPushCommand(),_0x5972cd=program[_0x48bd54(0x439)](),_0x4cb4eb=await createTDXInstance(_0x5972cd),_0x1bebca=await _0xecbb0[_0x48bd54(0x41e)]({'options':{..._0x5972cd,..._0x20300a},'args':_0x3ed62b?[_0x3ed62b]:[],'tdx':_0x4cb4eb});gracefulExit(_0x1bebca);}),workflowCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2d2))['description'](a2_0x47b95f(0x27c))[a2_0x47b95f(0x25c)]('--name\x20<name>',a2_0x47b95f(0x1b2))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x437),a2_0x47b95f(0x238))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3c3),a2_0x47b95f(0x3e3))[a2_0x47b95f(0x3b6)](async(_0x897a75,_0x553e06)=>{const _0x20770f=a2_0x47b95f,_0x4043ac=new WorkflowUploadCommand(),_0x5994d5=program['opts'](),_0x498f5b=await createTDXInstance(_0x5994d5),_0x55a349=await _0x4043ac[_0x20770f(0x41e)]({'options':{..._0x5994d5,..._0x553e06},'args':_0x897a75?[_0x897a75]:[],'tdx':_0x498f5b});gracefulExit(_0x55a349);}),workflowCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3d3))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3bb))[a2_0x47b95f(0x25c)]('--name\x20<name>',a2_0x47b95f(0x31e))[a2_0x47b95f(0x25c)]('--revision\x20<revision>',a2_0x47b95f(0x3cc))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1aa),a2_0x47b95f(0x436))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3c3),a2_0x47b95f(0x3e3))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))['action'](async(_0x523d45,_0x47f81f)=>{const _0x1549ce=a2_0x47b95f,_0x30b908=new WorkflowCloneCommand(),_0x2c33e9=program[_0x1549ce(0x439)](),_0x772ff6=await createTDXInstance(_0x2c33e9),_0x43cd37=await _0x30b908[_0x1549ce(0x41e)]({'options':{..._0x2c33e9,..._0x47f81f},'args':_0x523d45?[_0x523d45]:[],'tdx':_0x772ff6});gracefulExit(_0x43cd37);}),workflowCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x222))['description']('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x47b95f(0x3b6)](async(_0x15ec6c,_0x2954a5)=>{const _0x5a88a8=a2_0x47b95f,_0x3789cf=new WorkflowDeleteCommand(),_0x109b59=program[_0x5a88a8(0x439)](),_0x5549f9=await createTDXInstance(_0x109b59),_0x474868=await _0x3789cf[_0x5a88a8(0x41e)]({'options':{..._0x109b59,..._0x2954a5},'args':[_0x15ec6c],'tdx':_0x5549f9});gracefulExit(_0x474868);}),workflowCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x306))['description'](a2_0x47b95f(0x2c2))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1f7),a2_0x47b95f(0x3ef))['action'](async(_0x13da0b,_0x188b20)=>{const _0x5d3cb3=new WorkflowUseCommand(),_0x22466a=program['opts'](),_0x33e7f0=await createTDXInstance(_0x22466a),_0x4b62f9=await _0x5d3cb3['run']({'options':{..._0x22466a,..._0x188b20},'args':_0x13da0b?[_0x13da0b]:[],'tdx':_0x33e7f0});gracefulExit(_0x4b62f9);});const wfSecretsCmd=workflowCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3f1))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x22e));wfSecretsCmd['command']('list\x20[project]')['description'](a2_0x47b95f(0x20d))[a2_0x47b95f(0x3b6)](async(_0x4808ce,_0x17370a)=>{const _0x2d842d=a2_0x47b95f,_0x2da045=new WorkflowSecretsListCommand(),_0x1dd8e4=program[_0x2d842d(0x439)](),_0x137487=await createTDXInstance(_0x1dd8e4),_0x3dbcbf=await _0x2da045[_0x2d842d(0x41e)]({'options':{..._0x1dd8e4,..._0x17370a},'args':_0x4808ce?[_0x4808ce]:[],'tdx':_0x137487});gracefulExit(_0x3dbcbf);}),wfSecretsCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3b2))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x291))['action'](async(_0x1fb17c,_0x42b9be)=>{const _0xdb0795=a2_0x47b95f,_0x3e145d=new WorkflowSecretsSetCommand(),_0x4a4b9e=program['opts'](),_0x2f6bbf=await createTDXInstance(_0x4a4b9e),_0x5d986f=await _0x3e145d[_0xdb0795(0x41e)]({'options':{..._0x4a4b9e,..._0x42b9be},'args':_0x1fb17c,'tdx':_0x2f6bbf});gracefulExit(_0x5d986f);}),wfSecretsCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x32a))['description'](a2_0x47b95f(0x409))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))[a2_0x47b95f(0x3b6)](async(_0x10b5ec,_0x84ae75)=>{const _0x593c7c=a2_0x47b95f,_0x5ce612=new WorkflowSecretsDeleteCommand(),_0x537c7b=program[_0x593c7c(0x439)](),_0x168b0c=await createTDXInstance(_0x537c7b),_0x4c26f4=await _0x5ce612[_0x593c7c(0x41e)]({'options':{..._0x537c7b,..._0x84ae75},'args':_0x10b5ec,'tdx':_0x168b0c});gracefulExit(_0x4c26f4);});const jobCmd=program['command']('job')[a2_0x47b95f(0x3db)]('Job\x20management\x20commands'),jobListAction=async _0x1ea08a=>{const _0x595fd5=a2_0x47b95f,_0x5b9fbf=new JobListCommand(),_0x154315=program[_0x595fd5(0x439)](),_0x49b1a1=await createTDXInstance(_0x154315),_0x5f4e96=await _0x5b9fbf['run']({'options':{..._0x154315,..._0x1ea08a},'args':[],'tdx':_0x49b1a1});gracefulExit(_0x5f4e96);};jobCmd[a2_0x47b95f(0x2c9)]('list')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3e1))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1bd),a2_0x47b95f(0x2ab))[a2_0x47b95f(0x3b6)](jobListAction),program['command'](a2_0x47b95f(0x269),{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x30d))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1bd),a2_0x47b95f(0x2ab))[a2_0x47b95f(0x3b6)](jobListAction),jobCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2d3))['description'](a2_0x47b95f(0x1d1))[a2_0x47b95f(0x3b6)](async(_0x106b93,_0x3f73f6)=>{const _0x577c29=a2_0x47b95f,_0x207c56=new JobShowCommand(),_0x36b562=program[_0x577c29(0x439)](),_0x1c675d=await createTDXInstance(_0x36b562),_0x336a83=await _0x207c56[_0x577c29(0x41e)]({'options':{..._0x36b562,..._0x3f73f6},'args':[_0x106b93],'tdx':_0x1c675d});gracefulExit(_0x336a83);}),jobCmd['command'](a2_0x47b95f(0x3f0))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1f2))[a2_0x47b95f(0x3b6)](async(_0x566980,_0x23879c)=>{const _0x409c4c=a2_0x47b95f,_0x3bf32d=new JobKillCommand(),_0x51744e=program[_0x409c4c(0x439)](),_0x43a1f7=await createTDXInstance(_0x51744e),_0x3ad2f6=await _0x3bf32d[_0x409c4c(0x41e)]({'options':{..._0x51744e,..._0x23879c},'args':[_0x566980],'tdx':_0x43a1f7});gracefulExit(_0x3ad2f6);}),jobCmd['command'](a2_0x47b95f(0x3ae))['description']('Submit\x20a\x20job')[a2_0x47b95f(0x25c)]('--job-type\x20<type>',a2_0x47b95f(0x1e8),a2_0x47b95f(0x1e9))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1af),a2_0x47b95f(0x3fd))['option']('--database\x20<name>',a2_0x47b95f(0x407),a2_0x47b95f(0x225))[a2_0x47b95f(0x3b6)](async(_0x57e74c,_0xe0e84a)=>{const _0x43ee09=a2_0x47b95f,_0x1f4673=new JobSubmitCommand(),_0x10584c=program['opts'](),_0x3b651c=await createTDXInstance(_0x10584c),_0x19fe6d=await _0x1f4673[_0x43ee09(0x41e)]({'options':{..._0x10584c,..._0xe0e84a},'args':_0x57e74c?[_0x57e74c]:[],'tdx':_0x3b651c});gracefulExit(_0x19fe6d);}),jobCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x260))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3f5))[a2_0x47b95f(0x3b6)](async(_0x20c836,_0x477d42)=>{const _0x1fa0d3=a2_0x47b95f,_0xbff727=new JobResultCommand(),_0x328d1d=program[_0x1fa0d3(0x439)](),_0x3c28da=await createTDXInstance(_0x328d1d),_0x4396ef=await _0xbff727[_0x1fa0d3(0x41e)]({'options':{..._0x328d1d,..._0x477d42},'args':[_0x20c836],'tdx':_0x3c28da});gracefulExit(_0x4396ef);});const scheduleCmd=jobCmd['command'](a2_0x47b95f(0x296))[a2_0x47b95f(0x3db)]('Scheduled\x20query\x20management\x20commands');scheduleCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)]('List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)')['action'](async(_0x4771a3,_0x1342d1)=>{const _0x3f1ed7=a2_0x47b95f,_0x4f9e50=new ScheduleListCommand(),_0x4b68e2=program[_0x3f1ed7(0x439)](),_0x1b0991=await createTDXInstance(_0x4b68e2),_0x2f5c9c=await _0x4f9e50[_0x3f1ed7(0x41e)]({'options':{..._0x4b68e2,..._0x1342d1},'args':_0x4771a3?[_0x4771a3]:[],'tdx':_0x1b0991});gracefulExit(_0x2f5c9c);}),scheduleCmd[a2_0x47b95f(0x2c9)]('show\x20<name>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x38f))[a2_0x47b95f(0x3b6)](async(_0x529441,_0x31797c)=>{const _0x326992=a2_0x47b95f,_0x5129e7=new ScheduleShowCommand(),_0x511d43=program[_0x326992(0x439)](),_0x6a8fcd=await createTDXInstance(_0x511d43),_0x4d9859=await _0x5129e7[_0x326992(0x41e)]({'options':{..._0x511d43,..._0x31797c},'args':[_0x529441],'tdx':_0x6a8fcd});gracefulExit(_0x4d9859);}),scheduleCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3a0))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x2fd))[a2_0x47b95f(0x3e6)](a2_0x47b95f(0x40b),a2_0x47b95f(0x332))['requiredOption'](a2_0x47b95f(0x1af),'Read\x20query\x20from\x20file')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2b4),'Query\x20type:\x20trino\x20or\x20hive',a2_0x47b95f(0x1e9))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x24e),a2_0x47b95f(0x3ba))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x307),a2_0x47b95f(0x23d))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x39b),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x47b95f(0x25c)]('--priority\x20<-2~2>',a2_0x47b95f(0x2ae))['option']('--retry-limit\x20<0~32>','Retry\x20limit\x20(0\x20to\x2032)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x25a),a2_0x47b95f(0x2f3))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x302),'Result\x20output\x20destination\x20URL')[a2_0x47b95f(0x3b6)](async(_0x5a6be8,_0x2095d8)=>{const _0x5e77ac=a2_0x47b95f,_0x47c586=new ScheduleCreateCommand(),_0x1619b5=program[_0x5e77ac(0x439)](),_0x2bdce9=await createTDXInstance(_0x1619b5),_0x3b8aea=await _0x47c586[_0x5e77ac(0x41e)]({'options':{..._0x1619b5,..._0x2095d8},'args':[_0x5a6be8],'tdx':_0x2bdce9});gracefulExit(_0x3b8aea);}),scheduleCmd['command'](a2_0x47b95f(0x30e))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x268))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x40b),'Database\x20name')['option']('-f,\x20--file\x20<path>',a2_0x47b95f(0x3fd))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2b4),a2_0x47b95f(0x27d))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x24e),a2_0x47b95f(0x3ba))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x307),a2_0x47b95f(0x398))['option'](a2_0x47b95f(0x39b),a2_0x47b95f(0x33a))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3b5),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x317),'Retry\x20limit\x20(0\x20to\x2032)')['option']('--engine-version\x20<version>',a2_0x47b95f(0x2f3))[a2_0x47b95f(0x25c)]('--result\x20<url>',a2_0x47b95f(0x2d7))[a2_0x47b95f(0x3b6)](async(_0x2b3d43,_0x59a925)=>{const _0x1eab21=a2_0x47b95f,_0x39bf65=new ScheduleUpdateCommand(),_0x46957c=program[_0x1eab21(0x439)](),_0x30112c=await createTDXInstance(_0x46957c),_0x133d91=await _0x39bf65[_0x1eab21(0x41e)]({'options':{..._0x46957c,..._0x59a925},'args':[_0x2b3d43],'tdx':_0x30112c});gracefulExit(_0x133d91);}),scheduleCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x362))[a2_0x47b95f(0x3db)]('Delete\x20a\x20scheduled\x20query')[a2_0x47b95f(0x3b6)](async(_0x50d9d2,_0x1a4c33)=>{const _0x5cfef4=a2_0x47b95f,_0x3bea47=new ScheduleDeleteCommand(),_0x3818bc=program[_0x5cfef4(0x439)](),_0x562feb=await createTDXInstance(_0x3818bc),_0x13ce57=await _0x3bea47[_0x5cfef4(0x41e)]({'options':{..._0x3818bc,..._0x1a4c33},'args':[_0x50d9d2],'tdx':_0x562feb});gracefulExit(_0x13ce57);}),scheduleCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x263))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x416))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2e0),a2_0x47b95f(0x35f))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x354),'Number\x20of\x20executions\x20(1-10,\x20default:\x201)')[a2_0x47b95f(0x3b6)](async(_0x19bac9,_0xf23fb8)=>{const _0x411647=a2_0x47b95f,_0x1ae94a=new ScheduleRunCommand(),_0x4fb8e6=program[_0x411647(0x439)](),_0x5adb7b=await createTDXInstance(_0x4fb8e6),_0x13a5a5=await _0x1ae94a['run']({'options':{..._0x4fb8e6,..._0xf23fb8},'args':[_0x19bac9],'tdx':_0x5adb7b});gracefulExit(_0x13a5a5);}),scheduleCmd['command'](a2_0x47b95f(0x412))['description'](a2_0x47b95f(0x314))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x41a),a2_0x47b95f(0x3d8))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x328),'Ending\x20offset\x20(default:\x2020)')[a2_0x47b95f(0x3b6)](async(_0x5c9482,_0x2f8b07)=>{const _0x21e621=a2_0x47b95f,_0x409499=new ScheduleHistoryCommand(),_0x38ae57=program[_0x21e621(0x439)](),_0x47cbf0=await createTDXInstance(_0x38ae57),_0x5076ba=await _0x409499[_0x21e621(0x41e)]({'options':{..._0x38ae57,..._0x2f8b07},'args':[_0x5c9482],'tdx':_0x47cbf0});gracefulExit(_0x5076ba);});const llmCmd=program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x399))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x338));llmCmd['command']('use\x20<project-name>')['description'](a2_0x47b95f(0x2af))[a2_0x47b95f(0x3b6)](async(_0x2067bf,_0x3284d7)=>{const _0x21df0b=a2_0x47b95f,_0x4220ca=new LLMUseCommand(),_0xbdf1e=program[_0x21df0b(0x439)](),_0x119634=await createTDXInstance(_0xbdf1e),_0x2b1000=await _0x4220ca[_0x21df0b(0x41e)]({'options':{..._0xbdf1e,..._0x3284d7},'args':[_0x2067bf],'tdx':_0x119634});gracefulExit(_0x2b1000);}),llmCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x34e))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x410))[a2_0x47b95f(0x3b6)](async _0x217ec0=>{const _0x5f535e=new LLMModelsCommand(),_0x47a4b5=program['opts'](),_0x3ebeb5=await createTDXInstance(_0x47a4b5),_0x4e6996=await _0x5f535e['run']({'options':{..._0x47a4b5,..._0x217ec0},'args':[],'tdx':_0x3ebeb5});gracefulExit(_0x4e6996);});const projectCmd=llmCmd[a2_0x47b95f(0x2c9)]('project')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x333)),llmProjectListAction=async(_0x57287c,_0x40f727)=>{const _0x4669da=a2_0x47b95f,_0x46ed56=new LLMProjectsCommand(),_0x21824f=program[_0x4669da(0x439)](),_0x3c422f=await createTDXInstance(_0x21824f),_0x792e95=await _0x46ed56[_0x4669da(0x41e)]({'options':{..._0x21824f,..._0x40f727},'args':_0x57287c?[_0x57287c]:[],'tdx':_0x3c422f});gracefulExit(_0x792e95);};projectCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x207))[a2_0x47b95f(0x3b6)](llmProjectListAction),llmCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x265))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x30c))[a2_0x47b95f(0x3b6)](llmProjectListAction),projectCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3a0))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x210))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3d7),a2_0x47b95f(0x264))[a2_0x47b95f(0x3b6)](async(_0x177f05,_0x53da29)=>{const _0xb6b221=a2_0x47b95f,_0x31fed6=new LLMProjectCreateCommand(),_0x28b17e=program[_0xb6b221(0x439)](),_0x435c79=await createTDXInstance(_0x28b17e),_0x451763=await _0x31fed6['run']({'options':{..._0x28b17e,..._0x53da29},'args':[_0x177f05],'tdx':_0x435c79});gracefulExit(_0x451763);}),projectCmd['command']('delete\x20<name>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x229))[a2_0x47b95f(0x3b6)](async(_0x4c4b84,_0x55e4a6)=>{const _0x503c16=a2_0x47b95f,_0x34606c=new LLMProjectDeleteCommand(),_0x12c77f=program[_0x503c16(0x439)](),_0x11f62c=await createTDXInstance(_0x12c77f),_0x451b7b=await _0x34606c['run']({'options':{..._0x12c77f,..._0x55e4a6},'args':[_0x4c4b84],'tdx':_0x11f62c});gracefulExit(_0x451b7b);}),projectCmd[a2_0x47b95f(0x2c9)]('backup\x20<name>')['description']('[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x298),a2_0x47b95f(0x1c6))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1aa),'Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files')[a2_0x47b95f(0x3b6)](async(_0x4feb87,_0x2ca9cc)=>{const _0x580358=new LLMProjectBackupCommand(),_0x5cbdfb=program['opts'](),_0x280385=await createTDXInstance(_0x5cbdfb),_0x28f192=await _0x580358['run']({'options':{..._0x5cbdfb,..._0x2ca9cc},'args':[_0x4feb87],'tdx':_0x280385});gracefulExit(_0x28f192);}),projectCmd[a2_0x47b95f(0x2c9)]('restore\x20<folder>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1b7))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1cd),a2_0x47b95f(0x242))[a2_0x47b95f(0x25c)]('--dry-run',a2_0x47b95f(0x1fa))['action'](async(_0x16089d,_0x51f414)=>{const _0x3aa3cf=a2_0x47b95f,_0x41e64e=new LLMProjectRestoreCommand(),_0x19e7c7=program['opts'](),_0x16cca2=await createTDXInstance(_0x19e7c7),_0x16e6a8=await _0x41e64e[_0x3aa3cf(0x41e)]({'options':{..._0x19e7c7,..._0x51f414},'args':[_0x16089d],'tdx':_0x16cca2});gracefulExit(_0x16e6a8);});const llmAgentListAction=async(_0xfca9a3,_0x3931b5)=>{const _0x5a9375=a2_0x47b95f,_0x294608=new LLMAgentsCommand(),_0x5dbe00=program[_0x5a9375(0x439)](),_0x4a2d3b=await createTDXInstance(_0x5dbe00),_0x4dfe5f=await _0x294608[_0x5a9375(0x41e)]({'options':{..._0x5dbe00,..._0x3931b5},'args':_0xfca9a3?[_0xfca9a3]:[],'tdx':_0x4a2d3b});gracefulExit(_0x4dfe5f);};llmCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3c7))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x31f))[a2_0x47b95f(0x3b6)](llmAgentListAction),program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3c7))['description'](a2_0x47b95f(0x31f))[a2_0x47b95f(0x3b6)](llmAgentListAction),llmCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x1ff))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x243))[a2_0x47b95f(0x25c)]('--last',a2_0x47b95f(0x1b0))['action'](async(_0x239354,_0x3ccd75)=>{const _0x72058f=a2_0x47b95f,_0x13e2c8=new LLMHistoryCommand(),_0x3a4e26=program[_0x72058f(0x439)](),_0x1dab35=await createTDXInstance(_0x3a4e26),_0x16ba1e=await _0x13e2c8[_0x72058f(0x41e)]({'options':{..._0x3a4e26,..._0x3ccd75},'args':_0x239354?[_0x239354]:[],'tdx':_0x1dab35});gracefulExit(_0x16ba1e);});isExperimentalAvailable()&&llmCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3e5))[a2_0x47b95f(0x3db)]('[EXPERIMENTAL]\x20Show\x20chat\x20log')[a2_0x47b95f(0x3b6)](async(_0x5bfa38,_0x4deba8)=>{const _0x1d0233=a2_0x47b95f,_0x43dd7=new LLMLogCommand(),_0x37073d=program[_0x1d0233(0x439)](),_0x134507=await createTDXInstance(_0x37073d),_0x5bd939=await _0x43dd7[_0x1d0233(0x41e)]({'options':{..._0x37073d,..._0x4deba8},'args':[_0x5bfa38],'tdx':_0x134507});gracefulExit(_0x5bd939);});program['command'](a2_0x47b95f(0x377))[a2_0x47b95f(0x1cf)](a2_0x47b95f(0x251))['description'](a2_0x47b95f(0x1b3))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3ed),'Continue\x20most\x20recent\x20conversation')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x43a),a2_0x47b95f(0x430))[a2_0x47b95f(0x25c)]('--no-proxy',a2_0x47b95f(0x1d3))[a2_0x47b95f(0x2f9)]()[a2_0x47b95f(0x3e4)](!![])[a2_0x47b95f(0x358)](a2_0x47b95f(0x438),'\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON')[a2_0x47b95f(0x3b6)](async(_0xba5dee,_0x37e6ef)=>{const _0x3b1b27=a2_0x47b95f,_0x52575e=program[_0x3b1b27(0x439)](),_0x20daa8=Array[_0x3b1b27(0x24b)](_0xba5dee)?_0xba5dee:[];if(_0x20daa8[0x0]===_0x3b1b27(0x31d)){const _0x2294ca=new ClaudeStatuslineCommand(),_0xc42fe2=await _0x2294ca[_0x3b1b27(0x41e)]({'options':{..._0x52575e,..._0x37e6ef},'args':_0x20daa8[_0x3b1b27(0x35a)](0x1),'tdx':null});gracefulExit(_0xc42fe2);}if(_0x20daa8[0x0]===_0x3b1b27(0x1cf)){const _0x40b862=new ClaudeUsageCommand(),_0x9ae7c7=await _0x40b862[_0x3b1b27(0x41e)]({'options':{..._0x52575e,..._0x37e6ef},'args':_0x20daa8[_0x3b1b27(0x35a)](0x1),'tdx':null});gracefulExit(_0x9ae7c7);}const _0x6ab805=new ClaudeCommand(),_0x1283c0=await createTDXInstance(_0x52575e),_0x46c10e=await _0x6ab805[_0x3b1b27(0x41e)]({'options':{..._0x52575e,..._0x37e6ef},'args':_0x20daa8,'tdx':_0x1283c0});gracefulExit(_0x46c10e);}),program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x32f))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x2b9))[a2_0x47b95f(0x25c)]('--clear',a2_0x47b95f(0x368))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2bb),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x47b95f(0x3b6)](async(_0x46df05,_0x16c1df,_0x40dec7)=>{const _0x32bf75=a2_0x47b95f,_0x42edb7=new UseCommand(),_0x3e27e2=program[_0x32bf75(0x439)](),_0x6d90f8=[];if(_0x46df05)_0x6d90f8['push'](_0x46df05);if(_0x16c1df)_0x6d90f8[_0x32bf75(0x28e)](_0x16c1df);const _0x4f89cf=await _0x42edb7[_0x32bf75(0x41e)]({'options':{..._0x3e27e2,..._0x40dec7},'args':_0x6d90f8,'tdx':null});gracefulExit(_0x4f89cf);}),program['command']('status')['description'](a2_0x47b95f(0x2a3))[a2_0x47b95f(0x3b6)](async _0x57fe40=>{const _0x14b795=a2_0x47b95f,_0x508579=new StatusCommand(),_0x460fc1=program[_0x14b795(0x439)](),_0x274fac=await createTDXInstance(_0x460fc1),_0x168e54=await _0x508579[_0x14b795(0x41e)]({'options':{..._0x460fc1,..._0x57fe40},'args':[],'tdx':_0x274fac});gracefulExit(_0x168e54);}),program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3ab))['description'](a2_0x47b95f(0x211))['option'](a2_0x47b95f(0x2bb),'Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x47b95f(0x3b6)](async(_0x37d575,_0x1bb90a)=>{const _0x37d79b=new UnsetCommand(),_0x5d06ca=program['opts'](),_0x1bc1ea=await _0x37d79b['run']({'options':{..._0x5d06ca,..._0x1bb90a},'args':[_0x37d575],'tdx':null});gracefulExit(_0x1bc1ea);}),program['command']('chats')['description'](a2_0x47b95f(0x308))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2f6),a2_0x47b95f(0x2bf))[a2_0x47b95f(0x3b6)](async _0x1d0772=>{const _0x1004fe=a2_0x47b95f,_0x46a9ab=new ChatsCommand(),_0xa92a2e=program[_0x1004fe(0x439)](),_0x2308bf=await createTDXInstance(_0xa92a2e),_0xdde2e1=await _0x46a9ab[_0x1004fe(0x41e)]({'options':{..._0xa92a2e,..._0x1d0772},'args':[],'tdx':_0x2308bf});gracefulExit(_0xdde2e1);});const authCmd=program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x21c))[a2_0x47b95f(0x3db)]('Authentication\x20management');async function runAuthStatusCommand(_0x11ec48){const _0x38723e=a2_0x47b95f,_0x4d4b27=new AuthStatusCommand(),_0x173470=program[_0x38723e(0x439)](),_0xc3b34d=await createTDXInstance(_0x173470),_0xc51c54=await _0x4d4b27['run']({'options':{..._0x173470,..._0x11ec48},'args':[],'tdx':_0xc3b34d});gracefulExit(_0xc51c54);}authCmd[a2_0x47b95f(0x3b6)](runAuthStatusCommand),authCmd['command']('status')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x213))['action'](runAuthStatusCommand),authCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x386))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1bf))['addHelpText'](a2_0x47b95f(0x438),a2_0x47b95f(0x1e2))[a2_0x47b95f(0x3b6)](async _0x7635ce=>{const _0x3f5c98=a2_0x47b95f,_0x4b96d5=new AuthSetupCommand(),_0x20a7b6=program[_0x3f5c98(0x439)](),_0x3d1c2e=await createTDXInstance(_0x20a7b6),_0x78589b=await _0x4b96d5[_0x3f5c98(0x41e)]({'options':{..._0x20a7b6,..._0x7635ce},'args':[],'tdx':_0x3d1c2e});gracefulExit(_0x78589b);}),authCmd[a2_0x47b95f(0x2c9)]('clear')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x274))['addHelpText'](a2_0x47b95f(0x438),a2_0x47b95f(0x363))[a2_0x47b95f(0x3b6)](async _0x1e5d6f=>{const _0x2b5a4b=a2_0x47b95f,_0x2e3e9e=new AuthClearCommand(),_0x522e2=program[_0x2b5a4b(0x439)](),_0x4cb767=await _0x2e3e9e['run']({'options':{..._0x522e2,..._0x1e5d6f},'args':[],'tdx':null});gracefulExit(_0x4cb767);});const userCmd=program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x231))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x21e)),userListAction=async _0x406b1f=>{const _0x36d829=a2_0x47b95f,_0x519a01=new UserListCommand(),_0x416c3a=program[_0x36d829(0x439)](),_0x3bb056=await createTDXInstance(_0x416c3a),_0x334c5d=await _0x519a01['run']({'options':{..._0x416c3a,..._0x406b1f},'args':[],'tdx':_0x3bb056});gracefulExit(_0x334c5d);};userCmd['action'](async _0x252420=>{const _0x2c9582=a2_0x47b95f,_0x52880f=new UserCommand(),_0x311655=program[_0x2c9582(0x439)](),_0x37568b=await createTDXInstance(_0x311655),_0x115e6e=await _0x52880f[_0x2c9582(0x41e)]({'options':{..._0x311655,..._0x252420},'args':[],'tdx':_0x37568b});gracefulExit(_0x115e6e);}),userCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x310))[a2_0x47b95f(0x3db)]('List\x20all\x20users\x20in\x20the\x20account')[a2_0x47b95f(0x3b6)](userListAction),program['command']('users')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x428))[a2_0x47b95f(0x3b6)](userListAction),program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x353))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3eb))[a2_0x47b95f(0x3b6)](async _0x2ce42c=>{const _0x3f23be=a2_0x47b95f,_0x443680=new ProfilesCommand(),_0x1aba16=program[_0x3f23be(0x439)](),_0x3244f2=await _0x443680['run']({'options':{..._0x1aba16,..._0x2ce42c},'args':[],'tdx':null});gracefulExit(_0x3244f2);});const profileCmd=program['command'](a2_0x47b95f(0x330))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x26a));profileCmd[a2_0x47b95f(0x3b6)](()=>{const _0x5b7a03=a2_0x47b95f;profileCmd[_0x5b7a03(0x349)]();});const profileListAction=async _0x10ec0a=>{const _0x4ca8ba=a2_0x47b95f,_0x345e31=new ProfilesCommand(),_0x30c448=program[_0x4ca8ba(0x439)](),_0x3ac3e6=await _0x345e31[_0x4ca8ba(0x41e)]({'options':{..._0x30c448,..._0x10ec0a},'args':[],'tdx':null});gracefulExit(_0x3ac3e6);};profileCmd[a2_0x47b95f(0x2c9)]('list')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3eb))[a2_0x47b95f(0x3b6)](profileListAction),profileCmd[a2_0x47b95f(0x2c9)]('create\x20[name]')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x2ba))[a2_0x47b95f(0x358)](a2_0x47b95f(0x438),a2_0x47b95f(0x3ad))[a2_0x47b95f(0x3b6)](async(_0xa2ff87,_0x27103a)=>{const _0x18a135=a2_0x47b95f,_0x4d1405=new ProfileCreateCommand(),_0x4d2707=program[_0x18a135(0x439)](),_0x19eec8=await _0x4d1405['run']({'options':{..._0x4d2707,..._0x27103a},'args':_0xa2ff87?[_0xa2ff87]:[],'tdx':null});gracefulExit(_0x19eec8);}),profileCmd['command'](a2_0x47b95f(0x262))['description'](a2_0x47b95f(0x442))['addHelpText'](a2_0x47b95f(0x438),a2_0x47b95f(0x391))[a2_0x47b95f(0x3b6)](async(_0xde76cc,_0x575aa3)=>{const _0x372193=a2_0x47b95f,_0x31a8a1=new ProfileRemoveCommand(),_0x17fe92=program[_0x372193(0x439)](),_0x2370d5=await _0x31a8a1[_0x372193(0x41e)]({'options':{..._0x17fe92,..._0x575aa3},'args':[_0xde76cc],'tdx':null});gracefulExit(_0x2370d5);}),profileCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x21b))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x41d))[a2_0x47b95f(0x358)](a2_0x47b95f(0x438),'\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')['action'](async(_0x45c2f1,_0x5e5171)=>{const _0x317d30=a2_0x47b95f,_0x1d51dd=new ProfileSetCommand(),_0x2557e3=program[_0x317d30(0x439)](),_0x250348=await _0x1d51dd[_0x317d30(0x41e)]({'options':{..._0x2557e3,..._0x5e5171},'args':[_0x45c2f1],'tdx':null});gracefulExit(_0x250348);}),profileCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2a5))[a2_0x47b95f(0x3db)]('Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)')['option'](a2_0x47b95f(0x2bb),a2_0x47b95f(0x2a1))[a2_0x47b95f(0x358)](a2_0x47b95f(0x438),a2_0x47b95f(0x1bb))[a2_0x47b95f(0x3b6)](async(_0x3f010a,_0x356a39)=>{const _0x3400ff=a2_0x47b95f,_0x37a032=new ProfileUseCommand(),_0x33e118=program['opts'](),_0x28c04d=await _0x37a032[_0x3400ff(0x41e)]({'options':{..._0x33e118,..._0x356a39},'args':[_0x3f010a],'tdx':null});gracefulExit(_0x28c04d);});const engageCmd=program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x396))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x33b)),createEngageAction=_0x28585d=>{return async(_0x4a55af,_0x56a80c)=>{const _0x5d362b=a2_0x26e5,_0x40076d=new _0x28585d(),_0x4d42e8=program['opts'](),_0x1fb421=await createTDXInstance(_0x4d42e8),_0x16904c=await _0x40076d[_0x5d362b(0x41e)]({'options':{..._0x4d42e8,..._0x56a80c},'args':[_0x4a55af],'tdx':_0x1fb421});gracefulExit(_0x16904c);};},createEngageNoArgAction=_0x4fd753=>{return async _0x1925de=>{const _0x43e553=a2_0x26e5,_0x269c79=new _0x4fd753(),_0x233e8a=program[_0x43e553(0x439)](),_0x3226a7=await createTDXInstance(_0x233e8a),_0x530b92=await _0x269c79[_0x43e553(0x41e)]({'options':{..._0x233e8a,..._0x1925de},'args':[],'tdx':_0x3226a7});gracefulExit(_0x530b92);};},campaignCmd=engageCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x32e))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1ae)),campaignListAction=async(_0x59f46a,_0x285748)=>{const _0x41acb2=a2_0x47b95f,_0xb03d44=new EngageCampaignsCommand(),_0x235bbe=program[_0x41acb2(0x439)](),_0x1fdb9b=await createTDXInstance(_0x235bbe),_0x2f75b5=await _0xb03d44[_0x41acb2(0x41e)]({'options':{..._0x235bbe,..._0x285748},'args':_0x59f46a?[_0x59f46a]:[],'tdx':_0x1fdb9b});gracefulExit(_0x2f75b5);};campaignCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)]('List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x47b95f(0x25c)]('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x47b95f(0x25c)]('--status\x20<status>',a2_0x47b95f(0x418))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),a2_0x47b95f(0x426))[a2_0x47b95f(0x3b6)](campaignListAction),engageCmd['command']('campaigns\x20[pattern]')['description'](a2_0x47b95f(0x1ee))['option'](a2_0x47b95f(0x2b4),a2_0x47b95f(0x434))['option']('--status\x20<status>',a2_0x47b95f(0x418))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),'Workspace\x20name')['action'](campaignListAction),campaignCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x29c))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x312))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),a2_0x47b95f(0x426))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2dc),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x47b95f(0x3b6)](createEngageAction(EngageCampaignShowCommand)),campaignCmd['command'](a2_0x47b95f(0x315))['description'](a2_0x47b95f(0x2b6))[a2_0x47b95f(0x3e6)]('--name\x20<name>',a2_0x47b95f(0x378))[a2_0x47b95f(0x3e6)](a2_0x47b95f(0x2b4),'Campaign\x20type\x20(email\x20or\x20push)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),a2_0x47b95f(0x301))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x20a),a2_0x47b95f(0x292))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x281),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x47b95f(0x25c)]('--email-sender-id\x20<id>',a2_0x47b95f(0x1d6))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2a8),a2_0x47b95f(0x1de))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x41c),a2_0x47b95f(0x323))[a2_0x47b95f(0x25c)]('--timezone\x20<tz>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x47b95f(0x3b6)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x42f))[a2_0x47b95f(0x3db)]('Update\x20a\x20campaign')[a2_0x47b95f(0x25c)]('--workspace\x20<name>',a2_0x47b95f(0x426))[a2_0x47b95f(0x25c)]('--name\x20<name>',a2_0x47b95f(0x2c4))['option'](a2_0x47b95f(0x20a),a2_0x47b95f(0x292))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x281),a2_0x47b95f(0x245))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1d8),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2a8),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x41c),a2_0x47b95f(0x323))['option'](a2_0x47b95f(0x307),a2_0x47b95f(0x41b))['action'](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2d1))['description'](a2_0x47b95f(0x1f0))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),a2_0x47b95f(0x426))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2e1),a2_0x47b95f(0x2d5))['action'](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x271))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x41f))[a2_0x47b95f(0x25c)]('--workspace\x20<name>',a2_0x47b95f(0x426))[a2_0x47b95f(0x3b6)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x421))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3c9))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),'Workspace\x20name')[a2_0x47b95f(0x3b6)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x47b95f(0x2c9)]('resume\x20<name-or-id>')['description'](a2_0x47b95f(0x40d))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),a2_0x47b95f(0x426))[a2_0x47b95f(0x3b6)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2c3))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3f8))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),'Workspace\x20name')[a2_0x47b95f(0x3b6)](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd['command'](a2_0x47b95f(0x1e0))[a2_0x47b95f(0x3db)]('Email\x20template\x20management'),templateListAction=async(_0x35ab8f,_0x3fce6a)=>{const _0x5b14f5=a2_0x47b95f,_0x4d1440=new EngageTemplatesCommand(),_0x3b2cd4=program[_0x5b14f5(0x439)](),_0x1fe125=await createTDXInstance(_0x3b2cd4),_0x4907df=await _0x4d1440[_0x5b14f5(0x41e)]({'options':{..._0x3b2cd4,..._0x3fce6a},'args':_0x35ab8f?[_0x35ab8f]:[],'tdx':_0x1fe125});gracefulExit(_0x4907df);};templateCmd['command']('list\x20[pattern]')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x2ff))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),'Workspace\x20name')['action'](templateListAction),engageCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x43d))['description'](a2_0x47b95f(0x28d))['option'](a2_0x47b95f(0x423),'Workspace\x20name')['action'](templateListAction),templateCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x29c))['description'](a2_0x47b95f(0x341))['option'](a2_0x47b95f(0x423),a2_0x47b95f(0x426))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2dc),a2_0x47b95f(0x3bf))[a2_0x47b95f(0x3b6)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x47b95f(0x2c9)]('create')['description']('Create\x20an\x20email\x20template')['requiredOption'](a2_0x47b95f(0x23b),'Template\x20name')[a2_0x47b95f(0x3e6)](a2_0x47b95f(0x23c),a2_0x47b95f(0x2de))[a2_0x47b95f(0x3e6)]('--html\x20<html>',a2_0x47b95f(0x2ca))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),a2_0x47b95f(0x301))['option']('--plaintext\x20<text>',a2_0x47b95f(0x3c4))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1dd),a2_0x47b95f(0x1df),_0x6a0e9a=>{const _0x392c8d=a2_0x47b95f;if(!['beefree',_0x392c8d(0x400)][_0x392c8d(0x236)](_0x6a0e9a))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x392c8d(0x1ab)+_0x6a0e9a+_0x392c8d(0x2bd));return _0x6a0e9a;})[a2_0x47b95f(0x3b6)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x47b95f(0x2c9)]('update\x20<name-or-id>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x28a))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),'Workspace\x20name')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x23b),a2_0x47b95f(0x297))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x23c),a2_0x47b95f(0x2de))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x35e),a2_0x47b95f(0x2ca))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1ed),a2_0x47b95f(0x3c4))[a2_0x47b95f(0x3b6)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2d1))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x40f))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),a2_0x47b95f(0x426))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2e1),a2_0x47b95f(0x2d5))[a2_0x47b95f(0x3b6)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command']('workspace')[a2_0x47b95f(0x3db)]('Workspace\x20management'),workspaceListAction=async(_0x327eaa,_0xd6bec6)=>{const _0x3af0c2=a2_0x47b95f,_0x15ff0b=new EngageWorkspacesCommand(),_0x542190=program['opts'](),_0x45cb9b=await createTDXInstance(_0x542190),_0x5d0f22=await _0x15ff0b[_0x3af0c2(0x41e)]({'options':{..._0x542190,..._0xd6bec6},'args':_0x327eaa?[_0x327eaa]:[],'tdx':_0x45cb9b});gracefulExit(_0x5d0f22);};workspaceCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1bc))[a2_0x47b95f(0x3b6)](workspaceListAction),engageCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x24a))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1fd))['action'](workspaceListAction),workspaceCmd['command']('show\x20<name-or-id>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3fe))[a2_0x47b95f(0x25c)]('--full',a2_0x47b95f(0x3bf))[a2_0x47b95f(0x3b6)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x315))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x322))[a2_0x47b95f(0x3e6)](a2_0x47b95f(0x23b),a2_0x47b95f(0x426))['option'](a2_0x47b95f(0x20a),a2_0x47b95f(0x2ec))['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd['command'](a2_0x47b95f(0x42f))['description'](a2_0x47b95f(0x1e4))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x23b),a2_0x47b95f(0x3ff))[a2_0x47b95f(0x25c)]('--description\x20<desc>',a2_0x47b95f(0x2ec))[a2_0x47b95f(0x3b6)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x47b95f(0x2c9)]('delete\x20<name-or-id>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3da))['option'](a2_0x47b95f(0x2e1),'Skip\x20confirmation\x20prompt')[a2_0x47b95f(0x3b6)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2a5))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x36a))[a2_0x47b95f(0x3b6)](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program[a2_0x47b95f(0x2c9)]('connection')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x304)),connectionListAction=async _0x123852=>{const _0x1e7839=a2_0x47b95f,_0x4d6088=new ConnectionListCommand(),_0x17917b=program[_0x1e7839(0x439)](),_0x469860=await createTDXInstance(_0x17917b),_0x12f03d=await _0x4d6088[_0x1e7839(0x41e)]({'options':{..._0x17917b,..._0x123852},'args':[],'tdx':_0x469860});gracefulExit(_0x12f03d);};connectionCmd['command']('list')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x27f))[a2_0x47b95f(0x3b6)](connectionListAction),program[a2_0x47b95f(0x2c9)]('connections',{'hidden':!![]})[a2_0x47b95f(0x3db)]('List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)')[a2_0x47b95f(0x3b6)](connectionListAction),connectionCmd['command']('show\x20<name>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x204))[a2_0x47b95f(0x3b6)](async(_0x2677a5,_0x464ba5)=>{const _0x211a07=a2_0x47b95f,_0x250dec=new ConnectionShowCommand(),_0x2cb5b6=program[_0x211a07(0x439)](),_0x5b8dd1=await createTDXInstance(_0x2cb5b6),_0x45e18b=await _0x250dec[_0x211a07(0x41e)]({'options':{..._0x2cb5b6,..._0x464ba5},'args':[_0x2677a5],'tdx':_0x5b8dd1});gracefulExit(_0x45e18b);}),connectionCmd['command'](a2_0x47b95f(0x221))[a2_0x47b95f(0x3db)]('Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation')[a2_0x47b95f(0x3b6)](async(_0x23ba5e,_0x1f1b7f)=>{const _0x21d03d=a2_0x47b95f,_0x1c01cf=new ConnectionSchemaCommand(),_0x563ba8=program['opts'](),_0x18345a=await createTDXInstance(_0x563ba8),_0x1b6673=await _0x1c01cf[_0x21d03d(0x41e)]({'options':{..._0x563ba8,..._0x1f1b7f},'args':[_0x23ba5e],'tdx':_0x18345a});gracefulExit(_0x1b6673);}),connectionCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x35d))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3fb))[a2_0x47b95f(0x3b6)](async _0x1f50ef=>{const _0x58518f=new ConnectionTypesCommand(),_0x46ca90=program['opts'](),_0x52ec32=await createTDXInstance(_0x46ca90),_0x283e97=await _0x58518f['run']({'options':{..._0x46ca90,..._0x1f50ef},'args':[],'tdx':_0x52ec32});gracefulExit(_0x283e97);}),connectionCmd[a2_0x47b95f(0x2c9)]('settings\x20<type>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x33c))['action'](async(_0x34cae2,_0x1e64cb)=>{const _0x4bafcc=a2_0x47b95f,_0x3b7a12=new ConnectionSettingsCommand(),_0x251f31=program[_0x4bafcc(0x439)](),_0x3e9663=await createTDXInstance(_0x251f31),_0x19549c=await _0x3b7a12['run']({'options':{..._0x251f31,..._0x1e64cb},'args':[_0x34cae2],'tdx':_0x3e9663});gracefulExit(_0x19549c);});const journeyCmd=program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3d2))[a2_0x47b95f(0x3db)]('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0x412b9c,_0x1160fe)=>{const _0x3bc2e6=a2_0x47b95f,_0x197ea6=new JourneyListCommand(),_0x42f719=program[_0x3bc2e6(0x439)](),_0x5b2ef6=await createTDXInstance(_0x42f719),_0x160d94=await _0x197ea6['run']({'options':{..._0x42f719,..._0x1160fe},'args':_0x412b9c?[_0x412b9c]:[],'tdx':_0x5b2ef6});gracefulExit(_0x160d94);};journeyCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x2f2))[a2_0x47b95f(0x3b6)](journeyListAction),journeyCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3e0))[a2_0x47b95f(0x3db)]('Show\x20journey\x20details')['option'](a2_0x47b95f(0x321),'Open\x20journey\x20in\x20web\x20browser')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2db),'Include\x20execution\x20statistics')[a2_0x47b95f(0x3b6)](async(_0x1295cb,_0x26e38b)=>{const _0x2a1610=a2_0x47b95f,_0x3e91d1=new JourneyViewCommand(),_0x41b505=program[_0x2a1610(0x439)](),_0x592bad=await createTDXInstance(_0x41b505),_0xe0cec8=await _0x3e91d1[_0x2a1610(0x41e)]({'options':{..._0x41b505,..._0x26e38b},'args':[_0x1295cb],'tdx':_0x592bad});gracefulExit(_0xe0cec8);}),journeyCmd['command']('stats\x20<name-or-path>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1ad))['option'](a2_0x47b95f(0x42b),'Show\x20stats\x20for\x20specific\x20stage')[a2_0x47b95f(0x3b6)](async(_0x1e319f,_0x1e7388)=>{const _0x33a0fc=a2_0x47b95f,_0x441062=new JourneyStatsCommand(),_0x49aab5=program[_0x33a0fc(0x439)](),_0x51c3a5=await createTDXInstance(_0x49aab5),_0x20de3d=await _0x441062[_0x33a0fc(0x41e)]({'options':{..._0x49aab5,..._0x1e7388},'args':[_0x1e319f],'tdx':_0x51c3a5});gracefulExit(_0x20de3d);}),journeyCmd['command']('pause\x20<name-or-path>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x21d))[a2_0x47b95f(0x3b6)](async(_0x39fceb,_0x415c7d)=>{const _0x5c0a29=a2_0x47b95f,_0x151209=new JourneyPauseCommand(),_0x4f78ef=program[_0x5c0a29(0x439)](),_0x3c36eb=await createTDXInstance(_0x4f78ef),_0x2989b9=await _0x151209['run']({'options':{..._0x4f78ef,..._0x415c7d},'args':[_0x39fceb],'tdx':_0x3c36eb});gracefulExit(_0x2989b9);}),journeyCmd['command']('resume\x20<name-or-path>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x346))[a2_0x47b95f(0x3b6)](async(_0x1cff8a,_0x4d3d02)=>{const _0x2599cc=new JourneyResumeCommand(),_0x423e0f=program['opts'](),_0x142081=await createTDXInstance(_0x423e0f),_0x3f1e38=await _0x2599cc['run']({'options':{..._0x423e0f,..._0x4d3d02},'args':[_0x1cff8a],'tdx':_0x142081});gracefulExit(_0x3f1e38);}),journeyCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2f5))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3ce))['option'](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1aa),a2_0x47b95f(0x1c0))[a2_0x47b95f(0x3b6)](async(_0x2e7365,_0x2e8737)=>{const _0x24e516=a2_0x47b95f,_0x1462ca=new JourneyPullCommand(),_0x63b15=program['opts'](),_0x10b088=await createTDXInstance(_0x63b15),_0x410363=await _0x1462ca[_0x24e516(0x41e)]({'options':{..._0x63b15,..._0x2e8737},'args':_0x2e7365?[_0x2e7365]:[],'tdx':_0x10b088});gracefulExit(_0x410363);}),journeyCmd['command'](a2_0x47b95f(0x3c6))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3d9))[a2_0x47b95f(0x3b6)](async(_0x452a3d,_0x23b6df)=>{const _0x84e890=a2_0x47b95f,_0x26b1dd=new JourneyPushCommand(),_0x45f198=program[_0x84e890(0x439)](),_0xa8503a=await createTDXInstance(_0x45f198),_0x53b82a=await _0x26b1dd[_0x84e890(0x41e)]({'options':{..._0x45f198,..._0x23b6df},'args':_0x452a3d?[_0x452a3d]:[],'tdx':_0xa8503a});gracefulExit(_0x53b82a);}),journeyCmd[a2_0x47b95f(0x2c9)]('validate\x20[target]')['description'](a2_0x47b95f(0x1d0))[a2_0x47b95f(0x3b6)](async(_0x877713,_0x2f1e2b)=>{const _0x3c6e84=a2_0x47b95f,_0x166033=new JourneyValidateCommand(),_0x1c858f=program['opts'](),_0x4b2967=await createTDXInstance(_0x1c858f),_0x387d53=await _0x166033[_0x3c6e84(0x41e)]({'options':{..._0x1c858f,..._0x2f1e2b},'args':_0x877713?[_0x877713]:[],'tdx':_0x4b2967});gracefulExit(_0x387d53);}),program[a2_0x47b95f(0x2c9)]('journeys\x20[pattern]')['description'](a2_0x47b95f(0x352))[a2_0x47b95f(0x3b6)](journeyListAction);const agentSyncCmd=program['command'](a2_0x47b95f(0x316))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x2cf));agentSyncCmd[a2_0x47b95f(0x2c9)]('pull\x20[project]\x20[agent-name]')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x383))[a2_0x47b95f(0x25c)]('-o,\x20--output\x20<dir>',a2_0x47b95f(0x200))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x22f),a2_0x47b95f(0x299))[a2_0x47b95f(0x3b6)](async(_0x5df2eb,_0x4f9d01,_0x52aa2b)=>{const _0x55ae1f=a2_0x47b95f,_0x11498b=new AgentPullCommand(),_0x4d1b9a=program[_0x55ae1f(0x439)](),_0x428aec=await createTDXInstance(_0x4d1b9a),_0x37c802=[];if(_0x5df2eb)_0x37c802[_0x55ae1f(0x28e)](_0x5df2eb);if(_0x4f9d01)_0x37c802[_0x55ae1f(0x28e)](_0x4f9d01);const _0x320185=await _0x11498b[_0x55ae1f(0x41e)]({'options':{..._0x4d1b9a,..._0x52aa2b},'args':_0x37c802,'tdx':_0x428aec});gracefulExit(_0x320185);}),agentSyncCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x20f))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3f2))[a2_0x47b95f(0x25c)]('-f,\x20--force',a2_0x47b95f(0x361))[a2_0x47b95f(0x3b6)](async(_0x3f85b6,_0x11bc3e)=>{const _0x3b62d9=a2_0x47b95f,_0x3962ae=new AgentPushCommand(),_0x31fea1=program[_0x3b62d9(0x439)](),_0x180e06=await createTDXInstance(_0x31fea1),_0x46a1ca=await _0x3962ae[_0x3b62d9(0x41e)]({'options':{..._0x31fea1,..._0x11bc3e},'args':_0x3f85b6?[_0x3f85b6]:[],'tdx':_0x180e06});gracefulExit(_0x46a1ca);}),agentSyncCmd['command'](a2_0x47b95f(0x2d8))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x39a))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x347),a2_0x47b95f(0x31e))[a2_0x47b95f(0x3b6)](async(_0x48e356,_0x3fe2ce)=>{const _0x52fd64=a2_0x47b95f,_0xb1d1e2=new AgentCloneCommand(),_0x199f89=program[_0x52fd64(0x439)](),_0x3ceca7=await createTDXInstance(_0x199f89),_0x550f87=await _0xb1d1e2['run']({'options':{..._0x199f89,..._0x3fe2ce},'args':_0x48e356?[_0x48e356]:[],'tdx':_0x3ceca7});gracefulExit(_0x550f87);}),agentSyncCmd['command'](a2_0x47b95f(0x3ca))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x37d))['option'](a2_0x47b95f(0x345),a2_0x47b95f(0x205))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2a6),a2_0x47b95f(0x3de))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1aa),a2_0x47b95f(0x2aa))[a2_0x47b95f(0x25c)]('--no-eval','Generate\x20test\x20conversations\x20without\x20evaluation')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x37b),'Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')['action'](async(_0x3bd032,_0x2b08e4)=>{const _0x5984b2=a2_0x47b95f,_0x2da9dc=new AgentTestCommand(),_0x2bfcc5=program[_0x5984b2(0x439)](),_0x33bc5f=await createTDXInstance(_0x2bfcc5),_0x503bc0=await _0x2da9dc[_0x5984b2(0x41e)]({'options':{..._0x2bfcc5,..._0x2b08e4},'args':_0x3bd032?[_0x3bd032]:[],'tdx':_0x33bc5f});gracefulExit(_0x503bc0);}),agentSyncCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3e7))[a2_0x47b95f(0x3b6)](llmAgentListAction),agentSyncCmd['command'](a2_0x47b95f(0x276))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x373))[a2_0x47b95f(0x3b6)](async(_0x154c7f,_0x3f88d6)=>{const _0x495303=a2_0x47b95f,_0x5e0eb2=new LLMAgentShowCommand(),_0x1038a8=program[_0x495303(0x439)](),_0x2ef77b=await createTDXInstance(_0x1038a8),_0x373b9a=await _0x5e0eb2[_0x495303(0x41e)]({'options':{..._0x1038a8,..._0x3f88d6},'args':[_0x154c7f],'tdx':_0x2ef77b});gracefulExit(_0x373b9a);}),agentSyncCmd[a2_0x47b95f(0x2c9)]('create\x20<name>')[a2_0x47b95f(0x3db)]('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1d7),a2_0x47b95f(0x395))[a2_0x47b95f(0x25c)]('--model\x20<name>','Model\x20type\x20(default:\x20claude-4.5-sonnet)',a2_0x47b95f(0x327))[a2_0x47b95f(0x25c)]('--starter-message\x20<text>',a2_0x47b95f(0x1b1))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x293),a2_0x47b95f(0x3b9),'4')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x313),'Temperature\x20(0.0-2.0,\x20default:\x200.7)',a2_0x47b95f(0x420))[a2_0x47b95f(0x3b6)](async(_0x1417b9,_0x4a681b)=>{const _0x2bd54a=new LLMAgentCreateCommand(),_0x2510f8=program['opts'](),_0x38be52=await createTDXInstance(_0x2510f8),_0x1bd47e=await _0x2bd54a['run']({'options':{..._0x2510f8,..._0x4a681b},'args':[_0x1417b9],'tdx':_0x38be52});gracefulExit(_0x1bd47e);}),agentSyncCmd[a2_0x47b95f(0x2c9)]('update\x20<agent-name>')['description'](a2_0x47b95f(0x344))['option'](a2_0x47b95f(0x39e),a2_0x47b95f(0x3cd))['option'](a2_0x47b95f(0x3b4),a2_0x47b95f(0x429))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3d7),'Agent\x20description')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x43c),'Starter\x20message')[a2_0x47b95f(0x3b6)](async(_0x374f91,_0x345a18)=>{const _0x577283=a2_0x47b95f,_0x41a068=new LLMAgentUpdateCommand(),_0x171e36=program[_0x577283(0x439)](),_0x39ce63=await createTDXInstance(_0x171e36),_0x9093d7=await _0x41a068[_0x577283(0x41e)]({'options':{..._0x171e36,..._0x345a18},'args':[_0x374f91],'tdx':_0x39ce63});gracefulExit(_0x9093d7);}),agentSyncCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3bc))[a2_0x47b95f(0x3db)]('Delete\x20an\x20agent')['action'](async(_0x4dd089,_0xdd7d)=>{const _0x2947f1=a2_0x47b95f,_0x220cb1=new LLMAgentDeleteCommand(),_0x3a2d02=program[_0x2947f1(0x439)](),_0x247ebd=await createTDXInstance(_0x3a2d02),_0x417847=await _0x220cb1[_0x2947f1(0x41e)]({'options':{..._0x3a2d02,..._0xdd7d},'args':[_0x4dd089],'tdx':_0x247ebd});gracefulExit(_0x417847);}),program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x1b5),{'hidden':!![]})[a2_0x47b95f(0x3b6)](()=>{const _0x496e18=a2_0x47b95f;function _0x19d903(_0x3efc8b,_0x5ce788){const _0x3fddbb=a2_0x26e5,_0x4ba3a6=[];for(const _0x53dea0 of _0x3efc8b[_0x3fddbb(0x388)]){if(_0x53dea0['_hidden'])continue;const _0x5dec32=_0x5ce788?_0x5ce788+'\x20'+_0x53dea0[_0x3fddbb(0x273)]():_0x53dea0[_0x3fddbb(0x273)](),_0x530b82=_0x5dec32[_0x3fddbb(0x1ca)]('\x20')[0x0],_0x44808d=COMMAND_CATEGORIES[_0x3fddbb(0x288)](_0x1d68f5=>_0x1d68f5[_0x3fddbb(0x388)][_0x3fddbb(0x236)](_0x530b82)),_0x52e17c=_0x44808d?.[_0x3fddbb(0x273)]??'';if(_0x53dea0[_0x3fddbb(0x388)][_0x3fddbb(0x240)]>0x0)_0x4ba3a6['push'](..._0x19d903(_0x53dea0,_0x5dec32));else{const _0x5b3db6=(_0x53dea0[_0x3fddbb(0x227)]||[])[_0x3fddbb(0x1d2)](_0xd0c3f9=>{const _0xd77fa3=_0x3fddbb,_0x342cb4=_0xd0c3f9[_0xd77fa3(0x2d0)]?_0xd0c3f9[_0xd77fa3(0x273)]()+_0xd77fa3(0x32b):_0xd0c3f9['name']();return _0xd0c3f9[_0xd77fa3(0x425)]?'<'+_0x342cb4+'>':'['+_0x342cb4+']';})[_0x3fddbb(0x335)]('\x20'),_0x4bf2b2=_0x53dea0[_0x3fddbb(0x2fa)]['filter'](_0x135e35=>!_0x135e35[_0x3fddbb(0x3e8)]&&_0x135e35[_0x3fddbb(0x43b)]!==_0x3fddbb(0x3f3))[_0x3fddbb(0x1d2)](_0x4095a4=>({'flags':_0x4095a4[_0x3fddbb(0x24c)],'description':_0x4095a4[_0x3fddbb(0x3db)]}));_0x4ba3a6[_0x3fddbb(0x28e)]({'name':_0x5dec32,'description':_0x53dea0['description'](),'group':_0x52e17c,'usage':_0x5b3db6,'options':_0x4bf2b2});}}return _0x4ba3a6;}console[_0x496e18(0x320)](JSON['stringify'](_0x19d903(program,''))),process[_0x496e18(0x3f7)](0x0);});export{program};export function runCLI(){const _0x18d728=a2_0x47b95f,_0x3a72a3=!process[_0x18d728(0x212)]['slice'](0x2)[_0x18d728(0x240)];showBriefHelp=_0x3a72a3,program[_0x18d728(0x1ef)](process[_0x18d728(0x212)]);_0x3a72a3&&program['outputHelp']();if(process[_0x18d728(0x37f)][_0x18d728(0x3a6)]&&process[_0x18d728(0x212)][_0x18d728(0x240)]>0x2&&!isDevVersion()){const _0xbe7189=loadReleaseChannel();checkForUpdate(currentVersion,_0xbe7189)[_0x18d728(0x248)](_0x129b73=>{_0x129b73&&displayUpdateNotification(_0x129b73);})[_0x18d728(0x2ad)](()=>{});}}
1
+ const a2_0x6964e6=a2_0x28a3;(function(_0x21d2cc,_0x3dbae8){const _0x2f65ca=a2_0x28a3,_0xf06c2e=_0x21d2cc();while(!![]){try{const _0x40ad45=-parseInt(_0x2f65ca(0x364))/0x1+-parseInt(_0x2f65ca(0x230))/0x2+-parseInt(_0x2f65ca(0x3c6))/0x3*(-parseInt(_0x2f65ca(0x38c))/0x4)+parseInt(_0x2f65ca(0x27f))/0x5*(parseInt(_0x2f65ca(0x379))/0x6)+-parseInt(_0x2f65ca(0x44d))/0x7+-parseInt(_0x2f65ca(0x344))/0x8+parseInt(_0x2f65ca(0x237))/0x9;if(_0x40ad45===_0x3dbae8)break;else _0xf06c2e['push'](_0xf06c2e['shift']());}catch(_0x1ecf00){_0xf06c2e['push'](_0xf06c2e['shift']());}}}(a2_0x2cf0,0x5b611));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSPzListCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';function a2_0x28a3(_0x357dbb,_0x9ba9c7){_0x357dbb=_0x357dbb-0x1d6;const _0x2cf031=a2_0x2cf0();let _0x28a3c4=_0x2cf031[_0x357dbb];return _0x28a3c4;}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';function a2_0x2cf0(){const _0x128ee3=['list\x20[project]','--schedule-option\x20<value>','Open\x20parent\x20segment\x20in\x20web\x20browser','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','--plaintext\x20<text>','Continue\x20most\x20recent\x20conversation','--json-columns\x20<cols>','Timezone\x20(e.g.,\x20America/Los_Angeles)','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','309807rOkJBH','agents\x20[pattern]','requiredOption','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','describe\x20[table]','Overwrite\x20local\x20changes\x20without\x20confirmation','launch\x20<name-or-id>','--cron\x20<expression>','--add-attributes-file\x20<file>','update\x20<name-or-id>','template','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','List\x20available\x20connector\x20types','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','argv','Workspace\x20name','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','parents\x20[pattern]','Customer\x20group\x20from\x20JSON\x20file','Add\x20attributes\x20as\x20JSON\x20string','Timezone\x20for\x20cron','--folder\x20<name>','pause\x20<name-or-id>','log','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Folder\x20name\x20for\x20organization','-p,\x20--profile\x20<name>','stderr','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','Starter\x20message','Project\x20description','push','End\x20time\x20filter\x20(ISO\x208601\x20format)','Workflow\x20(Digdag)\x20management\x20commands','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','HTML\x20template\x20content','0.7','--priority\x20<-2~2>','--subject\x20<subject>','--rule\x20<json>','--customer-group\x20<json>','optionDescription','Attributes\x20from\x20JSON\x20file','Output\x20as\x20JSON','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','--tsv','Clear\x20session\x20context','gitRevision','--behavior\x20[name]','journeys\x20[pattern]','--force','Output\x20file\x20path','show\x20[name]','slice','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','--version','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','--table','workspace','preAction','_list-commands','Update\x20a\x20scheduled\x20query','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','--attributes-file\x20<file>','long','--include-stats','logs','attempts\x20[project]','DEBUG','optionTerm','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','Folder\x20description','LLM\x20project\x20to\x20use\x20(overrides\x20context)','--last','projects\x20[pattern]','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20jp01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a','INVALID_ARGUMENT','use\x20<project-name>','--kind\x20<type>','Database\x20name','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Preview\x20changes\x20without\x20writing\x20files','Skip\x20validation\x20of\x20.dig\x20files','trace','--stream','history\x20[chat-id]','Master\x20table\x20name','length','use\x20[resource]\x20[value]','--catalog\x20<catalog>','Invalid\x20editor\x20type:\x20','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','Delete\x20a\x20workspace','Skip\x20confirmation\x20prompts','option','Delete\x20a\x20campaign','--parent-folder\x20<name>','Create\x20an\x20email\x20template','Override\x20project\x20name','json','Resume\x20a\x20conversation\x20(shows\x20selector)','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','--trace','command','claude-4.5-sonnet','Parse\x20and\x20validate\x20without\x20executing','allowUnknownOption','Read\x20SQL\x20query\x20from\x20file','Show\x20segment\x20details\x20(alias\x20for\x20view)','isTTY','Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)','Campaign\x20name','validate\x20[target]','Output\x20as\x20JSON\x20Lines','jobs','campaigns\x20[pattern]','Delete\x20a\x20scheduled\x20query','chat\x20[message...]','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','--retry-limit\x20<0~32>','pull\x20[name]','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Update\x20an\x20email\x20template','usage','--from\x20<timestamp>','folders\x20<parent_name>','Make\x20segment\x20invisible\x20(default:\x20visible)','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','2073568xoDNZt','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','--customer-group-file\x20<file>','setup','Delete\x20an\x20agent','format','--from-task\x20<task>','-f,\x20--force','push\x20[parent_or_file]','--no-proxy','Add\x20behaviors\x20as\x20JSON\x20string','Table\x20management\x20commands','Data\x20connection\x20management\x20(for\x20activations/exports)','--attribute\x20[name]','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','CDP\x20segment\x20management\x20commands','Filtering\x20rule\x20as\x20JSON\x20string','Email\x20subject\x20template','find','[attempt-id]','--delete','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','-r,\x20--resume','System\x20prompt/instructions\x20(default:\x20empty)','Starting\x20offset\x20(default:\x200)','--dry-run','\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','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','create\x20<name>','Skip\x20population\x20counting','show\x20<agent-name>','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','view\x20<name-or-path>','Run\x20a\x20scheduled\x20query\x20immediately','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Delete\x20an\x20email\x20template','exit','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','tasks','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','LLM\x20project\x20management','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Query\x20engine\x20version','-d,\x20--database\x20<name>','Commands:','Behaviors\x20from\x20JSON\x20file','Workflow\x20parameter\x20(repeatable)','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','databases\x20[pattern]','stdout','segment','Skip\x20confirmation\x20prompt','parent','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','view\x20[name]','Email\x20sender\x20ID\x20for\x20delivery','resume\x20<name-or-id>','--new','workspaces\x20[pattern]','jsonl','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','show\x20<folder_ref>','[action]','--master','map','--rule-file\x20<file>','Scheduled\x20query\x20management\x20commands','Resume\x20a\x20paused\x20campaign','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','--to\x20<n>','--jsonl','--description\x20<text>','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','Personalization\x20service\x20management','Database\x20to\x20query\x20(default:\x20information_schema)','Show\x20job\x20details','Temperature\x20(0.0-2.0,\x20default:\x200.7)','--reason\x20<text>','Cron\x20expression\x20for\x20scheduling','Pull\x20child\x20segments\x20to\x20YAML\x20files','segments\x20[path]','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','remove\x20<name>','show\x20<name-or-id>','fields\x20[parent_name]','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','desc\x20[name]','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','--timezone\x20<tz>','--llm-project\x20<name>','--html\x20<html>','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Create\x20a\x20new\x20LLM\x20project','show\x20<job-id>','--segment\x20<path>','subcommandDescription','project','debug','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','--name\x20<new-name>','182864xSaHDf','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','Updated\x20schedule\x20option','sql\x20[segment_name]','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Reason\x20for\x20killing\x20the\x20attempt','9391707zfPkic','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','-1d','delete\x20<args...>','argumentTerm','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','validate\x20[file]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','flags','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','create','Create\x20a\x20new\x20profile','\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','noColor','variadic','options','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Add\x20behaviors\x20from\x20JSON\x20file','Output\x20directory','Create\x20a\x20scheduled\x20query','Pull\x20workflow\x20project\x20to\x20local\x20folder','stats\x20<name-or-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','parse','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Options:','-w,\x20--web','Delete\x20an\x20LLM\x20project','Campaign\x20description','Set\x20a\x20profile\x20configuration\x20value','Ending\x20offset\x20(default:\x2020)','Filtering\x20rule\x20from\x20JSON\x20file','trino','Job\x20management\x20commands','alias','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','run\x20[workflow]','--enriched','database','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','buildTime','Read\x20request\x20body\x20from\x20file','--timeout\x20<seconds>','Workflow\x20project\x20management','--schedule-type\x20<type>','campaign','RT\x202.0\x20configuration\x20management','--name\x20<new_name>','Generate\x20test\x20conversations\x20without\x20evaluation','stringify','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','summary','Get\x20job\x20results','Custom\x20revision\x20name\x20(default:\x20timestamp)','Create\x20a\x20new\x20campaign','Retry\x20limit\x20(0\x20to\x2032)','Output\x20folder\x20(default:\x20{project_name}.llm)','preview\x20[name]','clone\x20[source]','--revision\x20<revision>','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','Include\x20retried\x20attempts','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','[DEPRECATED]\x20Segment\x20folder\x20management','job','--limit\x20<number>','5cIhAMA','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','information_schema','Plaintext\x20template\x20content','delete\x20<agent-name>','Start\x20a\x20new\x20chat\x20session','Open\x20segment\x20in\x20web\x20browser','--interval\x20<range>','Read\x20query\x20from\x20file','Workspace\x20name\x20(required)','Update\x20a\x20campaign','Preview\x20changes\x20without\x20pushing','--workspace\x20<name>','us01','--tags\x20<tags>','types','Submit\x20a\x20job','--max-depth\x20<depth>','New\x20template\x20name','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Query\x20type:\x20trino\x20or\x20hive','--result\x20<url>','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Show\x20schedule\x20details','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','--name\x20<text>','templates\x20[pattern]','desc','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','test\x20[path]','Updated\x20timezone','-C,\x20--directory\x20<path>','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','--database\x20<name>','Directory\x20does\x20not\x20exist:\x20','[EXPERIMENTAL]\x20Show\x20chat\x20log','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','claude\x20[args...]','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','Master\x20database\x20name','New\x20campaign\x20name','Maximum\x20recursion\x20depth\x20(default:\x2010)','New\x20workspace\x20name','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','--agent\x20<ref>','...','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Database\x20name\x20(default:\x20information_schema)','List\x20all\x20data\x20connections','view\x20[segment_name]','Create\x20a\x20new\x20agent\x20in\x20current\x20project','-d,\x20--database\x20<database>','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','--limit\x20<n>','--invisible','error','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','--status\x20<status>','workflow','retry\x20<session-id>','Pull\x20specific\x20revision\x20(default:\x20latest)','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Validate\x20journey\x20YAML\x20files\x20locally','--name\x20<names>','-f,\x20--file\x20<path>','--session\x20<id>','Result\x20output\x20destination\x20URL','--attempt-id\x20<id>','outputHelp','argument','List\x20journeys\x20(alias\x20for\x20journey\x20list)','--follow','--chat-id\x20<id>','--no-count-population','clear','validate\x20[name]','update\x20<segment_name>','tdx','--include-retried','--job-type\x20<type>','--skip-validation','commands','--type\x20<type>','GET','Job\x20priority\x20(-2\x20to\x202)','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','List\x20all\x20users\x20in\x20the\x20account','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','-u,\x20--use','includes','kill\x20<job-id>','Campaign\x20management','--json','--full','Maximum\x20tool\x20iterations\x20(default:\x204)','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','--table\x20<table>','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','list\x20[name]','Arguments:','required','--time\x20<iso8601>','isArray','--add-behaviors\x20<json>','after','--result\x20<target>','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','description','submit\x20[query]','--prompt\x20<text>','push\x20[target]','--start-at\x20<datetime>','Start\x20time\x20filter\x20(ISO\x208601\x20format)','connection','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','padWidth','User\x20management\x20commands','--to\x20<timestamp>','apiKey','-o,\x20--output\x20<file>','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Show\x20master\x20table\x20sample\x20data','schema\x20<type>','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data',',\x20version\x20','Output\x20file\x20path\x20(default:\x20<name>.yml)','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','action','Authentication\x20management','session','--params\x20<json>','tdx\x20','api\x20[endpoint]','-d,\x20--database\x20<db>','\x20-\x20built\x20','--data\x20<data>','status','New\x20segment\x20name','--name\x20<name>','Template\x20name','--from\x20<n>','pull\x20<project>\x20[target-dir]','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','Segment\x20description','TRACE','resume\x20<name-or-path>','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','--session-id\x20<id>','-X,\x20--method\x20<method>','Force\x20retry\x20even\x20if\x20not\x20failed','--delay\x20<seconds>','Workflow\x20attempt\x20management','Duplicate\x20a\x20campaign','Create\x20segment\x20folder','Move\x20to\x20folder','Create\x20a\x20workspace','\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','--no-eval','Preview\x20operation\x20without\x20executing','--behaviors\x20<json>','show\x20<name>','--in\x20<name>','List\x20all\x20available\x20profiles','Show\x20segment\x20schema\x20(column\x20types)','logLevel','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Resume\x20from\x20specific\x20task\x20(retry)','--session-time\x20<time>','Run\x20tests\x20for\x20an\x20LLM\x20agent','settings\x20<type>','argumentDescription','update\x20<agent-name>','history\x20<name>','Setup\x20API\x20key\x20authentication\x20interactively','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Show\x20journey\x20details','run\x20[name]','log\x20<chat-id>','help','get','list\x20[pattern]','Alias\x20for\x20--database\x20(natural\x20language\x20style)','set\x20<key=value>','run\x20<name>','Agent\x20name','-r,\x20--recursive','--starter-message\x20<text>','\x20(resolved\x20to\x20','--in\x20<database>','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','1968112iHHLVD','addHelpText','Resume\x20from\x20specific\x20task','-o,\x20--output\x20<folder>','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','--type\x20<api_type>','--yes','use\x20<path>','Describe\x20table\x20schema','_hidden','opts','Show\x20timeline\x20for\x20specific\x20attempt','List\x20agents\x20in\x20current\x20project','--site\x20<site>','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','filter','kill','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','--email-sender-id\x20<id>','profiles','duplicate\x20<name-or-id>','repeat','Pause\x20a\x20campaign','Include\x20execution\x20statistics','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','backup\x20<name>','Database\x20to\x20use\x20(overrides\x20context)','--limit\x20<rows>','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Enable\x20verbose\x20logging','Workspace\x20description','721519VbfEat','activations\x20<segment_name>','registeredArguments','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','update\x20<name>','parent_segment','Agent\x20prompt/instructions','restore\x20<folder>','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','info\x20[segment_name]','Customer\x20group\x20as\x20JSON\x20string','use\x20<name>','clone\x20[source-dir]','result\x20<job-id>','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Database\x20management\x20commands','CDP\x20Journey\x20Orchestration\x20commands','Set\x20operation\x20timeout\x20in\x20seconds','Show\x20stats\x20for\x20specific\x20stage','--clear','2876502DqMxfA','table','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','subcommandTerm','create\x20[name]','retry','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Show\x20only\x20master\x20table\x20validation','site','delete\x20<name>','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','--system-prompt\x20<text>','join','LLM\x20agent\x20management','commandDescription','list','--default','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Show\x20agent\x20details','8zYKYbP','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','beefree','push\x20[file]','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','name','-y,\x20--yes','injectIntoOptions','fields\x20[name]','--description\x20<desc>','Name\x20for\x20the\x20new\x20project\x20(required)','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','chdir','Include\x20subtasks\x20in\x20tasks\x20output','auth','List\x20secret\x20keys\x20for\x20a\x20project','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','run','delete\x20<name-or-id>','Save\x20output\x20to\x20file','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','--engine-version\x20<version>','--add-behaviors-file\x20<file>','Push\x20without\x20confirmation','-H,\x20--header\x20<header>','agent','--color','Remove\x20API\x20key\x20from\x20system\x20keychain','users','Set\x20or\x20show\x20parent\x20segment\x20context','INFO','--debug','statusline','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','Interactive\x20chat\x20selector','directory','chats','Launch\x20a\x20campaign','catch','Updated\x20description','hidden'];a2_0x2cf0=function(){return _0x128ee3;};return a2_0x2cf0();}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_0x6964e6(0x3d5)][a2_0x6964e6(0x2dd)](a2_0x6964e6(0x401))){let versionOutput=a2_0x6964e6(0x308)+currentVersion;buildInfo[a2_0x6964e6(0x3f9)]&&!currentVersion[a2_0x6964e6(0x2dd)](buildInfo[a2_0x6964e6(0x3f9)])&&(versionOutput+='\x20('+buildInfo[a2_0x6964e6(0x3f9)]+')'),buildInfo[a2_0x6964e6(0x261)]&&(versionOutput+=a2_0x6964e6(0x30b)+buildInfo['buildTime']),console[a2_0x6964e6(0x3df)](versionOutput),process[a2_0x6964e6(0x1ef)](0x0);}const program=new Command();let showBriefHelp=![],description='AI-native\x20CLI\x20for\x20Treasure\x20Data';buildInfo[a2_0x6964e6(0x3f9)]&&!currentVersion[a2_0x6964e6(0x2dd)](buildInfo[a2_0x6964e6(0x3f9)])?description+=a2_0x6964e6(0x301)+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=a2_0x6964e6(0x301)+currentVersion;program[a2_0x6964e6(0x395)](a2_0x6964e6(0x2d1))[a2_0x6964e6(0x2ef)](description),program[a2_0x6964e6(0x429)](a2_0x6964e6(0x29f),'Change\x20to\x20directory\x20before\x20executing\x20command')[a2_0x6964e6(0x429)](a2_0x6964e6(0x3e3),a2_0x6964e6(0x2b1))[a2_0x6964e6(0x429)](a2_0x6964e6(0x351),a2_0x6964e6(0x313),a2_0x6964e6(0x28d))[a2_0x6964e6(0x429)]('--format\x20<format>',a2_0x6964e6(0x352))[a2_0x6964e6(0x429)](a2_0x6964e6(0x404),'Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)')[a2_0x6964e6(0x429)]('--json','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x212),a2_0x6964e6(0x35d))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3f7),'Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)')['option']('--output\x20<file>',a2_0x6964e6(0x3a4))[a2_0x6964e6(0x429)](a2_0x6964e6(0x27e),a2_0x6964e6(0x3d4))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3ac),'Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])['option']('--no-color','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)',![])['option']('-v,\x20--verbose',a2_0x6964e6(0x362),![])[a2_0x6964e6(0x429)](a2_0x6964e6(0x3b1),'Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x431),'Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x263),a2_0x6964e6(0x376),'30')[a2_0x6964e6(0x429)](a2_0x6964e6(0x1e3),a2_0x6964e6(0x323),![])['option'](a2_0x6964e6(0x396),a2_0x6964e6(0x428),![])[a2_0x6964e6(0x429)](a2_0x6964e6(0x2c5),a2_0x6964e6(0x36d))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1f6),a2_0x6964e6(0x35f))[a2_0x6964e6(0x429)](a2_0x6964e6(0x326),a2_0x6964e6(0x33b))[a2_0x6964e6(0x429)]('--parent-segment\x20<name>','Parent\x20segment\x20to\x20use\x20(overrides\x20context)')['option'](a2_0x6964e6(0x225),a2_0x6964e6(0x413)),program['configureHelp']({'formatHelp':(_0xead3af,_0x36a4a6)=>{const _0x1fdd30=a2_0x6964e6,_0x379f8f=_0x36a4a6[_0x1fdd30(0x2f7)](_0xead3af,_0x36a4a6),_0x13470a=0x2,_0x6c2596=0x2;function _0x4fe167(_0xd6b1b){const _0x58463b=_0x1fdd30,_0x1643da=_0xd6b1b;return!!(_0x1643da['_hidden']||_0x1643da[_0x58463b(0x3ba)]);}function _0x5d1c34(_0x22f4c6,_0xb3c52f){if(_0xb3c52f){const _0x34aa0d=''+_0x22f4c6['padEnd'](_0x379f8f+_0x6c2596)+_0xb3c52f;return _0x34aa0d;}return _0x22f4c6;}function _0x1e5f0b(_0x469a13){const _0x53c14f=_0x1fdd30;return _0x469a13[_0x53c14f(0x385)]('\x0a')['replace'](/^/gm,'\x20'[_0x53c14f(0x35a)](_0x13470a));}const _0x389786=[];_0x389786[_0x1fdd30(0x3e8)]('Usage:\x20'+_0x36a4a6['commandUsage'](_0xead3af));const _0x2805e1=_0x36a4a6[_0x1fdd30(0x387)](_0xead3af);_0x2805e1&&(_0x389786['push'](''),_0x389786['push'](_0x2805e1));const _0x5d8129=_0xead3af[_0x1fdd30(0x2d5)][_0x1fdd30(0x353)](_0x243cfb=>!_0x4fe167(_0x243cfb));if(_0x5d8129[_0x1fdd30(0x422)]>0x0){if(_0xead3af[_0x1fdd30(0x395)]()==='tdx'){const _0x7112d5=_0xead3af[_0x1fdd30(0x34e)](),_0x14d919=!_0x7112d5[_0x1fdd30(0x245)]&&process[_0x1fdd30(0x1fc)][_0x1fdd30(0x438)],_0x3cc753=COMMAND_CATEGORIES,_0x10bcad=(_0x580ce3,_0x4dd59d)=>_0x14d919?_0x4dd59d(_0x580ce3):_0x580ce3,_0x11dfc1=new Map();_0x5d8129['forEach'](_0x170cc0=>{const _0x4aee01=_0x1fdd30;_0x11dfc1['set'](_0x170cc0[_0x4aee01(0x395)](),_0x170cc0);}),_0x3cc753['forEach'](_0x257016=>{const _0x7fd94c=_0x1fdd30,_0x1a9822=_0x257016[_0x7fd94c(0x2d5)]['flatMap'](_0x8f3523=>_0x11dfc1[_0x7fd94c(0x339)](_0x8f3523)??[]);if(_0x1a9822[_0x7fd94c(0x422)]>0x0){_0x389786['push'](''),_0x389786[_0x7fd94c(0x3e8)](_0x10bcad(_0x257016[_0x7fd94c(0x395)]+':',_0x257016['colorFn']));const _0x7d588b=_0x1a9822[_0x7fd94c(0x20c)](_0x482387=>{const _0x348232=_0x7fd94c,_0x123a68=_0x36a4a6[_0x348232(0x37c)](_0x482387),_0x3b1eb7=_0x36a4a6['subcommandDescription'](_0x482387);return _0x5d1c34(_0x123a68,_0x3b1eb7);});_0x389786[_0x7fd94c(0x3e8)](_0x1e5f0b(_0x7d588b));}}),_0x389786[_0x1fdd30(0x3e8)](''),_0x389786[_0x1fdd30(0x3e8)](_0x1fdd30(0x36c));}else{const _0x2e8723=_0x5d8129[_0x1fdd30(0x20c)](_0x347c88=>{const _0x3b2a22=_0x1fdd30,_0x4f3014=_0x36a4a6[_0x3b2a22(0x37c)](_0x347c88),_0x1c095a=_0x36a4a6[_0x3b2a22(0x22b)](_0x347c88);return _0x5d1c34(_0x4f3014,_0x1c095a);});_0x389786[_0x1fdd30(0x3e8)](''),_0x389786[_0x1fdd30(0x3e8)](_0x1fdd30(0x1f7)),_0x389786[_0x1fdd30(0x3e8)](_0x1e5f0b(_0x2e8723));}}if(showBriefHelp&&_0xead3af[_0x1fdd30(0x395)]()===_0x1fdd30(0x2d1))_0x389786[_0x1fdd30(0x3e8)](''),_0x389786['push'](_0x1fdd30(0x25c));else{const _0x496c74=_0xead3af[_0x1fdd30(0x247)][_0x1fdd30(0x353)](_0x51703d=>!_0x4fe167(_0x51703d));if(_0x496c74[_0x1fdd30(0x422)]>0x0){const _0x3da06d=_0x496c74['map'](_0x379641=>{const _0x43d92d=_0x1fdd30,_0x2769ac=_0x36a4a6[_0x43d92d(0x410)](_0x379641),_0x44cb9d=_0x36a4a6[_0x43d92d(0x3f2)](_0x379641);return _0x5d1c34(_0x2769ac,_0x44cb9d);});_0x389786[_0x1fdd30(0x3e8)](''),_0x389786[_0x1fdd30(0x3e8)](_0x1fdd30(0x251)),_0x389786[_0x1fdd30(0x3e8)](_0x1e5f0b(_0x3da06d));}}const _0x563905=(_0xead3af[_0x1fdd30(0x366)]||[])['filter'](_0x75f272=>!_0x4fe167(_0x75f272));if(_0x563905[_0x1fdd30(0x422)]>0x0){const _0x38628d=_0x563905['map'](_0x14067f=>{const _0xcaff04=_0x1fdd30,_0x2341c7=_0x36a4a6[_0xcaff04(0x23b)](_0x14067f),_0x55d5f7=_0x36a4a6[_0xcaff04(0x330)](_0x14067f);return _0x5d1c34(_0x2341c7,_0x55d5f7);});_0x389786[_0x1fdd30(0x3e8)](''),_0x389786[_0x1fdd30(0x3e8)](_0x1fdd30(0x2e7)),_0x389786[_0x1fdd30(0x3e8)](_0x1e5f0b(_0x38628d));}return _0x389786[_0x1fdd30(0x385)]('\x0a')+'\x0a';},'subcommandTerm':_0x3d4101=>{const _0x133dc8=a2_0x6964e6,_0x4632b3=(_0x3d4101[_0x133dc8(0x366)]||[])['map'](_0x5560d3=>_0x5560d3[_0x133dc8(0x2e8)]?'<'+_0x5560d3[_0x133dc8(0x395)]()+'>':'['+_0x5560d3[_0x133dc8(0x395)]()+']')[_0x133dc8(0x385)]('\x20'),_0x5614f6=_0x3d4101['aliases'](),_0x24edd4=_0x5614f6[_0x133dc8(0x422)]>0x0?_0x3d4101['name']()+',\x20'+_0x5614f6[_0x133dc8(0x385)](',\x20'):_0x3d4101[_0x133dc8(0x395)]();return _0x4632b3?_0x24edd4+'\x20'+_0x4632b3:_0x24edd4;}}),program['hook'](a2_0x6964e6(0x406),_0x13b7b0=>{const _0x515597=a2_0x6964e6,_0x303608=_0x13b7b0['opts']();if(_0x303608['directory']){const _0x39f267=resolve(_0x303608[_0x515597(0x3b5)]),_0x56e2f1=_0x39f267!==_0x303608[_0x515597(0x3b5)]?_0x515597(0x341)+_0x39f267+')':'';if(!existsSync(_0x39f267))throw new SDKError(ErrorCode[_0x515597(0x417)],_0x515597(0x2a2)+_0x303608[_0x515597(0x3b5)]+_0x56e2f1,undefined,{'helpText':_0x515597(0x200)});const _0x1eb479=statSync(_0x39f267);if(!_0x1eb479['isDirectory']())throw new SDKError(ErrorCode[_0x515597(0x417)],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x303608[_0x515597(0x3b5)]+_0x56e2f1,undefined,{'helpText':'The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.'});process[_0x515597(0x39d)](_0x39f267);}if(!_0x303608[_0x515597(0x452)]){if(_0x303608[_0x515597(0x37a)])_0x303608[_0x515597(0x452)]=_0x515597(0x37a);else{if(_0x303608[_0x515597(0x42e)])_0x303608[_0x515597(0x452)]=_0x515597(0x42e);else{if(_0x303608['jsonl'])_0x303608[_0x515597(0x452)]=_0x515597(0x207);else _0x303608['tsv']&&(_0x303608[_0x515597(0x452)]='tsv');}}}_0x303608['in']&&!_0x303608['database']&&(_0x303608['database']=_0x303608['in']);if(_0x303608[_0x515597(0x41e)])_0x303608[_0x515597(0x329)]=LogLevel[_0x515597(0x315)];else{if(_0x303608[_0x515597(0x22d)])_0x303608[_0x515597(0x329)]=LogLevel[_0x515597(0x40f)];else _0x303608[_0x515597(0x329)]===undefined&&(_0x303608[_0x515597(0x329)]=LogLevel[_0x515597(0x3b0)]);}});async function createTDXInstance(_0x4ff185){const _0x19e868=a2_0x6964e6,_0x180371=await GlobalContext['createAsync'](_0x4ff185);return _0x180371[_0x19e868(0x397)](_0x4ff185),TDX[_0x19e868(0x242)]({'site':_0x180371[_0x19e868(0x381)],'apiKey':_0x180371[_0x19e868(0x2fa)],'logLevel':_0x180371[_0x19e868(0x329)],'profile':_0x180371['profile']});}const databaseCmd=program['command'](a2_0x6964e6(0x25f))[a2_0x6964e6(0x25a)]('db')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x374)),databaseListAction=async(_0x3169a4,_0x17d498)=>{const _0x536bbb=a2_0x6964e6,_0x557ea8=new DatabasesCommand(),_0x213e5c=program['opts'](),_0x23ac0e=await createTDXInstance(_0x213e5c),_0x2cbb13=await _0x557ea8[_0x536bbb(0x3a2)]({'options':{..._0x213e5c,..._0x17d498},'args':_0x3169a4?[_0x3169a4]:[],'tdx':_0x23ac0e});gracefulExit(_0x2cbb13);};databaseCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33a))[a2_0x6964e6(0x2ef)]('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x6964e6(0x304)](databaseListAction),program[a2_0x6964e6(0x432)](a2_0x6964e6(0x1fb),{'hidden':!![]})['description']('List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)')[a2_0x6964e6(0x304)](databaseListAction),program[a2_0x6964e6(0x432)](a2_0x6964e6(0x440))['description']('Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)')['option'](a2_0x6964e6(0x2ad),a2_0x6964e6(0x3a6))[a2_0x6964e6(0x429)](a2_0x6964e6(0x205),a2_0x6964e6(0x285))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2cc),a2_0x6964e6(0x3e5))[a2_0x6964e6(0x429)](a2_0x6964e6(0x41f),a2_0x6964e6(0x2b7))[a2_0x6964e6(0x304)](async(_0x28f906,_0x437628)=>{const _0x16cf1e=a2_0x6964e6,_0x458684=program[_0x16cf1e(0x34e)](),_0x17cdce=await createTDXInstance(_0x458684);if(_0x28f906[0x0]==='create'){const _0x14af98=new ChatCreateCommand();gracefulExit(await _0x14af98[_0x16cf1e(0x3a2)]({'options':{..._0x458684,..._0x437628},'args':_0x28f906[_0x16cf1e(0x3ff)](0x1),'tdx':_0x17cdce}));return;}const _0x3d9170=new ChatCommand(),_0x41442b=await _0x3d9170[_0x16cf1e(0x3a2)]({'options':{..._0x458684,..._0x437628},'args':_0x28f906,'tdx':_0x17cdce});gracefulExit(_0x41442b);});const apiCmd=program[a2_0x6964e6(0x432)](a2_0x6964e6(0x309))[a2_0x6964e6(0x26c)]('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs')[a2_0x6964e6(0x345)](a2_0x6964e6(0x2ec),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a')[a2_0x6964e6(0x429)](a2_0x6964e6(0x319),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a2_0x6964e6(0x2d7))[a2_0x6964e6(0x429)](a2_0x6964e6(0x30c),'Request\x20body\x20as\x20JSON\x20string')['option'](a2_0x6964e6(0x2c4),a2_0x6964e6(0x262))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3aa),a2_0x6964e6(0x248),(_0xeb7813,_0x103b38)=>{return _0x103b38?[..._0x103b38,_0xeb7813]:[_0xeb7813];})[a2_0x6964e6(0x429)](a2_0x6964e6(0x349),a2_0x6964e6(0x348),'td')[a2_0x6964e6(0x304)](async(_0x61a2ee,_0x210304)=>{const _0x4147e0=a2_0x6964e6;if(!_0x61a2ee){apiCmd[_0x4147e0(0x338)]();return;}const _0xe9ef92=new ApiCommand(),_0x4abbd6=program[_0x4147e0(0x34e)](),_0x5a479b=await createTDXInstance(_0x4abbd6),_0x58f26c=await _0xe9ef92[_0x4147e0(0x3a2)]({'options':{..._0x4abbd6,..._0x210304},'args':[_0x61a2ee],'tdx':_0x5a479b});gracefulExit(_0x58f26c);});program[a2_0x6964e6(0x432)]('mcp')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x303))[a2_0x6964e6(0x345)]('after','\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')['action'](async _0x2fdcce=>{const _0x16682b=a2_0x6964e6,_0x3db401=new MCPCommand(),_0xaec5ae=program[_0x16682b(0x34e)](),_0x26e4b9=await createTDXInstance(_0xaec5ae),_0x3676e4=await _0x3db401['run']({'options':{..._0xaec5ae,..._0x2fdcce},'args':[],'tdx':_0x26e4b9});gracefulExit(_0x3676e4);});const tableCmd=program[a2_0x6964e6(0x432)](a2_0x6964e6(0x37a))['description'](a2_0x6964e6(0x458)),tableListAction=async(_0x59cfb0,_0x31b2a1)=>{const _0x488047=a2_0x6964e6,_0x823ff5=new TablesCommand(),_0x1e3b35=program[_0x488047(0x34e)](),_0x35fbfe=await createTDXInstance(_0x1e3b35);_0x31b2a1['in']&&(_0x31b2a1[_0x488047(0x25f)]=_0x31b2a1['in']);const _0xf14a1b=await _0x823ff5[_0x488047(0x3a2)]({'options':{..._0x1e3b35,..._0x31b2a1},'args':_0x59cfb0?[_0x59cfb0]:[],'tdx':_0x35fbfe});gracefulExit(_0xf14a1b);};tableCmd[a2_0x6964e6(0x432)]('list\x20[pattern]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x393))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2b6),a2_0x6964e6(0x394))[a2_0x6964e6(0x429)](a2_0x6964e6(0x342),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x6964e6(0x304)](tableListAction),program[a2_0x6964e6(0x432)]('tables\x20[pattern]',{'hidden':!![]})[a2_0x6964e6(0x2ef)]('List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2b6),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x342),a2_0x6964e6(0x33b))['action'](tableListAction),program[a2_0x6964e6(0x432)]('show\x20[table]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x29c))[a2_0x6964e6(0x429)]('-d,\x20--database\x20<database>',a2_0x6964e6(0x2af))['option'](a2_0x6964e6(0x342),a2_0x6964e6(0x33b))[a2_0x6964e6(0x304)](async(_0xb7b87a,_0x510515)=>{const _0x2e6c25=a2_0x6964e6,_0x2df70a=new ShowCommand(),_0x108e30=program[_0x2e6c25(0x34e)](),_0x598045=await createTDXInstance(_0x108e30);_0x510515['in']&&(_0x510515[_0x2e6c25(0x25f)]=_0x510515['in']);const _0x35009d=await _0x2df70a[_0x2e6c25(0x3a2)]({'options':{..._0x108e30,..._0x510515},'args':_0xb7b87a?[_0xb7b87a]:[],'tdx':_0x598045});gracefulExit(_0x35009d);}),program[a2_0x6964e6(0x432)](a2_0x6964e6(0x3ca))[a2_0x6964e6(0x25a)](a2_0x6964e6(0x29b))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x34c))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2b6),a2_0x6964e6(0x2af))[a2_0x6964e6(0x429)]('--in\x20<database>',a2_0x6964e6(0x33b))['action'](async(_0x3c3cae,_0x43516d)=>{const _0x4a4e49=a2_0x6964e6,_0x508bc1=new DescribeCommand(),_0x224242=program[_0x4a4e49(0x34e)](),_0x548d93=await createTDXInstance(_0x224242);_0x43516d['in']&&(_0x43516d[_0x4a4e49(0x25f)]=_0x43516d['in']);const _0x132f53=await _0x508bc1[_0x4a4e49(0x3a2)]({'options':{..._0x224242,..._0x43516d},'args':_0x3c3cae?[_0x3c3cae]:[],'tdx':_0x548d93});gracefulExit(_0x132f53);}),program[a2_0x6964e6(0x432)]('query\x20[sql]')['description']('Run\x20Trino\x20query\x20with\x20streaming\x20results')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2b6),a2_0x6964e6(0x216))[a2_0x6964e6(0x429)](a2_0x6964e6(0x342),a2_0x6964e6(0x33b))[a2_0x6964e6(0x429)](a2_0x6964e6(0x424),'Trino\x20catalog\x20(default:\x20td)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2c4),a2_0x6964e6(0x436))[a2_0x6964e6(0x429)](a2_0x6964e6(0x360),a2_0x6964e6(0x402),'40')[a2_0x6964e6(0x304)](async(_0x4985bf,_0x507100)=>{const _0x5742d4=a2_0x6964e6,_0x2195a8=new QueryCommand(),_0x5ed3a8=program['opts'](),_0x17d1de=await createTDXInstance(_0x5ed3a8);_0x507100['in']&&(_0x507100[_0x5742d4(0x25f)]=_0x507100['in']);const _0x2126ac=await _0x2195a8[_0x5742d4(0x3a2)]({'options':{..._0x5ed3a8,..._0x507100},'args':_0x4985bf?[_0x4985bf]:[],'tdx':_0x17d1de});gracefulExit(_0x2126ac);});const segmentCmd=program['command'](a2_0x6964e6(0x1fd))[a2_0x6964e6(0x25a)]('sg')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x1d9)),segmentListAction=async(_0x2f6602,_0x522046)=>{const _0x55a480=a2_0x6964e6,_0x4d4bd6=new SegmentsCommand(),_0x34c0a5=program[_0x55a480(0x34e)](),_0x3daef1=await createTDXInstance(_0x34c0a5),_0x3c3125=await _0x4d4bd6['run']({'options':{..._0x34c0a5,..._0x522046},'args':_0x2f6602?[_0x2f6602]:[],'tdx':_0x3daef1});gracefulExit(_0x3c3125);};segmentCmd[a2_0x6964e6(0x432)]('list\x20[path]')['description'](a2_0x6964e6(0x3b3))[a2_0x6964e6(0x429)](a2_0x6964e6(0x33f),a2_0x6964e6(0x238))['option']('--max-depth\x20<depth>','Maximum\x20recursion\x20depth\x20(default:\x2010)','10')['action'](segmentListAction),program[a2_0x6964e6(0x432)](a2_0x6964e6(0x21c),{'hidden':!![]})[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x276))[a2_0x6964e6(0x429)](a2_0x6964e6(0x33f),a2_0x6964e6(0x238))[a2_0x6964e6(0x429)](a2_0x6964e6(0x291),a2_0x6964e6(0x2aa),'10')[a2_0x6964e6(0x304)](segmentListAction),segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x34b),{'hidden':!![]})[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x411))['action'](async(_0x5ad970,_0x13a7d9)=>{const _0x1dcc5d=a2_0x6964e6,_0x1829eb=new SegmentUseCommand(),_0x17d96d=program[_0x1dcc5d(0x34e)](),_0x1c6b3e=await createTDXInstance(_0x17d96d),_0x14708c=await _0x1829eb[_0x1dcc5d(0x3a2)]({'options':{..._0x17d96d,..._0x13a7d9},'args':[_0x5ad970],'tdx':_0x1c6b3e});gracefulExit(_0x14708c);});const segmentViewAction=async(_0x4b8473,_0x32b0dd)=>{const _0x550e24=a2_0x6964e6,_0x1c4af7=new SegmentViewCommand(),_0x5f15e7=program[_0x550e24(0x34e)](),_0x6939bb=await createTDXInstance(_0x5f15e7),_0x5ccff7=await _0x1c4af7[_0x550e24(0x3a2)]({'options':{..._0x5f15e7,..._0x32b0dd},'args':_0x4b8473?[_0x4b8473]:[],'tdx':_0x6939bb});gracefulExit(_0x5ccff7);};segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2b4))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2e3))['option'](a2_0x6964e6(0x252),a2_0x6964e6(0x286))[a2_0x6964e6(0x304)](segmentViewAction),segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x36e),{'hidden':!![]})['alias']('describe')['option'](a2_0x6964e6(0x252),'Open\x20segment\x20in\x20web\x20browser')['description'](a2_0x6964e6(0x437))['action'](segmentViewAction),segmentCmd[a2_0x6964e6(0x432)]('desc\x20[segment_name]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x328))[a2_0x6964e6(0x304)](async(_0x505312,_0x425393)=>{const _0x2aff92=a2_0x6964e6,_0x642ad5=new SegmentDescCommand(),_0x143f55=program[_0x2aff92(0x34e)](),_0x4e559e=await createTDXInstance(_0x143f55),_0x393920=await _0x642ad5[_0x2aff92(0x3a2)]({'options':{..._0x143f55,..._0x425393},'args':_0x505312?[_0x505312]:[],'tdx':_0x4e559e});gracefulExit(_0x393920);}),segmentCmd[a2_0x6964e6(0x432)]('show\x20[segment_name]')['description']('Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x6964e6(0x304)](async(_0x13e4ae,_0x10eba6)=>{const _0x11b2f0=a2_0x6964e6,_0x59d451=new SegmentShowCommand(),_0x27fe77=program[_0x11b2f0(0x34e)](),_0x3bf631=await createTDXInstance(_0x27fe77),_0x42c7c3=await _0x59d451[_0x11b2f0(0x3a2)]({'options':{..._0x27fe77,..._0x10eba6},'args':_0x13e4ae?[_0x13e4ae]:[],'tdx':_0x3bf631});gracefulExit(_0x42c7c3);}),segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x448),{'hidden':!![]})['description'](a2_0x6964e6(0x26b))[a2_0x6964e6(0x304)](async(_0x2f77b2,_0x233499)=>{const _0x7e0372=a2_0x6964e6,_0x457453=new SegmentFolderListCommand(),_0x1a73a9=program[_0x7e0372(0x34e)](),_0x51bde9=await createTDXInstance(_0x1a73a9),_0x433bcf=await _0x457453[_0x7e0372(0x3a2)]({'options':{..._0x1a73a9,..._0x233499},'args':[_0x2f77b2],'tdx':_0x51bde9});gracefulExit(_0x433bcf);});const folderCmd=segmentCmd[a2_0x6964e6(0x432)]('folder',{'hidden':!![]})[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x27c));folderCmd['command'](a2_0x6964e6(0x209))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x1fa))[a2_0x6964e6(0x304)](async(_0x46b434,_0x4356fa)=>{const _0x423503=a2_0x6964e6,_0x3a7293=new SegmentFolderShowCommand(),_0x7d33b2=program[_0x423503(0x34e)](),_0x1cb19f=await createTDXInstance(_0x7d33b2),_0x1eddd4=await _0x3a7293[_0x423503(0x3a2)]({'options':{..._0x7d33b2,..._0x4356fa},'args':[_0x46b434],'tdx':_0x1cb19f});gracefulExit(_0x1eddd4);}),segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x233))['description'](a2_0x6964e6(0x260))[a2_0x6964e6(0x304)](async(_0x220c92,_0x3e39b6)=>{const _0x15ad0f=a2_0x6964e6,_0x51d9d1=new SegmentSQLCommand(),_0x95dd78=program[_0x15ad0f(0x34e)](),_0x5c2fe4=await createTDXInstance(_0x95dd78),_0x17338e=await _0x51d9d1['run']({'options':{..._0x95dd78,..._0x3e39b6},'args':_0x220c92?[_0x220c92]:[],'tdx':_0x5c2fe4});gracefulExit(_0x17338e);}),segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x220))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2db))[a2_0x6964e6(0x304)](async(_0x3a669b,_0x38bcda)=>{const _0x3f8194=a2_0x6964e6,_0x5d866a=new SegmentFieldsCommand(),_0x5a2bca=program[_0x3f8194(0x34e)](),_0x5d0707=await createTDXInstance(_0x5a2bca),_0x5cf9a1=await _0x5d866a[_0x3f8194(0x3a2)]({'options':{..._0x5a2bca,..._0x38bcda},'args':_0x3a669b?[_0x3a669b]:[],'tdx':_0x5d0707});gracefulExit(_0x5cf9a1);}),segmentCmd[a2_0x6964e6(0x432)]('pull\x20[parent_or_file]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x21b))[a2_0x6964e6(0x429)](a2_0x6964e6(0x396),a2_0x6964e6(0x428))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1e3),a2_0x6964e6(0x3c9))[a2_0x6964e6(0x304)](async(_0x32c616,_0x2ca271)=>{const _0x279850=a2_0x6964e6,_0x32e4cc=new SegmentPullCommand(),_0x1780e3=program[_0x279850(0x34e)](),_0x21be44=await createTDXInstance(_0x1780e3),_0x43bcde=await _0x32e4cc[_0x279850(0x3a2)]({'options':{..._0x1780e3,..._0x2ca271},'args':_0x32c616?[_0x32c616]:[],'tdx':_0x21be44});gracefulExit(_0x43bcde);}),segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x455))['description'](a2_0x6964e6(0x250))[a2_0x6964e6(0x429)](a2_0x6964e6(0x396),a2_0x6964e6(0x428))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1e3),a2_0x6964e6(0x3c9))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1de),a2_0x6964e6(0x2fc))[a2_0x6964e6(0x304)](async(_0x45bb7a,_0x143bc2)=>{const _0x4fd25c=a2_0x6964e6,_0x367a25=new SegmentPushCommand(),_0x2a881c=program[_0x4fd25c(0x34e)](),_0x8347a5=await createTDXInstance(_0x2a881c),_0x390937=await _0x367a25[_0x4fd25c(0x3a2)]({'options':{..._0x2a881c,..._0x143bc2},'args':_0x45bb7a?[_0x45bb7a]:[],'tdx':_0x8347a5});gracefulExit(_0x390937);}),segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x43b))['description'](a2_0x6964e6(0x210))[a2_0x6964e6(0x304)](async(_0x21e9e5,_0x141b58)=>{const _0x35b1ba=a2_0x6964e6,_0xc08c23=new SegmentValidateCommand(),_0x66a322=program[_0x35b1ba(0x34e)](),_0x1c3ddf=await createTDXInstance(_0x66a322),_0xa31e02=await _0xc08c23[_0x35b1ba(0x3a2)]({'options':{..._0x66a322,..._0x141b58},'args':_0x21e9e5?[_0x21e9e5]:[],'tdx':_0x1c3ddf});gracefulExit(_0xa31e02);}),segmentCmd[a2_0x6964e6(0x432)]('create\x20<segment_name>',{'hidden':!![]})[a2_0x6964e6(0x2ef)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')['option']('--description\x20<text>',a2_0x6964e6(0x314))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3f0),a2_0x6964e6(0x1da))[a2_0x6964e6(0x429)](a2_0x6964e6(0x20d),a2_0x6964e6(0x257))['option'](a2_0x6964e6(0x3dd),a2_0x6964e6(0x3e2))[a2_0x6964e6(0x429)]('--kind\x20<type>',a2_0x6964e6(0x1d8))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2ba),a2_0x6964e6(0x449))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2cd),a2_0x6964e6(0x1e7))[a2_0x6964e6(0x304)](async(_0x2c6cf7,_0x1f649b)=>{const _0x253b59=a2_0x6964e6,_0x3bcdd8=new SegmentCreateCommand(),_0x1608a5=program[_0x253b59(0x34e)](),_0xb45662=await createTDXInstance(_0x1608a5),_0x5961ef=await _0x3bcdd8[_0x253b59(0x3a2)]({'options':{..._0x1608a5,..._0x1f649b},'args':[_0x2c6cf7],'tdx':_0xb45662});gracefulExit(_0x5961ef);}),segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2d0),{'hidden':!![]})[a2_0x6964e6(0x2ef)]('[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x268),a2_0x6964e6(0x30e))[a2_0x6964e6(0x429)](a2_0x6964e6(0x213),a2_0x6964e6(0x3b9))['option'](a2_0x6964e6(0x3f0),a2_0x6964e6(0x3d2))[a2_0x6964e6(0x429)](a2_0x6964e6(0x20d),a2_0x6964e6(0x27a))[a2_0x6964e6(0x429)]('--folder\x20<name>',a2_0x6964e6(0x31f))[a2_0x6964e6(0x429)](a2_0x6964e6(0x419),a2_0x6964e6(0x1d8))[a2_0x6964e6(0x304)](async(_0x361fe2,_0x4eec8a)=>{const _0x56ae8e=a2_0x6964e6,_0x2edf02=new SegmentUpdateCommand(),_0x7145be=program[_0x56ae8e(0x34e)](),_0x44ee6f=await createTDXInstance(_0x7145be),_0x1d0c05=await _0x2edf02[_0x56ae8e(0x3a2)]({'options':{..._0x7145be,..._0x4eec8a},'args':[_0x361fe2],'tdx':_0x44ee6f});gracefulExit(_0x1d0c05);});const parentCmd=segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x1ff),{'hidden':!![]})['description'](a2_0x6964e6(0x391)),parentListAction=async(_0x5de086,_0x51d0b4)=>{const _0x3e6b4a=a2_0x6964e6,_0x42f4be=new ParentSegmentListCommand(),_0xb0d16c=program[_0x3e6b4a(0x34e)](),_0x3bd076=await createTDXInstance(_0xb0d16c),_0x3b2ce8=await _0x42f4be['run']({'options':{..._0xb0d16c,..._0x51d0b4},'args':_0x5de086?[_0x5de086]:[],'tdx':_0x3bd076});gracefulExit(_0x3b2ce8);};parentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33a))['description'](a2_0x6964e6(0x298))[a2_0x6964e6(0x304)](parentListAction),segmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x3d9),{'hidden':!![]})[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x1ea))[a2_0x6964e6(0x304)](parentListAction),parentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x443))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x25b))[a2_0x6964e6(0x429)]('-o,\x20--output\x20<file>',a2_0x6964e6(0x302))[a2_0x6964e6(0x429)](a2_0x6964e6(0x396),a2_0x6964e6(0x1fe))[a2_0x6964e6(0x304)](async(_0x3a5ce6,_0x312143)=>{const _0x2a673f=a2_0x6964e6,_0x3ffb46=new ParentSegmentPullCommand(),_0x5b0721=program[_0x2a673f(0x34e)](),_0x52a840=await createTDXInstance(_0x5b0721),_0x3344b7=await _0x3ffb46['run']({'options':{..._0x5b0721,..._0x312143},'args':_0x3a5ce6?[_0x3a5ce6]:[],'tdx':_0x52a840});gracefulExit(_0x3344b7);}),parentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x38f))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x37f))[a2_0x6964e6(0x429)]('-y,\x20--yes',a2_0x6964e6(0x1fe))['action'](async(_0x206d5b,_0x370822)=>{const _0x5183bf=a2_0x6964e6,_0x4ce017=new ParentSegmentPushCommand(),_0x3d5ca3=program[_0x5183bf(0x34e)](),_0x21f7ce=await createTDXInstance(_0x3d5ca3),_0x2ba3a0=await _0x4ce017[_0x5183bf(0x3a2)]({'options':{..._0x3d5ca3,..._0x370822},'args':_0x206d5b?[_0x206d5b]:[],'tdx':_0x21f7ce});gracefulExit(_0x2ba3a0);}),parentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x23e))['description'](a2_0x6964e6(0x39c))[a2_0x6964e6(0x429)](a2_0x6964e6(0x20b),a2_0x6964e6(0x380))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1d7),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x6964e6(0x429)](a2_0x6964e6(0x3fa),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x6964e6(0x429)](a2_0x6964e6(0x25e),a2_0x6964e6(0x1e5))[a2_0x6964e6(0x429)](a2_0x6964e6(0x287),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')[a2_0x6964e6(0x304)](async(_0x404ad9,_0x2f5445)=>{const _0x11d38b=a2_0x6964e6,_0x2051fd=new ParentSegmentValidateCommand(),_0x586489=program[_0x11d38b(0x34e)](),_0x3e3f0a=await createTDXInstance(_0x586489),_0x59a64d=await _0x2051fd[_0x11d38b(0x3a2)]({'options':{..._0x586489,..._0x2f5445},'args':_0x404ad9?[_0x404ad9]:[],'tdx':_0x3e3f0a});gracefulExit(_0x59a64d);}),parentCmd[a2_0x6964e6(0x432)]('preview\x20[file]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x334))[a2_0x6964e6(0x429)](a2_0x6964e6(0x20b),a2_0x6964e6(0x2fd))['option'](a2_0x6964e6(0x1d7),a2_0x6964e6(0x41b))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3fa),a2_0x6964e6(0x23f))[a2_0x6964e6(0x429)]('--enriched',a2_0x6964e6(0x32b))['option'](a2_0x6964e6(0x287),a2_0x6964e6(0x3d7),a2_0x6964e6(0x239))[a2_0x6964e6(0x304)](async(_0x5228a0,_0x46db24)=>{const _0x343334=a2_0x6964e6,_0x2fe5af=new ParentSegmentPreviewCommand(),_0x38596e=program[_0x343334(0x34e)](),_0xcd0d20=await createTDXInstance(_0x38596e),_0x40c238=await _0x2fe5af['run']({'options':{..._0x38596e,..._0x46db24},'args':_0x5228a0?[_0x5228a0]:[],'tdx':_0xcd0d20});gracefulExit(_0x40c238);}),parentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x336))['description'](a2_0x6964e6(0x1e9))[a2_0x6964e6(0x429)]('-y,\x20--yes',a2_0x6964e6(0x1fe))[a2_0x6964e6(0x304)](async(_0x57d992,_0x4aabd0)=>{const _0x5727f6=a2_0x6964e6,_0x2ce55e=new ParentSegmentRunCommand(),_0x104e55=program[_0x5727f6(0x34e)](),_0x3b56df=await createTDXInstance(_0x104e55),_0x266cb3=await _0x2ce55e['run']({'options':{..._0x104e55,..._0x4aabd0},'args':_0x57d992?[_0x57d992]:[],'tdx':_0x3b56df});gracefulExit(_0x266cb3);});const parentSegmentCmd=program[a2_0x6964e6(0x432)]('parent-segment')[a2_0x6964e6(0x25a)]('ps')['description']('Parent\x20segment\x20management');parentSegmentCmd['command'](a2_0x6964e6(0x33a))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x298))[a2_0x6964e6(0x304)](parentListAction),parentSegmentCmd['command'](a2_0x6964e6(0x443))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x235))[a2_0x6964e6(0x429)]('-o,\x20--output\x20<file>',a2_0x6964e6(0x3fd))['option'](a2_0x6964e6(0x396),'Skip\x20confirmation\x20prompt')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2dc),a2_0x6964e6(0x373))['action'](async(_0x16a7d2,_0x4aa8a1)=>{const _0x4cd8a3=a2_0x6964e6,_0x109746=new ParentSegmentPullCommand(),_0x58a409=program[_0x4cd8a3(0x34e)](),_0x126800=await createTDXInstance(_0x58a409),_0xc06996=await _0x109746[_0x4cd8a3(0x3a2)]({'options':{..._0x58a409,..._0x4aa8a1},'args':_0x16a7d2?[_0x16a7d2]:[],'tdx':_0x126800});gracefulExit(_0xc06996);}),parentSegmentCmd['command']('push\x20[name]')[a2_0x6964e6(0x2ef)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x396),a2_0x6964e6(0x1fe))[a2_0x6964e6(0x304)](async(_0x21fd49,_0x3fb3ff)=>{const _0x4e13ed=a2_0x6964e6,_0x4275a5=new ParentSegmentPushCommand(),_0x42a907=program['opts'](),_0x55f575=await createTDXInstance(_0x42a907),_0x12ca6d=await _0x4275a5[_0x4e13ed(0x3a2)]({'options':{..._0x42a907,..._0x3fb3ff},'args':_0x21fd49?[_0x21fd49]:[],'tdx':_0x55f575});gracefulExit(_0x12ca6d);}),parentSegmentCmd[a2_0x6964e6(0x432)]('validate\x20[name]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x39c))[a2_0x6964e6(0x429)](a2_0x6964e6(0x20b),a2_0x6964e6(0x380))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1d7),a2_0x6964e6(0x44c))[a2_0x6964e6(0x429)]('--behavior\x20[name]','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x6964e6(0x429)](a2_0x6964e6(0x25e),a2_0x6964e6(0x1e5))[a2_0x6964e6(0x429)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x6964e6(0x239))[a2_0x6964e6(0x304)](async(_0x11b9dc,_0x642a9e)=>{const _0x472374=a2_0x6964e6,_0x4fbd28=new ParentSegmentValidateCommand(),_0x5aef4a=program[_0x472374(0x34e)](),_0x49317a=await createTDXInstance(_0x5aef4a),_0x4bb550=await _0x4fbd28[_0x472374(0x3a2)]({'options':{..._0x5aef4a,..._0x642a9e},'args':_0x11b9dc?[_0x11b9dc]:[],'tdx':_0x49317a});gracefulExit(_0x4bb550);}),parentSegmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x272))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x334))['option'](a2_0x6964e6(0x20b),a2_0x6964e6(0x2fd))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1d7),a2_0x6964e6(0x41b))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3fa),a2_0x6964e6(0x23f))[a2_0x6964e6(0x429)](a2_0x6964e6(0x25e),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')['option']('--interval\x20<range>',a2_0x6964e6(0x3d7),a2_0x6964e6(0x239))[a2_0x6964e6(0x304)](async(_0x5a164b,_0x5914cb)=>{const _0xb0eb8c=a2_0x6964e6,_0x2bd4f7=new ParentSegmentPreviewCommand(),_0x7ec14a=program['opts'](),_0x1f0ef7=await createTDXInstance(_0x7ec14a),_0x11e205=await _0x2bd4f7[_0xb0eb8c(0x3a2)]({'options':{..._0x7ec14a,..._0x5914cb},'args':_0x5a164b?[_0x5a164b]:[],'tdx':_0x1f0ef7});gracefulExit(_0x11e205);}),parentSegmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x336))[a2_0x6964e6(0x2ef)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x396),a2_0x6964e6(0x1fe))[a2_0x6964e6(0x304)](async(_0x48c479,_0x445b87)=>{const _0x166c7a=a2_0x6964e6,_0x922e24=new ParentSegmentRunCommand(),_0x55800b=program['opts'](),_0x194a53=await createTDXInstance(_0x55800b),_0x734e7f=await _0x922e24[_0x166c7a(0x3a2)]({'options':{..._0x55800b,..._0x445b87},'args':_0x48c479?[_0x48c479]:[],'tdx':_0x194a53});gracefulExit(_0x734e7f);}),parentSegmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x398))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x44b))['option']('--json',a2_0x6964e6(0x3f4))[a2_0x6964e6(0x429)](a2_0x6964e6(0x212),a2_0x6964e6(0x43c))[a2_0x6964e6(0x304)](async(_0x4c495e,_0x324cd0)=>{const _0xe102a0=new ParentSegmentFieldsCommand(),_0x505ed8=program['opts'](),_0x1797eb=await createTDXInstance(_0x505ed8),_0x282971=await _0xe102a0['run']({'options':{..._0x505ed8,..._0x324cd0},'args':_0x4c495e?[_0x4c495e]:[],'tdx':_0x1797eb});gracefulExit(_0x282971);}),parentSegmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x202))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x1f4))[a2_0x6964e6(0x429)](a2_0x6964e6(0x252),a2_0x6964e6(0x3bd))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2e0),'Output\x20as\x20JSON')[a2_0x6964e6(0x429)](a2_0x6964e6(0x212),a2_0x6964e6(0x43c))[a2_0x6964e6(0x304)](async(_0x5c14ba,_0x439167)=>{const _0x428bfd=a2_0x6964e6,_0x56e0fc=new ParentSegmentViewCommand(),_0x58a969=program[_0x428bfd(0x34e)](),_0xa8738c=await createTDXInstance(_0x58a969),_0x147548=await _0x56e0fc[_0x428bfd(0x3a2)]({'options':{..._0x58a969,..._0x439167},'args':_0x5c14ba?[_0x5c14ba]:[],'tdx':_0xa8738c});gracefulExit(_0x147548);}),parentSegmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x222))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2a7))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2fb),a2_0x6964e6(0x3fd))['option'](a2_0x6964e6(0x2e0),a2_0x6964e6(0x3f4))[a2_0x6964e6(0x429)](a2_0x6964e6(0x212),'Output\x20as\x20JSON\x20Lines')[a2_0x6964e6(0x304)](async(_0x231dd4,_0x35d662)=>{const _0x199e86=a2_0x6964e6,_0x527f3e=new ParentSegmentDescCommand(),_0x464fd7=program[_0x199e86(0x34e)](),_0x12d898=await createTDXInstance(_0x464fd7),_0x47a0ba=await _0x527f3e[_0x199e86(0x3a2)]({'options':{..._0x464fd7,..._0x35d662},'args':_0x231dd4?[_0x231dd4]:[],'tdx':_0x12d898});gracefulExit(_0x47a0ba);}),parentSegmentCmd[a2_0x6964e6(0x432)]('sql\x20[name]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3d8))['option'](a2_0x6964e6(0x2e0),a2_0x6964e6(0x3f4))['option'](a2_0x6964e6(0x212),a2_0x6964e6(0x43c))[a2_0x6964e6(0x304)](async(_0x4a6d5c,_0x2b54e1)=>{const _0x451441=a2_0x6964e6,_0x2ae934=new ParentSegmentSQLCommand(),_0x55c03f=program['opts'](),_0xe3aa15=await createTDXInstance(_0x55c03f),_0x5bf217=await _0x2ae934[_0x451441(0x3a2)]({'options':{..._0x55c03f,..._0x2b54e1},'args':_0x4a6d5c?[_0x4a6d5c]:[],'tdx':_0xe3aa15});gracefulExit(_0x5bf217);}),parentSegmentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x3fe))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x223))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2b9),'Limit\x20number\x20of\x20rows')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2e0),'Output\x20as\x20JSON')['option'](a2_0x6964e6(0x212),a2_0x6964e6(0x43c))[a2_0x6964e6(0x304)](async(_0x1b2c1c,_0x7c85e7)=>{const _0x55ffbc=a2_0x6964e6,_0x8cc3e8=new ParentSegmentShowCommand(),_0x16e6b0=program['opts'](),_0x5b3990=await createTDXInstance(_0x16e6b0),_0x5d77c8=await _0x8cc3e8[_0x55ffbc(0x3a2)]({'options':{..._0x16e6b0,..._0x7c85e7},'args':_0x1b2c1c?[_0x1b2c1c]:[],'tdx':_0x5b3990});gracefulExit(_0x5d77c8);}),parentSegmentCmd[a2_0x6964e6(0x432)]('use\x20[name]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3af))[a2_0x6964e6(0x304)](async(_0x4fe490,_0x146f75)=>{const _0x22352c=a2_0x6964e6,_0x5ac41e=new UseCommand(),_0x457fad=program[_0x22352c(0x34e)](),_0x339459=_0x4fe490?[_0x22352c(0x369),_0x4fe490]:[],_0x16faa9=await _0x5ac41e[_0x22352c(0x3a2)]({'options':{..._0x457fad,..._0x146f75},'args':_0x339459,'tdx':null});gracefulExit(_0x16faa9);});const psRtCmd=parentSegmentCmd[a2_0x6964e6(0x432)]('rt')[a2_0x6964e6(0x2ef)]('RT\x202.0\x20configuration\x20management');psRtCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33a))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x1ed))[a2_0x6964e6(0x304)](async(_0x20e04c,_0xa688d)=>{const _0x20da56=a2_0x6964e6,_0x20b635=new PSRtListCommand(),_0x25aadc=program[_0x20da56(0x34e)](),_0x399203=await createTDXInstance(_0x25aadc),_0x2404ca=await _0x20b635[_0x20da56(0x3a2)]({'options':{..._0x25aadc,..._0xa688d},'args':_0x20e04c?[_0x20e04c]:[],'tdx':_0x399203});gracefulExit(_0x2404ca);}),psRtCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2cf))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x227))[a2_0x6964e6(0x304)](async(_0x537be7,_0xfb995c)=>{const _0x305b41=a2_0x6964e6,_0x2edfe0=new PSRtValidateCommand(),_0x3167a1=program[_0x305b41(0x34e)](),_0x4c6666=await createTDXInstance(_0x3167a1),_0x10bf59=await _0x2edfe0[_0x305b41(0x3a2)]({'options':{..._0x3167a1,..._0xfb995c},'args':_0x537be7?[_0x537be7]:[],'tdx':_0x4c6666});gracefulExit(_0x10bf59);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})['description'](a2_0x6964e6(0x267));parentRtCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33a))[a2_0x6964e6(0x2ef)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')['action'](async(_0x4189e9,_0x151e0e)=>{const _0x27a603=a2_0x6964e6,_0x3f2cc7=new PSRtListCommand(),_0x31f490=program[_0x27a603(0x34e)](),_0x163fd1=await createTDXInstance(_0x31f490),_0x3cc14e=await _0x3f2cc7[_0x27a603(0x3a2)]({'options':{..._0x31f490,..._0x151e0e},'args':_0x4189e9?[_0x4189e9]:[],'tdx':_0x163fd1});gracefulExit(_0x3cc14e);}),parentRtCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2cf))[a2_0x6964e6(0x2ef)]('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')[a2_0x6964e6(0x304)](async(_0xb0c8f8,_0x2a33f4)=>{const _0x4851f8=a2_0x6964e6,_0x2dc64f=new PSRtValidateCommand(),_0x3b589d=program[_0x4851f8(0x34e)](),_0x3c5095=await createTDXInstance(_0x3b589d),_0x44c097=await _0x2dc64f[_0x4851f8(0x3a2)]({'options':{..._0x3b589d,..._0x2a33f4},'args':_0xb0c8f8?[_0xb0c8f8]:[],'tdx':_0x3c5095});gracefulExit(_0x44c097);});const psPzCmd=parentSegmentCmd[a2_0x6964e6(0x432)]('pz')['description'](a2_0x6964e6(0x215));psPzCmd[a2_0x6964e6(0x432)]('list\x20[name]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2a4))['action'](async(_0x2e920d,_0x46bdb2)=>{const _0x167448=a2_0x6964e6,_0x15cfe4=new PSPzListCommand(),_0x488549=program[_0x167448(0x34e)](),_0x3196ac=await createTDXInstance(_0x488549),_0x26972f=await _0x15cfe4[_0x167448(0x3a2)]({'options':{..._0x488549,..._0x46bdb2},'args':_0x2e920d?[_0x2e920d]:[],'tdx':_0x3196ac});gracefulExit(_0x26972f);}),psPzCmd[a2_0x6964e6(0x432)]('init\x20[name]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x403))[a2_0x6964e6(0x304)](async(_0x330ee3,_0x40e4fe)=>{const _0x242877=a2_0x6964e6,_0x156e72=new PSPzInitCommand(),_0x5d5a85=program[_0x242877(0x34e)](),_0x33bb13=await createTDXInstance(_0x5d5a85),_0x42d0e6=await _0x156e72['run']({'options':{..._0x5d5a85,..._0x40e4fe},'args':_0x330ee3?[_0x330ee3]:[],'tdx':_0x33bb13});gracefulExit(_0x42d0e6);});const parentPzCmd=parentCmd['command']('pz',{'hidden':!![]})[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x215));parentPzCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2e6))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2a4))[a2_0x6964e6(0x304)](async(_0x4ef7ac,_0x4184ba)=>{const _0x4cd32b=a2_0x6964e6,_0x76dafb=new PSPzListCommand(),_0x12e833=program[_0x4cd32b(0x34e)](),_0x5e85ac=await createTDXInstance(_0x12e833),_0x5324ea=await _0x76dafb[_0x4cd32b(0x3a2)]({'options':{..._0x12e833,..._0x4184ba},'args':_0x4ef7ac?[_0x4ef7ac]:[],'tdx':_0x5e85ac});gracefulExit(_0x5324ea);}),parentPzCmd[a2_0x6964e6(0x432)]('init\x20[name]')['description'](a2_0x6964e6(0x403))[a2_0x6964e6(0x304)](async(_0x24970b,_0x546b58)=>{const _0x377579=a2_0x6964e6,_0xa5f47d=new PSPzInitCommand(),_0x1501c4=program['opts'](),_0x581d75=await createTDXInstance(_0x1501c4),_0x2fe4cc=await _0xa5f47d[_0x377579(0x3a2)]({'options':{..._0x1501c4,..._0x546b58},'args':_0x24970b?[_0x24970b]:[],'tdx':_0x581d75});gracefulExit(_0x2fe4cc);}),parentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x1e6))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3e0))[a2_0x6964e6(0x3c8)]('--database\x20<db>',a2_0x6964e6(0x2a8))[a2_0x6964e6(0x3c8)](a2_0x6964e6(0x2e4),a2_0x6964e6(0x421))[a2_0x6964e6(0x429)](a2_0x6964e6(0x213),'Parent\x20segment\x20description')[a2_0x6964e6(0x429)]('--schedule-type\x20<type>',a2_0x6964e6(0x201))[a2_0x6964e6(0x429)]('--schedule-option\x20<value>',a2_0x6964e6(0x2f6))['option']('--timezone\x20<tz>',a2_0x6964e6(0x3c3))[a2_0x6964e6(0x429)]('--attributes\x20<json>','Attributes\x20as\x20JSON\x20string')[a2_0x6964e6(0x429)](a2_0x6964e6(0x40a),a2_0x6964e6(0x3f3))[a2_0x6964e6(0x429)](a2_0x6964e6(0x324),'Behaviors\x20as\x20JSON\x20string')[a2_0x6964e6(0x429)]('--behaviors-file\x20<file>',a2_0x6964e6(0x1f8))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3f1),a2_0x6964e6(0x36f))[a2_0x6964e6(0x429)](a2_0x6964e6(0x44f),a2_0x6964e6(0x3da))[a2_0x6964e6(0x304)](async(_0x2198c1,_0x533847)=>{const _0x4ac863=a2_0x6964e6,_0x54235d=new ParentSegmentCreateCommand(),_0x4ce9d2=program[_0x4ac863(0x34e)](),_0x369c33=await createTDXInstance(_0x4ce9d2),_0x459e59=await _0x54235d[_0x4ac863(0x3a2)]({'options':{..._0x4ce9d2,..._0x533847},'args':[_0x2198c1],'tdx':_0x369c33});gracefulExit(_0x459e59);}),parentCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x368))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x275))[a2_0x6964e6(0x429)](a2_0x6964e6(0x213),a2_0x6964e6(0x3b9))[a2_0x6964e6(0x429)](a2_0x6964e6(0x265),a2_0x6964e6(0x37b))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3bc),a2_0x6964e6(0x232))['option']('--timezone\x20<tz>',a2_0x6964e6(0x29e))[a2_0x6964e6(0x429)]('--add-attributes\x20<json>',a2_0x6964e6(0x3db))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3ce),'Add\x20attributes\x20from\x20JSON\x20file')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2eb),a2_0x6964e6(0x457))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3a8),a2_0x6964e6(0x249))[a2_0x6964e6(0x304)](async(_0x4ea5b6,_0x359710)=>{const _0xbeb798=a2_0x6964e6,_0x3adbaa=new ParentSegmentUpdateCommand(),_0x1377e9=program[_0xbeb798(0x34e)](),_0x3a61f2=await createTDXInstance(_0x1377e9),_0x3e2eaa=await _0x3adbaa[_0xbeb798(0x3a2)]({'options':{..._0x1377e9,..._0x359710},'args':[_0x4ea5b6],'tdx':_0x3a61f2});gracefulExit(_0x3e2eaa);}),folderCmd['command']('create\x20<parent_name>\x20<folder_name>')['description'](a2_0x6964e6(0x31e))[a2_0x6964e6(0x429)](a2_0x6964e6(0x213),a2_0x6964e6(0x412))['option'](a2_0x6964e6(0x42b),'Parent\x20folder\x20name\x20for\x20nested\x20folders')['action'](async(_0x16fbaf,_0x51e43b,_0x186bda)=>{const _0xde079b=a2_0x6964e6,_0x2fb22f=new SegmentFolderCreateCommand(),_0x90a0ab=program['opts'](),_0x107349=await createTDXInstance(_0x90a0ab),_0x29c32e=await _0x2fb22f[_0xde079b(0x3a2)]({'options':{..._0x90a0ab,..._0x186bda},'args':[_0x16fbaf,_0x51e43b],'tdx':_0x107349});gracefulExit(_0x29c32e);}),program[a2_0x6964e6(0x432)](a2_0x6964e6(0x365))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x383))[a2_0x6964e6(0x304)](async(_0x41a488,_0xb61a7)=>{const _0xe89df1=a2_0x6964e6,_0xc09d0f=new ActivationsCommand(),_0x4635df=program[_0xe89df1(0x34e)](),_0x1e5387=await createTDXInstance(_0x4635df),_0x26381e=await _0xc09d0f[_0xe89df1(0x3a2)]({'options':{..._0x4635df,..._0xb61a7},'args':[_0x41a488],'tdx':_0x1e5387});gracefulExit(_0x26381e);});const workflowCmd=program[a2_0x6964e6(0x432)](a2_0x6964e6(0x2be))[a2_0x6964e6(0x25a)]('wf')['description'](a2_0x6964e6(0x3ea)),wfProjectCmd=workflowCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x22c))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x264)),wfProjectListAction=async(_0x4c8f27,_0x3ea2a9)=>{const _0x551c5f=a2_0x6964e6,_0x28de97=new WorkflowProjectsCommand(),_0x59bed8=program[_0x551c5f(0x34e)](),_0x4c95b7=await createTDXInstance(_0x59bed8),_0xa80a5b=await _0x28de97[_0x551c5f(0x3a2)]({'options':{..._0x59bed8,..._0x3ea2a9},'args':_0x4c8f27?[_0x4c8f27]:[],'tdx':_0x4c95b7});gracefulExit(_0xa80a5b);};wfProjectCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33a))[a2_0x6964e6(0x2ef)]('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x6964e6(0x304)](wfProjectListAction),workflowCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x415))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2ff))[a2_0x6964e6(0x304)](wfProjectListAction);const wfWorkflowListAction=async(_0xe9206,_0x3a7f14)=>{const _0xbb8703=a2_0x6964e6,_0x3c58a7=new WorkflowWorkflowsCommand(),_0x5c5abe=program[_0xbb8703(0x34e)](),_0x256462=await createTDXInstance(_0x5c5abe),_0x48d538=await _0x3c58a7['run']({'options':{..._0x5c5abe,..._0x3a7f14},'args':_0xe9206?[_0xe9206]:[],'tdx':_0x256462});gracefulExit(_0x48d538);};workflowCmd[a2_0x6964e6(0x432)]('workflows\x20[project]')['description']('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')[a2_0x6964e6(0x304)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x306))[a2_0x6964e6(0x2ef)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0x32f7ba,_0x454787)=>{const _0x22e45e=a2_0x6964e6,_0x5060af=new WorkflowSessionsCommand(),_0x5f19e8=program[_0x22e45e(0x34e)](),_0x2a1f=await createTDXInstance(_0x5f19e8),_0x3e40ad=await _0x5060af[_0x22e45e(0x3a2)]({'options':{..._0x5f19e8,..._0x454787},'args':_0x32f7ba?[_0x32f7ba]:[],'tdx':_0x2a1f});gracefulExit(_0x3e40ad);};wfSessionCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x3bb))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x39b))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2bd),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x447),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option'](a2_0x6964e6(0x2f9),a2_0x6964e6(0x3e9))[a2_0x6964e6(0x304)](wfSessionListAction),workflowCmd[a2_0x6964e6(0x432)]('sessions\x20[project]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x296))[a2_0x6964e6(0x429)]('--status\x20<status>',a2_0x6964e6(0x221))[a2_0x6964e6(0x429)]('--from\x20<timestamp>',a2_0x6964e6(0x2f4))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2f9),a2_0x6964e6(0x3e9))[a2_0x6964e6(0x304)](wfSessionListAction);const wfAttemptListAction=async(_0x1e6df5,_0x322ce8)=>{const _0x11f9f0=a2_0x6964e6,_0x18b396=new WorkflowAttemptsCommand(),_0x1b3e61=program[_0x11f9f0(0x34e)](),_0x2d0a49=await createTDXInstance(_0x1b3e61),_0x2c6718=await _0x18b396[_0x11f9f0(0x3a2)]({'options':{..._0x1b3e61,..._0x322ce8},'args':_0x1e6df5?[_0x1e6df5]:[],'tdx':_0x2d0a49});gracefulExit(_0x2c6718);},attemptCmd=workflowCmd[a2_0x6964e6(0x432)]('attempt')['description'](a2_0x6964e6(0x31c))[a2_0x6964e6(0x2c9)](a2_0x6964e6(0x1dd),'Attempt\x20ID')['argument'](a2_0x6964e6(0x20a),'Action:\x20logs,\x20tasks,\x20kill,\x20retry')[a2_0x6964e6(0x2c9)]('[task-name]','Task\x20name\x20for\x20logs\x20action')[a2_0x6964e6(0x429)]('--include-subtasks',a2_0x6964e6(0x39e))[a2_0x6964e6(0x429)](a2_0x6964e6(0x219),a2_0x6964e6(0x236))[a2_0x6964e6(0x429)]('--resume-from\x20<task>',a2_0x6964e6(0x32c))['option'](a2_0x6964e6(0x307),a2_0x6964e6(0x367))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3fc),a2_0x6964e6(0x31a))[a2_0x6964e6(0x429)]('--include-retried','Include\x20retried\x20attempts\x20(for\x20list)')['action'](async(_0x389869,_0x3f67b2,_0x5dd57c,_0x50c2e0)=>{const _0x2123a5=a2_0x6964e6;if(_0x389869===_0x2123a5(0x388)){await wfAttemptListAction(_0x3f67b2,_0x50c2e0);return;}if(!_0x389869){attemptCmd['help']();return;}const _0x19b434=program['opts'](),_0x2e9548=await createTDXInstance(_0x19b434);let _0x4ea8d9=0x0;if(!_0x3f67b2){const _0x55df15=new WorkflowAttemptCommand();_0x4ea8d9=await _0x55df15[_0x2123a5(0x3a2)]({'options':{..._0x19b434,..._0x50c2e0},'args':[_0x389869],'tdx':_0x2e9548});}else{if(_0x3f67b2===_0x2123a5(0x40d)){const _0x29481e=new WorkflowLogsCommand();_0x4ea8d9=await _0x29481e['run']({'options':{..._0x19b434,..._0x50c2e0},'args':_0x5dd57c?[_0x389869,_0x5dd57c]:[_0x389869],'tdx':_0x2e9548});}else{if(_0x3f67b2===_0x2123a5(0x1f1)){const _0x50765c=new WorkflowTasksCommand();_0x4ea8d9=await _0x50765c[_0x2123a5(0x3a2)]({'options':{..._0x19b434,..._0x50c2e0},'args':[_0x389869],'tdx':_0x2e9548});}else{if(_0x3f67b2===_0x2123a5(0x354)){const _0x540682=new WorkflowKillCommand();_0x4ea8d9=await _0x540682[_0x2123a5(0x3a2)]({'options':{..._0x19b434,..._0x50c2e0},'args':[_0x389869],'tdx':_0x2e9548});}else{if(_0x3f67b2===_0x2123a5(0x37e)){const _0x374e37=new WorkflowRetryCommand();_0x4ea8d9=await _0x374e37[_0x2123a5(0x3a2)]({'options':{..._0x19b434,..._0x50c2e0},'args':['attempt:'+_0x389869],'tdx':_0x2e9548});}else console[_0x2123a5(0x2bb)]('Unknown\x20action:\x20'+_0x3f67b2),console[_0x2123a5(0x2bb)](_0x2123a5(0x231)),_0x4ea8d9=0x1;}}}}gracefulExit(_0x4ea8d9);});attemptCmd[a2_0x6964e6(0x432)]('list\x20[project]')['description']('List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2d2),a2_0x6964e6(0x277))['action'](wfAttemptListAction),workflowCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x40e))[a2_0x6964e6(0x2ef)]('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2d2),a2_0x6964e6(0x277))['action'](wfAttemptListAction),workflowCmd[a2_0x6964e6(0x432)]('timeline\x20[project.workflow]')['description'](a2_0x6964e6(0x392))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2cb),'Follow/watch\x20timeline\x20for\x20running\x20attempts')['option'](a2_0x6964e6(0x318),a2_0x6964e6(0x2d9))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2c7),a2_0x6964e6(0x34f))['action'](async(_0x4dd08b,_0x4f2b78)=>{const _0x25c31e=a2_0x6964e6,_0x47bdc0=new WorkflowTimelineCommand(),_0x4fb054=program[_0x25c31e(0x34e)](),_0x15db3a=await createTDXInstance(_0x4fb054),_0x105f7f=await _0x47bdc0['run']({'options':{..._0x4fb054,..._0x4f2b78},'args':_0x4dd08b?[_0x4dd08b]:[],'tdx':_0x15db3a});gracefulExit(_0x105f7f);}),workflowCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2bf))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x241))[a2_0x6964e6(0x429)](a2_0x6964e6(0x453),a2_0x6964e6(0x346))[a2_0x6964e6(0x429)](a2_0x6964e6(0x307),a2_0x6964e6(0x3f6))['action'](async(_0x5eeb45,_0x2627cf)=>{const _0x53a5a9=a2_0x6964e6,_0x1df63a=new WorkflowRetryCommand(),_0x241361=program['opts'](),_0x4c788c=await createTDXInstance(_0x241361),_0x3c1075=await _0x1df63a[_0x53a5a9(0x3a2)]({'options':{..._0x241361,..._0x2627cf},'args':[_0x5eeb45],'tdx':_0x4c788c});gracefulExit(_0x3c1075);}),workflowCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x25d))['description']('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')[a2_0x6964e6(0x429)]('--param\x20<key=value>',a2_0x6964e6(0x1f9),(_0x5d2d8a,_0x42ffe3=[])=>[..._0x42ffe3,_0x5d2d8a],[])['option'](a2_0x6964e6(0x32d),'Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')[a2_0x6964e6(0x304)](async(_0x4041c9,_0x58db9e)=>{const _0x34ce89=a2_0x6964e6,_0x2c1c32=new WorkflowRunCommand(),_0x38c48f=program[_0x34ce89(0x34e)](),_0x4d2451=await createTDXInstance(_0x38c48f),_0x4a9eee=await _0x2c1c32[_0x34ce89(0x3a2)]({'options':{..._0x38c48f,..._0x58db9e},'args':_0x4041c9?[_0x4041c9]:[],'tdx':_0x4d2451});gracefulExit(_0x4a9eee);}),workflowCmd[a2_0x6964e6(0x432)]('download\x20<project-name>\x20[output-dir]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x38d))[a2_0x6964e6(0x429)](a2_0x6964e6(0x274),a2_0x6964e6(0x3e1))[a2_0x6964e6(0x304)](async(_0x4a0eda,_0x4f955d,_0x5763d2)=>{const _0x5a9dca=a2_0x6964e6,_0x3c044b=new WorkflowDownloadCommand(),_0x48a8be=program[_0x5a9dca(0x34e)](),_0x428bd3=await createTDXInstance(_0x48a8be),_0x490bdd=await _0x3c044b['run']({'options':{..._0x48a8be,..._0x5763d2},'args':[_0x4a0eda,_0x4f955d||'.'],'tdx':_0x428bd3});gracefulExit(_0x490bdd);}),workflowCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x312))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x24c))[a2_0x6964e6(0x429)](a2_0x6964e6(0x274),a2_0x6964e6(0x2c0))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1e3),a2_0x6964e6(0x41c))[a2_0x6964e6(0x429)]('-y,\x20--yes',a2_0x6964e6(0x1fe))['action'](async(_0x2cde1c,_0x4828b4,_0x146d6b)=>{const _0x9bd3be=a2_0x6964e6,_0x314afb=new WorkflowPullCommand(),_0x73b174=program['opts'](),_0x2a1ccd=await createTDXInstance(_0x73b174),_0x11195b=await _0x314afb[_0x9bd3be(0x3a2)]({'options':{..._0x73b174,..._0x146d6b},'args':_0x4828b4?[_0x2cde1c,_0x4828b4]:[_0x2cde1c],'tdx':_0x2a1ccd});gracefulExit(_0x11195b);}),workflowCmd[a2_0x6964e6(0x432)]('push\x20[source-dir]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x1df))[a2_0x6964e6(0x429)](a2_0x6964e6(0x274),a2_0x6964e6(0x26e))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1e3),a2_0x6964e6(0x28b))['option'](a2_0x6964e6(0x2d4),a2_0x6964e6(0x41d))[a2_0x6964e6(0x429)](a2_0x6964e6(0x396),a2_0x6964e6(0x1fe))[a2_0x6964e6(0x304)](async(_0x17ebfa,_0x31b98c)=>{const _0x202905=a2_0x6964e6,_0x3ba57b=new WorkflowPushCommand(),_0x24b590=program[_0x202905(0x34e)](),_0x38681d=await createTDXInstance(_0x24b590),_0x55b815=await _0x3ba57b['run']({'options':{..._0x24b590,..._0x31b98c},'args':_0x17ebfa?[_0x17ebfa]:[],'tdx':_0x38681d});gracefulExit(_0x55b815);}),workflowCmd[a2_0x6964e6(0x432)]('upload\x20[project-name-or-dir]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x426))[a2_0x6964e6(0x429)](a2_0x6964e6(0x30f),a2_0x6964e6(0x42d))[a2_0x6964e6(0x429)](a2_0x6964e6(0x274),'Revision\x20name\x20(default:\x20timestamp)')[a2_0x6964e6(0x429)]('--skip-validation','Skip\x20validation\x20of\x20.dig\x20files')[a2_0x6964e6(0x304)](async(_0x31b898,_0x30fd99)=>{const _0x23bb74=new WorkflowUploadCommand(),_0xfb3a62=program['opts'](),_0x45ba3e=await createTDXInstance(_0xfb3a62),_0x17e1d3=await _0x23bb74['run']({'options':{..._0xfb3a62,..._0x30fd99},'args':_0x31b898?[_0x31b898]:[],'tdx':_0x45ba3e});gracefulExit(_0x17e1d3);}),workflowCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x371))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3be))[a2_0x6964e6(0x429)](a2_0x6964e6(0x30f),a2_0x6964e6(0x39a))[a2_0x6964e6(0x429)]('--revision\x20<revision>',a2_0x6964e6(0x26e))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1e3),'Preview\x20without\x20creating\x20the\x20project')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2d4),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x6964e6(0x429)](a2_0x6964e6(0x396),a2_0x6964e6(0x1fe))[a2_0x6964e6(0x304)](async(_0x495789,_0x42d0c7)=>{const _0x55c48b=a2_0x6964e6,_0x4ac915=new WorkflowCloneCommand(),_0x7cd3bd=program[_0x55c48b(0x34e)](),_0x5107c4=await createTDXInstance(_0x7cd3bd),_0x1a65af=await _0x4ac915[_0x55c48b(0x3a2)]({'options':{..._0x7cd3bd,..._0x42d0c7},'args':_0x495789?[_0x495789]:[],'tdx':_0x5107c4});gracefulExit(_0x1a65af);}),workflowCmd[a2_0x6964e6(0x432)]('delete\x20<project-name-or-id>')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2b8))[a2_0x6964e6(0x304)](async(_0x2bbb17,_0x2e746f)=>{const _0x26e95a=a2_0x6964e6,_0x241fdd=new WorkflowDeleteCommand(),_0x3a5499=program['opts'](),_0x1cb612=await createTDXInstance(_0x3a5499),_0xb8be75=await _0x241fdd[_0x26e95a(0x3a2)]({'options':{..._0x3a5499,..._0x2e746f},'args':[_0x2bbb17],'tdx':_0x1cb612});gracefulExit(_0xb8be75);}),workflowCmd[a2_0x6964e6(0x432)]('use\x20[project]')[a2_0x6964e6(0x2ef)]('Set\x20default\x20workflow\x20project\x20for\x20this\x20session')['option'](a2_0x6964e6(0x378),'Clear\x20workflow\x20project\x20context')[a2_0x6964e6(0x304)](async(_0x13b907,_0x388aad)=>{const _0x482a8e=a2_0x6964e6,_0x48383c=new WorkflowUseCommand(),_0x480490=program[_0x482a8e(0x34e)](),_0x36c19a=await createTDXInstance(_0x480490),_0x2b3128=await _0x48383c[_0x482a8e(0x3a2)]({'options':{..._0x480490,..._0x388aad},'args':_0x13b907?[_0x13b907]:[],'tdx':_0x36c19a});gracefulExit(_0x2b3128);});const wfSecretsCmd=workflowCmd[a2_0x6964e6(0x432)]('secrets')['description']('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd['command'](a2_0x6964e6(0x3bb))['description'](a2_0x6964e6(0x3a0))['action'](async(_0x3f33e8,_0x419e6b)=>{const _0xb1a947=a2_0x6964e6,_0x204e7d=new WorkflowSecretsListCommand(),_0x230e58=program[_0xb1a947(0x34e)](),_0x5372c4=await createTDXInstance(_0x230e58),_0xf92d48=await _0x204e7d[_0xb1a947(0x3a2)]({'options':{..._0x230e58,..._0x419e6b},'args':_0x3f33e8?[_0x3f33e8]:[],'tdx':_0x5372c4});gracefulExit(_0xf92d48);}),wfSecretsCmd['command']('set\x20<args...>')['description'](a2_0x6964e6(0x214))[a2_0x6964e6(0x304)](async(_0x4727a8,_0x2a6d27)=>{const _0x4ef4b5=a2_0x6964e6,_0x4da727=new WorkflowSecretsSetCommand(),_0x128bc6=program['opts'](),_0xbc2294=await createTDXInstance(_0x128bc6),_0x5ce261=await _0x4da727[_0x4ef4b5(0x3a2)]({'options':{..._0x128bc6,..._0x2a6d27},'args':_0x4727a8,'tdx':_0xbc2294});gracefulExit(_0x5ce261);}),wfSecretsCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x23a))[a2_0x6964e6(0x2ef)]('Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x396),a2_0x6964e6(0x1fe))[a2_0x6964e6(0x304)](async(_0x5d799d,_0x551cf6)=>{const _0x28f80f=a2_0x6964e6,_0x5506a8=new WorkflowSecretsDeleteCommand(),_0x5f9f30=program[_0x28f80f(0x34e)](),_0x4ffe7b=await createTDXInstance(_0x5f9f30),_0x24b591=await _0x5506a8[_0x28f80f(0x3a2)]({'options':{..._0x5f9f30,..._0x551cf6},'args':_0x5d799d,'tdx':_0x4ffe7b});gracefulExit(_0x24b591);});const jobCmd=program[a2_0x6964e6(0x432)](a2_0x6964e6(0x27d))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x259)),jobListAction=async _0x222d18=>{const _0x184c4a=a2_0x6964e6,_0x14c2ae=new JobListCommand(),_0x296e0c=program[_0x184c4a(0x34e)](),_0x56a755=await createTDXInstance(_0x296e0c),_0xeedbf0=await _0x14c2ae[_0x184c4a(0x3a2)]({'options':{..._0x296e0c,..._0x222d18},'args':[],'tdx':_0x56a755});gracefulExit(_0xeedbf0);};jobCmd['command']('list')[a2_0x6964e6(0x2ef)]('List\x20jobs')[a2_0x6964e6(0x429)]('--status\x20<status>',a2_0x6964e6(0x3bf))[a2_0x6964e6(0x304)](jobListAction),program[a2_0x6964e6(0x432)](a2_0x6964e6(0x43d),{'hidden':!![]})[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2a0))['option'](a2_0x6964e6(0x2bd),a2_0x6964e6(0x3bf))['action'](jobListAction),jobCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x229))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x217))[a2_0x6964e6(0x304)](async(_0x119831,_0x5c067f)=>{const _0x2b1095=new JobShowCommand(),_0x5d9d85=program['opts'](),_0x28a3d6=await createTDXInstance(_0x5d9d85),_0x47bf3e=await _0x2b1095['run']({'options':{..._0x5d9d85,..._0x5c067f},'args':[_0x119831],'tdx':_0x28a3d6});gracefulExit(_0x47bf3e);}),jobCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2de))['description']('Kill\x20a\x20job')[a2_0x6964e6(0x304)](async(_0x306de3,_0x1de646)=>{const _0x4e21e8=a2_0x6964e6,_0x47e0c0=new JobKillCommand(),_0x510083=program['opts'](),_0x4b2cd6=await createTDXInstance(_0x510083),_0x579f0d=await _0x47e0c0[_0x4e21e8(0x3a2)]({'options':{..._0x510083,..._0x1de646},'args':[_0x306de3],'tdx':_0x4b2cd6});gracefulExit(_0x579f0d);}),jobCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2f0))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x290))['option'](a2_0x6964e6(0x2d3),a2_0x6964e6(0x44e),'trino')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2c4),a2_0x6964e6(0x288))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2a1),a2_0x6964e6(0x2b2),a2_0x6964e6(0x282))['option'](a2_0x6964e6(0x2ed),a2_0x6964e6(0x293))[a2_0x6964e6(0x304)](async(_0x1e9439,_0x441132)=>{const _0x2e111e=a2_0x6964e6,_0x2b7237=new JobSubmitCommand(),_0x3cc242=program[_0x2e111e(0x34e)](),_0x48d26a=await createTDXInstance(_0x3cc242),_0xeb3495=await _0x2b7237['run']({'options':{..._0x3cc242,..._0x441132},'args':_0x1e9439?[_0x1e9439]:[],'tdx':_0x48d26a});gracefulExit(_0xeb3495);}),jobCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x372))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x26d))[a2_0x6964e6(0x304)](async(_0x5f27f0,_0x18ef6d)=>{const _0x26b5d3=a2_0x6964e6,_0x553174=new JobResultCommand(),_0x5db0f2=program[_0x26b5d3(0x34e)](),_0x208b37=await createTDXInstance(_0x5db0f2),_0x1a5db8=await _0x553174[_0x26b5d3(0x3a2)]({'options':{..._0x5db0f2,..._0x18ef6d},'args':[_0x5f27f0],'tdx':_0x208b37});gracefulExit(_0x1a5db8);});const scheduleCmd=jobCmd[a2_0x6964e6(0x432)]('schedule')['description'](a2_0x6964e6(0x20e));scheduleCmd['command'](a2_0x6964e6(0x33a))[a2_0x6964e6(0x2ef)]('List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)')['action'](async(_0x45adc2,_0x3e6032)=>{const _0x1b18a8=a2_0x6964e6,_0x1be2e2=new ScheduleListCommand(),_0x3f56db=program[_0x1b18a8(0x34e)](),_0x4f20a6=await createTDXInstance(_0x3f56db),_0x145be2=await _0x1be2e2[_0x1b18a8(0x3a2)]({'options':{..._0x3f56db,..._0x3e6032},'args':_0x45adc2?[_0x45adc2]:[],'tdx':_0x4f20a6});gracefulExit(_0x145be2);}),scheduleCmd[a2_0x6964e6(0x432)]('show\x20<name>')['description'](a2_0x6964e6(0x297))['action'](async(_0x4103aa,_0x3da9a6)=>{const _0x2994e3=a2_0x6964e6,_0x1a8a03=new ScheduleShowCommand(),_0x357d19=program['opts'](),_0x2d5191=await createTDXInstance(_0x357d19),_0x38a148=await _0x1a8a03[_0x2994e3(0x3a2)]({'options':{..._0x357d19,..._0x3da9a6},'args':[_0x4103aa],'tdx':_0x2d5191});gracefulExit(_0x38a148);}),scheduleCmd['command']('create\x20<name>')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x24b))[a2_0x6964e6(0x3c8)](a2_0x6964e6(0x30a),a2_0x6964e6(0x41a))[a2_0x6964e6(0x3c8)](a2_0x6964e6(0x2c4),'Read\x20query\x20from\x20file')[a2_0x6964e6(0x429)](a2_0x6964e6(0x2d6),a2_0x6964e6(0x294),a2_0x6964e6(0x258))['option'](a2_0x6964e6(0x3cd),a2_0x6964e6(0x21a))[a2_0x6964e6(0x429)](a2_0x6964e6(0x224),'Timezone\x20for\x20cron\x20(default:\x20UTC)')['option'](a2_0x6964e6(0x31b),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x6964e6(0x429)](a2_0x6964e6(0x3ee),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x6964e6(0x429)]('--retry-limit\x20<0~32>',a2_0x6964e6(0x270))['option'](a2_0x6964e6(0x3a7),a2_0x6964e6(0x1f5))[a2_0x6964e6(0x429)]('--result\x20<url>',a2_0x6964e6(0x2c6))[a2_0x6964e6(0x304)](async(_0x170657,_0x476849)=>{const _0x417617=a2_0x6964e6,_0x22312d=new ScheduleCreateCommand(),_0x28d065=program[_0x417617(0x34e)](),_0x1131f4=await createTDXInstance(_0x28d065),_0x10c363=await _0x22312d[_0x417617(0x3a2)]({'options':{..._0x28d065,..._0x476849},'args':[_0x170657],'tdx':_0x1131f4});gracefulExit(_0x10c363);}),scheduleCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x368))['description'](a2_0x6964e6(0x408))[a2_0x6964e6(0x429)](a2_0x6964e6(0x30a),a2_0x6964e6(0x41a))['option'](a2_0x6964e6(0x2c4),a2_0x6964e6(0x288))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2d6),'Query\x20type:\x20trino\x20or\x20hive')['option']('--cron\x20<expression>',a2_0x6964e6(0x21a))['option']('--timezone\x20<tz>',a2_0x6964e6(0x3dc))[a2_0x6964e6(0x429)]('--delay\x20<seconds>','Delay\x20in\x20seconds\x20before\x20execution')[a2_0x6964e6(0x429)](a2_0x6964e6(0x3ee),a2_0x6964e6(0x2d8))['option'](a2_0x6964e6(0x442),a2_0x6964e6(0x270))['option'](a2_0x6964e6(0x3a7),a2_0x6964e6(0x1f5))['option'](a2_0x6964e6(0x295),a2_0x6964e6(0x2c6))[a2_0x6964e6(0x304)](async(_0x17f6dc,_0x3936a6)=>{const _0x5d38f4=a2_0x6964e6,_0x551d59=new ScheduleUpdateCommand(),_0x2c663b=program['opts'](),_0x4e8244=await createTDXInstance(_0x2c663b),_0x2900cf=await _0x551d59[_0x5d38f4(0x3a2)]({'options':{..._0x2c663b,..._0x3936a6},'args':[_0x17f6dc],'tdx':_0x4e8244});gracefulExit(_0x2900cf);}),scheduleCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x382))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x43f))[a2_0x6964e6(0x304)](async(_0x1cb4bd,_0x3971c8)=>{const _0x5162bd=a2_0x6964e6,_0x28de47=new ScheduleDeleteCommand(),_0x1e7003=program[_0x5162bd(0x34e)](),_0x1956e3=await createTDXInstance(_0x1e7003),_0x441ebc=await _0x28de47[_0x5162bd(0x3a2)]({'options':{..._0x1e7003,..._0x3971c8},'args':[_0x1cb4bd],'tdx':_0x1956e3});gracefulExit(_0x441ebc);}),scheduleCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33d))['description'](a2_0x6964e6(0x1ec))['option'](a2_0x6964e6(0x2e9),a2_0x6964e6(0x280))[a2_0x6964e6(0x429)]('--num\x20<1-10>','Number\x20of\x20executions\x20(1-10,\x20default:\x201)')[a2_0x6964e6(0x304)](async(_0x43a8fc,_0x3352d2)=>{const _0x11ad14=a2_0x6964e6,_0x51bea5=new ScheduleRunCommand(),_0x5a8638=program['opts'](),_0x26b7de=await createTDXInstance(_0x5a8638),_0x363d8e=await _0x51bea5[_0x11ad14(0x3a2)]({'options':{..._0x5a8638,..._0x3352d2},'args':[_0x43a8fc],'tdx':_0x26b7de});gracefulExit(_0x363d8e);}),scheduleCmd['command'](a2_0x6964e6(0x332))[a2_0x6964e6(0x2ef)]('Show\x20schedule\x20execution\x20history')[a2_0x6964e6(0x429)](a2_0x6964e6(0x311),a2_0x6964e6(0x1e2))[a2_0x6964e6(0x429)](a2_0x6964e6(0x211),a2_0x6964e6(0x256))[a2_0x6964e6(0x304)](async(_0x18ebc5,_0x259492)=>{const _0x3c88ab=a2_0x6964e6,_0x23628e=new ScheduleHistoryCommand(),_0x4a6218=program[_0x3c88ab(0x34e)](),_0x48ee41=await createTDXInstance(_0x4a6218),_0x3624ba=await _0x23628e[_0x3c88ab(0x3a2)]({'options':{..._0x4a6218,..._0x259492},'args':[_0x18ebc5],'tdx':_0x48ee41});gracefulExit(_0x3624ba);});const llmCmd=program['command']('llm')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3eb));llmCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x418))[a2_0x6964e6(0x2ef)]('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')[a2_0x6964e6(0x304)](async(_0x318658,_0x243cfd)=>{const _0x119f24=a2_0x6964e6,_0x45f006=new LLMUseCommand(),_0x3a6841=program[_0x119f24(0x34e)](),_0x88f840=await createTDXInstance(_0x3a6841),_0x17c9a5=await _0x45f006['run']({'options':{..._0x3a6841,..._0x243cfd},'args':[_0x318658],'tdx':_0x88f840});gracefulExit(_0x17c9a5);}),llmCmd['command']('models')['description']('List\x20available\x20LLM\x20models')[a2_0x6964e6(0x304)](async _0x4194c3=>{const _0xa5e43b=a2_0x6964e6,_0x3eee42=new LLMModelsCommand(),_0x5b729d=program[_0xa5e43b(0x34e)](),_0x53361b=await createTDXInstance(_0x5b729d),_0x4bb056=await _0x3eee42[_0xa5e43b(0x3a2)]({'options':{..._0x5b729d,..._0x4194c3},'args':[],'tdx':_0x53361b});gracefulExit(_0x4bb056);});const projectCmd=llmCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x22c))['description'](a2_0x6964e6(0x1f3)),llmProjectListAction=async(_0xfcc29b,_0x1d26cd)=>{const _0x45cf96=a2_0x6964e6,_0x422904=new LLMProjectsCommand(),_0x4c0515=program['opts'](),_0x29a27c=await createTDXInstance(_0x4c0515),_0x48d567=await _0x422904[_0x45cf96(0x3a2)]({'options':{..._0x4c0515,..._0x1d26cd},'args':_0xfcc29b?[_0xfcc29b]:[],'tdx':_0x29a27c});gracefulExit(_0x48d567);};projectCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33a))['description'](a2_0x6964e6(0x2ee))[a2_0x6964e6(0x304)](llmProjectListAction),llmCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x415))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x44a))[a2_0x6964e6(0x304)](llmProjectListAction),projectCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x1e6))['description'](a2_0x6964e6(0x228))['option']('--description\x20<text>',a2_0x6964e6(0x3e7))[a2_0x6964e6(0x304)](async(_0x52985e,_0x359309)=>{const _0x175cd4=a2_0x6964e6,_0x38d4c3=new LLMProjectCreateCommand(),_0xeda1a0=program[_0x175cd4(0x34e)](),_0x3df9b6=await createTDXInstance(_0xeda1a0),_0x5aaac3=await _0x38d4c3['run']({'options':{..._0xeda1a0,..._0x359309},'args':[_0x52985e],'tdx':_0x3df9b6});gracefulExit(_0x5aaac3);}),projectCmd[a2_0x6964e6(0x432)]('delete\x20<name>')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x253))[a2_0x6964e6(0x304)](async(_0xfb3bb3,_0x54d723)=>{const _0x5c8ffd=a2_0x6964e6,_0x31fe2a=new LLMProjectDeleteCommand(),_0x1825a0=program[_0x5c8ffd(0x34e)](),_0x48e6e0=await createTDXInstance(_0x1825a0),_0x507c74=await _0x31fe2a[_0x5c8ffd(0x3a2)]({'options':{..._0x1825a0,..._0x54d723},'args':[_0xfb3bb3],'tdx':_0x48e6e0});gracefulExit(_0x507c74);}),projectCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x35e))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x317))[a2_0x6964e6(0x429)](a2_0x6964e6(0x347),a2_0x6964e6(0x271))[a2_0x6964e6(0x429)]('--dry-run',a2_0x6964e6(0x208))['action'](async(_0x1b49b8,_0xfe7469)=>{const _0x186276=a2_0x6964e6,_0x1a2e75=new LLMProjectBackupCommand(),_0x2101c5=program['opts'](),_0x5a871f=await createTDXInstance(_0x2101c5),_0x46d50a=await _0x1a2e75[_0x186276(0x3a2)]({'options':{..._0x2101c5,..._0xfe7469},'args':[_0x1b49b8],'tdx':_0x5a871f});gracefulExit(_0x46d50a);}),projectCmd['command'](a2_0x6964e6(0x36b))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x32a))[a2_0x6964e6(0x429)](a2_0x6964e6(0x22f),'New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')['option'](a2_0x6964e6(0x1e3),a2_0x6964e6(0x278))[a2_0x6964e6(0x304)](async(_0x44e1ec,_0xf8e345)=>{const _0x2aaa7b=a2_0x6964e6,_0x4ebe9e=new LLMProjectRestoreCommand(),_0x2788d8=program[_0x2aaa7b(0x34e)](),_0x32fbfd=await createTDXInstance(_0x2788d8),_0x42d771=await _0x4ebe9e[_0x2aaa7b(0x3a2)]({'options':{..._0x2788d8,..._0xf8e345},'args':[_0x44e1ec],'tdx':_0x32fbfd});gracefulExit(_0x42d771);});const llmAgentListAction=async(_0x2c7449,_0x5e0d35)=>{const _0x2fce98=a2_0x6964e6,_0x43e53b=new LLMAgentsCommand(),_0x5deb43=program[_0x2fce98(0x34e)](),_0x34e0d4=await createTDXInstance(_0x5deb43),_0x5ebad9=await _0x43e53b['run']({'options':{..._0x5deb43,..._0x5e0d35},'args':_0x2c7449?[_0x2c7449]:[],'tdx':_0x34e0d4});gracefulExit(_0x5ebad9);};llmCmd['command']('agents\x20[pattern]')['description'](a2_0x6964e6(0x22e))[a2_0x6964e6(0x304)](llmAgentListAction),program[a2_0x6964e6(0x432)](a2_0x6964e6(0x3c7))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x22e))[a2_0x6964e6(0x304)](llmAgentListAction),llmCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x420))['description']('Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)')[a2_0x6964e6(0x429)](a2_0x6964e6(0x414),'Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')['action'](async(_0x1a2e40,_0x3f933b)=>{const _0x376394=a2_0x6964e6,_0x505369=new LLMHistoryCommand(),_0x47df5f=program['opts'](),_0x1abe55=await createTDXInstance(_0x47df5f),_0x4cc70b=await _0x505369[_0x376394(0x3a2)]({'options':{..._0x47df5f,..._0x3f933b},'args':_0x1a2e40?[_0x1a2e40]:[],'tdx':_0x1abe55});gracefulExit(_0x4cc70b);});isExperimentalAvailable()&&llmCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x337))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2a3))['action'](async(_0x395ccf,_0xafb320)=>{const _0x1a2083=a2_0x6964e6,_0x95e14c=new LLMLogCommand(),_0x205a47=program['opts'](),_0x279e25=await createTDXInstance(_0x205a47),_0xf30017=await _0x95e14c[_0x1a2083(0x3a2)]({'options':{..._0x205a47,..._0xafb320},'args':[_0x395ccf],'tdx':_0x279e25});gracefulExit(_0xf30017);});program[a2_0x6964e6(0x432)](a2_0x6964e6(0x2a5))['usage']('[options]\x20--\x20[claude-code-args...]')[a2_0x6964e6(0x2ef)]('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')[a2_0x6964e6(0x429)]('-c,\x20--continue',a2_0x6964e6(0x3c1))['option'](a2_0x6964e6(0x1e0),a2_0x6964e6(0x42f))[a2_0x6964e6(0x429)](a2_0x6964e6(0x456),a2_0x6964e6(0x409))[a2_0x6964e6(0x435)]()['allowExcessArguments'](!![])['addHelpText'](a2_0x6964e6(0x2ec),a2_0x6964e6(0x24e))[a2_0x6964e6(0x304)](async(_0x2c1a46,_0x13c439)=>{const _0x2922f3=a2_0x6964e6,_0x1ac1cf=program[_0x2922f3(0x34e)](),_0x25392a=Array[_0x2922f3(0x2ea)](_0x2c1a46)?_0x2c1a46:[];if(_0x25392a[0x0]===_0x2922f3(0x3b2)){const _0x1c2e30=new ClaudeStatuslineCommand(),_0x2ea781=await _0x1c2e30[_0x2922f3(0x3a2)]({'options':{..._0x1ac1cf,..._0x13c439},'args':_0x25392a[_0x2922f3(0x3ff)](0x1),'tdx':null});gracefulExit(_0x2ea781);}if(_0x25392a[0x0]===_0x2922f3(0x446)){const _0x511613=new ClaudeUsageCommand(),_0x32b40e=await _0x511613[_0x2922f3(0x3a2)]({'options':{..._0x1ac1cf,..._0x13c439},'args':_0x25392a[_0x2922f3(0x3ff)](0x1),'tdx':null});gracefulExit(_0x32b40e);}const _0x5a376e=new ClaudeCommand(),_0x563cae=await createTDXInstance(_0x1ac1cf),_0x494c0f=await _0x5a376e['run']({'options':{..._0x1ac1cf,..._0x13c439},'args':_0x25392a,'tdx':_0x563cae});gracefulExit(_0x494c0f);}),program[a2_0x6964e6(0x432)](a2_0x6964e6(0x423))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3f5))[a2_0x6964e6(0x429)](a2_0x6964e6(0x378),a2_0x6964e6(0x3f8))[a2_0x6964e6(0x429)]('--default',a2_0x6964e6(0x38a))[a2_0x6964e6(0x304)](async(_0x324eef,_0x30d8ba,_0x1b2095)=>{const _0x5daa9e=a2_0x6964e6,_0x21ab74=new UseCommand(),_0x823670=program[_0x5daa9e(0x34e)](),_0x207434=[];if(_0x324eef)_0x207434[_0x5daa9e(0x3e8)](_0x324eef);if(_0x30d8ba)_0x207434['push'](_0x30d8ba);const _0x1d9cc2=await _0x21ab74[_0x5daa9e(0x3a2)]({'options':{..._0x823670,..._0x1b2095},'args':_0x207434,'tdx':null});gracefulExit(_0x1d9cc2);}),program[a2_0x6964e6(0x432)](a2_0x6964e6(0x30d))[a2_0x6964e6(0x2ef)]('Show\x20authentication\x20status\x20and\x20current\x20context')[a2_0x6964e6(0x304)](async _0x50fab1=>{const _0x535b6e=a2_0x6964e6,_0x42a900=new StatusCommand(),_0x1e9ffb=program[_0x535b6e(0x34e)](),_0x154222=await createTDXInstance(_0x1e9ffb),_0x3559e6=await _0x42a900['run']({'options':{..._0x1e9ffb,..._0x50fab1},'args':[],'tdx':_0x154222});gracefulExit(_0x3559e6);}),program[a2_0x6964e6(0x432)]('unset\x20<resource>')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3a1))[a2_0x6964e6(0x429)](a2_0x6964e6(0x389),a2_0x6964e6(0x21d))[a2_0x6964e6(0x304)](async(_0xfe7da,_0x19bf54)=>{const _0x426d82=a2_0x6964e6,_0x7f2886=new UnsetCommand(),_0x59b2fa=program['opts'](),_0x12ca9c=await _0x7f2886[_0x426d82(0x3a2)]({'options':{..._0x59b2fa,..._0x19bf54},'args':[_0xfe7da],'tdx':null});gracefulExit(_0x12ca9c);}),program['command'](a2_0x6964e6(0x3b6))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3b4))[a2_0x6964e6(0x429)](a2_0x6964e6(0x414),'Show\x20the\x20most\x20recent\x20chat')['action'](async _0x323cc7=>{const _0x2a018f=a2_0x6964e6,_0x43af71=new ChatsCommand(),_0x3dcfff=program[_0x2a018f(0x34e)](),_0x4e76d6=await createTDXInstance(_0x3dcfff),_0x425aef=await _0x43af71['run']({'options':{..._0x3dcfff,..._0x323cc7},'args':[],'tdx':_0x4e76d6});gracefulExit(_0x425aef);});const authCmd=program[a2_0x6964e6(0x432)](a2_0x6964e6(0x39f))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x305));async function runAuthStatusCommand(_0x38aaf5){const _0x1b51c8=a2_0x6964e6,_0x2e5cbf=new AuthStatusCommand(),_0x2793bc=program[_0x1b51c8(0x34e)](),_0x1da971=await createTDXInstance(_0x2793bc),_0x2f6009=await _0x2e5cbf['run']({'options':{..._0x2793bc,..._0x38aaf5},'args':[],'tdx':_0x1da971});gracefulExit(_0x2f6009);}authCmd['action'](runAuthStatusCommand),authCmd['command']('status')['description'](a2_0x6964e6(0x2c1))['action'](runAuthStatusCommand),authCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x450))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x333))[a2_0x6964e6(0x345)](a2_0x6964e6(0x2ec),a2_0x6964e6(0x416))[a2_0x6964e6(0x304)](async _0xb14091=>{const _0x493ba5=a2_0x6964e6,_0x24ae59=new AuthSetupCommand(),_0x554766=program[_0x493ba5(0x34e)](),_0xdd9085=await createTDXInstance(_0x554766),_0x4edfc0=await _0x24ae59[_0x493ba5(0x3a2)]({'options':{..._0x554766,..._0xb14091},'args':[],'tdx':_0xdd9085});gracefulExit(_0x4edfc0);}),authCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2ce))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3ad))['addHelpText'](a2_0x6964e6(0x2ec),'\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 _0x8cb019=>{const _0x2dec7e=a2_0x6964e6,_0x5599ed=new AuthClearCommand(),_0xd5d7fb=program[_0x2dec7e(0x34e)](),_0x46cfbb=await _0x5599ed[_0x2dec7e(0x3a2)]({'options':{..._0xd5d7fb,..._0x8cb019},'args':[],'tdx':null});gracefulExit(_0x46cfbb);});const userCmd=program['command']('user')['description'](a2_0x6964e6(0x2f8)),userListAction=async _0x183c39=>{const _0x427d18=a2_0x6964e6,_0x309ed7=new UserListCommand(),_0x2268b9=program[_0x427d18(0x34e)](),_0x5d966e=await createTDXInstance(_0x2268b9),_0x443d4e=await _0x309ed7[_0x427d18(0x3a2)]({'options':{..._0x2268b9,..._0x183c39},'args':[],'tdx':_0x5d966e});gracefulExit(_0x443d4e);};userCmd[a2_0x6964e6(0x304)](async _0x197065=>{const _0x539990=a2_0x6964e6,_0x47deaa=new UserCommand(),_0x4c5995=program[_0x539990(0x34e)](),_0x5ca269=await createTDXInstance(_0x4c5995),_0x36abd7=await _0x47deaa[_0x539990(0x3a2)]({'options':{..._0x4c5995,..._0x197065},'args':[],'tdx':_0x5ca269});gracefulExit(_0x36abd7);}),userCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x388))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2da))[a2_0x6964e6(0x304)](userListAction),program['command'](a2_0x6964e6(0x3ae))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x234))[a2_0x6964e6(0x304)](userListAction),program['command'](a2_0x6964e6(0x358))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x327))[a2_0x6964e6(0x304)](async _0x31ac60=>{const _0x17d81a=a2_0x6964e6,_0x6866a2=new ProfilesCommand(),_0x5184c7=program[_0x17d81a(0x34e)](),_0xdc9089=await _0x6866a2[_0x17d81a(0x3a2)]({'options':{..._0x5184c7,..._0x31ac60},'args':[],'tdx':null});gracefulExit(_0xdc9089);});const profileCmd=program[a2_0x6964e6(0x432)]('profile')['description'](a2_0x6964e6(0x1f0));profileCmd[a2_0x6964e6(0x304)](()=>{const _0x252021=a2_0x6964e6;profileCmd[_0x252021(0x2c8)]();});const profileListAction=async _0x37ff3a=>{const _0xd72056=a2_0x6964e6,_0x5baa6f=new ProfilesCommand(),_0x1a4ed2=program[_0xd72056(0x34e)](),_0x8f20af=await _0x5baa6f[_0xd72056(0x3a2)]({'options':{..._0x1a4ed2,..._0x37ff3a},'args':[],'tdx':null});gracefulExit(_0x8f20af);};profileCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x388))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x327))[a2_0x6964e6(0x304)](profileListAction),profileCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x37d))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x243))['addHelpText'](a2_0x6964e6(0x2ec),a2_0x6964e6(0x244))[a2_0x6964e6(0x304)](async(_0x240bdb,_0x1f9357)=>{const _0x29dd51=a2_0x6964e6,_0x1179dd=new ProfileCreateCommand(),_0x330c53=program[_0x29dd51(0x34e)](),_0x5a9714=await _0x1179dd[_0x29dd51(0x3a2)]({'options':{..._0x330c53,..._0x1f9357},'args':_0x240bdb?[_0x240bdb]:[],'tdx':null});gracefulExit(_0x5a9714);}),profileCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x21e))['description']('Remove\x20a\x20profile')[a2_0x6964e6(0x345)](a2_0x6964e6(0x2ec),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a')[a2_0x6964e6(0x304)](async(_0x28198c,_0x2fe194)=>{const _0xef4759=a2_0x6964e6,_0x255b6c=new ProfileRemoveCommand(),_0x35d5a8=program[_0xef4759(0x34e)](),_0x165873=await _0x255b6c[_0xef4759(0x3a2)]({'options':{..._0x35d5a8,..._0x2fe194},'args':[_0x28198c],'tdx':null});gracefulExit(_0x165873);}),profileCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33c))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x255))[a2_0x6964e6(0x345)]('after',a2_0x6964e6(0x1e4))[a2_0x6964e6(0x304)](async(_0x485224,_0x9a3ad)=>{const _0x561f5b=a2_0x6964e6,_0x2b1009=new ProfileSetCommand(),_0x381bd8=program[_0x561f5b(0x34e)](),_0x55a3d9=await _0x2b1009[_0x561f5b(0x3a2)]({'options':{..._0x381bd8,..._0x9a3ad},'args':[_0x485224],'tdx':null});gracefulExit(_0x55a3d9);}),profileCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x370))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x343))['option'](a2_0x6964e6(0x389),a2_0x6964e6(0x38a))[a2_0x6964e6(0x345)]('after',a2_0x6964e6(0x321))[a2_0x6964e6(0x304)](async(_0x52d4d0,_0x402606)=>{const _0x49dcfc=a2_0x6964e6,_0x3700e3=new ProfileUseCommand(),_0x4ac149=program['opts'](),_0x21b7a6=await _0x3700e3[_0x49dcfc(0x3a2)]({'options':{..._0x4ac149,..._0x402606},'args':[_0x52d4d0],'tdx':null});gracefulExit(_0x21b7a6);});const engageCmd=program[a2_0x6964e6(0x432)]('engage')[a2_0x6964e6(0x2ef)]('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x2abbd8=>{return async(_0x4363c9,_0x3d7163)=>{const _0xebc9f6=a2_0x28a3,_0x1b57cf=new _0x2abbd8(),_0x5b6cd7=program[_0xebc9f6(0x34e)](),_0x593fa6=await createTDXInstance(_0x5b6cd7),_0x198379=await _0x1b57cf[_0xebc9f6(0x3a2)]({'options':{..._0x5b6cd7,..._0x3d7163},'args':[_0x4363c9],'tdx':_0x593fa6});gracefulExit(_0x198379);};},createEngageNoArgAction=_0x50a6f5=>{return async _0x388f26=>{const _0x2ceb46=a2_0x28a3,_0x5e5371=new _0x50a6f5(),_0x1fcec7=program[_0x2ceb46(0x34e)](),_0x58f098=await createTDXInstance(_0x1fcec7),_0x319d81=await _0x5e5371[_0x2ceb46(0x3a2)]({'options':{..._0x1fcec7,..._0x388f26},'args':[],'tdx':_0x58f098});gracefulExit(_0x319d81);};},campaignCmd=engageCmd['command'](a2_0x6964e6(0x266))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2df)),campaignListAction=async(_0x1cd927,_0x293b0d)=>{const _0x292910=a2_0x6964e6,_0xd45ad3=new EngageCampaignsCommand(),_0x4eb5c9=program['opts'](),_0xf581d1=await createTDXInstance(_0x4eb5c9),_0x5dfb27=await _0xd45ad3[_0x292910(0x3a2)]({'options':{..._0x4eb5c9,..._0x293b0d},'args':_0x1cd927?[_0x1cd927]:[],'tdx':_0xf581d1});gracefulExit(_0x5dfb27);};campaignCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33a))['description'](a2_0x6964e6(0x390))['option'](a2_0x6964e6(0x2d6),a2_0x6964e6(0x1f2))[a2_0x6964e6(0x429)]('--status\x20<status>',a2_0x6964e6(0x2a6))['option'](a2_0x6964e6(0x28c),'Workspace\x20name')['action'](campaignListAction),engageCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x43e))['description'](a2_0x6964e6(0x27b))[a2_0x6964e6(0x429)]('--type\x20<type>',a2_0x6964e6(0x1f2))['option'](a2_0x6964e6(0x2bd),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x6964e6(0x429)]('--workspace\x20<name>',a2_0x6964e6(0x3d6))[a2_0x6964e6(0x304)](campaignListAction),campaignCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x21f))[a2_0x6964e6(0x2ef)]('Show\x20campaign\x20details')['option']('--workspace\x20<name>',a2_0x6964e6(0x3d6))['option'](a2_0x6964e6(0x2e1),a2_0x6964e6(0x2b0))['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x242))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x26f))['requiredOption'](a2_0x6964e6(0x30f),a2_0x6964e6(0x43a))[a2_0x6964e6(0x3c8)](a2_0x6964e6(0x2d6),'Campaign\x20type\x20(email\x20or\x20push)')['option']('--workspace\x20<name>',a2_0x6964e6(0x289))[a2_0x6964e6(0x429)]('--description\x20<desc>',a2_0x6964e6(0x254))['option'](a2_0x6964e6(0x22a),a2_0x6964e6(0x355))['option'](a2_0x6964e6(0x357),a2_0x6964e6(0x203))['option']('--json-columns\x20<cols>',a2_0x6964e6(0x361))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2f3),a2_0x6964e6(0x279))[a2_0x6964e6(0x429)](a2_0x6964e6(0x224),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x6964e6(0x304)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x6964e6(0x432)]('update\x20<name-or-id>')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x28a))['option'](a2_0x6964e6(0x28c),a2_0x6964e6(0x3d6))[a2_0x6964e6(0x429)](a2_0x6964e6(0x30f),a2_0x6964e6(0x2a9))[a2_0x6964e6(0x429)]('--description\x20<desc>',a2_0x6964e6(0x254))['option'](a2_0x6964e6(0x22a),a2_0x6964e6(0x355))['option'](a2_0x6964e6(0x357),a2_0x6964e6(0x203))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3c2),a2_0x6964e6(0x361))['option'](a2_0x6964e6(0x2f3),a2_0x6964e6(0x279))['option']('--timezone\x20<tz>',a2_0x6964e6(0x2ac))[a2_0x6964e6(0x304)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x3a3))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x42a))[a2_0x6964e6(0x429)](a2_0x6964e6(0x28c),a2_0x6964e6(0x3d6))['option'](a2_0x6964e6(0x34a),'Skip\x20confirmation\x20prompt')['action'](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command'](a2_0x6964e6(0x3cc))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3b7))[a2_0x6964e6(0x429)](a2_0x6964e6(0x28c),a2_0x6964e6(0x3d6))[a2_0x6964e6(0x304)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x3de))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x35b))[a2_0x6964e6(0x429)](a2_0x6964e6(0x28c),a2_0x6964e6(0x3d6))[a2_0x6964e6(0x304)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x204))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x20f))[a2_0x6964e6(0x429)](a2_0x6964e6(0x28c),a2_0x6964e6(0x3d6))[a2_0x6964e6(0x304)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x359))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x31d))[a2_0x6964e6(0x429)](a2_0x6964e6(0x28c),a2_0x6964e6(0x3d6))[a2_0x6964e6(0x304)](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x3d0))[a2_0x6964e6(0x2ef)]('Email\x20template\x20management'),templateListAction=async(_0x511f35,_0x5cf573)=>{const _0xec5a79=a2_0x6964e6,_0x44ce95=new EngageTemplatesCommand(),_0x45dcbe=program[_0xec5a79(0x34e)](),_0x20ca33=await createTDXInstance(_0x45dcbe),_0x9fbc19=await _0x44ce95['run']({'options':{..._0x45dcbe,..._0x5cf573},'args':_0x511f35?[_0x511f35]:[],'tdx':_0x20ca33});gracefulExit(_0x9fbc19);};templateCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33a))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x441))[a2_0x6964e6(0x429)](a2_0x6964e6(0x28c),a2_0x6964e6(0x3d6))[a2_0x6964e6(0x304)](templateListAction),engageCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x29a))['description'](a2_0x6964e6(0x3a5))['option'](a2_0x6964e6(0x28c),a2_0x6964e6(0x3d6))[a2_0x6964e6(0x304)](templateListAction),templateCmd['command'](a2_0x6964e6(0x21f))[a2_0x6964e6(0x2ef)]('Show\x20email\x20template\x20details')[a2_0x6964e6(0x429)](a2_0x6964e6(0x28c),'Workspace\x20name')[a2_0x6964e6(0x429)]('--full','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x6964e6(0x304)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x242))['description'](a2_0x6964e6(0x42c))[a2_0x6964e6(0x3c8)]('--name\x20<name>',a2_0x6964e6(0x310))[a2_0x6964e6(0x3c8)]('--subject\x20<subject>','Email\x20subject\x20template')[a2_0x6964e6(0x3c8)]('--html\x20<html>',a2_0x6964e6(0x3ec))[a2_0x6964e6(0x429)]('--workspace\x20<name>',a2_0x6964e6(0x289))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3c0),'Plaintext\x20template\x20content')[a2_0x6964e6(0x429)]('--editor-type\x20<type>',a2_0x6964e6(0x439),_0x8b479d=>{const _0x159cae=a2_0x6964e6;if(![_0x159cae(0x38e),'grapesjs'][_0x159cae(0x2dd)](_0x8b479d))throw new SDKError(ErrorCode[_0x159cae(0x417)],_0x159cae(0x425)+_0x8b479d+_0x159cae(0x444));return _0x8b479d;})[a2_0x6964e6(0x304)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd['command'](a2_0x6964e6(0x3cf))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x445))[a2_0x6964e6(0x429)](a2_0x6964e6(0x28c),a2_0x6964e6(0x3d6))['option'](a2_0x6964e6(0x30f),a2_0x6964e6(0x292))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3ef),a2_0x6964e6(0x1db))[a2_0x6964e6(0x429)](a2_0x6964e6(0x226),a2_0x6964e6(0x3ec))[a2_0x6964e6(0x429)](a2_0x6964e6(0x3c0),a2_0x6964e6(0x283))[a2_0x6964e6(0x304)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd['command'](a2_0x6964e6(0x3a3))['description'](a2_0x6964e6(0x1ee))['option']('--workspace\x20<name>',a2_0x6964e6(0x3d6))[a2_0x6964e6(0x429)]('--yes',a2_0x6964e6(0x1fe))[a2_0x6964e6(0x304)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x405))[a2_0x6964e6(0x2ef)]('Workspace\x20management'),workspaceListAction=async(_0x13a4cb,_0x9dd965)=>{const _0x399ab4=a2_0x6964e6,_0x2bedfd=new EngageWorkspacesCommand(),_0x2dbce6=program['opts'](),_0x55829e=await createTDXInstance(_0x2dbce6),_0xe02265=await _0x2bedfd[_0x399ab4(0x3a2)]({'options':{..._0x2dbce6,..._0x9dd965},'args':_0x13a4cb?[_0x13a4cb]:[],'tdx':_0x55829e});gracefulExit(_0xe02265);};workspaceCmd['command'](a2_0x6964e6(0x33a))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3c4))[a2_0x6964e6(0x304)](workspaceListAction),engageCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x206))[a2_0x6964e6(0x2ef)]('List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)')[a2_0x6964e6(0x304)](workspaceListAction),workspaceCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x21f))[a2_0x6964e6(0x2ef)]('Show\x20workspace\x20details')['option'](a2_0x6964e6(0x2e1),a2_0x6964e6(0x2b0))[a2_0x6964e6(0x304)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x242))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x320))[a2_0x6964e6(0x3c8)](a2_0x6964e6(0x30f),a2_0x6964e6(0x3d6))['option'](a2_0x6964e6(0x399),a2_0x6964e6(0x363))[a2_0x6964e6(0x304)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x3cf))['description']('Update\x20a\x20workspace')[a2_0x6964e6(0x429)]('--name\x20<name>',a2_0x6964e6(0x2ab))[a2_0x6964e6(0x429)](a2_0x6964e6(0x399),a2_0x6964e6(0x363))[a2_0x6964e6(0x304)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd['command']('delete\x20<name-or-id>')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x427))[a2_0x6964e6(0x429)](a2_0x6964e6(0x34a),'Skip\x20confirmation\x20prompt')[a2_0x6964e6(0x304)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x6964e6(0x432)]('use\x20<name>')['description'](a2_0x6964e6(0x3d1))[a2_0x6964e6(0x304)](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program['command'](a2_0x6964e6(0x2f5))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x1d6)),connectionListAction=async _0x4c0721=>{const _0x86c7d5=a2_0x6964e6,_0x5402dc=new ConnectionListCommand(),_0x33f0de=program['opts'](),_0x2d129b=await createTDXInstance(_0x33f0de),_0x508a08=await _0x5402dc[_0x86c7d5(0x3a2)]({'options':{..._0x33f0de,..._0x4c0721},'args':[],'tdx':_0x2d129b});gracefulExit(_0x508a08);};connectionCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x388))['description'](a2_0x6964e6(0x2b3))[a2_0x6964e6(0x304)](connectionListAction),program[a2_0x6964e6(0x432)]('connections',{'hidden':!![]})[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2e5))[a2_0x6964e6(0x304)](connectionListAction),connectionCmd['command'](a2_0x6964e6(0x325))[a2_0x6964e6(0x2ef)]('Show\x20connection\x20details\x20by\x20name')[a2_0x6964e6(0x304)](async(_0x400791,_0x2702ac)=>{const _0x5ee2fd=a2_0x6964e6,_0x21505f=new ConnectionShowCommand(),_0x392278=program[_0x5ee2fd(0x34e)](),_0x4a63d6=await createTDXInstance(_0x392278),_0x134c83=await _0x21505f[_0x5ee2fd(0x3a2)]({'options':{..._0x392278,..._0x2702ac},'args':[_0x400791],'tdx':_0x4a63d6});gracefulExit(_0x134c83);}),connectionCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2fe))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x23c))['action'](async(_0x42a76c,_0x1c5811)=>{const _0x2929c4=a2_0x6964e6,_0x722cd9=new ConnectionSchemaCommand(),_0x1b0b80=program[_0x2929c4(0x34e)](),_0x5b7ef5=await createTDXInstance(_0x1b0b80),_0x263cb4=await _0x722cd9[_0x2929c4(0x3a2)]({'options':{..._0x1b0b80,..._0x1c5811},'args':[_0x42a76c],'tdx':_0x5b7ef5});gracefulExit(_0x263cb4);}),connectionCmd['command'](a2_0x6964e6(0x28f))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x3d3))[a2_0x6964e6(0x304)](async _0x4ff818=>{const _0x3807a6=a2_0x6964e6,_0x55cc37=new ConnectionTypesCommand(),_0x40ffc2=program[_0x3807a6(0x34e)](),_0x3b2061=await createTDXInstance(_0x40ffc2),_0x1c5bfb=await _0x55cc37['run']({'options':{..._0x40ffc2,..._0x4ff818},'args':[],'tdx':_0x3b2061});gracefulExit(_0x1c5bfb);}),connectionCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x32f))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x430))[a2_0x6964e6(0x304)](async(_0x60ef1b,_0x66252d)=>{const _0x4a4123=a2_0x6964e6,_0x59e990=new ConnectionSettingsCommand(),_0x479a49=program[_0x4a4123(0x34e)](),_0x26eba2=await createTDXInstance(_0x479a49),_0xa63f62=await _0x59e990['run']({'options':{..._0x479a49,..._0x66252d},'args':[_0x60ef1b],'tdx':_0x26eba2});gracefulExit(_0xa63f62);});const journeyCmd=program[a2_0x6964e6(0x432)]('journey')['description'](a2_0x6964e6(0x375)),journeyListAction=async(_0x4661a5,_0x1f48ac)=>{const _0x5cc5bc=a2_0x6964e6,_0x1f6050=new JourneyListCommand(),_0x1b0709=program[_0x5cc5bc(0x34e)](),_0x55a564=await createTDXInstance(_0x1b0709),_0x292522=await _0x1f6050[_0x5cc5bc(0x3a2)]({'options':{..._0x1b0709,..._0x1f48ac},'args':_0x4661a5?[_0x4661a5]:[],'tdx':_0x55a564});gracefulExit(_0x292522);};journeyCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x33a))[a2_0x6964e6(0x2ef)]('List\x20journeys\x20in\x20current\x20context')['action'](journeyListAction),journeyCmd['command'](a2_0x6964e6(0x1eb))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x335))[a2_0x6964e6(0x429)](a2_0x6964e6(0x252),'Open\x20journey\x20in\x20web\x20browser')[a2_0x6964e6(0x429)](a2_0x6964e6(0x40c),a2_0x6964e6(0x35c))[a2_0x6964e6(0x304)](async(_0x29d378,_0x5079aa)=>{const _0xa6c254=a2_0x6964e6,_0x3fc2e2=new JourneyViewCommand(),_0x8a702b=program[_0xa6c254(0x34e)](),_0x4f4cdf=await createTDXInstance(_0x8a702b),_0x297736=await _0x3fc2e2['run']({'options':{..._0x8a702b,..._0x5079aa},'args':[_0x29d378],'tdx':_0x4f4cdf});gracefulExit(_0x297736);}),journeyCmd['command'](a2_0x6964e6(0x24d))['description']('Show\x20journey\x20statistics')[a2_0x6964e6(0x429)]('--stage\x20<name>',a2_0x6964e6(0x377))['action'](async(_0x3948ab,_0x5cf47c)=>{const _0x10cf58=a2_0x6964e6,_0x145da6=new JourneyStatsCommand(),_0x307e9a=program[_0x10cf58(0x34e)](),_0x41d112=await createTDXInstance(_0x307e9a),_0x435703=await _0x145da6[_0x10cf58(0x3a2)]({'options':{..._0x307e9a,..._0x5cf47c},'args':[_0x3948ab],'tdx':_0x41d112});gracefulExit(_0x435703);}),journeyCmd[a2_0x6964e6(0x432)]('pause\x20<name-or-path>')[a2_0x6964e6(0x2ef)]('Pause\x20a\x20running\x20journey')[a2_0x6964e6(0x304)](async(_0x58e16,_0x3a4941)=>{const _0x1a4efe=a2_0x6964e6,_0x2e2e6b=new JourneyPauseCommand(),_0x1280ca=program[_0x1a4efe(0x34e)](),_0x4b9012=await createTDXInstance(_0x1280ca),_0x5541e8=await _0x2e2e6b[_0x1a4efe(0x3a2)]({'options':{..._0x1280ca,..._0x3a4941},'args':[_0x58e16],'tdx':_0x4b9012});gracefulExit(_0x5541e8);}),journeyCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x316))['description']('Resume\x20a\x20paused\x20journey')[a2_0x6964e6(0x304)](async(_0x271237,_0x4ad77e)=>{const _0x1d1032=a2_0x6964e6,_0x429b4a=new JourneyResumeCommand(),_0x34efb1=program[_0x1d1032(0x34e)](),_0x3b1311=await createTDXInstance(_0x34efb1),_0x197417=await _0x429b4a['run']({'options':{..._0x34efb1,..._0x4ad77e},'args':[_0x271237],'tdx':_0x3b1311});gracefulExit(_0x197417);}),journeyCmd['command']('pull\x20[name]')[a2_0x6964e6(0x2ef)]('Export\x20journey(s)\x20as\x20YAML\x20files')['option'](a2_0x6964e6(0x396),a2_0x6964e6(0x1fe))[a2_0x6964e6(0x429)](a2_0x6964e6(0x1e3),a2_0x6964e6(0x3c5))[a2_0x6964e6(0x304)](async(_0x182f38,_0x457ec6)=>{const _0x1a81d3=a2_0x6964e6,_0x9d148=new JourneyPullCommand(),_0x156e8a=program[_0x1a81d3(0x34e)](),_0x2049fd=await createTDXInstance(_0x156e8a),_0xfa51a6=await _0x9d148['run']({'options':{..._0x156e8a,..._0x457ec6},'args':_0x182f38?[_0x182f38]:[],'tdx':_0x2049fd});gracefulExit(_0xfa51a6);}),journeyCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x2f2))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x300))['action'](async(_0x5de928,_0x4d8127)=>{const _0x157a80=a2_0x6964e6,_0x5ec5d3=new JourneyPushCommand(),_0x50a3fb=program[_0x157a80(0x34e)](),_0x1d3ceb=await createTDXInstance(_0x50a3fb),_0x190c7a=await _0x5ec5d3[_0x157a80(0x3a2)]({'options':{..._0x50a3fb,..._0x4d8127},'args':_0x5de928?[_0x5de928]:[],'tdx':_0x1d3ceb});gracefulExit(_0x190c7a);}),journeyCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x43b))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2c2))[a2_0x6964e6(0x304)](async(_0x5b7261,_0x5b360f)=>{const _0xfeec10=a2_0x6964e6,_0x4b6a4c=new JourneyValidateCommand(),_0x3184a9=program['opts'](),_0x2e84b9=await createTDXInstance(_0x3184a9),_0x53d3cf=await _0x4b6a4c[_0xfeec10(0x3a2)]({'options':{..._0x3184a9,..._0x5b360f},'args':_0x5b7261?[_0x5b7261]:[],'tdx':_0x2e84b9});gracefulExit(_0x53d3cf);}),program['command'](a2_0x6964e6(0x3fb))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2ca))[a2_0x6964e6(0x304)](journeyListAction);const agentSyncCmd=program[a2_0x6964e6(0x432)](a2_0x6964e6(0x3ab))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x386));agentSyncCmd[a2_0x6964e6(0x432)]('pull\x20[project]\x20[agent-name]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x400))['option']('-o,\x20--output\x20<dir>',a2_0x6964e6(0x24a))[a2_0x6964e6(0x429)](a2_0x6964e6(0x454),a2_0x6964e6(0x3cb))[a2_0x6964e6(0x304)](async(_0x5e72cf,_0x4477b2,_0x4f2da2)=>{const _0x34a908=a2_0x6964e6,_0x36482f=new AgentPullCommand(),_0x35ee41=program[_0x34a908(0x34e)](),_0x223739=await createTDXInstance(_0x35ee41),_0x592590=[];if(_0x5e72cf)_0x592590['push'](_0x5e72cf);if(_0x4477b2)_0x592590[_0x34a908(0x3e8)](_0x4477b2);const _0x5229d2=await _0x36482f[_0x34a908(0x3a2)]({'options':{..._0x35ee41,..._0x4f2da2},'args':_0x592590,'tdx':_0x223739});gracefulExit(_0x5229d2);}),agentSyncCmd[a2_0x6964e6(0x432)]('push\x20[path]')[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x281))[a2_0x6964e6(0x429)](a2_0x6964e6(0x454),a2_0x6964e6(0x3a9))[a2_0x6964e6(0x304)](async(_0x5248ba,_0x3b16d5)=>{const _0x16409f=a2_0x6964e6,_0x570495=new AgentPushCommand(),_0x125d0c=program[_0x16409f(0x34e)](),_0x23b0ec=await createTDXInstance(_0x125d0c),_0x12d65d=await _0x570495[_0x16409f(0x3a2)]({'options':{..._0x125d0c,..._0x3b16d5},'args':_0x5248ba?[_0x5248ba]:[],'tdx':_0x23b0ec});gracefulExit(_0x12d65d);}),agentSyncCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x273))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x23d))[a2_0x6964e6(0x429)]('-n,\x20--name\x20<name>','Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x6964e6(0x304)](async(_0x30cb73,_0x3f877b)=>{const _0x465225=a2_0x6964e6,_0x55c4ed=new AgentCloneCommand(),_0x1995a3=program[_0x465225(0x34e)](),_0x20a62b=await createTDXInstance(_0x1995a3),_0x9fc7ff=await _0x55c4ed['run']({'options':{..._0x1995a3,..._0x3f877b},'args':_0x30cb73?[_0x30cb73]:[],'tdx':_0x20a62b});gracefulExit(_0x9fc7ff);}),agentSyncCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x29d))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x32e))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2c3),'Run\x20specific\x20tests\x20(comma-separated)')['option'](a2_0x6964e6(0x28e),a2_0x6964e6(0x2bc))[a2_0x6964e6(0x429)]('--dry-run',a2_0x6964e6(0x434))[a2_0x6964e6(0x429)](a2_0x6964e6(0x322),a2_0x6964e6(0x269))[a2_0x6964e6(0x429)]('--reeval',a2_0x6964e6(0x356))['action'](async(_0x1d113c,_0x17a512)=>{const _0x41dece=a2_0x6964e6,_0x2648e8=new AgentTestCommand(),_0x29a66b=program[_0x41dece(0x34e)](),_0x1fbc16=await createTDXInstance(_0x29a66b),_0x5259d9=await _0x2648e8[_0x41dece(0x3a2)]({'options':{..._0x29a66b,..._0x17a512},'args':_0x1d113c?[_0x1d113c]:[],'tdx':_0x1fbc16});gracefulExit(_0x5259d9);}),agentSyncCmd['command'](a2_0x6964e6(0x33a))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x350))['action'](llmAgentListAction),agentSyncCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x1e8))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x38b))[a2_0x6964e6(0x304)](async(_0x52bdc5,_0x52a0d9)=>{const _0x596930=a2_0x6964e6,_0x72ffd2=new LLMAgentShowCommand(),_0x18399f=program[_0x596930(0x34e)](),_0x314de9=await createTDXInstance(_0x18399f),_0x426aae=await _0x72ffd2[_0x596930(0x3a2)]({'options':{..._0x18399f,..._0x52a0d9},'args':[_0x52bdc5],'tdx':_0x314de9});gracefulExit(_0x426aae);}),agentSyncCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x1e6))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x2b5))[a2_0x6964e6(0x429)](a2_0x6964e6(0x384),a2_0x6964e6(0x1e1))[a2_0x6964e6(0x429)]('--model\x20<name>','Model\x20type\x20(default:\x20claude-4.5-sonnet)',a2_0x6964e6(0x433))[a2_0x6964e6(0x429)](a2_0x6964e6(0x340),a2_0x6964e6(0x3e6))[a2_0x6964e6(0x429)]('--max-tool-iterations\x20<n>',a2_0x6964e6(0x2e2),'4')[a2_0x6964e6(0x429)]('--temperature\x20<n>',a2_0x6964e6(0x218),a2_0x6964e6(0x3ed))['action'](async(_0x5a7c06,_0x422163)=>{const _0xbbaa67=a2_0x6964e6,_0x25b318=new LLMAgentCreateCommand(),_0x691025=program[_0xbbaa67(0x34e)](),_0x21c7b7=await createTDXInstance(_0x691025),_0x39ec5d=await _0x25b318[_0xbbaa67(0x3a2)]({'options':{..._0x691025,..._0x422163},'args':[_0x5a7c06],'tdx':_0x21c7b7});gracefulExit(_0x39ec5d);}),agentSyncCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x331))['description']('Update\x20an\x20existing\x20agent')[a2_0x6964e6(0x429)](a2_0x6964e6(0x299),a2_0x6964e6(0x33e))[a2_0x6964e6(0x429)](a2_0x6964e6(0x2f1),a2_0x6964e6(0x36a))[a2_0x6964e6(0x429)](a2_0x6964e6(0x213),'Agent\x20description')[a2_0x6964e6(0x429)]('--starter-message\x20<text>',a2_0x6964e6(0x3e6))[a2_0x6964e6(0x304)](async(_0xa217e1,_0x387412)=>{const _0x3873f0=a2_0x6964e6,_0x4a6e50=new LLMAgentUpdateCommand(),_0x3efda4=program[_0x3873f0(0x34e)](),_0x1c3e32=await createTDXInstance(_0x3efda4),_0x42ed6e=await _0x4a6e50['run']({'options':{..._0x3efda4,..._0x387412},'args':[_0xa217e1],'tdx':_0x1c3e32});gracefulExit(_0x42ed6e);}),agentSyncCmd[a2_0x6964e6(0x432)](a2_0x6964e6(0x284))[a2_0x6964e6(0x2ef)](a2_0x6964e6(0x451))['action'](async(_0x54272d,_0x68b15a)=>{const _0x1994fc=a2_0x6964e6,_0x1f7443=new LLMAgentDeleteCommand(),_0x1b2015=program[_0x1994fc(0x34e)](),_0x362add=await createTDXInstance(_0x1b2015),_0x31b6df=await _0x1f7443['run']({'options':{..._0x1b2015,..._0x68b15a},'args':[_0x54272d],'tdx':_0x362add});gracefulExit(_0x31b6df);}),program[a2_0x6964e6(0x432)](a2_0x6964e6(0x407),{'hidden':!![]})[a2_0x6964e6(0x304)](()=>{const _0x29e9f9=a2_0x6964e6;function _0x29f545(_0x498ea6,_0x1af647){const _0x497fff=a2_0x28a3,_0xb5468a=[];for(const _0x1bde32 of _0x498ea6[_0x497fff(0x2d5)]){if(_0x1bde32[_0x497fff(0x34d)])continue;const _0x1dc668=_0x1af647?_0x1af647+'\x20'+_0x1bde32[_0x497fff(0x395)]():_0x1bde32[_0x497fff(0x395)](),_0x44b23d=_0x1dc668['split']('\x20')[0x0],_0x8f8072=COMMAND_CATEGORIES[_0x497fff(0x1dc)](_0xb572ba=>_0xb572ba[_0x497fff(0x2d5)][_0x497fff(0x2dd)](_0x44b23d)),_0xb77575=_0x8f8072?.[_0x497fff(0x395)]??'';if(_0x1bde32['commands'][_0x497fff(0x422)]>0x0)_0xb5468a['push'](..._0x29f545(_0x1bde32,_0x1dc668));else{const _0x15f387=(_0x1bde32[_0x497fff(0x366)]||[])[_0x497fff(0x20c)](_0x2d13ad=>{const _0x5e53aa=_0x497fff,_0x1aeef2=_0x2d13ad[_0x5e53aa(0x246)]?_0x2d13ad[_0x5e53aa(0x395)]()+_0x5e53aa(0x2ae):_0x2d13ad[_0x5e53aa(0x395)]();return _0x2d13ad[_0x5e53aa(0x2e8)]?'<'+_0x1aeef2+'>':'['+_0x1aeef2+']';})[_0x497fff(0x385)]('\x20'),_0x519a2b=_0x1bde32[_0x497fff(0x247)]['filter'](_0x5cfa6d=>!_0x5cfa6d[_0x497fff(0x3ba)]&&_0x5cfa6d[_0x497fff(0x40b)]!=='--help')[_0x497fff(0x20c)](_0x406c17=>({'flags':_0x406c17[_0x497fff(0x240)],'description':_0x406c17['description']}));_0xb5468a['push']({'name':_0x1dc668,'description':_0x1bde32['description'](),'group':_0xb77575,'usage':_0x15f387,'options':_0x519a2b});}}return _0xb5468a;}console[_0x29e9f9(0x3df)](JSON[_0x29e9f9(0x26a)](_0x29f545(program,''))),process['exit'](0x0);});export{program};export function runCLI(){const _0x239c3d=a2_0x6964e6,_0x29252f=!process[_0x239c3d(0x3d5)][_0x239c3d(0x3ff)](0x2)[_0x239c3d(0x422)];showBriefHelp=_0x29252f,program[_0x239c3d(0x24f)](process[_0x239c3d(0x3d5)]);_0x29252f&&program[_0x239c3d(0x2c8)]();if(process[_0x239c3d(0x3e4)][_0x239c3d(0x438)]&&process[_0x239c3d(0x3d5)][_0x239c3d(0x422)]>0x2&&!isDevVersion()){const _0x3e8005=loadReleaseChannel();checkForUpdate(currentVersion,_0x3e8005)['then'](_0x2e6761=>{_0x2e6761&&displayUpdateNotification(_0x2e6761);})[_0x239c3d(0x3b8)](()=>{});}}