@treasuredata/tdx 2026.4.0 → 2026.4.2

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 (219) hide show
  1. package/dist/bin.js +1 -1
  2. package/dist/build-info.json +3 -3
  3. package/dist/cli-categories.js +1 -1
  4. package/dist/cli.js +1 -1
  5. package/dist/commands/activations.js +1 -1
  6. package/dist/commands/agent-command.js +1 -1
  7. package/dist/commands/agent-test-command.js +1 -1
  8. package/dist/commands/api-command.js +1 -1
  9. package/dist/commands/auth-command.js +1 -1
  10. package/dist/commands/cas-command.js +1 -1
  11. package/dist/commands/cas-segment-command.js +1 -1
  12. package/dist/commands/chat-command.js +1 -1
  13. package/dist/commands/claude-command.js +1 -1
  14. package/dist/commands/claude-statusline-command.js +1 -1
  15. package/dist/commands/claude-usage-command.js +1 -1
  16. package/dist/commands/command.js +1 -1
  17. package/dist/commands/connection-command.js +1 -1
  18. package/dist/commands/databases.js +1 -1
  19. package/dist/commands/delivery-command.js +1 -1
  20. package/dist/commands/describe.js +1 -1
  21. package/dist/commands/engage-campaign-pull-command.js +1 -1
  22. package/dist/commands/engage-campaign-push-command.js +1 -1
  23. package/dist/commands/engage-campaign-validate-command.js +1 -1
  24. package/dist/commands/engage-command.js +1 -1
  25. package/dist/commands/engage-template-pull-command.js +1 -1
  26. package/dist/commands/engage-template-push-command.js +1 -1
  27. package/dist/commands/engage-template-validate-command.js +1 -1
  28. package/dist/commands/job-command.js +1 -1
  29. package/dist/commands/journey-command.js +1 -1
  30. package/dist/commands/journey-validate-command.js +1 -1
  31. package/dist/commands/llm-command.js +1 -1
  32. package/dist/commands/mcp-command.js +1 -1
  33. package/dist/commands/parent-segment-command.js +1 -1
  34. package/dist/commands/policy-command.js +1 -1
  35. package/dist/commands/profile-command.js +1 -1
  36. package/dist/commands/profiles-command.js +1 -1
  37. package/dist/commands/query-command.js +1 -1
  38. package/dist/commands/schedule-command.js +1 -1
  39. package/dist/commands/segment-command.js +1 -1
  40. package/dist/commands/segment-create-command.js +1 -1
  41. package/dist/commands/segment-fields-command.js +1 -1
  42. package/dist/commands/segment-pull-command.js +1 -1
  43. package/dist/commands/segment-push-command.js +1 -1
  44. package/dist/commands/segment-update-command.js +1 -1
  45. package/dist/commands/segment-use-command.js +1 -1
  46. package/dist/commands/segment-validate-command.js +1 -1
  47. package/dist/commands/segments.js +1 -1
  48. package/dist/commands/show.js +1 -1
  49. package/dist/commands/status-command.js +1 -1
  50. package/dist/commands/tables.js +1 -1
  51. package/dist/commands/unset-command.js +1 -1
  52. package/dist/commands/upgrade-command.js +1 -1
  53. package/dist/commands/use-command.js +1 -1
  54. package/dist/commands/user-command.js +1 -1
  55. package/dist/commands/work-command.js +1 -1
  56. package/dist/commands/workflow-command.js +1 -1
  57. package/dist/core/auth.js +1 -1
  58. package/dist/core/command-output.js +1 -1
  59. package/dist/core/config.js +1 -1
  60. package/dist/core/connection-cache.js +1 -1
  61. package/dist/core/constants.js +1 -1
  62. package/dist/core/credential-cache.js +1 -1
  63. package/dist/core/global-context.js +1 -1
  64. package/dist/core/keychain.js +1 -1
  65. package/dist/core/oauth-keychain.js +1 -1
  66. package/dist/core/oauth.js +1 -1
  67. package/dist/core/profile.js +1 -1
  68. package/dist/core/project-config.js +1 -1
  69. package/dist/core/session.js +1 -1
  70. package/dist/core/user-cache.js +1 -1
  71. package/dist/core/version.js +1 -1
  72. package/dist/index.js +1 -1
  73. package/dist/mcp/server.js +1 -1
  74. package/dist/mcp/tools/index.js +1 -1
  75. package/dist/mcp/tools/tdx-run.js +1 -1
  76. package/dist/mcp/tools/tdx-search.js +1 -1
  77. package/dist/mcp/tools/work-create-item.js +1 -1
  78. package/dist/mcp/utils.js +1 -1
  79. package/dist/proxy/claude-usage-tracker.js +1 -1
  80. package/dist/proxy/passthrough-server.js +1 -1
  81. package/dist/proxy/sse-usage-parser.js +1 -1
  82. package/dist/sdk/agent/agent-config.js +1 -1
  83. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  84. package/dist/sdk/agent/agent-yaml.js +1 -1
  85. package/dist/sdk/agent/test/evaluator.js +1 -1
  86. package/dist/sdk/agent/test/executor.js +1 -1
  87. package/dist/sdk/agent/test/index.js +1 -1
  88. package/dist/sdk/agent/test/output.js +1 -1
  89. package/dist/sdk/agent/test/parser.js +1 -1
  90. package/dist/sdk/agent/tool-target-registry.js +1 -1
  91. package/dist/sdk/api.js +1 -1
  92. package/dist/sdk/cas/cas-api-client.js +1 -1
  93. package/dist/sdk/cas/cas-audience-yaml.js +1 -1
  94. package/dist/sdk/cas/cas-segment-yaml.js +1 -1
  95. package/dist/sdk/cas/index.js +1 -1
  96. package/dist/sdk/cas/pull-workflow.js +1 -1
  97. package/dist/sdk/cas/push-workflow.js +1 -1
  98. package/dist/sdk/client/cdp-api-client.js +1 -1
  99. package/dist/sdk/client/delivery-api-client.js +1 -1
  100. package/dist/sdk/client/endpoints.js +1 -1
  101. package/dist/sdk/client/engage-api-client.js +1 -1
  102. package/dist/sdk/client/http-client.js +1 -1
  103. package/dist/sdk/client/llm-api-client.js +1 -1
  104. package/dist/sdk/client/oauth-refresh.js +1 -1
  105. package/dist/sdk/client/rate-limiter.js +1 -1
  106. package/dist/sdk/client/td-api-client.js +1 -1
  107. package/dist/sdk/client/trino-api-client.js +1 -1
  108. package/dist/sdk/client/workflow-client.js +1 -1
  109. package/dist/sdk/connection-validator.js +1 -1
  110. package/dist/sdk/connection.js +1 -1
  111. package/dist/sdk/delivery.js +1 -1
  112. package/dist/sdk/engage/campaign-pull.js +1 -1
  113. package/dist/sdk/engage/campaign-push.js +1 -1
  114. package/dist/sdk/engage/campaign-validator.js +1 -1
  115. package/dist/sdk/engage/campaign-yaml.js +1 -1
  116. package/dist/sdk/engage/template-pull.js +1 -1
  117. package/dist/sdk/engage/template-push.js +1 -1
  118. package/dist/sdk/engage/template-validator.js +1 -1
  119. package/dist/sdk/engage/template-yaml.js +1 -1
  120. package/dist/sdk/engage/types/campaign-def.js +1 -1
  121. package/dist/sdk/engage/types/campaign-schema.js +1 -1
  122. package/dist/sdk/engage/types/template-schema.js +1 -1
  123. package/dist/sdk/engage.js +1 -1
  124. package/dist/sdk/errors.js +1 -1
  125. package/dist/sdk/index.js +1 -1
  126. package/dist/sdk/io/index.js +1 -1
  127. package/dist/sdk/io/node-filesystem.js +1 -1
  128. package/dist/sdk/job.js +1 -1
  129. package/dist/sdk/journey.js +1 -1
  130. package/dist/sdk/llm/chat-cache.js +1 -1
  131. package/dist/sdk/llm/index.js +1 -1
  132. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  133. package/dist/sdk/llm/model-factors.js +1 -1
  134. package/dist/sdk/personalization.js +1 -1
  135. package/dist/sdk/policy.js +1 -1
  136. package/dist/sdk/query/index.js +1 -1
  137. package/dist/sdk/query/sql-parser.js +1 -1
  138. package/dist/sdk/realtime.js +1 -1
  139. package/dist/sdk/schedule.js +1 -1
  140. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  141. package/dist/sdk/segment/fields-display.js +1 -1
  142. package/dist/sdk/segment/file-discovery.js +1 -1
  143. package/dist/sdk/segment/journey-utils.js +1 -1
  144. package/dist/sdk/segment/journey-validator.js +1 -1
  145. package/dist/sdk/segment/journey-yaml.js +1 -1
  146. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  147. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  148. package/dist/sdk/segment/pull-workflow.js +1 -1
  149. package/dist/sdk/segment/push-recovery.js +1 -1
  150. package/dist/sdk/segment/push-workflow.js +1 -1
  151. package/dist/sdk/segment/resolution-context.js +1 -1
  152. package/dist/sdk/segment/segment-path-parser.js +1 -1
  153. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  154. package/dist/sdk/segment/segment-validator.js +1 -1
  155. package/dist/sdk/segment/target-resolution.js +1 -1
  156. package/dist/sdk/segment/tdx-config.js +1 -1
  157. package/dist/sdk/segment/types/activation-schema.js +1 -1
  158. package/dist/sdk/segment/types/journey-def.js +1 -1
  159. package/dist/sdk/segment/types/journey-schema.js +1 -1
  160. package/dist/sdk/segment/types/segment-def.js +1 -1
  161. package/dist/sdk/segment/types/segment-schema.js +1 -1
  162. package/dist/sdk/segment/validate-files.js +1 -1
  163. package/dist/sdk/segment/yaml-validator.js +1 -1
  164. package/dist/sdk/segment.js +1 -1
  165. package/dist/sdk/types/index.js +1 -1
  166. package/dist/sdk/types/progress.js +1 -1
  167. package/dist/sdk/types/workspace.js +1 -1
  168. package/dist/sdk/user.js +1 -1
  169. package/dist/sdk/util/format-detector.js +1 -1
  170. package/dist/sdk/util/formatters.js +1 -1
  171. package/dist/sdk/util/index.js +1 -1
  172. package/dist/sdk/util/paginate.js +1 -1
  173. package/dist/sdk/util/tree-formatter.js +1 -1
  174. package/dist/sdk/workflow/archive-validation.js +1 -1
  175. package/dist/sdk/workflow/clone-workflow.js +1 -1
  176. package/dist/sdk/workflow/index.js +1 -1
  177. package/dist/sdk/workflow/pull-workflow.js +1 -1
  178. package/dist/sdk/workflow/push-workflow.js +1 -1
  179. package/dist/sdk/workflow/tdx-config.js +1 -1
  180. package/dist/sdk/workflow/workflow-utils.js +1 -1
  181. package/dist/sdk/workspace/frontmatter.js +1 -1
  182. package/dist/sdk/workspace/git.js +1 -1
  183. package/dist/sdk/workspace/index.js +1 -1
  184. package/dist/sdk/workspace/templates.js +1 -1
  185. package/dist/sdk/workspace/weekly.js +1 -1
  186. package/dist/sdk/workspace/wikilinks.js +1 -1
  187. package/dist/test-utils/command-runner.js +1 -1
  188. package/dist/test-utils/factories.js +1 -1
  189. package/dist/test-utils/fixtures.js +1 -1
  190. package/dist/test-utils/http-mock.js +1 -1
  191. package/dist/test-utils/index.js +1 -1
  192. package/dist/utils/async.js +1 -1
  193. package/dist/utils/colors.js +1 -1
  194. package/dist/utils/diff.js +1 -1
  195. package/dist/utils/file-permissions.js +1 -1
  196. package/dist/utils/file-reader.js +1 -1
  197. package/dist/utils/github-releases.js +1 -1
  198. package/dist/utils/global-cache.js +1 -1
  199. package/dist/utils/json-loader.js +1 -1
  200. package/dist/utils/local-cache.js +1 -1
  201. package/dist/utils/logger/formatters/default-formatter.js +1 -1
  202. package/dist/utils/logger/formatters/index.js +1 -1
  203. package/dist/utils/logger/handlers/console-handler.js +1 -1
  204. package/dist/utils/logger/handlers/file-handler.js +1 -1
  205. package/dist/utils/logger/handlers/index.js +1 -1
  206. package/dist/utils/logger/handlers/null-handler.js +1 -1
  207. package/dist/utils/logger/index.js +1 -1
  208. package/dist/utils/logger/logger.js +1 -1
  209. package/dist/utils/logger/types.js +1 -1
  210. package/dist/utils/option-validation.js +1 -1
  211. package/dist/utils/process.js +1 -1
  212. package/dist/utils/prompt.js +1 -1
  213. package/dist/utils/spinner.js +1 -1
  214. package/dist/utils/sse-parser.js +1 -1
  215. package/dist/utils/string-utils.js +1 -1
  216. package/dist/utils/table-ref-parser.js +1 -1
  217. package/dist/utils/tdx-logger.js +1 -1
  218. package/dist/utils/version-check.js +1 -1
  219. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1 +1 @@
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)](()=>{});}}
1
+ const a2_0x24e9b5=a2_0x2980;(function(_0x2789e5,_0x106e2b){const _0x7ae896=a2_0x2980,_0xf6b429=_0x2789e5();while(!![]){try{const _0x27ce2c=parseInt(_0x7ae896(0x293))/0x1+parseInt(_0x7ae896(0x1ce))/0x2+-parseInt(_0x7ae896(0x3e1))/0x3*(-parseInt(_0x7ae896(0x38c))/0x4)+-parseInt(_0x7ae896(0x465))/0x5*(-parseInt(_0x7ae896(0x1a7))/0x6)+-parseInt(_0x7ae896(0x2c2))/0x7+parseInt(_0x7ae896(0x2be))/0x8+-parseInt(_0x7ae896(0x478))/0x9*(parseInt(_0x7ae896(0x229))/0xa);if(_0x27ce2c===_0x106e2b)break;else _0xf6b429['push'](_0xf6b429['shift']());}catch(_0x5bda6d){_0xf6b429['push'](_0xf6b429['shift']());}}}(a2_0x4f2c,0xcfd44));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';function a2_0x2980(_0x836dd1,_0x44aa66){_0x836dd1=_0x836dd1-0x15b;const _0x4f2ca8=a2_0x4f2c();let _0x298042=_0x4f2ca8[_0x836dd1];return _0x298042;}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_0x24e9b5(0x3f4)][a2_0x24e9b5(0x1c7)]('--version')){let versionOutput=a2_0x24e9b5(0x20c)+currentVersion;buildInfo[a2_0x24e9b5(0x307)]&&!currentVersion['includes'](buildInfo[a2_0x24e9b5(0x307)])&&(versionOutput+='\x20('+buildInfo[a2_0x24e9b5(0x307)]+')'),buildInfo['buildTime']&&(versionOutput+=a2_0x24e9b5(0x245)+buildInfo[a2_0x24e9b5(0x1e2)]),console[a2_0x24e9b5(0x29e)](versionOutput),process[a2_0x24e9b5(0x1e3)](0x0);}const program=new Command();export function mergeCommandOptions(_0x58d014,_0x55bdc3){const _0x30f40e=a2_0x24e9b5,_0x5f569b={..._0x58d014};for(const [_0x2a9d77,_0x3ec463]of Object[_0x30f40e(0x343)](_0x55bdc3)){_0x3ec463!==undefined&&(_0x5f569b[_0x2a9d77]=_0x3ec463);}return _0x5f569b;}let showBriefHelp=![],description=a2_0x24e9b5(0x23b);buildInfo[a2_0x24e9b5(0x307)]&&!currentVersion[a2_0x24e9b5(0x1c7)](buildInfo[a2_0x24e9b5(0x307)])?description+=a2_0x24e9b5(0x195)+currentVersion+'\x20('+buildInfo[a2_0x24e9b5(0x307)]+')':description+=',\x20version\x20'+currentVersion;program[a2_0x24e9b5(0x44c)]('tdx')[a2_0x24e9b5(0x1ae)](description),program[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x2b1),a2_0x24e9b5(0x3c3))['option'](a2_0x24e9b5(0x248),'Profile\x20to\x20use\x20(overrides\x20active\x20profile)')[a2_0x24e9b5(0x264)]('--site\x20<site>',a2_0x24e9b5(0x1d8),a2_0x24e9b5(0x35b))['option'](a2_0x24e9b5(0x1be),a2_0x24e9b5(0x34f))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x2c6),a2_0x24e9b5(0x2a6))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x44d),'Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')['option']('--jsonl',a2_0x24e9b5(0x240))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x301),a2_0x24e9b5(0x28a))['option'](a2_0x24e9b5(0x330),a2_0x24e9b5(0x377))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x324),'Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x379),'Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x1a9),a2_0x24e9b5(0x22f),![])[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x2bb),a2_0x24e9b5(0x26a),![])[a2_0x24e9b5(0x264)]('--debug',a2_0x24e9b5(0x217))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x176),a2_0x24e9b5(0x314))[a2_0x24e9b5(0x264)]('--timeout\x20<seconds>',a2_0x24e9b5(0x428),'30')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x435),'Preview\x20operation\x20without\x20executing',![])[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x319),'Skip\x20confirmation\x20prompts',![])['option']('--session\x20<id>','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x3ce),a2_0x24e9b5(0x283))[a2_0x24e9b5(0x264)]('--llm-project\x20<name>','LLM\x20project\x20to\x20use\x20(overrides\x20context)'),program['configureHelp']({'formatHelp':(_0x2139c6,_0x308f76)=>{const _0x238eff=a2_0x24e9b5,_0x365a92=_0x308f76['padWidth'](_0x2139c6,_0x308f76),_0x47345e=0x2,_0x2ea1a0=0x2;function _0x52fb67(_0x5cf7d6){const _0x359a1b=a2_0x2980,_0x4097c3=_0x5cf7d6;return!!(_0x4097c3[_0x359a1b(0x46d)]||_0x4097c3[_0x359a1b(0x272)]);}function _0x211c20(_0x196437,_0x4bffdc){const _0x144865=a2_0x2980;if(_0x4bffdc){const _0x7f9f54=''+_0x196437[_0x144865(0x2b0)](_0x365a92+_0x2ea1a0)+_0x4bffdc;return _0x7f9f54;}return _0x196437;}function _0xed68bd(_0x3b81e2){const _0x4e985f=a2_0x2980;return _0x3b81e2[_0x4e985f(0x3ac)]('\x0a')[_0x4e985f(0x344)](/^/gm,'\x20'['repeat'](_0x47345e));}const _0x45f4f0=[];_0x45f4f0[_0x238eff(0x400)]('Usage:\x20'+_0x308f76['commandUsage'](_0x2139c6));const _0x1de910=_0x308f76['commandDescription'](_0x2139c6);_0x1de910&&(_0x45f4f0[_0x238eff(0x400)](''),_0x45f4f0[_0x238eff(0x400)](_0x1de910));const _0x262fdf=_0x2139c6[_0x238eff(0x288)][_0x238eff(0x3da)](_0xcf15a8=>!_0x52fb67(_0xcf15a8));if(_0x262fdf['length']>0x0){if(_0x2139c6[_0x238eff(0x44c)]()===_0x238eff(0x20d)){const _0x24c3a3=_0x2139c6[_0x238eff(0x1e9)](),_0x259016=!_0x24c3a3[_0x238eff(0x469)]&&process[_0x238eff(0x46e)]['isTTY'],_0x337874=COMMAND_CATEGORIES,_0x31d0e3=(_0x13ab94,_0x5e3a48)=>_0x259016?_0x5e3a48(_0x13ab94):_0x13ab94,_0x569e8d=new Map();_0x262fdf[_0x238eff(0x2c9)](_0x2d2cf2=>{const _0x41100b=_0x238eff;_0x569e8d['set'](_0x2d2cf2[_0x41100b(0x44c)](),_0x2d2cf2);}),_0x337874[_0x238eff(0x2c9)](_0x51edf5=>{const _0x3c8afe=_0x238eff,_0x3d2b3a=_0x51edf5[_0x3c8afe(0x288)][_0x3c8afe(0x278)](_0x262dcf=>_0x569e8d[_0x3c8afe(0x479)](_0x262dcf)??[]);if(_0x3d2b3a['length']>0x0){_0x45f4f0[_0x3c8afe(0x400)](''),_0x45f4f0[_0x3c8afe(0x400)](_0x31d0e3(_0x51edf5[_0x3c8afe(0x44c)]+':',_0x51edf5[_0x3c8afe(0x1bd)]));const _0x362549=_0x3d2b3a[_0x3c8afe(0x184)](_0x115d88=>{const _0x45bd95=_0x3c8afe,_0x2a834e=_0x308f76['subcommandTerm'](_0x115d88),_0x521c95=_0x308f76[_0x45bd95(0x22e)](_0x115d88);return _0x211c20(_0x2a834e,_0x521c95);});_0x45f4f0[_0x3c8afe(0x400)](_0xed68bd(_0x362549));}}),_0x45f4f0[_0x238eff(0x400)](''),_0x45f4f0['push']('Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22');}else{const _0x5287b5=_0x262fdf['map'](_0x471494=>{const _0x3ff985=_0x238eff,_0x1152b2=_0x308f76[_0x3ff985(0x337)](_0x471494),_0x1711ba=_0x308f76[_0x3ff985(0x22e)](_0x471494);return _0x211c20(_0x1152b2,_0x1711ba);});_0x45f4f0[_0x238eff(0x400)](''),_0x45f4f0[_0x238eff(0x400)](_0x238eff(0x46f)),_0x45f4f0[_0x238eff(0x400)](_0xed68bd(_0x5287b5));}}if(showBriefHelp&&_0x2139c6[_0x238eff(0x44c)]()===_0x238eff(0x20d))_0x45f4f0[_0x238eff(0x400)](''),_0x45f4f0[_0x238eff(0x400)]('Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version');else{const _0xd45935=_0x2139c6[_0x238eff(0x43c)]['filter'](_0x135747=>!_0x52fb67(_0x135747));if(_0xd45935[_0x238eff(0x21f)]>0x0){const _0x5a98e5=_0xd45935['map'](_0x14a59a=>{const _0x2034e2=_0x238eff,_0x3ce613=_0x308f76[_0x2034e2(0x382)](_0x14a59a),_0x42f083=_0x308f76['optionDescription'](_0x14a59a);return _0x211c20(_0x3ce613,_0x42f083);});_0x45f4f0[_0x238eff(0x400)](''),_0x45f4f0[_0x238eff(0x400)]('Options:'),_0x45f4f0['push'](_0xed68bd(_0x5a98e5));}}const _0x302754=(_0x2139c6[_0x238eff(0x15c)]||[])[_0x238eff(0x3da)](_0x30d563=>!_0x52fb67(_0x30d563));if(_0x302754[_0x238eff(0x21f)]>0x0){const _0x468910=_0x302754['map'](_0x4d35a7=>{const _0x40aaf2=_0x308f76['argumentTerm'](_0x4d35a7),_0x1215f1=_0x308f76['argumentDescription'](_0x4d35a7);return _0x211c20(_0x40aaf2,_0x1215f1);});_0x45f4f0[_0x238eff(0x400)](''),_0x45f4f0['push'](_0x238eff(0x2bc)),_0x45f4f0[_0x238eff(0x400)](_0xed68bd(_0x468910));}return _0x45f4f0[_0x238eff(0x3ac)]('\x0a')+'\x0a';},'subcommandTerm':_0xfa9d48=>{const _0x7077eb=a2_0x24e9b5,_0x389cb1=(_0xfa9d48[_0x7077eb(0x15c)]||[])[_0x7077eb(0x184)](_0x1d78d8=>_0x1d78d8[_0x7077eb(0x27f)]?'<'+_0x1d78d8[_0x7077eb(0x44c)]()+'>':'['+_0x1d78d8[_0x7077eb(0x44c)]()+']')[_0x7077eb(0x3ac)]('\x20'),_0x801bee=_0xfa9d48[_0x7077eb(0x17d)](),_0x5e6b1b=_0x801bee['length']>0x0?_0xfa9d48[_0x7077eb(0x44c)]()+',\x20'+_0x801bee[_0x7077eb(0x3ac)](',\x20'):_0xfa9d48[_0x7077eb(0x44c)]();return _0x389cb1?_0x5e6b1b+'\x20'+_0x389cb1:_0x5e6b1b;}}),program[a2_0x24e9b5(0x17f)]('preAction',_0x993a08=>{const _0x21ff33=a2_0x24e9b5,_0xcf5acc=_0x993a08[_0x21ff33(0x1e9)]();if(_0xcf5acc[_0x21ff33(0x18e)]){const _0x24765b=resolve(_0xcf5acc['directory']),_0x3d3f06=_0x24765b!==_0xcf5acc[_0x21ff33(0x18e)]?_0x21ff33(0x2e5)+_0x24765b+')':'';if(!existsSync(_0x24765b))throw new SDKError(ErrorCode[_0x21ff33(0x2e8)],_0x21ff33(0x18f)+_0xcf5acc['directory']+_0x3d3f06,undefined,{'helpText':_0x21ff33(0x231)});const _0x39ab6f=statSync(_0x24765b);if(!_0x39ab6f[_0x21ff33(0x2fb)]())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x21ff33(0x2c0)+_0xcf5acc['directory']+_0x3d3f06,undefined,{'helpText':_0x21ff33(0x250)});process['chdir'](_0x24765b);}if(!_0xcf5acc[_0x21ff33(0x3e3)]){if(_0xcf5acc['table'])_0xcf5acc['format']=_0x21ff33(0x2ae);else{if(_0xcf5acc[_0x21ff33(0x2ec)])_0xcf5acc[_0x21ff33(0x3e3)]=_0x21ff33(0x2ec);else{if(_0xcf5acc[_0x21ff33(0x24b)])_0xcf5acc[_0x21ff33(0x3e3)]=_0x21ff33(0x24b);else _0xcf5acc['tsv']&&(_0xcf5acc[_0x21ff33(0x3e3)]='tsv');}}}if(_0xcf5acc[_0x21ff33(0x444)])_0xcf5acc[_0x21ff33(0x183)]=LogLevel['TRACE'];else{if(_0xcf5acc[_0x21ff33(0x455)])_0xcf5acc[_0x21ff33(0x183)]=LogLevel[_0x21ff33(0x18d)];else _0xcf5acc[_0x21ff33(0x183)]===undefined&&(_0xcf5acc[_0x21ff33(0x183)]=LogLevel[_0x21ff33(0x30c)]);}});function a2_0x4f2c(){const _0x20e724=['Create\x20a\x20workspace','[action]','pull\x20[workspace-name]','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','--delete','--output\x20<file>','upgrade\x20[version]','Enable\x20UTM\x20tracking','delete\x20<name>','Show\x20a\x20specific\x20realtime\x20personalization','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','version','subcommandTerm','Workspace\x20management','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','workspace','Read\x20HTML\x20template\x20from\x20file','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','then','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Maximum\x20rows\x20to\x20display','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','System\x20prompt/instructions\x20(default:\x20empty)','Show\x20schedule\x20execution\x20history','entries','replace','Sections\x20as\x20an\x20inline\x20JSON\x20array','Follow/watch\x20timeline\x20for\x20running\x20attempts','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Query\x20type:\x20trino\x20or\x20hive','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','--priority\x20<-2~2>','log\x20<chat-id>','Update\x20an\x20always-on\x20campaign','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','Validate\x20template\x20YAML\x20files\x20locally','--limit\x20<n>','Get\x20current\x20RT\x20configuration\x20version\x20status','--start-at\x20<datetime>','--add-behaviors-file\x20<file>','RT\x202.0\x20configuration\x20management','sql\x20[segment_name]','Show\x20job\x20details','Finish\x20an\x20always-on\x20campaign','Agent\x20name','us01','--rule\x20<json>','Timezone\x20(e.g.,\x20America/Los_Angeles)','new\x20<title>','job','\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','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','init\x20[name]','chats','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','database','Parse\x20and\x20validate\x20without\x20executing','after','--to\x20<date>','Include\x20execution\x20statistics','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','-u,\x20--use','delete\x20<name-or-id>','Override\x20project\x20name','Show\x20Kanban\x20board\x20view\x20of\x20tasks','Maximum\x20number\x20of\x20nodes','create\x20<name>\x20<service_id>\x20[parent_segment]','show\x20[table]','push\x20[file]','service','--sections\x20<json>','Save\x20output\x20to\x20file','--name\x20<name>','--color','test\x20[path]','board','--new','agents\x20[pattern]','--add-behaviors\x20<json>','--from\x20<timestamp>','sessions\x20[project]','--session-time\x20<time>','optionTerm','download\x20<project-name>\x20[output-dir]','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','--database\x20<db>','--parent-folder\x20<name>','preview\x20[name]','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','error','0.7','List\x20all\x20users\x20in\x20the\x20account','8hKeWQw','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','-r,\x20--recursive','--include-subtasks','Always-on\x20campaign\x20management','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Action:\x20logs,\x20tasks,\x20kill,\x20retry','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Duplicate\x20a\x20campaign','--name\x20<new-name>','Limit\x20number\x20of\x20rows','cas','history\x20[chat-id]','-a,\x20--agent\x20<name>','--attribute\x20[name]','Manage\x20workflow\x20schedules\x20(enable/disable)','AI-native\x20work\x20management','work','Customer\x20group\x20as\x20JSON\x20string','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','delete\x20<args...>','Pause\x20activations\x20in\x20an\x20RT\x20journey','clear','show\x20<agent-name>','allowUnknownOption','Interactive\x20chat\x20selector','Filtering\x20rule\x20from\x20JSON\x20file','Delete\x20a\x20profile','Behaviors\x20as\x20JSON\x20string','--result\x20<url>','join','Campaign\x20management','Filtering\x20rule\x20as\x20JSON\x20string','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','--invisible','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','--audience-id\x20<id>','Updated\x20schedule\x20option','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Starter\x20message','types','Output\x20folder\x20(default:\x20{project_name}.llm)','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Output\x20as\x20JSON','Task\x20name\x20for\x20logs\x20action','Transition\x20a\x20task\x20to\x20a\x20new\x20status','Make\x20service\x20public\x20(default:\x20private)','projects\x20[pattern]','Query\x20engine\x20version','-X,\x20--method\x20<method>','Target\x20directory\x20for\x20YAML\x20files','set\x20<args...>','Master\x20table\x20name','Change\x20to\x20directory\x20before\x20executing\x20command','-o,\x20--output\x20<folder>','desc\x20[name]','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','list\x20[name]','Show\x20workspace\x20details','--skip-validation','Invalid\x20--limit\x20value:\x20\x22','delete\x20<service_id>\x20[parent_segment]','--name\x20<text>','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','--parent-segment\x20<name>','secrets','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','--json-columns\x20<cols>','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','remove\x20<name>','--yes','pull\x20<project>\x20[target-dir]','Personalization\x20name','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','--to\x20<n>','Personalization\x20management','filter','list\x20[pattern]','Enable\x20a\x20disabled\x20workflow\x20schedule','Delete\x20a\x20campaign','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','slice','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','219849xrUAAC','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','format','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','Plaintext\x20template\x20content','--folder\x20<name>','--version\x20<number>','backup\x20<name>','Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)','Read\x20query\x20from\x20file','Add\x20attributes\x20from\x20JSON\x20file','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Run\x20a\x20scheduled\x20query\x20immediately','--priority\x20<priority>','Run\x20tests\x20for\x20an\x20LLM\x20agent','tables\x20[pattern]','Resume\x20activations\x20in\x20an\x20RT\x20journey','argv','schedule','Create\x20a\x20new\x20agent\x20in\x20current\x20project','--timezone\x20<tz>','-1d','Overwrite\x20local\x20changes\x20without\x20confirmation','variadic','Disable\x20a\x20workflow\x20schedule','List\x20all\x20versions\x20of\x20a\x20journey','login','Pause\x20a\x20campaign','unset\x20<resource>','push','--next','resume\x20<name-or-id>','use\x20[name]','List\x20journeys\x20in\x20current\x20context','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','addHelpText','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Email\x20template\x20management','HTML\x20template\x20content','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Create\x20a\x20new\x20LLM\x20project','--description\x20<desc>','pull\x20[name]','information_schema','split','Updated\x20description','--last','launch\x20<name-or-id>','--prompt\x20<text>','--from\x20<n>','set\x20<key=value>','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','\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','Job\x20priority\x20(-2\x20to\x202)','always-on-campaigns\x20[pattern]','List\x20available\x20connector\x20types','workflows\x20[project]','--email-sender-id\x20<id>','info\x20[segment_name]','Preview\x20composable\x20segment\x20query\x20on\x20CDW','profile','Workspace\x20description','Show\x20email\x20template\x20details','-f,\x20--file\x20<path>','traffic\x20<name-or-path>','Pull\x20workflow\x20project\x20to\x20local\x20folder','use\x20<project-name>','List\x20activations\x20for\x20a\x20journey','List\x20available\x20LLM\x20models','Set\x20operation\x20timeout\x20in\x20seconds','catch','Skip\x20population\x20counting','Show\x20agent\x20details','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Open\x20a\x20document\x20in\x20$EDITOR','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Campaign\x20description','CDP\x20Journey\x20Orchestration\x20commands','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','open\x20<name>','Include\x20all\x20items\x20(no\x20stale\x20filtering)','beefree','--dry-run','versions\x20<name-or-path>','Output\x20directory','Create\x20a\x20new\x20campaign','--allowed-ips\x20<ips>','create\x20<segment_name>','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','options','use\x20<path>','setup','Attributes\x20as\x20JSON\x20string','Validate\x20journey\x20YAML\x20files\x20locally','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','pause\x20<name-or-path>','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','trace','help','Maximum\x20recursion\x20depth\x20(default:\x2010)','Name\x20for\x20the\x20new\x20project\x20(required)','Resume\x20a\x20conversation\x20(shows\x20selector)','push\x20[parent_or_file]','Revision\x20name\x20(default:\x20timestamp)','segment','name','--json','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Attributes\x20from\x20JSON\x20file','update\x20<name>','New\x20workspace\x20name','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','--audience\x20<name>','debug','databases\x20[pattern]','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Check\x20for\x20updates\x20without\x20installing','Show\x20master\x20table\x20sample\x20data','restore\x20<folder>','Resume\x20a\x20paused\x20campaign','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','--subject\x20<subject>','duplicate\x20<name-or-id>','--master','Get\x20job\x20results','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Workspace\x20name\x20(required)','Preview\x20changes\x20without\x20writing\x20files','--max-depth\x20<depth>','215315fwncdZ','command','update\x20<name-or-id>','-c,\x20--continue','noColor','push\x20[source-dir]','--type\x20<type>','users','_hidden','stdout','Commands:','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Temperature\x20(0.0-2.0,\x20default:\x200.7)','parents\x20[pattern]','-f,\x20--force','resume\x20<name-or-path>','--jsonl','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','9TJvfdt','get','agent','List\x20all\x20available\x20profiles','connections','desc','Show\x20stats\x20for\x20specific\x20stage','registeredArguments','create\x20<name>\x20[parent_segment]','Output\x20as\x20JSON\x20Lines','chat\x20[message...]','Version\x20number\x20to\x20view','pause_activations\x20<journeyId>','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','retry','claude-4.5-sonnet','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','Continue\x20most\x20recent\x20conversation','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','--add-attributes-file\x20<file>','Segment\x20description','--customer-group\x20<json>','Run\x20Trino\x20query\x20with\x20streaming\x20results','fields\x20[parent_name]','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','--job-type\x20<type>','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','--add-attributes\x20<json>','--session-id\x20<id>','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','New\x20template\x20name','--trace','--to\x20<timestamp>','Unknown\x20action:\x20','kill\x20<job-id>','--from\x20<date>','models','\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','aliases','createAsync','hook','Kill\x20a\x20job','preview\x20[file]','pull\x20[workspace]','logLevel','map','View\x20a\x20specific\x20version\x20of\x20a\x20journey','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','push\x20[target]','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','--include-stats','--body\x20<body>','-w,\x20--web','accessToken','DEBUG','directory','Directory\x20does\x20not\x20exist:\x20','Master\x20database\x20name','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Timezone\x20for\x20cron','--enriched','Show\x20journey\x20table\x20column-to-step\x20mapping',',\x20version\x20','create','update\x20<service_id>\x20[parent_segment]','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','--default','List\x20journeys\x20(alias\x20for\x20journey\x20list)','Show\x20schedule\x20details','--editor-type\x20<type>','argument','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Setup\x20API\x20key\x20authentication\x20interactively','describe','--include-retried','--table\x20<table>','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','status','138uALOOb','tasks','--no-color','Access\x20control\x20policy\x20commands','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','End\x20time\x20filter\x20(ISO\x208601\x20format)','--assignee\x20<assignee>','description','stringify','Open\x20segment\x20in\x20web\x20browser','Generate\x20test\x20conversations\x20without\x20evaluation','Email\x20sender\x20ID\x20for\x20delivery','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','campaigns\x20[pattern]','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','Submit\x20a\x20job','Pull\x20child\x20segments\x20to\x20YAML\x20files','--params\x20<json>','Delay\x20in\x20seconds\x20before\x20execution','workspaces\x20[pattern]','logs','Move\x20to\x20folder','colorFn','--format\x20<format>','Campaign\x20type\x20(email\x20or\x20push)','list\x20[path]','finish\x20<name-or-id>','--rule-file\x20<file>','--kind\x20<type>','grapesjs','Delete\x20an\x20agent','Pull\x20specific\x20revision\x20(default:\x20latest)','includes','Database\x20name\x20(required)','delete\x20<token_id>\x20[parent_segment]','history\x20<name>','Campaign\x20name','Create\x20a\x20new\x20always-on\x20campaign','--type\x20<api_type>','1676734uYoGWA','folders\x20<parent_name>','Duplicate\x20an\x20always-on\x20campaign','journeys\x20[pattern]','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','--revision\x20<revision>','use\x20[resource]\x20[value]','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','pull\x20[project]\x20[agent-name]','Delete\x20an\x20LLM\x20project','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','move\x20<name>\x20<status>','result\x20<job-id>','-r,\x20--resume','Parent\x20folder\x20name\x20for\x20nested\x20folders','campaign','engage','--param\x20<key=value>','[task-name]','--file\x20<path>','buildTime','exit','enable\x20<id>','Custom\x20revision\x20name\x20(default:\x20timestamp)','Skip\x20validation\x20of\x20.dig\x20files','Apply\x20a\x20template','requiredOption','opts','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Include\x20raw\x20history\x20data\x20in\x20output','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','Start\x20a\x20new\x20chat\x20session','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','sql\x20[name]','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','Resume\x20from\x20specific\x20task\x20(retry)','Preview\x20without\x20creating\x20the\x20project','patch\x20<personalization_id>','statusline','Pause\x20a\x20running\x20journey','usage','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','always-on-campaign','create\x20<name-or-path>','view\x20<name-or-path>','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','Personalization\x20service\x20management','injectIntoOptions','--retry-limit\x20<0~32>','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','Cron\x20expression\x20for\x20scheduling','clone\x20[source]','--database\x20<name>','Run\x20specific\x20tests\x20(comma-separated)','list\x20[audience_name]','List\x20all\x20data\x20connections','Project\x20description','Show\x20journey\x20details','Personalization\x20description','tdx\x20','tdx','\x22.\x20Must\x20be\x20a\x20number.','use\x20[project]','llm','--result\x20<target>','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','project','-o,\x20--output\x20<file>','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','--agent\x20<ref>','Clear\x20workflow\x20project\x20context','attempts\x20[project]','[attempt-id]','engage_workspace','Job\x20management\x20commands','--template\x20<name>','length','Show\x20timeline\x20for\x20specific\x20attempt','show\x20<name-or-id>','Pause\x20an\x20always-on\x20campaign','retry\x20<session-id>','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Email\x20subject\x20template','schedules','--cron\x20<expression>','Set\x20a\x20profile\x20configuration\x20value','16996020NJwFPR','--resume-from\x20<task>','Folder\x20name\x20for\x20organization','list\x20[project]','Create\x20a\x20scheduled\x20query','subcommandDescription','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','--description\x20<text>','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','profiles','--force','--github\x20<owner/repo>','show\x20<name>','Maximum\x20tool\x20iterations\x20(default:\x204)','--max-tool-iterations\x20<n>','Folder\x20description','long','Pull\x20campaigns\x20to\x20YAML\x20files','AI-native\x20CLI\x20for\x20Treasure\x20Data','\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','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Show\x20segment\x20details\x20(alias\x20for\x20view)','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','preview\x20<segment_name>','Delivery\x20operations\x20(email\x20senders)','run\x20[name]','Retry\x20limit\x20(0\x20to\x2032)','\x20-\x20built\x20','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','isArray','-p,\x20--profile\x20<name>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','--in\x20<database>','jsonl','--clear','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','--time\x20<iso8601>','Show\x20segment\x20schema\x20(column\x20types)','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','action','Database\x20management\x20commands','list','Create\x20an\x20email\x20template','find','--engine-version\x20<version>','use\x20<name>','token','--status\x20<status>','parent-segment','--catalog\x20<catalog>','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Add\x20behaviors\x20as\x20JSON\x20string','apiKey','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','validate\x20[target]','run','Name\x20for\x20the\x20duplicated\x20campaign','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','option','Read\x20request\x20body\x20from\x20file','describe\x20[table]','--num\x20<1-10>','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Show\x20document\x20details','Enable\x20verbose\x20logging','delete\x20<project-name-or-id>','--starter-message\x20<text>','Update\x20an\x20existing\x20agent','audience','Show\x20all\x20files\x20including\x20valid\x20ones','--name\x20<new_name>','Assignee','hidden','--path\x20<file-path>','Push\x20YAML\x20files\x20to\x20CAS\x20API','stats\x20<name-or-path>','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Update\x20an\x20email\x20template','flatMap','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','--tags\x20<tags>','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','-d,\x20--database\x20<database>','Update\x20a\x20scheduled\x20query','--behavior\x20[name]','required','GET','New\x20service\x20description','Export\x20journey(s)\x20as\x20YAML\x20files','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Token\x20description','Database\x20to\x20query\x20(default:\x20information_schema)','timeline\x20[project.workflow]','commands','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','--follow','validate\x20[name]','Workflow\x20session\x20management','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','YAML\x20file\x20path\x20for\x20unpushed\x20segment','run\x20[workflow]','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','--full','769650AroVCe','Ending\x20offset\x20(default:\x2020)','stderr','--limit\x20<rows>','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','Parent\x20segment\x20description','Database\x20name\x20(default:\x20information_schema)','Add\x20attributes\x20as\x20JSON\x20string','settings\x20<type>','parent','log','Show\x20items\x20updated\x20within\x20N\x20days','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','Reason\x20for\x20killing\x20the\x20attempt','New\x20campaign\x20name','--delay\x20<seconds>','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','show\x20[name]','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','\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','site','--html-file\x20<path>','outputHelp','Show\x20what\x20would\x20be\x20written\x20without\x20writing','policy','workflow','table','--from-task\x20<task>','padEnd','-C,\x20--directory\x20<path>','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Push\x20without\x20confirmation','fields\x20[name]','Database\x20name','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','resume_activations\x20<journeyId>','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Output\x20file\x20path','pause\x20<name-or-id>','-v,\x20--verbose','Arguments:','--help','10583384XdWMjw','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Path\x20is\x20not\x20a\x20directory:\x20','\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','10619595Tlmxzf','--no-count-population','Resume\x20from\x20specific\x20task','Workflow\x20parameter\x20(repeatable)','--table','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','forEach','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','flags','--system-prompt\x20<text>','Updated\x20timezone','show\x20<policy>','show\x20<service_id>\x20[parent_segment]','connection','--public','Workflow\x20attempt\x20management','Request\x20body\x20as\x20JSON\x20string','--segment\x20<path>','Agent\x20prompt/instructions','List\x20email\x20senders','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','Workspace\x20name','Show\x20journey\x20statistics','jobs','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Result\x20output\x20destination\x20URL','senders\x20[pattern]','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','...','--attempt-id\x20<id>','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','User\x20management\x20commands','Starting\x20offset\x20(default:\x200)','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','\x20(resolved\x20to\x20','timeout','push\x20[name]','INVALID_ARGUMENT','CDP\x20segment\x20management\x20commands','[EXPERIMENTAL]\x20Show\x20chat\x20log','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','json','allowExcessArguments','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','folder','--dir\x20<dir>','--verbose','Set\x20or\x20show\x20parent\x20segment\x20context','Document\x20body\x20text','List\x20jobs','Delete\x20a\x20workspace','Behaviors\x20from\x20JSON\x20file','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','--html\x20<html>','alias','create\x20<name>','isDirectory','Skip\x20confirmation\x20prompt','parent_segment','Include\x20retried\x20attempts','Show\x20only\x20master\x20table\x20validation','--workspace\x20<name>','--tsv','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Make\x20segment\x20invisible\x20(default:\x20visible)','user','Preview\x20changes\x20without\x20pushing','gitRevision','--behaviors-file\x20<file>','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Timezone\x20for\x20cron\x20(default:\x20UTC)','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','INFO','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','upgrade','--interval\x20<range>','Update\x20a\x20realtime\x20personalization\x20entity','--temperature\x20<n>','Include\x20retried\x20attempts\x20(for\x20list)','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','kill','New\x20segment\x20name','--data\x20<data>','-y,\x20--yes','upload\x20[project-name-or-dir]','--reason\x20<text>','--attributes\x20<json>','create\x20<parent_name>\x20<folder_name>','--name\x20<names>','Delete\x20an\x20email\x20template','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','journey','--model\x20<name>','Authentication\x20management','--limit\x20<number>','Workflow\x20(Digdag)\x20management\x20commands','templates\x20[pattern]','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','view\x20[segment_name]','Output\x20file\x20path\x20(default:\x20<name>.yml)','claude\x20[args...]'];a2_0x4f2c=function(){return _0x20e724;};return a2_0x4f2c();}async function createTDXInstance(_0x149e57){const _0x536507=a2_0x24e9b5,_0x4e7a0f=await GlobalContext[_0x536507(0x17e)](_0x149e57);_0x4e7a0f[_0x536507(0x1ff)](_0x149e57);const _0x71b1ca=Number(_0x149e57[_0x536507(0x2e6)]),_0x26981=!isNaN(_0x71b1ca)&&_0x71b1ca>0x0?_0x71b1ca*0x3e8:undefined;return TDX[_0x536507(0x196)]({'site':_0x4e7a0f[_0x536507(0x2a8)],'apiKey':_0x4e7a0f[_0x536507(0x25e)],'accessToken':_0x4e7a0f[_0x536507(0x18c)],'logLevel':_0x4e7a0f[_0x536507(0x183)],'profile':_0x4e7a0f[_0x536507(0x41f)],'timeout':_0x26981});}const databaseCmd=program[a2_0x24e9b5(0x466)]('database')[a2_0x24e9b5(0x2f9)]('db')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x252)),databaseListAction=async(_0x5a0260,_0x20e39a)=>{const _0x34609a=a2_0x24e9b5,_0x3df99e=new DatabasesCommand(),_0x335aac=program['opts'](),_0x5ea147=await createTDXInstance(_0x335aac),_0x5ee382=await _0x3df99e[_0x34609a(0x261)]({'options':{..._0x335aac,..._0x20e39a},'args':_0x5a0260?[_0x5a0260]:[],'tdx':_0x5ea147});gracefulExit(_0x5ee382);};databaseCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x3db))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x297))['action'](databaseListAction),program['command'](a2_0x24e9b5(0x456),{'hidden':!![]})['description'](a2_0x24e9b5(0x3a1))[a2_0x24e9b5(0x251)](databaseListAction),program['command'](a2_0x24e9b5(0x15f))[a2_0x24e9b5(0x1ae)]('Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)')['option'](a2_0x24e9b5(0x218),a2_0x24e9b5(0x461))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x37c),a2_0x24e9b5(0x1ed))[a2_0x24e9b5(0x264)]('--chat-id\x20<id>',a2_0x24e9b5(0x3e0))[a2_0x24e9b5(0x264)]('--stream',a2_0x24e9b5(0x279))[a2_0x24e9b5(0x251)](async(_0x12def6,_0x22d85a)=>{const _0x500341=a2_0x24e9b5,_0x3ea022=program[_0x500341(0x1e9)](),_0x332335=await createTDXInstance(_0x3ea022);if(_0x12def6[0x0]==='create'){const _0x254923=new ChatCreateCommand();gracefulExit(await _0x254923['run']({'options':{..._0x3ea022,..._0x22d85a},'args':_0x12def6[_0x500341(0x3df)](0x1),'tdx':_0x332335}));return;}const _0x3c9645=new ChatCommand(),_0x48e6d5=await _0x3c9645[_0x500341(0x261)]({'options':{..._0x3ea022,..._0x22d85a},'args':_0x12def6,'tdx':_0x332335});gracefulExit(_0x48e6d5);});const apiCmd=program[a2_0x24e9b5(0x466)]('api\x20[endpoint]')['summary']('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs')['addHelpText'](a2_0x24e9b5(0x368),a2_0x24e9b5(0x2a7))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x3bf),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a2_0x24e9b5(0x280))['option'](a2_0x24e9b5(0x318),a2_0x24e9b5(0x2d3))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x422),a2_0x24e9b5(0x265))[a2_0x24e9b5(0x264)]('-H,\x20--header\x20<header>',a2_0x24e9b5(0x27b),(_0x3da8fa,_0x30900f)=>{return _0x30900f?[..._0x30900f,_0x3da8fa]:[_0x3da8fa];})[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x1cd),'API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')[a2_0x24e9b5(0x251)](async(_0x40aaeb,_0x11e2b4)=>{const _0x2d3956=a2_0x24e9b5;if(!_0x40aaeb){apiCmd[_0x2d3956(0x445)]();return;}const _0x56982d=new ApiCommand(),_0x1371d1=program[_0x2d3956(0x1e9)](),_0x2326d3=await createTDXInstance(_0x1371d1),_0x1dafe4=await _0x56982d[_0x2d3956(0x261)]({'options':{..._0x1371d1,..._0x11e2b4},'args':[_0x40aaeb],'tdx':_0x2326d3});gracefulExit(_0x1dafe4);});program[a2_0x24e9b5(0x466)]('mcp')['description']('Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration')[a2_0x24e9b5(0x406)](a2_0x24e9b5(0x368),a2_0x24e9b5(0x360))[a2_0x24e9b5(0x251)](async _0x2245ce=>{const _0x22fc94=a2_0x24e9b5,_0x4a5cc0=new MCPCommand(),_0x2bc5e9=program[_0x22fc94(0x1e9)](),_0x5ddad1=await createTDXInstance(_0x2bc5e9),_0x5b2be0=await _0x4a5cc0[_0x22fc94(0x261)]({'options':{..._0x2bc5e9,..._0x2245ce},'args':[],'tdx':_0x5ddad1});gracefulExit(_0x5b2be0);});const tableCmd=program['command']('table')[a2_0x24e9b5(0x1ae)]('Table\x20management\x20commands'),tableListAction=async(_0x59eae4,_0x2aa0d6)=>{const _0x41198e=a2_0x24e9b5,_0x323c87=new TablesCommand(),_0x428959=program[_0x41198e(0x1e9)](),_0x4b89ea=await createTDXInstance(_0x428959);_0x2aa0d6['in']&&(_0x2aa0d6[_0x41198e(0x366)]=_0x2aa0d6['in']);const _0x213c06=await _0x323c87[_0x41198e(0x261)]({'options':{..._0x428959,..._0x2aa0d6},'args':_0x59eae4?[_0x59eae4]:[],'tdx':_0x4b89ea});gracefulExit(_0x213c06);};tableCmd[a2_0x24e9b5(0x466)]('list\x20[pattern]')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x30b))[a2_0x24e9b5(0x264)]('-d,\x20--database\x20<database>',a2_0x24e9b5(0x36c))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x24a),a2_0x24e9b5(0x33e))[a2_0x24e9b5(0x251)](tableListAction),program[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x3f2),{'hidden':!![]})[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x3b8))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x27c),a2_0x24e9b5(0x36c))['option'](a2_0x24e9b5(0x24a),a2_0x24e9b5(0x33e))[a2_0x24e9b5(0x251)](tableListAction),program['command'](a2_0x24e9b5(0x373))[a2_0x24e9b5(0x1ae)]('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')['option'](a2_0x24e9b5(0x27c),a2_0x24e9b5(0x249))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x24a),a2_0x24e9b5(0x33e))[a2_0x24e9b5(0x251)](async(_0x5ca5ef,_0x56ea87)=>{const _0x2c3f3d=a2_0x24e9b5,_0x2a50e4=new ShowCommand(),_0x3c09ad=program[_0x2c3f3d(0x1e9)](),_0x225f38=await createTDXInstance(_0x3c09ad);_0x56ea87['in']&&(_0x56ea87[_0x2c3f3d(0x366)]=_0x56ea87['in']);const _0x1fd9ac=await _0x2a50e4[_0x2c3f3d(0x261)]({'options':{..._0x3c09ad,..._0x56ea87},'args':_0x5ca5ef?[_0x5ca5ef]:[],'tdx':_0x225f38});gracefulExit(_0x1fd9ac);}),program[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x266))['alias'](a2_0x24e9b5(0x47d))[a2_0x24e9b5(0x1ae)]('Describe\x20table\x20schema')[a2_0x24e9b5(0x264)]('-d,\x20--database\x20<database>',a2_0x24e9b5(0x249))['option'](a2_0x24e9b5(0x24a),a2_0x24e9b5(0x33e))['action'](async(_0xbb4f07,_0x320b6b)=>{const _0x7967d0=a2_0x24e9b5,_0x3350b6=new DescribeCommand(),_0x23f976=program[_0x7967d0(0x1e9)](),_0x24846c=await createTDXInstance(_0x23f976);_0x320b6b['in']&&(_0x320b6b['database']=_0x320b6b['in']);const _0x4229c1=await _0x3350b6['run']({'options':{..._0x23f976,..._0x320b6b},'args':_0xbb4f07?[_0xbb4f07]:[],'tdx':_0x24846c});gracefulExit(_0x4229c1);}),program[a2_0x24e9b5(0x466)]('query\x20[sql]')['description'](a2_0x24e9b5(0x16c))['option'](a2_0x24e9b5(0x27c),a2_0x24e9b5(0x286))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x24a),a2_0x24e9b5(0x33e))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x25b),'Trino\x20catalog\x20(default:\x20td)')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x422),'Read\x20SQL\x20query\x20from\x20file')['option'](a2_0x24e9b5(0x296),a2_0x24e9b5(0x33f))[a2_0x24e9b5(0x251)](async(_0xce3438,_0x2689fa)=>{const _0x19565e=a2_0x24e9b5,_0xa823a2=new QueryCommand(),_0x3e35c4=program['opts'](),_0x58dbd4=await createTDXInstance(_0x3e35c4);_0x2689fa['in']&&(_0x2689fa[_0x19565e(0x366)]=_0x2689fa['in']);const _0xb6dde9=await _0xa823a2[_0x19565e(0x261)]({'options':mergeCommandOptions(_0x3e35c4,_0x2689fa),'args':_0xce3438?[_0xce3438]:[],'tdx':_0x58dbd4});gracefulExit(_0xb6dde9);});const segmentCmd=program['command'](a2_0x24e9b5(0x44b))[a2_0x24e9b5(0x2f9)]('sg')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x2e9)),segmentListAction=async(_0x505332,_0x173471)=>{const _0x3d2b53=a2_0x24e9b5,_0x42eced=new SegmentsCommand(),_0x236e0a=program['opts'](),_0x2ec5e5=await createTDXInstance(_0x236e0a),_0x186d6c=await _0x42eced[_0x3d2b53(0x261)]({'options':{..._0x236e0a,..._0x173471},'args':_0x505332?[_0x505332]:[],'tdx':_0x2ec5e5});gracefulExit(_0x186d6c);};segmentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x1c0))['description']('List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context')['option'](a2_0x24e9b5(0x38e),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x464),a2_0x24e9b5(0x446),'10')[a2_0x24e9b5(0x251)](segmentListAction),program[a2_0x24e9b5(0x466)]('segments\x20[path]',{'hidden':!![]})[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x1f0))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x38e),a2_0x24e9b5(0x1f7))['option'](a2_0x24e9b5(0x464),a2_0x24e9b5(0x446),'10')['action'](segmentListAction),segmentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x43d),{'hidden':!![]})[a2_0x24e9b5(0x1ae)]('[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)')['action'](async(_0x5bdf3f,_0x5af81e)=>{const _0x2920ff=a2_0x24e9b5,_0x563043=new SegmentUseCommand(),_0x2d77f4=program[_0x2920ff(0x1e9)](),_0x77bea6=await createTDXInstance(_0x2d77f4),_0x5cc083=await _0x563043[_0x2920ff(0x261)]({'options':{..._0x2d77f4,..._0x5af81e},'args':[_0x5bdf3f],'tdx':_0x77bea6});gracefulExit(_0x5cc083);});const segmentViewAction=async(_0x2e96f1,_0x5c7fbc)=>{const _0x2c9ed1=a2_0x24e9b5,_0x2dc82a=new SegmentViewCommand(),_0x58ee25=program[_0x2c9ed1(0x1e9)](),_0x3101eb=await createTDXInstance(_0x58ee25),_0x54707f=await _0x2dc82a[_0x2c9ed1(0x261)]({'options':{..._0x58ee25,..._0x5c7fbc},'args':_0x2e96f1?[_0x2e96f1]:[],'tdx':_0x3101eb});gracefulExit(_0x54707f);};segmentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x328))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x16e))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x18b),'Open\x20segment\x20in\x20web\x20browser')[a2_0x24e9b5(0x251)](segmentViewAction),segmentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x41d),{'hidden':!![]})[a2_0x24e9b5(0x2f9)](a2_0x24e9b5(0x1a2))[a2_0x24e9b5(0x264)]('-w,\x20--web',a2_0x24e9b5(0x1b0))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x23e))[a2_0x24e9b5(0x251)](segmentViewAction),segmentCmd[a2_0x24e9b5(0x466)]('desc\x20[segment_name]')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x24f))['action'](async(_0x358248,_0x5d0582)=>{const _0x10d52b=a2_0x24e9b5,_0xa652ac=new SegmentDescCommand(),_0x50eb61=program['opts'](),_0x257bab=await createTDXInstance(_0x50eb61),_0x28dcd1=await _0xa652ac[_0x10d52b(0x261)]({'options':{..._0x50eb61,..._0x5d0582},'args':_0x358248?[_0x358248]:[],'tdx':_0x257bab});gracefulExit(_0x28dcd1);}),segmentCmd[a2_0x24e9b5(0x466)]('show\x20[segment_name]')['description'](a2_0x24e9b5(0x3e2))['action'](async(_0x4018d8,_0x1524aa)=>{const _0x19fcb5=a2_0x24e9b5,_0x8055b6=new SegmentShowCommand(),_0xfb0a8b=program[_0x19fcb5(0x1e9)](),_0x13b0d9=await createTDXInstance(_0xfb0a8b),_0x50fa30=await _0x8055b6[_0x19fcb5(0x261)]({'options':{..._0xfb0a8b,..._0x1524aa},'args':_0x4018d8?[_0x4018d8]:[],'tdx':_0x13b0d9});gracefulExit(_0x50fa30);}),segmentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x1cf),{'hidden':!![]})[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x24d))['action'](async(_0x5b7167,_0x5e2a2f)=>{const _0x93eb79=a2_0x24e9b5,_0x205b79=new SegmentFolderListCommand(),_0x4f620a=program['opts'](),_0x21d5f7=await createTDXInstance(_0x4f620a),_0x11c7fb=await _0x205b79[_0x93eb79(0x261)]({'options':{..._0x4f620a,..._0x5e2a2f},'args':[_0x5b7167],'tdx':_0x21d5f7});gracefulExit(_0x11c7fb);});const folderCmd=segmentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x2ef),{'hidden':!![]})[a2_0x24e9b5(0x1ae)]('[DEPRECATED]\x20Segment\x20folder\x20management');folderCmd[a2_0x24e9b5(0x466)]('show\x20<folder_ref>')[a2_0x24e9b5(0x1ae)]('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')[a2_0x24e9b5(0x251)](async(_0x317c5b,_0x3a3422)=>{const _0x33ce1c=a2_0x24e9b5,_0x53ab7c=new SegmentFolderShowCommand(),_0x325bfe=program['opts'](),_0x19a847=await createTDXInstance(_0x325bfe),_0xd5ffd6=await _0x53ab7c[_0x33ce1c(0x261)]({'options':{..._0x325bfe,..._0x3a3422},'args':[_0x317c5b],'tdx':_0x19a847});gracefulExit(_0xd5ffd6);}),segmentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x357))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x1b5))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x273),a2_0x24e9b5(0x28f))[a2_0x24e9b5(0x251)](async(_0x39fe0c,_0x2f7021)=>{const _0x54e06e=a2_0x24e9b5,_0xe77661=new SegmentSQLCommand(),_0x35a3ba=program[_0x54e06e(0x1e9)](),_0x55ed3e=await createTDXInstance(_0x35a3ba),_0x9d765=await _0xe77661[_0x54e06e(0x261)]({'options':{..._0x35a3ba,..._0x2f7021},'args':_0x39fe0c?[_0x39fe0c]:[],'tdx':_0x55ed3e});gracefulExit(_0x9d765);}),segmentCmd['command'](a2_0x24e9b5(0x16d))['description'](a2_0x24e9b5(0x28e))['action'](async(_0x49147e,_0x81d967)=>{const _0x4f074d=new SegmentFieldsCommand(),_0x144f4a=program['opts'](),_0xfb660e=await createTDXInstance(_0x144f4a),_0x4bdca8=await _0x4f074d['run']({'options':{..._0x144f4a,..._0x81d967},'args':_0x49147e?[_0x49147e]:[],'tdx':_0xfb660e});gracefulExit(_0x4bdca8);}),segmentCmd[a2_0x24e9b5(0x466)]('pull\x20[parent_or_file]')['description'](a2_0x24e9b5(0x1b7))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x435),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x24e9b5(0x251)](async(_0x142e4b,_0x535893)=>{const _0x138782=a2_0x24e9b5,_0x71c2e5=new SegmentPullCommand(),_0x538b27=program[_0x138782(0x1e9)](),_0x207798=await createTDXInstance(_0x538b27),_0x7decb5=await _0x71c2e5[_0x138782(0x261)]({'options':{..._0x538b27,..._0x535893},'args':_0x142e4b?[_0x142e4b]:[],'tdx':_0x207798});gracefulExit(_0x7decb5);}),segmentCmd['command'](a2_0x24e9b5(0x449))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x327))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x435),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')['option'](a2_0x24e9b5(0x32f),a2_0x24e9b5(0x3ed))['action'](async(_0x4dc9ab,_0x9a15b4)=>{const _0x2d1a50=a2_0x24e9b5,_0x573cef=new SegmentPushCommand(),_0x2db70e=program[_0x2d1a50(0x1e9)](),_0x54e181=await createTDXInstance(_0x2db70e),_0x426b74=await _0x573cef[_0x2d1a50(0x261)]({'options':{..._0x2db70e,..._0x9a15b4},'args':_0x4dc9ab?[_0x4dc9ab]:[],'tdx':_0x54e181});gracefulExit(_0x426b74);}),segmentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x260))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x30e))[a2_0x24e9b5(0x251)](async(_0x33919b,_0x37c3f9)=>{const _0x1325e9=a2_0x24e9b5,_0x5d60a1=new SegmentValidateCommand(),_0x595a05=program[_0x1325e9(0x1e9)](),_0x352451=await createTDXInstance(_0x595a05),_0x8af84d=await _0x5d60a1[_0x1325e9(0x261)]({'options':{..._0x595a05,..._0x37c3f9},'args':_0x33919b?[_0x33919b]:[],'tdx':_0x352451});gracefulExit(_0x8af84d);}),segmentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x43a),{'hidden':!![]})[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x2f7))[a2_0x24e9b5(0x264)]('--description\x20<text>',a2_0x24e9b5(0x16a))['option'](a2_0x24e9b5(0x35c),a2_0x24e9b5(0x3ae))['option']('--rule-file\x20<file>',a2_0x24e9b5(0x3a8))[a2_0x24e9b5(0x264)]('--folder\x20<name>',a2_0x24e9b5(0x22b))[a2_0x24e9b5(0x264)]('--kind\x20<type>',a2_0x24e9b5(0x2eb))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x3b0),a2_0x24e9b5(0x304))['option'](a2_0x24e9b5(0x2c3),a2_0x24e9b5(0x42a))[a2_0x24e9b5(0x251)](async(_0x3e3bf8,_0x3ca695)=>{const _0x1fa84f=a2_0x24e9b5,_0x488d39=new SegmentCreateCommand(),_0x3d7fca=program[_0x1fa84f(0x1e9)](),_0x3368b9=await createTDXInstance(_0x3d7fca),_0x2f23ff=await _0x488d39[_0x1fa84f(0x261)]({'options':{..._0x3d7fca,..._0x3ca695},'args':[_0x3e3bf8],'tdx':_0x3368b9});gracefulExit(_0x2f23ff);}),segmentCmd[a2_0x24e9b5(0x466)]('update\x20<segment_name>',{'hidden':!![]})[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x42e))['option'](a2_0x24e9b5(0x270),a2_0x24e9b5(0x317))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x230),a2_0x24e9b5(0x410))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x35c),'Updated\x20filtering\x20rule\x20as\x20JSON\x20string')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x1c2),a2_0x24e9b5(0x350))['option'](a2_0x24e9b5(0x3e7),a2_0x24e9b5(0x1bc))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x1c3),a2_0x24e9b5(0x2eb))[a2_0x24e9b5(0x251)](async(_0x112f74,_0x12c654)=>{const _0x58acab=a2_0x24e9b5,_0x3098fa=new SegmentUpdateCommand(),_0x5c5e7d=program[_0x58acab(0x1e9)](),_0x4f5ac5=await createTDXInstance(_0x5c5e7d),_0x42bf71=await _0x3098fa[_0x58acab(0x261)]({'options':{..._0x5c5e7d,..._0x12c654},'args':[_0x112f74],'tdx':_0x4f5ac5});gracefulExit(_0x42bf71);});const parentCmd=segmentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x29d),{'hidden':!![]})[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x471)),parentListAction=async(_0x223be1,_0x1a2d96)=>{const _0x509644=a2_0x24e9b5,_0x25bb94=new ParentSegmentListCommand(),_0x436fcc=program[_0x509644(0x1e9)](),_0x3a2a01=await createTDXInstance(_0x436fcc),_0x189019=await _0x25bb94[_0x509644(0x261)]({'options':{..._0x436fcc,..._0x1a2d96},'args':_0x223be1?[_0x223be1]:[],'tdx':_0x3a2a01});gracefulExit(_0x189019);};parentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x3db))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x335))[a2_0x24e9b5(0x251)](parentListAction),segmentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x473),{'hidden':!![]})[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x392))['action'](parentListAction),parentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x40d))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x3d0))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x214),a2_0x24e9b5(0x329))[a2_0x24e9b5(0x251)](async(_0x5a3f9d,_0x115605)=>{const _0xd63ba5=a2_0x24e9b5,_0x4ed108=new ParentSegmentPullCommand(),_0x219cc0=program[_0xd63ba5(0x1e9)](),_0x695944=await createTDXInstance(_0x219cc0),_0x238a42=await _0x4ed108[_0xd63ba5(0x261)]({'options':{..._0x219cc0,..._0x115605},'args':_0x5a3f9d?[_0x5a3f9d]:[],'tdx':_0x695944});gracefulExit(_0x238a42);}),parentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x374))[a2_0x24e9b5(0x1ae)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file')['action'](async(_0x3735e6,_0x4bdafd)=>{const _0x2ce5d3=a2_0x24e9b5,_0x142fde=new ParentSegmentPushCommand(),_0x54f107=program[_0x2ce5d3(0x1e9)](),_0x301f7a=await createTDXInstance(_0x54f107),_0x38eecf=await _0x142fde[_0x2ce5d3(0x261)]({'options':{..._0x54f107,..._0x4bdafd},'args':_0x3735e6?[_0x3735e6]:[],'tdx':_0x301f7a});gracefulExit(_0x38eecf);}),parentCmd[a2_0x24e9b5(0x466)]('validate\x20[file]')['description'](a2_0x24e9b5(0x361))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x45f),'Show\x20only\x20master\x20table\x20validation')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x39c),a2_0x24e9b5(0x40a))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x27e),a2_0x24e9b5(0x216))['option']('--enriched',a2_0x24e9b5(0x391))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x310),a2_0x24e9b5(0x395),a2_0x24e9b5(0x3f8))['action'](async(_0x3ae3fc,_0x36bcf6)=>{const _0x20aae7=a2_0x24e9b5,_0x4e42f5=new ParentSegmentValidateCommand(),_0x17e654=program[_0x20aae7(0x1e9)](),_0x5bc9c1=await createTDXInstance(_0x17e654),_0x50d9af=await _0x4e42f5[_0x20aae7(0x261)]({'options':{..._0x17e654,..._0x36bcf6},'args':_0x3ae3fc?[_0x3ae3fc]:[],'tdx':_0x5bc9c1});gracefulExit(_0x50d9af);}),parentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x181))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x42c))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x45f),a2_0x24e9b5(0x459))['option'](a2_0x24e9b5(0x39c),a2_0x24e9b5(0x2db))['option'](a2_0x24e9b5(0x27e),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x193),a2_0x24e9b5(0x365))[a2_0x24e9b5(0x264)]('--interval\x20<range>',a2_0x24e9b5(0x395),a2_0x24e9b5(0x3f8))[a2_0x24e9b5(0x251)](async(_0x4d5f12,_0x42c1bc)=>{const _0xcab33e=a2_0x24e9b5,_0x20ab19=new ParentSegmentPreviewCommand(),_0x4baa9e=program[_0xcab33e(0x1e9)](),_0x184aba=await createTDXInstance(_0x4baa9e),_0x1b213d=await _0x20ab19['run']({'options':{..._0x4baa9e,..._0x42c1bc},'args':_0x4d5f12?[_0x4d5f12]:[],'tdx':_0x184aba});gracefulExit(_0x1b213d);}),parentCmd['command'](a2_0x24e9b5(0x243))['description']('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')['action'](async(_0x3c05cb,_0x446609)=>{const _0x44bd78=a2_0x24e9b5,_0x550881=new ParentSegmentRunCommand(),_0x52e504=program[_0x44bd78(0x1e9)](),_0x276460=await createTDXInstance(_0x52e504),_0xc030ef=await _0x550881[_0x44bd78(0x261)]({'options':{..._0x52e504,..._0x446609},'args':_0x3c05cb?[_0x3c05cb]:[],'tdx':_0x276460});gracefulExit(_0xc030ef);});const parentSegmentCmd=program['command'](a2_0x24e9b5(0x25a))[a2_0x24e9b5(0x2f9)]('ps')['description']('Parent\x20segment\x20management');parentSegmentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x3db))['description']('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')['action'](parentListAction),parentSegmentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x40d))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x167))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x214),a2_0x24e9b5(0x2b9))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x36d),'Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')[a2_0x24e9b5(0x251)](async(_0xa772f9,_0x1b1df5)=>{const _0x3e996b=a2_0x24e9b5,_0x233f24=new ParentSegmentPullCommand(),_0x494e95=program[_0x3e996b(0x1e9)](),_0x40f23d=await createTDXInstance(_0x494e95),_0x3ce986=await _0x233f24[_0x3e996b(0x261)]({'options':{..._0x494e95,..._0x1b1df5},'args':_0xa772f9?[_0xa772f9]:[],'tdx':_0x40f23d});gracefulExit(_0x3ce986);}),parentSegmentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x2e7))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x407))[a2_0x24e9b5(0x251)](async(_0x2a7213,_0x20b507)=>{const _0x132069=a2_0x24e9b5,_0x437571=new ParentSegmentPushCommand(),_0x2c86ce=program['opts'](),_0x4dac12=await createTDXInstance(_0x2c86ce),_0x53bd66=await _0x437571[_0x132069(0x261)]({'options':{..._0x2c86ce,..._0x20b507},'args':_0x2a7213?[_0x2a7213]:[],'tdx':_0x4dac12});gracefulExit(_0x53bd66);}),parentSegmentCmd[a2_0x24e9b5(0x466)]('validate\x20[name]')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x361))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x45f),a2_0x24e9b5(0x2ff))[a2_0x24e9b5(0x264)]('--attribute\x20[name]',a2_0x24e9b5(0x40a))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x27e),a2_0x24e9b5(0x216))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x193),a2_0x24e9b5(0x391))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x310),a2_0x24e9b5(0x395),a2_0x24e9b5(0x3f8))['action'](async(_0x20b527,_0x1dfaa9)=>{const _0x5169de=a2_0x24e9b5,_0x5ad333=new ParentSegmentValidateCommand(),_0x30a720=program[_0x5169de(0x1e9)](),_0x58afc2=await createTDXInstance(_0x30a720),_0x555dae=await _0x5ad333['run']({'options':{..._0x30a720,..._0x1dfaa9},'args':_0x20b527?[_0x20b527]:[],'tdx':_0x58afc2});gracefulExit(_0x555dae);}),parentSegmentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x387))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x42c))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x45f),a2_0x24e9b5(0x459))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x39c),a2_0x24e9b5(0x2db))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x27e),a2_0x24e9b5(0x1a5))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x193),a2_0x24e9b5(0x365))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x310),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x24e9b5(0x3f8))[a2_0x24e9b5(0x251)](async(_0x2e483e,_0x5a1c88)=>{const _0x42acfb=a2_0x24e9b5,_0x75a4e8=new ParentSegmentPreviewCommand(),_0xbd48d6=program['opts'](),_0x5c4ed1=await createTDXInstance(_0xbd48d6),_0x8923e6=await _0x75a4e8[_0x42acfb(0x261)]({'options':{..._0xbd48d6,..._0x5a1c88},'args':_0x2e483e?[_0x2e483e]:[],'tdx':_0x5c4ed1});gracefulExit(_0x8923e6);}),parentSegmentCmd['command'](a2_0x24e9b5(0x243))['description'](a2_0x24e9b5(0x470))[a2_0x24e9b5(0x251)](async(_0x4408bd,_0x4e5180)=>{const _0xfd4a90=a2_0x24e9b5,_0x28b180=new ParentSegmentRunCommand(),_0x56c0ef=program[_0xfd4a90(0x1e9)](),_0xe5dcf6=await createTDXInstance(_0x56c0ef),_0x57e3f4=await _0x28b180[_0xfd4a90(0x261)]({'options':{..._0x56c0ef,..._0x4e5180},'args':_0x4408bd?[_0x4408bd]:[],'tdx':_0xe5dcf6});gracefulExit(_0x57e3f4);}),parentSegmentCmd['command'](a2_0x24e9b5(0x2b4))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x263))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x44d),a2_0x24e9b5(0x3b9))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x476),a2_0x24e9b5(0x15e))[a2_0x24e9b5(0x251)](async(_0x35865c,_0x53e723)=>{const _0x16b975=a2_0x24e9b5,_0x2290b3=new ParentSegmentFieldsCommand(),_0x4f4ee2=program[_0x16b975(0x1e9)](),_0x403e08=await createTDXInstance(_0x4f4ee2),_0x7f91=await _0x2290b3[_0x16b975(0x261)]({'options':{..._0x4f4ee2,..._0x53e723},'args':_0x35865c?[_0x35865c]:[],'tdx':_0x403e08});gracefulExit(_0x7f91);}),parentSegmentCmd[a2_0x24e9b5(0x466)]('view\x20[name]')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x457))['option']('-w,\x20--web','Open\x20parent\x20segment\x20in\x20web\x20browser')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x44d),'Output\x20as\x20JSON')[a2_0x24e9b5(0x264)]('--jsonl',a2_0x24e9b5(0x15e))['action'](async(_0x3db999,_0x1a9140)=>{const _0x22b3dc=a2_0x24e9b5,_0x3be4e=new ParentSegmentViewCommand(),_0x206388=program[_0x22b3dc(0x1e9)](),_0x17e539=await createTDXInstance(_0x206388),_0x1ea206=await _0x3be4e[_0x22b3dc(0x261)]({'options':{..._0x206388,..._0x1a9140},'args':_0x3db999?[_0x3db999]:[],'tdx':_0x17e539});gracefulExit(_0x1ea206);}),parentSegmentCmd[a2_0x24e9b5(0x466)]('desc\x20[name]')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x1ec))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x214),a2_0x24e9b5(0x2b9))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x44d),a2_0x24e9b5(0x3b9))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x476),a2_0x24e9b5(0x15e))['action'](async(_0x7ec445,_0x1acc47)=>{const _0x2e6a26=a2_0x24e9b5,_0xa01fcf=new ParentSegmentDescCommand(),_0x544afc=program[_0x2e6a26(0x1e9)](),_0x322d5a=await createTDXInstance(_0x544afc),_0x165e62=await _0xa01fcf['run']({'options':{..._0x544afc,..._0x1acc47},'args':_0x7ec445?[_0x7ec445]:[],'tdx':_0x322d5a});gracefulExit(_0x165e62);}),parentSegmentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x1ef))[a2_0x24e9b5(0x1ae)]('Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x44d),a2_0x24e9b5(0x3b9))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x476),a2_0x24e9b5(0x15e))[a2_0x24e9b5(0x251)](async(_0x2bac87,_0x504637)=>{const _0x17b265=a2_0x24e9b5,_0x1c7df0=new ParentSegmentSQLCommand(),_0x57ea51=program['opts'](),_0x43a859=await createTDXInstance(_0x57ea51),_0x1d5705=await _0x1c7df0[_0x17b265(0x261)]({'options':{..._0x57ea51,..._0x504637},'args':_0x2bac87?[_0x2bac87]:[],'tdx':_0x43a859});gracefulExit(_0x1d5705);}),parentSegmentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x2a5))[a2_0x24e9b5(0x1ae)]('Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x24e9b5(0x352),a2_0x24e9b5(0x398))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x44d),a2_0x24e9b5(0x3b9))['option'](a2_0x24e9b5(0x476),a2_0x24e9b5(0x15e))[a2_0x24e9b5(0x251)](async(_0xa8e41e,_0x4386d4)=>{const _0x4c8e5c=a2_0x24e9b5,_0x4b1a7f=new ParentSegmentShowCommand(),_0x147b81=program[_0x4c8e5c(0x1e9)](),_0x29be68=await createTDXInstance(_0x147b81),_0x2e533c=await _0x4b1a7f[_0x4c8e5c(0x261)]({'options':{..._0x147b81,..._0x4386d4},'args':_0xa8e41e?[_0xa8e41e]:[],'tdx':_0x29be68});gracefulExit(_0x2e533c);}),parentSegmentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x403))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x2f2))[a2_0x24e9b5(0x251)](async(_0x1c409f,_0x473111)=>{const _0x49cd6f=a2_0x24e9b5,_0x29c594=new UseCommand(),_0x170ff7=program[_0x49cd6f(0x1e9)](),_0x1a27c6=_0x1c409f?[_0x49cd6f(0x2fd),_0x1c409f]:[],_0x5bbbf6=await _0x29c594[_0x49cd6f(0x261)]({'options':{..._0x170ff7,..._0x473111},'args':_0x1a27c6,'tdx':null});gracefulExit(_0x5bbbf6);});const psRtCmd=parentSegmentCmd[a2_0x24e9b5(0x466)]('rt')['description'](a2_0x24e9b5(0x356));psRtCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x3db))['description']('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0x24e9b5(0x251)](async(_0x49bf87,_0x3f748e)=>{const _0x36aed2=a2_0x24e9b5,_0x1543fe=new PSRtListCommand(),_0x3a1b99=program[_0x36aed2(0x1e9)](),_0x1e5434=await createTDXInstance(_0x3a1b99),_0x523e4f=await _0x1543fe[_0x36aed2(0x261)]({'options':{..._0x3a1b99,..._0x3f748e},'args':_0x49bf87?[_0x49bf87]:[],'tdx':_0x1e5434});gracefulExit(_0x523e4f);}),psRtCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x28c))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x36b))['action'](async(_0x1a6940,_0x4293ed)=>{const _0x47f28f=a2_0x24e9b5,_0x4a6347=new PSRtValidateCommand(),_0x5e579d=program[_0x47f28f(0x1e9)](),_0x382d7f=await createTDXInstance(_0x5e579d),_0x467a3b=await _0x4a6347[_0x47f28f(0x261)]({'options':{..._0x5e579d,..._0x4293ed},'args':_0x1a6940?[_0x1a6940]:[],'tdx':_0x382d7f});gracefulExit(_0x467a3b);}),psRtCmd[a2_0x24e9b5(0x466)]('configuration_versions\x20[name]')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x353))['action'](async(_0xad94c1,_0x47c2f8)=>{const _0xa75217=a2_0x24e9b5,_0x19ec0b=new PSRtConfigVersionCommand(),_0x2daf5e=program[_0xa75217(0x1e9)](),_0x288446=await createTDXInstance(_0x2daf5e),_0x338179=await _0x19ec0b['run']({'options':{..._0x2daf5e,..._0x47c2f8},'args':_0xad94c1?[_0xad94c1]:[],'tdx':_0x288446});gracefulExit(_0x338179);});const psRtJnCmd=psRtCmd[a2_0x24e9b5(0x466)]('jn')[a2_0x24e9b5(0x1ae)]('RT\x20Journey\x20management');psRtJnCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x3c7))[a2_0x24e9b5(0x1ae)]('List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x24e9b5(0x251)](async(_0x3fc9b5,_0x4a406f)=>{const _0x5e6e16=a2_0x24e9b5,_0x3a6444=new PSRtJnListCommand(),_0x25e912=program[_0x5e6e16(0x1e9)](),_0x131359=await createTDXInstance(_0x25e912),_0x58bcf6=await _0x3a6444['run']({'options':{..._0x25e912,..._0x4a406f},'args':_0x3fc9b5?[_0x3fc9b5]:[],'tdx':_0x131359});gracefulExit(_0x58bcf6);}),psRtJnCmd['command'](a2_0x24e9b5(0x161))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x3a3))[a2_0x24e9b5(0x251)](async(_0x2b50a3,_0x47a18c)=>{const _0x508858=a2_0x24e9b5,_0x438223=new PSRtJnPauseCommand(),_0x3516e0=program[_0x508858(0x1e9)](),_0x38ef6b=await createTDXInstance(_0x3516e0),_0x25ac63=await _0x438223['run']({'options':{..._0x3516e0,..._0x47a18c},'args':[_0x2b50a3],'tdx':_0x38ef6b});gracefulExit(_0x25ac63);}),psRtJnCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x2b7))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x3f3))['action'](async(_0x17dac8,_0x2996b7)=>{const _0x6d3da6=a2_0x24e9b5,_0x477cd2=new PSRtJnResumeCommand(),_0xc3f76c=program[_0x6d3da6(0x1e9)](),_0x1a818a=await createTDXInstance(_0xc3f76c),_0x81ce21=await _0x477cd2[_0x6d3da6(0x261)]({'options':{..._0xc3f76c,..._0x2996b7},'args':[_0x17dac8],'tdx':_0x1a818a});gracefulExit(_0x81ce21);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x356));parentRtCmd['command']('list\x20[pattern]')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x284))[a2_0x24e9b5(0x251)](async(_0x4c8cbb,_0x3bd020)=>{const _0x3f8f38=a2_0x24e9b5,_0x22911c=new PSRtListCommand(),_0x4ce8de=program['opts'](),_0x4852da=await createTDXInstance(_0x4ce8de),_0x2b31df=await _0x22911c[_0x3f8f38(0x261)]({'options':{..._0x4ce8de,..._0x3bd020},'args':_0x4c8cbb?[_0x4c8cbb]:[],'tdx':_0x4852da});gracefulExit(_0x2b31df);}),parentRtCmd['command'](a2_0x24e9b5(0x28c))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x36b))['action'](async(_0x5458e2,_0x43e1e2)=>{const _0x58670c=a2_0x24e9b5,_0x1fdda3=new PSRtValidateCommand(),_0x51dc9e=program[_0x58670c(0x1e9)](),_0x4b3ce4=await createTDXInstance(_0x51dc9e),_0x20b81d=await _0x1fdda3[_0x58670c(0x261)]({'options':{..._0x51dc9e,..._0x43e1e2},'args':_0x5458e2?[_0x5458e2]:[],'tdx':_0x4b3ce4});gracefulExit(_0x20b81d);});const psPzCmd=parentSegmentCmd['command']('pz')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x3d9));psPzCmd['command']('list\x20[name]')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x201))[a2_0x24e9b5(0x251)](async(_0x3574c3,_0x1218e5)=>{const _0x2998c6=a2_0x24e9b5,_0x4e3a68=new PSPzListCommand(),_0x3f087a=program[_0x2998c6(0x1e9)](),_0x46cfba=await createTDXInstance(_0x3f087a),_0x4a8818=await _0x4e3a68[_0x2998c6(0x261)]({'options':{..._0x3f087a,..._0x1218e5},'args':_0x3574c3?[_0x3574c3]:[],'tdx':_0x46cfba});gracefulExit(_0x4a8818);}),psPzCmd[a2_0x24e9b5(0x466)]('show\x20<personalization_id>')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x334))['action'](async(_0x234855,_0x21782e)=>{const _0x3e07c5=a2_0x24e9b5,_0x28556b=new PSPzShowCommand(),_0x12cd67=program[_0x3e07c5(0x1e9)](),_0x5a74df=await createTDXInstance(_0x12cd67),_0x49af95=await _0x28556b[_0x3e07c5(0x261)]({'options':{..._0x12cd67,..._0x21782e},'args':[_0x234855],'tdx':_0x5a74df});gracefulExit(_0x49af95);}),psPzCmd[a2_0x24e9b5(0x466)]('delete\x20<personalization_id>')[a2_0x24e9b5(0x1ae)]('Delete\x20a\x20realtime\x20personalization')['action'](async(_0x377bc3,_0x46baa7)=>{const _0xa1846b=a2_0x24e9b5,_0x265d77=new PSPzDeleteCommand(),_0x47fe1d=program[_0xa1846b(0x1e9)](),_0x4bf064=await createTDXInstance(_0x47fe1d),_0x2a5b7a=await _0x265d77['run']({'options':{..._0x47fe1d,..._0x46baa7},'args':[_0x377bc3],'tdx':_0x4bf064});gracefulExit(_0x2a5b7a);}),psPzCmd[a2_0x24e9b5(0x466)]('create')['description'](a2_0x24e9b5(0x246))['option'](a2_0x24e9b5(0x3cc),a2_0x24e9b5(0x3d6))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x230),a2_0x24e9b5(0x20b))['option'](a2_0x24e9b5(0x3b2),a2_0x24e9b5(0x477))[a2_0x24e9b5(0x264)]('--folder-id\x20<id>','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x376),a2_0x24e9b5(0x345))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x1e1),'Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)')[a2_0x24e9b5(0x251)](async _0x4ba32e=>{const _0x387d6c=a2_0x24e9b5,_0x533dec=new PSPzCreateCommand(),_0x14595d=program[_0x387d6c(0x1e9)](),_0x58bdc3=await createTDXInstance(_0x14595d),_0x531624=await _0x533dec[_0x387d6c(0x261)]({'options':{..._0x14595d,..._0x4ba32e},'args':[],'tdx':_0x58bdc3});gracefulExit(_0x531624);}),psPzCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x1f3))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x311))[a2_0x24e9b5(0x264)]('--name\x20<text>',a2_0x24e9b5(0x3d6))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x230),'Personalization\x20description')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x376),a2_0x24e9b5(0x345))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x1e1),a2_0x24e9b5(0x202))['action'](async(_0x588a79,_0x457de7)=>{const _0x5ac00d=a2_0x24e9b5,_0x797835=new PSPzPatchCommand(),_0x15beda=program[_0x5ac00d(0x1e9)](),_0x1d2c2b=await createTDXInstance(_0x15beda),_0x546946=await _0x797835[_0x5ac00d(0x261)]({'options':{..._0x15beda,..._0x457de7},'args':[_0x588a79],'tdx':_0x1d2c2b});gracefulExit(_0x546946);});const psPzServiceCmd=psPzCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x375))['description'](a2_0x24e9b5(0x1fe));psPzServiceCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x3c7))[a2_0x24e9b5(0x1ae)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x24ac79,_0x34db6e)=>{const _0x3bcf9e=a2_0x24e9b5,_0x1158ac=new PSPzServiceListCommand(),_0x25db3e=program[_0x3bcf9e(0x1e9)](),_0x51aad8=await createTDXInstance(_0x25db3e),_0x4d845c=await _0x1158ac[_0x3bcf9e(0x261)]({'options':{..._0x25db3e,..._0x34db6e},'args':_0x24ac79?[_0x24ac79]:[],'tdx':_0x51aad8});gracefulExit(_0x4d845c);}),psPzServiceCmd['command'](a2_0x24e9b5(0x15d))['description'](a2_0x24e9b5(0x443))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x230),'Service\x20description')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x2d1),a2_0x24e9b5(0x3bc))[a2_0x24e9b5(0x251)](async(_0x271e94,_0xce0cce,_0x24ec9f)=>{const _0x3c02a0=a2_0x24e9b5,_0x4477be=new PSPzServiceCreateCommand(),_0x27e490=program[_0x3c02a0(0x1e9)](),_0x32aa4b=await createTDXInstance(_0x27e490),_0x72cf97=await _0x4477be[_0x3c02a0(0x261)]({'options':{..._0x27e490,..._0x24ec9f},'args':_0xce0cce?[_0x271e94,_0xce0cce]:[_0x271e94],'tdx':_0x32aa4b});gracefulExit(_0x72cf97);}),psPzServiceCmd['command'](a2_0x24e9b5(0x2cf))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x384))['action'](async(_0x37ba1d,_0x399b92,_0x33fc81)=>{const _0xd9686e=a2_0x24e9b5,_0x3dd9ba=new PSPzServiceShowCommand(),_0xf427b0=program[_0xd9686e(0x1e9)](),_0x171173=await createTDXInstance(_0xf427b0),_0x50e2ba=await _0x3dd9ba['run']({'options':{..._0xf427b0,..._0x33fc81},'args':_0x399b92?[_0x37ba1d,_0x399b92]:[_0x37ba1d],'tdx':_0x171173});gracefulExit(_0x50e2ba);}),psPzServiceCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x3cb))['description'](a2_0x24e9b5(0x3de))[a2_0x24e9b5(0x251)](async(_0x2d95d3,_0x55e61e,_0x4cb602)=>{const _0x4f89fe=a2_0x24e9b5,_0x2b803c=new PSPzServiceDeleteCommand(),_0x50dd4d=program[_0x4f89fe(0x1e9)](),_0x2e7814=await createTDXInstance(_0x50dd4d),_0x1b63e1=await _0x2b803c[_0x4f89fe(0x261)]({'options':{..._0x50dd4d,..._0x4cb602},'args':_0x55e61e?[_0x2d95d3,_0x55e61e]:[_0x2d95d3],'tdx':_0x2e7814});gracefulExit(_0x1b63e1);}),psPzServiceCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x197))[a2_0x24e9b5(0x1ae)]('Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x24e9b5(0x1e8)]('--name\x20<name>','New\x20service\x20name')['option'](a2_0x24e9b5(0x230),a2_0x24e9b5(0x281))['action'](async(_0x2146c2,_0x42c85c,_0x7e0207)=>{const _0x58d34c=a2_0x24e9b5,_0x2a3c3d=new PSPzServiceUpdateCommand(),_0x3c145d=program[_0x58d34c(0x1e9)](),_0x1af2e=await createTDXInstance(_0x3c145d),_0x282979=await _0x2a3c3d['run']({'options':{..._0x3c145d,..._0x7e0207},'args':_0x42c85c?[_0x2146c2,_0x42c85c]:[_0x2146c2],'tdx':_0x1af2e});gracefulExit(_0x282979);}),psPzServiceCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x363))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x212))[a2_0x24e9b5(0x251)](async(_0x499a8c,_0x556738)=>{const _0x11e2c1=a2_0x24e9b5,_0xac27=new PSPzInitCommand(),_0xd06f1a=program[_0x11e2c1(0x1e9)](),_0x532518=await createTDXInstance(_0xd06f1a),_0x247e9a=await _0xac27[_0x11e2c1(0x261)]({'options':{..._0xd06f1a,..._0x556738},'args':_0x499a8c?[_0x499a8c]:[],'tdx':_0x532518});gracefulExit(_0x247e9a);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x258))[a2_0x24e9b5(0x1ae)]('Personalization\x20service\x20token\x20management');psPzServiceTokenCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x372))[a2_0x24e9b5(0x1ae)]('Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')['option'](a2_0x24e9b5(0x439),a2_0x24e9b5(0x431))[a2_0x24e9b5(0x264)]('--description\x20<text>',a2_0x24e9b5(0x285))[a2_0x24e9b5(0x251)](async(_0x4cdfb5,_0x1eb7c2,_0x2e7108,_0x40d15c)=>{const _0xec1043=a2_0x24e9b5,_0x52ed88=new PSPzServiceTokenCreateCommand(),_0x235c34=program[_0xec1043(0x1e9)](),_0x91c6dc=await createTDXInstance(_0x235c34),_0x200ddf=await _0x52ed88[_0xec1043(0x261)]({'options':{..._0x235c34,..._0x40d15c},'args':_0x2e7108?[_0x4cdfb5,_0x1eb7c2,_0x2e7108]:[_0x4cdfb5,_0x1eb7c2],'tdx':_0x91c6dc});gracefulExit(_0x200ddf);}),psPzServiceTokenCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x1c9))['description']('Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')['action'](async(_0x48f80c,_0x9ef2df,_0x46a68f)=>{const _0x27040a=new PSPzServiceTokenDeleteCommand(),_0x5f0caf=program['opts'](),_0xfbe47d=await createTDXInstance(_0x5f0caf),_0x42c3cd=await _0x27040a['run']({'options':{..._0x5f0caf,..._0x46a68f},'args':_0x9ef2df?[_0x48f80c,_0x9ef2df]:[_0x48f80c],'tdx':_0xfbe47d});gracefulExit(_0x42c3cd);}),parentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x2fa))['description'](a2_0x24e9b5(0x3b4))[a2_0x24e9b5(0x1e8)](a2_0x24e9b5(0x385),a2_0x24e9b5(0x190))['requiredOption'](a2_0x24e9b5(0x1a4),a2_0x24e9b5(0x3c2))['option'](a2_0x24e9b5(0x230),a2_0x24e9b5(0x299))[a2_0x24e9b5(0x264)]('--schedule-type\x20<type>',a2_0x24e9b5(0x25c))[a2_0x24e9b5(0x264)]('--schedule-option\x20<value>',a2_0x24e9b5(0x2bf))['option'](a2_0x24e9b5(0x3f7),a2_0x24e9b5(0x35d))['option'](a2_0x24e9b5(0x31c),a2_0x24e9b5(0x43f))[a2_0x24e9b5(0x264)]('--attributes-file\x20<file>',a2_0x24e9b5(0x44f))[a2_0x24e9b5(0x264)]('--behaviors\x20<json>',a2_0x24e9b5(0x3aa))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x308),a2_0x24e9b5(0x2f6))['option'](a2_0x24e9b5(0x16b),a2_0x24e9b5(0x3a0))[a2_0x24e9b5(0x264)]('--customer-group-file\x20<file>','Customer\x20group\x20from\x20JSON\x20file')[a2_0x24e9b5(0x251)](async(_0x5d9c7a,_0x1c09de)=>{const _0x53755a=a2_0x24e9b5,_0x268e27=new ParentSegmentCreateCommand(),_0x216427=program[_0x53755a(0x1e9)](),_0xb77032=await createTDXInstance(_0x216427),_0x191b54=await _0x268e27[_0x53755a(0x261)]({'options':{..._0x216427,..._0x1c09de},'args':[_0x5d9c7a],'tdx':_0xb77032});gracefulExit(_0x191b54);}),parentCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x450))[a2_0x24e9b5(0x1ae)]('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x24e9b5(0x264)]('--description\x20<text>',a2_0x24e9b5(0x410))[a2_0x24e9b5(0x264)]('--schedule-type\x20<type>',a2_0x24e9b5(0x1ea))[a2_0x24e9b5(0x264)]('--schedule-option\x20<value>',a2_0x24e9b5(0x3b3))['option'](a2_0x24e9b5(0x3f7),a2_0x24e9b5(0x2cd))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x171),a2_0x24e9b5(0x29b))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x169),a2_0x24e9b5(0x3ec))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x37e),a2_0x24e9b5(0x25d))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x355),'Add\x20behaviors\x20from\x20JSON\x20file')[a2_0x24e9b5(0x251)](async(_0x1bdcbc,_0x249c57)=>{const _0x3f2feb=new ParentSegmentUpdateCommand(),_0x654ad3=program['opts'](),_0x361ed2=await createTDXInstance(_0x654ad3),_0x330bbf=await _0x3f2feb['run']({'options':{..._0x654ad3,..._0x249c57},'args':[_0x1bdcbc],'tdx':_0x361ed2});gracefulExit(_0x330bbf);}),folderCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x31d))['description']('Create\x20segment\x20folder')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x230),a2_0x24e9b5(0x238))['option'](a2_0x24e9b5(0x386),a2_0x24e9b5(0x1dc))[a2_0x24e9b5(0x251)](async(_0x40f1d1,_0x4ac550,_0x5256c1)=>{const _0x475ca7=a2_0x24e9b5,_0x4d4784=new SegmentFolderCreateCommand(),_0x277b71=program[_0x475ca7(0x1e9)](),_0xc6ea3=await createTDXInstance(_0x277b71),_0x5aa53e=await _0x4d4784[_0x475ca7(0x261)]({'options':{..._0x277b71,..._0x5256c1},'args':[_0x40f1d1,_0x4ac550],'tdx':_0xc6ea3});gracefulExit(_0x5aa53e);}),program[a2_0x24e9b5(0x466)]('activations\x20<segment_name>')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x44e))['action'](async(_0x35d516,_0x43921b)=>{const _0x46b266=a2_0x24e9b5,_0x8054b6=new ActivationsCommand(),_0x2c59f8=program[_0x46b266(0x1e9)](),_0x195f5c=await createTDXInstance(_0x2c59f8),_0xefc1b4=await _0x8054b6[_0x46b266(0x261)]({'options':{..._0x2c59f8,..._0x43921b},'args':[_0x35d516],'tdx':_0x195f5c});gracefulExit(_0xefc1b4);});const workflowCmd=program[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x2ad))[a2_0x24e9b5(0x2f9)]('wf')['description'](a2_0x24e9b5(0x325)),wfProjectCmd=workflowCmd[a2_0x24e9b5(0x466)]('project')[a2_0x24e9b5(0x1ae)]('Workflow\x20project\x20management'),wfProjectListAction=async(_0x6e53af,_0x5b0bc4)=>{const _0x35c61a=a2_0x24e9b5,_0x5dd987=new WorkflowProjectsCommand(),_0x2a85b=program[_0x35c61a(0x1e9)](),_0x4428b6=await createTDXInstance(_0x2a85b),_0xf75186=await _0x5dd987['run']({'options':{..._0x2a85b,..._0x5b0bc4},'args':_0x6e53af?[_0x6e53af]:[],'tdx':_0x4428b6});gracefulExit(_0xf75186);};wfProjectCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x3db))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x3af))[a2_0x24e9b5(0x251)](wfProjectListAction),workflowCmd[a2_0x24e9b5(0x466)]('projects\x20[pattern]')['description'](a2_0x24e9b5(0x3d2))['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x2e46b,_0x57c7f0)=>{const _0x17e937=a2_0x24e9b5,_0x1f74e7=new WorkflowWorkflowsCommand(),_0x39d0b8=program['opts'](),_0x11bd1e=await createTDXInstance(_0x39d0b8),_0x3d29a0=await _0x1f74e7[_0x17e937(0x261)]({'options':{..._0x39d0b8,..._0x57c7f0},'args':_0x2e46b?[_0x2e46b]:[],'tdx':_0x11bd1e});gracefulExit(_0x3d29a0);};workflowCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x41b))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x315))[a2_0x24e9b5(0x251)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x24e9b5(0x466)]('session')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x28d)),wfSessionListAction=async(_0x461022,_0x234458)=>{const _0x4140ba=a2_0x24e9b5,_0x2369df=new WorkflowSessionsCommand(),_0x46e40c=program[_0x4140ba(0x1e9)](),_0x369c51=await createTDXInstance(_0x46e40c),_0xa1ee0c=await _0x2369df['run']({'options':{..._0x46e40c,..._0x234458},'args':_0x461022?[_0x461022]:[],'tdx':_0x369c51});gracefulExit(_0xa1ee0c);};wfSessionCmd['command'](a2_0x24e9b5(0x22c))['description'](a2_0x24e9b5(0x268))[a2_0x24e9b5(0x264)]('--status\x20<status>',a2_0x24e9b5(0x3d7))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x37f),a2_0x24e9b5(0x2b2))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x177),a2_0x24e9b5(0x1ac))['action'](wfSessionListAction),workflowCmd['command'](a2_0x24e9b5(0x380))[a2_0x24e9b5(0x1ae)]('List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x259),a2_0x24e9b5(0x3d7))[a2_0x24e9b5(0x264)]('--from\x20<timestamp>','Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option'](a2_0x24e9b5(0x177),a2_0x24e9b5(0x1ac))[a2_0x24e9b5(0x251)](wfSessionListAction);const wfAttemptListAction=async(_0x1dc9bc,_0x444864)=>{const _0x1e8d41=a2_0x24e9b5,_0x25e4de=new WorkflowAttemptsCommand(),_0x308bce=program[_0x1e8d41(0x1e9)](),_0x5451ff=await createTDXInstance(_0x308bce),_0x55e707=await _0x25e4de[_0x1e8d41(0x261)]({'options':{..._0x308bce,..._0x444864},'args':_0x1dc9bc?[_0x1dc9bc]:[],'tdx':_0x5451ff});gracefulExit(_0x55e707);},attemptCmd=workflowCmd[a2_0x24e9b5(0x466)]('attempt')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x2d2))['argument'](a2_0x24e9b5(0x21b),'Attempt\x20ID')[a2_0x24e9b5(0x19f)](a2_0x24e9b5(0x32c),a2_0x24e9b5(0x394))[a2_0x24e9b5(0x19f)](a2_0x24e9b5(0x1e0),a2_0x24e9b5(0x3ba))['option'](a2_0x24e9b5(0x38f),'Include\x20subtasks\x20in\x20tasks\x20output')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x31b),a2_0x24e9b5(0x2a1))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x22a),a2_0x24e9b5(0x1f1))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x1b8),a2_0x24e9b5(0x43b))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x233),'Force\x20retry\x20even\x20if\x20not\x20failed')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x1a3),a2_0x24e9b5(0x313))[a2_0x24e9b5(0x251)](async(_0x272a86,_0x5e3012,_0x5010f7,_0x5f3b75)=>{const _0x26f0dd=a2_0x24e9b5;if(_0x272a86===_0x26f0dd(0x253)){await wfAttemptListAction(_0x5e3012,_0x5f3b75);return;}if(!_0x272a86){attemptCmd['help']();return;}const _0x5158dd=program[_0x26f0dd(0x1e9)](),_0x5738f0=await createTDXInstance(_0x5158dd);let _0x5bcb75=0x0;if(!_0x5e3012){const _0x5de38e=new WorkflowAttemptCommand();_0x5bcb75=await _0x5de38e[_0x26f0dd(0x261)]({'options':{..._0x5158dd,..._0x5f3b75},'args':[_0x272a86],'tdx':_0x5738f0});}else{if(_0x5e3012===_0x26f0dd(0x1bb)){const _0x17232c=new WorkflowLogsCommand();_0x5bcb75=await _0x17232c[_0x26f0dd(0x261)]({'options':{..._0x5158dd,..._0x5f3b75},'args':_0x5010f7?[_0x272a86,_0x5010f7]:[_0x272a86],'tdx':_0x5738f0});}else{if(_0x5e3012===_0x26f0dd(0x1a8)){const _0x53e2f1=new WorkflowTasksCommand();_0x5bcb75=await _0x53e2f1['run']({'options':{..._0x5158dd,..._0x5f3b75},'args':[_0x272a86],'tdx':_0x5738f0});}else{if(_0x5e3012===_0x26f0dd(0x316)){const _0x59c1c8=new WorkflowKillCommand();_0x5bcb75=await _0x59c1c8[_0x26f0dd(0x261)]({'options':{..._0x5158dd,..._0x5f3b75},'args':[_0x272a86],'tdx':_0x5738f0});}else{if(_0x5e3012===_0x26f0dd(0x163)){const _0x562a42=new WorkflowRetryCommand();_0x5bcb75=await _0x562a42[_0x26f0dd(0x261)]({'options':{..._0x5158dd,..._0x5f3b75},'args':['attempt:'+_0x272a86],'tdx':_0x5738f0});}else console[_0x26f0dd(0x389)](_0x26f0dd(0x178)+_0x5e3012),console[_0x26f0dd(0x389)](_0x26f0dd(0x1fd)),_0x5bcb75=0x1;}}}}gracefulExit(_0x5bcb75);});attemptCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x22c))[a2_0x24e9b5(0x1ae)]('List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x1a3),a2_0x24e9b5(0x2fe))[a2_0x24e9b5(0x251)](wfAttemptListAction),workflowCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x21a))[a2_0x24e9b5(0x1ae)]('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')['option'](a2_0x24e9b5(0x1a3),a2_0x24e9b5(0x2fe))[a2_0x24e9b5(0x251)](wfAttemptListAction),workflowCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x287))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x224))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x28b),a2_0x24e9b5(0x346))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x172),a2_0x24e9b5(0x188))['option'](a2_0x24e9b5(0x2e0),a2_0x24e9b5(0x220))[a2_0x24e9b5(0x251)](async(_0x52a26e,_0x542c46)=>{const _0x59da36=a2_0x24e9b5,_0x50a5d8=new WorkflowTimelineCommand(),_0xa6bc4d=program['opts'](),_0x21fb77=await createTDXInstance(_0xa6bc4d),_0x135d60=await _0x50a5d8[_0x59da36(0x261)]({'options':{..._0xa6bc4d,..._0x542c46},'args':_0x52a26e?[_0x52a26e]:[],'tdx':_0x21fb77});gracefulExit(_0x135d60);}),workflowCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x223))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x34b))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x2af),a2_0x24e9b5(0x2c4))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x1b8),a2_0x24e9b5(0x3ee))[a2_0x24e9b5(0x251)](async(_0x1f2d8c,_0x47faed)=>{const _0x3d80a9=a2_0x24e9b5,_0x49e827=new WorkflowRetryCommand(),_0x18e885=program['opts'](),_0x1025a4=await createTDXInstance(_0x18e885),_0x2a761b=await _0x49e827[_0x3d80a9(0x261)]({'options':{..._0x18e885,..._0x47faed},'args':[_0x1f2d8c],'tdx':_0x1025a4});gracefulExit(_0x2a761b);}),workflowCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x290))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x416))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x1df),a2_0x24e9b5(0x2c5),(_0x714482,_0x24ee10=[])=>[..._0x24ee10,_0x714482],[])[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x381),a2_0x24e9b5(0x23d))[a2_0x24e9b5(0x251)](async(_0x1ecd72,_0x3f4d47)=>{const _0x524278=a2_0x24e9b5,_0x26f381=new WorkflowRunCommand(),_0x4bd91c=program[_0x524278(0x1e9)](),_0x921bc5=await createTDXInstance(_0x4bd91c),_0x1a9898=await _0x26f381[_0x524278(0x261)]({'options':{..._0x4bd91c,..._0x3f4d47},'args':_0x1ecd72?[_0x1ecd72]:[],'tdx':_0x921bc5});gracefulExit(_0x1a9898);}),workflowCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x383))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x2de))['option'](a2_0x24e9b5(0x1d3),a2_0x24e9b5(0x303))[a2_0x24e9b5(0x251)](async(_0x12f866,_0x531260,_0x22fcdf)=>{const _0x5c2b2d=a2_0x24e9b5,_0x1ff753=new WorkflowDownloadCommand(),_0x4ae242=program[_0x5c2b2d(0x1e9)](),_0x31813f=await createTDXInstance(_0x4ae242),_0x3f61a0=await _0x1ff753['run']({'options':{..._0x4ae242,..._0x22fcdf},'args':[_0x12f866,_0x531260||'.'],'tdx':_0x31813f});gracefulExit(_0x3f61a0);}),workflowCmd['command'](a2_0x24e9b5(0x3d5))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x424))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x1d3),a2_0x24e9b5(0x1c6))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x435),a2_0x24e9b5(0x463))[a2_0x24e9b5(0x251)](async(_0x3ca63e,_0x436f04,_0x48a6f4)=>{const _0x58e19f=a2_0x24e9b5,_0xe666a8=new WorkflowPullCommand(),_0xe8d2c8=program[_0x58e19f(0x1e9)](),_0x408c55=await createTDXInstance(_0xe8d2c8),_0x743033=await _0xe666a8[_0x58e19f(0x261)]({'options':{..._0xe8d2c8,..._0x48a6f4},'args':_0x436f04?[_0x3ca63e,_0x436f04]:[_0x3ca63e],'tdx':_0x408c55});gracefulExit(_0x743033);}),workflowCmd['command'](a2_0x24e9b5(0x46a))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x2e1))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x1d3),a2_0x24e9b5(0x1e5))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x435),a2_0x24e9b5(0x306))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x3c9),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x24e9b5(0x251)](async(_0x29dbeb,_0x302a75)=>{const _0x496a28=a2_0x24e9b5,_0x13f82e=new WorkflowPushCommand(),_0x2b74a4=program['opts'](),_0x4f3c88=await createTDXInstance(_0x2b74a4),_0x1c8274=await _0x13f82e[_0x496a28(0x261)]({'options':{..._0x2b74a4,..._0x302a75},'args':_0x29dbeb?[_0x29dbeb]:[],'tdx':_0x4f3c88});gracefulExit(_0x1c8274);}),workflowCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x31a))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x1ee))['option'](a2_0x24e9b5(0x378),a2_0x24e9b5(0x36f))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x1d3),a2_0x24e9b5(0x44a))['option'](a2_0x24e9b5(0x3c9),a2_0x24e9b5(0x1e6))[a2_0x24e9b5(0x251)](async(_0x3bc172,_0x158321)=>{const _0x53774d=new WorkflowUploadCommand(),_0x245ae4=program['opts'](),_0x3cdeea=await createTDXInstance(_0x245ae4),_0x53a61d=await _0x53774d['run']({'options':{..._0x245ae4,..._0x158321},'args':_0x3bc172?[_0x3bc172]:[],'tdx':_0x3cdeea});gracefulExit(_0x53a61d);}),workflowCmd[a2_0x24e9b5(0x466)]('clone\x20[source-dir]')['description']('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')['option'](a2_0x24e9b5(0x378),a2_0x24e9b5(0x447))[a2_0x24e9b5(0x264)]('--revision\x20<revision>','Custom\x20revision\x20name\x20(default:\x20timestamp)')[a2_0x24e9b5(0x264)]('--dry-run',a2_0x24e9b5(0x1f2))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x3c9),a2_0x24e9b5(0x1e6))['action'](async(_0x390dbb,_0x5ac9f6)=>{const _0x105269=a2_0x24e9b5,_0x14f281=new WorkflowCloneCommand(),_0x573284=program[_0x105269(0x1e9)](),_0x35f1dd=await createTDXInstance(_0x573284),_0x25925f=await _0x14f281['run']({'options':{..._0x573284,..._0x5ac9f6},'args':_0x390dbb?[_0x390dbb]:[],'tdx':_0x35f1dd});gracefulExit(_0x25925f);}),workflowCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x26b))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x25f))[a2_0x24e9b5(0x251)](async(_0x5e7b00,_0x28b11b)=>{const _0x11ad89=a2_0x24e9b5,_0x787647=new WorkflowDeleteCommand(),_0x3b1b8a=program['opts'](),_0x5671ec=await createTDXInstance(_0x3b1b8a),_0x2b0b29=await _0x787647[_0x11ad89(0x261)]({'options':{..._0x3b1b8a,..._0x28b11b},'args':[_0x5e7b00],'tdx':_0x5671ec});gracefulExit(_0x2b0b29);}),workflowCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x20f))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x3cd))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x24c),a2_0x24e9b5(0x219))['action'](async(_0x2a4758,_0x92d8b5)=>{const _0x41b2fb=a2_0x24e9b5,_0x28133e=new WorkflowUseCommand(),_0x198935=program[_0x41b2fb(0x1e9)](),_0x54fcbc=await createTDXInstance(_0x198935),_0x15d4ea=await _0x28133e['run']({'options':{..._0x198935,..._0x92d8b5},'args':_0x2a4758?[_0x2a4758]:[],'tdx':_0x54fcbc});gracefulExit(_0x15d4ea);});const wfSecretsCmd=workflowCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x3cf))[a2_0x24e9b5(0x1ae)]('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x24e9b5(0x466)]('list\x20[project]')['description']('List\x20secret\x20keys\x20for\x20a\x20project')[a2_0x24e9b5(0x251)](async(_0x58409f,_0x1d8209)=>{const _0xd9c5a9=a2_0x24e9b5,_0x133761=new WorkflowSecretsListCommand(),_0x3cca19=program['opts'](),_0x337fe2=await createTDXInstance(_0x3cca19),_0x504391=await _0x133761[_0xd9c5a9(0x261)]({'options':{..._0x3cca19,..._0x1d8209},'args':_0x58409f?[_0x58409f]:[],'tdx':_0x337fe2});gracefulExit(_0x504391);}),wfSecretsCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x3c1))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x302))[a2_0x24e9b5(0x251)](async(_0x34b864,_0x245b05)=>{const _0x12c1f9=a2_0x24e9b5,_0x11cc46=new WorkflowSecretsSetCommand(),_0x803442=program['opts'](),_0x156953=await createTDXInstance(_0x803442),_0x2d90c6=await _0x11cc46[_0x12c1f9(0x261)]({'options':{..._0x803442,..._0x245b05},'args':_0x34b864,'tdx':_0x156953});gracefulExit(_0x2d90c6);}),wfSecretsCmd['command'](a2_0x24e9b5(0x3a2))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x3e5))['action'](async(_0x59520c,_0x20bcc1)=>{const _0x5c7340=a2_0x24e9b5,_0x37c71a=new WorkflowSecretsDeleteCommand(),_0x13cc39=program[_0x5c7340(0x1e9)](),_0x19e41b=await createTDXInstance(_0x13cc39),_0x435696=await _0x37c71a[_0x5c7340(0x261)]({'options':{..._0x13cc39,..._0x20bcc1},'args':_0x59520c,'tdx':_0x19e41b});gracefulExit(_0x435696);});const wfScheduleCmd=workflowCmd['command'](a2_0x24e9b5(0x3f5))['description'](a2_0x24e9b5(0x39d));wfScheduleCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x1e4))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x3dc))['action'](async(_0x1b8588,_0x22bde8)=>{const _0x4e09fb=a2_0x24e9b5,_0x2e46d6=new WorkflowScheduleEnableCommand(),_0x3d029a=program[_0x4e09fb(0x1e9)](),_0x441957=await createTDXInstance(_0x3d029a),_0x30729e=await _0x2e46d6[_0x4e09fb(0x261)]({'options':{..._0x3d029a,..._0x22bde8},'args':[_0x1b8588],'tdx':_0x441957});gracefulExit(_0x30729e);}),wfScheduleCmd[a2_0x24e9b5(0x466)]('disable\x20<id>')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x3fb))[a2_0x24e9b5(0x251)](async(_0x106131,_0x472b72)=>{const _0x24bb5c=a2_0x24e9b5,_0x246dc2=new WorkflowScheduleDisableCommand(),_0x7dbb98=program['opts'](),_0x3560de=await createTDXInstance(_0x7dbb98),_0x2e7901=await _0x246dc2[_0x24bb5c(0x261)]({'options':{..._0x7dbb98,..._0x472b72},'args':[_0x106131],'tdx':_0x3560de});gracefulExit(_0x2e7901);}),workflowCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x226))['description']('List\x20all\x20workflow\x20schedules')[a2_0x24e9b5(0x251)](async _0x35ef6a=>{const _0x30d872=a2_0x24e9b5,_0x543d3d=new WorkflowSchedulesCommand(),_0x589bec=program[_0x30d872(0x1e9)](),_0x50d22a=await createTDXInstance(_0x589bec),_0x200edd=await _0x543d3d[_0x30d872(0x261)]({'options':{..._0x589bec,..._0x35ef6a},'args':[],'tdx':_0x50d22a});gracefulExit(_0x200edd);});const jobCmd=program['command'](a2_0x24e9b5(0x35f))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x21d)),jobListAction=async _0x2a44bf=>{const _0x22a57e=a2_0x24e9b5,_0x451e68=new JobListCommand(),_0x35adee=program[_0x22a57e(0x1e9)](),_0x356b0a=await createTDXInstance(_0x35adee),_0x38c3ea=await _0x451e68['run']({'options':{..._0x35adee,..._0x2a44bf},'args':[],'tdx':_0x356b0a});gracefulExit(_0x38c3ea);};jobCmd[a2_0x24e9b5(0x466)]('list')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x2f4))['option'](a2_0x24e9b5(0x259),a2_0x24e9b5(0x1f9))[a2_0x24e9b5(0x251)](jobListAction),program[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x2da),{'hidden':!![]})[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x348))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x259),a2_0x24e9b5(0x1f9))['action'](jobListAction),jobCmd[a2_0x24e9b5(0x466)]('show\x20<job-id>')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x358))['action'](async(_0x5ae1d7,_0x2a242b)=>{const _0x3367af=a2_0x24e9b5,_0x4b8bba=new JobShowCommand(),_0x5417eb=program['opts'](),_0x3ae731=await createTDXInstance(_0x5417eb),_0x4ae8e5=await _0x4b8bba[_0x3367af(0x261)]({'options':{..._0x5417eb,..._0x2a242b},'args':[_0x5ae1d7],'tdx':_0x3ae731});gracefulExit(_0x4ae8e5);}),jobCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x179))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x180))[a2_0x24e9b5(0x251)](async(_0x51cb4c,_0x504dee)=>{const _0x89a435=a2_0x24e9b5,_0x1690c6=new JobKillCommand(),_0x45c057=program[_0x89a435(0x1e9)](),_0x417312=await createTDXInstance(_0x45c057),_0x258966=await _0x1690c6[_0x89a435(0x261)]({'options':{..._0x45c057,..._0x504dee},'args':[_0x51cb4c],'tdx':_0x417312});gracefulExit(_0x258966);}),jobCmd[a2_0x24e9b5(0x466)]('submit\x20[query]')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x1b6))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x16f),'Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','trino')['option'](a2_0x24e9b5(0x422),a2_0x24e9b5(0x3eb))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x205),a2_0x24e9b5(0x29a),a2_0x24e9b5(0x40e))['option'](a2_0x24e9b5(0x211),a2_0x24e9b5(0x3c6))[a2_0x24e9b5(0x251)](async(_0x2ae7be,_0x22e603)=>{const _0x27d578=a2_0x24e9b5,_0x2f772c=new JobSubmitCommand(),_0x3f8781=program[_0x27d578(0x1e9)](),_0x2c7f83=await createTDXInstance(_0x3f8781),_0x300853=await _0x2f772c[_0x27d578(0x261)]({'options':{..._0x3f8781,..._0x22e603},'args':_0x2ae7be?[_0x2ae7be]:[],'tdx':_0x2c7f83});gracefulExit(_0x300853);}),jobCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x1da))['description'](a2_0x24e9b5(0x460))['action'](async(_0x55554d,_0x2e663b)=>{const _0xb495f3=a2_0x24e9b5,_0xae926f=new JobResultCommand(),_0x4c95e5=program[_0xb495f3(0x1e9)](),_0x1d1d0e=await createTDXInstance(_0x4c95e5),_0x74bc12=await _0xae926f[_0xb495f3(0x261)]({'options':{..._0x4c95e5,..._0x2e663b},'args':[_0x55554d],'tdx':_0x1d1d0e});gracefulExit(_0x74bc12);});const scheduleCmd=jobCmd[a2_0x24e9b5(0x466)]('schedule')[a2_0x24e9b5(0x1ae)]('Scheduled\x20query\x20management\x20commands');scheduleCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x3db))['description'](a2_0x24e9b5(0x215))[a2_0x24e9b5(0x251)](async(_0x6932b2,_0x3cf6b7)=>{const _0x5daa34=a2_0x24e9b5,_0x1f0749=new ScheduleListCommand(),_0x52b2a2=program[_0x5daa34(0x1e9)](),_0x24a1b3=await createTDXInstance(_0x52b2a2),_0x1ef641=await _0x1f0749['run']({'options':{..._0x52b2a2,..._0x3cf6b7},'args':_0x6932b2?[_0x6932b2]:[],'tdx':_0x24a1b3});gracefulExit(_0x1ef641);}),scheduleCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x235))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x19d))['action'](async(_0x357f45,_0x471949)=>{const _0x55a6e4=new ScheduleShowCommand(),_0x708aad=program['opts'](),_0x5247f2=await createTDXInstance(_0x708aad),_0x2d7843=await _0x55a6e4['run']({'options':{..._0x708aad,..._0x471949},'args':[_0x357f45],'tdx':_0x5247f2});gracefulExit(_0x2d7843);}),scheduleCmd[a2_0x24e9b5(0x466)]('create\x20<name>')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x22d))[a2_0x24e9b5(0x264)]('-d,\x20--database\x20<db>',a2_0x24e9b5(0x1c8))['option']('--in\x20<db>',a2_0x24e9b5(0x33e))['requiredOption']('-f,\x20--file\x20<path>',a2_0x24e9b5(0x3eb))['option'](a2_0x24e9b5(0x46b),a2_0x24e9b5(0x349),'trino')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x227),a2_0x24e9b5(0x203))[a2_0x24e9b5(0x264)]('--timezone\x20<tz>',a2_0x24e9b5(0x30a))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x2a3),a2_0x24e9b5(0x1b9))['option'](a2_0x24e9b5(0x34c),a2_0x24e9b5(0x418))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x200),a2_0x24e9b5(0x244))['option']('--engine-version\x20<version>','Query\x20engine\x20version')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x3ab),a2_0x24e9b5(0x2dc))[a2_0x24e9b5(0x251)](async(_0x1bc826,_0x463af7)=>{const _0x35ce05=a2_0x24e9b5,_0x563425=new ScheduleCreateCommand(),_0x613c46=program['opts'](),_0x411334=await createTDXInstance(_0x613c46);_0x463af7['in']&&(_0x463af7[_0x35ce05(0x366)]=_0x463af7['in']);const _0x6afc47=await _0x563425[_0x35ce05(0x261)]({'options':{..._0x613c46,..._0x463af7},'args':[_0x1bc826],'tdx':_0x411334});gracefulExit(_0x6afc47);}),scheduleCmd[a2_0x24e9b5(0x466)]('update\x20<name>')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x27d))['option']('-d,\x20--database\x20<db>',a2_0x24e9b5(0x2b5))[a2_0x24e9b5(0x264)]('--in\x20<db>',a2_0x24e9b5(0x33e))['option'](a2_0x24e9b5(0x422),'Read\x20query\x20from\x20file')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x46b),'Query\x20type:\x20trino\x20or\x20hive')['option'](a2_0x24e9b5(0x227),a2_0x24e9b5(0x203))[a2_0x24e9b5(0x264)]('--timezone\x20<tz>',a2_0x24e9b5(0x192))[a2_0x24e9b5(0x264)]('--delay\x20<seconds>',a2_0x24e9b5(0x1b9))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x34c),a2_0x24e9b5(0x418))['option'](a2_0x24e9b5(0x200),'Retry\x20limit\x20(0\x20to\x2032)')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x256),a2_0x24e9b5(0x3be))[a2_0x24e9b5(0x264)]('--result\x20<url>',a2_0x24e9b5(0x2dc))[a2_0x24e9b5(0x251)](async(_0x545899,_0x14bf40)=>{const _0x4c19f6=a2_0x24e9b5,_0x1aaf96=new ScheduleUpdateCommand(),_0x1953e2=program[_0x4c19f6(0x1e9)](),_0x4e3714=await createTDXInstance(_0x1953e2);_0x14bf40['in']&&(_0x14bf40[_0x4c19f6(0x366)]=_0x14bf40['in']);const _0x13bfad=await _0x1aaf96[_0x4c19f6(0x261)]({'options':{..._0x1953e2,..._0x14bf40},'args':[_0x545899],'tdx':_0x4e3714});gracefulExit(_0x13bfad);}),scheduleCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x333))[a2_0x24e9b5(0x1ae)]('Delete\x20a\x20scheduled\x20query')['action'](async(_0x4d23b6,_0xe03ad5)=>{const _0x4ba074=a2_0x24e9b5,_0x5de82d=new ScheduleDeleteCommand(),_0x46858a=program[_0x4ba074(0x1e9)](),_0x48da35=await createTDXInstance(_0x46858a),_0x53f3cd=await _0x5de82d['run']({'options':{..._0x46858a,..._0xe03ad5},'args':[_0x4d23b6],'tdx':_0x48da35});gracefulExit(_0x53f3cd);}),scheduleCmd[a2_0x24e9b5(0x466)]('run\x20<name>')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x3ef))['option'](a2_0x24e9b5(0x24e),a2_0x24e9b5(0x320))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x267),'Number\x20of\x20executions\x20(1-10,\x20default:\x201)')['action'](async(_0x22ae70,_0x390b97)=>{const _0x349371=a2_0x24e9b5,_0xc815a6=new ScheduleRunCommand(),_0x5abb18=program[_0x349371(0x1e9)](),_0x2957ac=await createTDXInstance(_0x5abb18),_0x329120=await _0xc815a6[_0x349371(0x261)]({'options':{..._0x5abb18,..._0x390b97},'args':[_0x22ae70],'tdx':_0x2957ac});gracefulExit(_0x329120);}),scheduleCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x1ca))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x342))['option'](a2_0x24e9b5(0x414),a2_0x24e9b5(0x2e3))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x3d8),a2_0x24e9b5(0x294))[a2_0x24e9b5(0x251)](async(_0x4d3260,_0x112967)=>{const _0x12cab9=a2_0x24e9b5,_0x13ef35=new ScheduleHistoryCommand(),_0x38ef56=program[_0x12cab9(0x1e9)](),_0x21e5f2=await createTDXInstance(_0x38ef56),_0x275f27=await _0x13ef35[_0x12cab9(0x261)]({'options':{..._0x38ef56,..._0x112967},'args':[_0x4d3260],'tdx':_0x21e5f2});gracefulExit(_0x275f27);});const llmCmd=program[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x210))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x309));llmCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x425))['description'](a2_0x24e9b5(0x1f8))[a2_0x24e9b5(0x251)](async(_0x3f4dcd,_0x4f8ad6)=>{const _0x6b7599=a2_0x24e9b5,_0x424bfd=new LLMUseCommand(),_0x2534a3=program[_0x6b7599(0x1e9)](),_0x1b861b=await createTDXInstance(_0x2534a3),_0x1a3a31=await _0x424bfd['run']({'options':{..._0x2534a3,..._0x4f8ad6},'args':[_0x3f4dcd],'tdx':_0x1b861b});gracefulExit(_0x1a3a31);}),llmCmd['command'](a2_0x24e9b5(0x17b))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x427))[a2_0x24e9b5(0x251)](async _0x25764a=>{const _0x397069=a2_0x24e9b5,_0x5523e2=new LLMModelsCommand(),_0x346d31=program[_0x397069(0x1e9)](),_0xc9228f=await createTDXInstance(_0x346d31),_0x4c3ec5=await _0x5523e2[_0x397069(0x261)]({'options':{..._0x346d31,..._0x25764a},'args':[],'tdx':_0xc9228f});gracefulExit(_0x4c3ec5);});const projectCmd=llmCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x213))[a2_0x24e9b5(0x1ae)]('LLM\x20project\x20management'),llmProjectListAction=async(_0x449cf7,_0x2d2ee4)=>{const _0x3cc7cc=new LLMProjectsCommand(),_0x4a1513=program['opts'](),_0x255bc6=await createTDXInstance(_0x4a1513),_0x13c3ed=await _0x3cc7cc['run']({'options':{..._0x4a1513,..._0x2d2ee4},'args':_0x449cf7?[_0x449cf7]:[],'tdx':_0x255bc6});gracefulExit(_0x13c3ed);};projectCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x3db))['description'](a2_0x24e9b5(0x23f))[a2_0x24e9b5(0x251)](llmProjectListAction),llmCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x3bd))['description'](a2_0x24e9b5(0x170))[a2_0x24e9b5(0x251)](llmProjectListAction),projectCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x2fa))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x40b))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x230),a2_0x24e9b5(0x209))[a2_0x24e9b5(0x251)](async(_0x26f84c,_0x33f84a)=>{const _0x2871e0=new LLMProjectCreateCommand(),_0x51544f=program['opts'](),_0x26585d=await createTDXInstance(_0x51544f),_0x333d6f=await _0x2871e0['run']({'options':{..._0x51544f,..._0x33f84a},'args':[_0x26f84c],'tdx':_0x26585d});gracefulExit(_0x333d6f);}),projectCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x333))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x1d7))['action'](async(_0x245c23,_0x482707)=>{const _0xe9cf31=a2_0x24e9b5,_0x32213a=new LLMProjectDeleteCommand(),_0x186ac2=program[_0xe9cf31(0x1e9)](),_0x478c15=await createTDXInstance(_0x186ac2),_0x386c6c=await _0x32213a[_0xe9cf31(0x261)]({'options':{..._0x186ac2,..._0x482707},'args':[_0x245c23],'tdx':_0x478c15});gracefulExit(_0x386c6c);}),projectCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x3e9))[a2_0x24e9b5(0x1ae)]('[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)')['option'](a2_0x24e9b5(0x3c4),a2_0x24e9b5(0x3b7))[a2_0x24e9b5(0x264)]('--dry-run','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files')[a2_0x24e9b5(0x251)](async(_0x5320f9,_0x5304eb)=>{const _0x44fbb2=a2_0x24e9b5,_0x4ab8b9=new LLMProjectBackupCommand(),_0x544250=program[_0x44fbb2(0x1e9)](),_0x5851c7=await createTDXInstance(_0x544250),_0x58c038=await _0x4ab8b9[_0x44fbb2(0x261)]({'options':{..._0x544250,..._0x5304eb},'args':[_0x5320f9],'tdx':_0x5851c7});gracefulExit(_0x58c038);}),projectCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x45a))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x2e4))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x397),a2_0x24e9b5(0x1d2))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x435),a2_0x24e9b5(0x2b6))[a2_0x24e9b5(0x251)](async(_0x1311dd,_0x1044c1)=>{const _0x2cd149=a2_0x24e9b5,_0x3cf449=new LLMProjectRestoreCommand(),_0x3b2a2f=program[_0x2cd149(0x1e9)](),_0x4acfbd=await createTDXInstance(_0x3b2a2f),_0x536008=await _0x3cf449[_0x2cd149(0x261)]({'options':{..._0x3b2a2f,..._0x1044c1},'args':[_0x1311dd],'tdx':_0x4acfbd});gracefulExit(_0x536008);});const llmAgentListAction=async(_0x2c9203,_0x480a8f)=>{const _0xf3ee1e=a2_0x24e9b5,_0x595982=new LLMAgentsCommand(),_0x1a9e45=program[_0xf3ee1e(0x1e9)](),_0xb827ca=await createTDXInstance(_0x1a9e45),_0x4862f8=await _0x595982[_0xf3ee1e(0x261)]({'options':{..._0x1a9e45,..._0x480a8f},'args':_0x2c9203?[_0x2c9203]:[],'tdx':_0xb827ca});gracefulExit(_0x4862f8);};llmCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x37d))['description'](a2_0x24e9b5(0x339))[a2_0x24e9b5(0x251)](llmAgentListAction),program['command'](a2_0x24e9b5(0x37d))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x339))['action'](llmAgentListAction),llmCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x39a))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x441))[a2_0x24e9b5(0x264)]('--last',a2_0x24e9b5(0x276))['action'](async(_0x4612dc,_0x377e44)=>{const _0x380a00=new LLMHistoryCommand(),_0x2cd76c=program['opts'](),_0x563a94=await createTDXInstance(_0x2cd76c),_0xe20860=await _0x380a00['run']({'options':{..._0x2cd76c,..._0x377e44},'args':_0x4612dc?[_0x4612dc]:[],'tdx':_0x563a94});gracefulExit(_0xe20860);});isExperimentalAvailable()&&llmCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x34d))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x2ea))[a2_0x24e9b5(0x251)](async(_0x57fa3e,_0xe8d74e)=>{const _0x5d23f6=a2_0x24e9b5,_0x4478b6=new LLMLogCommand(),_0x3eb7b5=program['opts'](),_0x5f1a9e=await createTDXInstance(_0x3eb7b5),_0x307675=await _0x4478b6[_0x5d23f6(0x261)]({'options':{..._0x3eb7b5,..._0xe8d74e},'args':[_0x57fa3e],'tdx':_0x5f1a9e});gracefulExit(_0x307675);});program[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x32a))['usage']('[options]\x20--\x20[claude-code-args...]')[a2_0x24e9b5(0x1ae)]('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')['option'](a2_0x24e9b5(0x468),a2_0x24e9b5(0x166))['option'](a2_0x24e9b5(0x1db),a2_0x24e9b5(0x448))[a2_0x24e9b5(0x264)]('--no-proxy','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')[a2_0x24e9b5(0x3a6)]()[a2_0x24e9b5(0x2ed)](!![])[a2_0x24e9b5(0x406)]('after','\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_0x24e9b5(0x251)](async(_0x32fe8d,_0x430c5a)=>{const _0x275954=a2_0x24e9b5,_0x7a0113=program['opts'](),_0x13fd06=Array[_0x275954(0x247)](_0x32fe8d)?_0x32fe8d:[];if(_0x13fd06[0x0]===_0x275954(0x1f4)){const _0x18dd4e=new ClaudeStatuslineCommand(),_0x57a3e4=await _0x18dd4e['run']({'options':{..._0x7a0113,..._0x430c5a},'args':_0x13fd06['slice'](0x1),'tdx':null});gracefulExit(_0x57a3e4);}if(_0x13fd06[0x0]===_0x275954(0x1f6)){const _0x2ab388=new ClaudeUsageCommand(),_0xea7eed=await _0x2ab388['run']({'options':{..._0x7a0113,..._0x430c5a},'args':_0x13fd06[_0x275954(0x3df)](0x1),'tdx':null});gracefulExit(_0xea7eed);}const _0x12dee7=new ClaudeCommand(),_0x30f464=await createTDXInstance(_0x7a0113),_0x4dd204=await _0x12dee7[_0x275954(0x261)]({'options':{..._0x7a0113,..._0x430c5a},'args':_0x13fd06,'tdx':_0x30f464});gracefulExit(_0x4dd204);}),program[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x1d4))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x45c))[a2_0x24e9b5(0x264)]('--clear','Clear\x20session\x20context')['option']('--default',a2_0x24e9b5(0x453))[a2_0x24e9b5(0x251)](async(_0x44aff5,_0x346ca3,_0x40a806)=>{const _0x44dd44=a2_0x24e9b5,_0x6cb518=new UseCommand(),_0x5e0f19=program[_0x44dd44(0x1e9)](),_0x60f99c=[];if(_0x44aff5)_0x60f99c[_0x44dd44(0x400)](_0x44aff5);if(_0x346ca3)_0x60f99c[_0x44dd44(0x400)](_0x346ca3);const _0x447a5d=_0x44aff5===_0x44dd44(0x21c),_0x36a569=_0x447a5d?await createTDXInstance(_0x5e0f19):null,_0x250066=await _0x6cb518[_0x44dd44(0x261)]({'options':{..._0x5e0f19,..._0x40a806},'args':_0x60f99c,'tdx':_0x36a569});gracefulExit(_0x250066);}),program[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x1a6))['description']('Show\x20authentication\x20status\x20and\x20current\x20context')[a2_0x24e9b5(0x251)](async _0xbe86cf=>{const _0x53f856=a2_0x24e9b5,_0x4c49a8=new StatusCommand(),_0x1e7524=program[_0x53f856(0x1e9)](),_0x516df4=await createTDXInstance(_0x1e7524),_0x2a62a8=await _0x4c49a8['run']({'options':{..._0x1e7524,..._0xbe86cf},'args':[],'tdx':_0x516df4});gracefulExit(_0x2a62a8);}),program['command'](a2_0x24e9b5(0x331))[a2_0x24e9b5(0x1ae)]('Upgrade\x20tdx\x20to\x20the\x20latest\x20version')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x435),a2_0x24e9b5(0x458))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x401),'Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel')[a2_0x24e9b5(0x264)]('--method\x20<pm>',a2_0x24e9b5(0x2d7))[a2_0x24e9b5(0x251)](async(_0x1d4b6c,_0x421b77)=>{const _0x39dee1=a2_0x24e9b5,_0x1cd1ca=new UpgradeCommand(),_0x52e20f=program[_0x39dee1(0x1e9)](),_0x39f388=await _0x1cd1ca[_0x39dee1(0x261)]({'options':{..._0x52e20f,..._0x421b77},'args':_0x1d4b6c?[_0x1d4b6c]:[],'tdx':null});gracefulExit(_0x39f388);}),program[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x3ff))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x33c))['option'](a2_0x24e9b5(0x19b),a2_0x24e9b5(0x2c7))[a2_0x24e9b5(0x251)](async(_0x43b781,_0x25f35a)=>{const _0x2ac2d1=a2_0x24e9b5,_0x198334=new UnsetCommand(),_0x5d020d=program[_0x2ac2d1(0x1e9)](),_0xca11c0=await _0x198334[_0x2ac2d1(0x261)]({'options':{..._0x5d020d,..._0x25f35a},'args':[_0x43b781],'tdx':null});gracefulExit(_0xca11c0);}),program[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x364))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x3a7))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x411),'Show\x20the\x20most\x20recent\x20chat')[a2_0x24e9b5(0x251)](async _0x5482c9=>{const _0x50d15c=a2_0x24e9b5,_0x24189b=new ChatsCommand(),_0x1b0ddd=program['opts'](),_0x42a77d=await createTDXInstance(_0x1b0ddd),_0x4f06c1=await _0x24189b[_0x50d15c(0x261)]({'options':{..._0x1b0ddd,..._0x5482c9},'args':[],'tdx':_0x42a77d});gracefulExit(_0x4f06c1);});const authCmd=program[a2_0x24e9b5(0x466)]('auth')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x323));async function runAuthStatusCommand(_0x3e9ae7){const _0x1034e3=a2_0x24e9b5,_0x88456c=new AuthStatusCommand(),_0x331760=program[_0x1034e3(0x1e9)](),_0xc29143=await createTDXInstance(_0x331760),_0x2b2967=await _0x88456c['run']({'options':{..._0x331760,..._0x3e9ae7},'args':[],'tdx':_0xc29143});gracefulExit(_0x2b2967);}authCmd[a2_0x24e9b5(0x251)](runAuthStatusCommand),authCmd[a2_0x24e9b5(0x466)]('status')[a2_0x24e9b5(0x1ae)]('Show\x20authentication\x20status\x20and\x20validate\x20API\x20key')['action'](runAuthStatusCommand);async function authSetupAction(_0x5faf8a){const _0x2ec3a3=a2_0x24e9b5,_0x401b26=new AuthSetupCommand(),_0x4e4bf2=program[_0x2ec3a3(0x1e9)](),_0x13e073=await createTDXInstance(_0x4e4bf2),_0x389e65=await _0x401b26[_0x2ec3a3(0x261)]({'options':{..._0x4e4bf2,..._0x5faf8a},'args':[],'tdx':_0x13e073});gracefulExit(_0x389e65);}authCmd['command'](a2_0x24e9b5(0x43e))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x1a1))[a2_0x24e9b5(0x264)]('--account-name\x20<name>',a2_0x24e9b5(0x173))[a2_0x24e9b5(0x406)](a2_0x24e9b5(0x368),a2_0x24e9b5(0x23c))[a2_0x24e9b5(0x251)](authSetupAction),authCmd['command'](a2_0x24e9b5(0x3fd),{'hidden':!![]})['option']('--account-name\x20<name>',a2_0x24e9b5(0x173))['action'](authSetupAction),authCmd['command'](a2_0x24e9b5(0x3a4))['description']('Remove\x20API\x20key\x20from\x20system\x20keychain')[a2_0x24e9b5(0x406)]('after',a2_0x24e9b5(0x17c))[a2_0x24e9b5(0x251)](async _0x576e8b=>{const _0x5c9fd4=a2_0x24e9b5,_0x550b56=new AuthClearCommand(),_0x52112d=program['opts'](),_0x5c56f3=await _0x550b56[_0x5c9fd4(0x261)]({'options':{..._0x52112d,..._0x576e8b},'args':[],'tdx':null});gracefulExit(_0x5c56f3);});const userCmd=program[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x305))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x2e2)),userListAction=async _0x1c0684=>{const _0xd57692=a2_0x24e9b5,_0x251b31=new UserListCommand(),_0x2d1906=program[_0xd57692(0x1e9)](),_0x53208c=await createTDXInstance(_0x2d1906),_0x2be2ff=await _0x251b31[_0xd57692(0x261)]({'options':{..._0x2d1906,..._0x1c0684},'args':[],'tdx':_0x53208c});gracefulExit(_0x2be2ff);};userCmd[a2_0x24e9b5(0x251)](async _0xd2bf39=>{const _0x4d7b04=a2_0x24e9b5,_0x5d128d=new UserCommand(),_0xc4a668=program[_0x4d7b04(0x1e9)](),_0x5872f2=await createTDXInstance(_0xc4a668),_0x4ef2e6=await _0x5d128d[_0x4d7b04(0x261)]({'options':{..._0xc4a668,..._0xd2bf39},'args':[],'tdx':_0x5872f2});gracefulExit(_0x4ef2e6);}),userCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x253))['description'](a2_0x24e9b5(0x38b))[a2_0x24e9b5(0x251)](userListAction),program[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x46c))['description']('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')[a2_0x24e9b5(0x251)](userListAction);const policyCmd=program[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x2ac))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x1aa));policyCmd[a2_0x24e9b5(0x251)](async _0x113e91=>{const _0x2c3769=a2_0x24e9b5,_0x3dbc35=new PolicyCommand(),_0x2ac68d=program[_0x2c3769(0x1e9)](),_0x57c55a=await createTDXInstance(_0x2ac68d),_0x42e425=await _0x3dbc35[_0x2c3769(0x261)]({'options':{..._0x2ac68d,..._0x113e91},'args':[],'tdx':_0x57c55a});gracefulExit(_0x42e425);}),policyCmd['command'](a2_0x24e9b5(0x253))[a2_0x24e9b5(0x1ae)]('List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)')[a2_0x24e9b5(0x251)](async _0x3572cc=>{const _0x3465b3=a2_0x24e9b5,_0x889094=new PolicyListCommand(),_0x51bae2=program[_0x3465b3(0x1e9)](),_0x364436=await createTDXInstance(_0x51bae2),_0x5cff60=await _0x889094[_0x3465b3(0x261)]({'options':{..._0x51bae2,..._0x3572cc},'args':[],'tdx':_0x364436});gracefulExit(_0x5cff60);}),policyCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x2ce))[a2_0x24e9b5(0x1ae)]('Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)')[a2_0x24e9b5(0x251)](async(_0x116f6b,_0x2a0df9)=>{const _0x58af15=a2_0x24e9b5,_0x2c64e2=new PolicyShowCommand(),_0x9643e4=program['opts'](),_0x1bf3e2=await createTDXInstance(_0x9643e4),_0x477203=await _0x2c64e2[_0x58af15(0x261)]({'options':{..._0x9643e4,..._0x2a0df9},'args':[_0x116f6b],'tdx':_0x1bf3e2});gracefulExit(_0x477203);}),program[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x232))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x47b))[a2_0x24e9b5(0x251)](async _0x539860=>{const _0x54aad2=a2_0x24e9b5,_0x228de6=new ProfilesCommand(),_0x3bf786=program[_0x54aad2(0x1e9)](),_0xa4e064=await _0x228de6['run']({'options':{..._0x3bf786,..._0x539860},'args':[],'tdx':null});gracefulExit(_0xa4e064);});const profileCmd=program['command'](a2_0x24e9b5(0x41f))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x198));profileCmd['action'](()=>{const _0x485640=a2_0x24e9b5;profileCmd[_0x485640(0x2aa)]();});const profileListAction=async _0x4fb184=>{const _0x189210=a2_0x24e9b5,_0x2ef9a4=new ProfilesCommand(),_0x434779=program[_0x189210(0x1e9)](),_0x48b3e7=await _0x2ef9a4[_0x189210(0x261)]({'options':{..._0x434779,..._0x4fb184},'args':[],'tdx':null});gracefulExit(_0x48b3e7);};profileCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x253))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x47b))[a2_0x24e9b5(0x251)](profileListAction),profileCmd[a2_0x24e9b5(0x466)]('create\x20[name]')[a2_0x24e9b5(0x1ae)]('Create\x20a\x20new\x20profile')[a2_0x24e9b5(0x264)]('--account-name\x20<name>',a2_0x24e9b5(0x173))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x474),'Overwrite\x20existing\x20profile')[a2_0x24e9b5(0x406)](a2_0x24e9b5(0x368),a2_0x24e9b5(0x2c1))[a2_0x24e9b5(0x251)](async(_0x391a05,_0x4c5148)=>{const _0x12dd75=a2_0x24e9b5,_0x259dfe=new ProfileCreateCommand(),_0x514c4f=program[_0x12dd75(0x1e9)](),_0x493f38=await _0x259dfe['run']({'options':{..._0x514c4f,..._0x4c5148},'args':_0x391a05?[_0x391a05]:[],'tdx':null});gracefulExit(_0x493f38);});async function profileDeleteAction(_0x51e647,_0x4ca6c2){const _0x488239=a2_0x24e9b5,_0x2a5b44=new ProfileDeleteCommand(),_0x15fc2b=program[_0x488239(0x1e9)](),_0x57c948=await _0x2a5b44['run']({'options':{..._0x15fc2b,..._0x4ca6c2},'args':[_0x51e647],'tdx':null});gracefulExit(_0x57c948);}profileCmd['command'](a2_0x24e9b5(0x333))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x3a9))[a2_0x24e9b5(0x406)]('after','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a')['action'](profileDeleteAction),profileCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x3d3),{'hidden':!![]})[a2_0x24e9b5(0x251)](profileDeleteAction),profileCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x415))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x228))[a2_0x24e9b5(0x406)](a2_0x24e9b5(0x368),'\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_0x24e9b5(0x251)](async(_0x1cfbf9,_0x4e9e1f)=>{const _0x16bbd2=a2_0x24e9b5,_0x3a4ff8=new ProfileSetCommand(),_0x51ed91=program[_0x16bbd2(0x1e9)](),_0x2c6151=await _0x3a4ff8[_0x16bbd2(0x261)]({'options':{..._0x51ed91,..._0x4e9e1f},'args':[_0x1cfbf9],'tdx':null});gracefulExit(_0x2c6151);}),profileCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x257))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x30d))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x19b),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x24e9b5(0x406)](a2_0x24e9b5(0x368),a2_0x24e9b5(0x417))[a2_0x24e9b5(0x251)](async(_0x18d366,_0x3a4cca)=>{const _0x34fee7=a2_0x24e9b5,_0xebaaeb=new ProfileUseCommand(),_0x5c0756=program[_0x34fee7(0x1e9)](),_0x5249aa=await _0xebaaeb[_0x34fee7(0x261)]({'options':{..._0x5c0756,..._0x3a4cca},'args':[_0x18d366],'tdx':null});gracefulExit(_0x5249aa);});const engageCmd=program[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x1de))[a2_0x24e9b5(0x1ae)]('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x337555=>{return async(_0x124036,_0x5f4fd2)=>{const _0xd8b62f=a2_0x2980,_0x1c3ea1=new _0x337555(),_0x469f82=program[_0xd8b62f(0x1e9)](),_0x22cd65=await createTDXInstance(_0x469f82),_0x545b10=await _0x1c3ea1[_0xd8b62f(0x261)]({'options':{..._0x469f82,..._0x5f4fd2},'args':[_0x124036],'tdx':_0x22cd65});gracefulExit(_0x545b10);};},createEngageNoArgAction=_0x1c9187=>{return async _0x311909=>{const _0x3bb57a=a2_0x2980,_0x21c836=new _0x1c9187(),_0x5560e5=program[_0x3bb57a(0x1e9)](),_0x17ed71=await createTDXInstance(_0x5560e5),_0x57ff2d=await _0x21c836[_0x3bb57a(0x261)]({'options':{..._0x5560e5,..._0x311909},'args':[],'tdx':_0x17ed71});gracefulExit(_0x57ff2d);};},createEngageListAction=_0x2f30a8=>{return async(_0x5203c9,_0x114f98)=>{const _0x1053c8=a2_0x2980,_0x1c649a=new _0x2f30a8(),_0x20722c=program['opts'](),_0x53a9fc=await createTDXInstance(_0x20722c),_0x166bd9=await _0x1c649a[_0x1053c8(0x261)]({'options':{..._0x20722c,..._0x114f98},'args':_0x5203c9?[_0x5203c9]:[],'tdx':_0x53a9fc});gracefulExit(_0x166bd9);};},campaignCmd=engageCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x1dd))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x3ad));campaignCmd[a2_0x24e9b5(0x466)]('list\x20[pattern]')[a2_0x24e9b5(0x1ae)]('List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x24e9b5(0x264)]('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x259),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x24e9b5(0x264)]('--workspace\x20<name>',a2_0x24e9b5(0x2d8))[a2_0x24e9b5(0x251)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x1b4))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x186))[a2_0x24e9b5(0x264)]('--type\x20<type>',a2_0x24e9b5(0x34a))['option'](a2_0x24e9b5(0x259),a2_0x24e9b5(0x3e4))['option']('--workspace\x20<name>',a2_0x24e9b5(0x2d8))[a2_0x24e9b5(0x251)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x221))[a2_0x24e9b5(0x1ae)]('Show\x20campaign\x20details')['option'](a2_0x24e9b5(0x300),a2_0x24e9b5(0x2d8))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x292),a2_0x24e9b5(0x393))[a2_0x24e9b5(0x251)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x196))['description'](a2_0x24e9b5(0x438))['requiredOption'](a2_0x24e9b5(0x378),a2_0x24e9b5(0x1cb))['requiredOption'](a2_0x24e9b5(0x46b),a2_0x24e9b5(0x1bf))['option'](a2_0x24e9b5(0x300),a2_0x24e9b5(0x462))['option'](a2_0x24e9b5(0x40c),'Campaign\x20description')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x2d4),a2_0x24e9b5(0x388))['option'](a2_0x24e9b5(0x41c),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x3d1),a2_0x24e9b5(0x1a0))[a2_0x24e9b5(0x264)]('--start-at\x20<datetime>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x24e9b5(0x264)]('--timezone\x20<tz>',a2_0x24e9b5(0x340))['action'](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x24e9b5(0x466)]('update\x20<name-or-id>')[a2_0x24e9b5(0x1ae)]('Update\x20a\x20campaign')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x300),'Workspace\x20name')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x378),a2_0x24e9b5(0x2a2))['option'](a2_0x24e9b5(0x40c),a2_0x24e9b5(0x42f))[a2_0x24e9b5(0x264)]('--segment\x20<path>',a2_0x24e9b5(0x388))['option'](a2_0x24e9b5(0x41c),a2_0x24e9b5(0x1b2))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x3d1),a2_0x24e9b5(0x1a0))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x354),a2_0x24e9b5(0x2ca))[a2_0x24e9b5(0x264)]('--timezone\x20<tz>',a2_0x24e9b5(0x340))[a2_0x24e9b5(0x251)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x36e))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x3dd))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x300),a2_0x24e9b5(0x2d8))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x3d4),a2_0x24e9b5(0x2fc))['action'](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x412))[a2_0x24e9b5(0x1ae)]('Launch\x20a\x20campaign')['option'](a2_0x24e9b5(0x300),a2_0x24e9b5(0x2d8))[a2_0x24e9b5(0x251)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x2ba))['description'](a2_0x24e9b5(0x3fe))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x300),'Workspace\x20name')[a2_0x24e9b5(0x251)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x24e9b5(0x466)]('resume\x20<name-or-id>')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x45b))[a2_0x24e9b5(0x264)]('--workspace\x20<name>',a2_0x24e9b5(0x2d8))[a2_0x24e9b5(0x251)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x45e))['description'](a2_0x24e9b5(0x396))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x300),a2_0x24e9b5(0x2d8))['action'](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x32d))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x23a))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x300),a2_0x24e9b5(0x2d8))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x378),'Pull\x20specific\x20campaign\x20by\x20name')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x46b),a2_0x24e9b5(0x34a))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x435),a2_0x24e9b5(0x2ab))[a2_0x24e9b5(0x251)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x187))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x2a4))['option'](a2_0x24e9b5(0x300),a2_0x24e9b5(0x2d8))['option']('--dry-run','Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0x24e9b5(0x251)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x260))[a2_0x24e9b5(0x1ae)]('Validate\x20campaign\x20YAML\x20files\x20locally')[a2_0x24e9b5(0x264)]('--verbose',a2_0x24e9b5(0x26f))[a2_0x24e9b5(0x251)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x1fa))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x390));alwaysOnCampaignCmd['command'](a2_0x24e9b5(0x3db))[a2_0x24e9b5(0x1ae)]('List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x46b),a2_0x24e9b5(0x34a))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x259),a2_0x24e9b5(0x405))[a2_0x24e9b5(0x1e8)](a2_0x24e9b5(0x300),a2_0x24e9b5(0x462))[a2_0x24e9b5(0x251)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd['command'](a2_0x24e9b5(0x419))['description']('List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)')['option']('--type\x20<type>',a2_0x24e9b5(0x34a))[a2_0x24e9b5(0x264)]('--status\x20<status>',a2_0x24e9b5(0x405))[a2_0x24e9b5(0x1e8)]('--workspace\x20<name>',a2_0x24e9b5(0x462))[a2_0x24e9b5(0x251)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x221))['description']('Show\x20always-on\x20campaign\x20details')[a2_0x24e9b5(0x1e8)](a2_0x24e9b5(0x300),a2_0x24e9b5(0x462))['option'](a2_0x24e9b5(0x292),a2_0x24e9b5(0x393))[a2_0x24e9b5(0x251)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x196))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x1cc))['requiredOption'](a2_0x24e9b5(0x378),'Campaign\x20name')[a2_0x24e9b5(0x1e8)](a2_0x24e9b5(0x46b),'Campaign\x20type\x20(email\x20or\x20push)')[a2_0x24e9b5(0x1e8)](a2_0x24e9b5(0x300),'Workspace\x20name\x20(required)')[a2_0x24e9b5(0x264)]('--description\x20<desc>',a2_0x24e9b5(0x42f))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x2d4),'Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')['option']('--enable-utm-tracking',a2_0x24e9b5(0x332))[a2_0x24e9b5(0x251)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd['command'](a2_0x24e9b5(0x467))['description'](a2_0x24e9b5(0x34e))['requiredOption'](a2_0x24e9b5(0x300),'Workspace\x20name\x20(required)')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x378),a2_0x24e9b5(0x2a2))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x40c),a2_0x24e9b5(0x42f))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x2d4),'Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')['option']('--enable-utm-tracking','Enable\x20UTM\x20tracking')[a2_0x24e9b5(0x251)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x24e9b5(0x466)]('delete\x20<name-or-id>')[a2_0x24e9b5(0x1ae)]('Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)')[a2_0x24e9b5(0x1e8)](a2_0x24e9b5(0x300),a2_0x24e9b5(0x462))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x3d4),a2_0x24e9b5(0x2fc))[a2_0x24e9b5(0x251)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd['command'](a2_0x24e9b5(0x412))[a2_0x24e9b5(0x1ae)]('Launch\x20an\x20always-on\x20campaign')[a2_0x24e9b5(0x1e8)](a2_0x24e9b5(0x300),a2_0x24e9b5(0x462))[a2_0x24e9b5(0x251)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x2ba))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x222))[a2_0x24e9b5(0x1e8)](a2_0x24e9b5(0x300),a2_0x24e9b5(0x462))[a2_0x24e9b5(0x251)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd['command'](a2_0x24e9b5(0x402))[a2_0x24e9b5(0x1ae)]('Resume\x20a\x20paused\x20always-on\x20campaign')[a2_0x24e9b5(0x1e8)](a2_0x24e9b5(0x300),'Workspace\x20name\x20(required)')[a2_0x24e9b5(0x251)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x1c1))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x359))['requiredOption'](a2_0x24e9b5(0x300),a2_0x24e9b5(0x462))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x3d4),a2_0x24e9b5(0x2fc))[a2_0x24e9b5(0x251)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd['command'](a2_0x24e9b5(0x45e))['description'](a2_0x24e9b5(0x1d0))[a2_0x24e9b5(0x1e8)](a2_0x24e9b5(0x300),'Workspace\x20name\x20(required)')['requiredOption']('--name\x20<name>',a2_0x24e9b5(0x262))[a2_0x24e9b5(0x251)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x24e9b5(0x466)]('template')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x408));templateCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x3db))[a2_0x24e9b5(0x1ae)]('List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x300),'Workspace\x20name')[a2_0x24e9b5(0x251)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x326))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x289))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x300),a2_0x24e9b5(0x2d8))[a2_0x24e9b5(0x251)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x24e9b5(0x466)]('show\x20<name-or-id>')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x421))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x300),a2_0x24e9b5(0x2d8))[a2_0x24e9b5(0x264)]('--full',a2_0x24e9b5(0x393))[a2_0x24e9b5(0x251)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x196))['description'](a2_0x24e9b5(0x254))[a2_0x24e9b5(0x1e8)]('--name\x20<name>','Template\x20name')[a2_0x24e9b5(0x1e8)](a2_0x24e9b5(0x45d),a2_0x24e9b5(0x225))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x2f8),'HTML\x20template\x20content')['option'](a2_0x24e9b5(0x2a9),a2_0x24e9b5(0x33b))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x300),a2_0x24e9b5(0x462))[a2_0x24e9b5(0x264)]('--plaintext\x20<text>',a2_0x24e9b5(0x3e6))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x19e),a2_0x24e9b5(0x3b1),_0x5282f2=>{const _0x44f05d=a2_0x24e9b5;if(![_0x44f05d(0x434),_0x44f05d(0x1c4)][_0x44f05d(0x1c7)](_0x5282f2))throw new SDKError(ErrorCode[_0x44f05d(0x2e8)],'Invalid\x20editor\x20type:\x20'+_0x5282f2+_0x44f05d(0x2c8));return _0x5282f2;})[a2_0x24e9b5(0x251)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x467))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x277))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x300),a2_0x24e9b5(0x2d8))[a2_0x24e9b5(0x264)]('--name\x20<name>',a2_0x24e9b5(0x175))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x45d),'Email\x20subject\x20template')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x2f8),a2_0x24e9b5(0x409))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x2a9),a2_0x24e9b5(0x33b))[a2_0x24e9b5(0x264)]('--plaintext\x20<text>',a2_0x24e9b5(0x3e6))[a2_0x24e9b5(0x251)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd['command'](a2_0x24e9b5(0x182))[a2_0x24e9b5(0x1ae)]('Pull\x20templates\x20to\x20YAML\x20files')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x300),a2_0x24e9b5(0x2d8))['option'](a2_0x24e9b5(0x378),'Pull\x20specific\x20template\x20by\x20name')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x319),a2_0x24e9b5(0x2fc))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x435),'Show\x20what\x20would\x20be\x20written\x20without\x20writing')[a2_0x24e9b5(0x251)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x24e9b5(0x466)]('push\x20[target]')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x347))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x300),a2_0x24e9b5(0x2d8))['option'](a2_0x24e9b5(0x319),a2_0x24e9b5(0x2fc))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x435),a2_0x24e9b5(0x362))[a2_0x24e9b5(0x251)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x260))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x351))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x2f1),'Show\x20all\x20files\x20including\x20valid\x20ones')['action'](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x24e9b5(0x466)]('delete\x20<name-or-id>')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x31f))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x300),'Workspace\x20name')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x3d4),a2_0x24e9b5(0x2fc))['action'](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command'](a2_0x24e9b5(0x33a))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x338));workspaceCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x3db))[a2_0x24e9b5(0x1ae)]('List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x24e9b5(0x251)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x1ba))[a2_0x24e9b5(0x1ae)]('List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)')[a2_0x24e9b5(0x251)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd['command'](a2_0x24e9b5(0x221))['description'](a2_0x24e9b5(0x3c8))[a2_0x24e9b5(0x264)]('--full','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x24e9b5(0x251)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x196))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x32b))['requiredOption']('--name\x20<name>',a2_0x24e9b5(0x2d8))['option'](a2_0x24e9b5(0x40c),a2_0x24e9b5(0x420))[a2_0x24e9b5(0x251)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd['command']('update\x20<name-or-id>')['description']('Update\x20a\x20workspace')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x378),a2_0x24e9b5(0x451))['option']('--description\x20<desc>',a2_0x24e9b5(0x420))['action'](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd['command']('delete\x20<name-or-id>')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x2f5))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x3d4),a2_0x24e9b5(0x2fc))[a2_0x24e9b5(0x251)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x257))[a2_0x24e9b5(0x1ae)]('Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)')[a2_0x24e9b5(0x251)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x24e9b5(0x466)]('delivery')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x242));deliveryCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x2dd))['description'](a2_0x24e9b5(0x2d6))['option'](a2_0x24e9b5(0x300),'Workspace\x20name')[a2_0x24e9b5(0x251)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x2d0))[a2_0x24e9b5(0x1ae)]('Data\x20connection\x20management\x20(for\x20activations/exports)'),connectionListAction=async _0x37fb73=>{const _0x368d99=a2_0x24e9b5,_0x534f25=new ConnectionListCommand(),_0x256991=program[_0x368d99(0x1e9)](),_0x11f03a=await createTDXInstance(_0x256991),_0x395ac7=await _0x534f25[_0x368d99(0x261)]({'options':{..._0x256991,..._0x37fb73},'args':[],'tdx':_0x11f03a});gracefulExit(_0x395ac7);};connectionCmd['command']('list')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x208))[a2_0x24e9b5(0x251)](connectionListAction),program[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x47c),{'hidden':!![]})[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x2b8))[a2_0x24e9b5(0x251)](connectionListAction),connectionCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x235))[a2_0x24e9b5(0x1ae)]('Show\x20connection\x20details\x20by\x20name')[a2_0x24e9b5(0x251)](async(_0x7b9541,_0x76dce2)=>{const _0x21a057=a2_0x24e9b5,_0x14b163=new ConnectionShowCommand(),_0x3909bf=program[_0x21a057(0x1e9)](),_0x498e07=await createTDXInstance(_0x3909bf),_0x10dffc=await _0x14b163[_0x21a057(0x261)]({'options':{..._0x3909bf,..._0x76dce2},'args':[_0x7b9541],'tdx':_0x498e07});gracefulExit(_0x10dffc);}),connectionCmd[a2_0x24e9b5(0x466)]('schema\x20<type>')['description'](a2_0x24e9b5(0x1b3))[a2_0x24e9b5(0x251)](async(_0x288c12,_0x28c558)=>{const _0x41e545=a2_0x24e9b5,_0x24357c=new ConnectionSchemaCommand(),_0x198671=program['opts'](),_0x189bf2=await createTDXInstance(_0x198671),_0x527a2=await _0x24357c[_0x41e545(0x261)]({'options':{..._0x198671,..._0x28c558},'args':[_0x288c12],'tdx':_0x189bf2});gracefulExit(_0x527a2);}),connectionCmd['command'](a2_0x24e9b5(0x3b6))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x41a))[a2_0x24e9b5(0x251)](async _0x4a2c67=>{const _0x219e52=a2_0x24e9b5,_0x4104d1=new ConnectionTypesCommand(),_0x5e4bda=program[_0x219e52(0x1e9)](),_0x3f38bc=await createTDXInstance(_0x5e4bda),_0x21e831=await _0x4104d1[_0x219e52(0x261)]({'options':{..._0x5e4bda,..._0x4a2c67},'args':[],'tdx':_0x3f38bc});gracefulExit(_0x21e831);}),connectionCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x29c))['description']('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x24e9b5(0x251)](async(_0x4432dc,_0x2792df)=>{const _0x914283=a2_0x24e9b5,_0x2b174e=new ConnectionSettingsCommand(),_0x509cb7=program[_0x914283(0x1e9)](),_0x3abf4d=await createTDXInstance(_0x509cb7),_0x479c2e=await _0x2b174e[_0x914283(0x261)]({'options':{..._0x509cb7,..._0x2792df},'args':[_0x4432dc],'tdx':_0x3abf4d});gracefulExit(_0x479c2e);});const casCmd=program[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x399))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x38d));casCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x253))[a2_0x24e9b5(0x1ae)]('List\x20composable\x20audiences')[a2_0x24e9b5(0x251)](async _0x31f2b9=>{const _0x47fb6a=new CASListCommand(),_0xe8357e=program['opts'](),_0x567e1a=await createTDXInstance(_0xe8357e),_0x190e36=await _0x47fb6a['run']({'options':{..._0xe8357e,..._0x31f2b9},'args':[],'tdx':_0x567e1a});gracefulExit(_0x190e36);}),casCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x3c5))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x3ea))[a2_0x24e9b5(0x251)](async(_0x520b01,_0x5afa3e)=>{const _0x3db7e0=a2_0x24e9b5,_0x3c23ff=new CASDescCommand(),_0x3179e7=program[_0x3db7e0(0x1e9)](),_0x5cba9f=await createTDXInstance(_0x3179e7),_0x2b6722=await _0x3c23ff[_0x3db7e0(0x261)]({'options':{..._0x3179e7,..._0x5afa3e},'args':_0x520b01?[_0x520b01]:[],'tdx':_0x5cba9f});gracefulExit(_0x2b6722);}),casCmd['command'](a2_0x24e9b5(0x40d))['description'](a2_0x24e9b5(0x2a0))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x2f0),a2_0x24e9b5(0x3c0))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x435),'Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')[a2_0x24e9b5(0x251)](async(_0x14426b,_0x51eaf1)=>{const _0x24c256=a2_0x24e9b5,_0x58eefd=new CASPullCommand(),_0x453968=program[_0x24c256(0x1e9)](),_0x5eca07=await createTDXInstance(_0x453968),_0x6e340d=await _0x58eefd['run']({'options':{..._0x453968,..._0x51eaf1},'args':_0x14426b?[_0x14426b]:[],'tdx':_0x5eca07});gracefulExit(_0x6e340d);}),casCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x187))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x274))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x435),a2_0x24e9b5(0x191))[a2_0x24e9b5(0x251)](async(_0x3dc4dc,_0x55ab16)=>{const _0x495671=a2_0x24e9b5,_0x4a42c9=new CASPushCommand(),_0x2fd5a6=program[_0x495671(0x1e9)](),_0x470499=await createTDXInstance(_0x2fd5a6),_0x2c0e82=await _0x4a42c9[_0x495671(0x261)]({'options':{..._0x2fd5a6,..._0x55ab16},'args':_0x3dc4dc?[_0x3dc4dc]:[],'tdx':_0x470499});gracefulExit(_0x2c0e82);}),casCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x241))['description'](a2_0x24e9b5(0x41e))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x454),'Composable\x20audience\x20name')['action'](async(_0x5e16de,_0x223ce8)=>{const _0x53c6fc=a2_0x24e9b5,_0x489de7=new CASPreviewCommand(),_0x31ba33=program['opts'](),_0x5aefad=await createTDXInstance(_0x31ba33),_0x55cc97=await _0x489de7[_0x53c6fc(0x261)]({'options':{..._0x31ba33,..._0x223ce8},'args':[_0x5e16de,_0x223ce8[_0x53c6fc(0x26e)]],'tdx':_0x5aefad});gracefulExit(_0x55cc97);});const casSgCmd=casCmd[a2_0x24e9b5(0x466)]('sg')[a2_0x24e9b5(0x1ae)]('Composable\x20segment\x20commands');casSgCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x207))[a2_0x24e9b5(0x1ae)]('List\x20composable\x20segments\x20for\x20an\x20audience')[a2_0x24e9b5(0x251)](async(_0x5a8814,_0x458ae0)=>{const _0x82a1d1=a2_0x24e9b5,_0x15aea6=new CASSegmentListCommand(),_0x395eaa=program[_0x82a1d1(0x1e9)](),_0x572ca7=await createTDXInstance(_0x395eaa),_0x22a627=await _0x15aea6[_0x82a1d1(0x261)]({'options':{..._0x395eaa,..._0x458ae0},'args':_0x5a8814?[_0x5a8814]:[],'tdx':_0x572ca7});gracefulExit(_0x22a627);});const journeyCmd=program['command'](a2_0x24e9b5(0x321))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x430)),journeyListAction=async(_0x337fdf,_0x40f13c)=>{const _0x17b4c3=a2_0x24e9b5,_0x3d9daa=new JourneyListCommand(),_0xe3fb20=program[_0x17b4c3(0x1e9)](),_0x251035=await createTDXInstance(_0xe3fb20),_0x51c5d9=await _0x3d9daa[_0x17b4c3(0x261)]({'options':{..._0xe3fb20,..._0x40f13c},'args':_0x337fdf?[_0x337fdf]:[],'tdx':_0x251035});gracefulExit(_0x51c5d9);};journeyCmd['command'](a2_0x24e9b5(0x3db))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x404))['action'](journeyListAction),journeyCmd['command'](a2_0x24e9b5(0x1fc))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x20a))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x18b),'Open\x20journey\x20in\x20web\x20browser')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x189),a2_0x24e9b5(0x36a))[a2_0x24e9b5(0x251)](async(_0x43c57a,_0x5523ec)=>{const _0x24851c=a2_0x24e9b5,_0x4dd8e3=new JourneyViewCommand(),_0x3bd4e7=program[_0x24851c(0x1e9)](),_0x1fa53d=await createTDXInstance(_0x3bd4e7),_0xa6c1a1=await _0x4dd8e3[_0x24851c(0x261)]({'options':{..._0x3bd4e7,..._0x5523ec},'args':[_0x43c57a],'tdx':_0x1fa53d});gracefulExit(_0xa6c1a1);}),journeyCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x275))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x2d9))[a2_0x24e9b5(0x264)]('--stage\x20<name>',a2_0x24e9b5(0x15b))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x17a),a2_0x24e9b5(0x162))['option'](a2_0x24e9b5(0x369),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x24e9b5(0x264)]('--include-history',a2_0x24e9b5(0x1eb))[a2_0x24e9b5(0x251)](async(_0x24158e,_0x692b33)=>{const _0x2f716b=a2_0x24e9b5,_0x2d51de=new JourneyStatsCommand(),_0x19cb09=program[_0x2f716b(0x1e9)](),_0x1f5299=await createTDXInstance(_0x19cb09),_0x1930d6=await _0x2d51de[_0x2f716b(0x261)]({'options':{..._0x19cb09,..._0x692b33},'args':[_0x24158e],'tdx':_0x1f5299});gracefulExit(_0x1930d6);}),journeyCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x423))['description'](a2_0x24e9b5(0x452))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x46b),a2_0x24e9b5(0x165))['option']('--from\x20<date>',a2_0x24e9b5(0x162))['option'](a2_0x24e9b5(0x369),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')['option'](a2_0x24e9b5(0x324),a2_0x24e9b5(0x371),_0x5d3c22=>{const _0x223545=a2_0x24e9b5,_0xe5d464=parseInt(_0x5d3c22,0xa);if(isNaN(_0xe5d464))throw new Error(_0x223545(0x3ca)+_0x5d3c22+_0x223545(0x20e));return _0xe5d464;})[a2_0x24e9b5(0x251)](async(_0x6844fe,_0x46b443)=>{const _0x41d5d7=a2_0x24e9b5,_0x5b65a9=new JourneyTrafficCommand(),_0x32dd5e=program[_0x41d5d7(0x1e9)](),_0x207b7f=await createTDXInstance(_0x32dd5e),_0x43e39d=await _0x5b65a9['run']({'options':{..._0x32dd5e,..._0x46b443},'args':[_0x6844fe],'tdx':_0x207b7f});gracefulExit(_0x43e39d);}),journeyCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x442))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x1f5))['action'](async(_0x36572,_0x1c31c4)=>{const _0x2d5e12=a2_0x24e9b5,_0x64b144=new JourneyPauseCommand(),_0x514b59=program['opts'](),_0x29adc5=await createTDXInstance(_0x514b59),_0x34cbf0=await _0x64b144[_0x2d5e12(0x261)]({'options':{..._0x514b59,..._0x1c31c4},'args':[_0x36572],'tdx':_0x29adc5});gracefulExit(_0x34cbf0);}),journeyCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x475))[a2_0x24e9b5(0x1ae)]('Resume\x20a\x20paused\x20journey')[a2_0x24e9b5(0x251)](async(_0x2378a3,_0x41ed1d)=>{const _0x4610b9=a2_0x24e9b5,_0x44e162=new JourneyResumeCommand(),_0x36924e=program['opts'](),_0x373532=await createTDXInstance(_0x36924e),_0x4ef89b=await _0x44e162[_0x4610b9(0x261)]({'options':{..._0x36924e,..._0x41ed1d},'args':[_0x2378a3],'tdx':_0x373532});gracefulExit(_0x4ef89b);}),journeyCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x40d))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x282))[a2_0x24e9b5(0x264)]('--dry-run',a2_0x24e9b5(0x1ab))[a2_0x24e9b5(0x251)](async(_0x3ac00b,_0x31a56e)=>{const _0x2683a7=a2_0x24e9b5,_0x182080=new JourneyPullCommand(),_0x43954a=program['opts'](),_0x26a2b7=await createTDXInstance(_0x43954a),_0x1645d0=await _0x182080[_0x2683a7(0x261)]({'options':{..._0x43954a,..._0x31a56e},'args':_0x3ac00b?[_0x3ac00b]:[],'tdx':_0x26a2b7});gracefulExit(_0x1645d0);}),journeyCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x187))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x1d5))[a2_0x24e9b5(0x251)](async(_0x133c56,_0x530d9d)=>{const _0x24864a=a2_0x24e9b5,_0x42f4e7=new JourneyPushCommand(),_0x3b8820=program['opts'](),_0xe7775b=await createTDXInstance(_0x3b8820),_0x5d2820=await _0x42f4e7[_0x24864a(0x261)]({'options':{..._0x3b8820,..._0x530d9d},'args':_0x133c56?[_0x133c56]:[],'tdx':_0xe7775b});gracefulExit(_0x5d2820);}),journeyCmd[a2_0x24e9b5(0x466)]('columns\x20<name-or-path>')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x194))['action'](async(_0xe92184,_0x111b34)=>{const _0x12377c=new JourneyColumnsCommand(),_0x4efca4=program['opts'](),_0x11ca32=await createTDXInstance(_0x4efca4),_0x1dc078=await _0x12377c['run']({'options':{..._0x4efca4,..._0x111b34},'args':[_0xe92184],'tdx':_0x11ca32});gracefulExit(_0x1dc078);}),journeyCmd['command']('activations\x20<name-or-path>')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x426))['action'](async(_0x1028cd,_0x4e57c4)=>{const _0x4fc547=a2_0x24e9b5,_0x3584d3=new JourneyActivationsCommand(),_0xddc5d1=program[_0x4fc547(0x1e9)](),_0x4ab804=await createTDXInstance(_0xddc5d1),_0x464e04=await _0x3584d3[_0x4fc547(0x261)]({'options':{..._0xddc5d1,..._0x4e57c4},'args':[_0x1028cd],'tdx':_0x4ab804});gracefulExit(_0x464e04);}),journeyCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x436))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x3fc))[a2_0x24e9b5(0x251)](async(_0x149881,_0x9bfa51)=>{const _0x445de0=a2_0x24e9b5,_0x24c963=new JourneyVersionsCommand(),_0x49dc77=program[_0x445de0(0x1e9)](),_0x4585d8=await createTDXInstance(_0x49dc77),_0x43492c=await _0x24c963[_0x445de0(0x261)]({'options':{..._0x49dc77,..._0x9bfa51},'args':[_0x149881],'tdx':_0x4585d8});gracefulExit(_0x43492c);});const journeyVersionCmd=journeyCmd['command'](a2_0x24e9b5(0x336))['description']('Journey\x20version\x20management');journeyVersionCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x1fb))['description'](a2_0x24e9b5(0x298))[a2_0x24e9b5(0x251)](async(_0x2494b7,_0xc89d3c)=>{const _0x3e88ca=a2_0x24e9b5,_0x4c09e8=new JourneyVersionCreateCommand(),_0x28f2b3=program[_0x3e88ca(0x1e9)](),_0x14b29f=await createTDXInstance(_0x28f2b3),_0x4d1b22=await _0x4c09e8[_0x3e88ca(0x261)]({'options':{..._0x28f2b3,..._0xc89d3c},'args':[_0x2494b7],'tdx':_0x14b29f});gracefulExit(_0x4d1b22);}),journeyVersionCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x1fc))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x185))[a2_0x24e9b5(0x1e8)](a2_0x24e9b5(0x3e8),a2_0x24e9b5(0x160))[a2_0x24e9b5(0x251)](async(_0xfb3647,_0x1fbf02)=>{const _0x49c465=a2_0x24e9b5,_0x39d7a0=new JourneyVersionViewCommand(),_0x1a1046=program[_0x49c465(0x1e9)](),_0x4af8ce=await createTDXInstance(_0x1a1046),_0x431fe8=await _0x39d7a0[_0x49c465(0x261)]({'options':{..._0x1a1046,..._0x1fbf02},'args':[_0xfb3647],'tdx':_0x4af8ce});gracefulExit(_0x431fe8);}),journeyCmd[a2_0x24e9b5(0x466)]('validate\x20[target]')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x440))['action'](async(_0x237954,_0x3e9b85)=>{const _0x4b94ff=a2_0x24e9b5,_0x3dff86=new JourneyValidateCommand(),_0x17f77a=program[_0x4b94ff(0x1e9)](),_0x3fa026=await createTDXInstance(_0x17f77a),_0x3ed582=await _0x3dff86[_0x4b94ff(0x261)]({'options':{..._0x17f77a,..._0x3e9b85},'args':_0x237954?[_0x237954]:[],'tdx':_0x3fa026});gracefulExit(_0x3ed582);}),program[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x1d1))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x19c))[a2_0x24e9b5(0x251)](journeyListAction);const agentSyncCmd=program['command'](a2_0x24e9b5(0x47a))[a2_0x24e9b5(0x1ae)]('LLM\x20agent\x20management');agentSyncCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x1d6))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x2ee))[a2_0x24e9b5(0x264)]('-o,\x20--output\x20<dir>',a2_0x24e9b5(0x437))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x474),a2_0x24e9b5(0x3f9))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x39b),'Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)')['action'](async(_0x43d14b,_0x41cfc6,_0x364e89)=>{const _0x3f5e22=a2_0x24e9b5,_0x30b314=new AgentPullCommand(),_0x22ed63=program[_0x3f5e22(0x1e9)](),_0x51d5da=await createTDXInstance(_0x22ed63),_0x328d2a=[];if(_0x43d14b)_0x328d2a['push'](_0x43d14b);if(_0x41cfc6)_0x328d2a[_0x3f5e22(0x400)](_0x41cfc6);const _0x21a4e7=await _0x30b314[_0x3f5e22(0x261)]({'options':{..._0x22ed63,..._0x364e89},'args':_0x328d2a,'tdx':_0x51d5da});gracefulExit(_0x21a4e7);}),agentSyncCmd[a2_0x24e9b5(0x466)]('push\x20[path]')['description'](a2_0x24e9b5(0x174))[a2_0x24e9b5(0x264)]('-f,\x20--force',a2_0x24e9b5(0x2b3))['action'](async(_0x3d68e0,_0xe899ff)=>{const _0x1ecdea=a2_0x24e9b5,_0x202246=new AgentPushCommand(),_0x489cde=program[_0x1ecdea(0x1e9)](),_0x346a8b=await createTDXInstance(_0x489cde),_0x4a62ad=await _0x202246[_0x1ecdea(0x261)]({'options':{..._0x489cde,..._0xe899ff},'args':_0x3d68e0?[_0x3d68e0]:[],'tdx':_0x346a8b});gracefulExit(_0x4a62ad);}),agentSyncCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x204))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x199))[a2_0x24e9b5(0x264)]('-n,\x20--name\x20<name>','Name\x20for\x20the\x20new\x20project\x20(required)')['action'](async(_0x3dde21,_0x184e5c)=>{const _0xd38cd=a2_0x24e9b5,_0x4058c5=new AgentCloneCommand(),_0x2008c5=program[_0xd38cd(0x1e9)](),_0x596d47=await createTDXInstance(_0x2008c5),_0x298322=await _0x4058c5['run']({'options':{..._0x2008c5,..._0x184e5c},'args':_0x3dde21?[_0x3dde21]:[],'tdx':_0x596d47});gracefulExit(_0x298322);}),agentSyncCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x37a))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x3f1))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x31e),a2_0x24e9b5(0x206))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x27a),a2_0x24e9b5(0x291))[a2_0x24e9b5(0x264)]('--dry-run',a2_0x24e9b5(0x367))[a2_0x24e9b5(0x264)]('--no-eval',a2_0x24e9b5(0x1b1))[a2_0x24e9b5(0x264)]('--reeval',a2_0x24e9b5(0x168))[a2_0x24e9b5(0x251)](async(_0x3297f8,_0x107d5b)=>{const _0x293082=a2_0x24e9b5,_0x53aa24=new AgentTestCommand(),_0x352c14=program[_0x293082(0x1e9)](),_0xe1629c=await createTDXInstance(_0x352c14),_0x5a1e6d=await _0x53aa24['run']({'options':{..._0x352c14,..._0x107d5b},'args':_0x3297f8?[_0x3297f8]:[],'tdx':_0xe1629c});gracefulExit(_0x5a1e6d);}),agentSyncCmd['command'](a2_0x24e9b5(0x3db))[a2_0x24e9b5(0x1ae)]('List\x20agents\x20in\x20current\x20project')['action'](llmAgentListAction),agentSyncCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x3a5))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x42b))[a2_0x24e9b5(0x251)](async(_0x99f478,_0x142f5c)=>{const _0x4238f8=a2_0x24e9b5,_0xc6cd8a=new LLMAgentShowCommand(),_0x1081d3=program[_0x4238f8(0x1e9)](),_0x3fe62c=await createTDXInstance(_0x1081d3),_0x4a517b=await _0xc6cd8a['run']({'options':{..._0x1081d3,..._0x142f5c},'args':[_0x99f478],'tdx':_0x3fe62c});gracefulExit(_0x4a517b);}),agentSyncCmd['command'](a2_0x24e9b5(0x2fa))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x3f6))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x2cc),a2_0x24e9b5(0x341))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x322),'Model\x20type\x20(default:\x20claude-4.5-sonnet)',a2_0x24e9b5(0x164))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x26c),a2_0x24e9b5(0x3b5))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x237),a2_0x24e9b5(0x236),'4')['option'](a2_0x24e9b5(0x312),a2_0x24e9b5(0x472),a2_0x24e9b5(0x38a))[a2_0x24e9b5(0x251)](async(_0x5e3e86,_0x21d1f4)=>{const _0x2d01a9=a2_0x24e9b5,_0x599740=new LLMAgentCreateCommand(),_0x70e17a=program['opts'](),_0x32e555=await createTDXInstance(_0x70e17a),_0x54d498=await _0x599740[_0x2d01a9(0x261)]({'options':{..._0x70e17a,..._0x21d1f4},'args':[_0x5e3e86],'tdx':_0x32e555});gracefulExit(_0x54d498);}),agentSyncCmd['command']('update\x20<agent-name>')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x26d))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x3cc),a2_0x24e9b5(0x35a))['option'](a2_0x24e9b5(0x413),a2_0x24e9b5(0x2d5))[a2_0x24e9b5(0x264)]('--description\x20<text>','Agent\x20description')[a2_0x24e9b5(0x264)]('--starter-message\x20<text>','Starter\x20message')[a2_0x24e9b5(0x251)](async(_0x257056,_0x2d106d)=>{const _0x3c74cd=a2_0x24e9b5,_0x5aef7f=new LLMAgentUpdateCommand(),_0x5627ac=program['opts'](),_0x4db3bd=await createTDXInstance(_0x5627ac),_0x50c6e6=await _0x5aef7f[_0x3c74cd(0x261)]({'options':{..._0x5627ac,..._0x2d106d},'args':[_0x257056],'tdx':_0x4db3bd});gracefulExit(_0x50c6e6);}),agentSyncCmd[a2_0x24e9b5(0x466)]('delete\x20<agent-name>')['description'](a2_0x24e9b5(0x1c5))[a2_0x24e9b5(0x251)](async(_0xc1ad6f,_0x27e715)=>{const _0x4cdac3=a2_0x24e9b5,_0x1156ac=new LLMAgentDeleteCommand(),_0x4e8bbe=program[_0x4cdac3(0x1e9)](),_0x21bd4d=await createTDXInstance(_0x4e8bbe),_0x4be331=await _0x1156ac['run']({'options':{..._0x4e8bbe,..._0x27e715},'args':[_0xc1ad6f],'tdx':_0x21bd4d});gracefulExit(_0x4be331);});const workCmd=program[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x39f))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x39e));workCmd[a2_0x24e9b5(0x264)]('--days\x20<n>','Show\x20items\x20updated\x20within\x20N\x20days')[a2_0x24e9b5(0x264)]('--all','Include\x20all\x20items\x20(no\x20stale\x20filtering)')['action'](workSummaryAction),workCmd[a2_0x24e9b5(0x466)]('init\x20[name]')[a2_0x24e9b5(0x1ae)]('Initialize\x20a\x20new\x20workspace')['option'](a2_0x24e9b5(0x234),'Link\x20workspace\x20to\x20a\x20GitHub\x20repository')['action'](workInitAction),workCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x35e))['description']('Create\x20a\x20new\x20document')[a2_0x24e9b5(0x264)]('--kind\x20<kind>',a2_0x24e9b5(0x19a),'item')[a2_0x24e9b5(0x264)]('--tags\x20<tags>','Comma-separated\x20tags')['option'](a2_0x24e9b5(0x3f0),'Priority\x20(critical,\x20high,\x20medium,\x20low)')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x18a),a2_0x24e9b5(0x2f3))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x21e),a2_0x24e9b5(0x1e7))[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x259),'Initial\x20status')[a2_0x24e9b5(0x264)](a2_0x24e9b5(0x1ad),a2_0x24e9b5(0x271))[a2_0x24e9b5(0x251)](workNewAction),workCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x1d9))['description'](a2_0x24e9b5(0x3bb))[a2_0x24e9b5(0x251)](workMoveAction),workCmd['command'](a2_0x24e9b5(0x37b))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x370))[a2_0x24e9b5(0x264)]('--days\x20<n>',a2_0x24e9b5(0x29f))[a2_0x24e9b5(0x264)]('--all',a2_0x24e9b5(0x433))[a2_0x24e9b5(0x251)](workBoardAction),workCmd[a2_0x24e9b5(0x466)]('show\x20<name>')['description'](a2_0x24e9b5(0x269))[a2_0x24e9b5(0x251)](workShowAction),workCmd[a2_0x24e9b5(0x466)]('links\x20<name>')[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x32e))[a2_0x24e9b5(0x251)](workLinksAction),workCmd[a2_0x24e9b5(0x466)](a2_0x24e9b5(0x432))[a2_0x24e9b5(0x1ae)](a2_0x24e9b5(0x42d))[a2_0x24e9b5(0x251)](workOpenAction),program[a2_0x24e9b5(0x466)]('_list-commands',{'hidden':!![]})['action'](()=>{const _0x3ea092=a2_0x24e9b5;function _0x23c028(_0x29cdfd,_0x4eccfd){const _0x6df21c=a2_0x2980,_0x428dd3=[];for(const _0x11fc28 of _0x29cdfd['commands']){if(_0x11fc28[_0x6df21c(0x46d)])continue;const _0x555701=_0x4eccfd?_0x4eccfd+'\x20'+_0x11fc28[_0x6df21c(0x44c)]():_0x11fc28['name'](),_0x55524b=_0x555701[_0x6df21c(0x40f)]('\x20')[0x0],_0x24cdf8=COMMAND_CATEGORIES[_0x6df21c(0x255)](_0x2546c2=>_0x2546c2[_0x6df21c(0x288)]['includes'](_0x55524b)),_0x75983=_0x24cdf8?.[_0x6df21c(0x44c)]??'';if(_0x11fc28[_0x6df21c(0x288)][_0x6df21c(0x21f)]>0x0)_0x428dd3[_0x6df21c(0x400)](..._0x23c028(_0x11fc28,_0x555701));else{const _0x720ee9=(_0x11fc28['registeredArguments']||[])[_0x6df21c(0x184)](_0x14d79f=>{const _0x20ac4e=_0x6df21c,_0x351872=_0x14d79f[_0x20ac4e(0x3fa)]?_0x14d79f[_0x20ac4e(0x44c)]()+_0x20ac4e(0x2df):_0x14d79f[_0x20ac4e(0x44c)]();return _0x14d79f[_0x20ac4e(0x27f)]?'<'+_0x351872+'>':'['+_0x351872+']';})[_0x6df21c(0x3ac)]('\x20'),_0x4c8f6c=_0x11fc28['options'][_0x6df21c(0x3da)](_0x5f52d3=>!_0x5f52d3[_0x6df21c(0x272)]&&_0x5f52d3[_0x6df21c(0x239)]!==_0x6df21c(0x2bd))['map'](_0x14fc96=>({'flags':_0x14fc96[_0x6df21c(0x2cb)],'description':_0x14fc96[_0x6df21c(0x1ae)]}));_0x428dd3['push']({'name':_0x555701,'description':_0x11fc28[_0x6df21c(0x1ae)](),'group':_0x75983,'usage':_0x720ee9,'options':_0x4c8f6c});}}return _0x428dd3;}console[_0x3ea092(0x29e)](JSON[_0x3ea092(0x1af)](_0x23c028(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x547f29=a2_0x24e9b5,_0x2c41ba=!process[_0x547f29(0x3f4)]['slice'](0x2)[_0x547f29(0x21f)];showBriefHelp=_0x2c41ba,program['parse'](process['argv']);_0x2c41ba&&program[_0x547f29(0x2aa)]();const _0x4dae99=process['argv'][0x2]===_0x547f29(0x30f);if(process[_0x547f29(0x295)]['isTTY']&&process[_0x547f29(0x3f4)][_0x547f29(0x21f)]>0x2&&!isDevVersion()&&!_0x4dae99){const _0x55b4fd=loadReleaseChannel();checkForUpdate(currentVersion,_0x55b4fd)[_0x547f29(0x33d)](_0x1874e9=>{_0x1874e9&&displayUpdateNotification(_0x1874e9);})[_0x547f29(0x429)](()=>{});}}