@treasuredata/tdx 2026.3.54 → 2026.4.0

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 (260) 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.d.ts.map +1 -1
  9. package/dist/commands/agent-command.js +1 -1
  10. package/dist/commands/agent-command.js.map +1 -1
  11. package/dist/commands/agent-test-command.js +1 -1
  12. package/dist/commands/api-command.js +1 -1
  13. package/dist/commands/auth-command.js +1 -1
  14. package/dist/commands/cas-command.js +1 -1
  15. package/dist/commands/cas-segment-command.js +1 -1
  16. package/dist/commands/chat-command.js +1 -1
  17. package/dist/commands/claude-command.js +1 -1
  18. package/dist/commands/claude-statusline-command.js +1 -1
  19. package/dist/commands/claude-usage-command.js +1 -1
  20. package/dist/commands/command.js +1 -1
  21. package/dist/commands/connection-command.js +1 -1
  22. package/dist/commands/databases.js +1 -1
  23. package/dist/commands/delivery-command.js +1 -1
  24. package/dist/commands/describe.js +1 -1
  25. package/dist/commands/engage-campaign-pull-command.js +1 -1
  26. package/dist/commands/engage-campaign-push-command.js +1 -1
  27. package/dist/commands/engage-campaign-validate-command.js +1 -1
  28. package/dist/commands/engage-command.js +1 -1
  29. package/dist/commands/engage-template-pull-command.js +1 -1
  30. package/dist/commands/engage-template-push-command.js +1 -1
  31. package/dist/commands/engage-template-validate-command.js +1 -1
  32. package/dist/commands/job-command.js +1 -1
  33. package/dist/commands/journey-command.js +1 -1
  34. package/dist/commands/journey-validate-command.js +1 -1
  35. package/dist/commands/llm-command.js +1 -1
  36. package/dist/commands/mcp-command.js +1 -1
  37. package/dist/commands/parent-segment-command.js +1 -1
  38. package/dist/commands/policy-command.js +1 -1
  39. package/dist/commands/profile-command.js +1 -1
  40. package/dist/commands/profiles-command.js +1 -1
  41. package/dist/commands/query-command.js +1 -1
  42. package/dist/commands/schedule-command.js +1 -1
  43. package/dist/commands/segment-command.js +1 -1
  44. package/dist/commands/segment-create-command.js +1 -1
  45. package/dist/commands/segment-fields-command.js +1 -1
  46. package/dist/commands/segment-pull-command.js +1 -1
  47. package/dist/commands/segment-push-command.js +1 -1
  48. package/dist/commands/segment-update-command.js +1 -1
  49. package/dist/commands/segment-use-command.js +1 -1
  50. package/dist/commands/segment-validate-command.js +1 -1
  51. package/dist/commands/segments.js +1 -1
  52. package/dist/commands/show.js +1 -1
  53. package/dist/commands/status-command.js +1 -1
  54. package/dist/commands/tables.js +1 -1
  55. package/dist/commands/unset-command.js +1 -1
  56. package/dist/commands/upgrade-command.js +1 -1
  57. package/dist/commands/use-command.js +1 -1
  58. package/dist/commands/user-command.js +1 -1
  59. package/dist/commands/work-command.js +1 -1
  60. package/dist/commands/workflow-command.d.ts +27 -0
  61. package/dist/commands/workflow-command.d.ts.map +1 -1
  62. package/dist/commands/workflow-command.js +1 -1
  63. package/dist/commands/workflow-command.js.map +1 -1
  64. package/dist/core/auth.js +1 -1
  65. package/dist/core/command-output.js +1 -1
  66. package/dist/core/config.js +1 -1
  67. package/dist/core/connection-cache.js +1 -1
  68. package/dist/core/constants.js +1 -1
  69. package/dist/core/credential-cache.js +1 -1
  70. package/dist/core/global-context.js +1 -1
  71. package/dist/core/keychain.js +1 -1
  72. package/dist/core/oauth-keychain.js +1 -1
  73. package/dist/core/oauth.js +1 -1
  74. package/dist/core/profile.js +1 -1
  75. package/dist/core/project-config.js +1 -1
  76. package/dist/core/session.js +1 -1
  77. package/dist/core/user-cache.js +1 -1
  78. package/dist/core/version.js +1 -1
  79. package/dist/index.js +1 -1
  80. package/dist/mcp/server.js +1 -1
  81. package/dist/mcp/tools/index.js +1 -1
  82. package/dist/mcp/tools/tdx-run.js +1 -1
  83. package/dist/mcp/tools/tdx-search.js +1 -1
  84. package/dist/mcp/tools/work-create-item.js +1 -1
  85. package/dist/mcp/utils.js +1 -1
  86. package/dist/proxy/claude-usage-tracker.js +1 -1
  87. package/dist/proxy/passthrough-server.js +1 -1
  88. package/dist/proxy/sse-usage-parser.js +1 -1
  89. package/dist/sdk/agent/agent-config.d.ts +10 -0
  90. package/dist/sdk/agent/agent-config.d.ts.map +1 -1
  91. package/dist/sdk/agent/agent-config.js +1 -1
  92. package/dist/sdk/agent/agent-config.js.map +1 -1
  93. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  94. package/dist/sdk/agent/agent-yaml.d.ts +61 -3
  95. package/dist/sdk/agent/agent-yaml.d.ts.map +1 -1
  96. package/dist/sdk/agent/agent-yaml.js +1 -1
  97. package/dist/sdk/agent/agent-yaml.js.map +1 -1
  98. package/dist/sdk/agent/test/evaluator.js +1 -1
  99. package/dist/sdk/agent/test/executor.js +1 -1
  100. package/dist/sdk/agent/test/index.js +1 -1
  101. package/dist/sdk/agent/test/output.js +1 -1
  102. package/dist/sdk/agent/test/parser.js +1 -1
  103. package/dist/sdk/agent/tool-target-registry.js +1 -1
  104. package/dist/sdk/agent/types/agent-def.d.ts +43 -0
  105. package/dist/sdk/agent/types/agent-def.d.ts.map +1 -1
  106. package/dist/sdk/api.js +1 -1
  107. package/dist/sdk/cas/cas-api-client.js +1 -1
  108. package/dist/sdk/cas/cas-audience-yaml.js +1 -1
  109. package/dist/sdk/cas/cas-segment-yaml.js +1 -1
  110. package/dist/sdk/cas/index.js +1 -1
  111. package/dist/sdk/cas/pull-workflow.js +1 -1
  112. package/dist/sdk/cas/push-workflow.js +1 -1
  113. package/dist/sdk/client/cdp-api-client.js +1 -1
  114. package/dist/sdk/client/delivery-api-client.js +1 -1
  115. package/dist/sdk/client/endpoints.js +1 -1
  116. package/dist/sdk/client/engage-api-client.js +1 -1
  117. package/dist/sdk/client/http-client.js +1 -1
  118. package/dist/sdk/client/llm-api-client.d.ts +73 -1
  119. package/dist/sdk/client/llm-api-client.d.ts.map +1 -1
  120. package/dist/sdk/client/llm-api-client.js +1 -1
  121. package/dist/sdk/client/llm-api-client.js.map +1 -1
  122. package/dist/sdk/client/oauth-refresh.js +1 -1
  123. package/dist/sdk/client/rate-limiter.js +1 -1
  124. package/dist/sdk/client/td-api-client.js +1 -1
  125. package/dist/sdk/client/trino-api-client.js +1 -1
  126. package/dist/sdk/client/workflow-client.d.ts +28 -1
  127. package/dist/sdk/client/workflow-client.d.ts.map +1 -1
  128. package/dist/sdk/client/workflow-client.js +1 -1
  129. package/dist/sdk/client/workflow-client.js.map +1 -1
  130. package/dist/sdk/connection-validator.js +1 -1
  131. package/dist/sdk/connection.js +1 -1
  132. package/dist/sdk/delivery.js +1 -1
  133. package/dist/sdk/engage/campaign-pull.js +1 -1
  134. package/dist/sdk/engage/campaign-push.js +1 -1
  135. package/dist/sdk/engage/campaign-validator.js +1 -1
  136. package/dist/sdk/engage/campaign-yaml.js +1 -1
  137. package/dist/sdk/engage/template-pull.js +1 -1
  138. package/dist/sdk/engage/template-push.js +1 -1
  139. package/dist/sdk/engage/template-validator.js +1 -1
  140. package/dist/sdk/engage/template-yaml.js +1 -1
  141. package/dist/sdk/engage/types/campaign-def.js +1 -1
  142. package/dist/sdk/engage/types/campaign-schema.js +1 -1
  143. package/dist/sdk/engage/types/template-schema.js +1 -1
  144. package/dist/sdk/engage.js +1 -1
  145. package/dist/sdk/errors.js +1 -1
  146. package/dist/sdk/index.js +1 -1
  147. package/dist/sdk/io/index.js +1 -1
  148. package/dist/sdk/io/node-filesystem.js +1 -1
  149. package/dist/sdk/job.js +1 -1
  150. package/dist/sdk/journey.js +1 -1
  151. package/dist/sdk/llm/chat-cache.js +1 -1
  152. package/dist/sdk/llm/index.d.ts.map +1 -1
  153. package/dist/sdk/llm/index.js +1 -1
  154. package/dist/sdk/llm/index.js.map +1 -1
  155. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  156. package/dist/sdk/llm/model-factors.js +1 -1
  157. package/dist/sdk/personalization.js +1 -1
  158. package/dist/sdk/policy.js +1 -1
  159. package/dist/sdk/query/index.js +1 -1
  160. package/dist/sdk/query/sql-parser.js +1 -1
  161. package/dist/sdk/realtime.js +1 -1
  162. package/dist/sdk/schedule.js +1 -1
  163. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  164. package/dist/sdk/segment/fields-display.js +1 -1
  165. package/dist/sdk/segment/file-discovery.d.ts.map +1 -1
  166. package/dist/sdk/segment/file-discovery.js +1 -1
  167. package/dist/sdk/segment/file-discovery.js.map +1 -1
  168. package/dist/sdk/segment/journey-utils.js +1 -1
  169. package/dist/sdk/segment/journey-validator.js +1 -1
  170. package/dist/sdk/segment/journey-yaml.js +1 -1
  171. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  172. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  173. package/dist/sdk/segment/pull-workflow.js +1 -1
  174. package/dist/sdk/segment/push-recovery.js +1 -1
  175. package/dist/sdk/segment/push-workflow.d.ts.map +1 -1
  176. package/dist/sdk/segment/push-workflow.js +1 -1
  177. package/dist/sdk/segment/push-workflow.js.map +1 -1
  178. package/dist/sdk/segment/resolution-context.js +1 -1
  179. package/dist/sdk/segment/segment-path-parser.js +1 -1
  180. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  181. package/dist/sdk/segment/segment-validator.js +1 -1
  182. package/dist/sdk/segment/target-resolution.js +1 -1
  183. package/dist/sdk/segment/tdx-config.js +1 -1
  184. package/dist/sdk/segment/types/activation-schema.js +1 -1
  185. package/dist/sdk/segment/types/journey-def.js +1 -1
  186. package/dist/sdk/segment/types/journey-schema.js +1 -1
  187. package/dist/sdk/segment/types/segment-def.js +1 -1
  188. package/dist/sdk/segment/types/segment-schema.js +1 -1
  189. package/dist/sdk/segment/validate-files.js +1 -1
  190. package/dist/sdk/segment/yaml-validator.js +1 -1
  191. package/dist/sdk/segment.js +1 -1
  192. package/dist/sdk/types/index.d.ts +2 -2
  193. package/dist/sdk/types/index.d.ts.map +1 -1
  194. package/dist/sdk/types/index.js +1 -1
  195. package/dist/sdk/types/index.js.map +1 -1
  196. package/dist/sdk/types/llm.d.ts +158 -0
  197. package/dist/sdk/types/llm.d.ts.map +1 -1
  198. package/dist/sdk/types/progress.js +1 -1
  199. package/dist/sdk/types/workflow.d.ts +26 -0
  200. package/dist/sdk/types/workflow.d.ts.map +1 -1
  201. package/dist/sdk/types/workspace.js +1 -1
  202. package/dist/sdk/user.js +1 -1
  203. package/dist/sdk/util/format-detector.js +1 -1
  204. package/dist/sdk/util/formatters.js +1 -1
  205. package/dist/sdk/util/index.js +1 -1
  206. package/dist/sdk/util/paginate.js +1 -1
  207. package/dist/sdk/util/tree-formatter.js +1 -1
  208. package/dist/sdk/workflow/archive-validation.js +1 -1
  209. package/dist/sdk/workflow/clone-workflow.js +1 -1
  210. package/dist/sdk/workflow/index.d.ts +22 -0
  211. package/dist/sdk/workflow/index.d.ts.map +1 -1
  212. package/dist/sdk/workflow/index.js +1 -1
  213. package/dist/sdk/workflow/index.js.map +1 -1
  214. package/dist/sdk/workflow/pull-workflow.js +1 -1
  215. package/dist/sdk/workflow/push-workflow.js +1 -1
  216. package/dist/sdk/workflow/tdx-config.js +1 -1
  217. package/dist/sdk/workflow/workflow-utils.js +1 -1
  218. package/dist/sdk/workspace/frontmatter.js +1 -1
  219. package/dist/sdk/workspace/git.js +1 -1
  220. package/dist/sdk/workspace/index.d.ts.map +1 -1
  221. package/dist/sdk/workspace/index.js +1 -1
  222. package/dist/sdk/workspace/index.js.map +1 -1
  223. package/dist/sdk/workspace/templates.js +1 -1
  224. package/dist/sdk/workspace/weekly.js +1 -1
  225. package/dist/sdk/workspace/wikilinks.js +1 -1
  226. package/dist/test-utils/command-runner.js +1 -1
  227. package/dist/test-utils/factories.js +1 -1
  228. package/dist/test-utils/fixtures.js +1 -1
  229. package/dist/test-utils/http-mock.js +1 -1
  230. package/dist/test-utils/index.js +1 -1
  231. package/dist/utils/async.js +1 -1
  232. package/dist/utils/colors.js +1 -1
  233. package/dist/utils/diff.js +1 -1
  234. package/dist/utils/file-permissions.js +1 -1
  235. package/dist/utils/file-reader.js +1 -1
  236. package/dist/utils/github-releases.js +1 -1
  237. package/dist/utils/global-cache.js +1 -1
  238. package/dist/utils/json-loader.js +1 -1
  239. package/dist/utils/local-cache.js +1 -1
  240. package/dist/utils/logger/formatters/default-formatter.js +1 -1
  241. package/dist/utils/logger/formatters/index.js +1 -1
  242. package/dist/utils/logger/handlers/console-handler.js +1 -1
  243. package/dist/utils/logger/handlers/file-handler.js +1 -1
  244. package/dist/utils/logger/handlers/index.js +1 -1
  245. package/dist/utils/logger/handlers/null-handler.js +1 -1
  246. package/dist/utils/logger/index.js +1 -1
  247. package/dist/utils/logger/logger.js +1 -1
  248. package/dist/utils/logger/types.js +1 -1
  249. package/dist/utils/option-validation.js +1 -1
  250. package/dist/utils/process.d.ts.map +1 -1
  251. package/dist/utils/process.js +1 -1
  252. package/dist/utils/process.js.map +1 -1
  253. package/dist/utils/prompt.js +1 -1
  254. package/dist/utils/spinner.js +1 -1
  255. package/dist/utils/sse-parser.js +1 -1
  256. package/dist/utils/string-utils.js +1 -1
  257. package/dist/utils/table-ref-parser.js +1 -1
  258. package/dist/utils/tdx-logger.js +1 -1
  259. package/dist/utils/version-check.js +1 -1
  260. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -1 +1 @@
1
- const a2_0x3b3df4=a2_0x2ba2;(function(_0x2c16e6,_0x36c72c){const _0x3355b2=a2_0x2ba2,_0x3a87d7=_0x2c16e6();while(!![]){try{const _0x2d1798=parseInt(_0x3355b2(0x448))/0x1+-parseInt(_0x3355b2(0x343))/0x2*(-parseInt(_0x3355b2(0x363))/0x3)+-parseInt(_0x3355b2(0x3e5))/0x4+-parseInt(_0x3355b2(0x38c))/0x5*(parseInt(_0x3355b2(0x1df))/0x6)+parseInt(_0x3355b2(0x347))/0x7*(parseInt(_0x3355b2(0x3d2))/0x8)+parseInt(_0x3355b2(0x22c))/0x9+parseInt(_0x3355b2(0x196))/0xa;if(_0x2d1798===_0x36c72c)break;else _0x3a87d7['push'](_0x3a87d7['shift']());}catch(_0x1bc452){_0x3a87d7['push'](_0x3a87d7['shift']());}}}(a2_0x5bed,0x4368e));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,PSRtJnListCommand,PSRtJnPauseCommand,PSRtJnResumeCommand,PSRtConfigVersionCommand,PSPzServiceListCommand,PSPzServiceCreateCommand,PSPzServiceShowCommand,PSPzServiceDeleteCommand,PSPzServiceUpdateCommand,PSPzServiceTokenCreateCommand,PSPzServiceTokenDeleteCommand,PSPzListCommand,PSPzShowCommand,PSPzDeleteCommand,PSPzCreateCommand,PSPzPatchCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileDeleteCommand,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{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{CASListCommand,CASDescCommand,CASPullCommand,CASPushCommand,CASPreviewCommand}from'./commands/cas-command.js';import{CASSegmentListCommand}from'./commands/cas-segment-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{workSummaryAction,workInitAction,workNewAction,workMoveAction,workBoardAction,workShowAction,workLinksAction,workOpenAction}from'./commands/work-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_0x3b3df4(0x25e)][a2_0x3b3df4(0x164)](a2_0x3b3df4(0x409))){let versionOutput=a2_0x3b3df4(0x275)+currentVersion;buildInfo[a2_0x3b3df4(0x389)]&&!currentVersion[a2_0x3b3df4(0x164)](buildInfo[a2_0x3b3df4(0x389)])&&(versionOutput+='\x20('+buildInfo[a2_0x3b3df4(0x389)]+')'),buildInfo['buildTime']&&(versionOutput+=a2_0x3b3df4(0x386)+buildInfo[a2_0x3b3df4(0x3b2)]),console[a2_0x3b3df4(0x1f4)](versionOutput),process['exit'](0x0);}const program=new Command();export function mergeCommandOptions(_0xb413ea,_0x15da4e){const _0x21a61c=a2_0x3b3df4,_0x1feba7={..._0xb413ea};for(const [_0x29183e,_0x3e87a0]of Object[_0x21a61c(0x215)](_0x15da4e)){_0x3e87a0!==undefined&&(_0x1feba7[_0x29183e]=_0x3e87a0);}return _0x1feba7;}let showBriefHelp=![],description=a2_0x3b3df4(0x199);buildInfo[a2_0x3b3df4(0x389)]&&!currentVersion[a2_0x3b3df4(0x164)](buildInfo['gitRevision'])?description+=a2_0x3b3df4(0x37d)+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=',\x20version\x20'+currentVersion;program[a2_0x3b3df4(0x282)](a2_0x3b3df4(0x2a5))['description'](description),program['option'](a2_0x3b3df4(0x180),a2_0x3b3df4(0x2c4))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3a7),a2_0x3b3df4(0x268))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3e7),'TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','us01')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x421),'Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)')['option'](a2_0x3b3df4(0x1f6),'Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x456),a2_0x3b3df4(0x3fe))[a2_0x3b3df4(0x368)]('--jsonl','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x23b),'Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x33d),a2_0x3b3df4(0x33c))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x18b),'Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)')['option'](a2_0x3b3df4(0x2e0),a2_0x3b3df4(0x3d4),![])[a2_0x3b3df4(0x368)]('--no-color',a2_0x3b3df4(0x210),![])['option'](a2_0x3b3df4(0x3be),'Enable\x20verbose\x20logging',![])[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2cc),a2_0x3b3df4(0x270))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x346),a2_0x3b3df4(0x276))[a2_0x3b3df4(0x368)]('--timeout\x20<seconds>','Set\x20operation\x20timeout\x20in\x20seconds','30')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x339),a2_0x3b3df4(0x15e),![])[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3cf),a2_0x3b3df4(0x2d9),![])[a2_0x3b3df4(0x368)]('--session\x20<id>',a2_0x3b3df4(0x1fd))['option'](a2_0x3b3df4(0x436),a2_0x3b3df4(0x30b))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x218),'LLM\x20project\x20to\x20use\x20(overrides\x20context)'),program['configureHelp']({'formatHelp':(_0x1bae71,_0x58c62f)=>{const _0x290246=a2_0x3b3df4,_0xb73fbd=_0x58c62f[_0x290246(0x3ad)](_0x1bae71,_0x58c62f),_0x35eaea=0x2,_0x59c7db=0x2;function _0x5e294a(_0x848662){const _0x35567e=_0x290246,_0x2cfa4c=_0x848662;return!!(_0x2cfa4c[_0x35567e(0x304)]||_0x2cfa4c[_0x35567e(0x30c)]);}function _0x40f21c(_0x2fa226,_0x37b9bb){const _0x4b6ef1=_0x290246;if(_0x37b9bb){const _0x358d39=''+_0x2fa226[_0x4b6ef1(0x15d)](_0xb73fbd+_0x59c7db)+_0x37b9bb;return _0x358d39;}return _0x2fa226;}function _0x2a9adf(_0x5ce650){return _0x5ce650['join']('\x0a')['replace'](/^/gm,'\x20'['repeat'](_0x35eaea));}const _0x41707b=[];_0x41707b[_0x290246(0x35e)](_0x290246(0x3fd)+_0x58c62f[_0x290246(0x189)](_0x1bae71));const _0x2f42ae=_0x58c62f[_0x290246(0x151)](_0x1bae71);_0x2f42ae&&(_0x41707b['push'](''),_0x41707b[_0x290246(0x35e)](_0x2f42ae));const _0x31c76b=_0x1bae71[_0x290246(0x370)][_0x290246(0x318)](_0x137cac=>!_0x5e294a(_0x137cac));if(_0x31c76b[_0x290246(0x1b2)]>0x0){if(_0x1bae71['name']()==='tdx'){const _0x22b127=_0x1bae71[_0x290246(0x428)](),_0x1bd799=!_0x22b127[_0x290246(0x3ba)]&&process['stdout'][_0x290246(0x3e4)],_0x585f04=COMMAND_CATEGORIES,_0x5cd889=(_0x49b049,_0x4dd869)=>_0x1bd799?_0x4dd869(_0x49b049):_0x49b049,_0x443997=new Map();_0x31c76b[_0x290246(0x2b4)](_0x492231=>{const _0x293eba=_0x290246;_0x443997['set'](_0x492231[_0x293eba(0x282)](),_0x492231);}),_0x585f04[_0x290246(0x2b4)](_0x26765d=>{const _0x10fa61=_0x290246,_0x5d57d6=_0x26765d[_0x10fa61(0x370)][_0x10fa61(0x32b)](_0x5c5385=>_0x443997[_0x10fa61(0x1a9)](_0x5c5385)??[]);if(_0x5d57d6[_0x10fa61(0x1b2)]>0x0){_0x41707b[_0x10fa61(0x35e)](''),_0x41707b['push'](_0x5cd889(_0x26765d[_0x10fa61(0x282)]+':',_0x26765d['colorFn']));const _0x411e3c=_0x5d57d6['map'](_0x2b6b72=>{const _0x474e19=_0x10fa61,_0x473d37=_0x58c62f[_0x474e19(0x2d1)](_0x2b6b72),_0x202a12=_0x58c62f[_0x474e19(0x1c7)](_0x2b6b72);return _0x40f21c(_0x473d37,_0x202a12);});_0x41707b['push'](_0x2a9adf(_0x411e3c));}}),_0x41707b[_0x290246(0x35e)](''),_0x41707b[_0x290246(0x35e)]('Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22');}else{const _0x11e2d0=_0x31c76b['map'](_0x229187=>{const _0x6acf30=_0x290246,_0x47485a=_0x58c62f[_0x6acf30(0x2d1)](_0x229187),_0x5a3f23=_0x58c62f['subcommandDescription'](_0x229187);return _0x40f21c(_0x47485a,_0x5a3f23);});_0x41707b[_0x290246(0x35e)](''),_0x41707b[_0x290246(0x35e)]('Commands:'),_0x41707b[_0x290246(0x35e)](_0x2a9adf(_0x11e2d0));}}if(showBriefHelp&&_0x1bae71[_0x290246(0x282)]()===_0x290246(0x2a5))_0x41707b[_0x290246(0x35e)](''),_0x41707b[_0x290246(0x35e)]('Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version');else{const _0x28aab6=_0x1bae71[_0x290246(0x1ca)]['filter'](_0x1ae26f=>!_0x5e294a(_0x1ae26f));if(_0x28aab6['length']>0x0){const _0x401e5a=_0x28aab6['map'](_0xe11121=>{const _0x509c45=_0x290246,_0x42eb7e=_0x58c62f[_0x509c45(0x2b0)](_0xe11121),_0xb01540=_0x58c62f[_0x509c45(0x3a6)](_0xe11121);return _0x40f21c(_0x42eb7e,_0xb01540);});_0x41707b[_0x290246(0x35e)](''),_0x41707b[_0x290246(0x35e)](_0x290246(0x240)),_0x41707b[_0x290246(0x35e)](_0x2a9adf(_0x401e5a));}}const _0x4c72e5=(_0x1bae71[_0x290246(0x250)]||[])[_0x290246(0x318)](_0x3304b2=>!_0x5e294a(_0x3304b2));if(_0x4c72e5[_0x290246(0x1b2)]>0x0){const _0x48326c=_0x4c72e5[_0x290246(0x371)](_0x578f5a=>{const _0x12b64c=_0x290246,_0x219904=_0x58c62f[_0x12b64c(0x173)](_0x578f5a),_0x5e4c9d=_0x58c62f[_0x12b64c(0x3cb)](_0x578f5a);return _0x40f21c(_0x219904,_0x5e4c9d);});_0x41707b[_0x290246(0x35e)](''),_0x41707b['push'](_0x290246(0x2f0)),_0x41707b[_0x290246(0x35e)](_0x2a9adf(_0x48326c));}return _0x41707b[_0x290246(0x3e9)]('\x0a')+'\x0a';},'subcommandTerm':_0x354d6a=>{const _0x78b71c=a2_0x3b3df4,_0x54f2ad=(_0x354d6a[_0x78b71c(0x250)]||[])[_0x78b71c(0x371)](_0x1b1f6d=>_0x1b1f6d['required']?'<'+_0x1b1f6d[_0x78b71c(0x282)]()+'>':'['+_0x1b1f6d[_0x78b71c(0x282)]()+']')[_0x78b71c(0x3e9)]('\x20'),_0x458e90=_0x354d6a[_0x78b71c(0x2e8)](),_0x5c2c3f=_0x458e90['length']>0x0?_0x354d6a['name']()+',\x20'+_0x458e90[_0x78b71c(0x3e9)](',\x20'):_0x354d6a[_0x78b71c(0x282)]();return _0x54f2ad?_0x5c2c3f+'\x20'+_0x54f2ad:_0x5c2c3f;}}),program['hook'](a2_0x3b3df4(0x2f2),_0x2f8684=>{const _0x4dcbfa=a2_0x3b3df4,_0x4905f8=_0x2f8684[_0x4dcbfa(0x428)]();if(_0x4905f8[_0x4dcbfa(0x307)]){const _0x345126=resolve(_0x4905f8[_0x4dcbfa(0x307)]),_0x51dd40=_0x345126!==_0x4905f8[_0x4dcbfa(0x307)]?_0x4dcbfa(0x2d2)+_0x345126+')':'';if(!existsSync(_0x345126))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x4dcbfa(0x1fc)+_0x4905f8[_0x4dcbfa(0x307)]+_0x51dd40,undefined,{'helpText':_0x4dcbfa(0x445)});const _0x5937cf=statSync(_0x345126);if(!_0x5937cf['isDirectory']())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x4dcbfa(0x336)+_0x4905f8[_0x4dcbfa(0x307)]+_0x51dd40,undefined,{'helpText':_0x4dcbfa(0x412)});process[_0x4dcbfa(0x3bc)](_0x345126);}if(!_0x4905f8[_0x4dcbfa(0x434)]){if(_0x4905f8[_0x4dcbfa(0x454)])_0x4905f8['format']=_0x4dcbfa(0x454);else{if(_0x4905f8['json'])_0x4905f8['format']='json';else{if(_0x4905f8['jsonl'])_0x4905f8[_0x4dcbfa(0x434)]=_0x4dcbfa(0x28f);else _0x4905f8['tsv']&&(_0x4905f8[_0x4dcbfa(0x434)]=_0x4dcbfa(0x1ac));}}}if(_0x4905f8[_0x4dcbfa(0x305)])_0x4905f8['logLevel']=LogLevel[_0x4dcbfa(0x284)];else{if(_0x4905f8['debug'])_0x4905f8['logLevel']=LogLevel[_0x4dcbfa(0x313)];else _0x4905f8['logLevel']===undefined&&(_0x4905f8['logLevel']=LogLevel[_0x4dcbfa(0x16d)]);}});async function createTDXInstance(_0x3db671){const _0x3e3736=a2_0x3b3df4,_0x40baca=await GlobalContext[_0x3e3736(0x437)](_0x3db671);_0x40baca[_0x3e3736(0x392)](_0x3db671);const _0x55f6fa=Number(_0x3db671[_0x3e3736(0x259)]),_0x746256=!isNaN(_0x55f6fa)&&_0x55f6fa>0x0?_0x55f6fa*0x3e8:undefined;return TDX[_0x3e3736(0x394)]({'site':_0x40baca[_0x3e3736(0x175)],'apiKey':_0x40baca[_0x3e3736(0x3e6)],'accessToken':_0x40baca[_0x3e3736(0x170)],'logLevel':_0x40baca['logLevel'],'profile':_0x40baca[_0x3e3736(0x3b5)],'timeout':_0x746256});}const databaseCmd=program['command'](a2_0x3b3df4(0x2df))[a2_0x3b3df4(0x2ad)]('db')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x360)),databaseListAction=async(_0x77770,_0x550925)=>{const _0x21740b=a2_0x3b3df4,_0x4af8da=new DatabasesCommand(),_0x5b308f=program[_0x21740b(0x428)](),_0x418914=await createTDXInstance(_0x5b308f),_0x467409=await _0x4af8da[_0x21740b(0x277)]({'options':{..._0x5b308f,..._0x550925},'args':_0x77770?[_0x77770]:[],'tdx':_0x418914});gracefulExit(_0x467409);};databaseCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x22d))[a2_0x3b3df4(0x3d6)]('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')['action'](databaseListAction),program[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x1a0),{'hidden':!![]})[a2_0x3b3df4(0x3d6)]('List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)')[a2_0x3b3df4(0x204)](databaseListAction),program[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x290))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x398))['option'](a2_0x3b3df4(0x37c),a2_0x3b3df4(0x354))[a2_0x3b3df4(0x368)]('--new','Start\x20a\x20new\x20chat\x20session')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x446),a2_0x3b3df4(0x43d))[a2_0x3b3df4(0x368)]('--stream',a2_0x3b3df4(0x326))[a2_0x3b3df4(0x204)](async(_0x51444f,_0x1408be)=>{const _0x2bb85c=a2_0x3b3df4,_0x15fd2c=program[_0x2bb85c(0x428)](),_0x11eb28=await createTDXInstance(_0x15fd2c);if(_0x51444f[0x0]===_0x2bb85c(0x394)){const _0x29894b=new ChatCreateCommand();gracefulExit(await _0x29894b['run']({'options':{..._0x15fd2c,..._0x1408be},'args':_0x51444f['slice'](0x1),'tdx':_0x11eb28}));return;}const _0x13cf32=new ChatCommand(),_0x1016b9=await _0x13cf32[_0x2bb85c(0x277)]({'options':{..._0x15fd2c,..._0x1408be},'args':_0x51444f,'tdx':_0x11eb28});gracefulExit(_0x1016b9);});const apiCmd=program[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x2a6))[a2_0x3b3df4(0x31c)](a2_0x3b3df4(0x420))[a2_0x3b3df4(0x1c1)](a2_0x3b3df4(0x244),'\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_0x3b3df4(0x368)](a2_0x3b3df4(0x227),a2_0x3b3df4(0x2ab),'GET')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3ac),a2_0x3b3df4(0x2f5))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x449),a2_0x3b3df4(0x30a))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x381),a2_0x3b3df4(0x319),(_0x3ea0a9,_0x56f3ed)=>{return _0x56f3ed?[..._0x56f3ed,_0x3ea0a9]:[_0x3ea0a9];})['option'](a2_0x3b3df4(0x2b9),'API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')['action'](async(_0x4e9e7c,_0x1066a9)=>{const _0x17a06d=a2_0x3b3df4;if(!_0x4e9e7c){apiCmd[_0x17a06d(0x330)]();return;}const _0x5f216c=new ApiCommand(),_0x690647=program[_0x17a06d(0x428)](),_0x586eb2=await createTDXInstance(_0x690647),_0x1baf10=await _0x5f216c[_0x17a06d(0x277)]({'options':{..._0x690647,..._0x1066a9},'args':[_0x4e9e7c],'tdx':_0x586eb2});gracefulExit(_0x1baf10);});program[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x320))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x328))[a2_0x3b3df4(0x1c1)](a2_0x3b3df4(0x244),'\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a')[a2_0x3b3df4(0x204)](async _0x245d9e=>{const _0x48434a=a2_0x3b3df4,_0x42824d=new MCPCommand(),_0x5f0b59=program[_0x48434a(0x428)](),_0x1d7ae6=await createTDXInstance(_0x5f0b59),_0xa75eeb=await _0x42824d[_0x48434a(0x277)]({'options':{..._0x5f0b59,..._0x245d9e},'args':[],'tdx':_0x1d7ae6});gracefulExit(_0xa75eeb);});const tableCmd=program[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x454))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x410)),tableListAction=async(_0x3ea9bc,_0x39a569)=>{const _0x1d5499=a2_0x3b3df4,_0x256168=new TablesCommand(),_0x28a983=program[_0x1d5499(0x428)](),_0x5a47f3=await createTDXInstance(_0x28a983);_0x39a569['in']&&(_0x39a569[_0x1d5499(0x2df)]=_0x39a569['in']);const _0x519c60=await _0x256168[_0x1d5499(0x277)]({'options':{..._0x28a983,..._0x39a569},'args':_0x3ea9bc?[_0x3ea9bc]:[],'tdx':_0x5a47f3});gracefulExit(_0x519c60);};tableCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x22d))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x3db))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x1f9),a2_0x3b3df4(0x3f7))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x178),a2_0x3b3df4(0x159))[a2_0x3b3df4(0x204)](tableListAction),program[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x256),{'hidden':!![]})[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x40e))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x1f9),a2_0x3b3df4(0x3f7))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x178),a2_0x3b3df4(0x159))[a2_0x3b3df4(0x204)](tableListAction),program[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x29f))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x415))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x1f9),a2_0x3b3df4(0x38d))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x178),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](async(_0x268df2,_0x315330)=>{const _0x49b455=a2_0x3b3df4,_0x3942d9=new ShowCommand(),_0x1f3948=program['opts'](),_0x3d096b=await createTDXInstance(_0x1f3948);_0x315330['in']&&(_0x315330[_0x49b455(0x2df)]=_0x315330['in']);const _0x46a416=await _0x3942d9[_0x49b455(0x277)]({'options':{..._0x1f3948,..._0x315330},'args':_0x268df2?[_0x268df2]:[],'tdx':_0x3d096b});gracefulExit(_0x46a416);}),program['command']('describe\x20[table]')['alias'](a2_0x3b3df4(0x23c))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x1dc))['option'](a2_0x3b3df4(0x1f9),a2_0x3b3df4(0x38d))[a2_0x3b3df4(0x368)]('--in\x20<database>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x3b3df4(0x204)](async(_0x59f2a1,_0x1d8df8)=>{const _0x18d4e2=a2_0x3b3df4,_0x4a5aca=new DescribeCommand(),_0x4e6830=program[_0x18d4e2(0x428)](),_0x2dcf88=await createTDXInstance(_0x4e6830);_0x1d8df8['in']&&(_0x1d8df8[_0x18d4e2(0x2df)]=_0x1d8df8['in']);const _0x36e0e2=await _0x4a5aca[_0x18d4e2(0x277)]({'options':{..._0x4e6830,..._0x1d8df8},'args':_0x59f2a1?[_0x59f2a1]:[],'tdx':_0x2dcf88});gracefulExit(_0x36e0e2);}),program['command'](a2_0x3b3df4(0x457))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x1ea))['option'](a2_0x3b3df4(0x1f9),a2_0x3b3df4(0x183))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x178),a2_0x3b3df4(0x159))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x310),'Trino\x20catalog\x20(default:\x20td)')['option']('-f,\x20--file\x20<path>',a2_0x3b3df4(0x39a))[a2_0x3b3df4(0x368)]('--limit\x20<rows>','Maximum\x20rows\x20to\x20display')[a2_0x3b3df4(0x204)](async(_0x51470b,_0xbdba3f)=>{const _0x3ee171=a2_0x3b3df4,_0x113b64=new QueryCommand(),_0x4b0dbf=program['opts'](),_0x18d873=await createTDXInstance(_0x4b0dbf);_0xbdba3f['in']&&(_0xbdba3f['database']=_0xbdba3f['in']);const _0x183d3c=await _0x113b64[_0x3ee171(0x277)]({'options':mergeCommandOptions(_0x4b0dbf,_0xbdba3f),'args':_0x51470b?[_0x51470b]:[],'tdx':_0x18d873});gracefulExit(_0x183d3c);});function a2_0x2ba2(_0x574312,_0x40ca1e){_0x574312=_0x574312-0x149;const _0x5bed2b=a2_0x5bed();let _0x2ba2bf=_0x5bed2b[_0x574312];return _0x2ba2bf;}const segmentCmd=program[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x211))[a2_0x3b3df4(0x2ad)]('sg')[a2_0x3b3df4(0x3d6)]('CDP\x20segment\x20management\x20commands'),segmentListAction=async(_0x4ebce5,_0x291dfb)=>{const _0x2add86=a2_0x3b3df4,_0x3c1dc6=new SegmentsCommand(),_0x23c5a5=program[_0x2add86(0x428)](),_0x273a40=await createTDXInstance(_0x23c5a5),_0x260bcc=await _0x3c1dc6[_0x2add86(0x277)]({'options':{..._0x23c5a5,..._0x291dfb},'args':_0x4ebce5?[_0x4ebce5]:[],'tdx':_0x273a40});gracefulExit(_0x260bcc);};segmentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x24a))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x1ff))[a2_0x3b3df4(0x368)]('-r,\x20--recursive',a2_0x3b3df4(0x2cf))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x35f),a2_0x3b3df4(0x405),'10')[a2_0x3b3df4(0x204)](segmentListAction),program[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x161),{'hidden':!![]})[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x172))['option']('-r,\x20--recursive','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x35f),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x3b3df4(0x204)](segmentListAction),segmentCmd['command'](a2_0x3b3df4(0x401),{'hidden':!![]})[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x18d))[a2_0x3b3df4(0x204)](async(_0x16e9d9,_0x38cbc9)=>{const _0x5e59c2=a2_0x3b3df4,_0x447e65=new SegmentUseCommand(),_0x1c8535=program[_0x5e59c2(0x428)](),_0x41d686=await createTDXInstance(_0x1c8535),_0x4d3495=await _0x447e65[_0x5e59c2(0x277)]({'options':{..._0x1c8535,..._0x38cbc9},'args':[_0x16e9d9],'tdx':_0x41d686});gracefulExit(_0x4d3495);});const segmentViewAction=async(_0x2b8d23,_0x373dab)=>{const _0x228559=a2_0x3b3df4,_0x109fdb=new SegmentViewCommand(),_0x2b778c=program[_0x228559(0x428)](),_0xebd452=await createTDXInstance(_0x2b778c),_0x240b99=await _0x109fdb[_0x228559(0x277)]({'options':{..._0x2b778c,..._0x373dab},'args':_0x2b8d23?[_0x2b8d23]:[],'tdx':_0xebd452});gracefulExit(_0x240b99);};segmentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x2e5))['description']('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')['option']('-w,\x20--web',a2_0x3b3df4(0x216))[a2_0x3b3df4(0x204)](segmentViewAction),segmentCmd[a2_0x3b3df4(0x223)]('info\x20[segment_name]',{'hidden':!![]})[a2_0x3b3df4(0x2ad)](a2_0x3b3df4(0x2b5))['option'](a2_0x3b3df4(0x2ae),a2_0x3b3df4(0x216))[a2_0x3b3df4(0x3d6)]('Show\x20segment\x20details\x20(alias\x20for\x20view)')[a2_0x3b3df4(0x204)](segmentViewAction),segmentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x1af))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x1b6))[a2_0x3b3df4(0x204)](async(_0xcfd13,_0x31021a)=>{const _0x3eca9e=a2_0x3b3df4,_0x25f409=new SegmentDescCommand(),_0x102645=program[_0x3eca9e(0x428)](),_0x1d46b2=await createTDXInstance(_0x102645),_0x5d3694=await _0x25f409['run']({'options':{..._0x102645,..._0x31021a},'args':_0xcfd13?[_0xcfd13]:[],'tdx':_0x1d46b2});gracefulExit(_0x5d3694);}),segmentCmd['command']('show\x20[segment_name]')[a2_0x3b3df4(0x3d6)]('Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x3b3df4(0x204)](async(_0x12a0c2,_0x312f0f)=>{const _0x5040fb=a2_0x3b3df4,_0x5da0f8=new SegmentShowCommand(),_0x1a08d6=program[_0x5040fb(0x428)](),_0x321562=await createTDXInstance(_0x1a08d6),_0x14b89f=await _0x5da0f8[_0x5040fb(0x277)]({'options':{..._0x1a08d6,..._0x312f0f},'args':_0x12a0c2?[_0x12a0c2]:[],'tdx':_0x321562});gracefulExit(_0x14b89f);}),segmentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x2de),{'hidden':!![]})['description']('[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)')[a2_0x3b3df4(0x204)](async(_0x40daa6,_0x497a48)=>{const _0x5e8b33=a2_0x3b3df4,_0x52b1b9=new SegmentFolderListCommand(),_0x4c0d51=program[_0x5e8b33(0x428)](),_0x931048=await createTDXInstance(_0x4c0d51),_0x12ca83=await _0x52b1b9[_0x5e8b33(0x277)]({'options':{..._0x4c0d51,..._0x497a48},'args':[_0x40daa6],'tdx':_0x931048});gracefulExit(_0x12ca83);});const folderCmd=segmentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x281),{'hidden':!![]})['description']('[DEPRECATED]\x20Segment\x20folder\x20management');folderCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x42c))[a2_0x3b3df4(0x3d6)]('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')['action'](async(_0x1c144c,_0x3ad62b)=>{const _0x1e31bc=a2_0x3b3df4,_0x1b4692=new SegmentFolderShowCommand(),_0x4088e6=program[_0x1e31bc(0x428)](),_0x1ae380=await createTDXInstance(_0x4088e6),_0x2f8f51=await _0x1b4692[_0x1e31bc(0x277)]({'options':{..._0x4088e6,..._0x3ad62b},'args':[_0x1c144c],'tdx':_0x1ae380});gracefulExit(_0x2f8f51);}),segmentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x279))[a2_0x3b3df4(0x3d6)]('Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x21a),a2_0x3b3df4(0x187))[a2_0x3b3df4(0x204)](async(_0x2a83c0,_0x36e625)=>{const _0x52978e=a2_0x3b3df4,_0x4e01c8=new SegmentSQLCommand(),_0xfaf5=program[_0x52978e(0x428)](),_0x275eed=await createTDXInstance(_0xfaf5),_0x45fe5e=await _0x4e01c8[_0x52978e(0x277)]({'options':{..._0xfaf5,..._0x36e625},'args':_0x2a83c0?[_0x2a83c0]:[],'tdx':_0x275eed});gracefulExit(_0x45fe5e);}),segmentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x25f))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x18f))[a2_0x3b3df4(0x204)](async(_0x431bb4,_0x4a0273)=>{const _0x2a3a1f=a2_0x3b3df4,_0x2a5e6e=new SegmentFieldsCommand(),_0x72a274=program[_0x2a3a1f(0x428)](),_0x57574a=await createTDXInstance(_0x72a274),_0x5ca931=await _0x2a5e6e['run']({'options':{..._0x72a274,..._0x4a0273},'args':_0x431bb4?[_0x431bb4]:[],'tdx':_0x57574a});gracefulExit(_0x5ca931);}),segmentCmd['command'](a2_0x3b3df4(0x3a9))[a2_0x3b3df4(0x3d6)]('Pull\x20child\x20segments\x20to\x20YAML\x20files')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x339),a2_0x3b3df4(0x247))[a2_0x3b3df4(0x204)](async(_0x17ca7b,_0x3f9b90)=>{const _0x4caefe=a2_0x3b3df4,_0x201f8f=new SegmentPullCommand(),_0x5976c9=program[_0x4caefe(0x428)](),_0x48dd38=await createTDXInstance(_0x5976c9),_0x3e0e77=await _0x201f8f[_0x4caefe(0x277)]({'options':{..._0x5976c9,..._0x3f9b90},'args':_0x17ca7b?[_0x17ca7b]:[],'tdx':_0x48dd38});gracefulExit(_0x3e0e77);}),segmentCmd['command'](a2_0x3b3df4(0x453))['description']('Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x339),a2_0x3b3df4(0x247))[a2_0x3b3df4(0x368)]('--delete','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)')[a2_0x3b3df4(0x204)](async(_0x29c436,_0x2ed0df)=>{const _0x4600fa=a2_0x3b3df4,_0x46cbaf=new SegmentPushCommand(),_0x316f23=program['opts'](),_0x321d70=await createTDXInstance(_0x316f23),_0x3c9a49=await _0x46cbaf[_0x4600fa(0x277)]({'options':{..._0x316f23,..._0x2ed0df},'args':_0x29c436?[_0x29c436]:[],'tdx':_0x321d70});gracefulExit(_0x3c9a49);}),segmentCmd['command'](a2_0x3b3df4(0x3d5))['description'](a2_0x3b3df4(0x27d))[a2_0x3b3df4(0x204)](async(_0x57b02d,_0x5573ce)=>{const _0x3f401c=a2_0x3b3df4,_0x18669e=new SegmentValidateCommand(),_0x1799f2=program[_0x3f401c(0x428)](),_0x3c6319=await createTDXInstance(_0x1799f2),_0x2f9997=await _0x18669e['run']({'options':{..._0x1799f2,..._0x5573ce},'args':_0x57b02d?[_0x57b02d]:[],'tdx':_0x3c6319});gracefulExit(_0x2f9997);}),segmentCmd[a2_0x3b3df4(0x223)]('create\x20<segment_name>',{'hidden':!![]})[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x34a))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x425),a2_0x3b3df4(0x1cc))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x36d),a2_0x3b3df4(0x348))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x26a),'Filtering\x20rule\x20from\x20JSON\x20file')['option'](a2_0x3b3df4(0x440),a2_0x3b3df4(0x19a))['option']('--kind\x20<type>',a2_0x3b3df4(0x2c2))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x1a3),a2_0x3b3df4(0x2c1))['option'](a2_0x3b3df4(0x1f2),'Skip\x20population\x20counting')['action'](async(_0x405c14,_0x37eb25)=>{const _0x42e6a4=a2_0x3b3df4,_0x4fffec=new SegmentCreateCommand(),_0x35509b=program[_0x42e6a4(0x428)](),_0x535df2=await createTDXInstance(_0x35509b),_0x509eda=await _0x4fffec[_0x42e6a4(0x277)]({'options':{..._0x35509b,..._0x37eb25},'args':[_0x405c14],'tdx':_0x535df2});gracefulExit(_0x509eda);}),segmentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x2fd),{'hidden':!![]})[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x377))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2d6),a2_0x3b3df4(0x40b))['option'](a2_0x3b3df4(0x425),'Updated\x20description')[a2_0x3b3df4(0x368)]('--rule\x20<json>',a2_0x3b3df4(0x252))['option']('--rule-file\x20<file>','Updated\x20filtering\x20rule\x20from\x20JSON\x20file')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x440),a2_0x3b3df4(0x37f))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x26b),a2_0x3b3df4(0x2c2))['action'](async(_0xf663f8,_0x520f2d)=>{const _0x3d7fde=a2_0x3b3df4,_0x50bf23=new SegmentUpdateCommand(),_0x485c3c=program[_0x3d7fde(0x428)](),_0x3c060c=await createTDXInstance(_0x485c3c),_0x232074=await _0x50bf23['run']({'options':{..._0x485c3c,..._0x520f2d},'args':[_0xf663f8],'tdx':_0x3c060c});gracefulExit(_0x232074);});const parentCmd=segmentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x33e),{'hidden':!![]})['description'](a2_0x3b3df4(0x153)),parentListAction=async(_0x5aa7f3,_0x47aa76)=>{const _0x168ea8=a2_0x3b3df4,_0x48510e=new ParentSegmentListCommand(),_0x38d4e4=program[_0x168ea8(0x428)](),_0x51d5c3=await createTDXInstance(_0x38d4e4),_0x227226=await _0x48510e[_0x168ea8(0x277)]({'options':{..._0x38d4e4,..._0x47aa76},'args':_0x5aa7f3?[_0x5aa7f3]:[],'tdx':_0x51d5c3});gracefulExit(_0x227226);};parentCmd['command'](a2_0x3b3df4(0x22d))[a2_0x3b3df4(0x3d6)]('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x3b3df4(0x204)](parentListAction),segmentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x27a),{'hidden':!![]})['description'](a2_0x3b3df4(0x411))[a2_0x3b3df4(0x204)](parentListAction),parentCmd['command']('pull\x20[name]')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x226))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x29e),'Output\x20file\x20path\x20(default:\x20<name>.yml)')['action'](async(_0x5ab391,_0x4781cf)=>{const _0x5f7172=a2_0x3b3df4,_0x54f141=new ParentSegmentPullCommand(),_0x13b707=program[_0x5f7172(0x428)](),_0x2f6761=await createTDXInstance(_0x13b707),_0x53282b=await _0x54f141['run']({'options':{..._0x13b707,..._0x4781cf},'args':_0x5ab391?[_0x5ab391]:[],'tdx':_0x2f6761});gracefulExit(_0x53282b);}),parentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x1e2))[a2_0x3b3df4(0x3d6)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file')[a2_0x3b3df4(0x204)](async(_0xc5b54e,_0xc2a1b2)=>{const _0x40df05=a2_0x3b3df4,_0x2d8865=new ParentSegmentPushCommand(),_0x14a487=program[_0x40df05(0x428)](),_0x54df5b=await createTDXInstance(_0x14a487),_0x1b71dd=await _0x2d8865['run']({'options':{..._0x14a487,..._0xc2a1b2},'args':_0xc5b54e?[_0xc5b54e]:[],'tdx':_0x54df5b});gracefulExit(_0x1b71dd);}),parentCmd[a2_0x3b3df4(0x223)]('validate\x20[file]')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x20a))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3a2),a2_0x3b3df4(0x34d))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x286),a2_0x3b3df4(0x264))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3b0),a2_0x3b3df4(0x20d))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x25d),a2_0x3b3df4(0x198))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2cd),a2_0x3b3df4(0x3ce),a2_0x3b3df4(0x1ee))['action'](async(_0x376463,_0x2d78c9)=>{const _0x5b582a=a2_0x3b3df4,_0x18524f=new ParentSegmentValidateCommand(),_0x585b28=program['opts'](),_0x158e2e=await createTDXInstance(_0x585b28),_0x35c906=await _0x18524f[_0x5b582a(0x277)]({'options':{..._0x585b28,..._0x2d78c9},'args':_0x376463?[_0x376463]:[],'tdx':_0x158e2e});gracefulExit(_0x35c906);}),parentCmd['command'](a2_0x3b3df4(0x1ae))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x2e2))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3a2),a2_0x3b3df4(0x1b7))['option'](a2_0x3b3df4(0x286),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')['option'](a2_0x3b3df4(0x3b0),a2_0x3b3df4(0x188))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x25d),a2_0x3b3df4(0x15a))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2cd),a2_0x3b3df4(0x3ce),a2_0x3b3df4(0x1ee))[a2_0x3b3df4(0x204)](async(_0x5b6bbc,_0x2392de)=>{const _0xf62d9c=a2_0x3b3df4,_0x548f2e=new ParentSegmentPreviewCommand(),_0x2c08cc=program[_0xf62d9c(0x428)](),_0xc191ed=await createTDXInstance(_0x2c08cc),_0x2e9bec=await _0x548f2e[_0xf62d9c(0x277)]({'options':{..._0x2c08cc,..._0x2392de},'args':_0x5b6bbc?[_0x5b6bbc]:[],'tdx':_0xc191ed});gracefulExit(_0x2e9bec);}),parentCmd[a2_0x3b3df4(0x223)]('run\x20[name]')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x3cc))[a2_0x3b3df4(0x204)](async(_0x474c8c,_0xc35e03)=>{const _0x53785e=a2_0x3b3df4,_0x4d9f7a=new ParentSegmentRunCommand(),_0x4112b5=program[_0x53785e(0x428)](),_0x3b239e=await createTDXInstance(_0x4112b5),_0x5962e2=await _0x4d9f7a[_0x53785e(0x277)]({'options':{..._0x4112b5,..._0xc35e03},'args':_0x474c8c?[_0x474c8c]:[],'tdx':_0x3b239e});gracefulExit(_0x5962e2);});const parentSegmentCmd=program[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x337))['alias']('ps')['description'](a2_0x3b3df4(0x19e));parentSegmentCmd[a2_0x3b3df4(0x223)]('list\x20[pattern]')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x233))[a2_0x3b3df4(0x204)](parentListAction),parentSegmentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x452))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x185))[a2_0x3b3df4(0x368)]('-o,\x20--output\x20<file>',a2_0x3b3df4(0x27c))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3d0),a2_0x3b3df4(0x2c6))['action'](async(_0x343d45,_0x240028)=>{const _0x6060a2=a2_0x3b3df4,_0x8054cf=new ParentSegmentPullCommand(),_0x40d131=program[_0x6060a2(0x428)](),_0x382ee8=await createTDXInstance(_0x40d131),_0x5a74d6=await _0x8054cf[_0x6060a2(0x277)]({'options':{..._0x40d131,..._0x240028},'args':_0x343d45?[_0x343d45]:[],'tdx':_0x382ee8});gracefulExit(_0x5a74d6);}),parentSegmentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x1f5))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x450))[a2_0x3b3df4(0x204)](async(_0xdb4c40,_0xc3e892)=>{const _0x4c4127=a2_0x3b3df4,_0x502cea=new ParentSegmentPushCommand(),_0x2be9d6=program['opts'](),_0x1eed23=await createTDXInstance(_0x2be9d6),_0x1af3cb=await _0x502cea[_0x4c4127(0x277)]({'options':{..._0x2be9d6,..._0xc3e892},'args':_0xdb4c40?[_0xdb4c40]:[],'tdx':_0x1eed23});gracefulExit(_0x1af3cb);}),parentSegmentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x40a))[a2_0x3b3df4(0x3d6)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x3b3df4(0x368)]('--master','Show\x20only\x20master\x20table\x20validation')[a2_0x3b3df4(0x368)]('--attribute\x20[name]',a2_0x3b3df4(0x264))[a2_0x3b3df4(0x368)]('--behavior\x20[name]',a2_0x3b3df4(0x20d))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x25d),a2_0x3b3df4(0x198))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2cd),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x3b3df4(0x1ee))[a2_0x3b3df4(0x204)](async(_0x449c0f,_0xd18a8e)=>{const _0x53e7e1=a2_0x3b3df4,_0x363d03=new ParentSegmentValidateCommand(),_0x395241=program[_0x53e7e1(0x428)](),_0x234332=await createTDXInstance(_0x395241),_0x3e8d87=await _0x363d03[_0x53e7e1(0x277)]({'options':{..._0x395241,..._0xd18a8e},'args':_0x449c0f?[_0x449c0f]:[],'tdx':_0x234332});gracefulExit(_0x3e8d87);}),parentSegmentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x232))['description'](a2_0x3b3df4(0x2e2))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3a2),a2_0x3b3df4(0x1b7))['option'](a2_0x3b3df4(0x286),a2_0x3b3df4(0x3b1))['option'](a2_0x3b3df4(0x3b0),a2_0x3b3df4(0x188))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x25d),a2_0x3b3df4(0x15a))['option'](a2_0x3b3df4(0x2cd),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x3b3df4(0x1ee))[a2_0x3b3df4(0x204)](async(_0x5a247f,_0x52398e)=>{const _0x5bbe15=a2_0x3b3df4,_0x10b42d=new ParentSegmentPreviewCommand(),_0x45ea5d=program['opts'](),_0x1855cf=await createTDXInstance(_0x45ea5d),_0x4e0e94=await _0x10b42d[_0x5bbe15(0x277)]({'options':{..._0x45ea5d,..._0x52398e},'args':_0x5a247f?[_0x5a247f]:[],'tdx':_0x1855cf});gracefulExit(_0x4e0e94);}),parentSegmentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x2b3))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x3cc))['action'](async(_0x435722,_0x1dc967)=>{const _0x497969=a2_0x3b3df4,_0x36afff=new ParentSegmentRunCommand(),_0x242959=program[_0x497969(0x428)](),_0x1305a4=await createTDXInstance(_0x242959),_0x346f53=await _0x36afff['run']({'options':{..._0x242959,..._0x1dc967},'args':_0x435722?[_0x435722]:[],'tdx':_0x1305a4});gracefulExit(_0x346f53);}),parentSegmentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x1b9))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x3d8))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x456),a2_0x3b3df4(0x331))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x384),a2_0x3b3df4(0x15f))[a2_0x3b3df4(0x204)](async(_0x2fda46,_0xc7699c)=>{const _0x560b20=a2_0x3b3df4,_0x6ccee6=new ParentSegmentFieldsCommand(),_0x235b92=program[_0x560b20(0x428)](),_0x5330bb=await createTDXInstance(_0x235b92),_0x357e48=await _0x6ccee6[_0x560b20(0x277)]({'options':{..._0x235b92,..._0xc7699c},'args':_0x2fda46?[_0x2fda46]:[],'tdx':_0x5330bb});gracefulExit(_0x357e48);}),parentSegmentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x3d7))[a2_0x3b3df4(0x3d6)]('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2ae),a2_0x3b3df4(0x427))['option'](a2_0x3b3df4(0x456),a2_0x3b3df4(0x331))['option'](a2_0x3b3df4(0x384),a2_0x3b3df4(0x15f))[a2_0x3b3df4(0x204)](async(_0x4d8b2f,_0x4da307)=>{const _0xfdfe2b=a2_0x3b3df4,_0x5e566a=new ParentSegmentViewCommand(),_0x508665=program[_0xfdfe2b(0x428)](),_0x17fc16=await createTDXInstance(_0x508665),_0x3a6d18=await _0x5e566a['run']({'options':{..._0x508665,..._0x4da307},'args':_0x4d8b2f?[_0x4d8b2f]:[],'tdx':_0x17fc16});gracefulExit(_0x3a6d18);}),parentSegmentCmd[a2_0x3b3df4(0x223)]('desc\x20[name]')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x32f))['option'](a2_0x3b3df4(0x29e),a2_0x3b3df4(0x27c))['option'](a2_0x3b3df4(0x456),'Output\x20as\x20JSON')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x384),a2_0x3b3df4(0x15f))['action'](async(_0x57c4c5,_0x2c43f9)=>{const _0x21ca68=a2_0x3b3df4,_0x30d38a=new ParentSegmentDescCommand(),_0x468752=program[_0x21ca68(0x428)](),_0x47a5ab=await createTDXInstance(_0x468752),_0x392d34=await _0x30d38a[_0x21ca68(0x277)]({'options':{..._0x468752,..._0x2c43f9},'args':_0x57c4c5?[_0x57c4c5]:[],'tdx':_0x47a5ab});gracefulExit(_0x392d34);}),parentSegmentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x321))['description'](a2_0x3b3df4(0x271))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x456),a2_0x3b3df4(0x331))[a2_0x3b3df4(0x368)]('--jsonl','Output\x20as\x20JSON\x20Lines')[a2_0x3b3df4(0x204)](async(_0x37c6cc,_0x19e381)=>{const _0x2cafd9=a2_0x3b3df4,_0x467224=new ParentSegmentSQLCommand(),_0x383a03=program['opts'](),_0x24eccd=await createTDXInstance(_0x383a03),_0x142b20=await _0x467224[_0x2cafd9(0x277)]({'options':{..._0x383a03,..._0x19e381},'args':_0x37c6cc?[_0x37c6cc]:[],'tdx':_0x24eccd});gracefulExit(_0x142b20);}),parentSegmentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x21b))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x34b))[a2_0x3b3df4(0x368)]('--limit\x20<n>',a2_0x3b3df4(0x177))[a2_0x3b3df4(0x368)]('--json',a2_0x3b3df4(0x331))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x384),a2_0x3b3df4(0x15f))[a2_0x3b3df4(0x204)](async(_0xe02080,_0x25a3ca)=>{const _0x2415fd=a2_0x3b3df4,_0x472b35=new ParentSegmentShowCommand(),_0x34d4cf=program[_0x2415fd(0x428)](),_0x2746e0=await createTDXInstance(_0x34d4cf),_0x4ab7ad=await _0x472b35[_0x2415fd(0x277)]({'options':{..._0x34d4cf,..._0x25a3ca},'args':_0xe02080?[_0xe02080]:[],'tdx':_0x2746e0});gracefulExit(_0x4ab7ad);}),parentSegmentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x439))[a2_0x3b3df4(0x3d6)]('Set\x20or\x20show\x20parent\x20segment\x20context')['action'](async(_0x2d5ef0,_0x1ba625)=>{const _0x458183=a2_0x3b3df4,_0x4b65a4=new UseCommand(),_0x202f22=program['opts'](),_0x52c183=_0x2d5ef0?[_0x458183(0x1be),_0x2d5ef0]:[],_0x53f714=await _0x4b65a4[_0x458183(0x277)]({'options':{..._0x202f22,..._0x1ba625},'args':_0x52c183,'tdx':null});gracefulExit(_0x53f714);});const psRtCmd=parentSegmentCmd['command']('rt')['description'](a2_0x3b3df4(0x385));psRtCmd['command']('list\x20[pattern]')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x44f))['action'](async(_0x19b7d5,_0x24fdc2)=>{const _0x5c7381=a2_0x3b3df4,_0x268633=new PSRtListCommand(),_0x3f19ef=program[_0x5c7381(0x428)](),_0x11f2fb=await createTDXInstance(_0x3f19ef),_0x20b113=await _0x268633['run']({'options':{..._0x3f19ef,..._0x24fdc2},'args':_0x19b7d5?[_0x19b7d5]:[],'tdx':_0x11f2fb});gracefulExit(_0x20b113);}),psRtCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x40a))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x2c8))['action'](async(_0x3b92e4,_0x2fcff0)=>{const _0x146d20=a2_0x3b3df4,_0x200882=new PSRtValidateCommand(),_0x40fcd3=program[_0x146d20(0x428)](),_0x1a3a28=await createTDXInstance(_0x40fcd3),_0x4c6938=await _0x200882[_0x146d20(0x277)]({'options':{..._0x40fcd3,..._0x2fcff0},'args':_0x3b92e4?[_0x3b92e4]:[],'tdx':_0x1a3a28});gracefulExit(_0x4c6938);}),psRtCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x2fe))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x1f3))[a2_0x3b3df4(0x204)](async(_0xc3605d,_0x59eebe)=>{const _0x454c18=a2_0x3b3df4,_0x453750=new PSRtConfigVersionCommand(),_0x2a6b1a=program[_0x454c18(0x428)](),_0x2f4e19=await createTDXInstance(_0x2a6b1a),_0x682bc6=await _0x453750[_0x454c18(0x277)]({'options':{..._0x2a6b1a,..._0x59eebe},'args':_0xc3605d?[_0xc3605d]:[],'tdx':_0x2f4e19});gracefulExit(_0x682bc6);});const psRtJnCmd=psRtCmd[a2_0x3b3df4(0x223)]('jn')['description']('RT\x20Journey\x20management');psRtJnCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x278))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x168))[a2_0x3b3df4(0x204)](async(_0x595dea,_0x49d51d)=>{const _0x1e063f=a2_0x3b3df4,_0x56609b=new PSRtJnListCommand(),_0x3cdfbc=program[_0x1e063f(0x428)](),_0x1a3cc6=await createTDXInstance(_0x3cdfbc),_0x4cdc15=await _0x56609b[_0x1e063f(0x277)]({'options':{..._0x3cdfbc,..._0x49d51d},'args':_0x595dea?[_0x595dea]:[],'tdx':_0x1a3cc6});gracefulExit(_0x4cdc15);}),psRtJnCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x39c))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x325))['action'](async(_0x59b776,_0x3970b9)=>{const _0x58b241=a2_0x3b3df4,_0x379d53=new PSRtJnPauseCommand(),_0x57afb6=program[_0x58b241(0x428)](),_0x2aad7b=await createTDXInstance(_0x57afb6),_0x10f0fe=await _0x379d53[_0x58b241(0x277)]({'options':{..._0x57afb6,..._0x3970b9},'args':[_0x59b776],'tdx':_0x2aad7b});gracefulExit(_0x10f0fe);}),psRtJnCmd['command'](a2_0x3b3df4(0x22a))['description'](a2_0x3b3df4(0x333))[a2_0x3b3df4(0x204)](async(_0x1a1a83,_0x431bfa)=>{const _0x8a7977=a2_0x3b3df4,_0x12bd33=new PSRtJnResumeCommand(),_0xb8b773=program[_0x8a7977(0x428)](),_0x55d7b5=await createTDXInstance(_0xb8b773),_0x180bab=await _0x12bd33[_0x8a7977(0x277)]({'options':{..._0xb8b773,..._0x431bfa},'args':[_0x1a1a83],'tdx':_0x55d7b5});gracefulExit(_0x180bab);});const parentRtCmd=parentCmd[a2_0x3b3df4(0x223)]('rt',{'hidden':!![]})[a2_0x3b3df4(0x3d6)]('RT\x202.0\x20configuration\x20management');parentRtCmd['command'](a2_0x3b3df4(0x22d))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x44f))[a2_0x3b3df4(0x204)](async(_0x4b7368,_0x843bd2)=>{const _0x3d5516=a2_0x3b3df4,_0x1b4316=new PSRtListCommand(),_0x1e7575=program[_0x3d5516(0x428)](),_0x324b8b=await createTDXInstance(_0x1e7575),_0x3f4d63=await _0x1b4316[_0x3d5516(0x277)]({'options':{..._0x1e7575,..._0x843bd2},'args':_0x4b7368?[_0x4b7368]:[],'tdx':_0x324b8b});gracefulExit(_0x3f4d63);}),parentRtCmd['command'](a2_0x3b3df4(0x40a))['description'](a2_0x3b3df4(0x2c8))[a2_0x3b3df4(0x204)](async(_0x6a733d,_0x59bc42)=>{const _0x217d6e=a2_0x3b3df4,_0x5db2b5=new PSRtValidateCommand(),_0x2e0c69=program[_0x217d6e(0x428)](),_0x4fce07=await createTDXInstance(_0x2e0c69),_0x18d46d=await _0x5db2b5[_0x217d6e(0x277)]({'options':{..._0x2e0c69,..._0x59bc42},'args':_0x6a733d?[_0x6a733d]:[],'tdx':_0x4fce07});gracefulExit(_0x18d46d);});const psPzCmd=parentSegmentCmd['command']('pz')['description'](a2_0x3b3df4(0x1b5));psPzCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x278))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x1e5))[a2_0x3b3df4(0x204)](async(_0x375879,_0x50534b)=>{const _0x4159c2=a2_0x3b3df4,_0x2495f4=new PSPzListCommand(),_0xe85044=program[_0x4159c2(0x428)](),_0x3d033d=await createTDXInstance(_0xe85044),_0x12599e=await _0x2495f4['run']({'options':{..._0xe85044,..._0x50534b},'args':_0x375879?[_0x375879]:[],'tdx':_0x3d033d});gracefulExit(_0x12599e);}),psPzCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x14e))[a2_0x3b3df4(0x3d6)]('Show\x20a\x20specific\x20realtime\x20personalization')[a2_0x3b3df4(0x204)](async(_0x2889d6,_0x1d0556)=>{const _0x5784d8=a2_0x3b3df4,_0x5b566f=new PSPzShowCommand(),_0x2d40fe=program['opts'](),_0xdb572a=await createTDXInstance(_0x2d40fe),_0x232beb=await _0x5b566f[_0x5784d8(0x277)]({'options':{..._0x2d40fe,..._0x1d0556},'args':[_0x2889d6],'tdx':_0xdb572a});gracefulExit(_0x232beb);}),psPzCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x288))['description'](a2_0x3b3df4(0x22f))[a2_0x3b3df4(0x204)](async(_0x5cb837,_0x5ba3db)=>{const _0x1fb8a0=a2_0x3b3df4,_0x474ca1=new PSPzDeleteCommand(),_0x22f254=program[_0x1fb8a0(0x428)](),_0x33dcc0=await createTDXInstance(_0x22f254),_0x4f159e=await _0x474ca1['run']({'options':{..._0x22f254,..._0x5ba3db},'args':[_0x5cb837],'tdx':_0x33dcc0});gracefulExit(_0x4f159e);}),psPzCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x394))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x3a4))[a2_0x3b3df4(0x368)]('--name\x20<text>','Personalization\x20name')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x425),a2_0x3b3df4(0x20e))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2f6),a2_0x3b3df4(0x2ec))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x21f),'Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x300),'Sections\x20as\x20an\x20inline\x20JSON\x20array')[a2_0x3b3df4(0x368)]('--file\x20<path>','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)')[a2_0x3b3df4(0x204)](async _0x145dfc=>{const _0x4b7e68=new PSPzCreateCommand(),_0x4eddfa=program['opts'](),_0x3d231f=await createTDXInstance(_0x4eddfa),_0x106bc1=await _0x4b7e68['run']({'options':{..._0x4eddfa,..._0x145dfc},'args':[],'tdx':_0x3d231f});gracefulExit(_0x106bc1);}),psPzCmd['command'](a2_0x3b3df4(0x3f0))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x42e))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x257),a2_0x3b3df4(0x391))['option'](a2_0x3b3df4(0x425),'Personalization\x20description')['option'](a2_0x3b3df4(0x300),a2_0x3b3df4(0x17c))['option']('--file\x20<path>',a2_0x3b3df4(0x316))[a2_0x3b3df4(0x204)](async(_0x59b505,_0x55af92)=>{const _0x1af79b=a2_0x3b3df4,_0x2f1505=new PSPzPatchCommand(),_0x51fc52=program[_0x1af79b(0x428)](),_0x4b0051=await createTDXInstance(_0x51fc52),_0x31c3e6=await _0x2f1505[_0x1af79b(0x277)]({'options':{..._0x51fc52,..._0x55af92},'args':[_0x59b505],'tdx':_0x4b0051});gracefulExit(_0x31c3e6);});const psPzServiceCmd=psPzCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x18c))['description'](a2_0x3b3df4(0x36e));psPzServiceCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x278))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x33b))[a2_0x3b3df4(0x204)](async(_0x13f156,_0x4d2e46)=>{const _0xda3733=a2_0x3b3df4,_0x1a6dd3=new PSPzServiceListCommand(),_0x285686=program[_0xda3733(0x428)](),_0x3aa494=await createTDXInstance(_0x285686),_0x20a70d=await _0x1a6dd3['run']({'options':{..._0x285686,..._0x4d2e46},'args':_0x13f156?[_0x13f156]:[],'tdx':_0x3aa494});gracefulExit(_0x20a70d);}),psPzServiceCmd['command']('create\x20<name>\x20[parent_segment]')[a2_0x3b3df4(0x3d6)]('Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x425),a2_0x3b3df4(0x2ff))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x296),a2_0x3b3df4(0x31b))['action'](async(_0x1b4aef,_0x3a1772,_0x126255)=>{const _0x123f44=a2_0x3b3df4,_0x54b314=new PSPzServiceCreateCommand(),_0x300ff6=program[_0x123f44(0x428)](),_0x32a91c=await createTDXInstance(_0x300ff6),_0x556d00=await _0x54b314[_0x123f44(0x277)]({'options':{..._0x300ff6,..._0x126255},'args':_0x3a1772?[_0x1b4aef,_0x3a1772]:[_0x1b4aef],'tdx':_0x32a91c});gracefulExit(_0x556d00);}),psPzServiceCmd[a2_0x3b3df4(0x223)]('show\x20<service_id>\x20[parent_segment]')['description'](a2_0x3b3df4(0x1b8))[a2_0x3b3df4(0x204)](async(_0x1fb946,_0x2c4d84,_0x41c83a)=>{const _0x5eabb8=a2_0x3b3df4,_0x1657f4=new PSPzServiceShowCommand(),_0x45dfed=program['opts'](),_0x9013ca=await createTDXInstance(_0x45dfed),_0x4356e3=await _0x1657f4[_0x5eabb8(0x277)]({'options':{..._0x45dfed,..._0x41c83a},'args':_0x2c4d84?[_0x1fb946,_0x2c4d84]:[_0x1fb946],'tdx':_0x9013ca});gracefulExit(_0x4356e3);}),psPzServiceCmd['command'](a2_0x3b3df4(0x34e))['description'](a2_0x3b3df4(0x20b))[a2_0x3b3df4(0x204)](async(_0x91a16f,_0x3be9a6,_0x242777)=>{const _0x396b0c=a2_0x3b3df4,_0x117fe3=new PSPzServiceDeleteCommand(),_0x444ebd=program[_0x396b0c(0x428)](),_0x11cc63=await createTDXInstance(_0x444ebd),_0x33d96e=await _0x117fe3[_0x396b0c(0x277)]({'options':{..._0x444ebd,..._0x242777},'args':_0x3be9a6?[_0x91a16f,_0x3be9a6]:[_0x91a16f],'tdx':_0x11cc63});gracefulExit(_0x33d96e);}),psPzServiceCmd['command'](a2_0x3b3df4(0x20f))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x298))[a2_0x3b3df4(0x361)](a2_0x3b3df4(0x280),'New\x20service\x20name')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x425),a2_0x3b3df4(0x16f))['action'](async(_0xa37de4,_0x4855ea,_0x2a7d0b)=>{const _0xd7a01f=a2_0x3b3df4,_0x91d241=new PSPzServiceUpdateCommand(),_0x202d70=program[_0xd7a01f(0x428)](),_0x4591f6=await createTDXInstance(_0x202d70),_0x25574d=await _0x91d241['run']({'options':{..._0x202d70,..._0x2a7d0b},'args':_0x4855ea?[_0xa37de4,_0x4855ea]:[_0xa37de4],'tdx':_0x4591f6});gracefulExit(_0x25574d);}),psPzServiceCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x2ea))['description'](a2_0x3b3df4(0x340))[a2_0x3b3df4(0x204)](async(_0x354c2a,_0xddba77)=>{const _0x31b694=a2_0x3b3df4,_0x4d3958=new PSPzInitCommand(),_0x34d46b=program[_0x31b694(0x428)](),_0x3d5507=await createTDXInstance(_0x34d46b),_0x4444ae=await _0x4d3958[_0x31b694(0x277)]({'options':{..._0x34d46b,..._0xddba77},'args':_0x354c2a?[_0x354c2a]:[],'tdx':_0x3d5507});gracefulExit(_0x4444ae);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x329))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x36a));psPzServiceTokenCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x1cd))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x39d))['option']('--allowed-ips\x20<ips>',a2_0x3b3df4(0x31d))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x425),'Token\x20description')['action'](async(_0x190ddf,_0x3b2856,_0x3b5abc,_0x4d76f7)=>{const _0x32d9ff=a2_0x3b3df4,_0x455b21=new PSPzServiceTokenCreateCommand(),_0x4bc0c3=program[_0x32d9ff(0x428)](),_0x2c400e=await createTDXInstance(_0x4bc0c3),_0x1ec38f=await _0x455b21[_0x32d9ff(0x277)]({'options':{..._0x4bc0c3,..._0x4d76f7},'args':_0x3b5abc?[_0x190ddf,_0x3b2856,_0x3b5abc]:[_0x190ddf,_0x3b2856],'tdx':_0x2c400e});gracefulExit(_0x1ec38f);}),psPzServiceTokenCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x2dc))['description']('Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x3b3df4(0x204)](async(_0x396030,_0x452440,_0x17adf2)=>{const _0x4a3126=a2_0x3b3df4,_0x427193=new PSPzServiceTokenDeleteCommand(),_0x18f2b6=program[_0x4a3126(0x428)](),_0x335fe3=await createTDXInstance(_0x18f2b6),_0x2c5321=await _0x427193[_0x4a3126(0x277)]({'options':{..._0x18f2b6,..._0x17adf2},'args':_0x452440?[_0x396030,_0x452440]:[_0x396030],'tdx':_0x335fe3});gracefulExit(_0x2c5321);}),parentCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x1cf))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x408))['requiredOption'](a2_0x3b3df4(0x26e),a2_0x3b3df4(0x274))[a2_0x3b3df4(0x361)](a2_0x3b3df4(0x2a9),a2_0x3b3df4(0x380))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x425),a2_0x3b3df4(0x369))['option'](a2_0x3b3df4(0x350),a2_0x3b3df4(0x1e7))['option'](a2_0x3b3df4(0x239),a2_0x3b3df4(0x1e8))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x355),a2_0x3b3df4(0x2ba))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x165),a2_0x3b3df4(0x3c0))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x1e9),a2_0x3b3df4(0x3d3))['option'](a2_0x3b3df4(0x1fe),a2_0x3b3df4(0x416))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x19b),a2_0x3b3df4(0x1d3))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x458),a2_0x3b3df4(0x243))[a2_0x3b3df4(0x368)]('--customer-group-file\x20<file>','Customer\x20group\x20from\x20JSON\x20file')['action'](async(_0x2a6791,_0x4cedf5)=>{const _0x2d3ef6=a2_0x3b3df4,_0x5e8571=new ParentSegmentCreateCommand(),_0x2aba6c=program[_0x2d3ef6(0x428)](),_0x520980=await createTDXInstance(_0x2aba6c),_0x3b1246=await _0x5e8571[_0x2d3ef6(0x277)]({'options':{..._0x2aba6c,..._0x4cedf5},'args':[_0x2a6791],'tdx':_0x520980});gracefulExit(_0x3b1246);}),parentCmd[a2_0x3b3df4(0x223)]('update\x20<name>')[a2_0x3b3df4(0x3d6)]('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')['option']('--description\x20<text>',a2_0x3b3df4(0x23d))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x350),'Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x3b3df4(0x368)]('--schedule-option\x20<value>',a2_0x3b3df4(0x2a3))[a2_0x3b3df4(0x368)]('--timezone\x20<tz>','Updated\x20timezone')[a2_0x3b3df4(0x368)]('--add-attributes\x20<json>',a2_0x3b3df4(0x26f))['option'](a2_0x3b3df4(0x1e4),a2_0x3b3df4(0x157))['option'](a2_0x3b3df4(0x249),a2_0x3b3df4(0x238))['option'](a2_0x3b3df4(0x17b),a2_0x3b3df4(0x3fb))['action'](async(_0x33140d,_0x466534)=>{const _0x449a63=a2_0x3b3df4,_0x282f6b=new ParentSegmentUpdateCommand(),_0x73ae9f=program[_0x449a63(0x428)](),_0x589b1f=await createTDXInstance(_0x73ae9f),_0xd9641f=await _0x282f6b[_0x449a63(0x277)]({'options':{..._0x73ae9f,..._0x466534},'args':[_0x33140d],'tdx':_0x589b1f});gracefulExit(_0xd9641f);}),folderCmd['command']('create\x20<parent_name>\x20<folder_name>')[a2_0x3b3df4(0x3d6)]('Create\x20segment\x20folder')['option'](a2_0x3b3df4(0x425),a2_0x3b3df4(0x3a8))[a2_0x3b3df4(0x368)]('--parent-folder\x20<name>','Parent\x20folder\x20name\x20for\x20nested\x20folders')[a2_0x3b3df4(0x204)](async(_0x29f7de,_0xcf95fd,_0x300d61)=>{const _0x1718b7=a2_0x3b3df4,_0x52659d=new SegmentFolderCreateCommand(),_0x5e8997=program[_0x1718b7(0x428)](),_0x5a6d8f=await createTDXInstance(_0x5e8997),_0x518658=await _0x52659d[_0x1718b7(0x277)]({'options':{..._0x5e8997,..._0x300d61},'args':[_0x29f7de,_0xcf95fd],'tdx':_0x5a6d8f});gracefulExit(_0x518658);}),program[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x228))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x14a))[a2_0x3b3df4(0x204)](async(_0x2ec9d5,_0x66ab21)=>{const _0x4bd187=a2_0x3b3df4,_0x3bb0c3=new ActivationsCommand(),_0x41d991=program[_0x4bd187(0x428)](),_0x3aedee=await createTDXInstance(_0x41d991),_0x5e5364=await _0x3bb0c3['run']({'options':{..._0x41d991,..._0x66ab21},'args':[_0x2ec9d5],'tdx':_0x3aedee});gracefulExit(_0x5e5364);});const workflowCmd=program[a2_0x3b3df4(0x223)]('workflow')[a2_0x3b3df4(0x2ad)]('wf')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x14f)),wfProjectCmd=workflowCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x231))[a2_0x3b3df4(0x3d6)]('Workflow\x20project\x20management'),wfProjectListAction=async(_0x46972d,_0x14bc31)=>{const _0x51d724=a2_0x3b3df4,_0x25fe46=new WorkflowProjectsCommand(),_0x3b2eaf=program[_0x51d724(0x428)](),_0x39bc30=await createTDXInstance(_0x3b2eaf),_0x68d163=await _0x25fe46[_0x51d724(0x277)]({'options':{..._0x3b2eaf,..._0x14bc31},'args':_0x46972d?[_0x46972d]:[],'tdx':_0x39bc30});gracefulExit(_0x68d163);};wfProjectCmd[a2_0x3b3df4(0x223)]('list\x20[pattern]')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x245))[a2_0x3b3df4(0x204)](wfProjectListAction),workflowCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x429))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x3ff))['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x5296da,_0x529aa8)=>{const _0x2c25c7=a2_0x3b3df4,_0x7b6583=new WorkflowWorkflowsCommand(),_0x3a0f52=program[_0x2c25c7(0x428)](),_0xdf37ad=await createTDXInstance(_0x3a0f52),_0x190db4=await _0x7b6583[_0x2c25c7(0x277)]({'options':{..._0x3a0f52,..._0x529aa8},'args':_0x5296da?[_0x5296da]:[],'tdx':_0xdf37ad});gracefulExit(_0x190db4);};workflowCmd[a2_0x3b3df4(0x223)]('workflows\x20[project]')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x154))[a2_0x3b3df4(0x204)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x26d))['description'](a2_0x3b3df4(0x2b7)),wfSessionListAction=async(_0x498e72,_0x57d8ac)=>{const _0x4a33d3=a2_0x3b3df4,_0x215462=new WorkflowSessionsCommand(),_0x3ce272=program['opts'](),_0x2525c4=await createTDXInstance(_0x3ce272),_0x85669a=await _0x215462[_0x4a33d3(0x277)]({'options':{..._0x3ce272,..._0x57d8ac},'args':_0x498e72?[_0x498e72]:[],'tdx':_0x2525c4});gracefulExit(_0x85669a);};wfSessionCmd['command'](a2_0x3b3df4(0x44d))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x387))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3f6),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')['option'](a2_0x3b3df4(0x283),a2_0x3b3df4(0x14b))[a2_0x3b3df4(0x368)]('--to\x20<timestamp>','End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x3b3df4(0x204)](wfSessionListAction),workflowCmd[a2_0x3b3df4(0x223)]('sessions\x20[project]')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x235))[a2_0x3b3df4(0x368)]('--status\x20<status>',a2_0x3b3df4(0x1c5))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x283),a2_0x3b3df4(0x14b))[a2_0x3b3df4(0x368)]('--to\x20<timestamp>','End\x20time\x20filter\x20(ISO\x208601\x20format)')['action'](wfSessionListAction);const wfAttemptListAction=async(_0x5ceead,_0x5efe65)=>{const _0x513000=a2_0x3b3df4,_0x4784ae=new WorkflowAttemptsCommand(),_0x7e89d=program[_0x513000(0x428)](),_0x3f4b28=await createTDXInstance(_0x7e89d),_0x4f268c=await _0x4784ae[_0x513000(0x277)]({'options':{..._0x7e89d,..._0x5efe65},'args':_0x5ceead?[_0x5ceead]:[],'tdx':_0x3f4b28});gracefulExit(_0x4f268c);},attemptCmd=workflowCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x214))['description'](a2_0x3b3df4(0x3ee))[a2_0x3b3df4(0x208)]('[attempt-id]','Attempt\x20ID')['argument'](a2_0x3b3df4(0x426),'Action:\x20logs,\x20tasks,\x20kill,\x20retry')[a2_0x3b3df4(0x208)](a2_0x3b3df4(0x24f),'Task\x20name\x20for\x20logs\x20action')[a2_0x3b3df4(0x368)]('--include-subtasks',a2_0x3b3df4(0x251))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x217),a2_0x3b3df4(0x16e))['option'](a2_0x3b3df4(0x1a5),'Resume\x20from\x20specific\x20task\x20(retry)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2a2),'Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x15c),a2_0x3b3df4(0x37b))[a2_0x3b3df4(0x368)]('--include-retried',a2_0x3b3df4(0x36b))[a2_0x3b3df4(0x204)](async(_0x501dea,_0x4dd78d,_0xbcce84,_0x546a75)=>{const _0x53ac78=a2_0x3b3df4;if(_0x501dea===_0x53ac78(0x33f)){await wfAttemptListAction(_0x4dd78d,_0x546a75);return;}if(!_0x501dea){attemptCmd[_0x53ac78(0x330)]();return;}const _0x2991d7=program[_0x53ac78(0x428)](),_0x43500a=await createTDXInstance(_0x2991d7);let _0x35dcf0=0x0;if(!_0x4dd78d){const _0x29cb25=new WorkflowAttemptCommand();_0x35dcf0=await _0x29cb25['run']({'options':{..._0x2991d7,..._0x546a75},'args':[_0x501dea],'tdx':_0x43500a});}else{if(_0x4dd78d===_0x53ac78(0x45a)){const _0x12ef06=new WorkflowLogsCommand();_0x35dcf0=await _0x12ef06['run']({'options':{..._0x2991d7,..._0x546a75},'args':_0xbcce84?[_0x501dea,_0xbcce84]:[_0x501dea],'tdx':_0x43500a});}else{if(_0x4dd78d===_0x53ac78(0x20c)){const _0x36f35f=new WorkflowTasksCommand();_0x35dcf0=await _0x36f35f[_0x53ac78(0x277)]({'options':{..._0x2991d7,..._0x546a75},'args':[_0x501dea],'tdx':_0x43500a});}else{if(_0x4dd78d===_0x53ac78(0x1b0)){const _0xb6839b=new WorkflowKillCommand();_0x35dcf0=await _0xb6839b[_0x53ac78(0x277)]({'options':{..._0x2991d7,..._0x546a75},'args':[_0x501dea],'tdx':_0x43500a});}else{if(_0x4dd78d===_0x53ac78(0x18e)){const _0x59400a=new WorkflowRetryCommand();_0x35dcf0=await _0x59400a[_0x53ac78(0x277)]({'options':{..._0x2991d7,..._0x546a75},'args':[_0x53ac78(0x351)+_0x501dea],'tdx':_0x43500a});}else console[_0x53ac78(0x2f1)](_0x53ac78(0x309)+_0x4dd78d),console[_0x53ac78(0x2f1)](_0x53ac78(0x205)),_0x35dcf0=0x1;}}}}gracefulExit(_0x35dcf0);});attemptCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x44d))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x28b))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x1d1),'Include\x20retried\x20attempts')['action'](wfAttemptListAction),workflowCmd['command'](a2_0x3b3df4(0x1f8))[a2_0x3b3df4(0x3d6)]('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')['option'](a2_0x3b3df4(0x1d1),'Include\x20retried\x20attempts')[a2_0x3b3df4(0x204)](wfAttemptListAction),workflowCmd['command']('timeline\x20[project.workflow]')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x39e))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x16b),'Follow/watch\x20timeline\x20for\x20running\x20attempts')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x362),a2_0x3b3df4(0x291))[a2_0x3b3df4(0x368)]('--attempt-id\x20<id>',a2_0x3b3df4(0x3b7))[a2_0x3b3df4(0x204)](async(_0x1895eb,_0x30dc34)=>{const _0x5c5aa1=a2_0x3b3df4,_0x6b27f6=new WorkflowTimelineCommand(),_0x4e4afb=program[_0x5c5aa1(0x428)](),_0xe9acbb=await createTDXInstance(_0x4e4afb),_0x273d88=await _0x6b27f6['run']({'options':{..._0x4e4afb,..._0x30dc34},'args':_0x1895eb?[_0x1895eb]:[],'tdx':_0xe9acbb});gracefulExit(_0x273d88);}),workflowCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x43f))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x3c2))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x150),a2_0x3b3df4(0x2e4))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2a2),a2_0x3b3df4(0x1db))['action'](async(_0x1dbedf,_0xf646d8)=>{const _0x1ae1e2=a2_0x3b3df4,_0x5445c0=new WorkflowRetryCommand(),_0x2e10cc=program[_0x1ae1e2(0x428)](),_0x7e2f0f=await createTDXInstance(_0x2e10cc),_0x35ec7d=await _0x5445c0[_0x1ae1e2(0x277)]({'options':{..._0x2e10cc,..._0xf646d8},'args':[_0x1dbedf],'tdx':_0x7e2f0f});gracefulExit(_0x35ec7d);}),workflowCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x443))['description'](a2_0x3b3df4(0x3bf))['option'](a2_0x3b3df4(0x26c),a2_0x3b3df4(0x207),(_0x3e849d,_0x589083=[])=>[..._0x589083,_0x3e849d],[])[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x399),a2_0x3b3df4(0x3ae))[a2_0x3b3df4(0x204)](async(_0x15566f,_0x52d865)=>{const _0xefea47=a2_0x3b3df4,_0x426ac3=new WorkflowRunCommand(),_0x15f2e5=program[_0xefea47(0x428)](),_0x40bf97=await createTDXInstance(_0x15f2e5),_0x20a848=await _0x426ac3[_0xefea47(0x277)]({'options':{..._0x15f2e5,..._0x52d865},'args':_0x15566f?[_0x15566f]:[],'tdx':_0x40bf97});gracefulExit(_0x20a848);}),workflowCmd['command']('download\x20<project-name>\x20[output-dir]')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x2a7))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x364),a2_0x3b3df4(0x324))[a2_0x3b3df4(0x204)](async(_0x10923f,_0x403719,_0x5a0d8c)=>{const _0x46c862=a2_0x3b3df4,_0x167fe1=new WorkflowDownloadCommand(),_0x4ee211=program[_0x46c862(0x428)](),_0x42b3c5=await createTDXInstance(_0x4ee211),_0x49d22b=await _0x167fe1[_0x46c862(0x277)]({'options':{..._0x4ee211,..._0x5a0d8c},'args':[_0x10923f,_0x403719||'.'],'tdx':_0x42b3c5});gracefulExit(_0x49d22b);}),workflowCmd[a2_0x3b3df4(0x223)]('pull\x20<project>\x20[target-dir]')[a2_0x3b3df4(0x3d6)]('Pull\x20workflow\x20project\x20to\x20local\x20folder')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x364),a2_0x3b3df4(0x295))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x339),'Preview\x20changes\x20without\x20writing\x20files')[a2_0x3b3df4(0x204)](async(_0x54ccad,_0x1803c7,_0x3748fd)=>{const _0x11df3d=a2_0x3b3df4,_0x3f967f=new WorkflowPullCommand(),_0x40e00c=program[_0x11df3d(0x428)](),_0x5de04c=await createTDXInstance(_0x40e00c),_0x22a588=await _0x3f967f[_0x11df3d(0x277)]({'options':{..._0x40e00c,..._0x3748fd},'args':_0x1803c7?[_0x54ccad,_0x1803c7]:[_0x54ccad],'tdx':_0x5de04c});gracefulExit(_0x22a588);}),workflowCmd['command'](a2_0x3b3df4(0x38b))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x221))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x364),'Custom\x20revision\x20name\x20(default:\x20timestamp)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x339),a2_0x3b3df4(0x2f8))[a2_0x3b3df4(0x368)]('--skip-validation',a2_0x3b3df4(0x1eb))[a2_0x3b3df4(0x204)](async(_0x4da5e1,_0xfe176d)=>{const _0x5a8ae6=a2_0x3b3df4,_0x1d1d00=new WorkflowPushCommand(),_0x10a007=program[_0x5a8ae6(0x428)](),_0x341d3d=await createTDXInstance(_0x10a007),_0x29d6f0=await _0x1d1d00[_0x5a8ae6(0x277)]({'options':{..._0x10a007,..._0xfe176d},'args':_0x4da5e1?[_0x4da5e1]:[],'tdx':_0x341d3d});gracefulExit(_0x29d6f0);}),workflowCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x149))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x229))[a2_0x3b3df4(0x368)]('--name\x20<name>',a2_0x3b3df4(0x29a))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x364),'Revision\x20name\x20(default:\x20timestamp)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x1c9),a2_0x3b3df4(0x1eb))[a2_0x3b3df4(0x204)](async(_0x69bb35,_0x3d1b94)=>{const _0x43db66=a2_0x3b3df4,_0x9ad4ec=new WorkflowUploadCommand(),_0x24b39b=program[_0x43db66(0x428)](),_0x203249=await createTDXInstance(_0x24b39b),_0x427128=await _0x9ad4ec['run']({'options':{..._0x24b39b,..._0x3d1b94},'args':_0x69bb35?[_0x69bb35]:[],'tdx':_0x203249});gracefulExit(_0x427128);}),workflowCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x1a1))[a2_0x3b3df4(0x3d6)]('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')['option'](a2_0x3b3df4(0x280),a2_0x3b3df4(0x186))[a2_0x3b3df4(0x368)]('--revision\x20<revision>',a2_0x3b3df4(0x383))['option']('--dry-run',a2_0x3b3df4(0x1c4))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x1c9),a2_0x3b3df4(0x1eb))[a2_0x3b3df4(0x204)](async(_0x461276,_0xed0974)=>{const _0x587d11=a2_0x3b3df4,_0x488b2b=new WorkflowCloneCommand(),_0x56e75b=program[_0x587d11(0x428)](),_0x5147a5=await createTDXInstance(_0x56e75b),_0xecb1f2=await _0x488b2b[_0x587d11(0x277)]({'options':{..._0x56e75b,..._0xed0974},'args':_0x461276?[_0x461276]:[],'tdx':_0x5147a5});gracefulExit(_0xecb1f2);}),workflowCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x432))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x16a))[a2_0x3b3df4(0x204)](async(_0x250091,_0x54b01d)=>{const _0x379560=a2_0x3b3df4,_0x183629=new WorkflowDeleteCommand(),_0x237153=program[_0x379560(0x428)](),_0x2d77dc=await createTDXInstance(_0x237153),_0x239e58=await _0x183629[_0x379560(0x277)]({'options':{..._0x237153,..._0x54b01d},'args':[_0x250091],'tdx':_0x2d77dc});gracefulExit(_0x239e58);}),workflowCmd[a2_0x3b3df4(0x223)]('use\x20[project]')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x29c))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x24e),'Clear\x20workflow\x20project\x20context')[a2_0x3b3df4(0x204)](async(_0x2912ed,_0x267036)=>{const _0x1b524b=a2_0x3b3df4,_0x598b62=new WorkflowUseCommand(),_0x497bdf=program[_0x1b524b(0x428)](),_0x172a5d=await createTDXInstance(_0x497bdf),_0x54d8cc=await _0x598b62[_0x1b524b(0x277)]({'options':{..._0x497bdf,..._0x267036},'args':_0x2912ed?[_0x2912ed]:[],'tdx':_0x172a5d});gracefulExit(_0x54d8cc);});const wfSecretsCmd=workflowCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x359))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x3da));wfSecretsCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x44d))['description'](a2_0x3b3df4(0x222))['action'](async(_0x4915d1,_0x345b6f)=>{const _0x251696=a2_0x3b3df4,_0x18decb=new WorkflowSecretsListCommand(),_0x9b345c=program[_0x251696(0x428)](),_0x3e924c=await createTDXInstance(_0x9b345c),_0xa0a9d=await _0x18decb[_0x251696(0x277)]({'options':{..._0x9b345c,..._0x345b6f},'args':_0x4915d1?[_0x4915d1]:[],'tdx':_0x3e924c});gracefulExit(_0xa0a9d);}),wfSecretsCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x209))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x393))[a2_0x3b3df4(0x204)](async(_0x292e62,_0x1b6f59)=>{const _0x42ca17=a2_0x3b3df4,_0x2b7cca=new WorkflowSecretsSetCommand(),_0x3874fb=program[_0x42ca17(0x428)](),_0x204c99=await createTDXInstance(_0x3874fb),_0x27b369=await _0x2b7cca['run']({'options':{..._0x3874fb,..._0x1b6f59},'args':_0x292e62,'tdx':_0x204c99});gracefulExit(_0x27b369);}),wfSecretsCmd[a2_0x3b3df4(0x223)]('delete\x20<args...>')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x2f9))[a2_0x3b3df4(0x204)](async(_0x1487f2,_0xc7415b)=>{const _0x1db7a8=a2_0x3b3df4,_0x257ad2=new WorkflowSecretsDeleteCommand(),_0x80fc5e=program[_0x1db7a8(0x428)](),_0xf5df92=await createTDXInstance(_0x80fc5e),_0x396672=await _0x257ad2[_0x1db7a8(0x277)]({'options':{..._0x80fc5e,..._0xc7415b},'args':_0x1487f2,'tdx':_0xf5df92});gracefulExit(_0x396672);});const jobCmd=program[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x357))[a2_0x3b3df4(0x3d6)]('Job\x20management\x20commands'),jobListAction=async _0x1272b2=>{const _0x15564f=a2_0x3b3df4,_0x377e0d=new JobListCommand(),_0x5dbff8=program[_0x15564f(0x428)](),_0x42a3f7=await createTDXInstance(_0x5dbff8),_0x56c3c6=await _0x377e0d[_0x15564f(0x277)]({'options':{..._0x5dbff8,..._0x1272b2},'args':[],'tdx':_0x42a3f7});gracefulExit(_0x56c3c6);};jobCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x33f))['description']('List\x20jobs')[a2_0x3b3df4(0x368)]('--status\x20<status>',a2_0x3b3df4(0x17d))[a2_0x3b3df4(0x204)](jobListAction),program[a2_0x3b3df4(0x223)]('jobs',{'hidden':!![]})[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x263))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3f6),a2_0x3b3df4(0x17d))['action'](jobListAction),jobCmd['command'](a2_0x3b3df4(0x2ed))['description'](a2_0x3b3df4(0x40f))[a2_0x3b3df4(0x204)](async(_0x101991,_0x5a390f)=>{const _0x2a9922=new JobShowCommand(),_0x5e906a=program['opts'](),_0x108b74=await createTDXInstance(_0x5e906a),_0x4cc948=await _0x2a9922['run']({'options':{..._0x5e906a,..._0x5a390f},'args':[_0x101991],'tdx':_0x108b74});gracefulExit(_0x4cc948);}),jobCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x224))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x17a))[a2_0x3b3df4(0x204)](async(_0x1efab1,_0x577e70)=>{const _0xa1e62=a2_0x3b3df4,_0x5cdb7c=new JobKillCommand(),_0x38c188=program[_0xa1e62(0x428)](),_0x1faa9b=await createTDXInstance(_0x38c188),_0x2ba2d5=await _0x5cdb7c[_0xa1e62(0x277)]({'options':{..._0x38c188,..._0x577e70},'args':[_0x1efab1],'tdx':_0x1faa9b});gracefulExit(_0x2ba2d5);}),jobCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x194))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x254))['option']('--job-type\x20<type>',a2_0x3b3df4(0x272),'trino')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x449),a2_0x3b3df4(0x294))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x41c),a2_0x3b3df4(0x169),'information_schema')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x424),'Result\x20export\x20destination\x20(URL\x20or\x20JSON)')[a2_0x3b3df4(0x204)](async(_0x2ec781,_0x23ef25)=>{const _0x44e624=a2_0x3b3df4,_0x1cb342=new JobSubmitCommand(),_0x2f630c=program['opts'](),_0x5066fd=await createTDXInstance(_0x2f630c),_0x3d6f8e=await _0x1cb342[_0x44e624(0x277)]({'options':{..._0x2f630c,..._0x23ef25},'args':_0x2ec781?[_0x2ec781]:[],'tdx':_0x5066fd});gracefulExit(_0x3d6f8e);}),jobCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x376))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x327))[a2_0x3b3df4(0x204)](async(_0x3b517b,_0x168aa3)=>{const _0x29e7ba=new JobResultCommand(),_0x4bd44f=program['opts'](),_0x4b6c2d=await createTDXInstance(_0x4bd44f),_0x4ee657=await _0x29e7ba['run']({'options':{..._0x4bd44f,..._0x168aa3},'args':[_0x3b517b],'tdx':_0x4b6c2d});gracefulExit(_0x4ee657);});const scheduleCmd=jobCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x2e1))['description'](a2_0x3b3df4(0x2bd));scheduleCmd['command'](a2_0x3b3df4(0x22d))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x3f9))['action'](async(_0x10be54,_0x4367b5)=>{const _0x2721ff=a2_0x3b3df4,_0x5b8510=new ScheduleListCommand(),_0x10d09e=program[_0x2721ff(0x428)](),_0x569f63=await createTDXInstance(_0x10d09e),_0x596e16=await _0x5b8510['run']({'options':{..._0x10d09e,..._0x4367b5},'args':_0x10be54?[_0x10be54]:[],'tdx':_0x569f63});gracefulExit(_0x596e16);}),scheduleCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x3bb))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x1fb))['action'](async(_0x895ab2,_0x59bc5f)=>{const _0x531d2c=a2_0x3b3df4,_0x3eba65=new ScheduleShowCommand(),_0x446cf7=program[_0x531d2c(0x428)](),_0x1b9f71=await createTDXInstance(_0x446cf7),_0x1fa313=await _0x3eba65[_0x531d2c(0x277)]({'options':{..._0x446cf7,..._0x59bc5f},'args':[_0x895ab2],'tdx':_0x1b9f71});gracefulExit(_0x1fa313);}),scheduleCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x1cf))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x37e))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x253),a2_0x3b3df4(0x308))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3f8),a2_0x3b3df4(0x159))[a2_0x3b3df4(0x361)]('-f,\x20--file\x20<path>',a2_0x3b3df4(0x294))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2b6),'Query\x20type:\x20trino\x20or\x20hive',a2_0x3b3df4(0x35a))['option']('--cron\x20<expression>',a2_0x3b3df4(0x2bf))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x355),a2_0x3b3df4(0x442))[a2_0x3b3df4(0x368)]('--delay\x20<seconds>','Delay\x20in\x20seconds\x20before\x20execution')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x1bc),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x293),a2_0x3b3df4(0x43c))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x28a),a2_0x3b3df4(0x3aa))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x438),a2_0x3b3df4(0x3ef))[a2_0x3b3df4(0x204)](async(_0x3a7ee0,_0x4688d5)=>{const _0xb5df2a=a2_0x3b3df4,_0x485b07=new ScheduleCreateCommand(),_0x2cb5ac=program[_0xb5df2a(0x428)](),_0x46194b=await createTDXInstance(_0x2cb5ac);_0x4688d5['in']&&(_0x4688d5['database']=_0x4688d5['in']);const _0x25730f=await _0x485b07[_0xb5df2a(0x277)]({'options':{..._0x2cb5ac,..._0x4688d5},'args':[_0x3a7ee0],'tdx':_0x46194b});gracefulExit(_0x25730f);}),scheduleCmd['command'](a2_0x3b3df4(0x31f))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x3eb))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x253),a2_0x3b3df4(0x200))[a2_0x3b3df4(0x368)]('--in\x20<db>',a2_0x3b3df4(0x159))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x449),a2_0x3b3df4(0x294))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2b6),a2_0x3b3df4(0x260))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x265),a2_0x3b3df4(0x2bf))[a2_0x3b3df4(0x368)]('--timezone\x20<tz>',a2_0x3b3df4(0x14d))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x201),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x1bc),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x293),'Retry\x20limit\x20(0\x20to\x2032)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x28a),'Query\x20engine\x20version')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x438),a2_0x3b3df4(0x3ef))[a2_0x3b3df4(0x204)](async(_0x2fb8c2,_0x7b779c)=>{const _0xb8539e=a2_0x3b3df4,_0x2affc0=new ScheduleUpdateCommand(),_0x34d494=program[_0xb8539e(0x428)](),_0x53a103=await createTDXInstance(_0x34d494);_0x7b779c['in']&&(_0x7b779c[_0xb8539e(0x2df)]=_0x7b779c['in']);const _0x4fa2f0=await _0x2affc0[_0xb8539e(0x277)]({'options':{..._0x34d494,..._0x7b779c},'args':[_0x2fb8c2],'tdx':_0x53a103});gracefulExit(_0x4fa2f0);}),scheduleCmd['command'](a2_0x3b3df4(0x431))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x2eb))[a2_0x3b3df4(0x204)](async(_0x16488a,_0x4166f1)=>{const _0x36cb66=a2_0x3b3df4,_0x1fe89e=new ScheduleDeleteCommand(),_0x11e620=program[_0x36cb66(0x428)](),_0x2d7aad=await createTDXInstance(_0x11e620),_0x4c1d9d=await _0x1fe89e[_0x36cb66(0x277)]({'options':{..._0x11e620,..._0x4166f1},'args':[_0x16488a],'tdx':_0x2d7aad});gracefulExit(_0x4c1d9d);}),scheduleCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x1ce))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x378))['option'](a2_0x3b3df4(0x3dd),'Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x1d2),a2_0x3b3df4(0x190))[a2_0x3b3df4(0x204)](async(_0x1022f4,_0x5d0e38)=>{const _0xe2d5ae=a2_0x3b3df4,_0x49502e=new ScheduleRunCommand(),_0x23afbc=program['opts'](),_0x1e3022=await createTDXInstance(_0x23afbc),_0x5afb7b=await _0x49502e[_0xe2d5ae(0x277)]({'options':{..._0x23afbc,..._0x5d0e38},'args':[_0x1022f4],'tdx':_0x1e3022});gracefulExit(_0x5afb7b);}),scheduleCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x312))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x30e))[a2_0x3b3df4(0x368)]('--from\x20<n>','Starting\x20offset\x20(default:\x200)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3f1),'Ending\x20offset\x20(default:\x2020)')[a2_0x3b3df4(0x204)](async(_0xf270bf,_0x5c6f83)=>{const _0x10a945=a2_0x3b3df4,_0x1d133e=new ScheduleHistoryCommand(),_0xb68e4d=program[_0x10a945(0x428)](),_0xedd30e=await createTDXInstance(_0xb68e4d),_0x542206=await _0x1d133e['run']({'options':{..._0xb68e4d,..._0x5c6f83},'args':[_0xf270bf],'tdx':_0xedd30e});gracefulExit(_0x542206);});const llmCmd=program[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x236))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x184));llmCmd['command']('use\x20<project-name>')['description']('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')[a2_0x3b3df4(0x204)](async(_0x4c0950,_0x2b63c4)=>{const _0x3f2b2b=a2_0x3b3df4,_0x45096c=new LLMUseCommand(),_0xf7cfe8=program[_0x3f2b2b(0x428)](),_0x3ef3d8=await createTDXInstance(_0xf7cfe8),_0x3ca3c3=await _0x45096c[_0x3f2b2b(0x277)]({'options':{..._0xf7cfe8,..._0x2b63c4},'args':[_0x4c0950],'tdx':_0x3ef3d8});gracefulExit(_0x3ca3c3);}),llmCmd['command'](a2_0x3b3df4(0x3a1))[a2_0x3b3df4(0x3d6)]('List\x20available\x20LLM\x20models')[a2_0x3b3df4(0x204)](async _0x21d33a=>{const _0x2f1214=a2_0x3b3df4,_0x455ee5=new LLMModelsCommand(),_0x4abaec=program[_0x2f1214(0x428)](),_0x1d24e5=await createTDXInstance(_0x4abaec),_0xf5c328=await _0x455ee5[_0x2f1214(0x277)]({'options':{..._0x4abaec,..._0x21d33a},'args':[],'tdx':_0x1d24e5});gracefulExit(_0xf5c328);});const projectCmd=llmCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x231))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x16c)),llmProjectListAction=async(_0x1fa27c,_0x5c84af)=>{const _0x726d45=a2_0x3b3df4,_0x31b36b=new LLMProjectsCommand(),_0x519e84=program[_0x726d45(0x428)](),_0x1cd087=await createTDXInstance(_0x519e84),_0x184888=await _0x31b36b[_0x726d45(0x277)]({'options':{..._0x519e84,..._0x5c84af},'args':_0x1fa27c?[_0x1fa27c]:[],'tdx':_0x1cd087});gracefulExit(_0x184888);};projectCmd['command']('list\x20[pattern]')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x30d))[a2_0x3b3df4(0x204)](llmProjectListAction),llmCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x429))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x22b))[a2_0x3b3df4(0x204)](llmProjectListAction),projectCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x1cf))['description'](a2_0x3b3df4(0x39b))['option'](a2_0x3b3df4(0x425),a2_0x3b3df4(0x22e))[a2_0x3b3df4(0x204)](async(_0x2d7d19,_0x4dcdd0)=>{const _0x39f793=a2_0x3b3df4,_0x5ed240=new LLMProjectCreateCommand(),_0x7d9fb9=program[_0x39f793(0x428)](),_0x332c84=await createTDXInstance(_0x7d9fb9),_0x3e5b0d=await _0x5ed240[_0x39f793(0x277)]({'options':{..._0x7d9fb9,..._0x4dcdd0},'args':[_0x2d7d19],'tdx':_0x332c84});gracefulExit(_0x3e5b0d);}),projectCmd['command'](a2_0x3b3df4(0x431))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x3c9))[a2_0x3b3df4(0x204)](async(_0x450a4e,_0x2e1555)=>{const _0x19b303=a2_0x3b3df4,_0x39ad63=new LLMProjectDeleteCommand(),_0x1d8659=program['opts'](),_0x2ea286=await createTDXInstance(_0x1d8659),_0x10e64a=await _0x39ad63[_0x19b303(0x277)]({'options':{..._0x1d8659,..._0x2e1555},'args':[_0x450a4e],'tdx':_0x2ea286});gracefulExit(_0x10e64a);}),projectCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x2c0))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x2c7))['option'](a2_0x3b3df4(0x2c9),a2_0x3b3df4(0x1fa))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x339),a2_0x3b3df4(0x3c5))['action'](async(_0x329e13,_0x23378d)=>{const _0x4c6199=new LLMProjectBackupCommand(),_0x79727c=program['opts'](),_0x324a32=await createTDXInstance(_0x79727c),_0xb74710=await _0x4c6199['run']({'options':{..._0x79727c,..._0x23378d},'args':[_0x329e13],'tdx':_0x324a32});gracefulExit(_0xb74710);}),projectCmd['command'](a2_0x3b3df4(0x193))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x248))[a2_0x3b3df4(0x368)]('--name\x20<new-name>',a2_0x3b3df4(0x1c6))['option'](a2_0x3b3df4(0x339),a2_0x3b3df4(0x234))[a2_0x3b3df4(0x204)](async(_0x45344e,_0x51ebe9)=>{const _0x4780af=a2_0x3b3df4,_0xd52458=new LLMProjectRestoreCommand(),_0x47f344=program[_0x4780af(0x428)](),_0x51ea53=await createTDXInstance(_0x47f344),_0x1f75cf=await _0xd52458['run']({'options':{..._0x47f344,..._0x51ebe9},'args':[_0x45344e],'tdx':_0x51ea53});gracefulExit(_0x1f75cf);});const llmAgentListAction=async(_0xc91cc6,_0x3d59d8)=>{const _0x8d6700=a2_0x3b3df4,_0x2bd010=new LLMAgentsCommand(),_0x217c12=program[_0x8d6700(0x428)](),_0x326606=await createTDXInstance(_0x217c12),_0x352c8a=await _0x2bd010[_0x8d6700(0x277)]({'options':{..._0x217c12,..._0x3d59d8},'args':_0xc91cc6?[_0xc91cc6]:[],'tdx':_0x326606});gracefulExit(_0x352c8a);};llmCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x402))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x1bf))['action'](llmAgentListAction),program['command'](a2_0x3b3df4(0x402))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x1bf))['action'](llmAgentListAction),llmCmd[a2_0x3b3df4(0x223)]('history\x20[chat-id]')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x31a))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x225),a2_0x3b3df4(0x2d8))['action'](async(_0x42eb0c,_0x5d69d7)=>{const _0x1cf016=a2_0x3b3df4,_0x376cd0=new LLMHistoryCommand(),_0x573423=program[_0x1cf016(0x428)](),_0x1d6f65=await createTDXInstance(_0x573423),_0x1586e5=await _0x376cd0['run']({'options':{..._0x573423,..._0x5d69d7},'args':_0x42eb0c?[_0x42eb0c]:[],'tdx':_0x1d6f65});gracefulExit(_0x1586e5);});isExperimentalAvailable()&&llmCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x3d1))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x39f))[a2_0x3b3df4(0x204)](async(_0x10212b,_0x480834)=>{const _0x10e2b2=a2_0x3b3df4,_0x5f08e8=new LLMLogCommand(),_0x2e60b4=program['opts'](),_0x32b4ca=await createTDXInstance(_0x2e60b4),_0x5efc8a=await _0x5f08e8[_0x10e2b2(0x277)]({'options':{..._0x2e60b4,..._0x480834},'args':[_0x10212b],'tdx':_0x32b4ca});gracefulExit(_0x5efc8a);});program['command'](a2_0x3b3df4(0x1cb))[a2_0x3b3df4(0x367)](a2_0x3b3df4(0x2f7))['description'](a2_0x3b3df4(0x1c0))['option']('-c,\x20--continue',a2_0x3b3df4(0x1d8))[a2_0x3b3df4(0x368)]('-r,\x20--resume',a2_0x3b3df4(0x38f))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x335),'Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')[a2_0x3b3df4(0x2b2)]()[a2_0x3b3df4(0x1d5)](!![])[a2_0x3b3df4(0x1c1)](a2_0x3b3df4(0x244),a2_0x3b3df4(0x166))[a2_0x3b3df4(0x204)](async(_0x2ea8cc,_0x1cb706)=>{const _0x4a5334=a2_0x3b3df4,_0x36adb1=program[_0x4a5334(0x428)](),_0x41f58b=Array[_0x4a5334(0x152)](_0x2ea8cc)?_0x2ea8cc:[];if(_0x41f58b[0x0]===_0x4a5334(0x2fc)){const _0x21df30=new ClaudeStatuslineCommand(),_0x27c10d=await _0x21df30[_0x4a5334(0x277)]({'options':{..._0x36adb1,..._0x1cb706},'args':_0x41f58b['slice'](0x1),'tdx':null});gracefulExit(_0x27c10d);}if(_0x41f58b[0x0]===_0x4a5334(0x367)){const _0x47ce97=new ClaudeUsageCommand(),_0x18a5d5=await _0x47ce97[_0x4a5334(0x277)]({'options':{..._0x36adb1,..._0x1cb706},'args':_0x41f58b['slice'](0x1),'tdx':null});gracefulExit(_0x18a5d5);}const _0x87de4d=new ClaudeCommand(),_0x1a42e6=await createTDXInstance(_0x36adb1),_0x50cce=await _0x87de4d['run']({'options':{..._0x36adb1,..._0x1cb706},'args':_0x41f58b,'tdx':_0x1a42e6});gracefulExit(_0x50cce);}),program[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x345))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x396))['option'](a2_0x3b3df4(0x24e),a2_0x3b3df4(0x261))['option'](a2_0x3b3df4(0x3b3),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x3b3df4(0x204)](async(_0x1bb8e1,_0x67ce46,_0xf067ff)=>{const _0x4632ea=a2_0x3b3df4,_0x3fa3da=new UseCommand(),_0xbee99b=program[_0x4632ea(0x428)](),_0x37edc5=[];if(_0x1bb8e1)_0x37edc5[_0x4632ea(0x35e)](_0x1bb8e1);if(_0x67ce46)_0x37edc5['push'](_0x67ce46);const _0x5c84bd=_0x1bb8e1===_0x4632ea(0x25b),_0x4396fd=_0x5c84bd?await createTDXInstance(_0xbee99b):null,_0x1bbc3c=await _0x3fa3da['run']({'options':{..._0xbee99b,..._0xf067ff},'args':_0x37edc5,'tdx':_0x4396fd});gracefulExit(_0x1bbc3c);}),program[a2_0x3b3df4(0x223)]('status')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x3e1))[a2_0x3b3df4(0x204)](async _0x31348f=>{const _0x39b744=a2_0x3b3df4,_0x361b19=new StatusCommand(),_0x383d00=program[_0x39b744(0x428)](),_0xeedba=await createTDXInstance(_0x383d00),_0x1b7c9c=await _0x361b19[_0x39b744(0x277)]({'options':{..._0x383d00,..._0x31348f},'args':[],'tdx':_0xeedba});gracefulExit(_0x1b7c9c);}),program[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x3ea))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x23f))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x339),a2_0x3b3df4(0x1ba))['option']('--next',a2_0x3b3df4(0x44b))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x1e3),a2_0x3b3df4(0x3e0))[a2_0x3b3df4(0x204)](async(_0x1a8fec,_0x3ae419)=>{const _0x54cec2=a2_0x3b3df4,_0x1947cd=new UpgradeCommand(),_0x3544b9=program[_0x54cec2(0x428)](),_0x159c3d=await _0x1947cd[_0x54cec2(0x277)]({'options':{..._0x3544b9,..._0x3ae419},'args':_0x1a8fec?[_0x1a8fec]:[],'tdx':null});gracefulExit(_0x159c3d);}),program[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x3c6))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x2fb))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3b3),'Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x3b3df4(0x204)](async(_0x50703d,_0x547700)=>{const _0xc98f9b=a2_0x3b3df4,_0x4480be=new UnsetCommand(),_0x467f70=program[_0xc98f9b(0x428)](),_0x10b09d=await _0x4480be[_0xc98f9b(0x277)]({'options':{..._0x467f70,..._0x547700},'args':[_0x50703d],'tdx':null});gracefulExit(_0x10b09d);}),program['command'](a2_0x3b3df4(0x311))[a2_0x3b3df4(0x3d6)]('Interactive\x20chat\x20selector')[a2_0x3b3df4(0x368)]('--last',a2_0x3b3df4(0x163))[a2_0x3b3df4(0x204)](async _0x369a83=>{const _0x105562=a2_0x3b3df4,_0x3600df=new ChatsCommand(),_0x1ccaf6=program['opts'](),_0xceade4=await createTDXInstance(_0x1ccaf6),_0x5c49c5=await _0x3600df[_0x105562(0x277)]({'options':{..._0x1ccaf6,..._0x369a83},'args':[],'tdx':_0xceade4});gracefulExit(_0x5c49c5);});const authCmd=program['command']('auth')['description']('Authentication\x20management');async function runAuthStatusCommand(_0x4acac5){const _0x20a03c=a2_0x3b3df4,_0x21882b=new AuthStatusCommand(),_0x237249=program[_0x20a03c(0x428)](),_0x46dd7e=await createTDXInstance(_0x237249),_0x423d6f=await _0x21882b[_0x20a03c(0x277)]({'options':{..._0x237249,..._0x4acac5},'args':[],'tdx':_0x46dd7e});gracefulExit(_0x423d6f);}authCmd['action'](runAuthStatusCommand),authCmd['command']('status')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x246))[a2_0x3b3df4(0x204)](runAuthStatusCommand);async function authSetupAction(_0x21b2c7){const _0x20e519=a2_0x3b3df4,_0x19e7a6=new AuthSetupCommand(),_0x52b111=program[_0x20e519(0x428)](),_0x2f38af=await createTDXInstance(_0x52b111),_0x1571a1=await _0x19e7a6[_0x20e519(0x277)]({'options':{..._0x52b111,..._0x21b2c7},'args':[],'tdx':_0x2f38af});gracefulExit(_0x1571a1);}authCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x41b))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x219))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x155),a2_0x3b3df4(0x3e2))[a2_0x3b3df4(0x1c1)](a2_0x3b3df4(0x244),a2_0x3b3df4(0x1f1))['action'](authSetupAction),authCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x40d),{'hidden':!![]})[a2_0x3b3df4(0x368)]('--account-name\x20<name>',a2_0x3b3df4(0x3e2))[a2_0x3b3df4(0x204)](authSetupAction),authCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x179))[a2_0x3b3df4(0x3d6)]('Remove\x20API\x20key\x20from\x20system\x20keychain')[a2_0x3b3df4(0x1c1)]('after',a2_0x3b3df4(0x1de))[a2_0x3b3df4(0x204)](async _0x197b6f=>{const _0x4813c4=a2_0x3b3df4,_0x4efacb=new AuthClearCommand(),_0x25b38c=program[_0x4813c4(0x428)](),_0x51d171=await _0x4efacb[_0x4813c4(0x277)]({'options':{..._0x25b38c,..._0x197b6f},'args':[],'tdx':null});gracefulExit(_0x51d171);});const userCmd=program['command']('user')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x285)),userListAction=async _0x3bc73b=>{const _0x39c9a3=a2_0x3b3df4,_0x3aac1c=new UserListCommand(),_0x246cbf=program[_0x39c9a3(0x428)](),_0x430b88=await createTDXInstance(_0x246cbf),_0x5ddada=await _0x3aac1c[_0x39c9a3(0x277)]({'options':{..._0x246cbf,..._0x3bc73b},'args':[],'tdx':_0x430b88});gracefulExit(_0x5ddada);};userCmd['action'](async _0x80b0c3=>{const _0x53480e=a2_0x3b3df4,_0x5dcbf2=new UserCommand(),_0x44cc12=program['opts'](),_0x51df25=await createTDXInstance(_0x44cc12),_0x4e1a91=await _0x5dcbf2[_0x53480e(0x277)]({'options':{..._0x44cc12,..._0x80b0c3},'args':[],'tdx':_0x51df25});gracefulExit(_0x4e1a91);}),userCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x33f))['description']('List\x20all\x20users\x20in\x20the\x20account')[a2_0x3b3df4(0x204)](userListAction),program[a2_0x3b3df4(0x223)]('users')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x459))[a2_0x3b3df4(0x204)](userListAction);const policyCmd=program['command'](a2_0x3b3df4(0x206))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x24b));policyCmd[a2_0x3b3df4(0x204)](async _0x49e2ae=>{const _0x17ddd0=new PolicyCommand(),_0x52636f=program['opts'](),_0x8035e7=await createTDXInstance(_0x52636f),_0x5ebdcb=await _0x17ddd0['run']({'options':{..._0x52636f,..._0x49e2ae},'args':[],'tdx':_0x8035e7});gracefulExit(_0x5ebdcb);}),policyCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x33f))[a2_0x3b3df4(0x3d6)]('List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)')[a2_0x3b3df4(0x204)](async _0x28832c=>{const _0x497cdf=a2_0x3b3df4,_0x7ed9b8=new PolicyListCommand(),_0x262bef=program[_0x497cdf(0x428)](),_0x5415e5=await createTDXInstance(_0x262bef),_0x5c6047=await _0x7ed9b8['run']({'options':{..._0x262bef,..._0x28832c},'args':[],'tdx':_0x5415e5});gracefulExit(_0x5c6047);}),policyCmd['command'](a2_0x3b3df4(0x322))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x3de))['action'](async(_0x1dde37,_0x3ef761)=>{const _0x1ed25d=a2_0x3b3df4,_0x694a04=new PolicyShowCommand(),_0x2b5ffa=program[_0x1ed25d(0x428)](),_0x1fe9d0=await createTDXInstance(_0x2b5ffa),_0x5e8dbd=await _0x694a04['run']({'options':{..._0x2b5ffa,..._0x3ef761},'args':[_0x1dde37],'tdx':_0x1fe9d0});gracefulExit(_0x5e8dbd);}),program[a2_0x3b3df4(0x223)]('profiles')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x3ca))['action'](async _0x4128de=>{const _0x143a26=a2_0x3b3df4,_0x3b780a=new ProfilesCommand(),_0x393d06=program[_0x143a26(0x428)](),_0x125a1a=await _0x3b780a['run']({'options':{..._0x393d06,..._0x4128de},'args':[],'tdx':null});gracefulExit(_0x125a1a);});const profileCmd=program[a2_0x3b3df4(0x223)]('profile')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x2ee));profileCmd[a2_0x3b3df4(0x204)](()=>{const _0x339be3=a2_0x3b3df4;profileCmd[_0x339be3(0x262)]();});const profileListAction=async _0x59727b=>{const _0x585bbf=a2_0x3b3df4,_0x513a95=new ProfilesCommand(),_0x3d2283=program[_0x585bbf(0x428)](),_0x466ea3=await _0x513a95[_0x585bbf(0x277)]({'options':{..._0x3d2283,..._0x59727b},'args':[],'tdx':null});gracefulExit(_0x466ea3);};profileCmd['command'](a2_0x3b3df4(0x33f))[a2_0x3b3df4(0x3d6)]('List\x20all\x20available\x20profiles')[a2_0x3b3df4(0x204)](profileListAction),profileCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x36c))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x3a3))['option'](a2_0x3b3df4(0x155),a2_0x3b3df4(0x3e2))['option'](a2_0x3b3df4(0x30f),'Overwrite\x20existing\x20profile')['addHelpText'](a2_0x3b3df4(0x244),a2_0x3b3df4(0x24d))[a2_0x3b3df4(0x204)](async(_0x3ef9c6,_0x3c69fb)=>{const _0x671930=a2_0x3b3df4,_0x1317e3=new ProfileCreateCommand(),_0x5f515c=program[_0x671930(0x428)](),_0x290554=await _0x1317e3[_0x671930(0x277)]({'options':{..._0x5f515c,..._0x3c69fb},'args':_0x3ef9c6?[_0x3ef9c6]:[],'tdx':null});gracefulExit(_0x290554);});async function profileDeleteAction(_0x58eb30,_0x2a6271){const _0x15cdef=a2_0x3b3df4,_0x958993=new ProfileDeleteCommand(),_0x214947=program['opts'](),_0x525094=await _0x958993[_0x15cdef(0x277)]({'options':{..._0x214947,..._0x2a6271},'args':[_0x58eb30],'tdx':null});gracefulExit(_0x525094);}profileCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x431))['description'](a2_0x3b3df4(0x373))[a2_0x3b3df4(0x1c1)](a2_0x3b3df4(0x244),a2_0x3b3df4(0x1dd))['action'](profileDeleteAction),profileCmd[a2_0x3b3df4(0x223)]('remove\x20<name>',{'hidden':!![]})[a2_0x3b3df4(0x204)](profileDeleteAction),profileCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x44a))['description']('Set\x20a\x20profile\x20configuration\x20value')[a2_0x3b3df4(0x1c1)](a2_0x3b3df4(0x244),'\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=ap01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a')[a2_0x3b3df4(0x204)](async(_0x34e71b,_0x63802)=>{const _0x1dd200=a2_0x3b3df4,_0x21583e=new ProfileSetCommand(),_0x174d42=program[_0x1dd200(0x428)](),_0x1388a7=await _0x21583e['run']({'options':{..._0x174d42,..._0x63802},'args':[_0x34e71b],'tdx':null});gracefulExit(_0x1388a7);}),profileCmd['command']('use\x20<name>')['description']('Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3b3),a2_0x3b3df4(0x202))[a2_0x3b3df4(0x1c1)]('after',a2_0x3b3df4(0x258))['action'](async(_0x22645e,_0x4992f6)=>{const _0x28e530=a2_0x3b3df4,_0x4e05f6=new ProfileUseCommand(),_0x5458cb=program[_0x28e530(0x428)](),_0x307cd9=await _0x4e05f6[_0x28e530(0x277)]({'options':{..._0x5458cb,..._0x4992f6},'args':[_0x22645e],'tdx':null});gracefulExit(_0x307cd9);});const engageCmd=program['command']('engage')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x1d0)),createEngageAction=_0x3df1c7=>{return async(_0x487478,_0x2e52db)=>{const _0x503132=a2_0x2ba2,_0x506c83=new _0x3df1c7(),_0x462aad=program['opts'](),_0x3a8629=await createTDXInstance(_0x462aad),_0x3741ec=await _0x506c83[_0x503132(0x277)]({'options':{..._0x462aad,..._0x2e52db},'args':[_0x487478],'tdx':_0x3a8629});gracefulExit(_0x3741ec);};},createEngageNoArgAction=_0x964106=>{return async _0x367059=>{const _0x38a814=a2_0x2ba2,_0x216831=new _0x964106(),_0x8fc1fe=program[_0x38a814(0x428)](),_0x3c57ef=await createTDXInstance(_0x8fc1fe),_0xbe882e=await _0x216831['run']({'options':{..._0x8fc1fe,..._0x367059},'args':[],'tdx':_0x3c57ef});gracefulExit(_0xbe882e);};},createEngageListAction=_0x1b26ee=>{return async(_0x526755,_0x33c5c7)=>{const _0x1f87fe=a2_0x2ba2,_0x11a71b=new _0x1b26ee(),_0x3751aa=program[_0x1f87fe(0x428)](),_0x3947d2=await createTDXInstance(_0x3751aa),_0x3cfede=await _0x11a71b[_0x1f87fe(0x277)]({'options':{..._0x3751aa,..._0x33c5c7},'args':_0x526755?[_0x526755]:[],'tdx':_0x3947d2});gracefulExit(_0x3cfede);};},campaignCmd=engageCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x407))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x406));campaignCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x22d))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x3f5))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2b6),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3f6),a2_0x3b3df4(0x419))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3c8),'Workspace\x20name')[a2_0x3b3df4(0x204)](createEngageListAction(EngageCampaignsCommand)),engageCmd['command'](a2_0x3b3df4(0x414))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x42d))['option']('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3f6),a2_0x3b3df4(0x419))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3c8),a2_0x3b3df4(0x2a0))[a2_0x3b3df4(0x204)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x3b3df4(0x223)]('show\x20<name-or-id>')['description'](a2_0x3b3df4(0x32e))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3c8),a2_0x3b3df4(0x2a0))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2a1),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x3b3df4(0x204)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x3b3df4(0x223)]('create')['description'](a2_0x3b3df4(0x365))[a2_0x3b3df4(0x361)](a2_0x3b3df4(0x280),a2_0x3b3df4(0x17e))['requiredOption'](a2_0x3b3df4(0x2b6),a2_0x3b3df4(0x158))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3c8),a2_0x3b3df4(0x1e6))['option'](a2_0x3b3df4(0x41a),a2_0x3b3df4(0x41f))['option'](a2_0x3b3df4(0x220),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x349),a2_0x3b3df4(0x1ab))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x430),a2_0x3b3df4(0x38a))['option'](a2_0x3b3df4(0x230),a2_0x3b3df4(0x3f2))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x355),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')['action'](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x3b3df4(0x223)]('update\x20<name-or-id>')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x417))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3c8),a2_0x3b3df4(0x2a0))['option'](a2_0x3b3df4(0x280),a2_0x3b3df4(0x3f4))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x41a),'Campaign\x20description')[a2_0x3b3df4(0x368)]('--segment\x20<path>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')['option'](a2_0x3b3df4(0x349),a2_0x3b3df4(0x1ab))['option'](a2_0x3b3df4(0x430),a2_0x3b3df4(0x38a))['option'](a2_0x3b3df4(0x230),a2_0x3b3df4(0x3f2))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x355),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x3b3df4(0x204)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x182))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x160))['option'](a2_0x3b3df4(0x3c8),'Workspace\x20name')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x44c),a2_0x3b3df4(0x191))[a2_0x3b3df4(0x204)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x1c8))[a2_0x3b3df4(0x3d6)]('Launch\x20a\x20campaign')['option'](a2_0x3b3df4(0x3c8),'Workspace\x20name')[a2_0x3b3df4(0x204)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd['command'](a2_0x3b3df4(0x43e))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x3c3))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3c8),a2_0x3b3df4(0x2a0))[a2_0x3b3df4(0x204)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x2d7))['description'](a2_0x3b3df4(0x306))['option']('--workspace\x20<name>',a2_0x3b3df4(0x2a0))[a2_0x3b3df4(0x204)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x1a6))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x2ef))[a2_0x3b3df4(0x368)]('--workspace\x20<name>','Workspace\x20name')[a2_0x3b3df4(0x204)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x301))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x2d3))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3c8),'Workspace\x20name')['option'](a2_0x3b3df4(0x280),a2_0x3b3df4(0x397))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2b6),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')['option'](a2_0x3b3df4(0x339),a2_0x3b3df4(0x353))[a2_0x3b3df4(0x204)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x28c))['description'](a2_0x3b3df4(0x1da))['option'](a2_0x3b3df4(0x3c8),a2_0x3b3df4(0x2a0))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x339),a2_0x3b3df4(0x2bc))[a2_0x3b3df4(0x204)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x3d5))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x297))['option'](a2_0x3b3df4(0x32a),a2_0x3b3df4(0x372))[a2_0x3b3df4(0x204)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd['command'](a2_0x3b3df4(0x24c))['description'](a2_0x3b3df4(0x342));alwaysOnCampaignCmd[a2_0x3b3df4(0x223)]('list\x20[pattern]')['description'](a2_0x3b3df4(0x289))[a2_0x3b3df4(0x368)]('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3f6),a2_0x3b3df4(0x379))['requiredOption'](a2_0x3b3df4(0x3c8),'Workspace\x20name\x20(required)')[a2_0x3b3df4(0x204)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd['command']('always-on-campaigns\x20[pattern]')[a2_0x3b3df4(0x3d6)]('List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2b6),a2_0x3b3df4(0x1d7))[a2_0x3b3df4(0x368)]('--status\x20<status>',a2_0x3b3df4(0x379))[a2_0x3b3df4(0x361)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x3b3df4(0x204)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x344))[a2_0x3b3df4(0x3d6)]('Show\x20always-on\x20campaign\x20details')[a2_0x3b3df4(0x361)](a2_0x3b3df4(0x3c8),'Workspace\x20name\x20(required)')[a2_0x3b3df4(0x368)]('--full',a2_0x3b3df4(0x3c1))[a2_0x3b3df4(0x204)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x394))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x451))[a2_0x3b3df4(0x361)](a2_0x3b3df4(0x280),'Campaign\x20name')[a2_0x3b3df4(0x361)](a2_0x3b3df4(0x2b6),a2_0x3b3df4(0x158))['requiredOption'](a2_0x3b3df4(0x3c8),a2_0x3b3df4(0x1e6))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x41a),a2_0x3b3df4(0x41f))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x220),a2_0x3b3df4(0x162))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x299),a2_0x3b3df4(0x156))['action'](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd['command'](a2_0x3b3df4(0x1bd))['description'](a2_0x3b3df4(0x35d))[a2_0x3b3df4(0x361)](a2_0x3b3df4(0x3c8),a2_0x3b3df4(0x1e6))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x280),'New\x20campaign\x20name')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x41a),a2_0x3b3df4(0x41f))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x220),a2_0x3b3df4(0x162))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x299),a2_0x3b3df4(0x156))[a2_0x3b3df4(0x204)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x182))[a2_0x3b3df4(0x3d6)]('Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)')[a2_0x3b3df4(0x361)](a2_0x3b3df4(0x3c8),a2_0x3b3df4(0x1e6))[a2_0x3b3df4(0x368)]('--yes',a2_0x3b3df4(0x191))['action'](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd['command']('launch\x20<name-or-id>')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x413))[a2_0x3b3df4(0x361)](a2_0x3b3df4(0x3c8),a2_0x3b3df4(0x1e6))[a2_0x3b3df4(0x204)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x3b3df4(0x223)]('pause\x20<name-or-id>')['description'](a2_0x3b3df4(0x3ed))[a2_0x3b3df4(0x361)](a2_0x3b3df4(0x3c8),a2_0x3b3df4(0x1e6))[a2_0x3b3df4(0x204)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd['command'](a2_0x3b3df4(0x2d7))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x42a))['requiredOption'](a2_0x3b3df4(0x3c8),'Workspace\x20name\x20(required)')[a2_0x3b3df4(0x204)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x3ec))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x2e3))[a2_0x3b3df4(0x361)](a2_0x3b3df4(0x3c8),a2_0x3b3df4(0x1e6))[a2_0x3b3df4(0x368)]('--yes','Skip\x20confirmation\x20prompt')['action'](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd['command'](a2_0x3b3df4(0x1a6))['description'](a2_0x3b3df4(0x423))[a2_0x3b3df4(0x361)](a2_0x3b3df4(0x3c8),a2_0x3b3df4(0x1e6))[a2_0x3b3df4(0x361)](a2_0x3b3df4(0x280),'Name\x20for\x20the\x20duplicated\x20campaign')[a2_0x3b3df4(0x204)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd['command'](a2_0x3b3df4(0x1c3))['description'](a2_0x3b3df4(0x3b8));templateCmd['command'](a2_0x3b3df4(0x22d))['description'](a2_0x3b3df4(0x382))['option'](a2_0x3b3df4(0x3c8),a2_0x3b3df4(0x2a0))['action'](createEngageListAction(EngageTemplatesCommand)),engageCmd['command'](a2_0x3b3df4(0x287))['description']('List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3c8),a2_0x3b3df4(0x2a0))[a2_0x3b3df4(0x204)](createEngageListAction(EngageTemplatesCommand)),templateCmd['command'](a2_0x3b3df4(0x344))['description'](a2_0x3b3df4(0x375))[a2_0x3b3df4(0x368)]('--workspace\x20<name>',a2_0x3b3df4(0x2a0))['option'](a2_0x3b3df4(0x2a1),a2_0x3b3df4(0x3c1))[a2_0x3b3df4(0x204)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x3b3df4(0x223)]('create')['description'](a2_0x3b3df4(0x455))['requiredOption'](a2_0x3b3df4(0x280),a2_0x3b3df4(0x3f3))['requiredOption'](a2_0x3b3df4(0x1b4),a2_0x3b3df4(0x1f7))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x1b1),a2_0x3b3df4(0x237))[a2_0x3b3df4(0x368)]('--html-file\x20<path>',a2_0x3b3df4(0x1e0))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3c8),a2_0x3b3df4(0x1e6))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x32c),a2_0x3b3df4(0x44e))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2f4),a2_0x3b3df4(0x181),_0x432852=>{const _0xfacab6=a2_0x3b3df4;if(!['beefree',_0xfacab6(0x42b)][_0xfacab6(0x164)](_0x432852))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Invalid\x20editor\x20type:\x20'+_0x432852+'.\x20Must\x20be\x20beefree\x20or\x20grapesjs');return _0x432852;})[a2_0x3b3df4(0x204)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x1bd))[a2_0x3b3df4(0x3d6)]('Update\x20an\x20email\x20template')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3c8),a2_0x3b3df4(0x2a0))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x280),'New\x20template\x20name')['option']('--subject\x20<subject>',a2_0x3b3df4(0x1f7))[a2_0x3b3df4(0x368)]('--html\x20<html>','HTML\x20template\x20content')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x34f),'Read\x20HTML\x20template\x20from\x20file')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x32c),a2_0x3b3df4(0x44e))[a2_0x3b3df4(0x204)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x315))[a2_0x3b3df4(0x3d6)]('Pull\x20templates\x20to\x20YAML\x20files')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3c8),a2_0x3b3df4(0x2a0))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x280),a2_0x3b3df4(0x35c))['option'](a2_0x3b3df4(0x3cf),a2_0x3b3df4(0x191))[a2_0x3b3df4(0x368)]('--dry-run','Show\x20what\x20would\x20be\x20written\x20without\x20writing')[a2_0x3b3df4(0x204)](createEngageAction(EngageTemplatePullCommand)),templateCmd['command'](a2_0x3b3df4(0x28c))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x1a7))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3c8),a2_0x3b3df4(0x2a0))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3cf),a2_0x3b3df4(0x191))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x339),'Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0x3b3df4(0x204)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x3b3df4(0x223)]('validate\x20[target]')['description'](a2_0x3b3df4(0x38e))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x32a),a2_0x3b3df4(0x372))[a2_0x3b3df4(0x204)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x182))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x332))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3c8),a2_0x3b3df4(0x2a0))[a2_0x3b3df4(0x368)]('--yes',a2_0x3b3df4(0x191))['action'](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command'](a2_0x3b3df4(0x317))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x1a2));workspaceCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x22d))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x1b3))[a2_0x3b3df4(0x204)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x2a8))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x269))[a2_0x3b3df4(0x204)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x344))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x292))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2a1),a2_0x3b3df4(0x3c1))[a2_0x3b3df4(0x204)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x394))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x1a8))[a2_0x3b3df4(0x361)](a2_0x3b3df4(0x280),a2_0x3b3df4(0x2a0))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x41a),a2_0x3b3df4(0x2d0))[a2_0x3b3df4(0x204)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x1bd))['description']('Update\x20a\x20workspace')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x280),a2_0x3b3df4(0x32d))['option'](a2_0x3b3df4(0x41a),a2_0x3b3df4(0x2d0))[a2_0x3b3df4(0x204)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd['command'](a2_0x3b3df4(0x182))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x1ed))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x44c),a2_0x3b3df4(0x191))[a2_0x3b3df4(0x204)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd['command'](a2_0x3b3df4(0x2c3))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x303))[a2_0x3b3df4(0x204)](createEngageAction(EngageWorkspaceUseCommand));function a2_0x5bed(){const _0x4b69f2=['Create\x20a\x20new\x20campaign','Document\x20body\x20text','usage','option','Parent\x20segment\x20description','Personalization\x20service\x20token\x20management','Include\x20retried\x20attempts\x20(for\x20list)','create\x20[name]','--rule\x20<json>','Personalization\x20service\x20management','List\x20email\x20senders','commands','map','Show\x20all\x20files\x20including\x20valid\x20ones','Delete\x20a\x20profile','open\x20<name>','Show\x20email\x20template\x20details','result\x20<job-id>','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Run\x20a\x20scheduled\x20query\x20immediately','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Force\x20retry\x20even\x20if\x20not\x20failed','--agent\x20<ref>',',\x20version\x20','Create\x20a\x20scheduled\x20query','Move\x20to\x20folder','Master\x20table\x20name','-H,\x20--header\x20<header>','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','Custom\x20revision\x20name\x20(default:\x20timestamp)','--jsonl','RT\x202.0\x20configuration\x20management','\x20-\x20built\x20','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','\x22.\x20Must\x20be\x20a\x20number.','gitRevision','JSON\x20columns\x20for\x20connector\x20(comma-separated)','push\x20[source-dir]','110zmDDBF','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','Validate\x20template\x20YAML\x20files\x20locally','Resume\x20a\x20conversation\x20(shows\x20selector)','Initial\x20status','Personalization\x20name','injectIntoOptions','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','create','then','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','Pull\x20specific\x20campaign\x20by\x20name','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','--session-time\x20<time>','Read\x20SQL\x20query\x20from\x20file','Create\x20a\x20new\x20LLM\x20project','pause_activations\x20<journeyId>','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','[EXPERIMENTAL]\x20Show\x20chat\x20log','--github\x20<owner/repo>','models','--master','Create\x20a\x20new\x20profile','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','pull\x20[project]\x20[agent-name]','optionDescription','-p,\x20--profile\x20<name>','Folder\x20description','pull\x20[parent_or_file]','Query\x20engine\x20version','stats\x20<name-or-path>','--data\x20<data>','padWidth','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','resume\x20<name-or-path>','--behavior\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','buildTime','--default','journeys\x20[pattern]','profile','find','Show\x20timeline\x20for\x20specific\x20attempt','Email\x20template\x20management','List\x20activations\x20for\x20a\x20journey','noColor','show\x20<name>','chdir','Starter\x20message','-v,\x20--verbose','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','Attributes\x20as\x20JSON\x20string','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','Pause\x20a\x20campaign','schema\x20<type>','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','unset\x20<resource>','-n,\x20--name\x20<name>','--workspace\x20<name>','Delete\x20an\x20LLM\x20project','List\x20all\x20available\x20profiles','argumentDescription','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','delivery','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-y,\x20--yes','-u,\x20--use','log\x20<chat-id>','45736rtOEvL','Attributes\x20from\x20JSON\x20file','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','validate\x20[target]','description','view\x20[name]','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','traffic\x20<name-or-path>','Manage\x20workflow\x20project\x20secrets','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','-o,\x20--output\x20<dir>','--time\x20<iso8601>','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','--template\x20<name>','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','Show\x20authentication\x20status\x20and\x20current\x20context','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','Agent\x20description','isTTY','1946556brjLAV','apiKey','--site\x20<site>','Push\x20YAML\x20files\x20to\x20CAS\x20API','join','upgrade\x20[version]','Update\x20a\x20scheduled\x20query','finish\x20<name-or-id>','Pause\x20an\x20always-on\x20campaign','Workflow\x20attempt\x20management','Result\x20output\x20destination\x20URL','patch\x20<personalization_id>','--to\x20<n>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Template\x20name','New\x20campaign\x20name','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','--status\x20<status>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','--in\x20<db>','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Add\x20behaviors\x20from\x20JSON\x20file','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Usage:\x20','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Delivery\x20operations\x20(email\x20senders)','use\x20<path>','agents\x20[pattern]','--reeval','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','Maximum\x20recursion\x20depth\x20(default:\x2010)','Campaign\x20management','campaign','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','--version','validate\x20[name]','New\x20segment\x20name','journey','login','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Show\x20job\x20details','Table\x20management\x20commands','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Launch\x20an\x20always-on\x20campaign','campaigns\x20[pattern]','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Behaviors\x20as\x20JSON\x20string','Update\x20a\x20campaign','Resume\x20a\x20paused\x20journey','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','--description\x20<desc>','setup','--database\x20<name>','--to\x20<date>','desc\x20[name]','Campaign\x20description','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','--format\x20<format>','Push\x20without\x20confirmation','Duplicate\x20an\x20always-on\x20campaign','--result\x20<target>','--description\x20<text>','[action]','Open\x20parent\x20segment\x20in\x20web\x20browser','opts','projects\x20[pattern]','Resume\x20a\x20paused\x20always-on\x20campaign','grapesjs','show\x20<folder_ref>','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Update\x20a\x20realtime\x20personalization\x20entity','version','--json-columns\x20<cols>','delete\x20<name>','delete\x20<project-name-or-id>','stderr','format','settings\x20<type>','--parent-segment\x20<name>','createAsync','--result\x20<url>','use\x20[name]','connections','--no-eval','Retry\x20limit\x20(0\x20to\x2032)','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','pause\x20<name-or-id>','retry\x20<session-id>','--folder\x20<name>','flags','Timezone\x20for\x20cron\x20(default:\x20UTC)','run\x20[workflow]','stringify','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','--chat-id\x20<id>','split','333900vUEgmk','-f,\x20--file\x20<path>','set\x20<key=value>','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','--yes','list\x20[project]','Plaintext\x20template\x20content','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Create\x20a\x20new\x20always-on\x20campaign','pull\x20[name]','push\x20[parent_or_file]','table','Create\x20an\x20email\x20template','--json','query\x20[sql]','--customer-group\x20<json>','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','logs','upload\x20[project-name-or-dir]','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Show\x20journey\x20details','Timezone\x20for\x20cron','show\x20<personalization_id>','Workflow\x20(Digdag)\x20management\x20commands','--from-task\x20<task>','commandDescription','isArray','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','--account-name\x20<name>','Enable\x20UTM\x20tracking','Add\x20attributes\x20from\x20JSON\x20file','Campaign\x20type\x20(email\x20or\x20push)','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','CDP\x20Journey\x20Orchestration\x20commands','--force','padEnd','Preview\x20operation\x20without\x20executing','Output\x20as\x20JSON\x20Lines','Delete\x20a\x20campaign','segments\x20[path]','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','Show\x20the\x20most\x20recent\x20chat','includes','--attributes\x20<json>','\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON','List\x20all\x20data\x20connections','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','Database\x20name\x20(default:\x20information_schema)','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','--follow','LLM\x20project\x20management','INFO','Reason\x20for\x20killing\x20the\x20attempt','New\x20service\x20description','accessToken','Update\x20an\x20existing\x20agent','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','argumentTerm','Assignee','site','Overwrite\x20local\x20changes\x20without\x20confirmation','Limit\x20number\x20of\x20rows','--in\x20<database>','clear','Kill\x20a\x20job','--add-behaviors-file\x20<file>','Sections\x20as\x20an\x20inline\x20JSON\x20array','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Campaign\x20name','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','-C,\x20--directory\x20<path>','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','delete\x20<name-or-id>','Database\x20to\x20query\x20(default:\x20information_schema)','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Name\x20for\x20the\x20new\x20project\x20(required)','YAML\x20file\x20path\x20for\x20unpushed\x20segment','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','commandUsage','--priority\x20<priority>','--limit\x20<number>','service','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','retry','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','Skip\x20confirmation\x20prompt','delete\x20<agent-name>','restore\x20<folder>','submit\x20[query]','0.7','1346680RvVGWG','create\x20<name-or-path>','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','AI-native\x20CLI\x20for\x20Treasure\x20Data','Folder\x20name\x20for\x20organization','--behaviors-file\x20<file>','Show\x20Kanban\x20board\x20view\x20of\x20tasks','types','Parent\x20segment\x20management','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','databases\x20[pattern]','clone\x20[source-dir]','Workspace\x20management','--invisible','Target\x20directory\x20for\x20YAML\x20files','--resume-from\x20<task>','duplicate\x20<name-or-id>','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','Create\x20a\x20workspace','get','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','Email\x20sender\x20ID\x20for\x20delivery','tsv','--tags\x20<tags>','preview\x20[file]','desc\x20[segment_name]','kill','--html\x20<html>','length','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','--subject\x20<subject>','Personalization\x20management','Show\x20segment\x20schema\x20(column\x20types)','Show\x20master\x20table\x20sample\x20data','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','fields\x20[name]','Check\x20for\x20updates\x20without\x20installing','required','--priority\x20<-2~2>','update\x20<name-or-id>','parent_segment','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','addHelpText','Composable\x20segment\x20commands','template','Preview\x20without\x20creating\x20the\x20project','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','subcommandDescription','launch\x20<name-or-id>','--skip-validation','options','claude\x20[args...]','Segment\x20description','create\x20<name>\x20<service_id>\x20[parent_segment]','run\x20<name>','create\x20<name>','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','--include-retried','--num\x20<1-10>','Behaviors\x20from\x20JSON\x20file','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','allowExcessArguments','senders\x20[pattern]','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Continue\x20most\x20recent\x20conversation','agent','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Describe\x20table\x20schema','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a','\x0aGlobal\x20Options:\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20clear\x20(clears\x20default\x20profile\x20if\x20not\x20specified)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Clear\x20API\x20key\x20for\x20default\x20profile\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20--profile\x20prod\x20\x20#\x20Clear\x20API\x20key\x20for\x20\x27prod\x27\x20profile\x0a','97626AJtFVI','Read\x20HTML\x20template\x20from\x20file','pause\x20<name-or-path>','push\x20[file]','--method\x20<pm>','--add-attributes-file\x20<file>','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','Workspace\x20name\x20(required)','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','--attributes-file\x20<file>','Run\x20Trino\x20query\x20with\x20streaming\x20results','Skip\x20validation\x20of\x20.dig\x20files','new\x20<title>','Delete\x20a\x20workspace','-1d','board','Journey\x20version\x20management','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20ap01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a','--no-count-population','Get\x20current\x20RT\x20configuration\x20version\x20status','log','push\x20[name]','--table','Email\x20subject\x20template','attempts\x20[project]','-d,\x20--database\x20<database>','Output\x20folder\x20(default:\x20{project_name}.llm)','Show\x20schedule\x20details','Directory\x20does\x20not\x20exist:\x20','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','--behaviors\x20<json>','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','Database\x20name','--delay\x20<seconds>','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Create\x20a\x20new\x20agent\x20in\x20current\x20project','action','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','policy','Workflow\x20parameter\x20(repeatable)','argument','set\x20<args...>','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','tasks','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Personalization\x20description','update\x20<service_id>\x20[parent_segment]','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','segment','Maximum\x20number\x20of\x20nodes','-a,\x20--agent\x20<name>','attempt','entries','Open\x20segment\x20in\x20web\x20browser','--reason\x20<text>','--llm-project\x20<name>','Setup\x20API\x20key\x20authentication\x20interactively','--path\x20<file-path>','show\x20[name]','Agent\x20name','Include\x20execution\x20statistics','--model\x20<name>','--folder-id\x20<id>','--segment\x20<path>','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','List\x20secret\x20keys\x20for\x20a\x20project','command','kill\x20<job-id>','--last','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','-X,\x20--method\x20<method>','activations\x20<segment_name>','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','resume_activations\x20<journeyId>','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','236151kocuGb','list\x20[pattern]','Project\x20description','Delete\x20a\x20realtime\x20personalization','--start-at\x20<datetime>','project','preview\x20[name]','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','llm','HTML\x20template\x20content','Add\x20behaviors\x20as\x20JSON\x20string','--schedule-option\x20<value>','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','--tsv','desc','Updated\x20description','Initialize\x20a\x20new\x20workspace','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','Options:','view\x20<name-or-path>','Delete\x20an\x20agent','Customer\x20group\x20as\x20JSON\x20string','after','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','--add-behaviors\x20<json>','list\x20[path]','Access\x20control\x20policy\x20commands','always-on-campaign','\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\x20\x20$\x20tdx\x20profile\x20create\x20prod\x20-f\x20\x20\x20\x20\x20\x20#\x20Overwrite\x20existing\x20\x27prod\x27\x20profile\x0a','--clear','[task-name]','registeredArguments','Include\x20subtasks\x20in\x20tasks\x20output','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','-d,\x20--database\x20<db>','Submit\x20a\x20job','parse','tables\x20[pattern]','--name\x20<text>','\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','timeout','work','engage_workspace','list\x20[audience_name]','--enriched','argv','fields\x20[parent_name]','Query\x20type:\x20trino\x20or\x20hive','Clear\x20session\x20context','outputHelp','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','--cron\x20<expression>','--body\x20<body>','Maximum\x20tool\x20iterations\x20(default:\x204)','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','--rule-file\x20<file>','--kind\x20<type>','--param\x20<key=value>','session','--database\x20<db>','Add\x20attributes\x20as\x20JSON\x20string','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Open\x20a\x20document\x20in\x20$EDITOR','Master\x20database\x20name','tdx\x20','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','run','list\x20[name]','sql\x20[segment_name]','parents\x20[pattern]','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','Output\x20file\x20path','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','--all','clone\x20[source]','--name\x20<name>','folder','name','--from\x20<timestamp>','TRACE','User\x20management\x20commands','--attribute\x20[name]','templates\x20[pattern]','delete\x20<personalization_id>','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','--engine-version\x20<version>','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','push\x20[target]','Include\x20all\x20items\x20(no\x20stale\x20filtering)','activations\x20<name-or-path>','jsonl','chat\x20[message...]','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Show\x20workspace\x20details','--retry-limit\x20<0~32>','Read\x20query\x20from\x20file','Pull\x20specific\x20revision\x20(default:\x20latest)','--public','Validate\x20campaign\x20YAML\x20files\x20locally','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','--enable-utm-tracking','Override\x20project\x20name','columns\x20<name-or-path>','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Show\x20items\x20updated\x20within\x20N\x20days','-o,\x20--output\x20<file>','show\x20[table]','Workspace\x20name','--full','--params\x20<json>','Updated\x20schedule\x20option','Invalid\x20--limit\x20value:\x20\x22','tdx','api\x20[endpoint]','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','workspaces\x20[pattern]','--table\x20<table>','preview\x20<segment_name>','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','upgrade','alias','-w,\x20--web','Temperature\x20(0.0-2.0,\x20default:\x200.7)','optionTerm','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','allowUnknownOption','run\x20[name]','forEach','describe','--type\x20<type>','Workflow\x20session\x20management','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','--type\x20<api_type>','Timezone\x20(e.g.,\x20America/Los_Angeles)','Export\x20journey(s)\x20as\x20YAML\x20files','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','Scheduled\x20query\x20management\x20commands','--stage\x20<name>','Cron\x20expression\x20for\x20scheduling','backup\x20<name>','Make\x20segment\x20invisible\x20(default:\x20visible)','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','use\x20<name>','Change\x20to\x20directory\x20before\x20executing\x20command','--assignee\x20<assignee>','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','-o,\x20--output\x20<folder>','--name\x20<names>','claude-4.5-sonnet','--debug','--interval\x20<range>','Generate\x20test\x20conversations\x20without\x20evaluation','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Workspace\x20description','subcommandTerm','\x20(resolved\x20to\x20','Pull\x20campaigns\x20to\x20YAML\x20files','Show\x20journey\x20statistics','List\x20journeys\x20in\x20current\x20context','--name\x20<new_name>','resume\x20<name-or-id>','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Skip\x20confirmation\x20prompts','Version\x20number\x20to\x20view','Priority\x20(critical,\x20high,\x20medium,\x20low)','delete\x20<token_id>\x20[parent_segment]','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','folders\x20<parent_name>','database','--color','schedule','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Finish\x20an\x20always-on\x20campaign','Resume\x20from\x20specific\x20task','view\x20[segment_name]','Run\x20tests\x20for\x20an\x20LLM\x20agent','Show\x20journey\x20table\x20column-to-step\x20mapping','aliases','AI-native\x20work\x20management','init\x20[name]','Delete\x20a\x20scheduled\x20query','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','show\x20<job-id>','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Duplicate\x20a\x20campaign','Arguments:','error','preAction','cas','--editor-type\x20<type>','Request\x20body\x20as\x20JSON\x20string','--audience-id\x20<id>','[options]\x20--\x20[claude-code-args...]','Preview\x20changes\x20without\x20pushing','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','--days\x20<n>','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','statusline','update\x20<segment_name>','configuration_versions\x20[name]','Service\x20description','--sections\x20<json>','pull\x20[workspace-name]','Create\x20a\x20new\x20document','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','_hidden','trace','Resume\x20a\x20paused\x20campaign','directory','Database\x20name\x20(required)','Unknown\x20action:\x20','Read\x20request\x20body\x20from\x20file','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','hidden','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Show\x20schedule\x20execution\x20history','-f,\x20--force','--catalog\x20<catalog>','chats','history\x20<name>','DEBUG','--help','pull\x20[workspace]','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','workspace','filter','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Make\x20service\x20public\x20(default:\x20private)','summary','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','--from\x20<date>','update\x20<name>','mcp','sql\x20[name]','show\x20<policy>','update\x20<agent-name>','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Pause\x20activations\x20in\x20an\x20RT\x20journey','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Get\x20job\x20results','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','token','--verbose','flatMap','--plaintext\x20<text>','New\x20workspace\x20name','Show\x20campaign\x20details','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','help','Output\x20as\x20JSON','Delete\x20an\x20email\x20template','Resume\x20activations\x20in\x20an\x20RT\x20journey','Comma-separated\x20tags','--no-proxy','Path\x20is\x20not\x20a\x20directory:\x20','parent-segment','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','--dry-run','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Save\x20output\x20to\x20file','--output\x20<file>','parent','list','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','Always-on\x20campaign\x20management','314220uMVBDD','show\x20<name-or-id>','use\x20[resource]\x20[value]','--trace','574owLvyK','Filtering\x20rule\x20as\x20JSON\x20string','--email-sender-id\x20<id>','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','Show\x20only\x20master\x20table\x20validation','delete\x20<service_id>\x20[parent_segment]','--html-file\x20<path>','--schedule-type\x20<type>','attempt:','--kind\x20<kind>','Show\x20what\x20would\x20be\x20written\x20without\x20writing','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','--timezone\x20<tz>','List\x20journeys\x20(alias\x20for\x20journey\x20list)','job','connection','secrets','trino','Include\x20raw\x20history\x20data\x20in\x20output','Pull\x20specific\x20template\x20by\x20name','Update\x20an\x20always-on\x20campaign','push','--max-depth\x20<depth>','Database\x20management\x20commands','requiredOption','--session-id\x20<id>','3vQXsPE','--revision\x20<revision>'];a2_0x5bed=function(){return _0x4b69f2;};return a2_0x5bed();}const deliveryCmd=program[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x3cd))['description'](a2_0x3b3df4(0x400));deliveryCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x1d6))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x36f))['option'](a2_0x3b3df4(0x3c8),'Workspace\x20name')[a2_0x3b3df4(0x204)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x358))[a2_0x3b3df4(0x3d6)]('Data\x20connection\x20management\x20(for\x20activations/exports)'),connectionListAction=async _0x30d6f5=>{const _0x31ec7c=new ConnectionListCommand(),_0x2391aa=program['opts'](),_0x154fa6=await createTDXInstance(_0x2391aa),_0x9b7993=await _0x31ec7c['run']({'options':{..._0x2391aa,..._0x30d6f5},'args':[],'tdx':_0x154fa6});gracefulExit(_0x9b7993);};connectionCmd[a2_0x3b3df4(0x223)]('list')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x167))[a2_0x3b3df4(0x204)](connectionListAction),program['command'](a2_0x3b3df4(0x43a),{'hidden':!![]})[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x1d4))['action'](connectionListAction),connectionCmd['command'](a2_0x3b3df4(0x3bb))['description']('Show\x20connection\x20details\x20by\x20name')[a2_0x3b3df4(0x204)](async(_0x1a5dec,_0x4885ee)=>{const _0x55499a=a2_0x3b3df4,_0x196e38=new ConnectionShowCommand(),_0x5a59d0=program[_0x55499a(0x428)](),_0x2ed91e=await createTDXInstance(_0x5a59d0),_0x590c19=await _0x196e38[_0x55499a(0x277)]({'options':{..._0x5a59d0,..._0x4885ee},'args':[_0x1a5dec],'tdx':_0x2ed91e});gracefulExit(_0x590c19);}),connectionCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x3c4))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x23a))['action'](async(_0x3a17ee,_0x510d31)=>{const _0x4f176f=a2_0x3b3df4,_0x480365=new ConnectionSchemaCommand(),_0x43d3bf=program[_0x4f176f(0x428)](),_0x45c9e9=await createTDXInstance(_0x43d3bf),_0x1f843a=await _0x480365[_0x4f176f(0x277)]({'options':{..._0x43d3bf,..._0x510d31},'args':[_0x3a17ee],'tdx':_0x45c9e9});gracefulExit(_0x1f843a);}),connectionCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x19d))[a2_0x3b3df4(0x3d6)]('List\x20available\x20connector\x20types')[a2_0x3b3df4(0x204)](async _0x2e63f0=>{const _0x195058=a2_0x3b3df4,_0x4b86e8=new ConnectionTypesCommand(),_0x4f3c64=program[_0x195058(0x428)](),_0x418684=await createTDXInstance(_0x4f3c64),_0x186abc=await _0x4b86e8[_0x195058(0x277)]({'options':{..._0x4f3c64,..._0x2e63f0},'args':[],'tdx':_0x418684});gracefulExit(_0x186abc);}),connectionCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x435))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x33a))[a2_0x3b3df4(0x204)](async(_0xa3defc,_0x19234f)=>{const _0x70de2d=a2_0x3b3df4,_0x246a4a=new ConnectionSettingsCommand(),_0x54544b=program['opts'](),_0x28f4e0=await createTDXInstance(_0x54544b),_0x11974d=await _0x246a4a[_0x70de2d(0x277)]({'options':{..._0x54544b,..._0x19234f},'args':[_0xa3defc],'tdx':_0x28f4e0});gracefulExit(_0x11974d);});const casCmd=program['command'](a2_0x3b3df4(0x2f3))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x2dd));casCmd['command']('list')['description']('List\x20composable\x20audiences')[a2_0x3b3df4(0x204)](async _0xc0f631=>{const _0x2e0c86=new CASListCommand(),_0x3b8db3=program['opts'](),_0x5715f1=await createTDXInstance(_0x3b8db3),_0x33d7c2=await _0x2e0c86['run']({'options':{..._0x3b8db3,..._0xc0f631},'args':[],'tdx':_0x5715f1});gracefulExit(_0x33d7c2);}),casCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x41e))['description']('Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3b3df4(0x204)](async(_0x3f66a8,_0x3ef0f0)=>{const _0x13de00=a2_0x3b3df4,_0x8761db=new CASDescCommand(),_0x1b7a9a=program[_0x13de00(0x428)](),_0x5f30f7=await createTDXInstance(_0x1b7a9a),_0x41c23a=await _0x8761db[_0x13de00(0x277)]({'options':{..._0x1b7a9a,..._0x3ef0f0},'args':_0x3f66a8?[_0x3f66a8]:[],'tdx':_0x5f30f7});gracefulExit(_0x41c23a);}),casCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x452))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x404))['option']('--dir\x20<dir>',a2_0x3b3df4(0x1a4))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x339),a2_0x3b3df4(0x3fa))[a2_0x3b3df4(0x204)](async(_0x1000dd,_0x114818)=>{const _0x29e885=a2_0x3b3df4,_0x23d92f=new CASPullCommand(),_0xf17da5=program['opts'](),_0x1e5837=await createTDXInstance(_0xf17da5),_0x226c30=await _0x23d92f[_0x29e885(0x277)]({'options':{..._0xf17da5,..._0x114818},'args':_0x1000dd?[_0x1000dd]:[],'tdx':_0x1e5837});gracefulExit(_0x226c30);}),casCmd[a2_0x3b3df4(0x223)]('push\x20[target]')['description'](a2_0x3b3df4(0x3e8))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x339),a2_0x3b3df4(0x247))[a2_0x3b3df4(0x204)](async(_0x56b4b4,_0x534d77)=>{const _0x343e60=a2_0x3b3df4,_0xc40422=new CASPushCommand(),_0x141276=program[_0x343e60(0x428)](),_0x56cae2=await createTDXInstance(_0x141276),_0x4ca9f9=await _0xc40422[_0x343e60(0x277)]({'options':{..._0x141276,..._0x534d77},'args':_0x56b4b4?[_0x56b4b4]:[],'tdx':_0x56cae2});gracefulExit(_0x4ca9f9);}),casCmd['command'](a2_0x3b3df4(0x2aa))['description']('Preview\x20composable\x20segment\x20query\x20on\x20CDW')[a2_0x3b3df4(0x368)]('--audience\x20<name>','Composable\x20audience\x20name')['action'](async(_0x15998a,_0x45c234)=>{const _0x41dbf8=a2_0x3b3df4,_0x1bff05=new CASPreviewCommand(),_0xa24e30=program[_0x41dbf8(0x428)](),_0x15690f=await createTDXInstance(_0xa24e30),_0xa87d73=await _0x1bff05[_0x41dbf8(0x277)]({'options':{..._0xa24e30,..._0x45c234},'args':[_0x15998a,_0x45c234['audience']],'tdx':_0x15690f});gracefulExit(_0xa87d73);});const casSgCmd=casCmd[a2_0x3b3df4(0x223)]('sg')['description'](a2_0x3b3df4(0x1c2));casSgCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x25c))[a2_0x3b3df4(0x3d6)]('List\x20composable\x20segments\x20for\x20an\x20audience')[a2_0x3b3df4(0x204)](async(_0x760929,_0x17ac8c)=>{const _0x4e718e=a2_0x3b3df4,_0x577795=new CASSegmentListCommand(),_0xbee1d2=program[_0x4e718e(0x428)](),_0x4d46be=await createTDXInstance(_0xbee1d2),_0x2dd0ae=await _0x577795[_0x4e718e(0x277)]({'options':{..._0xbee1d2,..._0x17ac8c},'args':_0x760929?[_0x760929]:[],'tdx':_0x4d46be});gracefulExit(_0x2dd0ae);});const journeyCmd=program['command'](a2_0x3b3df4(0x40c))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x15b)),journeyListAction=async(_0x1b84d5,_0x13fade)=>{const _0x4391c5=a2_0x3b3df4,_0x2891b8=new JourneyListCommand(),_0x3b57c9=program[_0x4391c5(0x428)](),_0x27e885=await createTDXInstance(_0x3b57c9),_0x2e72b8=await _0x2891b8[_0x4391c5(0x277)]({'options':{..._0x3b57c9,..._0x13fade},'args':_0x1b84d5?[_0x1b84d5]:[],'tdx':_0x27e885});gracefulExit(_0x2e72b8);};journeyCmd['command'](a2_0x3b3df4(0x22d))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x2d5))[a2_0x3b3df4(0x204)](journeyListAction),journeyCmd['command']('view\x20<name-or-path>')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x14c))[a2_0x3b3df4(0x368)]('-w,\x20--web','Open\x20journey\x20in\x20web\x20browser')[a2_0x3b3df4(0x368)]('--include-stats',a2_0x3b3df4(0x21d))[a2_0x3b3df4(0x204)](async(_0xe24e02,_0x296f40)=>{const _0x2fc612=a2_0x3b3df4,_0x232eca=new JourneyViewCommand(),_0x42aefc=program[_0x2fc612(0x428)](),_0x568c9e=await createTDXInstance(_0x42aefc),_0x71048a=await _0x232eca['run']({'options':{..._0x42aefc,..._0x296f40},'args':[_0xe24e02],'tdx':_0x568c9e});gracefulExit(_0x71048a);}),journeyCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x3ab))['description'](a2_0x3b3df4(0x2d4))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2be),'Show\x20stats\x20for\x20specific\x20stage')['option'](a2_0x3b3df4(0x31e),'Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x3b3df4(0x368)]('--to\x20<date>','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x3b3df4(0x368)]('--include-history',a2_0x3b3df4(0x35b))[a2_0x3b3df4(0x204)](async(_0x4dd2a5,_0x2cf169)=>{const _0x729d98=a2_0x3b3df4,_0x405b2c=new JourneyStatsCommand(),_0x43f443=program['opts'](),_0x239d09=await createTDXInstance(_0x43f443),_0x4dfbd9=await _0x405b2c[_0x729d98(0x277)]({'options':{..._0x43f443,..._0x2cf169},'args':[_0x4dd2a5],'tdx':_0x239d09});gracefulExit(_0x4dfbd9);}),journeyCmd['command'](a2_0x3b3df4(0x3d9))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x19f))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2b6),a2_0x3b3df4(0x34c))['option']('--from\x20<date>',a2_0x3b3df4(0x17f))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x41d),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')['option'](a2_0x3b3df4(0x18b),a2_0x3b3df4(0x212),_0x39be9c=>{const _0x10b286=a2_0x3b3df4,_0x1cc97e=parseInt(_0x39be9c,0xa);if(isNaN(_0x1cc97e))throw new Error(_0x10b286(0x2a4)+_0x39be9c+_0x10b286(0x388));return _0x1cc97e;})[a2_0x3b3df4(0x204)](async(_0x400147,_0xca2469)=>{const _0x59ac65=a2_0x3b3df4,_0x1242e5=new JourneyTrafficCommand(),_0xc038db=program['opts'](),_0x5ac690=await createTDXInstance(_0xc038db),_0x2eb701=await _0x1242e5[_0x59ac65(0x277)]({'options':{..._0xc038db,..._0xca2469},'args':[_0x400147],'tdx':_0x5ac690});gracefulExit(_0x2eb701);}),journeyCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x1e1))[a2_0x3b3df4(0x3d6)]('Pause\x20a\x20running\x20journey')[a2_0x3b3df4(0x204)](async(_0x2254a9,_0x5182bd)=>{const _0x3b94cc=new JourneyPauseCommand(),_0x57518a=program['opts'](),_0x212266=await createTDXInstance(_0x57518a),_0x4834a9=await _0x3b94cc['run']({'options':{..._0x57518a,..._0x5182bd},'args':[_0x2254a9],'tdx':_0x212266});gracefulExit(_0x4834a9);}),journeyCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x3af))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x418))[a2_0x3b3df4(0x204)](async(_0x3c9a29,_0x191ed5)=>{const _0x38f66f=a2_0x3b3df4,_0xab1a1b=new JourneyResumeCommand(),_0x149e74=program[_0x38f66f(0x428)](),_0x2726b5=await createTDXInstance(_0x149e74),_0xbc22d8=await _0xab1a1b[_0x38f66f(0x277)]({'options':{..._0x149e74,..._0x191ed5},'args':[_0x3c9a29],'tdx':_0x2726b5});gracefulExit(_0xbc22d8);}),journeyCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x452))['description'](a2_0x3b3df4(0x2bb))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x339),a2_0x3b3df4(0x3fa))[a2_0x3b3df4(0x204)](async(_0x5faed7,_0x2cdaa0)=>{const _0x19ee81=a2_0x3b3df4,_0x4b20ff=new JourneyPullCommand(),_0x4fe97c=program[_0x19ee81(0x428)](),_0x9bd8d8=await createTDXInstance(_0x4fe97c),_0x2617f9=await _0x4b20ff[_0x19ee81(0x277)]({'options':{..._0x4fe97c,..._0x2cdaa0},'args':_0x5faed7?[_0x5faed7]:[],'tdx':_0x9bd8d8});gracefulExit(_0x2617f9);}),journeyCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x28c))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x1aa))[a2_0x3b3df4(0x204)](async(_0x37b2e4,_0x429b73)=>{const _0x300a76=a2_0x3b3df4,_0x98ce66=new JourneyPushCommand(),_0x3d7b47=program[_0x300a76(0x428)](),_0x3a1d16=await createTDXInstance(_0x3d7b47),_0x14ed03=await _0x98ce66[_0x300a76(0x277)]({'options':{..._0x3d7b47,..._0x429b73},'args':_0x37b2e4?[_0x37b2e4]:[],'tdx':_0x3a1d16});gracefulExit(_0x14ed03);}),journeyCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x29b))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x2e7))[a2_0x3b3df4(0x204)](async(_0xbd7a7e,_0x1d8560)=>{const _0x337795=a2_0x3b3df4,_0x566db=new JourneyColumnsCommand(),_0x3b2d68=program['opts'](),_0x4d5cf0=await createTDXInstance(_0x3b2d68),_0x18a732=await _0x566db[_0x337795(0x277)]({'options':{..._0x3b2d68,..._0x1d8560},'args':[_0xbd7a7e],'tdx':_0x4d5cf0});gracefulExit(_0x18a732);}),journeyCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x28e))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x3b9))[a2_0x3b3df4(0x204)](async(_0x97421f,_0x545e6e)=>{const _0x2c8ba9=a2_0x3b3df4,_0x128f7f=new JourneyActivationsCommand(),_0x1c5a1f=program[_0x2c8ba9(0x428)](),_0x35ec2c=await createTDXInstance(_0x1c5a1f),_0x2854fd=await _0x128f7f['run']({'options':{..._0x1c5a1f,..._0x545e6e},'args':[_0x97421f],'tdx':_0x35ec2c});gracefulExit(_0x2854fd);}),journeyCmd['command']('versions\x20<name-or-path>')['description']('List\x20all\x20versions\x20of\x20a\x20journey')[a2_0x3b3df4(0x204)](async(_0x377773,_0x27c648)=>{const _0x2678a3=a2_0x3b3df4,_0x5a4a66=new JourneyVersionsCommand(),_0x57906d=program[_0x2678a3(0x428)](),_0xe6d2d4=await createTDXInstance(_0x57906d),_0x138b96=await _0x5a4a66[_0x2678a3(0x277)]({'options':{..._0x57906d,..._0x27c648},'args':[_0x377773],'tdx':_0xe6d2d4});gracefulExit(_0x138b96);});const journeyVersionCmd=journeyCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x42f))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x1f0));journeyVersionCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x197))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x2b1))[a2_0x3b3df4(0x204)](async(_0xf12fb1,_0x4b52e5)=>{const _0x5e7771=a2_0x3b3df4,_0x149e0b=new JourneyVersionCreateCommand(),_0x11c291=program[_0x5e7771(0x428)](),_0x1b859f=await createTDXInstance(_0x11c291),_0x57bf3e=await _0x149e0b[_0x5e7771(0x277)]({'options':{..._0x11c291,..._0x4b52e5},'args':[_0xf12fb1],'tdx':_0x1b859f});gracefulExit(_0x57bf3e);}),journeyVersionCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x241))[a2_0x3b3df4(0x3d6)]('View\x20a\x20specific\x20version\x20of\x20a\x20journey')[a2_0x3b3df4(0x361)]('--version\x20<number>',a2_0x3b3df4(0x2da))[a2_0x3b3df4(0x204)](async(_0x3903d6,_0x2d7820)=>{const _0x68b555=a2_0x3b3df4,_0x5a213e=new JourneyVersionViewCommand(),_0x512ef4=program[_0x68b555(0x428)](),_0x6264bc=await createTDXInstance(_0x512ef4),_0x241ef5=await _0x5a213e[_0x68b555(0x277)]({'options':{..._0x512ef4,..._0x2d7820},'args':[_0x3903d6],'tdx':_0x6264bc});gracefulExit(_0x241ef5);}),journeyCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x3d5))['description']('Validate\x20journey\x20YAML\x20files\x20locally')[a2_0x3b3df4(0x204)](async(_0xe91d9c,_0x462d22)=>{const _0x5a4b4e=a2_0x3b3df4,_0x1e73c4=new JourneyValidateCommand(),_0x38b2a1=program[_0x5a4b4e(0x428)](),_0x3814a3=await createTDXInstance(_0x38b2a1),_0x1a76a7=await _0x1e73c4[_0x5a4b4e(0x277)]({'options':{..._0x38b2a1,..._0x462d22},'args':_0xe91d9c?[_0xe91d9c]:[],'tdx':_0x3814a3});gracefulExit(_0x1a76a7);}),program[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x3b4))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x356))['action'](journeyListAction);const agentSyncCmd=program[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x1d9))['description']('LLM\x20agent\x20management');agentSyncCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x3a5))[a2_0x3b3df4(0x3d6)]('Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3dc),'Output\x20directory')[a2_0x3b3df4(0x368)]('-f,\x20--force',a2_0x3b3df4(0x176))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x213),a2_0x3b3df4(0x338))[a2_0x3b3df4(0x204)](async(_0x3e54c8,_0x28b1d2,_0x4f68e2)=>{const _0x231b6e=a2_0x3b3df4,_0x39de6a=new AgentPullCommand(),_0x456eec=program[_0x231b6e(0x428)](),_0x17e066=await createTDXInstance(_0x456eec),_0x24b56e=[];if(_0x3e54c8)_0x24b56e[_0x231b6e(0x35e)](_0x3e54c8);if(_0x28b1d2)_0x24b56e['push'](_0x28b1d2);const _0x3c17e0=await _0x39de6a[_0x231b6e(0x277)]({'options':{..._0x456eec,..._0x4f68e2},'args':_0x24b56e,'tdx':_0x17e066});gracefulExit(_0x3c17e0);}),agentSyncCmd[a2_0x3b3df4(0x223)]('push\x20[path]')[a2_0x3b3df4(0x3d6)]('Push\x20local\x20agent\x20files\x20to\x20LLM\x20project')['option'](a2_0x3b3df4(0x30f),a2_0x3b3df4(0x422))['action'](async(_0x29cb0a,_0x540f3e)=>{const _0x4357f3=a2_0x3b3df4,_0x360a8a=new AgentPushCommand(),_0x2684a9=program[_0x4357f3(0x428)](),_0x19a17c=await createTDXInstance(_0x2684a9),_0x40a33c=await _0x360a8a[_0x4357f3(0x277)]({'options':{..._0x2684a9,..._0x540f3e},'args':_0x29cb0a?[_0x29cb0a]:[],'tdx':_0x19a17c});gracefulExit(_0x40a33c);}),agentSyncCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x27f))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x341))['option'](a2_0x3b3df4(0x3c7),a2_0x3b3df4(0x186))[a2_0x3b3df4(0x204)](async(_0x2dcdff,_0x25ac9a)=>{const _0x507834=a2_0x3b3df4,_0x58202a=new AgentCloneCommand(),_0x1a21f7=program[_0x507834(0x428)](),_0x1dc201=await createTDXInstance(_0x1a21f7),_0x546641=await _0x58202a['run']({'options':{..._0x1a21f7,..._0x25ac9a},'args':_0x2dcdff?[_0x2dcdff]:[],'tdx':_0x1dc201});gracefulExit(_0x546641);}),agentSyncCmd[a2_0x3b3df4(0x223)]('test\x20[path]')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x2e6))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2ca),'Run\x20specific\x20tests\x20(comma-separated)')[a2_0x3b3df4(0x368)]('--tags\x20<tags>',a2_0x3b3df4(0x3fc))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x339),'Parse\x20and\x20validate\x20without\x20executing')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x43b),a2_0x3b3df4(0x2ce))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x403),a2_0x3b3df4(0x2b8))['action'](async(_0x5e7f29,_0x4c8261)=>{const _0x1ba859=a2_0x3b3df4,_0x3a423f=new AgentTestCommand(),_0xcbbd0d=program[_0x1ba859(0x428)](),_0x2153ba=await createTDXInstance(_0xcbbd0d),_0x2252a0=await _0x3a423f[_0x1ba859(0x277)]({'options':{..._0xcbbd0d,..._0x4c8261},'args':_0x5e7f29?[_0x5e7f29]:[],'tdx':_0x2153ba});gracefulExit(_0x2252a0);}),agentSyncCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x22d))['description']('List\x20agents\x20in\x20current\x20project')[a2_0x3b3df4(0x204)](llmAgentListAction),agentSyncCmd[a2_0x3b3df4(0x223)]('show\x20<agent-name>')[a2_0x3b3df4(0x3d6)]('Show\x20agent\x20details')[a2_0x3b3df4(0x204)](async(_0x49fe55,_0x175098)=>{const _0x2d0142=a2_0x3b3df4,_0x4a99c3=new LLMAgentShowCommand(),_0x2e7c19=program[_0x2d0142(0x428)](),_0x484387=await createTDXInstance(_0x2e7c19),_0x3d5afd=await _0x4a99c3[_0x2d0142(0x277)]({'options':{..._0x2e7c19,..._0x175098},'args':[_0x49fe55],'tdx':_0x484387});gracefulExit(_0x3d5afd);}),agentSyncCmd['command']('create\x20<name>')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x203))[a2_0x3b3df4(0x368)]('--system-prompt\x20<text>','System\x20prompt/instructions\x20(default:\x20empty)')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x21e),a2_0x3b3df4(0x37a),a2_0x3b3df4(0x2cb))['option']('--starter-message\x20<text>',a2_0x3b3df4(0x3bd))[a2_0x3b3df4(0x368)]('--max-tool-iterations\x20<n>',a2_0x3b3df4(0x267),'4')[a2_0x3b3df4(0x368)]('--temperature\x20<n>',a2_0x3b3df4(0x2af),a2_0x3b3df4(0x195))['action'](async(_0x1f28af,_0x2cdd55)=>{const _0x35fecb=a2_0x3b3df4,_0x18b925=new LLMAgentCreateCommand(),_0x5bbe03=program['opts'](),_0x96f0ca=await createTDXInstance(_0x5bbe03),_0x3ff309=await _0x18b925[_0x35fecb(0x277)]({'options':{..._0x5bbe03,..._0x2cdd55},'args':[_0x1f28af],'tdx':_0x96f0ca});gracefulExit(_0x3ff309);}),agentSyncCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x323))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x171))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x257),a2_0x3b3df4(0x21c))[a2_0x3b3df4(0x368)]('--prompt\x20<text>','Agent\x20prompt/instructions')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x425),a2_0x3b3df4(0x3e3))[a2_0x3b3df4(0x368)]('--starter-message\x20<text>',a2_0x3b3df4(0x3bd))[a2_0x3b3df4(0x204)](async(_0x4ced87,_0x191af3)=>{const _0x48ada3=a2_0x3b3df4,_0x2a686e=new LLMAgentUpdateCommand(),_0x24336d=program['opts'](),_0x20d25e=await createTDXInstance(_0x24336d),_0x467e10=await _0x2a686e[_0x48ada3(0x277)]({'options':{..._0x24336d,..._0x191af3},'args':[_0x4ced87],'tdx':_0x20d25e});gracefulExit(_0x467e10);}),agentSyncCmd['command'](a2_0x3b3df4(0x192))['description'](a2_0x3b3df4(0x242))[a2_0x3b3df4(0x204)](async(_0x2d4256,_0x3efa51)=>{const _0x3e41e7=a2_0x3b3df4,_0x5598b6=new LLMAgentDeleteCommand(),_0x1d08fa=program[_0x3e41e7(0x428)](),_0x2ba0f1=await createTDXInstance(_0x1d08fa),_0x1f5661=await _0x5598b6[_0x3e41e7(0x277)]({'options':{..._0x1d08fa,..._0x3efa51},'args':[_0x2d4256],'tdx':_0x2ba0f1});gracefulExit(_0x1f5661);});const workCmd=program['command'](a2_0x3b3df4(0x25a))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x2e9));workCmd[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2fa),a2_0x3b3df4(0x29d))['option'](a2_0x3b3df4(0x27e),a2_0x3b3df4(0x28d))[a2_0x3b3df4(0x204)](workSummaryAction),workCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x2ea))['description'](a2_0x3b3df4(0x23e))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x3a0),'Link\x20workspace\x20to\x20a\x20GitHub\x20repository')[a2_0x3b3df4(0x204)](workInitAction),workCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x1ec))['description'](a2_0x3b3df4(0x302))['option'](a2_0x3b3df4(0x352),'Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','item')[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x1ad),a2_0x3b3df4(0x334))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x18a),a2_0x3b3df4(0x2db))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x266),a2_0x3b3df4(0x366))['option'](a2_0x3b3df4(0x3df),'Apply\x20a\x20template')[a2_0x3b3df4(0x368)]('--status\x20<status>',a2_0x3b3df4(0x390))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2c5),a2_0x3b3df4(0x174))['action'](workNewAction),workCmd[a2_0x3b3df4(0x223)]('move\x20<name>\x20<status>')[a2_0x3b3df4(0x3d6)]('Transition\x20a\x20task\x20to\x20a\x20new\x20status')[a2_0x3b3df4(0x204)](workMoveAction),workCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x1ef))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x19c))[a2_0x3b3df4(0x368)](a2_0x3b3df4(0x2fa),a2_0x3b3df4(0x29d))['option']('--all',a2_0x3b3df4(0x28d))['action'](workBoardAction),workCmd[a2_0x3b3df4(0x223)](a2_0x3b3df4(0x3bb))[a2_0x3b3df4(0x3d6)]('Show\x20document\x20details')[a2_0x3b3df4(0x204)](workShowAction),workCmd[a2_0x3b3df4(0x223)]('links\x20<name>')[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x27b))[a2_0x3b3df4(0x204)](workLinksAction),workCmd['command'](a2_0x3b3df4(0x374))[a2_0x3b3df4(0x3d6)](a2_0x3b3df4(0x273))[a2_0x3b3df4(0x204)](workOpenAction),program[a2_0x3b3df4(0x223)]('_list-commands',{'hidden':!![]})[a2_0x3b3df4(0x204)](()=>{const _0x307ce2=a2_0x3b3df4;function _0x423ba4(_0x2ca76d,_0x5f771c){const _0x3e8561=a2_0x2ba2,_0x469fca=[];for(const _0xf62b72 of _0x2ca76d[_0x3e8561(0x370)]){if(_0xf62b72[_0x3e8561(0x304)])continue;const _0x1bcf5f=_0x5f771c?_0x5f771c+'\x20'+_0xf62b72[_0x3e8561(0x282)]():_0xf62b72['name'](),_0x446730=_0x1bcf5f[_0x3e8561(0x447)]('\x20')[0x0],_0x42814c=COMMAND_CATEGORIES[_0x3e8561(0x3b6)](_0x448c70=>_0x448c70[_0x3e8561(0x370)][_0x3e8561(0x164)](_0x446730)),_0x491113=_0x42814c?.['name']??'';if(_0xf62b72[_0x3e8561(0x370)][_0x3e8561(0x1b2)]>0x0)_0x469fca[_0x3e8561(0x35e)](..._0x423ba4(_0xf62b72,_0x1bcf5f));else{const _0x46dbc2=(_0xf62b72[_0x3e8561(0x250)]||[])[_0x3e8561(0x371)](_0x3489dd=>{const _0x33a557=_0x3e8561,_0x502daf=_0x3489dd['variadic']?_0x3489dd['name']()+'...':_0x3489dd['name']();return _0x3489dd[_0x33a557(0x1bb)]?'<'+_0x502daf+'>':'['+_0x502daf+']';})[_0x3e8561(0x3e9)]('\x20'),_0x183a40=_0xf62b72[_0x3e8561(0x1ca)][_0x3e8561(0x318)](_0x555fe5=>!_0x555fe5['hidden']&&_0x555fe5['long']!==_0x3e8561(0x314))['map'](_0x329240=>({'flags':_0x329240[_0x3e8561(0x441)],'description':_0x329240['description']}));_0x469fca[_0x3e8561(0x35e)]({'name':_0x1bcf5f,'description':_0xf62b72[_0x3e8561(0x3d6)](),'group':_0x491113,'usage':_0x46dbc2,'options':_0x183a40});}}return _0x469fca;}console[_0x307ce2(0x1f4)](JSON[_0x307ce2(0x444)](_0x423ba4(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x77462=a2_0x3b3df4,_0x5147cc=!process[_0x77462(0x25e)]['slice'](0x2)['length'];showBriefHelp=_0x5147cc,program[_0x77462(0x255)](process['argv']);_0x5147cc&&program[_0x77462(0x262)]();const _0xe4fdf0=process['argv'][0x2]===_0x77462(0x2ac);if(process[_0x77462(0x433)][_0x77462(0x3e4)]&&process[_0x77462(0x25e)][_0x77462(0x1b2)]>0x2&&!isDevVersion()&&!_0xe4fdf0){const _0x23e24f=loadReleaseChannel();checkForUpdate(currentVersion,_0x23e24f)[_0x77462(0x395)](_0x54a7ca=>{_0x54a7ca&&displayUpdateNotification(_0x54a7ca);})['catch'](()=>{});}}
1
+ const a2_0x24e1b0=a2_0x9648;(function(_0x1a0c5c,_0x38ce3f){const _0x1da011=a2_0x9648,_0x17841f=_0x1a0c5c();while(!![]){try{const _0x117f31=-parseInt(_0x1da011(0x1ff))/0x1*(parseInt(_0x1da011(0x3a1))/0x2)+-parseInt(_0x1da011(0x398))/0x3*(-parseInt(_0x1da011(0x313))/0x4)+parseInt(_0x1da011(0x225))/0x5+parseInt(_0x1da011(0x243))/0x6*(-parseInt(_0x1da011(0x3b9))/0x7)+parseInt(_0x1da011(0x3bf))/0x8*(-parseInt(_0x1da011(0x382))/0x9)+parseInt(_0x1da011(0x3ce))/0xa*(-parseInt(_0x1da011(0x39f))/0xb)+parseInt(_0x1da011(0x28b))/0xc;if(_0x117f31===_0x38ce3f)break;else _0x17841f['push'](_0x17841f['shift']());}catch(_0x111387){_0x17841f['push'](_0x17841f['shift']());}}}(a2_0xde7d,0x27bc8));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,PSRtJnListCommand,PSRtJnPauseCommand,PSRtJnResumeCommand,PSRtConfigVersionCommand,PSPzServiceListCommand,PSPzServiceCreateCommand,PSPzServiceShowCommand,PSPzServiceDeleteCommand,PSPzServiceUpdateCommand,PSPzServiceTokenCreateCommand,PSPzServiceTokenDeleteCommand,PSPzListCommand,PSPzShowCommand,PSPzDeleteCommand,PSPzCreateCommand,PSPzPatchCommand,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,WorkflowSchedulesCommand,WorkflowScheduleEnableCommand,WorkflowScheduleDisableCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileDeleteCommand,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{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{CASListCommand,CASDescCommand,CASPullCommand,CASPushCommand,CASPreviewCommand}from'./commands/cas-command.js';import{CASSegmentListCommand}from'./commands/cas-segment-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{workSummaryAction,workInitAction,workNewAction,workMoveAction,workBoardAction,workShowAction,workLinksAction,workOpenAction}from'./commands/work-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_0x24e1b0(0x1e4)][a2_0x24e1b0(0x4f4)](a2_0x24e1b0(0x3b2))){let versionOutput='tdx\x20'+currentVersion;buildInfo[a2_0x24e1b0(0x247)]&&!currentVersion[a2_0x24e1b0(0x4f4)](buildInfo[a2_0x24e1b0(0x247)])&&(versionOutput+='\x20('+buildInfo[a2_0x24e1b0(0x247)]+')'),buildInfo['buildTime']&&(versionOutput+='\x20-\x20built\x20'+buildInfo[a2_0x24e1b0(0x40e)]),console[a2_0x24e1b0(0x471)](versionOutput),process[a2_0x24e1b0(0x435)](0x0);}const program=new Command();export function mergeCommandOptions(_0x2e4251,_0x508a32){const _0x424bf2=a2_0x24e1b0,_0x1919cb={..._0x2e4251};for(const [_0x4a9e31,_0x268999]of Object[_0x424bf2(0x33c)](_0x508a32)){_0x268999!==undefined&&(_0x1919cb[_0x4a9e31]=_0x268999);}return _0x1919cb;}let showBriefHelp=![],description=a2_0x24e1b0(0x47e);buildInfo[a2_0x24e1b0(0x247)]&&!currentVersion[a2_0x24e1b0(0x4f4)](buildInfo[a2_0x24e1b0(0x247)])?description+=a2_0x24e1b0(0x345)+currentVersion+'\x20('+buildInfo[a2_0x24e1b0(0x247)]+')':description+=a2_0x24e1b0(0x345)+currentVersion;program[a2_0x24e1b0(0x3f0)](a2_0x24e1b0(0x2db))[a2_0x24e1b0(0x31b)](description),program[a2_0x24e1b0(0x4b7)]('-C,\x20--directory\x20<path>','Change\x20to\x20directory\x20before\x20executing\x20command')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x491),a2_0x24e1b0(0x1dd))[a2_0x24e1b0(0x4b7)]('--site\x20<site>',a2_0x24e1b0(0x43e),'us01')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x31f),a2_0x24e1b0(0x25e))['option'](a2_0x24e1b0(0x464),a2_0x24e1b0(0x433))['option']('--json',a2_0x24e1b0(0x2ff))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x364),'Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')['option'](a2_0x24e1b0(0x24a),'Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)')[a2_0x24e1b0(0x4b7)]('--output\x20<file>',a2_0x24e1b0(0x22a))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x1fd),a2_0x24e1b0(0x32d))['option']('--color','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x204),a2_0x24e1b0(0x29b),![])[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x2f7),a2_0x24e1b0(0x427),![])['option'](a2_0x24e1b0(0x4a2),a2_0x24e1b0(0x1f3))[a2_0x24e1b0(0x4b7)]('--trace',a2_0x24e1b0(0x3d1))['option']('--timeout\x20<seconds>','Set\x20operation\x20timeout\x20in\x20seconds','30')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4fe),a2_0x24e1b0(0x2ae),![])[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x42a),a2_0x24e1b0(0x342),![])[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x1ed),'Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)')[a2_0x24e1b0(0x4b7)]('--parent-segment\x20<name>',a2_0x24e1b0(0x253))[a2_0x24e1b0(0x4b7)]('--llm-project\x20<name>','LLM\x20project\x20to\x20use\x20(overrides\x20context)'),program[a2_0x24e1b0(0x2e6)]({'formatHelp':(_0xcc171b,_0x584124)=>{const _0x5aa34c=a2_0x24e1b0,_0x1565cb=_0x584124['padWidth'](_0xcc171b,_0x584124),_0x174a8f=0x2,_0x4b7864=0x2;function _0x5132c7(_0x4cf842){const _0x273d64=a2_0x9648,_0x43fd72=_0x4cf842;return!!(_0x43fd72[_0x273d64(0x412)]||_0x43fd72[_0x273d64(0x425)]);}function _0x1bef8b(_0x15290d,_0x583940){const _0x431fe3=a2_0x9648;if(_0x583940){const _0x2befe6=''+_0x15290d[_0x431fe3(0x4b3)](_0x1565cb+_0x4b7864)+_0x583940;return _0x2befe6;}return _0x15290d;}function _0x3d09c1(_0x47a10b){const _0x1b7502=a2_0x9648;return _0x47a10b[_0x1b7502(0x45a)]('\x0a')[_0x1b7502(0x31a)](/^/gm,'\x20'[_0x1b7502(0x26e)](_0x174a8f));}const _0x23c01b=[];_0x23c01b[_0x5aa34c(0x489)](_0x5aa34c(0x20e)+_0x584124[_0x5aa34c(0x355)](_0xcc171b));const _0x4cb4d1=_0x584124[_0x5aa34c(0x298)](_0xcc171b);_0x4cb4d1&&(_0x23c01b[_0x5aa34c(0x489)](''),_0x23c01b['push'](_0x4cb4d1));const _0x417894=_0xcc171b[_0x5aa34c(0x482)][_0x5aa34c(0x2be)](_0x12facd=>!_0x5132c7(_0x12facd));if(_0x417894[_0x5aa34c(0x252)]>0x0){if(_0xcc171b['name']()===_0x5aa34c(0x2db)){const _0x1a47f9=_0xcc171b[_0x5aa34c(0x201)](),_0x5b33ca=!_0x1a47f9[_0x5aa34c(0x3c1)]&&process[_0x5aa34c(0x3b7)][_0x5aa34c(0x3f4)],_0x5b83c3=COMMAND_CATEGORIES,_0x7fa2ae=(_0x468f7e,_0x4f62ac)=>_0x5b33ca?_0x4f62ac(_0x468f7e):_0x468f7e,_0xbad4b1=new Map();_0x417894[_0x5aa34c(0x38d)](_0x3c9bc4=>{const _0x4cb295=_0x5aa34c;_0xbad4b1[_0x4cb295(0x3b5)](_0x3c9bc4['name'](),_0x3c9bc4);}),_0x5b83c3['forEach'](_0x25077a=>{const _0x3e981d=_0x5aa34c,_0x529c3c=_0x25077a[_0x3e981d(0x482)]['flatMap'](_0x3b1a48=>_0xbad4b1[_0x3e981d(0x2c3)](_0x3b1a48)??[]);if(_0x529c3c[_0x3e981d(0x252)]>0x0){_0x23c01b[_0x3e981d(0x489)](''),_0x23c01b['push'](_0x7fa2ae(_0x25077a[_0x3e981d(0x3f0)]+':',_0x25077a['colorFn']));const _0x57dea0=_0x529c3c[_0x3e981d(0x34b)](_0x5a5f3f=>{const _0x30348f=_0x3e981d,_0x3cfdba=_0x584124[_0x30348f(0x459)](_0x5a5f3f),_0x50eeaf=_0x584124[_0x30348f(0x3f2)](_0x5a5f3f);return _0x1bef8b(_0x3cfdba,_0x50eeaf);});_0x23c01b[_0x3e981d(0x489)](_0x3d09c1(_0x57dea0));}}),_0x23c01b[_0x5aa34c(0x489)](''),_0x23c01b[_0x5aa34c(0x489)]('Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22');}else{const _0x317b29=_0x417894['map'](_0x46ad9e=>{const _0x15af6a=_0x5aa34c,_0x13bf82=_0x584124[_0x15af6a(0x459)](_0x46ad9e),_0x2f694e=_0x584124[_0x15af6a(0x3f2)](_0x46ad9e);return _0x1bef8b(_0x13bf82,_0x2f694e);});_0x23c01b[_0x5aa34c(0x489)](''),_0x23c01b[_0x5aa34c(0x489)]('Commands:'),_0x23c01b[_0x5aa34c(0x489)](_0x3d09c1(_0x317b29));}}if(showBriefHelp&&_0xcc171b[_0x5aa34c(0x3f0)]()==='tdx')_0x23c01b['push'](''),_0x23c01b['push']('Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version');else{const _0x964090=_0xcc171b[_0x5aa34c(0x1e9)][_0x5aa34c(0x2be)](_0x326eee=>!_0x5132c7(_0x326eee));if(_0x964090[_0x5aa34c(0x252)]>0x0){const _0x421131=_0x964090[_0x5aa34c(0x34b)](_0x3393b6=>{const _0x116c77=_0x584124['optionTerm'](_0x3393b6),_0x25b432=_0x584124['optionDescription'](_0x3393b6);return _0x1bef8b(_0x116c77,_0x25b432);});_0x23c01b[_0x5aa34c(0x489)](''),_0x23c01b['push'](_0x5aa34c(0x2f4)),_0x23c01b[_0x5aa34c(0x489)](_0x3d09c1(_0x421131));}}const _0x3c0d4a=(_0xcc171b[_0x5aa34c(0x30a)]||[])[_0x5aa34c(0x2be)](_0x247f73=>!_0x5132c7(_0x247f73));if(_0x3c0d4a['length']>0x0){const _0xfe4d74=_0x3c0d4a[_0x5aa34c(0x34b)](_0x32dfd6=>{const _0x447629=_0x5aa34c,_0x58fe71=_0x584124[_0x447629(0x335)](_0x32dfd6),_0xa4a851=_0x584124[_0x447629(0x37f)](_0x32dfd6);return _0x1bef8b(_0x58fe71,_0xa4a851);});_0x23c01b[_0x5aa34c(0x489)](''),_0x23c01b[_0x5aa34c(0x489)](_0x5aa34c(0x24f)),_0x23c01b[_0x5aa34c(0x489)](_0x3d09c1(_0xfe4d74));}return _0x23c01b[_0x5aa34c(0x45a)]('\x0a')+'\x0a';},'subcommandTerm':_0x4baf04=>{const _0x6fbce8=a2_0x24e1b0,_0x17d76a=(_0x4baf04[_0x6fbce8(0x30a)]||[])[_0x6fbce8(0x34b)](_0xc8d9c7=>_0xc8d9c7[_0x6fbce8(0x341)]?'<'+_0xc8d9c7[_0x6fbce8(0x3f0)]()+'>':'['+_0xc8d9c7[_0x6fbce8(0x3f0)]()+']')[_0x6fbce8(0x45a)]('\x20'),_0xefd2d9=_0x4baf04[_0x6fbce8(0x348)](),_0x3fb1cf=_0xefd2d9[_0x6fbce8(0x252)]>0x0?_0x4baf04['name']()+',\x20'+_0xefd2d9[_0x6fbce8(0x45a)](',\x20'):_0x4baf04[_0x6fbce8(0x3f0)]();return _0x17d76a?_0x3fb1cf+'\x20'+_0x17d76a:_0x3fb1cf;}}),program[a2_0x24e1b0(0x441)]('preAction',_0x2f3eba=>{const _0x1daa02=a2_0x24e1b0,_0x2fdf81=_0x2f3eba['opts']();if(_0x2fdf81[_0x1daa02(0x39a)]){const _0x4038e1=resolve(_0x2fdf81[_0x1daa02(0x39a)]),_0xcfc7a7=_0x4038e1!==_0x2fdf81[_0x1daa02(0x39a)]?_0x1daa02(0x2e3)+_0x4038e1+')':'';if(!existsSync(_0x4038e1))throw new SDKError(ErrorCode[_0x1daa02(0x274)],_0x1daa02(0x2de)+_0x2fdf81['directory']+_0xcfc7a7,undefined,{'helpText':_0x1daa02(0x2d6)});const _0x128611=statSync(_0x4038e1);if(!_0x128611[_0x1daa02(0x2b0)]())throw new SDKError(ErrorCode[_0x1daa02(0x274)],_0x1daa02(0x20f)+_0x2fdf81[_0x1daa02(0x39a)]+_0xcfc7a7,undefined,{'helpText':_0x1daa02(0x36a)});process[_0x1daa02(0x4e7)](_0x4038e1);}if(!_0x2fdf81[_0x1daa02(0x41f)]){if(_0x2fdf81['table'])_0x2fdf81[_0x1daa02(0x41f)]='table';else{if(_0x2fdf81['json'])_0x2fdf81['format']=_0x1daa02(0x29f);else{if(_0x2fdf81[_0x1daa02(0x3ed)])_0x2fdf81[_0x1daa02(0x41f)]='jsonl';else _0x2fdf81[_0x1daa02(0x3a9)]&&(_0x2fdf81['format']=_0x1daa02(0x3a9));}}}if(_0x2fdf81[_0x1daa02(0x455)])_0x2fdf81[_0x1daa02(0x23b)]=LogLevel[_0x1daa02(0x258)];else{if(_0x2fdf81[_0x1daa02(0x34c)])_0x2fdf81[_0x1daa02(0x23b)]=LogLevel[_0x1daa02(0x234)];else _0x2fdf81[_0x1daa02(0x23b)]===undefined&&(_0x2fdf81[_0x1daa02(0x23b)]=LogLevel['INFO']);}});async function createTDXInstance(_0x5c8a0a){const _0x2c2c63=a2_0x24e1b0,_0x1c49e4=await GlobalContext[_0x2c2c63(0x2af)](_0x5c8a0a);_0x1c49e4[_0x2c2c63(0x4a0)](_0x5c8a0a);const _0xb94c73=Number(_0x5c8a0a[_0x2c2c63(0x23d)]),_0x48d8ab=!isNaN(_0xb94c73)&&_0xb94c73>0x0?_0xb94c73*0x3e8:undefined;return TDX['create']({'site':_0x1c49e4['site'],'apiKey':_0x1c49e4[_0x2c2c63(0x375)],'accessToken':_0x1c49e4['accessToken'],'logLevel':_0x1c49e4[_0x2c2c63(0x23b)],'profile':_0x1c49e4['profile'],'timeout':_0x48d8ab});}const databaseCmd=program['command'](a2_0x24e1b0(0x3f8))['alias']('db')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x498)),databaseListAction=async(_0xac8d64,_0x312660)=>{const _0x21e0b9=new DatabasesCommand(),_0x474349=program['opts'](),_0x46e30b=await createTDXInstance(_0x474349),_0x425eed=await _0x21e0b9['run']({'options':{..._0x474349,..._0x312660},'args':_0xac8d64?[_0xac8d64]:[],'tdx':_0x46e30b});gracefulExit(_0x425eed);};databaseCmd[a2_0x24e1b0(0x4c7)]('list\x20[pattern]')[a2_0x24e1b0(0x31b)]('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x24e1b0(0x2a0)](databaseListAction),program[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x2dd),{'hidden':!![]})['description'](a2_0x24e1b0(0x4c2))[a2_0x24e1b0(0x2a0)](databaseListAction),program[a2_0x24e1b0(0x4c7)]('chat\x20[message...]')[a2_0x24e1b0(0x31b)]('Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)')[a2_0x24e1b0(0x4b7)]('--agent\x20<ref>','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x1d8),a2_0x24e1b0(0x449))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x221),'Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID')['option'](a2_0x24e1b0(0x257),'Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)')['action'](async(_0xa44b1a,_0x3bab03)=>{const _0x3bf46c=a2_0x24e1b0,_0x37aa20=program[_0x3bf46c(0x201)](),_0x13e6a2=await createTDXInstance(_0x37aa20);if(_0xa44b1a[0x0]===_0x3bf46c(0x4fa)){const _0x5ed4c0=new ChatCreateCommand();gracefulExit(await _0x5ed4c0[_0x3bf46c(0x27e)]({'options':{..._0x37aa20,..._0x3bab03},'args':_0xa44b1a['slice'](0x1),'tdx':_0x13e6a2}));return;}const _0x205df1=new ChatCommand(),_0x3dfd0c=await _0x205df1[_0x3bf46c(0x27e)]({'options':{..._0x37aa20,..._0x3bab03},'args':_0xa44b1a,'tdx':_0x13e6a2});gracefulExit(_0x3dfd0c);});const apiCmd=program[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x42b))['summary'](a2_0x24e1b0(0x402))['addHelpText'](a2_0x24e1b0(0x3b3),a2_0x24e1b0(0x2c4))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4ff),a2_0x24e1b0(0x1e2),a2_0x24e1b0(0x347))['option'](a2_0x24e1b0(0x45d),'Request\x20body\x20as\x20JSON\x20string')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4c1),a2_0x24e1b0(0x44f))[a2_0x24e1b0(0x4b7)]('-H,\x20--header\x20<header>',a2_0x24e1b0(0x4b0),(_0x3de776,_0x2ab8f9)=>{return _0x2ab8f9?[..._0x2ab8f9,_0x3de776]:[_0x3de776];})[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4ae),a2_0x24e1b0(0x4b8),'td')[a2_0x24e1b0(0x2a0)](async(_0x78f509,_0x17ca33)=>{const _0x1f4120=a2_0x24e1b0;if(!_0x78f509){apiCmd[_0x1f4120(0x35f)]();return;}const _0x459dec=new ApiCommand(),_0xb66a6d=program[_0x1f4120(0x201)](),_0x4d1901=await createTDXInstance(_0xb66a6d),_0xef90c8=await _0x459dec[_0x1f4120(0x27e)]({'options':{..._0xb66a6d,..._0x17ca33},'args':[_0x78f509],'tdx':_0x4d1901});gracefulExit(_0xef90c8);});program['command'](a2_0x24e1b0(0x2d4))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x250))['addHelpText']('after',a2_0x24e1b0(0x3c9))[a2_0x24e1b0(0x2a0)](async _0xe675e8=>{const _0x4a18bd=a2_0x24e1b0,_0x5b96ae=new MCPCommand(),_0x5eb665=program[_0x4a18bd(0x201)](),_0x2bf7ea=await createTDXInstance(_0x5eb665),_0x2828f7=await _0x5b96ae[_0x4a18bd(0x27e)]({'options':{..._0x5eb665,..._0xe675e8},'args':[],'tdx':_0x2bf7ea});gracefulExit(_0x2828f7);});const tableCmd=program[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x337))[a2_0x24e1b0(0x31b)]('Table\x20management\x20commands'),tableListAction=async(_0x2bf113,_0x47c1ca)=>{const _0x36bf43=a2_0x24e1b0,_0x51439d=new TablesCommand(),_0x51345c=program['opts'](),_0x2ede5c=await createTDXInstance(_0x51345c);_0x47c1ca['in']&&(_0x47c1ca[_0x36bf43(0x3f8)]=_0x47c1ca['in']);const _0x3d5a1c=await _0x51439d[_0x36bf43(0x27e)]({'options':{..._0x51345c,..._0x47c1ca},'args':_0x2bf113?[_0x2bf113]:[],'tdx':_0x2ede5c});gracefulExit(_0x3d5a1c);};tableCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x20a))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x4e8))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x469),a2_0x24e1b0(0x308))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x46e),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x24e1b0(0x2a0)](tableListAction),program[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x2a5),{'hidden':!![]})[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x360))['option'](a2_0x24e1b0(0x469),a2_0x24e1b0(0x308))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x46e),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](tableListAction),program['command']('show\x20[table]')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x2b4))['option'](a2_0x24e1b0(0x469),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x24e1b0(0x4b7)]('--in\x20<database>',a2_0x24e1b0(0x215))['action'](async(_0x390729,_0x4d854b)=>{const _0x4bd254=a2_0x24e1b0,_0xb95286=new ShowCommand(),_0x20b22e=program[_0x4bd254(0x201)](),_0x267c37=await createTDXInstance(_0x20b22e);_0x4d854b['in']&&(_0x4d854b['database']=_0x4d854b['in']);const _0x4cd60d=await _0xb95286[_0x4bd254(0x27e)]({'options':{..._0x20b22e,..._0x4d854b},'args':_0x390729?[_0x390729]:[],'tdx':_0x267c37});gracefulExit(_0x4cd60d);}),program[a2_0x24e1b0(0x4c7)]('describe\x20[table]')[a2_0x24e1b0(0x4f3)](a2_0x24e1b0(0x4cf))['description'](a2_0x24e1b0(0x33a))[a2_0x24e1b0(0x4b7)]('-d,\x20--database\x20<database>',a2_0x24e1b0(0x3d2))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x46e),a2_0x24e1b0(0x215))[a2_0x24e1b0(0x2a0)](async(_0x15f442,_0x4c008d)=>{const _0x2626ee=a2_0x24e1b0,_0x14aedc=new DescribeCommand(),_0x55fe35=program[_0x2626ee(0x201)](),_0x19abea=await createTDXInstance(_0x55fe35);_0x4c008d['in']&&(_0x4c008d['database']=_0x4c008d['in']);const _0xccb8c7=await _0x14aedc[_0x2626ee(0x27e)]({'options':{..._0x55fe35,..._0x4c008d},'args':_0x15f442?[_0x15f442]:[],'tdx':_0x19abea});gracefulExit(_0xccb8c7);}),program['command']('query\x20[sql]')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x26c))['option'](a2_0x24e1b0(0x469),a2_0x24e1b0(0x484))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x46e),a2_0x24e1b0(0x215))[a2_0x24e1b0(0x4b7)]('--catalog\x20<catalog>',a2_0x24e1b0(0x24c))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4c1),a2_0x24e1b0(0x2a6))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x21d),a2_0x24e1b0(0x24b))[a2_0x24e1b0(0x2a0)](async(_0x3433fb,_0x4e2852)=>{const _0x1d149f=a2_0x24e1b0,_0x4039e6=new QueryCommand(),_0x5661e6=program[_0x1d149f(0x201)](),_0x45e9d2=await createTDXInstance(_0x5661e6);_0x4e2852['in']&&(_0x4e2852[_0x1d149f(0x3f8)]=_0x4e2852['in']);const _0x2b6493=await _0x4039e6[_0x1d149f(0x27e)]({'options':mergeCommandOptions(_0x5661e6,_0x4e2852),'args':_0x3433fb?[_0x3433fb]:[],'tdx':_0x45e9d2});gracefulExit(_0x2b6493);});const segmentCmd=program[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4df))['alias']('sg')['description']('CDP\x20segment\x20management\x20commands'),segmentListAction=async(_0x454074,_0x58c97e)=>{const _0x3ec998=a2_0x24e1b0,_0xd92810=new SegmentsCommand(),_0x5e3fa3=program[_0x3ec998(0x201)](),_0x4d60de=await createTDXInstance(_0x5e3fa3),_0x3ae9d7=await _0xd92810[_0x3ec998(0x27e)]({'options':{..._0x5e3fa3,..._0x58c97e},'args':_0x454074?[_0x454074]:[],'tdx':_0x4d60de});gracefulExit(_0x3ae9d7);};segmentCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x3c3))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x47a))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x327),a2_0x24e1b0(0x2c2))['option'](a2_0x24e1b0(0x35b),a2_0x24e1b0(0x4ee),'10')[a2_0x24e1b0(0x2a0)](segmentListAction),program[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x32e),{'hidden':!![]})[a2_0x24e1b0(0x31b)]('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')[a2_0x24e1b0(0x4b7)]('-r,\x20--recursive',a2_0x24e1b0(0x2c2))['option'](a2_0x24e1b0(0x35b),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')['action'](segmentListAction),segmentCmd['command'](a2_0x24e1b0(0x3d9),{'hidden':!![]})['description']('[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)')[a2_0x24e1b0(0x2a0)](async(_0x2e54a3,_0x2d625e)=>{const _0x35b9ab=a2_0x24e1b0,_0x59170b=new SegmentUseCommand(),_0x437d54=program['opts'](),_0x2b465f=await createTDXInstance(_0x437d54),_0x27054e=await _0x59170b[_0x35b9ab(0x27e)]({'options':{..._0x437d54,..._0x2d625e},'args':[_0x2e54a3],'tdx':_0x2b465f});gracefulExit(_0x27054e);});const segmentViewAction=async(_0xf454ac,_0xa56924)=>{const _0x18c5de=new SegmentViewCommand(),_0x51952d=program['opts'](),_0x2daf8d=await createTDXInstance(_0x51952d),_0x27b4e9=await _0x18c5de['run']({'options':{..._0x51952d,..._0xa56924},'args':_0xf454ac?[_0xf454ac]:[],'tdx':_0x2daf8d});gracefulExit(_0x27b4e9);};segmentCmd['command'](a2_0x24e1b0(0x4a9))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x21e))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x209),a2_0x24e1b0(0x4e4))[a2_0x24e1b0(0x2a0)](segmentViewAction),segmentCmd[a2_0x24e1b0(0x4c7)]('info\x20[segment_name]',{'hidden':!![]})[a2_0x24e1b0(0x4f3)](a2_0x24e1b0(0x369))[a2_0x24e1b0(0x4b7)]('-w,\x20--web',a2_0x24e1b0(0x4e4))[a2_0x24e1b0(0x31b)]('Show\x20segment\x20details\x20(alias\x20for\x20view)')[a2_0x24e1b0(0x2a0)](segmentViewAction),segmentCmd['command'](a2_0x24e1b0(0x4e6))['description']('Show\x20segment\x20schema\x20(column\x20types)')['action'](async(_0x33c9b0,_0xd55eca)=>{const _0x303f86=a2_0x24e1b0,_0x436421=new SegmentDescCommand(),_0xf610bf=program['opts'](),_0x3b3469=await createTDXInstance(_0xf610bf),_0x49227b=await _0x436421[_0x303f86(0x27e)]({'options':{..._0xf610bf,..._0xd55eca},'args':_0x33c9b0?[_0x33c9b0]:[],'tdx':_0x3b3469});gracefulExit(_0x49227b);}),segmentCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x3c2))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x212))[a2_0x24e1b0(0x2a0)](async(_0x4e7bb0,_0xbf4a7f)=>{const _0x4bc5db=new SegmentShowCommand(),_0x15b8ac=program['opts'](),_0x2053bb=await createTDXInstance(_0x15b8ac),_0x2f76c3=await _0x4bc5db['run']({'options':{..._0x15b8ac,..._0xbf4a7f},'args':_0x4e7bb0?[_0x4e7bb0]:[],'tdx':_0x2053bb});gracefulExit(_0x2f76c3);}),segmentCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x43d),{'hidden':!![]})[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x4e0))[a2_0x24e1b0(0x2a0)](async(_0x511f93,_0x5444ef)=>{const _0x10b86=a2_0x24e1b0,_0x275789=new SegmentFolderListCommand(),_0x17775a=program[_0x10b86(0x201)](),_0x4b9564=await createTDXInstance(_0x17775a),_0xb6010a=await _0x275789[_0x10b86(0x27e)]({'options':{..._0x17775a,..._0x5444ef},'args':[_0x511f93],'tdx':_0x4b9564});gracefulExit(_0xb6010a);});const folderCmd=segmentCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x207),{'hidden':!![]})['description']('[DEPRECATED]\x20Segment\x20folder\x20management');folderCmd[a2_0x24e1b0(0x4c7)]('show\x20<folder_ref>')['description'](a2_0x24e1b0(0x2f9))[a2_0x24e1b0(0x2a0)](async(_0x3c322f,_0x4c3974)=>{const _0x19d409=a2_0x24e1b0,_0x3fb9d0=new SegmentFolderShowCommand(),_0x3e98f0=program[_0x19d409(0x201)](),_0x29e69d=await createTDXInstance(_0x3e98f0),_0x33da7a=await _0x3fb9d0[_0x19d409(0x27e)]({'options':{..._0x3e98f0,..._0x4c3974},'args':[_0x3c322f],'tdx':_0x29e69d});gracefulExit(_0x33da7a);}),segmentCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x236))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x325))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3e7),'YAML\x20file\x20path\x20for\x20unpushed\x20segment')[a2_0x24e1b0(0x2a0)](async(_0x42cb75,_0x5d19ec)=>{const _0x1a5853=a2_0x24e1b0,_0x27aca9=new SegmentSQLCommand(),_0x326db8=program[_0x1a5853(0x201)](),_0x5afcea=await createTDXInstance(_0x326db8),_0x166f0c=await _0x27aca9['run']({'options':{..._0x326db8,..._0x5d19ec},'args':_0x42cb75?[_0x42cb75]:[],'tdx':_0x5afcea});gracefulExit(_0x166f0c);}),segmentCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x2b7))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x25b))[a2_0x24e1b0(0x2a0)](async(_0x4d142a,_0x2948f5)=>{const _0x3a3161=a2_0x24e1b0,_0x514bb5=new SegmentFieldsCommand(),_0xa42acb=program['opts'](),_0x41b63e=await createTDXInstance(_0xa42acb),_0x1836db=await _0x514bb5[_0x3a3161(0x27e)]({'options':{..._0xa42acb,..._0x2948f5},'args':_0x4d142a?[_0x4d142a]:[],'tdx':_0x41b63e});gracefulExit(_0x1836db);}),segmentCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x202))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x49d))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4fe),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x24e1b0(0x2a0)](async(_0x263346,_0x50e613)=>{const _0x4f94cd=a2_0x24e1b0,_0x551382=new SegmentPullCommand(),_0xcc4bd2=program[_0x4f94cd(0x201)](),_0x4e3b02=await createTDXInstance(_0xcc4bd2),_0x3f4e4e=await _0x551382[_0x4f94cd(0x27e)]({'options':{..._0xcc4bd2,..._0x50e613},'args':_0x263346?[_0x263346]:[],'tdx':_0x4e3b02});gracefulExit(_0x3f4e4e);}),segmentCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4ed))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x476))[a2_0x24e1b0(0x4b7)]('--dry-run','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x2fa),a2_0x24e1b0(0x2ad))['action'](async(_0x211e5e,_0x38987d)=>{const _0x4dd6b0=a2_0x24e1b0,_0x4cc81b=new SegmentPushCommand(),_0x2a9419=program['opts'](),_0x460848=await createTDXInstance(_0x2a9419),_0x30981c=await _0x4cc81b[_0x4dd6b0(0x27e)]({'options':{..._0x2a9419,..._0x38987d},'args':_0x211e5e?[_0x211e5e]:[],'tdx':_0x460848});gracefulExit(_0x30981c);}),segmentCmd['command'](a2_0x24e1b0(0x4ca))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x431))[a2_0x24e1b0(0x2a0)](async(_0xc21c37,_0x3f89a6)=>{const _0x9f0296=new SegmentValidateCommand(),_0x39f86d=program['opts'](),_0x6740b4=await createTDXInstance(_0x39f86d),_0x231dc0=await _0x9f0296['run']({'options':{..._0x39f86d,..._0x3f89a6},'args':_0xc21c37?[_0xc21c37]:[],'tdx':_0x6740b4});gracefulExit(_0x231dc0);}),segmentCmd['command']('create\x20<segment_name>',{'hidden':!![]})[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x3e4))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x2f5),a2_0x24e1b0(0x254))['option'](a2_0x24e1b0(0x36d),a2_0x24e1b0(0x38f))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x203),a2_0x24e1b0(0x2d3))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x41a),a2_0x24e1b0(0x2b3))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x326),a2_0x24e1b0(0x27b))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x46d),a2_0x24e1b0(0x361))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x267),a2_0x24e1b0(0x206))[a2_0x24e1b0(0x2a0)](async(_0x16a251,_0x2ddf7e)=>{const _0x5e5a2a=a2_0x24e1b0,_0x26de9a=new SegmentCreateCommand(),_0x30a3d3=program[_0x5e5a2a(0x201)](),_0x2a9568=await createTDXInstance(_0x30a3d3),_0x53e24b=await _0x26de9a[_0x5e5a2a(0x27e)]({'options':{..._0x30a3d3,..._0x2ddf7e},'args':[_0x16a251],'tdx':_0x2a9568});gracefulExit(_0x53e24b);}),segmentCmd['command'](a2_0x24e1b0(0x500),{'hidden':!![]})[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x44b))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3f3),a2_0x24e1b0(0x4ef))['option']('--description\x20<text>',a2_0x24e1b0(0x358))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x36d),a2_0x24e1b0(0x383))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x203),a2_0x24e1b0(0x2b9))[a2_0x24e1b0(0x4b7)]('--folder\x20<name>',a2_0x24e1b0(0x407))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x326),a2_0x24e1b0(0x27b))[a2_0x24e1b0(0x2a0)](async(_0x3ffbaa,_0x4219e8)=>{const _0x328142=a2_0x24e1b0,_0x340362=new SegmentUpdateCommand(),_0x204e09=program[_0x328142(0x201)](),_0x568201=await createTDXInstance(_0x204e09),_0x1b4fde=await _0x340362[_0x328142(0x27e)]({'options':{..._0x204e09,..._0x4219e8},'args':[_0x3ffbaa],'tdx':_0x568201});gracefulExit(_0x1b4fde);});const parentCmd=segmentCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x233),{'hidden':!![]})[a2_0x24e1b0(0x31b)]('[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead'),parentListAction=async(_0x94075b,_0x6407fa)=>{const _0x5c3336=a2_0x24e1b0,_0x126068=new ParentSegmentListCommand(),_0x330715=program[_0x5c3336(0x201)](),_0x58eb98=await createTDXInstance(_0x330715),_0x50214b=await _0x126068[_0x5c3336(0x27e)]({'options':{..._0x330715,..._0x6407fa},'args':_0x94075b?[_0x94075b]:[],'tdx':_0x58eb98});gracefulExit(_0x50214b);};function a2_0xde7d(){const _0x43b567=['TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','init\x20[name]','hook','List\x20activations\x20for\x20a\x20journey','Folder\x20description','argument','Include\x20all\x20items\x20(no\x20stale\x20filtering)','Update\x20an\x20always-on\x20campaign','Parent\x20segment\x20description','--engine-version\x20<version>','Start\x20a\x20new\x20chat\x20session','Name\x20for\x20the\x20duplicated\x20campaign','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','run\x20[name]','upgrade\x20[version]','Read\x20request\x20body\x20from\x20file','--stage\x20<name>','Journey\x20version\x20management','Make\x20service\x20public\x20(default:\x20private)','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','Include\x20subtasks\x20in\x20tasks\x20output','trace','Preview\x20changes\x20without\x20writing\x20files','engage','--all','subcommandTerm','join','Workflow\x20parameter\x20(repeatable)','new\x20<title>','--data\x20<data>','download\x20<project-name>\x20[output-dir]','board','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Skip\x20confirmation\x20prompt','Customer\x20group\x20as\x20JSON\x20string','Updated\x20schedule\x20option','--table','sql\x20[name]','list\x20[name]','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Update\x20an\x20email\x20template','-d,\x20--database\x20<database>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','show\x20[name]','--invisible','--in\x20<database>','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','--json-columns\x20<cols>','log','JSON\x20columns\x20for\x20connector\x20(comma-separated)','--name\x20<name>','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','Personalization\x20service\x20management','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Workflow\x20session\x20management','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','campaigns\x20[pattern]','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','--delay\x20<seconds>','Workspace\x20management','campaign','AI-native\x20CLI\x20for\x20Treasure\x20Data','retry','Pause\x20a\x20campaign','delivery','commands','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','Database\x20to\x20query\x20(default:\x20information_schema)','Revision\x20name\x20(default:\x20timestamp)','Target\x20directory\x20for\x20YAML\x20files','delete\x20<token_id>\x20[parent_segment]','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','push','Create\x20a\x20new\x20campaign','Follow/watch\x20timeline\x20for\x20running\x20attempts','--email-sender-id\x20<id>','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Campaign\x20type\x20(email\x20or\x20push)','Output\x20as\x20JSON\x20Lines','validate\x20[file]','-p,\x20--profile\x20<name>','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','flags','--yes','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','logs','Database\x20management\x20commands','--attributes\x20<json>','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','preview\x20[file]','error','Pull\x20child\x20segments\x20to\x20YAML\x20files','always-on-campaign','Set\x20a\x20profile\x20configuration\x20value','injectIntoOptions','Resume\x20a\x20paused\x20always-on\x20campaign','--debug','show\x20<name-or-id>','delete\x20<name>','-c,\x20--continue','item','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','List\x20available\x20connector\x20types','view\x20[segment_name]','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Include\x20raw\x20history\x20data\x20in\x20output','show\x20<policy>','push\x20[target]','--type\x20<api_type>','clone\x20[source]','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','version','padEnd','Skip\x20validation\x20of\x20.dig\x20files','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','option','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','--database\x20<db>','--revision\x20<revision>','--enable-utm-tracking','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','Delete\x20a\x20realtime\x20personalization','List\x20all\x20available\x20profiles','-f,\x20--file\x20<path>','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Include\x20retried\x20attempts\x20(for\x20list)','Show\x20job\x20details','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','--template\x20<name>','command','llm','addHelpText','validate\x20[target]','List\x20agents\x20in\x20current\x20project','--start-at\x20<datetime>','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','desc','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','Workflow\x20project\x20management','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','preview\x20<segment_name>','work','--editor-type\x20<type>','Query\x20type:\x20trino\x20or\x20hive','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Read\x20HTML\x20template\x20from\x20file','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','[attempt-id]','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','attempts\x20[project]','Preview\x20composable\x20segment\x20query\x20on\x20CDW','segment','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','Preview\x20changes\x20without\x20pushing','status','--to\x20<n>','Open\x20segment\x20in\x20web\x20browser','launch\x20<name-or-id>','desc\x20[segment_name]','chdir','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','update\x20<name>','Maximum\x20number\x20of\x20nodes','Name\x20for\x20the\x20new\x20project\x20(required)','policy','push\x20[parent_or_file]','Maximum\x20recursion\x20depth\x20(default:\x2010)','New\x20segment\x20name','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','setup','alias','includes','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Pull\x20workflow\x20project\x20to\x20local\x20folder','stringify','Personalization\x20name','--body\x20<body>','create','--file\x20<path>','--result\x20<url>','--result\x20<target>','--dry-run','-X,\x20--method\x20<method>','update\x20<segment_name>','Email\x20subject\x20template','Show\x20journey\x20table\x20column-to-step\x20mapping','Show\x20journey\x20details','--new','List\x20journeys\x20(alias\x20for\x20journey\x20list)','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Unknown\x20action:\x20','create\x20<name>','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','push\x20[file]','pause\x20<name-or-path>','New\x20campaign\x20name','Parse\x20and\x20validate\x20without\x20executing','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','argv','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Delete\x20an\x20LLM\x20project','--temperature\x20<n>','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','options','Create\x20a\x20new\x20profile','types','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--session\x20<id>','\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=ap01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a','update\x20<name-or-id>','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','\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','--prompt\x20<text>','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Delete\x20an\x20agent','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','workspaces\x20[pattern]','resume\x20<name-or-id>','Show\x20master\x20table\x20sample\x20data','Manage\x20workflow\x20project\x20secrets','--priority\x20<-2~2>','Setup\x20API\x20key\x20authentication\x20interactively','Add\x20behaviors\x20as\x20JSON\x20string','--limit\x20<number>','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','6928BSZVnw','token','opts','pull\x20[parent_or_file]','--rule-file\x20<file>','--no-color','Show\x20agent\x20details','Skip\x20population\x20counting','folder','connections','-w,\x20--web','list\x20[pattern]','information_schema','pull\x20[workspace]','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a','Usage:\x20','Path\x20is\x20not\x20a\x20directory:\x20','--github\x20<owner/repo>','Show\x20Kanban\x20board\x20view\x20of\x20tasks','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','log\x20<chat-id>','schedules','Alias\x20for\x20--database\x20(natural\x20language\x20style)','list\x20[project]','settings\x20<type>','show\x20<personalization_id>','--priority\x20<priority>','--follow','Master\x20database\x20name','Output\x20file\x20path','--limit\x20<rows>','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','slice','--chat-id\x20<id>','--enriched','Timezone\x20for\x20cron','Show\x20authentication\x20status\x20and\x20current\x20context','198110GuGnua','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','--add-attributes\x20<json>','Duplicate\x20a\x20campaign','--verbose','Save\x20output\x20to\x20file','Cron\x20expression\x20for\x20scheduling','project','Show\x20items\x20updated\x20within\x20N\x20days','Delete\x20a\x20workspace','Campaign\x20management','RT\x202.0\x20configuration\x20management','Timezone\x20for\x20cron\x20(default:\x20UTC)','delete\x20<project-name-or-id>','parent','DEBUG','List\x20all\x20workflow\x20schedules','sql\x20[segment_name]','--account-name\x20<name>','Update\x20a\x20workspace','Agent\x20description','--help','logLevel','view\x20<name-or-path>','timeout','senders\x20[pattern]','create\x20<name>\x20<service_id>\x20[parent_segment]','catch','Initial\x20status','Pull\x20specific\x20campaign\x20by\x20name','1411062PZZhHi','workspace','Delete\x20an\x20email\x20template','Query\x20engine\x20version','gitRevision','Result\x20output\x20destination\x20URL','Resume\x20from\x20specific\x20task\x20(retry)','--tsv','Maximum\x20rows\x20to\x20display','Trino\x20catalog\x20(default:\x20td)','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','--folder-id\x20<id>','Arguments:','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','-d,\x20--database\x20<db>','length','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','Segment\x20description','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','--description\x20<desc>','--stream','TRACE','Composable\x20audience\x20name','Open\x20a\x20document\x20in\x20$EDITOR','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','--from\x20<date>','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','traffic\x20<name-or-path>','--retry-limit\x20<0~32>','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','--starter-message\x20<text>','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Show\x20all\x20files\x20including\x20valid\x20ones','job','--no-count-population','isArray','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','CDP\x20Journey\x20Orchestration\x20commands','Master\x20table\x20name','Run\x20Trino\x20query\x20with\x20streaming\x20results','Include\x20retried\x20attempts','repeat','Maximum\x20tool\x20iterations\x20(default:\x204)','Show\x20document\x20details','--json','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','--from\x20<timestamp>','INVALID_ARGUMENT','LLM\x20agent\x20management','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Personalization\x20description','profile','Show\x20a\x20specific\x20realtime\x20personalization','--limit\x20<n>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','push\x20[path]','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','run','Submit\x20a\x20job','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Create\x20a\x20scheduled\x20query','Retry\x20limit\x20(0\x20to\x2032)','--full','Initialize\x20a\x20new\x20workspace','push\x20[source-dir]','--dir\x20<dir>','retry\x20<session-id>','delete\x20<args...>','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','RT\x20Journey\x20management','9505440KuMHcM','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','projects\x20[pattern]','Output\x20as\x20JSON','trino','Create\x20an\x20email\x20template','backup\x20<name>','agents\x20[pattern]','-o,\x20--output\x20<dir>','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','--attempt-id\x20<id>','--method\x20<pm>','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','commandDescription','list\x20[audience_name]','pull\x20[project]\x20[agent-name]','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Generate\x20test\x20conversations\x20without\x20evaluation','Timezone\x20(e.g.,\x20America/Los_Angeles)','test\x20[path]','json','action','Output\x20file\x20path\x20(default:\x20<name>.yml)','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Pause\x20an\x20always-on\x20campaign','tables\x20[pattern]','Read\x20SQL\x20query\x20from\x20file','Clear\x20session\x20context','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','Job\x20priority\x20(-2\x20to\x202)','outputHelp','--customer-group-file\x20<file>','always-on-campaigns\x20[pattern]','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Preview\x20operation\x20without\x20executing','createAsync','isDirectory','[action]','set\x20<args...>','Folder\x20name\x20for\x20organization','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Parent\x20folder\x20name\x20for\x20nested\x20folders','System\x20prompt/instructions\x20(default:\x20empty)','fields\x20[parent_name]','Create\x20a\x20workspace','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','--tags\x20<tags>','allowExcessArguments','Update\x20a\x20scheduled\x20query','Attributes\x20as\x20JSON\x20string','filter','Launch\x20a\x20campaign','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','get','\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','sessions\x20[project]','Show\x20workspace\x20details','Workspace\x20name','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','create\x20[name]','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','pull\x20[workspace-name]','Output\x20folder\x20(default:\x20{project_name}.llm)','Email\x20sender\x20ID\x20for\x20delivery','0.7','Action:\x20logs,\x20tasks,\x20kill,\x20retry','show\x20<agent-name>','[task-name]','Filtering\x20rule\x20from\x20JSON\x20file','mcp','Show\x20only\x20master\x20table\x20validation','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','\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\x20\x20$\x20tdx\x20profile\x20create\x20prod\x20-f\x20\x20\x20\x20\x20\x20#\x20Overwrite\x20existing\x20\x27prod\x27\x20profile\x0a','Version\x20number\x20to\x20view','Authentication\x20management','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','tdx','Show\x20campaign\x20details','databases\x20[pattern]','Directory\x20does\x20not\x20exist:\x20','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','clone\x20[source-dir]','Run\x20a\x20scheduled\x20query\x20immediately','Output\x20directory','\x20(resolved\x20to\x20','--name\x20<text>','Show\x20connection\x20details\x20by\x20name','configureHelp','AI-native\x20work\x20management','--session-id\x20<id>','claude\x20[args...]','validate\x20[name]','Plaintext\x20template\x20content','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','clear','Manage\x20workflow\x20schedules\x20(enable/disable)','Enable\x20UTM\x20tracking','--add-behaviors\x20<json>','jobs','--cron\x20<expression>','service','Options:','--description\x20<text>','view\x20[name]','-v,\x20--verbose','Pull\x20templates\x20to\x20YAML\x20files','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','--delete','Limit\x20number\x20of\x20rows','Pull\x20campaigns\x20to\x20YAML\x20files','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','engage_workspace','move\x20<name>\x20<status>','Starting\x20offset\x20(default:\x200)','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','Database\x20name\x20(default:\x20information_schema)','remove\x20<name>','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','--workspace\x20<name>','registeredArguments','Temperature\x20(0.0-2.0,\x20default:\x200.7)','attempt','Starter\x20message','--no-eval','preview\x20[name]','stderr','Token\x20description','Resume\x20a\x20paused\x20journey','86044sphZyj','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','columns\x20<name-or-path>','pause\x20<name-or-id>','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','unset\x20<resource>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','replace','description','Personalization\x20service\x20token\x20management','--force','Validate\x20template\x20YAML\x20files\x20locally','--format\x20<format>','delete\x20<name-or-id>','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','--clear','auth','Attributes\x20from\x20JSON\x20file','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','--kind\x20<type>','-r,\x20--recursive','--params\x20<json>','delete\x20<agent-name>','--parent-folder\x20<name>','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','--no-proxy','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','segments\x20[path]','resume_activations\x20<journeyId>','Disable\x20a\x20workflow\x20schedule','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','Template\x20name','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','use\x20[name]','argumentTerm','--days\x20<n>','table','HTML\x20template\x20content','--from\x20<n>','Describe\x20table\x20schema','templates\x20[pattern]','entries','Show\x20timeline\x20for\x20specific\x20attempt','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','--to\x20<timestamp>','--include-retried','required','Skip\x20confirmation\x20prompts','--include-history','versions\x20<name-or-path>',',\x20version\x20','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','GET','aliases','--timezone\x20<tz>','Data\x20connection\x20management\x20(for\x20activations/exports)','map','debug','--subject\x20<subject>','--plaintext\x20<text>','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','Access\x20control\x20policy\x20commands','resume\x20<name-or-path>','open\x20<name>','Custom\x20revision\x20name\x20(default:\x20timestamp)','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','commandUsage','List\x20composable\x20audiences','--html\x20<html>','Updated\x20description','schema\x20<type>','Workflow\x20attempt\x20management','--max-depth\x20<depth>','Push\x20without\x20confirmation','requiredOption','variadic','help','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Make\x20segment\x20invisible\x20(default:\x20visible)','--attributes-file\x20<file>','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','--jsonl','Interactive\x20chat\x20selector','Get\x20job\x20results','Customer\x20group\x20from\x20JSON\x20file','--param\x20<key=value>','describe','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','-1d','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','--rule\x20<json>','kill\x20<job-id>','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Invalid\x20--limit\x20value:\x20\x22','--next','Get\x20current\x20RT\x20configuration\x20version\x20status','End\x20time\x20filter\x20(ISO\x208601\x20format)','show\x20<job-id>','apiKey','List\x20secret\x20keys\x20for\x20a\x20project','Email\x20template\x20management','--add-attributes-file\x20<file>','split','List\x20available\x20LLM\x20models','Workspace\x20name\x20(required)','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','User\x20management\x20commands','--interval\x20<range>','argumentDescription','Database\x20name\x20(required)','show\x20<name>','9xlfcmf','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','[EXPERIMENTAL]\x20Show\x20chat\x20log','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','submit\x20[query]','audience','Pause\x20activations\x20in\x20an\x20RT\x20journey','--audience\x20<name>','Override\x20project\x20name','patch\x20<personalization_id>','forEach','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','Filtering\x20rule\x20as\x20JSON\x20string','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','--sections\x20<json>','--table\x20<table>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Delete\x20a\x20scheduled\x20query','Set\x20or\x20show\x20parent\x20segment\x20context','Pause\x20a\x20running\x20journey','profiles','12kqZWwB','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','directory','Continue\x20most\x20recent\x20conversation','Resume\x20activations\x20in\x20an\x20RT\x20journey','use\x20<name>','-a,\x20--agent\x20<name>','5159xVkzga','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','72rmZZzS','Kill\x20a\x20job','Open\x20parent\x20segment\x20in\x20web\x20browser','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Delay\x20in\x20seconds\x20before\x20execution','Create\x20segment\x20folder','Validate\x20journey\x20YAML\x20files\x20locally','tsv','--schedule-type\x20<type>','-o,\x20--output\x20<file>','pull\x20[name]','--include-subtasks','find','Assignee','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Resume\x20a\x20paused\x20campaign','--version','after','--add-behaviors-file\x20<file>','set','Finish\x20an\x20always-on\x20campaign','stdout','Export\x20journey(s)\x20as\x20YAML\x20files','7JWsacq','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','Update\x20an\x20existing\x20agent','Duplicate\x20an\x20always-on\x20campaign','Read\x20query\x20from\x20file','1762064vYLtFW','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','noColor','show\x20[segment_name]','list\x20[path]','Show\x20journey\x20statistics','--to\x20<date>','Campaign\x20name','--segment\x20<path>','Include\x20execution\x20statistics','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','Composable\x20segment\x20commands','create\x20<parent_name>\x20<folder_name>','upload\x20[project-name-or-dir]','Show\x20schedule\x20details','1070nePJhh','duplicate\x20<name-or-id>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','Overwrite\x20local\x20changes\x20without\x20confirmation','Agent\x20name','--default','login','Delete\x20a\x20profile','history\x20[chat-id]','use\x20<path>','use\x20[resource]\x20[value]','Add\x20attributes\x20from\x20JSON\x20file','--schedule-option\x20<value>','Priority\x20(critical,\x20high,\x20medium,\x20low)','--public','\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','pull\x20<project>\x20[target-dir]','-f,\x20--force','--skip-validation','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','--from-task\x20<task>','allowUnknownOption','--path\x20<file-path>','run\x20[workflow]','Show\x20what\x20would\x20be\x20written\x20without\x20writing','--status\x20<status>','usage','Open\x20journey\x20in\x20web\x20browser','jsonl','Show\x20stats\x20for\x20specific\x20stage','Update\x20a\x20realtime\x20personalization\x20entity','name','--name\x20<names>','subcommandDescription','--name\x20<new_name>','isTTY','--attribute\x20[name]','kill','list','database','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','--html-file\x20<path>','create\x20<name-or-path>','--include-stats','Create\x20a\x20new\x20document','Show\x20email\x20template\x20details','Task\x20name\x20for\x20logs\x20action','--type\x20<type>','delete\x20<service_id>\x20[parent_segment]','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','--database\x20<name>','Ending\x20offset\x20(default:\x2020)','Workflow\x20(Digdag)\x20management\x20commands','--master','Move\x20to\x20folder','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','List\x20all\x20users\x20in\x20the\x20account','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Updated\x20timezone','beefree','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','buildTime','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--reeval','journeys\x20[pattern]','_hidden','--job-type\x20<type>','Show\x20the\x20most\x20recent\x20chat','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','disable\x20<id>','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Database\x20name','--folder\x20<name>','Service\x20description','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Launch\x20an\x20always-on\x20campaign','--system-prompt\x20<text>','format','--num\x20<1-10>','--behavior\x20[name]','Force\x20retry\x20even\x20if\x20not\x20failed','Update\x20a\x20campaign','Enable\x20a\x20disabled\x20workflow\x20schedule','hidden','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','Enable\x20verbose\x20logging','template','Preview\x20without\x20creating\x20the\x20project','-y,\x20--yes','api\x20[endpoint]','Workspace\x20description','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Campaign\x20description','--time\x20<iso8601>','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','update\x20<service_id>\x20[parent_segment]','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','-u,\x20--use','exit','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','--last','set\x20<key=value>','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','--in\x20<db>','folders\x20<parent_name>'];a2_0xde7d=function(){return _0x43b567;};return a2_0xde7d();}parentCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x20a))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x276))[a2_0x24e1b0(0x2a0)](parentListAction),segmentCmd[a2_0x24e1b0(0x4c7)]('parents\x20[pattern]',{'hidden':!![]})[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x2c0))[a2_0x24e1b0(0x2a0)](parentListAction),parentCmd['command'](a2_0x24e1b0(0x3ac))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x4ba))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3ab),a2_0x24e1b0(0x2a1))[a2_0x24e1b0(0x2a0)](async(_0x47e529,_0x5a1809)=>{const _0x312e22=a2_0x24e1b0,_0x2ae97b=new ParentSegmentPullCommand(),_0x9332e8=program[_0x312e22(0x201)](),_0x53b1d0=await createTDXInstance(_0x9332e8),_0x1f5abe=await _0x2ae97b[_0x312e22(0x27e)]({'options':{..._0x9332e8,..._0x5a1809},'args':_0x47e529?[_0x47e529]:[],'tdx':_0x53b1d0});gracefulExit(_0x1f5abe);}),parentCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x1de))['description'](a2_0x24e1b0(0x46a))[a2_0x24e1b0(0x2a0)](async(_0x162c0f,_0x4897e1)=>{const _0xfeb2a7=a2_0x24e1b0,_0x53751c=new ParentSegmentPushCommand(),_0x259387=program[_0xfeb2a7(0x201)](),_0x64f495=await createTDXInstance(_0x259387),_0x4a19da=await _0x53751c[_0xfeb2a7(0x27e)]({'options':{..._0x259387,..._0x4897e1},'args':_0x162c0f?[_0x162c0f]:[],'tdx':_0x64f495});gracefulExit(_0x4a19da);}),parentCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x490))[a2_0x24e1b0(0x31b)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x406),'Show\x20only\x20master\x20table\x20validation')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3f5),a2_0x24e1b0(0x4c5))[a2_0x24e1b0(0x4b7)]('--behavior\x20[name]',a2_0x24e1b0(0x4d0))[a2_0x24e1b0(0x4b7)]('--enriched',a2_0x24e1b0(0x2a2))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x37e),a2_0x24e1b0(0x46b),a2_0x24e1b0(0x36b))[a2_0x24e1b0(0x2a0)](async(_0xa16ba4,_0x243593)=>{const _0x54044e=a2_0x24e1b0,_0x3a915a=new ParentSegmentValidateCommand(),_0x4e2998=program['opts'](),_0xd5893=await createTDXInstance(_0x4e2998),_0x431282=await _0x3a915a[_0x54044e(0x27e)]({'options':{..._0x4e2998,..._0x243593},'args':_0xa16ba4?[_0xa16ba4]:[],'tdx':_0xd5893});gracefulExit(_0x431282);}),parentCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x49b))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x2fd))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x406),a2_0x24e1b0(0x1f8))[a2_0x24e1b0(0x4b7)]('--attribute\x20[name]',a2_0x24e1b0(0x417))['option'](a2_0x24e1b0(0x421),a2_0x24e1b0(0x495))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x222),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')['option'](a2_0x24e1b0(0x37e),a2_0x24e1b0(0x46b),'-1d')[a2_0x24e1b0(0x2a0)](async(_0x27f9f3,_0x27c035)=>{const _0x446f96=a2_0x24e1b0,_0x4af048=new ParentSegmentPreviewCommand(),_0x25f700=program[_0x446f96(0x201)](),_0x4f4b51=await createTDXInstance(_0x25f700),_0x5eb4ad=await _0x4af048[_0x446f96(0x27e)]({'options':{..._0x25f700,..._0x27c035},'args':_0x27f9f3?[_0x27f9f3]:[],'tdx':_0x4f4b51});gracefulExit(_0x5eb4ad);}),parentCmd['command']('run\x20[name]')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x4ce))[a2_0x24e1b0(0x2a0)](async(_0x2af5fc,_0x6273f4)=>{const _0x17e6cd=a2_0x24e1b0,_0x1db32c=new ParentSegmentRunCommand(),_0x26bb47=program[_0x17e6cd(0x201)](),_0x3a5600=await createTDXInstance(_0x26bb47),_0x27710c=await _0x1db32c[_0x17e6cd(0x27e)]({'options':{..._0x26bb47,..._0x6273f4},'args':_0x2af5fc?[_0x2af5fc]:[],'tdx':_0x3a5600});gracefulExit(_0x27710c);});const parentSegmentCmd=program[a2_0x24e1b0(0x4c7)]('parent-segment')[a2_0x24e1b0(0x4f3)]('ps')[a2_0x24e1b0(0x31b)]('Parent\x20segment\x20management');parentSegmentCmd['command']('list\x20[pattern]')['description'](a2_0x24e1b0(0x276))[a2_0x24e1b0(0x2a0)](parentListAction),parentSegmentCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x3ac))['description'](a2_0x24e1b0(0x2c1))['option']('-o,\x20--output\x20<file>',a2_0x24e1b0(0x21c))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x434),'Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')[a2_0x24e1b0(0x2a0)](async(_0xb8ae78,_0x215007)=>{const _0x157bba=a2_0x24e1b0,_0x13d353=new ParentSegmentPullCommand(),_0x539752=program[_0x157bba(0x201)](),_0x2a5b9f=await createTDXInstance(_0x539752),_0x33f153=await _0x13d353[_0x157bba(0x27e)]({'options':{..._0x539752,..._0x215007},'args':_0xb8ae78?[_0xb8ae78]:[],'tdx':_0x2a5b9f});gracefulExit(_0x33f153);}),parentSegmentCmd['command']('push\x20[name]')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x1ec))['action'](async(_0x4a5588,_0x45778c)=>{const _0x2d99b8=a2_0x24e1b0,_0x16d7ef=new ParentSegmentPushCommand(),_0x1baee0=program[_0x2d99b8(0x201)](),_0x2aa75a=await createTDXInstance(_0x1baee0),_0x331299=await _0x16d7ef['run']({'options':{..._0x1baee0,..._0x45778c},'args':_0x4a5588?[_0x4a5588]:[],'tdx':_0x2aa75a});gracefulExit(_0x331299);}),parentSegmentCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x2ea))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x4f0))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x406),a2_0x24e1b0(0x2d5))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3f5),a2_0x24e1b0(0x4c5))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x421),a2_0x24e1b0(0x4d0))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x222),a2_0x24e1b0(0x2a2))[a2_0x24e1b0(0x4b7)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x24e1b0(0x36b))[a2_0x24e1b0(0x2a0)](async(_0x4cabec,_0x4a231f)=>{const _0x9cfebc=new ParentSegmentValidateCommand(),_0x1cec02=program['opts'](),_0x2649a0=await createTDXInstance(_0x1cec02),_0x5b8834=await _0x9cfebc['run']({'options':{..._0x1cec02,..._0x4a231f},'args':_0x4cabec?[_0x4cabec]:[],'tdx':_0x2649a0});gracefulExit(_0x5b8834);}),parentSegmentCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x30f))['description'](a2_0x24e1b0(0x2fd))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x406),a2_0x24e1b0(0x1f8))[a2_0x24e1b0(0x4b7)]('--attribute\x20[name]',a2_0x24e1b0(0x417))['option'](a2_0x24e1b0(0x421),a2_0x24e1b0(0x495))['option'](a2_0x24e1b0(0x222),a2_0x24e1b0(0x264))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x37e),a2_0x24e1b0(0x46b),a2_0x24e1b0(0x36b))[a2_0x24e1b0(0x2a0)](async(_0x3cc0a8,_0xc2c2f6)=>{const _0x3fa184=a2_0x24e1b0,_0x4c3376=new ParentSegmentPreviewCommand(),_0x5d3f37=program[_0x3fa184(0x201)](),_0x4494b6=await createTDXInstance(_0x5d3f37),_0x54442f=await _0x4c3376['run']({'options':{..._0x5d3f37,..._0xc2c2f6},'args':_0x3cc0a8?[_0x3cc0a8]:[],'tdx':_0x4494b6});gracefulExit(_0x54442f);}),parentSegmentCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x44d))[a2_0x24e1b0(0x31b)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x24e1b0(0x2a0)](async(_0x1cc8ee,_0x5ed811)=>{const _0xfd1ebe=a2_0x24e1b0,_0x3f64a6=new ParentSegmentRunCommand(),_0x469f48=program[_0xfd1ebe(0x201)](),_0x7e575c=await createTDXInstance(_0x469f48),_0x57cc8d=await _0x3f64a6[_0xfd1ebe(0x27e)]({'options':{..._0x469f48,..._0x5ed811},'args':_0x1cc8ee?[_0x1cc8ee]:[],'tdx':_0x7e575c});gracefulExit(_0x57cc8d);}),parentSegmentCmd[a2_0x24e1b0(0x4c7)]('fields\x20[name]')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x2fe))[a2_0x24e1b0(0x4b7)]('--json',a2_0x24e1b0(0x28e))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x364),'Output\x20as\x20JSON\x20Lines')[a2_0x24e1b0(0x2a0)](async(_0x10bcf4,_0x318e15)=>{const _0x5bf27d=a2_0x24e1b0,_0x48509b=new ParentSegmentFieldsCommand(),_0x386ee0=program[_0x5bf27d(0x201)](),_0x143c04=await createTDXInstance(_0x386ee0),_0x555149=await _0x48509b[_0x5bf27d(0x27e)]({'options':{..._0x386ee0,..._0x318e15},'args':_0x10bcf4?[_0x10bcf4]:[],'tdx':_0x143c04});gracefulExit(_0x555149);}),parentSegmentCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x2f6))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x4aa))['option'](a2_0x24e1b0(0x209),a2_0x24e1b0(0x3a3))['option'](a2_0x24e1b0(0x271),'Output\x20as\x20JSON')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x364),'Output\x20as\x20JSON\x20Lines')[a2_0x24e1b0(0x2a0)](async(_0x374692,_0x1353fc)=>{const _0x274065=a2_0x24e1b0,_0x1bca0b=new ParentSegmentViewCommand(),_0x2dab0e=program[_0x274065(0x201)](),_0x4d5ef0=await createTDXInstance(_0x2dab0e),_0xade549=await _0x1bca0b[_0x274065(0x27e)]({'options':{..._0x2dab0e,..._0x1353fc},'args':_0x374692?[_0x374692]:[],'tdx':_0x4d5ef0});gracefulExit(_0xade549);}),parentSegmentCmd[a2_0x24e1b0(0x4c7)]('desc\x20[name]')['description'](a2_0x24e1b0(0x4b1))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3ab),a2_0x24e1b0(0x21c))['option'](a2_0x24e1b0(0x271),a2_0x24e1b0(0x28e))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x364),a2_0x24e1b0(0x48f))[a2_0x24e1b0(0x2a0)](async(_0x3b601f,_0x374e29)=>{const _0x505ff0=a2_0x24e1b0,_0x513b56=new ParentSegmentDescCommand(),_0x3c161f=program['opts'](),_0x5cd979=await createTDXInstance(_0x3c161f),_0x4191c5=await _0x513b56[_0x505ff0(0x27e)]({'options':{..._0x3c161f,..._0x374e29},'args':_0x3b601f?[_0x3b601f]:[],'tdx':_0x5cd979});gracefulExit(_0x4191c5);}),parentSegmentCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x465))[a2_0x24e1b0(0x31b)]('Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x24e1b0(0x4b7)]('--json',a2_0x24e1b0(0x28e))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x364),a2_0x24e1b0(0x48f))['action'](async(_0x3f3179,_0x2d6377)=>{const _0x2fc31d=a2_0x24e1b0,_0x13fc14=new ParentSegmentSQLCommand(),_0xde96a9=program['opts'](),_0x315fc3=await createTDXInstance(_0xde96a9),_0x3e4832=await _0x13fc14[_0x2fc31d(0x27e)]({'options':{..._0xde96a9,..._0x2d6377},'args':_0x3f3179?[_0x3f3179]:[],'tdx':_0x315fc3});gracefulExit(_0x3e4832);}),parentSegmentCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x46c))[a2_0x24e1b0(0x31b)]('Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x27a),a2_0x24e1b0(0x2fb))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x271),a2_0x24e1b0(0x28e))['option'](a2_0x24e1b0(0x364),a2_0x24e1b0(0x48f))[a2_0x24e1b0(0x2a0)](async(_0x3f89a2,_0x383020)=>{const _0x3b8536=a2_0x24e1b0,_0x1ec55c=new ParentSegmentShowCommand(),_0xd77a1=program[_0x3b8536(0x201)](),_0x44b52f=await createTDXInstance(_0xd77a1),_0x4dce2c=await _0x1ec55c['run']({'options':{..._0xd77a1,..._0x383020},'args':_0x3f89a2?[_0x3f89a2]:[],'tdx':_0x44b52f});gracefulExit(_0x4dce2c);}),parentSegmentCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x334))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x395))[a2_0x24e1b0(0x2a0)](async(_0x3806e8,_0x34e860)=>{const _0x322f05=a2_0x24e1b0,_0xabf60e=new UseCommand(),_0x2abd72=program['opts'](),_0x42b477=_0x3806e8?['parent_segment',_0x3806e8]:[],_0x5b1319=await _0xabf60e[_0x322f05(0x27e)]({'options':{..._0x2abd72,..._0x34e860},'args':_0x42b477,'tdx':null});gracefulExit(_0x5b1319);});const psRtCmd=parentSegmentCmd['command']('rt')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x230));psRtCmd['command'](a2_0x24e1b0(0x20a))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x32b))[a2_0x24e1b0(0x2a0)](async(_0xe00af1,_0x434b0e)=>{const _0x56f6b8=a2_0x24e1b0,_0x1b53aa=new PSRtListCommand(),_0x434528=program['opts'](),_0x1ba375=await createTDXInstance(_0x434528),_0x30af13=await _0x1b53aa[_0x56f6b8(0x27e)]({'options':{..._0x434528,..._0x434b0e},'args':_0xe00af1?[_0xe00af1]:[],'tdx':_0x1ba375});gracefulExit(_0x30af13);}),psRtCmd['command'](a2_0x24e1b0(0x2ea))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x36f))[a2_0x24e1b0(0x2a0)](async(_0x1de6ff,_0x5235bb)=>{const _0x1137dc=a2_0x24e1b0,_0x2f9c0d=new PSRtValidateCommand(),_0xefb4e=program['opts'](),_0x3dc552=await createTDXInstance(_0xefb4e),_0x31132c=await _0x2f9c0d[_0x1137dc(0x27e)]({'options':{..._0xefb4e,..._0x5235bb},'args':_0x1de6ff?[_0x1de6ff]:[],'tdx':_0x3dc552});gracefulExit(_0x31132c);}),psRtCmd[a2_0x24e1b0(0x4c7)]('configuration_versions\x20[name]')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x372))[a2_0x24e1b0(0x2a0)](async(_0x56a191,_0x1d3cd7)=>{const _0xb32fc6=a2_0x24e1b0,_0xc22ca6=new PSRtConfigVersionCommand(),_0x3c4b1b=program[_0xb32fc6(0x201)](),_0x5a4f57=await createTDXInstance(_0x3c4b1b),_0x17d843=await _0xc22ca6[_0xb32fc6(0x27e)]({'options':{..._0x3c4b1b,..._0x1d3cd7},'args':_0x56a191?[_0x56a191]:[],'tdx':_0x5a4f57});gracefulExit(_0x17d843);});const psRtJnCmd=psRtCmd['command']('jn')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x28a));psRtJnCmd[a2_0x24e1b0(0x4c7)]('list\x20[name]')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x453))['action'](async(_0x4852ef,_0x25afb2)=>{const _0x49d721=a2_0x24e1b0,_0x59f2eb=new PSRtJnListCommand(),_0x7cf843=program[_0x49d721(0x201)](),_0x3f592c=await createTDXInstance(_0x7cf843),_0x56b9ae=await _0x59f2eb['run']({'options':{..._0x7cf843,..._0x25afb2},'args':_0x4852ef?[_0x4852ef]:[],'tdx':_0x3f592c});gracefulExit(_0x56b9ae);}),psRtJnCmd[a2_0x24e1b0(0x4c7)]('pause_activations\x20<journeyId>')['description'](a2_0x24e1b0(0x389))[a2_0x24e1b0(0x2a0)](async(_0x4fa71f,_0x467cc7)=>{const _0x730f5c=a2_0x24e1b0,_0x4df587=new PSRtJnPauseCommand(),_0x3d08b1=program[_0x730f5c(0x201)](),_0x29fcb0=await createTDXInstance(_0x3d08b1),_0x327d46=await _0x4df587[_0x730f5c(0x27e)]({'options':{..._0x3d08b1,..._0x467cc7},'args':[_0x4fa71f],'tdx':_0x29fcb0});gracefulExit(_0x327d46);}),psRtJnCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x32f))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x39c))[a2_0x24e1b0(0x2a0)](async(_0x4ce579,_0x5196c7)=>{const _0x391bc3=a2_0x24e1b0,_0x4627e0=new PSRtJnResumeCommand(),_0x1bf657=program[_0x391bc3(0x201)](),_0x14c79c=await createTDXInstance(_0x1bf657),_0x5a3886=await _0x4627e0[_0x391bc3(0x27e)]({'options':{..._0x1bf657,..._0x5196c7},'args':[_0x4ce579],'tdx':_0x14c79c});gracefulExit(_0x5a3886);});const parentRtCmd=parentCmd[a2_0x24e1b0(0x4c7)]('rt',{'hidden':!![]})['description'](a2_0x24e1b0(0x230));parentRtCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x20a))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x32b))[a2_0x24e1b0(0x2a0)](async(_0x4749b3,_0x1dd953)=>{const _0xe1118a=a2_0x24e1b0,_0x39655f=new PSRtListCommand(),_0x9bfc78=program[_0xe1118a(0x201)](),_0x2a048c=await createTDXInstance(_0x9bfc78),_0x21f05f=await _0x39655f[_0xe1118a(0x27e)]({'options':{..._0x9bfc78,..._0x1dd953},'args':_0x4749b3?[_0x4749b3]:[],'tdx':_0x2a048c});gracefulExit(_0x21f05f);}),parentRtCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x2ea))['description'](a2_0x24e1b0(0x36f))[a2_0x24e1b0(0x2a0)](async(_0x325033,_0x19ab45)=>{const _0x5fa903=new PSRtValidateCommand(),_0x2c8e00=program['opts'](),_0x48f0b5=await createTDXInstance(_0x2c8e00),_0x3de960=await _0x5fa903['run']({'options':{..._0x2c8e00,..._0x19ab45},'args':_0x325033?[_0x325033]:[],'tdx':_0x48f0b5});gracefulExit(_0x3de960);});const psPzCmd=parentSegmentCmd[a2_0x24e1b0(0x4c7)]('pz')[a2_0x24e1b0(0x31b)]('Personalization\x20management');psPzCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x466))['description'](a2_0x24e1b0(0x496))[a2_0x24e1b0(0x2a0)](async(_0x334829,_0x20b8d5)=>{const _0x57a9b0=a2_0x24e1b0,_0x213d1d=new PSPzListCommand(),_0x2671b9=program[_0x57a9b0(0x201)](),_0x19fc54=await createTDXInstance(_0x2671b9),_0x2fb11a=await _0x213d1d[_0x57a9b0(0x27e)]({'options':{..._0x2671b9,..._0x20b8d5},'args':_0x334829?[_0x334829]:[],'tdx':_0x19fc54});gracefulExit(_0x2fb11a);}),psPzCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x218))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x279))['action'](async(_0x2b61ff,_0xae30a2)=>{const _0x3e94b0=a2_0x24e1b0,_0x2925f8=new PSPzShowCommand(),_0x3edf61=program[_0x3e94b0(0x201)](),_0x2a78b7=await createTDXInstance(_0x3edf61),_0x126535=await _0x2925f8[_0x3e94b0(0x27e)]({'options':{..._0x3edf61,..._0xae30a2},'args':[_0x2b61ff],'tdx':_0x2a78b7});gracefulExit(_0x126535);}),psPzCmd[a2_0x24e1b0(0x4c7)]('delete\x20<personalization_id>')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x4bf))['action'](async(_0x4ba621,_0x3778ba)=>{const _0x22f381=a2_0x24e1b0,_0x30b4d7=new PSPzDeleteCommand(),_0x24a0cd=program['opts'](),_0xbbbd2b=await createTDXInstance(_0x24a0cd),_0x271a34=await _0x30b4d7[_0x22f381(0x27e)]({'options':{..._0x24a0cd,..._0x3778ba},'args':[_0x4ba621],'tdx':_0xbbbd2b});gracefulExit(_0x271a34);}),psPzCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4fa))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x3bb))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x2e4),'Personalization\x20name')['option'](a2_0x24e1b0(0x2f5),a2_0x24e1b0(0x277))[a2_0x24e1b0(0x4b7)]('--audience-id\x20<id>',a2_0x24e1b0(0x49a))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x24e),a2_0x24e1b0(0x37c))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x391),'Sections\x20as\x20an\x20inline\x20JSON\x20array')['option'](a2_0x24e1b0(0x4fb),'Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)')[a2_0x24e1b0(0x2a0)](async _0x52d2e7=>{const _0x2cae3b=a2_0x24e1b0,_0x493435=new PSPzCreateCommand(),_0x57bcc3=program[_0x2cae3b(0x201)](),_0x3fc03a=await createTDXInstance(_0x57bcc3),_0x10ade8=await _0x493435['run']({'options':{..._0x57bcc3,..._0x52d2e7},'args':[],'tdx':_0x3fc03a});gracefulExit(_0x10ade8);}),psPzCmd['command'](a2_0x24e1b0(0x38c))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x3ef))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x2e4),a2_0x24e1b0(0x4f8))['option'](a2_0x24e1b0(0x2f5),a2_0x24e1b0(0x277))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x391),'Sections\x20as\x20an\x20inline\x20JSON\x20array')[a2_0x24e1b0(0x4b7)]('--file\x20<path>',a2_0x24e1b0(0x303))[a2_0x24e1b0(0x2a0)](async(_0x342238,_0x32c05b)=>{const _0x14e1bb=a2_0x24e1b0,_0x176aa4=new PSPzPatchCommand(),_0x3072a4=program[_0x14e1bb(0x201)](),_0x43f990=await createTDXInstance(_0x3072a4),_0x26ff7b=await _0x176aa4[_0x14e1bb(0x27e)]({'options':{..._0x3072a4,..._0x32c05b},'args':[_0x342238],'tdx':_0x43f990});gracefulExit(_0x26ff7b);});const psPzServiceCmd=psPzCmd['command'](a2_0x24e1b0(0x2f3))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x475));psPzServiceCmd[a2_0x24e1b0(0x4c7)]('list\x20[name]')[a2_0x24e1b0(0x31b)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x24e1b0(0x2a0)](async(_0x2bf2b9,_0x454b41)=>{const _0x3ff053=a2_0x24e1b0,_0x272124=new PSPzServiceListCommand(),_0x201e2f=program[_0x3ff053(0x201)](),_0x5765a3=await createTDXInstance(_0x201e2f),_0x5051e1=await _0x272124[_0x3ff053(0x27e)]({'options':{..._0x201e2f,..._0x454b41},'args':_0x2bf2b9?[_0x2bf2b9]:[],'tdx':_0x5765a3});gracefulExit(_0x5051e1);}),psPzServiceCmd[a2_0x24e1b0(0x4c7)]('create\x20<name>\x20[parent_segment]')['description'](a2_0x24e1b0(0x3a4))['option'](a2_0x24e1b0(0x2f5),a2_0x24e1b0(0x41b))['option'](a2_0x24e1b0(0x3de),a2_0x24e1b0(0x452))[a2_0x24e1b0(0x2a0)](async(_0x38605f,_0x575db1,_0x5e4faf)=>{const _0x591ea1=a2_0x24e1b0,_0x47a43f=new PSPzServiceCreateCommand(),_0x3daf8a=program[_0x591ea1(0x201)](),_0x301b54=await createTDXInstance(_0x3daf8a),_0xaeb45b=await _0x47a43f[_0x591ea1(0x27e)]({'options':{..._0x3daf8a,..._0x5e4faf},'args':_0x575db1?[_0x38605f,_0x575db1]:[_0x38605f],'tdx':_0x301b54});gracefulExit(_0xaeb45b);}),psPzServiceCmd[a2_0x24e1b0(0x4c7)]('show\x20<service_id>\x20[parent_segment]')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x297))['action'](async(_0x2dfb03,_0x22a658,_0xc1419d)=>{const _0x5ecef8=a2_0x24e1b0,_0x36baf9=new PSPzServiceShowCommand(),_0x292f98=program[_0x5ecef8(0x201)](),_0xa76791=await createTDXInstance(_0x292f98),_0x178466=await _0x36baf9[_0x5ecef8(0x27e)]({'options':{..._0x292f98,..._0xc1419d},'args':_0x22a658?[_0x2dfb03,_0x22a658]:[_0x2dfb03],'tdx':_0xa76791});gracefulExit(_0x178466);}),psPzServiceCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x401))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x306))['action'](async(_0x13b173,_0x4f034b,_0x3aa9ca)=>{const _0xacecdb=a2_0x24e1b0,_0x12f696=new PSPzServiceDeleteCommand(),_0x8777bb=program[_0xacecdb(0x201)](),_0x465406=await createTDXInstance(_0x8777bb),_0x193ccb=await _0x12f696[_0xacecdb(0x27e)]({'options':{..._0x8777bb,..._0x3aa9ca},'args':_0x4f034b?[_0x13b173,_0x4f034b]:[_0x13b173],'tdx':_0x465406});gracefulExit(_0x193ccb);}),psPzServiceCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x432))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x4b5))[a2_0x24e1b0(0x35d)]('--name\x20<name>','New\x20service\x20name')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x2f5),'New\x20service\x20description')[a2_0x24e1b0(0x2a0)](async(_0x4b621d,_0x13de85,_0x56500d)=>{const _0x2411ad=a2_0x24e1b0,_0x293bad=new PSPzServiceUpdateCommand(),_0x4f8c0e=program[_0x2411ad(0x201)](),_0x3fb807=await createTDXInstance(_0x4f8c0e),_0x514dab=await _0x293bad[_0x2411ad(0x27e)]({'options':{..._0x4f8c0e,..._0x56500d},'args':_0x13de85?[_0x4b621d,_0x13de85]:[_0x4b621d],'tdx':_0x3fb807});gracefulExit(_0x514dab);}),psPzServiceCmd[a2_0x24e1b0(0x4c7)]('init\x20[name]')[a2_0x24e1b0(0x31b)]('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x24e1b0(0x2a0)](async(_0x4edec0,_0x2891b3)=>{const _0x5049f2=a2_0x24e1b0,_0x43bf8b=new PSPzInitCommand(),_0x3be873=program['opts'](),_0x343355=await createTDXInstance(_0x3be873),_0x4584dc=await _0x43bf8b[_0x5049f2(0x27e)]({'options':{..._0x3be873,..._0x2891b3},'args':_0x4edec0?[_0x4edec0]:[],'tdx':_0x343355});gracefulExit(_0x4584dc);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x200))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x31c));function a2_0x9648(_0x1f7fb7,_0x3946a7){_0x1f7fb7=_0x1f7fb7-0x1d6;const _0xde7dc7=a2_0xde7d();let _0x9648cd=_0xde7dc7[_0x1f7fb7];return _0x9648cd;}psPzServiceTokenCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x23f))[a2_0x24e1b0(0x31b)]('Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x24e1b0(0x4b7)]('--allowed-ips\x20<ips>',a2_0x24e1b0(0x483))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x2f5),a2_0x24e1b0(0x311))[a2_0x24e1b0(0x2a0)](async(_0x27e2ac,_0xe7ef78,_0x4090fb,_0x20d4de)=>{const _0x123adb=a2_0x24e1b0,_0xc3286=new PSPzServiceTokenCreateCommand(),_0x5a9e01=program['opts'](),_0x2ff496=await createTDXInstance(_0x5a9e01),_0x1e7ea7=await _0xc3286[_0x123adb(0x27e)]({'options':{..._0x5a9e01,..._0x20d4de},'args':_0x4090fb?[_0x27e2ac,_0xe7ef78,_0x4090fb]:[_0x27e2ac,_0xe7ef78],'tdx':_0x2ff496});gracefulExit(_0x1e7ea7);}),psPzServiceTokenCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x487))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x4d8))[a2_0x24e1b0(0x2a0)](async(_0x52ee99,_0xa43ef,_0x347636)=>{const _0x47f1b6=new PSPzServiceTokenDeleteCommand(),_0x41643c=program['opts'](),_0x22cf50=await createTDXInstance(_0x41643c),_0x3cdcbf=await _0x47f1b6['run']({'options':{..._0x41643c,..._0x347636},'args':_0xa43ef?[_0x52ee99,_0xa43ef]:[_0x52ee99],'tdx':_0x22cf50});gracefulExit(_0x3cdcbf);}),parentCmd['command']('create\x20<name>')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x321))[a2_0x24e1b0(0x35d)](a2_0x24e1b0(0x4bb),a2_0x24e1b0(0x21b))[a2_0x24e1b0(0x35d)](a2_0x24e1b0(0x392),a2_0x24e1b0(0x26b))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x2f5),a2_0x24e1b0(0x447))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3aa),a2_0x24e1b0(0x460))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3dc),a2_0x24e1b0(0x2a3))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x349),a2_0x24e1b0(0x29d))['option'](a2_0x24e1b0(0x499),a2_0x24e1b0(0x2bd))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x362),a2_0x24e1b0(0x324))['option']('--behaviors\x20<json>','Behaviors\x20as\x20JSON\x20string')[a2_0x24e1b0(0x4b7)]('--behaviors-file\x20<file>','Behaviors\x20from\x20JSON\x20file')['option']('--customer-group\x20<json>',a2_0x24e1b0(0x462))['option'](a2_0x24e1b0(0x2ab),a2_0x24e1b0(0x367))[a2_0x24e1b0(0x2a0)](async(_0x54137a,_0x1fcbd8)=>{const _0x50cfee=a2_0x24e1b0,_0x1b0441=new ParentSegmentCreateCommand(),_0x5c4308=program[_0x50cfee(0x201)](),_0x1d906c=await createTDXInstance(_0x5c4308),_0x411fe=await _0x1b0441[_0x50cfee(0x27e)]({'options':{..._0x5c4308,..._0x1fcbd8},'args':[_0x54137a],'tdx':_0x1d906c});gracefulExit(_0x411fe);}),parentCmd['command'](a2_0x24e1b0(0x4e9))['description'](a2_0x24e1b0(0x4b6))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x2f5),'Updated\x20description')[a2_0x24e1b0(0x4b7)]('--schedule-type\x20<type>',a2_0x24e1b0(0x40f))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3dc),a2_0x24e1b0(0x463))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x349),a2_0x24e1b0(0x40b))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x227),'Add\x20attributes\x20as\x20JSON\x20string')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x378),a2_0x24e1b0(0x3db))['option'](a2_0x24e1b0(0x2f0),a2_0x24e1b0(0x1fc))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3b4),'Add\x20behaviors\x20from\x20JSON\x20file')[a2_0x24e1b0(0x2a0)](async(_0x4561c1,_0x200507)=>{const _0x3de483=a2_0x24e1b0,_0x3ccff9=new ParentSegmentUpdateCommand(),_0x5a2702=program['opts'](),_0x5a68cd=await createTDXInstance(_0x5a2702),_0x5d211a=await _0x3ccff9[_0x3de483(0x27e)]({'options':{..._0x5a2702,..._0x200507},'args':[_0x4561c1],'tdx':_0x5a68cd});gracefulExit(_0x5d211a);}),folderCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x3cb))['description'](a2_0x24e1b0(0x3a7))['option'](a2_0x24e1b0(0x2f5),a2_0x24e1b0(0x443))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x32a),a2_0x24e1b0(0x2b5))[a2_0x24e1b0(0x2a0)](async(_0x475b3d,_0x3c1119,_0xcd5cb8)=>{const _0x451f17=a2_0x24e1b0,_0x206dc2=new SegmentFolderCreateCommand(),_0x438560=program[_0x451f17(0x201)](),_0x26bad9=await createTDXInstance(_0x438560),_0x4c2a1f=await _0x206dc2[_0x451f17(0x27e)]({'options':{..._0x438560,..._0xcd5cb8},'args':[_0x475b3d,_0x3c1119],'tdx':_0x26bad9});gracefulExit(_0x4c2a1f);}),program[a2_0x24e1b0(0x4c7)]('activations\x20<segment_name>')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x272))[a2_0x24e1b0(0x2a0)](async(_0x22599f,_0x33575a)=>{const _0x54fafa=a2_0x24e1b0,_0x2190f4=new ActivationsCommand(),_0x38a7f9=program[_0x54fafa(0x201)](),_0x5804de=await createTDXInstance(_0x38a7f9),_0x24bb69=await _0x2190f4[_0x54fafa(0x27e)]({'options':{..._0x38a7f9,..._0x33575a},'args':[_0x22599f],'tdx':_0x5804de});gracefulExit(_0x24bb69);});const workflowCmd=program[a2_0x24e1b0(0x4c7)]('workflow')[a2_0x24e1b0(0x4f3)]('wf')['description'](a2_0x24e1b0(0x405)),wfProjectCmd=workflowCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x22c))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x4d2)),wfProjectListAction=async(_0x5a245c,_0x10d78d)=>{const _0x50ef3b=new WorkflowProjectsCommand(),_0x400647=program['opts'](),_0x329566=await createTDXInstance(_0x400647),_0x29d707=await _0x50ef3b['run']({'options':{..._0x400647,..._0x10d78d},'args':_0x5a245c?[_0x5a245c]:[],'tdx':_0x329566});gracefulExit(_0x29d707);};wfProjectCmd['command'](a2_0x24e1b0(0x20a))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x261))[a2_0x24e1b0(0x2a0)](wfProjectListAction),workflowCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x28d))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x2ec))['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x426e11,_0x36d941)=>{const _0x1f9e16=a2_0x24e1b0,_0x1b4f3e=new WorkflowWorkflowsCommand(),_0x47efe4=program[_0x1f9e16(0x201)](),_0x3f1eaa=await createTDXInstance(_0x47efe4),_0x9f515c=await _0x1b4f3e[_0x1f9e16(0x27e)]({'options':{..._0x47efe4,..._0x36d941},'args':_0x426e11?[_0x426e11]:[],'tdx':_0x3f1eaa});gracefulExit(_0x9f515c);};workflowCmd['command']('workflows\x20[project]')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x4f1))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command']('session')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x477)),wfSessionListAction=async(_0x1f0f62,_0x3026f4)=>{const _0x32489c=a2_0x24e1b0,_0x5394ac=new WorkflowSessionsCommand(),_0x3c9eca=program[_0x32489c(0x201)](),_0x2eb6a5=await createTDXInstance(_0x3c9eca),_0xfa7135=await _0x5394ac[_0x32489c(0x27e)]({'options':{..._0x3c9eca,..._0x3026f4},'args':_0x1f0f62?[_0x1f0f62]:[],'tdx':_0x2eb6a5});gracefulExit(_0xfa7135);};wfSessionCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x216))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x415))[a2_0x24e1b0(0x4b7)]('--status\x20<status>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')['option']('--from\x20<timestamp>','Start\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x33f),a2_0x24e1b0(0x373))[a2_0x24e1b0(0x2a0)](wfSessionListAction),workflowCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x2c5))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x1e5))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3ea),a2_0x24e1b0(0x40a))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x273),a2_0x24e1b0(0x418))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x33f),a2_0x24e1b0(0x373))[a2_0x24e1b0(0x2a0)](wfSessionListAction);const wfAttemptListAction=async(_0xef3e23,_0x2b0da3)=>{const _0x1d04f1=a2_0x24e1b0,_0x412709=new WorkflowAttemptsCommand(),_0x1f06ff=program[_0x1d04f1(0x201)](),_0x231896=await createTDXInstance(_0x1f06ff),_0x377756=await _0x412709[_0x1d04f1(0x27e)]({'options':{..._0x1f06ff,..._0x2b0da3},'args':_0xef3e23?[_0xef3e23]:[],'tdx':_0x231896});gracefulExit(_0x377756);},attemptCmd=workflowCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x30c))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x35a))[a2_0x24e1b0(0x444)](a2_0x24e1b0(0x4db),'Attempt\x20ID')[a2_0x24e1b0(0x444)](a2_0x24e1b0(0x2b1),a2_0x24e1b0(0x2d0))[a2_0x24e1b0(0x444)](a2_0x24e1b0(0x2d2),a2_0x24e1b0(0x3ff))['option'](a2_0x24e1b0(0x3ad),a2_0x24e1b0(0x454))[a2_0x24e1b0(0x4b7)]('--reason\x20<text>','Reason\x20for\x20killing\x20the\x20attempt')[a2_0x24e1b0(0x4b7)]('--resume-from\x20<task>',a2_0x24e1b0(0x249))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x328),a2_0x24e1b0(0x294))['option'](a2_0x24e1b0(0x31d),a2_0x24e1b0(0x422))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x340),a2_0x24e1b0(0x4c3))[a2_0x24e1b0(0x2a0)](async(_0x5d71a9,_0xe6ecbb,_0x2e48dd,_0x359840)=>{const _0x46ebb3=a2_0x24e1b0;if(_0x5d71a9===_0x46ebb3(0x3f7)){await wfAttemptListAction(_0xe6ecbb,_0x359840);return;}if(!_0x5d71a9){attemptCmd[_0x46ebb3(0x35f)]();return;}const _0x487b56=program['opts'](),_0x256fe7=await createTDXInstance(_0x487b56);let _0x83106a=0x0;if(!_0xe6ecbb){const _0x5a4aae=new WorkflowAttemptCommand();_0x83106a=await _0x5a4aae[_0x46ebb3(0x27e)]({'options':{..._0x487b56,..._0x359840},'args':[_0x5d71a9],'tdx':_0x256fe7});}else{if(_0xe6ecbb===_0x46ebb3(0x497)){const _0x5ae70d=new WorkflowLogsCommand();_0x83106a=await _0x5ae70d['run']({'options':{..._0x487b56,..._0x359840},'args':_0x2e48dd?[_0x5d71a9,_0x2e48dd]:[_0x5d71a9],'tdx':_0x256fe7});}else{if(_0xe6ecbb==='tasks'){const _0x502b52=new WorkflowTasksCommand();_0x83106a=await _0x502b52['run']({'options':{..._0x487b56,..._0x359840},'args':[_0x5d71a9],'tdx':_0x256fe7});}else{if(_0xe6ecbb===_0x46ebb3(0x3f6)){const _0x5cb724=new WorkflowKillCommand();_0x83106a=await _0x5cb724[_0x46ebb3(0x27e)]({'options':{..._0x487b56,..._0x359840},'args':[_0x5d71a9],'tdx':_0x256fe7});}else{if(_0xe6ecbb===_0x46ebb3(0x47f)){const _0x35bec7=new WorkflowRetryCommand();_0x83106a=await _0x35bec7[_0x46ebb3(0x27e)]({'options':{..._0x487b56,..._0x359840},'args':['attempt:'+_0x5d71a9],'tdx':_0x256fe7});}else console[_0x46ebb3(0x49c)](_0x46ebb3(0x1db)+_0xe6ecbb),console['error'](_0x46ebb3(0x44c)),_0x83106a=0x1;}}}}gracefulExit(_0x83106a);});attemptCmd['command'](a2_0x24e1b0(0x216))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x4da))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x340),a2_0x24e1b0(0x26d))[a2_0x24e1b0(0x2a0)](wfAttemptListAction),workflowCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4dd))[a2_0x24e1b0(0x31b)]('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')['option'](a2_0x24e1b0(0x340),'Include\x20retried\x20attempts')[a2_0x24e1b0(0x2a0)](wfAttemptListAction),workflowCmd['command']('timeline\x20[project.workflow]')['description'](a2_0x24e1b0(0x40d))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x21a),a2_0x24e1b0(0x48b))['option'](a2_0x24e1b0(0x2e8),a2_0x24e1b0(0x354))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x295),a2_0x24e1b0(0x33d))['action'](async(_0x5375a4,_0x311250)=>{const _0x3cca5b=a2_0x24e1b0,_0x4a8d4f=new WorkflowTimelineCommand(),_0x380c4c=program[_0x3cca5b(0x201)](),_0x50a78d=await createTDXInstance(_0x380c4c),_0x5ea94c=await _0x4a8d4f['run']({'options':{..._0x380c4c,..._0x311250},'args':_0x5375a4?[_0x5375a4]:[],'tdx':_0x50a78d});gracefulExit(_0x5ea94c);}),workflowCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x287))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x4d3))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3e5),'Resume\x20from\x20specific\x20task')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x328),a2_0x24e1b0(0x1e8))[a2_0x24e1b0(0x2a0)](async(_0x4e9f4d,_0x6cabb9)=>{const _0x2ba2ef=a2_0x24e1b0,_0x3f3743=new WorkflowRetryCommand(),_0x36cbcc=program[_0x2ba2ef(0x201)](),_0x5f5d8b=await createTDXInstance(_0x36cbcc),_0x3034f8=await _0x3f3743[_0x2ba2ef(0x27e)]({'options':{..._0x36cbcc,..._0x6cabb9},'args':[_0x4e9f4d],'tdx':_0x5f5d8b});gracefulExit(_0x3034f8);}),workflowCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x3e8))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x4be))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x368),a2_0x24e1b0(0x45b),(_0x3bc969,_0x3d4cf0=[])=>[..._0x3d4cf0,_0x3bc969],[])['option']('--session-time\x20<time>','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')['action'](async(_0x41cb95,_0x1f002c)=>{const _0x12f0a7=a2_0x24e1b0,_0x47a274=new WorkflowRunCommand(),_0x27283c=program[_0x12f0a7(0x201)](),_0x23ddea=await createTDXInstance(_0x27283c),_0x20fb51=await _0x47a274[_0x12f0a7(0x27e)]({'options':{..._0x27283c,..._0x1f002c},'args':_0x41cb95?[_0x41cb95]:[],'tdx':_0x23ddea});gracefulExit(_0x20fb51);}),workflowCmd['command'](a2_0x24e1b0(0x45e))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x314))[a2_0x24e1b0(0x4b7)]('--revision\x20<revision>','Specific\x20revision\x20to\x20download\x20(default:\x20latest)')[a2_0x24e1b0(0x2a0)](async(_0x223ca6,_0x207528,_0xdf5d2c)=>{const _0x4c6631=a2_0x24e1b0,_0x55dec6=new WorkflowDownloadCommand(),_0xff65ad=program[_0x4c6631(0x201)](),_0x485f08=await createTDXInstance(_0xff65ad),_0x131545=await _0x55dec6[_0x4c6631(0x27e)]({'options':{..._0xff65ad,..._0xdf5d2c},'args':[_0x223ca6,_0x207528||'.'],'tdx':_0x485f08});gracefulExit(_0x131545);}),workflowCmd['command'](a2_0x24e1b0(0x3e0))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x4f6))[a2_0x24e1b0(0x4b7)]('--revision\x20<revision>','Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4fe),a2_0x24e1b0(0x456))[a2_0x24e1b0(0x2a0)](async(_0x3f96d3,_0x673c88,_0xe467a1)=>{const _0x39a92f=a2_0x24e1b0,_0x16afdb=new WorkflowPullCommand(),_0x50c3c9=program[_0x39a92f(0x201)](),_0x158769=await createTDXInstance(_0x50c3c9),_0x546522=await _0x16afdb['run']({'options':{..._0x50c3c9,..._0xe467a1},'args':_0x673c88?[_0x3f96d3,_0x673c88]:[_0x3f96d3],'tdx':_0x158769});gracefulExit(_0x546522);}),workflowCmd['command'](a2_0x24e1b0(0x285))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x38e))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4bc),'Custom\x20revision\x20name\x20(default:\x20timestamp)')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4fe),a2_0x24e1b0(0x4e1))['option'](a2_0x24e1b0(0x3e2),a2_0x24e1b0(0x4b4))[a2_0x24e1b0(0x2a0)](async(_0x283c00,_0x595e62)=>{const _0x4887a3=a2_0x24e1b0,_0x135960=new WorkflowPushCommand(),_0x13b388=program[_0x4887a3(0x201)](),_0x4def97=await createTDXInstance(_0x13b388),_0x381b4c=await _0x135960['run']({'options':{..._0x13b388,..._0x595e62},'args':_0x283c00?[_0x283c00]:[],'tdx':_0x4def97});gracefulExit(_0x381b4c);}),workflowCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x3cc))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x474))['option'](a2_0x24e1b0(0x473),a2_0x24e1b0(0x38b))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4bc),a2_0x24e1b0(0x485))['option'](a2_0x24e1b0(0x3e2),a2_0x24e1b0(0x4b4))[a2_0x24e1b0(0x2a0)](async(_0x1cc0be,_0x385d1e)=>{const _0x39ca6b=a2_0x24e1b0,_0xbdfa2d=new WorkflowUploadCommand(),_0x5ded7b=program[_0x39ca6b(0x201)](),_0x5661cd=await createTDXInstance(_0x5ded7b),_0x707e48=await _0xbdfa2d[_0x39ca6b(0x27e)]({'options':{..._0x5ded7b,..._0x385d1e},'args':_0x1cc0be?[_0x1cc0be]:[],'tdx':_0x5661cd});gracefulExit(_0x707e48);}),workflowCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x2e0))['description'](a2_0x24e1b0(0x317))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x473),'Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4bc),a2_0x24e1b0(0x353))['option'](a2_0x24e1b0(0x4fe),a2_0x24e1b0(0x429))['option'](a2_0x24e1b0(0x3e2),a2_0x24e1b0(0x4b4))[a2_0x24e1b0(0x2a0)](async(_0x2527de,_0x48c3db)=>{const _0x5828c8=a2_0x24e1b0,_0x55cbea=new WorkflowCloneCommand(),_0x187b54=program[_0x5828c8(0x201)](),_0x11c2a2=await createTDXInstance(_0x187b54),_0x5608e6=await _0x55cbea['run']({'options':{..._0x187b54,..._0x48c3db},'args':_0x2527de?[_0x2527de]:[],'tdx':_0x11c2a2});gracefulExit(_0x5608e6);}),workflowCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x232))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x2cb))[a2_0x24e1b0(0x2a0)](async(_0x51bf32,_0xd90443)=>{const _0x515e19=a2_0x24e1b0,_0x121827=new WorkflowDeleteCommand(),_0x400e67=program[_0x515e19(0x201)](),_0x2bb76b=await createTDXInstance(_0x400e67),_0x39535b=await _0x121827['run']({'options':{..._0x400e67,..._0xd90443},'args':[_0x51bf32],'tdx':_0x2bb76b});gracefulExit(_0x39535b);}),workflowCmd[a2_0x24e1b0(0x4c7)]('use\x20[project]')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x2df))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x322),'Clear\x20workflow\x20project\x20context')[a2_0x24e1b0(0x2a0)](async(_0x462b6e,_0x4d62f1)=>{const _0x205e06=a2_0x24e1b0,_0x137c08=new WorkflowUseCommand(),_0x2263f9=program[_0x205e06(0x201)](),_0x57dd71=await createTDXInstance(_0x2263f9),_0x57b363=await _0x137c08['run']({'options':{..._0x2263f9,..._0x4d62f1},'args':_0x462b6e?[_0x462b6e]:[],'tdx':_0x57dd71});gracefulExit(_0x57b363);});const wfSecretsCmd=workflowCmd[a2_0x24e1b0(0x4c7)]('secrets')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x1f9));wfSecretsCmd['command'](a2_0x24e1b0(0x216))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x376))['action'](async(_0x45710a,_0x1f443a)=>{const _0x4fb989=a2_0x24e1b0,_0x1e174c=new WorkflowSecretsListCommand(),_0x34365f=program[_0x4fb989(0x201)](),_0x5e8f2b=await createTDXInstance(_0x34365f),_0x57a37f=await _0x1e174c['run']({'options':{..._0x34365f,..._0x1f443a},'args':_0x45710a?[_0x45710a]:[],'tdx':_0x5e8f2b});gracefulExit(_0x57a37f);}),wfSecretsCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x2b2))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x24d))[a2_0x24e1b0(0x2a0)](async(_0x52fdc0,_0x5a9271)=>{const _0x446e9f=a2_0x24e1b0,_0x559e48=new WorkflowSecretsSetCommand(),_0x35cb33=program[_0x446e9f(0x201)](),_0x5ec87b=await createTDXInstance(_0x35cb33),_0xc64060=await _0x559e48[_0x446e9f(0x27e)]({'options':{..._0x35cb33,..._0x5a9271},'args':_0x52fdc0,'tdx':_0x5ec87b});gracefulExit(_0xc64060);}),wfSecretsCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x288))['description'](a2_0x24e1b0(0x430))[a2_0x24e1b0(0x2a0)](async(_0x39391a,_0x1d20a9)=>{const _0x30e7e2=a2_0x24e1b0,_0x52c210=new WorkflowSecretsDeleteCommand(),_0x1f2307=program['opts'](),_0x19af88=await createTDXInstance(_0x1f2307),_0x5a99df=await _0x52c210[_0x30e7e2(0x27e)]({'options':{..._0x1f2307,..._0x1d20a9},'args':_0x39391a,'tdx':_0x19af88});gracefulExit(_0x5a99df);});const wfScheduleCmd=workflowCmd[a2_0x24e1b0(0x4c7)]('schedule')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x2ee));wfScheduleCmd['command']('enable\x20<id>')['description'](a2_0x24e1b0(0x424))[a2_0x24e1b0(0x2a0)](async(_0x48db81,_0x1530b8)=>{const _0x37ea0b=a2_0x24e1b0,_0x12a2a1=new WorkflowScheduleEnableCommand(),_0x78416c=program[_0x37ea0b(0x201)](),_0x39a40d=await createTDXInstance(_0x78416c),_0x20266c=await _0x12a2a1[_0x37ea0b(0x27e)]({'options':{..._0x78416c,..._0x1530b8},'args':[_0x48db81],'tdx':_0x39a40d});gracefulExit(_0x20266c);}),wfScheduleCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x416))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x330))[a2_0x24e1b0(0x2a0)](async(_0x5ca24e,_0x1a6b02)=>{const _0x24a68c=a2_0x24e1b0,_0x2addae=new WorkflowScheduleDisableCommand(),_0x5b0bfc=program['opts'](),_0x3467ec=await createTDXInstance(_0x5b0bfc),_0x5ef238=await _0x2addae[_0x24a68c(0x27e)]({'options':{..._0x5b0bfc,..._0x1a6b02},'args':[_0x5ca24e],'tdx':_0x3467ec});gracefulExit(_0x5ef238);}),workflowCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x214))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x235))[a2_0x24e1b0(0x2a0)](async _0x3bb858=>{const _0x585402=a2_0x24e1b0,_0x442ffd=new WorkflowSchedulesCommand(),_0x32705b=program[_0x585402(0x201)](),_0x1c6fa9=await createTDXInstance(_0x32705b),_0xf0d442=await _0x442ffd[_0x585402(0x27e)]({'options':{..._0x32705b,..._0x3bb858},'args':[],'tdx':_0x1c6fa9});gracefulExit(_0xf0d442);});const jobCmd=program[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x266))[a2_0x24e1b0(0x31b)]('Job\x20management\x20commands'),jobListAction=async _0x30505d=>{const _0xaf5980=a2_0x24e1b0,_0x10ceb0=new JobListCommand(),_0x40fc6d=program['opts'](),_0x1b075b=await createTDXInstance(_0x40fc6d),_0xa4b543=await _0x10ceb0[_0xaf5980(0x27e)]({'options':{..._0x40fc6d,..._0x30505d},'args':[],'tdx':_0x1b075b});gracefulExit(_0xa4b543);};jobCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x3f7))[a2_0x24e1b0(0x31b)]('List\x20jobs')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3ea),a2_0x24e1b0(0x33e))[a2_0x24e1b0(0x2a0)](jobListAction),program[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x2f1),{'hidden':!![]})['description']('List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3ea),a2_0x24e1b0(0x33e))['action'](jobListAction),jobCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x374))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x4c4))[a2_0x24e1b0(0x2a0)](async(_0x3cf55f,_0x2a97f4)=>{const _0xf8ea3b=a2_0x24e1b0,_0x14c62c=new JobShowCommand(),_0x53836b=program[_0xf8ea3b(0x201)](),_0x14855f=await createTDXInstance(_0x53836b),_0x13fb04=await _0x14c62c['run']({'options':{..._0x53836b,..._0x2a97f4},'args':[_0x3cf55f],'tdx':_0x14855f});gracefulExit(_0x13fb04);}),jobCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x36e))['description'](a2_0x24e1b0(0x3a2))[a2_0x24e1b0(0x2a0)](async(_0x40bdcc,_0x444212)=>{const _0x260954=a2_0x24e1b0,_0x2bd306=new JobKillCommand(),_0x535593=program[_0x260954(0x201)](),_0x31f01f=await createTDXInstance(_0x535593),_0x2ff184=await _0x2bd306[_0x260954(0x27e)]({'options':{..._0x535593,..._0x444212},'args':[_0x40bdcc],'tdx':_0x31f01f});gracefulExit(_0x2ff184);}),jobCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x387))['description'](a2_0x24e1b0(0x27f))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x413),a2_0x24e1b0(0x488),a2_0x24e1b0(0x28f))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4c1),a2_0x24e1b0(0x3be))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x403),a2_0x24e1b0(0x304),a2_0x24e1b0(0x20b))['option'](a2_0x24e1b0(0x4fd),a2_0x24e1b0(0x42d))[a2_0x24e1b0(0x2a0)](async(_0x228e09,_0x20fe98)=>{const _0x56213f=a2_0x24e1b0,_0xcf0e62=new JobSubmitCommand(),_0xddb63e=program[_0x56213f(0x201)](),_0x4ea79e=await createTDXInstance(_0xddb63e),_0x5f31ed=await _0xcf0e62[_0x56213f(0x27e)]({'options':{..._0xddb63e,..._0x20fe98},'args':_0x228e09?[_0x228e09]:[],'tdx':_0x4ea79e});gracefulExit(_0x5f31ed);}),jobCmd[a2_0x24e1b0(0x4c7)]('result\x20<job-id>')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x366))[a2_0x24e1b0(0x2a0)](async(_0x1968f7,_0x4e2f71)=>{const _0x4756ea=a2_0x24e1b0,_0x586a49=new JobResultCommand(),_0x885b73=program[_0x4756ea(0x201)](),_0x446eb3=await createTDXInstance(_0x885b73),_0x3cd732=await _0x586a49[_0x4756ea(0x27e)]({'options':{..._0x885b73,..._0x4e2f71},'args':[_0x1968f7],'tdx':_0x446eb3});gracefulExit(_0x3cd732);});const scheduleCmd=jobCmd[a2_0x24e1b0(0x4c7)]('schedule')[a2_0x24e1b0(0x31b)]('Scheduled\x20query\x20management\x20commands');scheduleCmd['command'](a2_0x24e1b0(0x20a))['description'](a2_0x24e1b0(0x48d))[a2_0x24e1b0(0x2a0)](async(_0x5c4a9d,_0x252aac)=>{const _0x52b3f2=a2_0x24e1b0,_0x3384de=new ScheduleListCommand(),_0x33c452=program[_0x52b3f2(0x201)](),_0x1fb8ee=await createTDXInstance(_0x33c452),_0x44834e=await _0x3384de[_0x52b3f2(0x27e)]({'options':{..._0x33c452,..._0x252aac},'args':_0x5c4a9d?[_0x5c4a9d]:[],'tdx':_0x1fb8ee});gracefulExit(_0x44834e);}),scheduleCmd[a2_0x24e1b0(0x4c7)]('show\x20<name>')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x3cd))[a2_0x24e1b0(0x2a0)](async(_0x2fa59e,_0x35ba23)=>{const _0x34ed2d=a2_0x24e1b0,_0x11f5c6=new ScheduleShowCommand(),_0x3d5306=program[_0x34ed2d(0x201)](),_0x5dbc95=await createTDXInstance(_0x3d5306),_0x2900ab=await _0x11f5c6['run']({'options':{..._0x3d5306,..._0x35ba23},'args':[_0x2fa59e],'tdx':_0x5dbc95});gracefulExit(_0x2900ab);}),scheduleCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x1dc))['description'](a2_0x24e1b0(0x281))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x251),a2_0x24e1b0(0x380))[a2_0x24e1b0(0x4b7)]('--in\x20<db>',a2_0x24e1b0(0x215))[a2_0x24e1b0(0x35d)](a2_0x24e1b0(0x4c1),a2_0x24e1b0(0x3be))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x400),a2_0x24e1b0(0x4d7),a2_0x24e1b0(0x28f))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x2f2),a2_0x24e1b0(0x22b))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x349),a2_0x24e1b0(0x231))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x47b),a2_0x24e1b0(0x3a6))['option'](a2_0x24e1b0(0x1fa),a2_0x24e1b0(0x2a9))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x260),a2_0x24e1b0(0x282))['option']('--engine-version\x20<version>',a2_0x24e1b0(0x246))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4fc),a2_0x24e1b0(0x248))[a2_0x24e1b0(0x2a0)](async(_0x52dc7d,_0xc5afc3)=>{const _0x493896=a2_0x24e1b0,_0x57e8ce=new ScheduleCreateCommand(),_0x25b5cb=program[_0x493896(0x201)](),_0x5bf182=await createTDXInstance(_0x25b5cb);_0xc5afc3['in']&&(_0xc5afc3['database']=_0xc5afc3['in']);const _0x168324=await _0x57e8ce['run']({'options':{..._0x25b5cb,..._0xc5afc3},'args':[_0x52dc7d],'tdx':_0x5bf182});gracefulExit(_0x168324);}),scheduleCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4e9))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x2bc))['option'](a2_0x24e1b0(0x251),a2_0x24e1b0(0x419))['option'](a2_0x24e1b0(0x43c),a2_0x24e1b0(0x215))['option']('-f,\x20--file\x20<path>','Read\x20query\x20from\x20file')['option'](a2_0x24e1b0(0x400),a2_0x24e1b0(0x4d7))['option'](a2_0x24e1b0(0x2f2),a2_0x24e1b0(0x22b))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x349),a2_0x24e1b0(0x223))[a2_0x24e1b0(0x4b7)]('--delay\x20<seconds>',a2_0x24e1b0(0x3a6))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x1fa),'Job\x20priority\x20(-2\x20to\x202)')['option']('--retry-limit\x20<0~32>',a2_0x24e1b0(0x282))['option'](a2_0x24e1b0(0x448),a2_0x24e1b0(0x246))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4fc),a2_0x24e1b0(0x248))['action'](async(_0x2e983e,_0x289bdc)=>{const _0x2f2385=a2_0x24e1b0,_0x16ad6d=new ScheduleUpdateCommand(),_0x55ef62=program['opts'](),_0x44077c=await createTDXInstance(_0x55ef62);_0x289bdc['in']&&(_0x289bdc[_0x2f2385(0x3f8)]=_0x289bdc['in']);const _0x97f0db=await _0x16ad6d['run']({'options':{..._0x55ef62,..._0x289bdc},'args':[_0x2e983e],'tdx':_0x44077c});gracefulExit(_0x97f0db);}),scheduleCmd['command']('delete\x20<name>')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x394))[a2_0x24e1b0(0x2a0)](async(_0x1b18d8,_0x1e809c)=>{const _0x3c134c=a2_0x24e1b0,_0x3b2edb=new ScheduleDeleteCommand(),_0x51b02c=program[_0x3c134c(0x201)](),_0x48b22d=await createTDXInstance(_0x51b02c),_0xc01892=await _0x3b2edb['run']({'options':{..._0x51b02c,..._0x1e809c},'args':[_0x1b18d8],'tdx':_0x48b22d});gracefulExit(_0xc01892);}),scheduleCmd[a2_0x24e1b0(0x4c7)]('run\x20<name>')['description'](a2_0x24e1b0(0x2e1))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x42f),'Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x420),a2_0x24e1b0(0x4dc))[a2_0x24e1b0(0x2a0)](async(_0x37d33b,_0x5264e1)=>{const _0x241209=a2_0x24e1b0,_0x435155=new ScheduleRunCommand(),_0x261d81=program[_0x241209(0x201)](),_0x5f3366=await createTDXInstance(_0x261d81),_0x410710=await _0x435155[_0x241209(0x27e)]({'options':{..._0x261d81,..._0x5264e1},'args':[_0x37d33b],'tdx':_0x5f3366});gracefulExit(_0x410710);}),scheduleCmd['command']('history\x20<name>')[a2_0x24e1b0(0x31b)]('Show\x20schedule\x20execution\x20history')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x339),a2_0x24e1b0(0x302))['option'](a2_0x24e1b0(0x4e3),a2_0x24e1b0(0x404))['action'](async(_0x5d1d67,_0x1400e7)=>{const _0x4f7477=a2_0x24e1b0,_0x337729=new ScheduleHistoryCommand(),_0x5bbdf5=program[_0x4f7477(0x201)](),_0x2b6fbe=await createTDXInstance(_0x5bbdf5),_0xc0caf3=await _0x337729['run']({'options':{..._0x5bbdf5,..._0x1400e7},'args':[_0x5d1d67],'tdx':_0x2b6fbe});gracefulExit(_0xc0caf3);});const llmCmd=program[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4c8))[a2_0x24e1b0(0x31b)]('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd['command']('use\x20<project-name>')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x289))[a2_0x24e1b0(0x2a0)](async(_0x2866ae,_0x40a8c3)=>{const _0x1fe958=a2_0x24e1b0,_0x40b5a8=new LLMUseCommand(),_0x53f2f3=program[_0x1fe958(0x201)](),_0x555e2e=await createTDXInstance(_0x53f2f3),_0x210643=await _0x40b5a8[_0x1fe958(0x27e)]({'options':{..._0x53f2f3,..._0x40a8c3},'args':[_0x2866ae],'tdx':_0x555e2e});gracefulExit(_0x210643);}),llmCmd[a2_0x24e1b0(0x4c7)]('models')['description'](a2_0x24e1b0(0x37a))[a2_0x24e1b0(0x2a0)](async _0x495005=>{const _0x82e46c=a2_0x24e1b0,_0x52f22c=new LLMModelsCommand(),_0x2f58f6=program[_0x82e46c(0x201)](),_0x1f0d49=await createTDXInstance(_0x2f58f6),_0x163673=await _0x52f22c[_0x82e46c(0x27e)]({'options':{..._0x2f58f6,..._0x495005},'args':[],'tdx':_0x1f0d49});gracefulExit(_0x163673);});const projectCmd=llmCmd[a2_0x24e1b0(0x4c7)]('project')[a2_0x24e1b0(0x31b)]('LLM\x20project\x20management'),llmProjectListAction=async(_0x21dec0,_0x178e81)=>{const _0x26a242=a2_0x24e1b0,_0x225aa5=new LLMProjectsCommand(),_0x327009=program['opts'](),_0x5d4622=await createTDXInstance(_0x327009),_0x33a8a5=await _0x225aa5[_0x26a242(0x27e)]({'options':{..._0x327009,..._0x178e81},'args':_0x21dec0?[_0x21dec0]:[],'tdx':_0x5d4622});gracefulExit(_0x33a8a5);};projectCmd[a2_0x24e1b0(0x4c7)]('list\x20[pattern]')[a2_0x24e1b0(0x31b)]('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x24e1b0(0x2a0)](llmProjectListAction),llmCmd[a2_0x24e1b0(0x4c7)]('projects\x20[pattern]')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x1f5))[a2_0x24e1b0(0x2a0)](llmProjectListAction),projectCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x1dc))[a2_0x24e1b0(0x31b)]('Create\x20a\x20new\x20LLM\x20project')['option'](a2_0x24e1b0(0x2f5),'Project\x20description')[a2_0x24e1b0(0x2a0)](async(_0x3e40f5,_0x427aeb)=>{const _0x221656=new LLMProjectCreateCommand(),_0x236c5c=program['opts'](),_0x4a35f3=await createTDXInstance(_0x236c5c),_0x55f305=await _0x221656['run']({'options':{..._0x236c5c,..._0x427aeb},'args':[_0x3e40f5],'tdx':_0x4a35f3});gracefulExit(_0x55f305);}),projectCmd['command']('delete\x20<name>')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x1e6))[a2_0x24e1b0(0x2a0)](async(_0x163ae6,_0x578c4c)=>{const _0x1a99d9=a2_0x24e1b0,_0x288c9a=new LLMProjectDeleteCommand(),_0x134f52=program[_0x1a99d9(0x201)](),_0x173b10=await createTDXInstance(_0x134f52),_0x12a200=await _0x288c9a[_0x1a99d9(0x27e)]({'options':{..._0x134f52,..._0x578c4c},'args':[_0x163ae6],'tdx':_0x173b10});gracefulExit(_0x12a200);}),projectCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x291))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x307))['option']('-o,\x20--output\x20<folder>',a2_0x24e1b0(0x2cd))[a2_0x24e1b0(0x4b7)]('--dry-run',a2_0x24e1b0(0x1fe))[a2_0x24e1b0(0x2a0)](async(_0x3c6ea6,_0x22d559)=>{const _0x178a8c=a2_0x24e1b0,_0x3df59b=new LLMProjectBackupCommand(),_0x465ef9=program[_0x178a8c(0x201)](),_0x141b10=await createTDXInstance(_0x465ef9),_0x52bb=await _0x3df59b[_0x178a8c(0x27e)]({'options':{..._0x465ef9,..._0x22d559},'args':[_0x3c6ea6],'tdx':_0x141b10});gracefulExit(_0x52bb);}),projectCmd[a2_0x24e1b0(0x4c7)]('restore\x20<folder>')[a2_0x24e1b0(0x31b)]('[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)')[a2_0x24e1b0(0x4b7)]('--name\x20<new-name>',a2_0x24e1b0(0x4b9))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4fe),a2_0x24e1b0(0x280))[a2_0x24e1b0(0x2a0)](async(_0x1be8e3,_0x355591)=>{const _0x16dabc=a2_0x24e1b0,_0x1a98be=new LLMProjectRestoreCommand(),_0x54112f=program[_0x16dabc(0x201)](),_0x48e996=await createTDXInstance(_0x54112f),_0x3c5707=await _0x1a98be[_0x16dabc(0x27e)]({'options':{..._0x54112f,..._0x355591},'args':[_0x1be8e3],'tdx':_0x48e996});gracefulExit(_0x3c5707);});const llmAgentListAction=async(_0xfd48e9,_0x1e24f5)=>{const _0x4a3e8f=a2_0x24e1b0,_0x5f45a0=new LLMAgentsCommand(),_0xecdb3c=program['opts'](),_0x244427=await createTDXInstance(_0xecdb3c),_0x4bada8=await _0x5f45a0[_0x4a3e8f(0x27e)]({'options':{..._0xecdb3c,..._0x1e24f5},'args':_0xfd48e9?[_0xfd48e9]:[],'tdx':_0x244427});gracefulExit(_0x4bada8);};llmCmd['command'](a2_0x24e1b0(0x292))['description'](a2_0x24e1b0(0x2c8))[a2_0x24e1b0(0x2a0)](llmAgentListAction),program[a2_0x24e1b0(0x4c7)]('agents\x20[pattern]')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x2c8))[a2_0x24e1b0(0x2a0)](llmAgentListAction),llmCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x3d8))['description'](a2_0x24e1b0(0x467))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x438),a2_0x24e1b0(0x4a7))[a2_0x24e1b0(0x2a0)](async(_0x42b1f4,_0x59f624)=>{const _0x2a5019=a2_0x24e1b0,_0x32776c=new LLMHistoryCommand(),_0x3af969=program[_0x2a5019(0x201)](),_0x457948=await createTDXInstance(_0x3af969),_0xd3d9c6=await _0x32776c[_0x2a5019(0x27e)]({'options':{..._0x3af969,..._0x59f624},'args':_0x42b1f4?[_0x42b1f4]:[],'tdx':_0x457948});gracefulExit(_0xd3d9c6);});isExperimentalAvailable()&&llmCmd['command'](a2_0x24e1b0(0x213))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x384))[a2_0x24e1b0(0x2a0)](async(_0xb1d378,_0x3b38e8)=>{const _0x4933c7=a2_0x24e1b0,_0x461688=new LLMLogCommand(),_0x2137c9=program['opts'](),_0x1ab4ab=await createTDXInstance(_0x2137c9),_0x2e976e=await _0x461688[_0x4933c7(0x27e)]({'options':{..._0x2137c9,..._0x3b38e8},'args':[_0xb1d378],'tdx':_0x1ab4ab});gracefulExit(_0x2e976e);});program['command'](a2_0x24e1b0(0x2e9))[a2_0x24e1b0(0x3eb)]('[options]\x20--\x20[claude-code-args...]')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x346))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4a5),a2_0x24e1b0(0x39b))[a2_0x24e1b0(0x4b7)]('-r,\x20--resume','Resume\x20a\x20conversation\x20(shows\x20selector)')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x32c),a2_0x24e1b0(0x390))[a2_0x24e1b0(0x3e6)]()[a2_0x24e1b0(0x2bb)](!![])[a2_0x24e1b0(0x4c9)](a2_0x24e1b0(0x3b3),'\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_0x24e1b0(0x2a0)](async(_0x8fd8e,_0x5aa4be)=>{const _0x384aaf=a2_0x24e1b0,_0x5af16c=program[_0x384aaf(0x201)](),_0x1719d2=Array[_0x384aaf(0x268)](_0x8fd8e)?_0x8fd8e:[];if(_0x1719d2[0x0]==='statusline'){const _0x419dee=new ClaudeStatuslineCommand(),_0x3e577b=await _0x419dee[_0x384aaf(0x27e)]({'options':{..._0x5af16c,..._0x5aa4be},'args':_0x1719d2['slice'](0x1),'tdx':null});gracefulExit(_0x3e577b);}if(_0x1719d2[0x0]===_0x384aaf(0x3eb)){const _0x397988=new ClaudeUsageCommand(),_0x2ebdec=await _0x397988['run']({'options':{..._0x5af16c,..._0x5aa4be},'args':_0x1719d2[_0x384aaf(0x220)](0x1),'tdx':null});gracefulExit(_0x2ebdec);}const _0x25e793=new ClaudeCommand(),_0x575f4c=await createTDXInstance(_0x5af16c),_0x2a8657=await _0x25e793[_0x384aaf(0x27e)]({'options':{..._0x5af16c,..._0x5aa4be},'args':_0x1719d2,'tdx':_0x575f4c});gracefulExit(_0x2a8657);}),program['command'](a2_0x24e1b0(0x3da))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x43f))['option'](a2_0x24e1b0(0x322),a2_0x24e1b0(0x2a7))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3d5),a2_0x24e1b0(0x478))[a2_0x24e1b0(0x2a0)](async(_0x6ebff0,_0xd0f658,_0xcaa4e7)=>{const _0x303f67=a2_0x24e1b0,_0xe82260=new UseCommand(),_0xbe0622=program[_0x303f67(0x201)](),_0x220fc1=[];if(_0x6ebff0)_0x220fc1['push'](_0x6ebff0);if(_0xd0f658)_0x220fc1[_0x303f67(0x489)](_0xd0f658);const _0x2c576e=_0x6ebff0===_0x303f67(0x300),_0x24aad9=_0x2c576e?await createTDXInstance(_0xbe0622):null,_0x1311f1=await _0xe82260[_0x303f67(0x27e)]({'options':{..._0xbe0622,..._0xcaa4e7},'args':_0x220fc1,'tdx':_0x24aad9});gracefulExit(_0x1311f1);}),program[a2_0x24e1b0(0x4c7)]('status')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x224))[a2_0x24e1b0(0x2a0)](async _0x2fe57e=>{const _0xc6aaed=a2_0x24e1b0,_0x2145cf=new StatusCommand(),_0x25f929=program[_0xc6aaed(0x201)](),_0x36d92b=await createTDXInstance(_0x25f929),_0x35c2e8=await _0x2145cf[_0xc6aaed(0x27e)]({'options':{..._0x25f929,..._0x2fe57e},'args':[],'tdx':_0x36d92b});gracefulExit(_0x35c2e8);}),program[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x44e))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x3c0))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4fe),'Check\x20for\x20updates\x20without\x20installing')['option'](a2_0x24e1b0(0x371),a2_0x24e1b0(0x46f))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x296),a2_0x24e1b0(0x426))[a2_0x24e1b0(0x2a0)](async(_0x2fa4d3,_0x71216b)=>{const _0x38f0fa=a2_0x24e1b0,_0x153185=new UpgradeCommand(),_0x356972=program[_0x38f0fa(0x201)](),_0x281a8b=await _0x153185['run']({'options':{..._0x356972,..._0x71216b},'args':_0x2fa4d3?[_0x2fa4d3]:[],'tdx':null});gracefulExit(_0x281a8b);}),program[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x318))[a2_0x24e1b0(0x31b)]('Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3d5),'Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)')['action'](async(_0x512972,_0x10a702)=>{const _0x1e1ffb=a2_0x24e1b0,_0xb1379b=new UnsetCommand(),_0x400f48=program[_0x1e1ffb(0x201)](),_0x53e6ab=await _0xb1379b[_0x1e1ffb(0x27e)]({'options':{..._0x400f48,..._0x10a702},'args':[_0x512972],'tdx':null});gracefulExit(_0x53e6ab);}),program['command']('chats')['description'](a2_0x24e1b0(0x365))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x438),a2_0x24e1b0(0x414))['action'](async _0x58f249=>{const _0x40023e=new ChatsCommand(),_0x133cd6=program['opts'](),_0x483d87=await createTDXInstance(_0x133cd6),_0x39b6b3=await _0x40023e['run']({'options':{..._0x133cd6,..._0x58f249},'args':[],'tdx':_0x483d87});gracefulExit(_0x39b6b3);});const authCmd=program[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x323))['description'](a2_0x24e1b0(0x2d9));async function runAuthStatusCommand(_0x10838d){const _0x1fa10f=a2_0x24e1b0,_0x36b75d=new AuthStatusCommand(),_0x46cec3=program[_0x1fa10f(0x201)](),_0x4114ea=await createTDXInstance(_0x46cec3),_0x4da03c=await _0x36b75d[_0x1fa10f(0x27e)]({'options':{..._0x46cec3,..._0x10838d},'args':[],'tdx':_0x4114ea});gracefulExit(_0x4da03c);}authCmd[a2_0x24e1b0(0x2a0)](runAuthStatusCommand),authCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4e2))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x1da))[a2_0x24e1b0(0x2a0)](runAuthStatusCommand);async function authSetupAction(_0x5f1ac6){const _0x1c55c3=new AuthSetupCommand(),_0x2294f4=program['opts'](),_0x1322b1=await createTDXInstance(_0x2294f4),_0x7ec677=await _0x1c55c3['run']({'options':{..._0x2294f4,..._0x5f1ac6},'args':[],'tdx':_0x1322b1});gracefulExit(_0x7ec677);}authCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4f2))['description'](a2_0x24e1b0(0x1fb))['option'](a2_0x24e1b0(0x237),a2_0x24e1b0(0x2a8))[a2_0x24e1b0(0x4c9)]('after','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20ap01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a')[a2_0x24e1b0(0x2a0)](authSetupAction),authCmd['command'](a2_0x24e1b0(0x3d6),{'hidden':!![]})[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x237),a2_0x24e1b0(0x2a8))['action'](authSetupAction),authCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x2ed))[a2_0x24e1b0(0x31b)]('Remove\x20API\x20key\x20from\x20system\x20keychain')[a2_0x24e1b0(0x4c9)]('after',a2_0x24e1b0(0x3df))[a2_0x24e1b0(0x2a0)](async _0x5941f1=>{const _0x23f603=a2_0x24e1b0,_0x16343e=new AuthClearCommand(),_0x380994=program[_0x23f603(0x201)](),_0x2f07e2=await _0x16343e[_0x23f603(0x27e)]({'options':{..._0x380994,..._0x5941f1},'args':[],'tdx':null});gracefulExit(_0x2f07e2);});const userCmd=program[a2_0x24e1b0(0x4c7)]('user')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x37d)),userListAction=async _0x44004a=>{const _0x33fbc0=new UserListCommand(),_0x3844de=program['opts'](),_0x36c1af=await createTDXInstance(_0x3844de),_0x19459d=await _0x33fbc0['run']({'options':{..._0x3844de,..._0x44004a},'args':[],'tdx':_0x36c1af});gracefulExit(_0x19459d);};userCmd[a2_0x24e1b0(0x2a0)](async _0x13ba2e=>{const _0x54708b=a2_0x24e1b0,_0x5238a5=new UserCommand(),_0x47f711=program[_0x54708b(0x201)](),_0x55e3e4=await createTDXInstance(_0x47f711),_0x458285=await _0x5238a5['run']({'options':{..._0x47f711,..._0x13ba2e},'args':[],'tdx':_0x55e3e4});gracefulExit(_0x458285);}),userCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x3f7))['description'](a2_0x24e1b0(0x409))[a2_0x24e1b0(0x2a0)](userListAction),program['command']('users')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x2c9))[a2_0x24e1b0(0x2a0)](userListAction);const policyCmd=program[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4ec))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x350));policyCmd[a2_0x24e1b0(0x2a0)](async _0x8e34a0=>{const _0x2c3545=a2_0x24e1b0,_0x3ae2e8=new PolicyCommand(),_0x265085=program[_0x2c3545(0x201)](),_0x4a78de=await createTDXInstance(_0x265085),_0x2df673=await _0x3ae2e8[_0x2c3545(0x27e)]({'options':{..._0x265085,..._0x8e34a0},'args':[],'tdx':_0x4a78de});gracefulExit(_0x2df673);}),policyCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x3f7))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x4d1))[a2_0x24e1b0(0x2a0)](async _0x4abf0a=>{const _0x334294=a2_0x24e1b0,_0x386646=new PolicyListCommand(),_0xfa1448=program[_0x334294(0x201)](),_0x245e1e=await createTDXInstance(_0xfa1448),_0xbde7da=await _0x386646[_0x334294(0x27e)]({'options':{..._0xfa1448,..._0x4abf0a},'args':[],'tdx':_0x245e1e});gracefulExit(_0xbde7da);}),policyCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4ac))['description']('Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)')[a2_0x24e1b0(0x2a0)](async(_0x30e0c3,_0x180751)=>{const _0x262f23=a2_0x24e1b0,_0x57a3ca=new PolicyShowCommand(),_0x3251f2=program[_0x262f23(0x201)](),_0x20afef=await createTDXInstance(_0x3251f2),_0x49622e=await _0x57a3ca[_0x262f23(0x27e)]({'options':{..._0x3251f2,..._0x180751},'args':[_0x30e0c3],'tdx':_0x20afef});gracefulExit(_0x49622e);}),program[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x397))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x4c0))[a2_0x24e1b0(0x2a0)](async _0x10ed55=>{const _0x28ce8a=a2_0x24e1b0,_0x4a3a8a=new ProfilesCommand(),_0x211719=program[_0x28ce8a(0x201)](),_0x18512a=await _0x4a3a8a[_0x28ce8a(0x27e)]({'options':{..._0x211719,..._0x10ed55},'args':[],'tdx':null});gracefulExit(_0x18512a);});const profileCmd=program['command'](a2_0x24e1b0(0x278))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x41c));profileCmd[a2_0x24e1b0(0x2a0)](()=>{const _0x4b3712=a2_0x24e1b0;profileCmd[_0x4b3712(0x2aa)]();});const profileListAction=async _0x270eb5=>{const _0x48359a=a2_0x24e1b0,_0x5bf97f=new ProfilesCommand(),_0x3edf59=program['opts'](),_0x56561d=await _0x5bf97f[_0x48359a(0x27e)]({'options':{..._0x3edf59,..._0x270eb5},'args':[],'tdx':null});gracefulExit(_0x56561d);};profileCmd['command']('list')[a2_0x24e1b0(0x31b)]('List\x20all\x20available\x20profiles')[a2_0x24e1b0(0x2a0)](profileListAction),profileCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x2ca))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x1ea))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x237),a2_0x24e1b0(0x2a8))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3e1),'Overwrite\x20existing\x20profile')['addHelpText'](a2_0x24e1b0(0x3b3),a2_0x24e1b0(0x2d7))[a2_0x24e1b0(0x2a0)](async(_0x31ed27,_0x44fba5)=>{const _0x35215c=a2_0x24e1b0,_0x2080ab=new ProfileCreateCommand(),_0xebc27b=program[_0x35215c(0x201)](),_0x5c5dec=await _0x2080ab[_0x35215c(0x27e)]({'options':{..._0xebc27b,..._0x44fba5},'args':_0x31ed27?[_0x31ed27]:[],'tdx':null});gracefulExit(_0x5c5dec);});async function profileDeleteAction(_0x544417,_0x272bb6){const _0x2f574d=a2_0x24e1b0,_0x5e5683=new ProfileDeleteCommand(),_0x55bcb9=program[_0x2f574d(0x201)](),_0xd8a6db=await _0x5e5683['run']({'options':{..._0x55bcb9,..._0x272bb6},'args':[_0x544417],'tdx':null});gracefulExit(_0xd8a6db);}profileCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4a4))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x3d7))[a2_0x24e1b0(0x4c9)]('after',a2_0x24e1b0(0x20d))[a2_0x24e1b0(0x2a0)](profileDeleteAction),profileCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x305),{'hidden':!![]})[a2_0x24e1b0(0x2a0)](profileDeleteAction),profileCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x439))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x49f))['addHelpText'](a2_0x24e1b0(0x3b3),a2_0x24e1b0(0x1ee))['action'](async(_0xb70c8,_0x196d31)=>{const _0x590be5=a2_0x24e1b0,_0x27bf10=new ProfileSetCommand(),_0x5ee421=program['opts'](),_0xfac853=await _0x27bf10[_0x590be5(0x27e)]({'options':{..._0x5ee421,..._0x196d31},'args':[_0xb70c8],'tdx':null});gracefulExit(_0xfac853);}),profileCmd['command'](a2_0x24e1b0(0x39d))[a2_0x24e1b0(0x31b)]('Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3d5),a2_0x24e1b0(0x478))[a2_0x24e1b0(0x4c9)](a2_0x24e1b0(0x3b3),a2_0x24e1b0(0x1f1))[a2_0x24e1b0(0x2a0)](async(_0x32a430,_0x5bdd88)=>{const _0x475724=a2_0x24e1b0,_0x525cdc=new ProfileUseCommand(),_0x4e976d=program[_0x475724(0x201)](),_0x47648a=await _0x525cdc['run']({'options':{..._0x4e976d,..._0x5bdd88},'args':[_0x32a430],'tdx':null});gracefulExit(_0x47648a);});const engageCmd=program[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x457))[a2_0x24e1b0(0x31b)]('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x5dd5d1=>{return async(_0x208e6e,_0x1ca979)=>{const _0x2b1292=a2_0x9648,_0x2dca0c=new _0x5dd5d1(),_0x378680=program[_0x2b1292(0x201)](),_0x2d7cd8=await createTDXInstance(_0x378680),_0x307df4=await _0x2dca0c['run']({'options':{..._0x378680,..._0x1ca979},'args':[_0x208e6e],'tdx':_0x2d7cd8});gracefulExit(_0x307df4);};},createEngageNoArgAction=_0x27047e=>{return async _0xed6f30=>{const _0x5afdf3=a2_0x9648,_0x3e4b0c=new _0x27047e(),_0x1b02b3=program['opts'](),_0x40add0=await createTDXInstance(_0x1b02b3),_0x6cbcb=await _0x3e4b0c[_0x5afdf3(0x27e)]({'options':{..._0x1b02b3,..._0xed6f30},'args':[],'tdx':_0x40add0});gracefulExit(_0x6cbcb);};},createEngageListAction=_0x193577=>{return async(_0x403ac6,_0x2c9ff4)=>{const _0x22a90e=new _0x193577(),_0x2af6d4=program['opts'](),_0x40d38d=await createTDXInstance(_0x2af6d4),_0x3f7173=await _0x22a90e['run']({'options':{..._0x2af6d4,..._0x2c9ff4},'args':_0x403ac6?[_0x403ac6]:[],'tdx':_0x40d38d});gracefulExit(_0x3f7173);};},campaignCmd=engageCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x47d))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x22f));campaignCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x20a))['description'](a2_0x24e1b0(0x21f))[a2_0x24e1b0(0x4b7)]('--type\x20<type>',a2_0x24e1b0(0x3d0))['option']('--status\x20<status>',a2_0x24e1b0(0x333))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x2c7))[a2_0x24e1b0(0x2a0)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x479))['description'](a2_0x24e1b0(0x436))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x400),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3ea),a2_0x24e1b0(0x333))['option'](a2_0x24e1b0(0x309),a2_0x24e1b0(0x2c7))['action'](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4a3))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x2dc))[a2_0x24e1b0(0x4b7)]('--workspace\x20<name>',a2_0x24e1b0(0x2c7))[a2_0x24e1b0(0x4b7)]('--full',a2_0x24e1b0(0x3a0))[a2_0x24e1b0(0x2a0)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4fa))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x48a))['requiredOption'](a2_0x24e1b0(0x473),a2_0x24e1b0(0x3c6))['requiredOption'](a2_0x24e1b0(0x400),'Campaign\x20type\x20(email\x20or\x20push)')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x309),'Workspace\x20name\x20(required)')['option']('--description\x20<desc>',a2_0x24e1b0(0x42e))[a2_0x24e1b0(0x4b7)]('--segment\x20<path>',a2_0x24e1b0(0x393))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x48c),a2_0x24e1b0(0x2ce))['option'](a2_0x24e1b0(0x470),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4cc),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x349),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x24e1b0(0x2a0)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd['command'](a2_0x24e1b0(0x1ef))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x423))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x2c7))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x473),a2_0x24e1b0(0x1e0))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x256),a2_0x24e1b0(0x42e))['option']('--segment\x20<path>',a2_0x24e1b0(0x393))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x48c),a2_0x24e1b0(0x2ce))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x470),a2_0x24e1b0(0x472))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4cc),a2_0x24e1b0(0x319))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x349),a2_0x24e1b0(0x3e3))[a2_0x24e1b0(0x2a0)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command'](a2_0x24e1b0(0x320))[a2_0x24e1b0(0x31b)]('Delete\x20a\x20campaign')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x2c7))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x494),a2_0x24e1b0(0x461))[a2_0x24e1b0(0x2a0)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4e5))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x2bf))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x2c7))['action'](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x316))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x480))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x2c7))[a2_0x24e1b0(0x2a0)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x24e1b0(0x4c7)]('resume\x20<name-or-id>')['description'](a2_0x24e1b0(0x3b1))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x2c7))[a2_0x24e1b0(0x2a0)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x3cf))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x228))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x2c7))[a2_0x24e1b0(0x2a0)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x2cc))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x2fc))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x2c7))[a2_0x24e1b0(0x4b7)]('--name\x20<name>',a2_0x24e1b0(0x242))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x400),a2_0x24e1b0(0x3d0))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4fe),a2_0x24e1b0(0x3e9))[a2_0x24e1b0(0x2a0)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4ad))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x363))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x2c7))[a2_0x24e1b0(0x4b7)]('--dry-run',a2_0x24e1b0(0x492))[a2_0x24e1b0(0x2a0)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4ca))[a2_0x24e1b0(0x31b)]('Validate\x20campaign\x20YAML\x20files\x20locally')['option']('--verbose','Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x24e1b0(0x2a0)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x49e))[a2_0x24e1b0(0x31b)]('Always-on\x20campaign\x20management');alwaysOnCampaignCmd['command']('list\x20[pattern]')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x43b))['option'](a2_0x24e1b0(0x400),a2_0x24e1b0(0x3d0))['option']('--status\x20<status>',a2_0x24e1b0(0x408))[a2_0x24e1b0(0x35d)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x37b))[a2_0x24e1b0(0x2a0)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x2ac))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x437))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x400),a2_0x24e1b0(0x3d0))['option'](a2_0x24e1b0(0x3ea),a2_0x24e1b0(0x408))['requiredOption'](a2_0x24e1b0(0x309),a2_0x24e1b0(0x37b))['action'](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4a3))[a2_0x24e1b0(0x31b)]('Show\x20always-on\x20campaign\x20details')[a2_0x24e1b0(0x35d)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x37b))['option'](a2_0x24e1b0(0x283),a2_0x24e1b0(0x3a0))[a2_0x24e1b0(0x2a0)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd['command'](a2_0x24e1b0(0x4fa))[a2_0x24e1b0(0x31b)]('Create\x20a\x20new\x20always-on\x20campaign')[a2_0x24e1b0(0x35d)](a2_0x24e1b0(0x473),'Campaign\x20name')[a2_0x24e1b0(0x35d)]('--type\x20<type>',a2_0x24e1b0(0x48e))[a2_0x24e1b0(0x35d)]('--workspace\x20<name>',a2_0x24e1b0(0x37b))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x256),a2_0x24e1b0(0x42e))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3c7),a2_0x24e1b0(0x385))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4bd),'Enable\x20UTM\x20tracking')['action'](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x24e1b0(0x4c7)]('update\x20<name-or-id>')['description'](a2_0x24e1b0(0x446))[a2_0x24e1b0(0x35d)](a2_0x24e1b0(0x309),'Workspace\x20name\x20(required)')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x473),'New\x20campaign\x20name')['option'](a2_0x24e1b0(0x256),a2_0x24e1b0(0x42e))['option']('--segment\x20<path>',a2_0x24e1b0(0x385))['option'](a2_0x24e1b0(0x4bd),a2_0x24e1b0(0x2ef))['action'](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x320))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x331))[a2_0x24e1b0(0x35d)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x37b))['option']('--yes',a2_0x24e1b0(0x461))[a2_0x24e1b0(0x2a0)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd['command'](a2_0x24e1b0(0x4e5))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x41d))[a2_0x24e1b0(0x35d)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x37b))['action'](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x316))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x2a4))['requiredOption']('--workspace\x20<name>',a2_0x24e1b0(0x37b))[a2_0x24e1b0(0x2a0)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x1f7))['description'](a2_0x24e1b0(0x4a1))[a2_0x24e1b0(0x35d)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x37b))[a2_0x24e1b0(0x2a0)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd['command']('finish\x20<name-or-id>')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x3b6))[a2_0x24e1b0(0x35d)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x37b))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x494),a2_0x24e1b0(0x461))[a2_0x24e1b0(0x2a0)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x3cf))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x3bd))[a2_0x24e1b0(0x35d)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x37b))[a2_0x24e1b0(0x35d)]('--name\x20<name>',a2_0x24e1b0(0x44a))['action'](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x428))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x377));templateCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x20a))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x1f0))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x2c7))[a2_0x24e1b0(0x2a0)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x33b))['description']('List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x2c7))['action'](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4a3))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x3fe))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x2c7))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x283),a2_0x24e1b0(0x3a0))['action'](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x24e1b0(0x4c7)]('create')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x290))[a2_0x24e1b0(0x35d)](a2_0x24e1b0(0x473),a2_0x24e1b0(0x332))['requiredOption'](a2_0x24e1b0(0x34d),a2_0x24e1b0(0x501))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x357),a2_0x24e1b0(0x338))['option'](a2_0x24e1b0(0x3fa),a2_0x24e1b0(0x4d9))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x37b))['option']('--plaintext\x20<text>',a2_0x24e1b0(0x2eb))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4d6),a2_0x24e1b0(0x4cd),_0x193abf=>{const _0x4e8c93=a2_0x24e1b0;if(![_0x4e8c93(0x40c),'grapesjs'][_0x4e8c93(0x4f4)](_0x193abf))throw new SDKError(ErrorCode[_0x4e8c93(0x274)],'Invalid\x20editor\x20type:\x20'+_0x193abf+_0x4e8c93(0x255));return _0x193abf;})[a2_0x24e1b0(0x2a0)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x1ef))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x468))['option'](a2_0x24e1b0(0x309),a2_0x24e1b0(0x2c7))['option'](a2_0x24e1b0(0x473),'New\x20template\x20name')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x34d),a2_0x24e1b0(0x501))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x357),'HTML\x20template\x20content')[a2_0x24e1b0(0x4b7)]('--html-file\x20<path>','Read\x20HTML\x20template\x20from\x20file')['option'](a2_0x24e1b0(0x34e),a2_0x24e1b0(0x2eb))['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x20c))['description'](a2_0x24e1b0(0x2f8))['option'](a2_0x24e1b0(0x309),a2_0x24e1b0(0x2c7))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x473),'Pull\x20specific\x20template\x20by\x20name')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x42a),'Skip\x20confirmation\x20prompt')[a2_0x24e1b0(0x4b7)]('--dry-run',a2_0x24e1b0(0x3e9))['action'](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4ad))['description'](a2_0x24e1b0(0x399))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x2c7))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x42a),'Skip\x20confirmation\x20prompt')['option'](a2_0x24e1b0(0x4fe),a2_0x24e1b0(0x492))['action'](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x24e1b0(0x4c7)]('validate\x20[target]')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x31e))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x229),a2_0x24e1b0(0x265))[a2_0x24e1b0(0x2a0)](createEngageAction(EngageTemplateValidateCommand)),templateCmd['command'](a2_0x24e1b0(0x320))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x245))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x309),a2_0x24e1b0(0x2c7))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x494),'Skip\x20confirmation\x20prompt')[a2_0x24e1b0(0x2a0)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x244))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x47c));workspaceCmd['command']('list\x20[pattern]')[a2_0x24e1b0(0x31b)]('List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x24e1b0(0x2a0)](createEngageListAction(EngageWorkspacesCommand)),engageCmd['command'](a2_0x24e1b0(0x1f6))[a2_0x24e1b0(0x31b)]('List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)')['action'](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x24e1b0(0x4c7)]('show\x20<name-or-id>')['description'](a2_0x24e1b0(0x2c6))[a2_0x24e1b0(0x4b7)]('--full',a2_0x24e1b0(0x3a0))['action'](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd['command'](a2_0x24e1b0(0x4fa))['description'](a2_0x24e1b0(0x2b8))[a2_0x24e1b0(0x35d)](a2_0x24e1b0(0x473),a2_0x24e1b0(0x2c7))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x256),a2_0x24e1b0(0x42c))[a2_0x24e1b0(0x2a0)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd['command']('update\x20<name-or-id>')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x238))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x473),'New\x20workspace\x20name')[a2_0x24e1b0(0x4b7)]('--description\x20<desc>',a2_0x24e1b0(0x42c))['action'](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x320))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x22e))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x494),a2_0x24e1b0(0x461))['action'](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x39d))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x27d))[a2_0x24e1b0(0x2a0)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program['command'](a2_0x24e1b0(0x481))['description']('Delivery\x20operations\x20(email\x20senders)');deliveryCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x23e))[a2_0x24e1b0(0x31b)]('List\x20email\x20senders')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x309),'Workspace\x20name')['action'](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x24e1b0(0x4c7)]('connection')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x34a)),connectionListAction=async _0xd3ca20=>{const _0x3b79f9=a2_0x24e1b0,_0x207d72=new ConnectionListCommand(),_0x1b3aa9=program[_0x3b79f9(0x201)](),_0x4158e0=await createTDXInstance(_0x1b3aa9),_0x1f4f6b=await _0x207d72['run']({'options':{..._0x1b3aa9,..._0xd3ca20},'args':[],'tdx':_0x4158e0});gracefulExit(_0x1f4f6b);};connectionCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x3f7))[a2_0x24e1b0(0x31b)]('List\x20all\x20data\x20connections')[a2_0x24e1b0(0x2a0)](connectionListAction),program[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x208),{'hidden':!![]})['description'](a2_0x24e1b0(0x4f5))['action'](connectionListAction),connectionCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x381))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x2e5))['action'](async(_0x4229bb,_0xed2072)=>{const _0x3870cc=a2_0x24e1b0,_0x239da6=new ConnectionShowCommand(),_0x2d6abd=program[_0x3870cc(0x201)](),_0x3a4877=await createTDXInstance(_0x2d6abd),_0x33cb9c=await _0x239da6[_0x3870cc(0x27e)]({'options':{..._0x2d6abd,..._0xed2072},'args':[_0x4229bb],'tdx':_0x3a4877});gracefulExit(_0x33cb9c);}),connectionCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x359))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x3a5))['action'](async(_0x314612,_0x20eb5e)=>{const _0x4cfb3e=a2_0x24e1b0,_0x364a34=new ConnectionSchemaCommand(),_0x246a47=program[_0x4cfb3e(0x201)](),_0x2d435c=await createTDXInstance(_0x246a47),_0x999ed6=await _0x364a34[_0x4cfb3e(0x27e)]({'options':{..._0x246a47,..._0x20eb5e},'args':[_0x314612],'tdx':_0x2d435c});gracefulExit(_0x999ed6);}),connectionCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x1eb))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x4a8))['action'](async _0x386326=>{const _0x2ef180=a2_0x24e1b0,_0x4e8b5c=new ConnectionTypesCommand(),_0x1d5bb9=program[_0x2ef180(0x201)](),_0x510712=await createTDXInstance(_0x1d5bb9),_0x343bc4=await _0x4e8b5c['run']({'options':{..._0x1d5bb9,..._0x386326},'args':[],'tdx':_0x510712});gracefulExit(_0x343bc4);}),connectionCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x217))['description']('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')['action'](async(_0x16a75f,_0x12748c)=>{const _0x103d22=a2_0x24e1b0,_0xf0d2af=new ConnectionSettingsCommand(),_0x7cf8de=program[_0x103d22(0x201)](),_0x4f01ba=await createTDXInstance(_0x7cf8de),_0x1a99bf=await _0xf0d2af['run']({'options':{..._0x7cf8de,..._0x12748c},'args':[_0x16a75f],'tdx':_0x4f01ba});gracefulExit(_0x1a99bf);});const casCmd=program[a2_0x24e1b0(0x4c7)]('cas')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x262));casCmd['command']('list')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x356))[a2_0x24e1b0(0x2a0)](async _0x177e3a=>{const _0x24e446=a2_0x24e1b0,_0x26438b=new CASListCommand(),_0xc2b58b=program[_0x24e446(0x201)](),_0x23b12a=await createTDXInstance(_0xc2b58b),_0x3d2a6c=await _0x26438b[_0x24e446(0x27e)]({'options':{..._0xc2b58b,..._0x177e3a},'args':[],'tdx':_0x23b12a});gracefulExit(_0x3d2a6c);}),casCmd[a2_0x24e1b0(0x4c7)]('desc\x20[name]')[a2_0x24e1b0(0x31b)]('Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x24e1b0(0x2a0)](async(_0x3d12b5,_0x155c10)=>{const _0x3bf46e=a2_0x24e1b0,_0x4d473b=new CASDescCommand(),_0x9198f2=program[_0x3bf46e(0x201)](),_0x162acb=await createTDXInstance(_0x9198f2),_0x39852a=await _0x4d473b[_0x3bf46e(0x27e)]({'options':{..._0x9198f2,..._0x155c10},'args':_0x3d12b5?[_0x3d12b5]:[],'tdx':_0x162acb});gracefulExit(_0x39852a);}),casCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x3ac))[a2_0x24e1b0(0x31b)]('Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x286),a2_0x24e1b0(0x486))['option'](a2_0x24e1b0(0x4fe),'Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')['action'](async(_0xc8bf3d,_0x3581a6)=>{const _0x299492=a2_0x24e1b0,_0x526fc8=new CASPullCommand(),_0x44ba92=program[_0x299492(0x201)](),_0x19ba4d=await createTDXInstance(_0x44ba92),_0xd709e3=await _0x526fc8[_0x299492(0x27e)]({'options':{..._0x44ba92,..._0x3581a6},'args':_0xc8bf3d?[_0xc8bf3d]:[],'tdx':_0x19ba4d});gracefulExit(_0xd709e3);}),casCmd['command'](a2_0x24e1b0(0x4ad))[a2_0x24e1b0(0x31b)]('Push\x20YAML\x20files\x20to\x20CAS\x20API')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4fe),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x24e1b0(0x2a0)](async(_0xdaf734,_0x58ce94)=>{const _0x1414ea=a2_0x24e1b0,_0x4cea66=new CASPushCommand(),_0x1ccd46=program[_0x1414ea(0x201)](),_0x1ba1bd=await createTDXInstance(_0x1ccd46),_0x593f76=await _0x4cea66['run']({'options':{..._0x1ccd46,..._0x58ce94},'args':_0xdaf734?[_0xdaf734]:[],'tdx':_0x1ba1bd});gracefulExit(_0x593f76);}),casCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4d4))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x4de))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x38a),a2_0x24e1b0(0x259))[a2_0x24e1b0(0x2a0)](async(_0xe6143d,_0xec336d)=>{const _0x4d6e28=a2_0x24e1b0,_0x58cc02=new CASPreviewCommand(),_0xbaf32a=program[_0x4d6e28(0x201)](),_0xae6dad=await createTDXInstance(_0xbaf32a),_0x4c3771=await _0x58cc02[_0x4d6e28(0x27e)]({'options':{..._0xbaf32a,..._0xec336d},'args':[_0xe6143d,_0xec336d[_0x4d6e28(0x388)]],'tdx':_0xae6dad});gracefulExit(_0x4c3771);});const casSgCmd=casCmd['command']('sg')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x3ca));casSgCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x299))[a2_0x24e1b0(0x31b)]('List\x20composable\x20segments\x20for\x20an\x20audience')[a2_0x24e1b0(0x2a0)](async(_0x579630,_0x3f968c)=>{const _0x557b62=a2_0x24e1b0,_0x589dc9=new CASSegmentListCommand(),_0x158398=program[_0x557b62(0x201)](),_0x14c3a3=await createTDXInstance(_0x158398),_0x5196b2=await _0x589dc9[_0x557b62(0x27e)]({'options':{..._0x158398,..._0x3f968c},'args':_0x579630?[_0x579630]:[],'tdx':_0x14c3a3});gracefulExit(_0x5196b2);});const journeyCmd=program[a2_0x24e1b0(0x4c7)]('journey')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x26a)),journeyListAction=async(_0x200a02,_0x4475c4)=>{const _0xf61b9f=a2_0x24e1b0,_0x27f251=new JourneyListCommand(),_0x2d3db3=program[_0xf61b9f(0x201)](),_0x1256d7=await createTDXInstance(_0x2d3db3),_0x34c55d=await _0x27f251[_0xf61b9f(0x27e)]({'options':{..._0x2d3db3,..._0x4475c4},'args':_0x200a02?[_0x200a02]:[],'tdx':_0x1256d7});gracefulExit(_0x34c55d);};journeyCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x20a))[a2_0x24e1b0(0x31b)]('List\x20journeys\x20in\x20current\x20context')['action'](journeyListAction),journeyCmd['command'](a2_0x24e1b0(0x23c))['description'](a2_0x24e1b0(0x1d7))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x209),a2_0x24e1b0(0x3ec))['option'](a2_0x24e1b0(0x3fc),a2_0x24e1b0(0x3c8))['action'](async(_0x1f0939,_0x24b708)=>{const _0x4361d6=a2_0x24e1b0,_0x329a65=new JourneyViewCommand(),_0x5d1aa9=program[_0x4361d6(0x201)](),_0x4d60f3=await createTDXInstance(_0x5d1aa9),_0xa1d1c6=await _0x329a65[_0x4361d6(0x27e)]({'options':{..._0x5d1aa9,..._0x24b708},'args':[_0x1f0939],'tdx':_0x4d60f3});gracefulExit(_0xa1d1c6);}),journeyCmd[a2_0x24e1b0(0x4c7)]('stats\x20<name-or-path>')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x3c4))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x450),a2_0x24e1b0(0x3ee))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x25d),a2_0x24e1b0(0x3b0))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3c5),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x343),a2_0x24e1b0(0x4ab))[a2_0x24e1b0(0x2a0)](async(_0x9e6115,_0x3e13c7)=>{const _0x3eba2e=a2_0x24e1b0,_0x599166=new JourneyStatsCommand(),_0x32ca32=program['opts'](),_0x230b4a=await createTDXInstance(_0x32ca32),_0x636579=await _0x599166[_0x3eba2e(0x27e)]({'options':{..._0x32ca32,..._0x3e13c7},'args':[_0x9e6115],'tdx':_0x230b4a});gracefulExit(_0x636579);}),journeyCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x25f))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x34f))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x400),a2_0x24e1b0(0x226))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x25d),a2_0x24e1b0(0x3b0))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3c5),a2_0x24e1b0(0x25c))['option']('--limit\x20<number>',a2_0x24e1b0(0x4ea),_0x32027a=>{const _0x526f9d=a2_0x24e1b0,_0x4ad1be=parseInt(_0x32027a,0xa);if(isNaN(_0x4ad1be))throw new Error(_0x526f9d(0x370)+_0x32027a+'\x22.\x20Must\x20be\x20a\x20number.');return _0x4ad1be;})[a2_0x24e1b0(0x2a0)](async(_0x5da159,_0x4b80e0)=>{const _0x3b3dfc=a2_0x24e1b0,_0xcd48f5=new JourneyTrafficCommand(),_0x38e37d=program[_0x3b3dfc(0x201)](),_0x9933e5=await createTDXInstance(_0x38e37d),_0x268365=await _0xcd48f5['run']({'options':{..._0x38e37d,..._0x4b80e0},'args':[_0x5da159],'tdx':_0x9933e5});gracefulExit(_0x268365);}),journeyCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x1df))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x396))[a2_0x24e1b0(0x2a0)](async(_0x20e450,_0x35e231)=>{const _0x47bd93=new JourneyPauseCommand(),_0x2e1bd4=program['opts'](),_0x22cb26=await createTDXInstance(_0x2e1bd4),_0x30f665=await _0x47bd93['run']({'options':{..._0x2e1bd4,..._0x35e231},'args':[_0x20e450],'tdx':_0x22cb26});gracefulExit(_0x30f665);}),journeyCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x351))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x312))['action'](async(_0x53da0d,_0x295992)=>{const _0x468fd5=a2_0x24e1b0,_0x773bfc=new JourneyResumeCommand(),_0x1fcbed=program[_0x468fd5(0x201)](),_0x15d405=await createTDXInstance(_0x1fcbed),_0x3f9042=await _0x773bfc[_0x468fd5(0x27e)]({'options':{..._0x1fcbed,..._0x295992},'args':[_0x53da0d],'tdx':_0x15d405});gracefulExit(_0x3f9042);}),journeyCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x3ac))['description'](a2_0x24e1b0(0x3b8))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4fe),a2_0x24e1b0(0x386))[a2_0x24e1b0(0x2a0)](async(_0x3427f0,_0x11ed4d)=>{const _0x2fdceb=a2_0x24e1b0,_0xdb6a35=new JourneyPullCommand(),_0x3106c3=program[_0x2fdceb(0x201)](),_0x10c367=await createTDXInstance(_0x3106c3),_0x4af1e8=await _0xdb6a35['run']({'options':{..._0x3106c3,..._0x11ed4d},'args':_0x3427f0?[_0x3427f0]:[],'tdx':_0x10c367});gracefulExit(_0x4af1e8);}),journeyCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4ad))['description'](a2_0x24e1b0(0x28c))[a2_0x24e1b0(0x2a0)](async(_0x591572,_0x270f1f)=>{const _0x1d3efe=a2_0x24e1b0,_0x347e13=new JourneyPushCommand(),_0x4f3512=program[_0x1d3efe(0x201)](),_0x12fbcb=await createTDXInstance(_0x4f3512),_0x3b7e0e=await _0x347e13[_0x1d3efe(0x27e)]({'options':{..._0x4f3512,..._0x270f1f},'args':_0x591572?[_0x591572]:[],'tdx':_0x12fbcb});gracefulExit(_0x3b7e0e);}),journeyCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x315))['description'](a2_0x24e1b0(0x1d6))['action'](async(_0x4dd0a7,_0x4f2e6c)=>{const _0x2257fa=a2_0x24e1b0,_0x1bf222=new JourneyColumnsCommand(),_0x485422=program[_0x2257fa(0x201)](),_0x1f123f=await createTDXInstance(_0x485422),_0xb5d7e0=await _0x1bf222[_0x2257fa(0x27e)]({'options':{..._0x485422,..._0x4f2e6c},'args':[_0x4dd0a7],'tdx':_0x1f123f});gracefulExit(_0xb5d7e0);}),journeyCmd['command']('activations\x20<name-or-path>')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x442))[a2_0x24e1b0(0x2a0)](async(_0xcbf338,_0x4eacae)=>{const _0x4cb36d=a2_0x24e1b0,_0x4dbf28=new JourneyActivationsCommand(),_0x4ac7d7=program[_0x4cb36d(0x201)](),_0x3c056d=await createTDXInstance(_0x4ac7d7),_0xda4152=await _0x4dbf28[_0x4cb36d(0x27e)]({'options':{..._0x4ac7d7,..._0x4eacae},'args':[_0xcbf338],'tdx':_0x3c056d});gracefulExit(_0xda4152);}),journeyCmd['command'](a2_0x24e1b0(0x344))['description']('List\x20all\x20versions\x20of\x20a\x20journey')[a2_0x24e1b0(0x2a0)](async(_0x1377c4,_0x51f8ba)=>{const _0x36c776=a2_0x24e1b0,_0x3b1ac0=new JourneyVersionsCommand(),_0x3a7008=program[_0x36c776(0x201)](),_0x5e07b0=await createTDXInstance(_0x3a7008),_0x3a386b=await _0x3b1ac0[_0x36c776(0x27e)]({'options':{..._0x3a7008,..._0x51f8ba},'args':[_0x1377c4],'tdx':_0x5e07b0});gracefulExit(_0x3a386b);});const journeyVersionCmd=journeyCmd['command'](a2_0x24e1b0(0x4b2))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x451));journeyVersionCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x3fb))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x3f9))['action'](async(_0x159f80,_0x5bdd0c)=>{const _0x293747=new JourneyVersionCreateCommand(),_0xa8a86d=program['opts'](),_0x35ff64=await createTDXInstance(_0xa8a86d),_0x261aa9=await _0x293747['run']({'options':{..._0xa8a86d,..._0x5bdd0c},'args':[_0x159f80],'tdx':_0x35ff64});gracefulExit(_0x261aa9);}),journeyVersionCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x23c))[a2_0x24e1b0(0x31b)]('View\x20a\x20specific\x20version\x20of\x20a\x20journey')[a2_0x24e1b0(0x35d)]('--version\x20<number>',a2_0x24e1b0(0x2d8))[a2_0x24e1b0(0x2a0)](async(_0x4198a8,_0x54365d)=>{const _0x4ec57a=a2_0x24e1b0,_0x489228=new JourneyVersionViewCommand(),_0x536759=program[_0x4ec57a(0x201)](),_0x262e4b=await createTDXInstance(_0x536759),_0x3bce87=await _0x489228[_0x4ec57a(0x27e)]({'options':{..._0x536759,..._0x54365d},'args':[_0x4198a8],'tdx':_0x262e4b});gracefulExit(_0x3bce87);}),journeyCmd[a2_0x24e1b0(0x4c7)]('validate\x20[target]')['description'](a2_0x24e1b0(0x3a8))[a2_0x24e1b0(0x2a0)](async(_0x1e6ad8,_0x1133c6)=>{const _0x218f4b=a2_0x24e1b0,_0x37b048=new JourneyValidateCommand(),_0x1485f4=program[_0x218f4b(0x201)](),_0x26ff9c=await createTDXInstance(_0x1485f4),_0x4848a9=await _0x37b048[_0x218f4b(0x27e)]({'options':{..._0x1485f4,..._0x1133c6},'args':_0x1e6ad8?[_0x1e6ad8]:[],'tdx':_0x26ff9c});gracefulExit(_0x4848a9);}),program['command'](a2_0x24e1b0(0x411))['description'](a2_0x24e1b0(0x1d9))[a2_0x24e1b0(0x2a0)](journeyListAction);const agentSyncCmd=program[a2_0x24e1b0(0x4c7)]('agent')['description'](a2_0x24e1b0(0x275));agentSyncCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x29a))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x269))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x293),a2_0x24e1b0(0x2e2))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3e1),a2_0x24e1b0(0x3d3))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x39e),'Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)')[a2_0x24e1b0(0x2a0)](async(_0x579f2e,_0x2479f9,_0x4e305e)=>{const _0x2b3f60=a2_0x24e1b0,_0x134561=new AgentPullCommand(),_0x1a48b2=program[_0x2b3f60(0x201)](),_0x5ed120=await createTDXInstance(_0x1a48b2),_0x3eccdb=[];if(_0x579f2e)_0x3eccdb[_0x2b3f60(0x489)](_0x579f2e);if(_0x2479f9)_0x3eccdb[_0x2b3f60(0x489)](_0x2479f9);const _0x270446=await _0x134561[_0x2b3f60(0x27e)]({'options':{..._0x1a48b2,..._0x4e305e},'args':_0x3eccdb,'tdx':_0x5ed120});gracefulExit(_0x270446);}),agentSyncCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x27c))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x1e3))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3e1),a2_0x24e1b0(0x35c))[a2_0x24e1b0(0x2a0)](async(_0x4ee473,_0x3bfaf2)=>{const _0x5f0404=a2_0x24e1b0,_0x18ed12=new AgentPushCommand(),_0x516e19=program[_0x5f0404(0x201)](),_0x55445b=await createTDXInstance(_0x516e19),_0x4cd43e=await _0x18ed12[_0x5f0404(0x27e)]({'options':{..._0x516e19,..._0x3bfaf2},'args':_0x4ee473?[_0x4ee473]:[],'tdx':_0x55445b});gracefulExit(_0x4cd43e);}),agentSyncCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4af))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x43a))[a2_0x24e1b0(0x4b7)]('-n,\x20--name\x20<name>',a2_0x24e1b0(0x4eb))[a2_0x24e1b0(0x2a0)](async(_0x49c673,_0x689e15)=>{const _0x57bc48=a2_0x24e1b0,_0x584295=new AgentCloneCommand(),_0x43cf43=program['opts'](),_0x5a14a6=await createTDXInstance(_0x43cf43),_0x472b41=await _0x584295[_0x57bc48(0x27e)]({'options':{..._0x43cf43,..._0x689e15},'args':_0x49c673?[_0x49c673]:[],'tdx':_0x5a14a6});gracefulExit(_0x472b41);}),agentSyncCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x29e))[a2_0x24e1b0(0x31b)]('Run\x20tests\x20for\x20an\x20LLM\x20agent')['option'](a2_0x24e1b0(0x3f1),'Run\x20specific\x20tests\x20(comma-separated)')[a2_0x24e1b0(0x4b7)]('--tags\x20<tags>',a2_0x24e1b0(0x3ba))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4fe),a2_0x24e1b0(0x1e1))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x30e),a2_0x24e1b0(0x29c))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x410),a2_0x24e1b0(0x36c))[a2_0x24e1b0(0x2a0)](async(_0x45f964,_0x4e34b5)=>{const _0x149158=a2_0x24e1b0,_0x369df4=new AgentTestCommand(),_0xc8354f=program[_0x149158(0x201)](),_0x40f513=await createTDXInstance(_0xc8354f),_0x2e516c=await _0x369df4['run']({'options':{..._0xc8354f,..._0x4e34b5},'args':_0x45f964?[_0x45f964]:[],'tdx':_0x40f513});gracefulExit(_0x2e516c);}),agentSyncCmd[a2_0x24e1b0(0x4c7)]('list\x20[pattern]')[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x4cb))[a2_0x24e1b0(0x2a0)](llmAgentListAction),agentSyncCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x2d1))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x205))[a2_0x24e1b0(0x2a0)](async(_0x33e98d,_0x440858)=>{const _0x20798c=a2_0x24e1b0,_0x9fbc61=new LLMAgentShowCommand(),_0x119420=program[_0x20798c(0x201)](),_0x478527=await createTDXInstance(_0x119420),_0xf5f90a=await _0x9fbc61[_0x20798c(0x27e)]({'options':{..._0x119420,..._0x440858},'args':[_0x33e98d],'tdx':_0x478527});gracefulExit(_0xf5f90a);}),agentSyncCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x1dc))[a2_0x24e1b0(0x31b)]('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x41e),a2_0x24e1b0(0x2b6))['option']('--model\x20<name>','Model\x20type\x20(default:\x20claude-4.5-sonnet)','claude-4.5-sonnet')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x263),a2_0x24e1b0(0x30d))[a2_0x24e1b0(0x4b7)]('--max-tool-iterations\x20<n>',a2_0x24e1b0(0x26f),'4')['option'](a2_0x24e1b0(0x1e7),a2_0x24e1b0(0x30b),a2_0x24e1b0(0x2cf))[a2_0x24e1b0(0x2a0)](async(_0x8a6300,_0xcdf32c)=>{const _0x34348a=a2_0x24e1b0,_0x41b562=new LLMAgentCreateCommand(),_0x45922a=program[_0x34348a(0x201)](),_0x3fb2a7=await createTDXInstance(_0x45922a),_0x3faedb=await _0x41b562[_0x34348a(0x27e)]({'options':{..._0x45922a,..._0xcdf32c},'args':[_0x8a6300],'tdx':_0x3fb2a7});gracefulExit(_0x3faedb);}),agentSyncCmd[a2_0x24e1b0(0x4c7)]('update\x20<agent-name>')['description'](a2_0x24e1b0(0x3bc))['option'](a2_0x24e1b0(0x2e4),a2_0x24e1b0(0x3d4))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x1f2),'Agent\x20prompt/instructions')['option']('--description\x20<text>',a2_0x24e1b0(0x239))['option'](a2_0x24e1b0(0x263),a2_0x24e1b0(0x30d))[a2_0x24e1b0(0x2a0)](async(_0x4986e8,_0x16b1da)=>{const _0x4b3ec5=a2_0x24e1b0,_0x3b4b9d=new LLMAgentUpdateCommand(),_0xe7280b=program[_0x4b3ec5(0x201)](),_0x564013=await createTDXInstance(_0xe7280b),_0x46b533=await _0x3b4b9d['run']({'options':{..._0xe7280b,..._0x16b1da},'args':[_0x4986e8],'tdx':_0x564013});gracefulExit(_0x46b533);}),agentSyncCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x329))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x1f4))[a2_0x24e1b0(0x2a0)](async(_0x40542b,_0x145b64)=>{const _0x5aa051=a2_0x24e1b0,_0x827227=new LLMAgentDeleteCommand(),_0x8f1986=program['opts'](),_0x58db50=await createTDXInstance(_0x8f1986),_0x55e830=await _0x827227[_0x5aa051(0x27e)]({'options':{..._0x8f1986,..._0x145b64},'args':[_0x40542b],'tdx':_0x58db50});gracefulExit(_0x55e830);});const workCmd=program[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x4d5))['description'](a2_0x24e1b0(0x2e7));workCmd[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x336),a2_0x24e1b0(0x22d))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x458),'Include\x20all\x20items\x20(no\x20stale\x20filtering)')[a2_0x24e1b0(0x2a0)](workSummaryAction),workCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x440))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x284))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x210),'Link\x20workspace\x20to\x20a\x20GitHub\x20repository')[a2_0x24e1b0(0x2a0)](workInitAction),workCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x45c))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x3fd))['option']('--kind\x20<kind>',a2_0x24e1b0(0x2da),a2_0x24e1b0(0x4a6))['option'](a2_0x24e1b0(0x2ba),'Comma-separated\x20tags')['option'](a2_0x24e1b0(0x219),a2_0x24e1b0(0x3dd))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x4f9),'Document\x20body\x20text')['option'](a2_0x24e1b0(0x4c6),'Apply\x20a\x20template')[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x3ea),a2_0x24e1b0(0x241))[a2_0x24e1b0(0x4b7)]('--assignee\x20<assignee>',a2_0x24e1b0(0x3af))[a2_0x24e1b0(0x2a0)](workNewAction),workCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x301))[a2_0x24e1b0(0x31b)]('Transition\x20a\x20task\x20to\x20a\x20new\x20status')[a2_0x24e1b0(0x2a0)](workMoveAction),workCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x45f))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x211))['option'](a2_0x24e1b0(0x336),a2_0x24e1b0(0x22d))[a2_0x24e1b0(0x4b7)](a2_0x24e1b0(0x458),a2_0x24e1b0(0x445))[a2_0x24e1b0(0x2a0)](workBoardAction),workCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x381))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x270))['action'](workShowAction),workCmd['command']('links\x20<name>')[a2_0x24e1b0(0x31b)]('Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document')[a2_0x24e1b0(0x2a0)](workLinksAction),workCmd[a2_0x24e1b0(0x4c7)](a2_0x24e1b0(0x352))[a2_0x24e1b0(0x31b)](a2_0x24e1b0(0x25a))[a2_0x24e1b0(0x2a0)](workOpenAction),program[a2_0x24e1b0(0x4c7)]('_list-commands',{'hidden':!![]})['action'](()=>{const _0x267e8d=a2_0x24e1b0;function _0x3d0d81(_0x7e6b1c,_0x4139a3){const _0x4a7ad8=a2_0x9648,_0x3f858c=[];for(const _0xb868cb of _0x7e6b1c[_0x4a7ad8(0x482)]){if(_0xb868cb[_0x4a7ad8(0x412)])continue;const _0xbe33c=_0x4139a3?_0x4139a3+'\x20'+_0xb868cb[_0x4a7ad8(0x3f0)]():_0xb868cb[_0x4a7ad8(0x3f0)](),_0x201e22=_0xbe33c[_0x4a7ad8(0x379)]('\x20')[0x0],_0x4a4ba7=COMMAND_CATEGORIES[_0x4a7ad8(0x3ae)](_0xa02000=>_0xa02000['commands'][_0x4a7ad8(0x4f4)](_0x201e22)),_0x45c6c4=_0x4a4ba7?.[_0x4a7ad8(0x3f0)]??'';if(_0xb868cb['commands']['length']>0x0)_0x3f858c[_0x4a7ad8(0x489)](..._0x3d0d81(_0xb868cb,_0xbe33c));else{const _0x3fcc7d=(_0xb868cb[_0x4a7ad8(0x30a)]||[])['map'](_0x58c387=>{const _0x13f322=_0x4a7ad8,_0x4e4118=_0x58c387[_0x13f322(0x35e)]?_0x58c387[_0x13f322(0x3f0)]()+'...':_0x58c387['name']();return _0x58c387[_0x13f322(0x341)]?'<'+_0x4e4118+'>':'['+_0x4e4118+']';})['join']('\x20'),_0x24efbd=_0xb868cb['options']['filter'](_0x3600e7=>!_0x3600e7[_0x4a7ad8(0x425)]&&_0x3600e7['long']!==_0x4a7ad8(0x23a))[_0x4a7ad8(0x34b)](_0x596e84=>({'flags':_0x596e84[_0x4a7ad8(0x493)],'description':_0x596e84['description']}));_0x3f858c[_0x4a7ad8(0x489)]({'name':_0xbe33c,'description':_0xb868cb[_0x4a7ad8(0x31b)](),'group':_0x45c6c4,'usage':_0x3fcc7d,'options':_0x24efbd});}}return _0x3f858c;}console[_0x267e8d(0x471)](JSON[_0x267e8d(0x4f7)](_0x3d0d81(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x207e30=a2_0x24e1b0,_0x5a0995=!process[_0x207e30(0x1e4)][_0x207e30(0x220)](0x2)[_0x207e30(0x252)];showBriefHelp=_0x5a0995,program['parse'](process[_0x207e30(0x1e4)]);_0x5a0995&&program[_0x207e30(0x2aa)]();const _0x2c846a=process[_0x207e30(0x1e4)][0x2]==='upgrade';if(process[_0x207e30(0x310)][_0x207e30(0x3f4)]&&process[_0x207e30(0x1e4)]['length']>0x2&&!isDevVersion()&&!_0x2c846a){const _0x3ff295=loadReleaseChannel();checkForUpdate(currentVersion,_0x3ff295)['then'](_0x1d98f4=>{_0x1d98f4&&displayUpdateNotification(_0x1d98f4);})[_0x207e30(0x240)](()=>{});}}